-
Notifications
You must be signed in to change notification settings - Fork 685
Closed
Closed
Copy link
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update
Description
Why do you need this change?
In 4PS Construct we need to assign additional field values after initializing Item Journal Line.
Describe the request
On behalf of 4PS, I would like to request adding new event OnAfterInitRndgResidualItemJnlLine to codeunit "Inventory Adjustment"
local procedure InitRndgResidualItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; OrigValueEntry: Record "Value Entry")
begin
ItemJnlLine.Init();
ItemJnlLine."Value Entry Type" := ItemJnlLine."Value Entry Type"::Rounding;
ItemJnlLine."Quantity (Base)" := 1;
ItemJnlLine."Invoiced Qty. (Base)" := 1;
ItemJnlLine."Source No." := OrigValueEntry."Source No.";
OnAfterInitRndgResidualItemJnlLine(ItemJnlLine, OrigValueEntry);
end;
[IntegrationEvent(false, false)]
local procedure OnAfterInitRndgResidualItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; OrigValueEntry: Record "Value Entry")
begin
end;
Internal work item: AB#616766
Metadata
Metadata
Assignees
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update