A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
search
AI OnAI Off
Hi,
What is the best way to delete all traces of a purchase order from the commerce database, based on the tracking number? I know how to resolve the object id from OrderGroup_PurchaseOrder...
Should I delete directly from the tables, or is it preferable to use the stored procedures instead?
I just want to make sure that I delete *all* data related to the purchase order (except data in the catalog, etc :) ).
If you proceed to delete PO with Quan Mai's suggestion so that should be the best approach.