Vulnerability in EPiServer.Forms
Commerce Version: 12.17.2
I'd like to review the version history of a Purchase Order in Commerce Manager.
Updates to purchase orders are made through API system integrations to perform actions such as updating tracking information, completing orders, creating return orders etc.
Is there any way to view the version history of a purchase order?
Optimizely commerce does not provide the version approach for manage orders, so there is no way to retrieve Purchase Orders using version history.
We could use Order Events (Order events | Optimizely Developer Community) to create a repository of serialised purchase order objects to start with.
There is no history support for order - in a sense that each change is a "snapshot" that you can go back there. but you can add notes every time you make changes to it, so you know who made the change and for what.
In latest version of Commerce there will be more notes added by default for you.
You can, technically, implement your own IOrderRepository and make sure each change is immutable, i.e. each order will have multiple snapshots, but that is a very big undertaking task I'm afraid.
Thanks for the clarification Quan.
Could a CMS like Purchase Order versioning feature something we might see on the Commerce roadmap in future? Just interested to know if it is something other partners might have requested.
For me, as the Ordering system is often interacting with other systems, it would be extremely useful to see that history.
No I don't think that is in the roadmap. It's a major change that will not happen with the default order system. It could, however, be part of a new order system/service, but such system could be far away ...