Accounting Apex API Developer Reference

c2g.BillingDocumentHoldReleaseService

global with sharing class BillingDocumentHoldReleaseService

The service class relating to billing documents with the "On Hold" status.

Methods

holdOrReleaseBillingDocuments

global static void holdOrReleaseBillingDocuments(List<fferpcore__BillingDocument__c> billingDocuments, Boolean onHoldValue)

This method sets the status of billing documents to "On Hold" or releases them for collection.

Input Parameters

Name Type Description
billingDocuments List<fferpcore__BillingDocument__c> Represents the list of billing documents.
onHoldValue Boolean Represents the new value for the On Hold field. To place a document on hold, set the value to "true". To release a document for collection, set the value to "false".
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.