c2g.DocumentCreatePxServiceglobal with sharing class DocumentCreatePxService This service class provides document creation functionality. Only journals, sales credit notes, and sales invoices are currently supported. Methods
createSyncglobal static Set<ID> createSync(List<c2g.DocumentCreatePxService.Document> documents) This service allows you to create documents synchronously. Input Parameters
Return ValueThe IDs of the document headers created. createAsyncglobal static ID createAsync(List<c2g.DocumentCreatePxService.Document> documents) This service allows you to create documents asynchronously using an Apex Job. The createAsync method can handle larger documents than the createSync method. Input Parameters
Return ValueThe ID of the async job. This can be monitored from the "Apex Jobs" page. c2g.DocumentCreatePxService.Documentglobal virtual class Document A container for the records that make up a document. Properties
Methods |