c2g.AmendPxServiceglobal with sharing class AmendPxService this service class provides document reversal functionality. only journals are currently supported. Methods
amendSyncglobal static void amendSync(List<c2g.AmendPxService.Document> changes) This service allows you to amend documents synchronously. Input Parameters
amendAsyncglobal static ID amendAsync(List<c2g.AmendPxService.Document> changes) This service allows you to amend documents asynchronously using an Apex Job. The amendAsync method can handle larger documents than the amendSync method. Input Parameters
Return ValueThe ID of the async job. This can be monitored from the "Apex Jobs" page. c2g.AmendPxService.Documentglobal abstract class Document a container for the changes to apply to a document. Properties
c2g.AmendPxService.Journalglobal class Journal extends Document a specialised document for the changes to apply to a journal. This class extends c2g.AmendPxService.Document Properties
c2g.AmendPxService.Lineglobal abstract class Line a container for the changes to apply to a document line. Properties
c2g.AmendPxService.JournalLineglobal class JournalLine extends Line This class extends c2g.AmendPxService.Line Properties
|