4Site
Support Request System
View Patch #50.016.004
Description
Patch ID:
Date Implemented:
Patch Title:
Patch Type:
Request IDs:
Bug
Enhancement
Other
02314 -
New PO save settings is causing problems - takes long time to open PO
02311 -
Saved search settings are active for all database connections.
Enhancement Description:
Since the update to version 5 the Open Purchase Order screen takes a really long time to load or times out for some users. The problem happens because the last Find By settings are now saved to the registry so the next time it uses those settings. Each time the user opens a PO by double clicking it in the grid or clicking OK on the Open screen it saves (actually it was saving twice per PO). The saving the last settings seemed like a good idea at the time. However, if the user opens an old PO, the number of days changes to how old the PO is. So if the PO is a few years old the days could be in the thousands. For some of the older clients this could mean the next time it's trying to load up tens of thousands of POs so either takes long or times out. The temporary solution was for the client to change the registry setting back to a small number or tell the user to reset the find by options before they exitted PO.
Solution:
1. The save was move to the Form_Unload so it only happens once when the window is closed. 2. It compares the original settings with the current ones and if the days or status setting has changed it will ask the user if he/she wants to save the new settings or retain the old ones. 3. It saves the database name in the registry entry now too as dbname + key eg. TestV5SearchPerdiodDays
Browse Patches
Find a Patch
Return to Request System Menu