Schedule Account Plan Calculation
Schedule calculation for account plans for the given account plan IDs, category IDs, and time range for a given KPI collection.
When you create a new project, use the SCHEDULE_ACCOUNT_PLAN_CALCULATION_V2 endpoint to calculate the Account Plan, which is handled by Customer Business Plans.
A batch process is started to calculate and write back values for an account plan. The batch processes the products, retrieves measure data, initializes a calculation based on the KPI configuration, and generates write back data based on the outcome. For more information on the product resolution, see /Products/GetProducts.
Soft limits:
- Maximum number of months based on TradeCalMaxNumberMonths. Default value is 48.
- Maximum number of accounts based on AccountLoaderMaxNumberOfAccounts. Default value is 1000.
- Maximum number of categories based on AccountLoaderMaxNumberOfCategories. Default value is 50.
- Maximum number of KPI Plans based on KpiSetMaxKPIPlan. Default value is 130.
- Maximum number of writeback KPI plans based on KpiSetMaxWritebackKPIPlan. Default value is 70.
- Maximum number of KPI Promotions based on KpiSetMaxKPIPromotion. Default value is 130.
- Maximum number of writeback KPI Promotions based on KpiSetMaxWritebackKPIPromotion. Default value is 70.
- Maximum number of KPI SubAccounts based on KpiSetMaxSubAccountsKPI. Default value is 10.
See Soft Limits of Account Plan.
55.0
| Name | Type | Description | Required or Optional |
|---|---|---|---|
salesOrg | String | ID of the Salesforce org. | Required |
jobName | String | Name of the job to be schedule for calculation. | Required |
processName | String | Name of the process. | Required |
jobThreads | Number | Number of parallel workers (threads) to process the job items. Controls batch processing throughput. Default: 5. Maximum: 25 (production and full copy sandbox) / 3 (other sandboxes). Recommended: 25. The system automatically caps the value to the environment’s maximum. | Required |
batchChain | String | Name of the batch chain. | Required |
batchChainType | String | Type of the batch chain. | Required |
accountId | String | ID of the account record. | |
kpiSetId | String | ID of the KPI collection record. | |
year | String | Time range for a given KPI collection. | |
categoryId | String | ID of the category record. |