You are here:
Considerations for Deleting Order Management Records
Data protection and privacy policies can require deletion of records used in Order Management. Because many records share complex relationships, the order in which you delete them is important. If you delete a record before deleting another record that references it, the reference can cause errors.
Required Editions
| View supported editions. |
Important Where possible, we changed noninclusive terms to align with our company
value of Equality. We maintained certain terms to avoid affecting customer
implementations.
When designing your deletion procedures, consider these requirements.
- If two objects have a master-detail relationship, then deleting a record of the master object deletes the corresponding detail object record.
- Deleting a record doesn’t necessarily delete records that reference it. For example, if you delete an order, delete its order products first.
Before deleting a referenced record, check for references to it and for objects containing references to it. Make sure you delete these references before deleting the record, or errors can occur. The table lists some references to consider when deleting Order Management records, however, it isn’t a comprehensive list of all possible dependencies.
| Before Deleting This Record | References to Delete |
|---|---|
| Account or Person Account |
|
| Contact |
|
| Fulfillment Order |
|
| Fulfillment Order Item Adjustment |
|
| Fulfillment Order Item Tax | None |
| Fulfillment Order Product |
|
| Invoice |
|
| Location |
|
| Order |
|
| Order Adjustment Group Summary |
|
| Order Delivery Group Summary |
|
| Order Delivery Method |
|
| Order Payment Summary |
|
| Order Product |
|
| Order Product Adjustment Line Item Summary |
|
| Order Product Summary |
|
| Order Product Summary Change | None |
| Order Product Tax Line Item Summary |
|
| Order Summary |
|
| Payment Gateway |
|
| Payment Gateway Log |
|
| Payment Method |
|
| Return Order |
|
| Return Order Item Adjustment |
|
| Return Order Item Tax | None |
| Return Order Product |
|
| Sales Channel |
|
Did this article solve your issue?
Let us know so we can improve!

