TPM_RTRFunds_AMS (The Logic Class)
Use RTRSalesforceMonthlyMeasures as the datasource to execute the base classes by every report.
This function performs these steps:
- Defines a list of output record items.
- Retrieves the fund amounts from Salesforce data by using SOQL, depending on the use case. In this example, only funds at the category level are shown. You can use the category filter as the selection criterion. The funds are also limited to the account and time frame that’s selected in the filter.
- For every result record, the function creates an output record and adds it to the list of results.
Sample Code