1. Manage CFI BDomain Settings

Make sure that the BDomain exists: Add a BDomain.

1.1. Add CFI BDomain Settings

To add CFI-specific settings to a BDomain, use API_CFIADM.ADD_BDOMAIN_SETTING. Currently the only setting is p_bdate_start_offset: the offset in hours if the business day should not change at midnight (default 0).

Example: Configure a 6-Hour Offset for BDomain ‘TESTING’

1EXECUTE SCRIPT API_CFIADM.ADD_BDOMAIN_SETTING(
2    'TESTING'   -- p_bdomain
3   ,6           -- p_bdate_start_offset
4);

This command creates a new entry in the table CFIADM.CFI_BDOMAIN_SETTINGS. The business day of BDomain ‘TESTING’ now ends at 6:00 on the following calendar day.

BDOMAIN

BDATE_START_OFFSET

TESTING

6

1.2. Modify CFI BDomain Settings

Modify the settings using API_CFIADM.MODIFY_BDOMAIN_SETTING.

Example: Change the Offset Back to Zero

1EXECUTE SCRIPT API_CFIADM.MODIFY_BDOMAIN_SETTING(
2    'TESTING'   -- p_bdomain
3   ,0           -- p_bdate_start_offset
4);

The entry for BDomain ‘TESTING’ in CFIADM.CFI_BDOMAIN_SETTINGS has changed; business day and calendar day are now identical.

BDOMAIN

BDATE_START_OFFSET

TESTING

0

1.3. Remove CFI BDomain Settings

To remove the CFI settings of a BDomain, use API_CFIADM.REMOVE_BDOMAIN_SETTING.

Example: Remove the Settings of BDomain ‘TESTING’

1EXECUTE SCRIPT API_CFIADM.REMOVE_BDOMAIN_SETTING(
2    'TESTING'   -- p_bdomain
3);

The entry of BDomain ‘TESTING’ is removed from CFIADM.CFI_BDOMAIN_SETTINGS.