I created a new field on Warehouse shipment Line and want to push it on Posted Sales shipment line as well, Is there a way?
I created a new field on Warehouse shipment Line and want to push it on Posted Sales shipment line as well, Is there a way?
Then you can try for Posted Sales Shipment Line in same codeunit 5763
OnAfterSalesPost(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; SalesHeader: Record "Sales Header"; Invoice: Boolean)
The Line table of Posted Sales Shipment is Sales Shipment Line. On the Event above, the table being processed is Posted Whse. Shipment Line.
Yes they fields have both the same name and Id but didn't work. I will try to subscribe to that event. Thank you.
Hi,
You can create your field with same id in both the table and try, if not done, You can subscribe the below event from Codeunit 5763
Sorry the Event is Ship and Invoice
Yes I created a Custom field for both of them. I added CartonNo. on both tables. I want to push through the value of CartonNo from Warehouse Management to Posted Sales Shipment. Event is when you post the Warehouse shipment doc.
Hi jmtugade,
Yes, there is s way to do this.. but you need to specify on which event you want to do this and which field you talking about in posted sales line.. have you create the custom field in both tables or just warehouse shipment line
Regards
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156