Triggering the CSV Export Process
The CSV export for a configured integration metadata report is triggered with endpoints provided by the RTR gateway. When the CSV export process is finished, the CSV file can be downloaded through the integration API endpoints.
| Required Editions |
|---|
| Available in: Lightning Experience in Enterprise and Unlimited Editions that have Consumer Goods Cloud Trade Promotion Management enabled. |
-
Sets the state of a CSV export process to Aborted. When a CSV export process is running for a longer duration than expected, it consumes resources and blocks the scheduling of new exports. The following Abort Export code snippet unblocks the scheduling by aborting the export process.
-
This Apex call expects the mandatory values of the business year, the actual name of the RTR report config record, and the sales org that must be exported.
-
The next step is to check the status of this export.
-
This Apex call commits a full or delta CSV export.
-
You can fetch the history of the CSV export by making an Apex call.
-
Retrieves the list of the exports scheduled for a particular period. This list provides an overview of the scheduled exports and identifies the exports to be aborted.