-
Notifications
You must be signed in to change notification settings - Fork 687
Closed
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?
Because those same events do exist in its counter part pick and movement:
codeunit 7322 "Create Inventory Pick/Movement"
and now we want to do the same for the put-away and it is not possible...
Describe the request
local procedure CreatePutAwayLinesFromSales(SalesHeaderVar: Variant)
....
if SalesLine."Document Type" = SalesLine."Document Type"::Order then
RemQtyToPutAway := -SalesLine."Qty. to Ship"
else
RemQtyToPutAway := SalesLine."Return Qty. to Receive";
OnCreatePutAwayLinesFromSalesOnAfterSetRemQtyToPutAway(SalesHeader, SalesLine, CurrWarehouseActivityHeader, RemQtyToPutAway);
....
end;
[InternalEvent(false, false)]
local procedure OnCreatePutAwayLinesFromSalesOnAfterSetRemQtyToPutAway(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var WarehouseActivityHeader: Record "Warehouse Activity Header"; var RemQtyToPutAway: Decimal)
begin
end;
Internal work item: AB#597436
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