Announcements
So here's the scenario: I have a sales order and from this sales order i create a warehouse shipment (Actions --> create warehouse shipment). Now there are 2 fields that exist on both sales order and warehouse shipment but when creating the warehouse shipment these fields do NOT get pushed trough by default. So if they are filled in on the sales order they won't be filled in on the warehouse shipment. (the fields i'm talking about are "shipping agent" and "shipping agent service")
So in what way can i make sure i not only push my sales order line but also my 2 fields so that they are filled in on the warehouse shipment.
(I'm using AL)
*This post is locked for comments
Hi
You can use event OnAfterCreateShptHeader from the report "Get Source Documents" and push your data.
Regards
Avinash B
I've looked for events to subscribe on but i can't seem to figure it out how it's done, i'm fairly new to NAV and Business Central.
Did you tried to figure out how exactly its working for other fields? :)
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156