Hi All,
In the codeunit 90 Purch.-Post, OnRun trigger, we have two following lines of C/AL code:
IF Receive OR Ship THEN
ArchiveUnpostedOrder; // has a COMMIT;
Here, by the standard NAV functionality, if we do Receive lines for the Purchase Order (not Receive&Invoice), archive version will be created, but than if we change Unit Prices and Invoice those Purchase lines, we'll not have archived version of then last Purchase Order.
Do you know any reasons to not archive documents within Invoice process? (except: "Posted Purchase Order has a final data and can't be changed, so we do not need to archive it" )
Thank you!
Best Regards,
Bogdan
0