Hello.
I have a master form which uses a editable grid for the “Master/Detail Form”.
On the editable grid I want to do a basic calculation…
There is a lookup that retrieves a field called “Bags per Case” from the master form table.
Then in the Editable Grid I do the following formula…
sc_lookup(dataset, “select orderID, SHIPPING_bags_per_case from tb_byob_orders where orderID=’{orderID}’” );
[result] = {dataset[0][1]};
{VESSEL_cases_shipped} = {VESSEL_qty_shipped_planned} / [result];
The SC_Lookup gets me the right value (10) but I can’t get the formula in the editable grid to work and fill in the “Cases Shipped” field ?
Whats wrong here?