Business Process Automation
Configuring Dynamic Named Ranges
This process details creating different number ranges for different service providers. In this example, we create ranges for two service providers:
- Carrier FAST as a four digit number starting at 1000
- Carrier SLOW as a six-digit number starting at 400000
- Navigate to the Business Number Rule page: Business Process Automation > Power Data > Business Numbers > Business Number Rule.
- Enter the following:
- BN Rule: Any unique ID for the rule, such as AUTO_PAY_NUM_DYNAMIC.
- BN Type: AUTO_PAY_INVOICE_NUMBER.
- Select the Default check box.
- Rule Definition: {r*:id=1:xml=SERVPROV}-{p:range=%1}. This substitutes the value of "xml=SERVPROV" as the range ID. The value after % is the ID of the rule segment.
Note that the Range ID is the XID for the Range. Most XML replacement instructions return an XID, but some return a GID. If the replacement instruction returns a GID, you may need to use a substring argument to skip the domain and period to parse out the XID. For example, if the source location is CORP.ATLANTA_DC, “{r*:id=1:xml=SOURCE:substring=5}-{p:range=%1}” will ensure this rule uses a Range named “ATLANTA_DC”. - BN Generator: Select PICTURE.
- Domain Name: The domain in which this business number rule will be active.
Assume we have carriers named FAST and SLOW.
- Navigate to the Business Number Named Range page: Business Process Automation > Power Data > Business Numbers > Business Number Named Range.
- Enter the following:
- BN Named Range ID: Enter FAST since this must be the service provider XID.
- Recycling Policy: Select Audit and Recycle.
- Leave the Use Context for Sequence check box cleared.
- Domain Name: The domain in which this business number named range will be active.
- Create a business number range with the following information:
- BN Range ID: Any ID such as FAST_RANGE.
- BN Rule ID: Click the New icon to create a new BN rule ID. Then enter the following:
- BN Rule: FAST_RANGE_SEQ.
- BN Type: click the New icon to create a new type. Then enter the following:
- BN Type: INV_NUM_RANGE_TYPE.
- BN Context ID: EMPTY_CONTEXT.
- Table Name: INVOICE.
- Column Name: INVOICE_NUMBER.
- Click Finished.
- Default: do not select the check box.
- Rule Definition: {nnnn:start=1000}.
- BN Generator ID: select PICTURE.
- Click Finished.
- Click Save for the business number range you just entered.
- Click Finished.
- Click Create Another and follow the same steps as above with SLOW's information:
- BN Named Range ID: Enter SLOW since this must be the service provider XID.
- Recycling Policy: Select Audit and Recycle.
- Leave the Use Context for Sequence check box cleared.
- Create a business number range with the following information:
- BN Range ID: Any ID such as SLOW_RANGE.
- BN Rule ID: Click the New icon to create a new BN rule ID. Then enter the following:
- BN Rule: SLOW_RANGE_SEQ.
- Default: do not select the check box.
- Rule Definition: {nnnnnn:start=400000}.
- BN Type: INV_NUM_RANGE_TYPE.
- BN Generator: select PICTURE.
- Click Finished.
- Click Save for the business number range you just entered.
- Click Finished.
Related Topics
Configuring and Using the Business Number Generator
Creating a New Business Number Rule Definition
Generating Reference Numbers by Agent Actions