global with sharing class ReportingPeriodUpdateService implements API
The service class used to update Reporting Period on transactions
global static Id run(Boolean isDetailMonitoring, Boolean isSerialProcessing, Date startDate, Date endDate, Boolean isReportingCompanyUpdated)
Use this method to update Reporting Period on transactions.
||If True, detailed monitoring is used, and process logs and success and failure counts are generated. If False, simple monitoring is used. Process logs and success and failure counts are not generated.
||If True, the batch jobs are processed serially. If False, the batch jobs are processed in parallel.
||The date from which you want to update the reporting period on transactions.
||The date up to which you want to update the reporting period on transactions.
||The isReportingCompanyUpdated will be passed as true if Reporting Company changed on Accounting Companies.