Why do you need this change?
Dear Support, for a customer at the end of the posting process (in event OnFinalizePostingOnBeforeInsertTrackingSpecification) we need to access to the global variable TempItemChargeAssgntPurch of the Codeunit Purch.-Post.
For this purpose, I need a new procedure (NOT LOCAL) GetGlobalTempItemChargeAssgntPurch() which returns the global variable TempItemChargeAssgntPurch of Purch.-Post codeunit.
Describe the request
Add new procedure GetGlobalTempItemChargeAssgntPurch() in codeunit 90 Purch.-Post
Procedure:
procedure GetGlobalTempItemChargeAssgntPurch(var NewTempItemChargeAssgntPurch: Record "Item Charge Assignment (Purch)" temporary;)
begin
NewTempItemChargeAssgntPurch.Copy(TempItemChargeAssgntPurch, true);
end;
Internal work item: AB#636088
Why do you need this change?
Dear Support, for a customer at the end of the posting process (in event OnFinalizePostingOnBeforeInsertTrackingSpecification) we need to access to the global variable TempItemChargeAssgntPurch of the Codeunit Purch.-Post.
For this purpose, I need a new procedure (NOT LOCAL) GetGlobalTempItemChargeAssgntPurch() which returns the global variable TempItemChargeAssgntPurch of Purch.-Post codeunit.
Describe the request
Add new procedure GetGlobalTempItemChargeAssgntPurch() in codeunit 90 Purch.-Post
Procedure:
Internal work item: AB#636088