Article Cache
In order to optimise the speed of the system a caching mechanism is used to present specific elements of article information. It is the intent of the cache to bypass itself at the edge cases i.e. when stock, or available stock, is low.
The cached information is:
- On hand quantity;
- On order quantity;
- Estimated arrival date of the next purchase order;
- The expected quantity on the next purchase order;
- The daily sell rate;
- The time that this information was cached.
The cache is cleared for an item when:
- A stock adjustment is made for the item;
- A purchase receipt is saved;
- The item is moved to stock on a purchase receipt;
- A manufacturing order is marked as planned.
The cache for an item is automatically refreshed unless:
- The cache is less than one minute old;
- The daily sell rate is zero;
- There is more than one days stock available and the cache is less than one hour old.