In the Sales Line table I have inserted a new field (Quantity in Sales unit). I am trying to validate field quantity by writing code in OnValidate trigger of the new field. The syntax is
Validate(Quantity,<New Value>)
Although the value in Quantity field is getting modified, but Validation of Quantity field is not happening. Plz send suggestion ASAP.
0
Comments
Check for "CurrFieldNo". This is the fieldno of the field that the user has just left. And if you VALIDATE "Quantity" from another field "CurrFieldNo" is NOT equal to FIELDNO(Quantity) but equal to your new field with the result that some things are not executed.
PS I never found any help on this "CurrFieldNo"-thingy!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!