ffrr.RRTCreateJournalsServiceglobal with sharing class RRTCreateJournalsService Methods
createRRTToJournalAsyncglobal static Set<Id> createRRTToJournalAsync(ffrr.RRTCreateJournalsService.CreateJournalRequest integrationRequest) This method creates accounting journals for specified revenue recognition transactions. Information is passed between Revenue Management and FinancialForce Accounting via Foundations using the Journal.Create message type. NOTE: Journal lines can be created from revenue recognition transaction lines or from revenue transaction summaries depending on the createJournalUsingSummaries boolean parameter passed into the integrationRequest. Input Parameters
Return ValueThis method returns the IDs of the batch jobs that will create the accounting journal. Sample Code
validateRevenueRecognitionTransactionsglobal static Map<Id, String> validateRevenueRecognitionTransactions(ffrr.RRTCreateJournalsService.CreateJournalRequest integrationRequest) This method validates revenue transactions and either their transaction line items or their revenue transaction summaries for accounting journal creation. To validate a revenue transaction with revenue transaction summaries, please call an appropriate constructor of integrationRequest. Return any invalid revenue transactions in a map with the relevant error message. Journals can only be created for revenue transactions that have the status Committed, a valid Grouped By value, and that do not already have lookup to an accounting journal. To create journals using summary records, revenue transactions must also have revenue transaction summaries. Input Parameters
Return ValueThis method returns a map containing the IDs of invalid revenue transactions with their validation error messages. If all the revenue transactions are valid, this method returns an empty map. Sample Code
createRRTToJournalglobal static Map<Id, ffrr.RRTCreateJournalsService.CreateJournalResponse> createRRTToJournal(ffrr.RRTCreateJournalsService.CreateJournalRequest integrationRequest) This method creates accounting journals for specified revenue recognition transactions synchronously. Information is passed between Revenue Management and FinancialForce Accounting via Foundations using the Journal.Create message type. Input Parameters
Return ValueThis method returns a map containing the IDs of revenue transactions with information about the revenue and cost journals that you attempted to create and whether or not they were created successfully. Sample Code
ffrr.RRTCreateJournalsService.CreateJournalRequestglobal with sharing class CreateJournalRequest Class containing information regarding RRT to Journal creation. Properties
Methods
CreateJournalRequestglobal CreateJournalRequest(Set<Id> revenueRecognitionIds) Sample Code
CreateJournalRequestglobal CreateJournalRequest(Set<Id> revenueRecognitionIds, Boolean shouldCreateJournalFromSummary) Sample Code
ffrr.RRTCreateJournalsService.CreateJournalResponseglobal with sharing class CreateJournalResponse Class containing the response for the RRT to Journal creation process. Properties
MethodsCreateJournalResponseglobal CreateJournalResponse() |