Posted on 25/05/2021 19:05:22
Hi Guys,
Am I misunderstanding, but can't you just flip the Order.StateId property to the desired status id? In most of our older projects (using Integration framework v1) we have parameters on the LiveIntegration Addin dictating what statuses orders should take when they've been created / failed in the ERP, and when we're processing the sales order response from the ERP we flip the states.
F.e. I'm currently working on a webhook against LS Omni that should change the order status (In picking, payment failed, ready for pickup, etc..). The plan was to match the order status ids in the DW SQL with the status IDs from omni and just A = B when the webhook is triggered.
Best regards,
Arnór