ccrz.ccSplitOrderJob
Provides batch processing for splitting orders.
Compatibility
This reference applies to:
Release | Managed Package Version | API Version |
---|---|---|
B2B Commerce for Visualforce Winter ’21 | 4.13 | 12 |
B2B Commerce for Visualforce Spring ’20 | 4.12 | 11 |
B2B Commerce for Visualforce Summer ’19 | 4.11 | 10 |
B2B Commerce for Visualforce Spring ’19 | 4.10 | 9 |
B2B Commerce for Visualforce Summer ’18 | 4.9 | 8 |
Logic Performed
This batch processing class completes the following actions:
- Calls the ccrz.ccApiOrder.getOrdersToSplit global API method, which returns the ccrz__E_Order__c records to split. By default, this method splits any order where the ccrz__SplitProcessed__c field is FALSE.
- Calls the ccrz.ccApiOrder.splitOrder global API method to execute the split.
Constructors
This class defines the following constructors:
- ccrz.ccSplitOrderJob(final String storefront)
- Constructor that specifies the name of the storefront to split orders for.