Write the below two line of code at the very end of the No. Field's OnValidate trigger and test you might see what you were looking for by crossing 1 level. There is a function call at the same trigger "UpdateUnitPrice(FIELDNO("No."));" just debug it and add your conditional assignment "Order Status" check then assign the values. "Unit Price":=0; Quantity:=15;
↧