Any tips on how to change a PurchaseOrder's status via the API?
Can't seem to find a specific method for it.
Do I just set PurchaseOrder.OrderStatus to a new one? Is the audit automatically updated to reflect this? And are any associated pipelines automatically executed, or do I need to this manually?
Change order status via API
Any tips on how to change a PurchaseOrder's status via the API?
Can't seem to find a specific method for it.
Do I just set PurchaseOrder.OrderStatus to a new one?
Is the audit automatically updated to reflect this?
And are any associated pipelines automatically executed, or do I need to this manually?
Best regards,
Soeren Sprogoe
You can use the OrderService class. It's got a method called ChangeOrderStatus. Audit trails will be updated accordingly if you go through that.
Excellent, works like a charm :-)
/SoerenS
is working on a reply...