ffbc.BillingSchedulesServiceglobal with sharing class BillingSchedulesService
Methods
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. generateAllAsyncglobal static Id generateAllAsync(ffbc.BillingSchedulesService.GenerateAllRequest request) Generates billing schedules for all contract line items. The billing schedules are generated asynchronously by queueable Apex. Input Parameters
Exceptions Thrown
Return ValueThe ID of the asynchronous process that is to generate the billing schedules. generateAsyncglobal static Id generateAsync(ffbc.BillingSchedulesService.GenerateRequest request) Generates billing schedules for active and expired 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. generateForLinesglobal static ffbc.BillingSchedulesService.GenerateResponse generateForLines(ffbc.BillingSchedulesService.GenerateForLineRequest request) Generates billing schedules for the contract lines specified. Contract lines that are canceled will not have any schedules generated. Input Parameters
Exceptions Thrown
Return ValueA response containing information about the billing schedules that were generated and the errors that occurred. 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. ffbc.BillingSchedulesService.BaseGenerateRequestglobal with sharing abstract class BaseGenerateRequest Properties
ffbc.BillingSchedulesService.GenerateAllRequestglobal with sharing class GenerateAllRequest Contains the parameters for generating billing schedules for all contract line items. Properties
Methodsffbc.BillingSchedulesService.GenerateForLineRequestglobal with sharing class GenerateForLineRequest extends BaseGenerateRequest This class provides the criteria for generating billing schedules from contract line items. Contract lines that are canceled will not have any schedules generated. This class extends ffbc.BillingSchedulesService.BaseGenerateRequest Properties
MethodsGenerateForLineRequestglobal GenerateForLineRequest() The default constructor for a GenerateForLineRequest object. ffbc.BillingSchedulesService.GenerateRequestglobal with sharing class GenerateRequest extends BaseGenerateRequest This class provides the criteria for generating billing schedules from contracts. This class extends ffbc.BillingSchedulesService.BaseGenerateRequest Properties
Methodsffbc.BillingSchedulesService.GenerateResponseglobal with sharing 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
|