Order Change Manager Field Reference

The Order Change Manager object is responsible for exchanging data about orders created, edited, and deleted in the CT Mobile app, and maintaining the integrity of those orders in the Salesforce database.

  • During synchronization, CT Mobile sends change packets with all related data of a particular Order record. Each order is represented as a JSON file.

  • On the Salesforce side, the system creates an Order Change Manager record for each order received from CT Mobile during synchronization.

  • The system splits the received JSON and populates the Order Change Manager record fields with the split JSON based on the object name.

  • When a user closes the order cart, finalizes, or completes the order, the corresponding Order Change Manager record is deleted.


Object API name: orders__OrderChangeManager__c


Field API Name Type Description

Delivery Collection

orders__DeliveryCollection__c

Long Text Area(131072)

This field stores a JSON file for "type" = "orders__Delivery__c" with all information about the related deliveries to the particular Order.

Delivery Line Item Collection

orders__DeliveryLineItemCollection__c

Long Text Area(131072)

This field stores a JSON file for "type" = "orders__DeliveryLineItem__c" with all information about the related Delivery Line Items records to the particular Order.

Order

orders__OrderId__c

Master-Detail(CT Order)

This field stores a JSON file for "type" = "orders__Order__c" with all information about the particular Order.

Order Line Item Collection

orders__ExternalID__c

Long Text Area(131072)

This field stores a JSON file for "type" = "orders__OrderLineItem__c" with all information about the related Order Line Items records to the particular Order.

Order Stage

orders__OrderType__c

Text(255)

This field stores the current order stage.

Reference Order Id

orders__ReferenceOrderId__c

Text(255)

This field stores the pair of record ID and user ID—the value from the referenceOrderId key of the received JSON file. Possible values:

  • The mobile temporary record ID and the user identifier.

    For example, a06-AF3AA67B-EA24-4DAB-9C8A-9B70357DAB830055J000001L7aTQAS, where a06-AF3AA67B-EA24-4DAB-9C8A-9B70357DAB83 is the temporary record Id and 0055J000001L7aTQAS is the user identifier.

  • The Salesforce record ID and the user identifier.

    For example, a0g5w00000EQJi1AAH0055J000001L7aTQAS, where a0g5w00000EQJi1AAH is the Salesforce record ID and 0055J000001L7aTQAS is the user identifier.

Session Id

orders__SessionId__c

Text(255)

The field stores the identifier of the session, during which data of the particular Order was transferred.

``