I want to pass one integer value from warehouse shipment to sale shipment line & posted sales shipment lines on post action of warehouse shipment , which Codeunit should I check or event subscriber to use here, please suggest
How to post value from warehouse shipment to sales shipment line & posted sales shipment
Hello,
Did you try to use this event from codeunit 5763 "Whse.-Post Shipment" to populate the value from Warehouse Shipment Line to Sales Line ?
[IntegrationEvent(false, false)]
local procedure OnBeforeHandleSalesLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; WhseShptHeader: Record "Warehouse Shipment Header"; var ModifyLine: Boolean; var IsHandled: Boolean; Invoice: Boolean)
begin
end;
You can use this event from codeunit 80 Sales-Post
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.