ffbc.ConsolidationServiceglobal with sharing class ConsolidationService This class provides service functionality for Billing Central billing documents consolidation. This feature is in pilot mode. Contact your FinancialForce Customer Success Manager if you are considering using it. Methodsconsolidateglobal static ffbc.ConsolidationService.ConsolidationResponse consolidate(ffbc.ConsolidationService.ConsolidationRequest request) Consolidate the billing documents provided if they are valid. The billing documents are valid if their mandatory fields have the same value and the Document Status field is Draft. If the optional fields have the same value the consolidate billing document will keep the value but if they don't have the same value then the field will be blank. Input Parameters
Return ValueA response containing the results from the consolidation process. ffbc.ConsolidationService.ConsolidationRequestglobal class ConsolidationRequest This class wraps the data needed to perform a billing document consolidation. This is prepared to store a set of billing documents to be consolidated, a given value for the Document Date field and a given value for the Due Date field. Properties
MethodsConsolidationRequestglobal ConsolidationRequest(Set<Id> BillingDocumentIds) Creates a request to consolidate the given billing documents. Input Parameters
ffbc.ConsolidationService.ConsolidationResponseglobal class ConsolidationResponse extends Response This class wraps the resultant data of the consolidation process. This is prepared to store the ID of the resulting consolidated billing document (if created) and the errors for the process. This class extends ffbc.Response Properties
|