Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
Not sure if I understand your question correctly - but you can simply listen to OrderGroupUpdated event. PurchaseOrder is an OrderGroup, so you can just convert it to a PurchaseOrder and do the processing there.
Regards,
/Q
Just modify the code like so
private void Current_OrderGroupUpdated(object sender, OrderGroupEventArgs e) { if (send is PurchaseOrder) { Task.Run(()=> DoSomething(sender as PurchaseOrder, e)); } }
Hello All
I have been doing some reading on events within Episerver. I was looking at http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Commerce/8/Orders/order-events/ and was wondering if there is any events within Commerce that I can hook into for when a purchase order is created / modified?
I am trying to sync the purchase order to a third party system if that helps.
Thanks
Paul