ScheduleTPMAccrualProcessChain Class
This Apex class initiates TPM Accrual Process orchestrator after ensuring the accrual export configuration is successfully updated.
cgcloud
The following are the two constructors for ScheduleTPMAccrualProcessChain.
- ScheduleTPMAccrualProcessChain(Date referencedate, List<String> salesorgs, String ingestionmode)
- ScheduleTPMAccrualProcessChain()
Schedules the accrual process chain at a specific reference date, based on the list of provided sales organizations, and with a specific mode of operation.
API Version: 65.0 and later
Signature
Signature Parameters
referencedate: Enter the reference date in date format.salesorgs: Enter the list of sales org names.ingestionmode: Enter the type of ingestion mode. The supported values areinitial,partial, andfull.
Schedules the Accrual Process Chain at the current date, based on all sales organizations with accruals enabled, and with mode of operation initial.
API Version: 65.0 and later
Signature
The following method is available for ScheduleTPMAccrualProcessChain.
- global void execute(SchedulableContext context)
This method executes the scheduled Apex job.
API Version: 65.0 and later
Signature
Signature Parameters
-
context: Enter the Apex job ID that needs to be executed. -
Best Practices: Claim Processing Through Apex Batch
Claim processes in Consumer Goods Cloud Trade Promotion Management (TPM) is done through user interface.