c2g.ReversePxServiceglobal with sharing class ReversePxService This service class provides document reversal functionality. Only journals are currently supported. Methods
reverseSyncglobal static Set<ID> reverseSync(Set<ID> sourceIds) This service allows you to create reversing documents synchronously. These documents can be edited before posting. Use the JournalReverse (Create reversing journals) custom permission to reverse the journals. Input Parameters
Return ValueThe IDs of the reversing documents created. reverseAsyncglobal static ID reverseAsync(Set<ID> sourceIds) This service allows you to create reversing documents asynchronously using an Apex Job. The reverseAsync method can handle larger documents than the reverseSync method. Input Parameters
Return ValueThe ID of the async job. This can be monitored from the "Apex Jobs" page. |