2 Least Cost Routing

This chapter explains how to define least cost routing rules and carriers.

This chapter contains the following topics.

Least Cost Routing Screen

Rule Set

Rule

Carrier

Least Cost Routing Screen

The NP/Least Cost Routing screen allows you to define the carriers for least cost routing and the rules that determine which carrier will be used. The least cost routing functionality is optionally used after destination selection has been performed.

It contains the following tabs:

  • Rule Set

  • Rule

  • Carrier

Rule Set

You use the Rule Set tab to define the available rule sets for least cost routing.

Adding a rule set

Follow these steps to Add a new rule set.

  1. Select the Rule Set tab in the NP/Least Cost Routing - Find mode screen, and click New.

    Result: You see the Rule Set tab in New mode.

  2. In the Name field, enter a unique name for the new rule set. The rule set name can be up to 30 alphanumeric characters long and is required.

  3. Click Save.

  4. Repeat steps 2 to 3 for each rule set to add.

    Note: When you click Save, the saved values remain on the screen. You can create another new record by typing over these values and clicking Save again.

  5. Click Return to go back to the previous screen.

Editing a rule set

Follow these steps to edit a rule set.

  1. In Find mode, on the Rule Set tab, find and select the record to edit. For more information about finding and selecting rule sets, see Finding a rule set.

    Result: The selected record appears in Update mode on the Rule Set tab.

  2. Edit the details as described in Adding a rule set.

  3. Click Save then Return to save your changes and return to the previous screen.

Deleting a rule set

Follow these steps to delete a rule set.

Note: You cannot delete rule sets that are referenced elsewhere in the system, such as in Rule records.

  1. In Find mode, on the Rule Set tab, find and select the record to delete. For more information on finding and selecting rule sets, see Finding a rule set.

  2. Click Delete.

    Result: The Confirm Delete Record screen appears

  3. Click Yes to confirm.

    Result: The record is removed from the database.

  4. Click Return to return to the previous screen.

Finding a rule set

Follow these steps to search the database for a specific rule set.

  1. Ensure you are in Find mode on the Rule Set tab.

  2. Enter the selection criteria in one or more query fields and click Find.

    If a field is left empty, the search retrieves all instances of that field.

    Result: This triggers an Oracle Like% query that returns the first 100 records that begin with the selection criteria. For example, if you enter 123 in a query field, the system returns records such as 123, 1234, 12345.

    The results appear in the table on the Find result mode screen for the type of record you are querying.

    Note: The first 100 records entered in the database are displayed in no particular order. If you do not find the record you are searching for, conduct a more specific search.

    Description of np-rulesetfindresult_2-5-0.jpg follows
    Description of the illustration np-rulesetfindresult_2-5-0.jpg

  3. To view a record in Update mode, highlight the record line and click Select.

  4. To delete a record, highlight the record line and click Delete.

Related topic

Rule Set

Rule

You use the Rule tab to specify the rules associated with each rule set. You can specify more than one rule per rule set. Each rule consists of:

  • Rule set itself

  • List of carriers and the order in which they should be tried

  • Routing destination

Using the Carrier Search Dialog

You can invoke the Carrier Search Dialog from the Rule tab in the Least Cost Routing screen in Find, New, or Update mode. You use it to find a carrier, when you do not know the carrier name.

Follow these steps to search for a carrier in the Carrier Search Dialog.

  1. On the Rule tab, click the button to the right of the relevant Carrier field.

    Result: You see the Carrier Search Dialog.

  2. Enter the search criteria in the Carrier and Description query fields and click Find.

    If a field is left empty, then the search retrieves all instances of that field.

    Result: The search finds all the carriers that match the search criteria and displays them in a table in the Carrier Search Dialog.

    Description of np-carriersearchdialogresults_2-5-0.jpg follows
    Description of the illustration np-carriersearchdialogresults_2-5-0.jpg

  3. To select the carrier you want, highlight it in the table and click Select.

    Result: You are returned to the Rule tab and the selected carrier name is inserted into relevant Carrier field.

Adding a rule

Follow these steps to Add a new rule to a rule set.

  1. Select the Rule tab in the NP/Destination Selection - Find mode screen, and click New.

    Result: You see the Rule tab in New mode.

  2. In the Rule Set field, select the rule set to assign the rule to.

  3. In the Routing Destination field, enter the routing destination for the rule. You must enter a valid routing destination (one that already exists in the database).

    Note: If you do not know the routing destination, you can click the button to the right of this field to search for it using the Routing Destination Search Dialog. See Using the Routing Destination Search Dialog for details.

  4. In the Carrier 1 field, enter the first carrier to try when the rule is invoked. This is a required field.

    Note: You must enter a valid carrier (one that already exists in the database). To search for a carrier, click the button to the right of the Carrier field. See Using the Carrier Search Dialog for details.

  5. In the other Carrier fields, enter the carriers to try, in the sequence in which they should be tried, if the first carrier is unavailable.

    Note: You must supply at least one carrier.

  6. Click Save.

  7. Repeat steps 2 to 6 for each rule to add.

    Note: When you click Save, the saved values remain on the screen. You can create another new record by typing over these values and clicking Save again.

  8. Click Return to go back to the previous screen.

Editing a rule

Follow these steps to edit a rule.

  1. In Find mode, on the Rule tab, find and select the record to edit. For more information on finding and selecting rule records, see Finding a rule.

    Result: The selected record appears in Update mode on the Rule tab.

  2. Edit the details as described in Adding a rule.

  3. Click Save, then Return, to save your changes and return to the previous screen.

Deleting a rule

Follow these steps to delete a rule.

  1. In Find mode, on the Rule tab, find and select the record to delete. For more information on finding and selecting rule records, see Finding a rule.

  2. Click Delete.

    Result: The Confirm Delete Record screen appears.

  3. Click Yes to confirm.

    Result: The record is removed from the database.

  4. Click Return to return to the previous screen.

Finding a rule

Follow these steps to search the database for a specific rule.

  1. Ensure you are in Find mode on the Rule tab.

  2. Enter the selection criteria in one or more query fields and click Find.

    If a field is left empty, then the search will retrieve all instances of that field.

    Result: This triggers an Oracle Like% query that returns the first 100 records that begin with the selection criteria. For example, if you enter 123 in a query field, the system will return records such as 123, 1234, 12345, ...

    The results appear in the table on the Rule tab in Find result mode.

    Note: These are the first 100 records entered in the database, and they display in no particular order. If you do not find the record you are searching for, you need to conduct a more specific search.

    Description of np-rulefindresult_2-5-0.jpg follows
    Description of the illustration np-rulefindresult_2-5-0.jpg

  3. To view a record in Update mode, highlight the record line and click Select.

  4. To delete a record, highlight the record line and click Delete.

Related topic

Rule

Carrier

The Carrier tab allows you to define the carriers for least cost routing rules.

Adding a carrier

Follow these steps to add a new carrier.

  1. Select the Carrier tab in the NP/Least Cost Routing - Find mode screen, and click New.

    Result: You see the Carrier tab in New mode.

  2. In the Name field, enter a unique name for the new carrier. The carrier name can be up to 30 alphanumeric characters long and is required.

  3. In the Format field select the preferred format for the carrier.

  4. In the Override Noa field, enter the appropriate value. Valid values are a single digit in the range 0 through 7.

  5. In the Description field, enter a description for the carrier, if required. The description can be up to 64 alphanumeric characters long.

    In the Statistics ID field, select the relevant statistic.

  6. In the Carrier Code field, enter the carrier code. The carrier code must be four characters long and is required.

  7. In the Country Code field, enter the country code for the carrier. The country code can be up to four decimal digits long and is required.

  8. In the CLD PTY Prefix field, enter the CLD PTY prefix if required. The CLD PTY prefix can be up to four hexadecimal digits long.

  9. Select the Send Routing Number check box to send the routing number when using this carrier.

  10. In the Application ID field, select the ID of the application used by the carrier.

  11. Click Save.

  12. Repeat steps 2 through 9 for each carrier to add.

    Note: When you click Save, the saved values remain on the screen. You can create another new record by typing over these values and clicking Save again.

  13. Click Return to go back to the previous screen.

Editing a carrier

Follow these steps to edit carrier details.

  1. In Find mode, on the Carrier tab, find and select the record to edit. For more information on finding and selecting Carriers, see Finding a carrier.

    Result: The selected record appears in Update mode on the Carrier tab.

  2. Edit the details as described in Adding a carrier.

  3. Click Save, and then Return, to save your changes and return to the previous screen.

Deleting a carrier

Follow these steps to delete a Carrier.

Note: You cannot delete carriers that are referenced elsewhere in the system, such as in Rule records.

  1. In Find mode, on the Carrier tab, find and select the record to delete. For more information on finding and selecting Carriers, see Finding a carrier.

  2. Click Delete.

    Result: The Confirm Delete Record screen appears.

  3. Click Yes to confirm.

    Result: The record is removed from the database.

  4. Click Return to return to the previous screen.

Finding a carrier

Follow these steps to search the database for a specific carrier.

  1. Ensure you are on the Carrier tab in Find mode.

  2. Enter the selection criteria in one or more query fields and click Find.

    If a field is left empty, then the search will retrieve all instances of that field.

    Result: This triggers an Oracle Like% query that returns the first 100 records that begin with the selection criteria. For example, if you enter 123 in a query field, the system will return records such as 123, 1234, 12345, ...

    The results appear in the table on Carrier tab in Find result mode.

    Note: These are the first 100 records entered in the database, and they display in no particular order. If you do not find the record you are searching for, you need to conduct a more specific search.

    Description of np-carrierfindresult_2-5-0.jpg follows
    Description of the illustration np-carrierfindresult_2-5-0.jpg

  3. To view a record in Update mode, highlight the record line and click Select.

  4. To delete a record, highlight the record line and click Delete.

Related topic

Carrier