Skip to content

[Event Request] "Item Jnl.-Post Line" Publisher OnBeforePostItem New Parameter ItemReg #29687

Description

Why do you need this change?

In our module we will create additional entries together with value entries, capacity entries and so on. I need the "Entry No." of the Item Register so that I can link all the entries together. It will suffice if the ItemReg is added as a new parameter and not var.

Describe the request

Please add the new parameter to the function PostItem in the codeunit 22 "Item Jnl.-Post Line"

    procedure PostItem()
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforePostItem(ItemJnlLine, ItemReg, IsHandled, CalledFromAdjustment);
        if IsHandled then
            exit;
    [IntegrationEvent(false, false)]
    local procedure OnBeforePostItem(var ItemJournalLine: Record "Item Journal Line"; ItemReg: Record "Item Register"; var IsHandled: Boolean; CalledFromAdjustment: Boolean)
    begin
    end;

Internal work item: AB#625530

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventships-in-future-updateFix ships in a future update

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions