Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
TPM_Promotion
resetPromotion
- Description: Resets the promotion structure in order to be inserted as a new one.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: resetPromotion
movePromotionTimeframe2
- Description: Forwards the promotion dates to any number of years ahead. Default value: next year.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: movePromotionTimeframe
| Property | Description | Required or Optional |
|---|---|---|
| .AddYears | Number of years to move the promotion. | Optional |
Increase the promotion dates by the offset defined in the AddYears property. If the property isn’t set, the number of years to advance the promotion will be in the order of promotion ahead of time. The offset years are calculated using the template property Mass Copy Start Date.
- Promotion Dates
-
- Date_From__c
- Date_Thru__c
- Commit_Date__c
- Reference_Date__c
- Placement_Date_From__c
- Placement_Date_Thru__c
- Order_Date_From__c
- Order_Date_Thru__c
- Delivery_Date_From__c
- Delivery_Date_Thru__c
- Custom1_Date_From__c
- Custom1_Date_Thru__c
- Custom2_Date_From__c
- Custom2_Date_Thru__c
- Tactic Dates
-
- Date_From__c
- Date_Thru__c
- InStore_Date_From__c
- InStore_Date_Thru__c
- Shipment_Date_From__c
- Shipment_Date_Thru__c
- Custom1_Date_From__c
- Custom1_Date_Thru__c
- Custom2_Date_From__c
- Custom2_Date_Thru__c
manageTacticProductFilterCopy2
- Description: Manages the promotion product filter copy.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: managePromotionProductFilterCopy
If promotion template doesn’t have products as copied components, Filter Criteria is set as an empty filter criteria. This rule filters the product filter criteria by removing products that are no longer valid for the promotion period.
manageParticipatingCustomersCopy2
- Description: Removes from participating customers the customers that are not valid because of the period of the copied promotion .
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: manageParticipatingCustomersCopy
manageSubAccountsCopy2
- Description: Removes from Sub Accounts the customers that aren’t valid because of the period of the copied promotion.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: manageSubAccountsCopy
manageSubAccountsCopy2
- Description: Handles manual inputs copy.
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Method: manageManualInputCopy
- Promotion Sub Accounts Selection: Empty
- Classname: Promotion2BoApiCopyCoreWorkflowSteps
- Promotion Volume Percent: Empty
If Promotion Template does not have ManualInput as copied components, the Promotion Manual Input field is empty.