I am porting some ancient code that looks something like this...
PushAction := FORM.RUNMODAL(50087,SalesLine);
CASE PushAction OF
Split := TRUE;
SplitQty := ROUND(Available / SalesLine."Qty. per Unit of Measure",0.1);
Split := FALSE;
SplitQty := 0;
In 2009r2 it won't compile with the message "Not an allowed option". PushAction is defined as an "Action" datatype. How may I evaluate it? I have tried EVALUATE and the resulting string is null. It won't allow me to assign the value to a numeric.
Pacific City, OR