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.

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.

The Rebuild Authorized Territory Lists utility and the Delete Branch Cache Records utility have a similar purpose in that they 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:

This page contains the following instructions:

To change to branches within a territory:

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

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

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

  4. Press Esc.

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 Esc 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 Y to display the Delete Branch Cache Records screen.

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

  1. Use the Select Files hot key and the Select Branches hot key to enter a file or branch to delete, if necessary. 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. Use one of the following hot keys:

See Also:

Rebuilding the Authorized Territory List

Creating Territories