You are here: Reference > Administrator Guide > Custom Settings > Background Process Settings

Background Process Settings

Use these custom fields in the Background Settings custom setting to change the behavior of background processes in Billing Central such as activating contracts, creating billing schedules, creating billing documents and completing billing documents. These settings determine the behavior of both Queueable Apex and Batch Apex processes. For further information about Batch Apex and Queueable Apex, see Background Processes and the Salesforce Help.

Custom Field

Description

Activate Contract: Queue Size Maximum number of contracts to be processed in a single queue when activating contracts. This setting is only used when Activate Contract: Use Queueable is selected.
Activate Contract: Scope Size Maximum number of contracts to be activated in one go.
Activate Contract: Use Queueable

Indicates whether Queueable Apex is used instead of Batch Apex when activating contracts. When selected, enter a value for Activate Contract: Queue Size and Activate Contract: Scope Size. When cleared, enter a value for Activate Contract: Scope Size. For information about Batch Apex and Queueable Apex, see Background Processes and the "Batch Apex" and "Queueable Apex" topics in the Salesforce Developer Documentation.

Billing: Queue Size

Maximum number of contracts to be processed in a single queue when creating billing documents. This setting is only used when Billing: Use Queueable is selected. See Billing: Use Queueable.

Billing: Scope Size

Maximum number of contracts to be processed in one go when creating billing documents.

Billing: Use Queueable

Indicates whether Queueable Apex is used instead of Batch Apex when creating billing documents. When selected, enter a value for Billing: Queue Size and Billing: Scope Size. When cleared, enter a value for Billing: Scope Size. For information about Batch Apex and Queueable Apex, see Background Processes and the "Batch Apex" and "Queueable Apex" topics in the Salesforce Developer Documentation.

Complete Billing Document: Use Queueable

Indicates whether Queueable Apex is used instead of Batch Apex when completing billing documents. When selected, enter a value for Complete Billing Document: Queue Size and Complete Billing Document: Scope Size. When cleared, enter a value for Complete Billing Document: Scope Size. For information about Batch Apex and Queueable Apex, see Background Processes and the "Batch Apex" and "Queueable Apex" topics in the Salesforce Developer Documentation.

Note:

Batch Apex is used when completing billing documents from the list view regardless of this setting.

Complete Billing Document: Queue Size Maximum number of billing documents to be completed in a single queue when completing billing documents. This setting is only used when Complete Billing Document: Use Queueable is selected.
Complete Billing Document: Scope Size Maximum number of billing documents to be processed in one go when completing billing documents.
Convert Invoice: Queue Size Maximum number of billing documents to be processed in a single queue when converting invoices to credit notes. This setting is only used when Convert Invoice: Use Queueable is selected.
Convert Invoice: Scope Size Number of billing documents to be updated in one go when invoices are converted to credit notes.
Convert Invoice: Use Queueable

Indicates whether Queueable Apex is used instead of Batch Apex when invoices are converted to credit notes. When selected, enter a value for Convert Invoice: Queue Size and Convert Invoice: Scope Size. When cleared, enter a value for Convert Invoice: Scope Size. For information about Batch Apex and Queueable Apex, see Background Processes and the "Batch Apex" and "Queueable Apex" topics in the Salesforce Developer Documentation.

Note:

Batch Apex is used when converting billing documents to invoices from the list view regardless of this setting.

Discard Billing Document: Queue Size Maximum number of billing schedules to be processed in a single queue when discarding billing documents. This setting is only used when Discard Billing Document: Use Queueable is selected.
Discard Billing Document: Scope Size Number of billing schedules to be updated in a single transaction when billing documents are discarded.
Discard Billing Document: Use Queueable Indicates whether Queueable Apex is used instead of Batch Apex when billing documents are discarded. When selected, enter a value for Discard Billing Document: Queue Size and Discard Billing Document: Scope Size. When cleared, enter a value for Discard Billing Document: Scope Size. For information about Batch Apex and Queueable Apex, see Background Processes and the "Batch Apex" and "Queueable Apex" topics in the Salesforce Developer Documentation.
Expire Contract: Queue Size Maximum number of contracts to be expired in a single queue when expiring contracts. This setting is only used when Expire Contract: Use Queueable is selected.
Expire Contract: Scope Size Maximum number of contracts to be processed in one go when expiring contracts.
Expire Contract: Use Queueable

Indicates whether Queueable Apex is used instead of Batch Apex when expiring contracts. When selected, enter a value for Expire Contract: Queue Size and Expire Contract: Scope Size. When cleared, enter a value for Expire Contract: Scope Size. For information about Batch Apex and Queueable Apex, see Background Processes and the "Batch Apex" and "Queueable Apex" topics in the Salesforce Developer Documentation.

Generate Schedules: Queue Size Maximum number of contracts to be processed in a single queue when generating billing schedules.
Generate Schedules: Schedules Per Line

Maximum number of billing schedules to be created per contract line item for the contracts being processed at the same time in a single transaction when generating billing schedules.

Note: Note Notepad
This setting does not limit the total number of schedules to be generated per contract line item. If schedules remain to be generated for a contract, those contracts are requeued.
Generate Schedules: Scope Size Maximum number of contracts to be processed in one go when generating billing schedules.
Generate Schedules for Lines: Scope Size Maximum number of contract line items to be processed in one go when generating billing schedules for contract line items.
Generate Schedules for Lines: Queue Size Maximum number of contract line items to be processed in a single queue when generating billing schedules for contract line items.
Job Check Interval Frequency in minutes to check whether queueable processes have finished.
Notify After Deleting Old Jobs and Logs Indicates whether a notification is sent when old jobs or logs are deleted.
Number of Days to Retain Jobs

Number of days for which to keep job records of background processes before automatically deleting them when the DeleteOldAsyncDataSchedule Apex Class runs.

Note: Note Notepad
To delete old jobs, you must schedule an Apex job to run the DeleteOldAsyncDataSchedule Apex Class.
Number of Days to Retain Logs

Number of days for which to keep log records of background processes before automatically deleting them when the DeleteOldAsyncDataSchedule Apex Class runs.

Note: Note Notepad
To delete old logs, you must schedule an Apex job to run the DeleteOldAsyncDataSchedule Apex Class.

Receive Process Notifications by Chatter

Indicates whether background process notifications are sent to recipients by Chatter.

Receive Process Notifications by Email

Indicates whether background process notifications are sent to recipients by Email.

Renew Contracts: Queue Size Maximum number of contracts to be processed in a single queue when renewing contracts. This setting is only used when Renew Contracts: Use Queueable is selected.
Renew Contracts: Scope Size Maximum number of contracts to be processed in one go when renewing contracts.
Renew Contracts: Use Queueable Indicates whether Queueable Apex is used instead of Batch Apex when renewing contracts. When selected, enter a value for Renew Contracts: Queue Size and Renew Contracts: Scope Size. When cleared, enter a value for Renew Contracts: Scope Size. For information about Batch Apex and Queueable Apex, see Background Processes and the "Batch Apex" and "Queueable Apex" topics in the Salesforce Developer Documentation.
Update Total Billed: Queue Size Maximum number of billing documents processed in a single queue when updating the total billed amount on contract line items. This setting is only used when Update Total Billed: Use Queueable is selected.
Update Total Billed: Scope Size Maximum number of billing documents to be processed in one go when updating the total billed amount on contract line items.
Update Total Billed: Use Queueable

Indicates whether Queueable Apex is used instead of Batch Apex when updating the total billed amount on contract line items. When selected, enter a value for Update Total Billed: Queue Size and Update Total Billed: Scope Size. When cleared, enter a value for Update Total Billed: Scope Size. For information about Batch Apex and Queueable Apex, see Background Processes and the "Batch Apex" and "Queueable Apex" topics in the Salesforce Developer Documentation.

Related Concepts

Background Processes

Reference

Managing Custom Settings from Setup

FinancialForce Billing Central Settings

Tax Calculation Settings

© Copyright 2009-2017 FinancialForce.com, inc. All rights reserved.
Various trademarks held by their respective owners.