ccrz.ccLogicCartRepair.performDML

Executes the DML update operation on the ccrz__E_Cart__c records.

Compatibility

This reference applies to:

Release Managed Package Version API Version
B2B Commerce for Visualforce Winter ’21 4.13 12

Signature

global virtual Map<String, Object> performDML(Map<String, Object>)

Inputs (Required)

This method accepts the Map<String, Object> after the ccrz.ccLogicCartRepair.performDML method completes.

This method requires the following key in the working map:

ccrz.ccLogicCartRepair.CARTS_TO_UPDATE
List<ccrz__E_Cart__c> that contains the repaired carts to update.

Outputs

This method returns the working Map<String, Object>, and sets the following keys:

ccrz.ccApi.SUCCESS
Boolean
Value Usage
true The call completed.
false The call encountered errors.

B2B Commerce for Visualforce doesn't always return an exception for any errors that can occur. When this value is false, consider rolling back the API transaction to a previous savepoint.

Tip