Promotion Line Item Field Reference
the Promotion Line Item object stores basic data about a product that has been added to a promotion.
Object API name: orders__PromotionLineItem__c
| Field | API Name | Type | Description |
|---|---|---|---|
Active |
orders__IsActive__c |
Checkbox |
If selected, the record is active and can be applied in business logic. |
Exclude from Discount |
orders__IsExcludeFromDiscount__c |
Checkbox |
If selected, the discount should not be applied to this product. The product can be used for a discount calculation procedure if the orders__IsUseForDiscount__c checkbox is selected. To avoid errors, do not assign a product both to Use for Discount and Exclude from Discount. |
External Id |
orders__ExternalId__c |
Text(255) (External ID) (Unique Case Sensitive) |
External identifier of the Promotion Line Item. |
Min |
orders__RequiredMinForDiscount__c |
Number(18, 0) |
Specify a minimum quantity of a product that must be added to the order cart to get a discount. |
Order |
orders__Order__c |
Number(18,0) |
Defines the order of a product in the promotion.
|
Parent Promotion Line Item |
orders__ParentId__c |
Lookup(Promotion Line Item) |
Filled out with the linked Promotion Line Item record that is a bundle including the selected product. |
Product |
orders__Product2Id__c |
Lookup(Product2) |
This is a default lookup to the standard Product record in case of working with the CG Cloud solution. |
Product |
orders__ProductId__c |
Lookup(CT Product) |
This is a custom lookup to store a custom product identifier. Please create this field in case of using the custom CT Product or Pharma Product. |
Product Component |
orders__ProductComponentId__c |
Lookup(Product Component) |
|
Promotion |
orders__PromotionId__c |
Master-Detail(Promotion) |
The Promotion identifier. |
Removable |
orders__IsRemovable__c |
Checkbox |
If selected, a promotion line item can be removed from the order cart. |
Required |
orders__IsRequired__c |
Checkbox |
If selected, the product is mandatory and must be added to cart to get a discount. |
Use for Discount |
orders__IsUseForDiscount__c |
Checkbox |
If selected, the discount should be calculated based on the selected product. |
Units Count Step |
orders__UnitsCountStep__c |
Number(18, 0) |
Multiplicity step in order cart. Must be divisible by the Units in Package value and also greater than that value. I.e. if you set Units in Package to 5, the Units Count Step must be at least 10. |