c2g.InvoiceUndoConsolidationPxServiceglobal with sharing class InvoiceUndoConsolidationPxService MethodsundoConsolidateglobal static c2g.InvoiceUndoConsolidationPxService.UndoConsolidationResponse undoConsolidate(c2g.InvoiceUndoConsolidationPxService.UndoConsolidationRequest request) Undoes consolidation of the supplied sales invoice provided that they are valid. The sales invoice are valid if all of the following are true: Input Parameters
Return ValueA response containing the results of the UndoConsolidationRequest. c2g.InvoiceUndoConsolidationPxService.UndoConsolidationRequestglobal with sharing class UndoConsolidationRequest This class provides the information required to undo the consolidation of sales invoice line items. Properties
Methods
UndoConsolidationRequestglobal UndoConsolidationRequest(Set<Id> ConsolidatedSalesInvoiceIds, Set<Id> SupersededSalesInvoiceIds) Creates a new UndoConsolidationRequest for the given sales invoice IDs. Input Parameters
UndoConsolidationRequestglobal UndoConsolidationRequest(Set<Id> ConsolidatedSalesInvoiceIds) Creates a new UndoConsolidationRequest for the given sales invoice IDs. Input Parameters
c2g.InvoiceUndoConsolidationPxService.UndoConsolidationResponseglobal with sharing class UndoConsolidationResponse extends Response The response returned by the UndoConsolidationRequest. Contains the IDs of the sales invoice that have been reinstated with the “In Progress” status, processRunID of batch process and any errors produced by the process. If an error occurs, the process rolls back. The ID of any sales invoice line item related to the error is included in the response. Properties
MethodsUndoConsolidationResponseglobal UndoConsolidationResponse() getMessagesglobal Map<Id, List<String>> getMessages() This method returns errors that are generated in the response. Return ValueA Map containing a list of the errors generated for each record ID. |