Skip to content

[Procedure Request] Codeunit 90 Purch.-Post - new procedure GetGlobalTempItemChargeAssgntPurch() #30107

@MaricaPiazzalungaActionNet

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaextensibility-enhancementNew feature or request related to extensibility

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions