ffrr.RevenueScheduleAutomationServiceglobal with sharing class RevenueScheduleAutomationService Contains methods for Recognition Schedule automation. EnumsAutomationProcessDenotes an individual process that can be run by the automation service. The order these are listed here is the same order in which the processes will be run, if selected.
PeriodToSelectUpToDenotes the cutoff period for including schedule lines for recognition.
PeriodToRecognizeIntoDenotes the period that recognized values will be committed into.
Methods
runProcessesglobal static ffrr.RevenueScheduleAutomationService.AutomationResult runProcesses(ffrr.RevenueScheduleAutomationService.AutomationConfig configuration) Runs the recognition schedule processes specified by the ffrr.RevenueScheduleAutomationService.AutomationConfig object from the first process to last process. See the RevenueScheduleAutomationService.AutomationProcess enum for the available values. The order in which these processes happens is as follows: Input Parameters
Exceptions Thrown
Return ValueReturns a ffrr.RS_AutomationService.AutomationResult object. Sample Code
runProcessesglobal static ffrr.RevenueScheduleAutomationService.AutomationResult runProcesses(Id configId) Runs the recognition schedule processes specified by the AutomationConfiguration__c object with ID configId. Input Parameters
Exceptions Thrown
Return ValueReturns a ffrr.RS_AutomationService.AutomationResult object. Sample Code
saveConfigurationglobal static ffrr.RevenueScheduleAutomationService.ConfigurationSaveResult saveConfiguration(ffrr.RevenueScheduleAutomationService.AutomationConfigurationCreationDetails creationDetails) Saves an automation configuration as specified by the AutomationConfigurationCreationDetails. Input Parameters
Exceptions Thrown
Return ValueReturns a ffrr.RS_AutomationService.ConfigurationSaveResult object. Sample Code
ffrr.RevenueScheduleAutomationService.AutomationConfigglobal with sharing class AutomationConfig Class used to pass configuration to automation API call. Sample Code
Properties
Methods
AutomationConfigglobal AutomationConfig(ffrr.RevenueScheduleAutomationService.AutomationProcess firstProcess, ffrr.RevenueScheduleAutomationService.AutomationProcess lastProcess) AutomationConfigglobal AutomationConfig(ffrr.RevenueScheduleAutomationService.AutomationProcess firstProcess, ffrr.RevenueScheduleAutomationService.AutomationProcess lastProcess, Boolean summarizeTransactions) ffrr.RevenueScheduleAutomationService.RecognitionConfigglobal with sharing class RecognitionConfig DTO used to pass configuration specific to the Recognize process as part of a ffrr.RevenueScheduleAutomationService API call. Properties
MethodsRecognitionConfigglobal RecognitionConfig() ffrr.RevenueScheduleAutomationService.AutomationConfigurationCreationDetailsglobal inherited sharing class AutomationConfigurationCreationDetails DTO used to request the creation of a new AutomationConfiguration__c record via the API. Sample Code
Properties
MethodsAutomationConfigurationCreationDetailsglobal AutomationConfigurationCreationDetails() ffrr.RevenueScheduleAutomationService.AutomationResultglobal with sharing class AutomationResult Class used to return results of automation API call. Properties
ffrr.RevenueScheduleAutomationService.ConfigurationSaveResultglobal with sharing class ConfigurationSaveResult Class used to return the results of saving a new AutomationConfiguration__c via an API call. Properties
ffrr.RevenueScheduleAutomationService.AutomationFiltersglobal inherited sharing class AutomationFilters extends ProcessFilters Class used to store the filters to be applied to an automation process. A filter is a set of permitted values for a specified field. This class contains deprecated items. Sample Code
Methods
AutomationFiltersglobal AutomationFilters() setCompaniesglobal void setCompanies(Set<String> companies) Sets the companies to be filtered on. If no companies are set all companies are included. Input Parameters
setCurrenciesglobal void setCurrencies(Set<String> currencies) Sets the currencies to be filtered on. If no currencies are set all currencies are included. Input Parameters
setRecognitionStreamsglobal void setRecognitionStreams(Set<String> recognitionStreams) Sets the recognition streams to be filtered on. If no recognition streams are set all recognition streams are included. Input Parameters
DeprecatedThe following items are deprecated and not supported for use. We recommend that you stop using these items to avoid exceptions. MethodsAutomationFiltersDeprecated: global AutomationFilters(Set<String> filteredCompanies, Set<String> filteredCurrencies) Construct a AutomationFilters object with the specified filters. Input Parameters
|