Running the Automation via the API

The RevenueScheduleAutomationService is a global API that allows you to automate the end-to-end process for recognizing revenue and cost against recognition schedules, from generating the schedules through to creating Accounting journals.

Warning:

Before you start using this automation Revenue Management must be set up to generate recognition schedules, and to recognize revenue and cost against recognition schedules. For setup information, see Setting up Revenue Management, Additional Setup for Generating Recognition Schedules, and Recognize against Recognition Schedules.

If you intend creating Certinia Accounting journals from the recognition transactions, the RT To Journal Integrations must also be enabled and working. For more information, see RT to Journal Integrations Overview and Summarized RT to Journal Integration Overview.

The processes that can be started from the RevenueScheduleAutomationService are:

Sequential Order

Process

1 Delete Schedules Where Source Unavailable
2 Generate Schedules
3 Recognize Schedules
4 Summarize Transactions
5 Create Journals

The automation runs each process asynchronously. For more information about each of these processes, see End-to-End Automation of Recognition Schedule Processes.

The processes always run in the sequential order shown in the table above, but you can choose which process to start from and which process to finish at. For example, if your org uses a customization to post recognition transactions to a third party accounting system you might want to automate processes 1-3 only.

When you run the automation a Revenue Management background process record is created, storing log information about the individual processes being run. Depending on the configuration parameters used, each individual process might send an email notification upon completion.

Configuration Parameters

The configuration parameters you can specify for the RevenueScheduleAutomationService are:

Config Parameter

Description

filteredCompanies Run the selected processes on the specified companies only.
filteredCurrencies Run the selected processes on the specified currencies only.
firstProcess The process to start from. For example, if firstProcess = Generate and lastProcess = Summarize, then Generate, Recognize and Summarize will be run in that order.
lastProcess The process to finish at. For example, if firstProcess = Generate and lastProcess = Summarize, then Generate, Recognize and Summarize will be run in that order.
summarizeTransactions

Note: If this option is not specified it defaults to true.

When the Summarize process is included in the processes to run:

  • If this option is true, recognition transactions are summarized
  • If this option is false, recognition transactions are not summarized. This allows running processes before and after Summarize together in one API call while skipping the summarization process itself.

When the CreateJournals process is included in the processes to run:

  • If this option is true, journals are created from recognition transaction summaries.
  • If this option is false, journals are created from recognition transaction lines.
shouldSendEmailAtEndOfProcesses

Note: If this option is not specified it defaults to true.

When true, email notifications are sent after each individual process.

When false, no email notifications at all are sent as a result of the API call.

For more information about using the RevenueScheduleAutomationService, see the Revenue Management API Developer Reference which is listed in Permission Sets and Other Technical Documentation.

Note:

You can launch the automation process from the Revenue Recognition page, but specifying all the configuration parameters listed above is not currently supported. For more information, see Launching the Automation Process.