Hello,
I'm able to create / post a picking list using the SalesFormLetter class with DocumentStatus::PickingList. I would like to give the posting a custom picking route ID, wich will be used as WMSPickingRoute.pickingRouteID (the number is created outside from D365) and all corresponding fields in the related tables, which are created during the posting process (e.g.: WMSOrderTrans.RouteId, WMSPickingRouteLink.PickingRouteID). I did not find any option in the salsFormLetter class to force a certain picking route ID. If I set the corresponding number sequence to manual the picking is created without a picking route ID (WMSPickingRoute.pickingRouteID = '').
As far as I analysed the code the ID is set here:
How could I achieve that the picking list is created with my custom picking route ID?
Thanks in advance for any hints.
Sebastian


Report
All responses (
Answers (