|
The proposal is:
1. Create an aggregated Table to store aggregated information for Stock and Valuation of the Stock.
- This information should be grouped for each Product and Locator
- This information needs to be created for each closed Accounting Period. The reason to do it is because the Valued Stock Report can be run as of Date, so it is needed to have aggregated information for different dates.
- The information will be only stored for Closed and Permanently Closed Periods.
2. Create a Process to insert the information into the Table for each Closed Period. This Process will be scheduled as a background Process.
3. When a Period is Closed or Permanently Closed, the background Process will take it into account and will create the needed data when the process is run.
4. When a Period is Opened, if there is data for that Period (or for the next ones), it will be automatically deleted at that moment. |
|