Billing Central Apex API Developer Reference

ffbc.BillingDocumentArchivingService

global with sharing class BillingDocumentArchivingService

This class provides services deleting billing documents which have been archived by Accounting.

Methods

processArchivedBillingDocuments

global static ffbc.BillingDocumentArchivingService.Response processArchivedBillingDocuments(ffbc.BillingDocumentArchivingService.Configuration config)

This method runs the batches required to delete billing documents which are waiting to be deleted after having been marked as archived by Accounting.

Input Parameters

Name Type Description
config ffbc.BillingDocumentArchivingService.Configuration An empty BillingDocumentArchivingService.Configuration object which might be expanded in the future to contain configuration required to define the behavior of the process.

Exceptions Thrown

Value Description
BillingCentralException An exception is thrown if:
- Accounting is not installed
- The user calling BillingDocumentArchivingService.processArchivedBillingDocuments has insufficient permissions

Return Value

A BillingDocumentArchivingService.Response object which in the future might contain information about the process that has been run.

ffbc.BillingDocumentArchivingService.Configuration

global with sharing class Configuration

ffbc.BillingDocumentArchivingService.Configuration for the billing document archiving process. This currently has no properties but is included to allow the API to be extended in the future.

Methods

Configuration

global Configuration()

ffbc.BillingDocumentArchivingService.Response

global with sharing class Response

ffbc.BillingDocumentArchivingService.Response from the billing document archiving process. This currently has no properties but is included to allow the API to be extended in the future.

Methods

Response

global Response()

© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.