c2g.InvoiceConsolidationRulePxServiceglobal with sharing class InvoiceConsolidationRulePxService MethodsrunConsolidationglobal static c2g.InvoiceConsolidationRulePxService.ConsolidationRuleResponse runConsolidation(Id ConsolidationRuleId, date InvoiceDate) This method used to consolidate the provided invoices IDs. Input Parameters
Return ValueResponse containing consolidation process run ID or errors c2g.InvoiceConsolidationRulePxService.ConsolidationRuleResponseglobal with sharing class ConsolidationRuleResponse extends Response The response returned by the running consolidation rule for sales invoice consolidation. Contains the ID of the resulting batch process started and any errors produced by the process. Properties
MethodsConsolidationRuleResponseglobal ConsolidationRuleResponse() 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. |