OnRun(VAR Rec : Record “Sales Header”)
IF PostingDateExists AND (ReplacePostingDate OR (“Posting Date” = 0D)) THEN BEGIN
“Posting Date” := PostingDate;
VALIDATE(“Currency Code”);
END;
IF PostingDateExists AND (ReplaceDocumentDate OR (“Document Date” = 0D)) THEN
VALIDATE(“Document Date”,PostingDate);
. . .
my darkness is, when and where those vars ‘PostingDateExists’ and ‘ReplacePostingDate’ assigned or called?
please help. thank you.