can anyone help me to understand the reason of this block of code which is in the function FinishCodeUnit() of the CodeUnit 12?
IF (GLEntry.“Posting Date” < FiscalYearStartDate) OR
(GenJnlLine.“Closing Balance Sheet” = TRUE) THEN
GLEntry.“Official Date” := WORKDATE
GLEntry.“Official Date” := GLEntry.“Posting Date”;
I am not able to understand why only in the case of the closing/opening fiscal year entries the Official Date must be “Posting Date”…
Thank you for attention.