Newer Version Available

This content describes an older version of this product. View Latest

COA_ServiceOrderRecall Class

Recall orders that you’ve submitted to Salesforce Partner Operations.

Namespace

CHANNEL_ORDERS

Usage

The COA_ServiceOrderRecall class contains a single @InvocableMethod for recalling orders that have been submitted to Salesforce Partner Operations but haven’t yet been processed. When you recall an order, it’s removed from the processing queue and isn’t activated. When invoking a method defined in this class, include the CHANNEL_ORDERS namespace prefix:

For details about namespace prefixes or the @InvocableMethod annotation, see the Apex Developer Guide.

Example

This example receives a list of service orders, recalls them, and returns a list of outputs from the recall operation.

For brevity, the methods invoked in this example omit the CHANNEL_ORDERS namespace prefix. If you use this code in your implementation, you must include the namespace prefix.

Note