CT Order Data Model
The CT Order data model includes primary settings that define compatibility between the CT Order and related objects that store order and delivery details.
| The data model shows the main relationships, giving an idea of how the logic works to create an order. Also, have a look at the Freebie data model. |
| Object | API Name | Record Type | Description |
|---|---|---|---|
orders__Order__c |
This object is intended to store order data. Each record represents an order with specific CT Products from available Catalogs, prices from CT Price Book according to pricing procedures and discounts management, configured delivery dates, and order status. |
||
orders__Delivery__c |
This object is intended to store dates and other related data about order deliveries. |
||
orders__DeliveryLineItem__c |
This object is intended to store the data for each delivery in order. |
||
orders__LimitRule__c |
|
This object is intended to store the minimum and maximum product quantity for an order and each delivery. |
|
orders__OrderLineItem__c |
This object is intended to store details about related Catalog and CT Price Book, general information about promotions, discounts, and totals for each CT Product. |
||
orders__Quota__c |
|
This object is used to allocate a fixed share of products to orders according to the conditions fulfilled. |
|
orders__QuotaUsage__c |
This object is a junction object that links a quota to a certain delivery and stores all information on the quota. |
||
orders__ProductAvailability__c |
This object is used to track the availability status of SKUs stored at the warehouse and define specific availability dates for different departments, sales points, or clients. The availability is checked for each product in the cart during the delivery creation. |