![]() Billing Central API Developer Reference
|
ffbc.BillingSchedulesServiceglobal with sharing class BillingSchedulesService EARLY ADOPTERS: The Billing Schedule object is currently for FinancialForce internal use only and is likely to be significantly changed or replaced in a future release. We recommend that you do not build any custom functionality around this object that you still require after upgrading to a future version of Billing Central. Scheduling of future billing will be retained, but may use a different solution. Methods
getNumberOfMonthsToGenerateBillingSchedulesglobal static Integer getNumberOfMonthsToGenerateBillingSchedules() Returns the default number of future months for which to generate billing schedules. This is determined by the Billing Schedule Number of Months field in the Billing Central Settings custom setting. If the custom field does not contain a value, the default value of 12 is used. Exceptions Thrown
Return ValueThe default number of months for which to generate billing schedules. generateglobal static ffbc.BillingSchedulesService.GenerateResponse generate(ffbc.BillingSchedulesService.GenerateRequest request) Generates billing schedules for active contracts. Input Parameters
Exceptions Thrown
Return ValueA response containing information about the billing schedules that were generated and the errors that occurred. generateForLinesglobal static ffbc.BillingSchedulesService.GenerateResponse generateForLines(ffbc.BillingSchedulesService.GenerateForLineRequest request) Generates billing schedules for the contract lines specified. Input Parameters
Exceptions Thrown
Return ValueA response containing information about the billing schedules that were generated and the errors that occurred. generateAsyncglobal static Id generateAsync(ffbc.BillingSchedulesService.GenerateRequest request) Generates billing schedules for active contracts. The billing schedules are generated asynchronously by queueable apex. Input Parameters
Return ValueThe ID of the asynchronous process that will generate the billing schedules. ffbc.BillingSchedulesService.BaseGenerateRequestglobal abstract class BaseGenerateRequest Properties
ffbc.BillingSchedulesService.GenerateRequestglobal class GenerateRequest extends BaseGenerateRequest This class provides the criteria for generating billing schedules from contracts. The equals and hashcode methods have been overridden to use all object properties. This class extends ffbc.BillingSchedulesService.BaseGenerateRequest Properties
Methodsffbc.BillingSchedulesService.GenerateForLineRequestglobal class GenerateForLineRequest extends BaseGenerateRequest This class provides the criteria for generating billing schedules from contract line items. This class extends ffbc.BillingSchedulesService.BaseGenerateRequest Properties
MethodsGenerateForLineRequestglobal GenerateForLineRequest() The default constructor for a GenerateForLineRequest object. ffbc.BillingSchedulesService.GenerateResponseglobal class GenerateResponse extends Response Returned by the service methods. Contains the Ids of the billing schedules generated and errors that occurred. This class extends ffbc.Response Properties
|