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:
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.
This page contains the following instructions:
From the Files > Branch menu, select Territory to display the Territory Maintenance screen.
In the ID field, enter the territory name to display the territory record, including the branches associated with the territory.
In the BR field, make the necessary changes to the branches.
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.
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 Esc to display the Delete all Branch Cache Records prompt.
Enter one of the following:
Y – Deletes the old records. DO NOT enter Y during business hours.
N – Displays the Rebuilt Authorized Territory prompt.
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.
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.
Use one of the following hot keys:
Run Now – Starts deleting cache files now. DO NOT run this process during business hours.
Schedule – Displays the Phantom Scheduler where you schedule a time to run the utility.
See Also: