Newer Version Available

This content describes an older version of this product. View Latest

ScheduleTPMAccrualProcessChain Class

This Apex class initiates TPM Accrual Process orchestrator after ensuring the accrual export configuration is successfully updated.

Namespace

cgcloud

Constructors

The following are the two constructors for ScheduleTPMAccrualProcessChain.
  • ScheduleTPMAccrualProcessChain(Date referencedate, List<String> salesorgs, String ingestionmode)
  • ScheduleTPMAccrualProcessChain()

ScheduleTPMAccrualProcessChain(Date referencedate, List<String> salesorgs, String ingestionmode)

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
1global ScheduleTPMAccrualProcessChain(Date referencedate, List<String> salesorgs, String ingestionmode)
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 are initial, partial, and full.

ScheduleTPMAccrualProcessChain()

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
1global ScheduleTPMAccrualProcessChain()

Methods

The following method is available for ScheduleTPMAccrualProcessChain.
  • global void execute(SchedulableContext context)

SchedulableContext context

This method executes the scheduled Apex job.

API Version
65.0 and later
Signature
1global void execute(SchedulableContext context)
Signature Parameters
  • context: Enter the Apex job ID that needs to be executed.