Senores, I need some help in validating a field in AX 2012 R2...
Here is what i have:
I override the method on the DS field control
public boolean validate()
{
AgreementLineQuantityCommitment agreementLineQuantityCommitment;
boolean ret;
ret = super();
if(agreementLineQuantityCommitment.PricePerUnit<100)
ret= checkFailed('Any message that you may want to display.');
return ret;
}
I want to make sure the field value is greater than the calculated/recommended cost of an item.
Please any help suggestions would be greatly appreciated.
*This post is locked for comments