Retail Order Save Customization Use Cases
Here are the different Apex customization use cases for the retail order save process.
Here’s a sample Apex class that modifies the custom field text of an order.
Here’s a sample Apex class that adds an additional sObject record to the order that is saved.
The RE_Order class ensures that all the order-related sObjects are committed in an all-or-none fashion while encapsulating all operations in a transaction.
Here’s a sample Apex class that adds a custom sObject and relates it to the parent sObject.
Here’s a sample Apex class that saves the custom data along with the order data. In your callable class, you can access the custom state that was set as part of the order state.