Add this code on the page to get the latest version of the record, and maintain the value of the tickbox.
The "Errors" field is updated by other subscriptions when the "Confirmed by Vendor" is ticked.
Confirmed by Vendor - OnValidate()
IF "Confirmed by Vendor" = TRUE THEN BEGIN
Rec.GET(Rec."PO Number");
Errors := Rec.Errors;
"Confirmed by Vendor" := TRUE;
END ELSE BEGIN
Rec.GET(Rec."PO Number");
Errors := Rec.Errors;
"Confirmed by Vendor" := FALSE;
END;
No comments:
Post a Comment