Deleting Branch Cache Files

The system stores data for each branch in branch cache files. When you enter an order or make a branch inquiry, the system retrieves only the data it needs for that branch, rather than having to search a huge database of multiple branch settings. This logic enables the system to retrieve data quickly and efficiently.

The Rebuild Authorized Territory Lists utility and the Delete Branch Cache Records utility were developed to clear old data from the system and to ensure that the system could quickly and effectively retrieve the most up-to-date branch and territory data possible. The utilities are triggered by the following system changes:

Important:  Run the Delete Branch Cache Records utility and the Rebuilt Authorized Territory List utility only after business hours to avoid interfering with daily transactions.

This topic contains the following instructions:

To change to branches within a territory:

  1. From the Files> Branch menu, select Territory to display the Territory Maintenance window.

  2. In the ID field, enter the territory name to display the territory record, including the branches associated with the territory.

  3. In the Branch field, make the necessary changes to the branches.

  4. Click OK.

The system clears the fields on the Territory Maintenance screen. The changes are saved, but they are not effective until you delete the cache records and rebuild the Authorized Territory List.

  1. To change more branch records, enter another branch name in the ID field.

Continue steps 2-5 until you have completed making changes to all the branches you want to change.

  1. Press OK to display the Delete all Branch Cache Records prompt.

  2. Enter one of the following:

To delete cache records:

  1. At the prompt to delete all branch cache records, enter Yes to display the Delete Branch Cache Records dialog box.

Note: You can also run the Delete Branch Cache Records utility from the Maintenance > Branch menu.

  1. In the Files field, enter the name of the file to delete, if applicable. For example, you can occasionally run the utility by line for the PROD.BR file to clear the cache during working hours, if necessary.

Note: You most commonly manually run the utility for the PROD.DYNAM file.

  1. In the Branch field, enter a branch to delete, if applicable.

  2. Select one of the following options:

See Also:

Defining Authorized Territories for Users

Creating Territories

Adding Branches to Territories