Is it possible to move a bulk amount of orders to the completed node? I think just changing the OrderStatus of purchase order will not be enough, there is pipeline configured 'ToCompletedOrder' to execute when status changing to completed, whats happening behind the seens of this pipeline, is there a way to update the status using sql query? or any other way?
You can do SQL but you won't get the pipeline executed. If you just need the statuses updated that's fine. By default uCommerce will acquire any outstanding payments for you as part of the process, but you might not need that.
Just wondering if you can use the IOrderService in a console app? I'm looking to output a csv of all order lines from orders with a status of new? alternatively does the OrderService require some kind of context? are there any more samples of getting started with the various services/API?
Order Status to Completed
Is it possible to move a bulk amount of orders to the completed node? I think just changing the OrderStatus of purchase order will not be enough, there is pipeline configured 'ToCompletedOrder' to execute when status changing to completed, whats happening behind the seens of this pipeline, is there a way to update the status using sql query? or any other way?
Its very urgent, can anyone help on this please?
Hi Basil,
Sure it's possible. You can use the IOrderService to do it. Here's a sample:
OK thanks Soren, so i have to build a custom form to do this, no way to update this by running a SQL query?
You can do SQL but you won't get the pipeline executed. If you just need the statuses updated that's fine. By default uCommerce will acquire any outstanding payments for you as part of the process, but you might not need that.
Hi Soren,
Just wondering if you can use the IOrderService in a console app? I'm looking to output a csv of all order lines from orders with a status of new? alternatively does the OrderService require some kind of context? are there any more samples of getting started with the various services/API?
Hi Tom,
Yes you can. :-)
Please take a look at this blog post about using the uCommerce API's in an Application.
You can take a look at the uCommerce documentation site for other samples and articles
Kind regards,
Jesper
Thanks Jesper!
is working on a reply...