c2g.PostingPxServiceglobal with sharing class PostingPxService this service class provides document posting functionality. only journals are currently supported. MethodspostSyncglobal static Set<ID> postSync(Set<ID> sourceIds) This service allows you to post documents synchronously. Use the JournalPost (Post Journals) custom permission to post the journals. Input Parameters
Return ValueThe IDs of the transactions created. postAsyncglobal static ID postAsync(Set<ID> sourceIds) This service allows you to post documents asynchronously using an Apex Job. Use the JournalPost (Post Journals) custom permission to post the journals. The postAsync method can handle larger documents than the postSync method. Input Parameters
Return ValueThe ID of the async job. This can be monitored from the "Apex Jobs" page. |