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:
If you change a priority in Territory Maintenance, the system prompts to delete the branch cache files. The system retrieves data from the old branch cache files until you delete the old files. After running the Delete Branch Cache File utility the system can access the new data.
If you change the list of branches in Territory Maintenance, the system prompts to delete cache records and then to rebuild the Authorized Territory List. The system cannot find the new data until you delete the old cache files. Running the Rebuilt Authorized Territory List enables the changes you made to the territory priorities.
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:
From the Files> Branch menu, select Territory to display the Territory Maintenance window.
In the ID field, enter the territory name to display the territory record, including the branches associated with the territory.
In the Branch field, make the necessary changes to the branches.
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.
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.
Press OK to display the Delete all Branch Cache Records prompt.
Enter one of the following:
Yes - Deletes the old records. DO NOT enter Yes during business hours.
No - Displays the Rebuilt Authorized Territory prompt.
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.
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.
In the Branch field, enter a branch to delete, if applicable.
Select one of the following options:
File >Begin - Starts deleting cache files now. DO NOT run this process during business hours.
File > Schedule - Displays the Phantom Scheduler where you schedule a time to run the utility.
See Also: