Skip to content

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

@LidaLidaLidaLidaLida

Description

@LidaLidaLidaLidaLida

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing-infoThe issue misses information that prevents it from completion.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions