ALAppExtensions
ALAppExtensions copied to clipboard
Codeunit 80 no publishers have ModifyHeader as a VAR
In Codeunit 80 Publisher OnBeforePostCommitSalesDoc has a parameter of ModifyHeader but it is not a VAR. Seems odd that no were in C80 are we able to control the ModifyHeader variable. I have need to set some fields in the SalesHeader in this event but then I need the code following this Function to execute: IF NOT PreviewMode AND ModifyHeader THEN BEGIN MODIFY; IF NOT SuppressCommit THEN COMMIT; END;
Please make the the ModifyHeader and CommitIsSuppressed variables in the OnBeforePostCommitSalesDoc publisher VAR's.