Before our latest upgrade to V2023R2, which included upgrades for V2022R1 and V2022R2 the code below worked, now it doesn’t. We learned our lesson to not skip multiple updates and in the meantime I am scrambling to fix code that once worked.
The information on CreateShipment states a string operation parm is needed. I went to GoTo Definition in SOOrderEntry Operation List and found that there are two options, I for Issue and R for Receipt.
I do not know what the operation field does or how it affects the create shipment. I also don’t know how to add the parm in a way the CreateShipment method will accept.
CODE:
SOOrderEntry.CreateShipment(adapter, order.ShipDate, Filter.Current.UserWhse);