Southerndiva
IS-IT--Management
I have been asked to develop an Aged Inventory Report for my client. Scenario: All items in stock are to be shown. There are multiple locations, costing method is average, and aging is to be based on last purchase date of the item. Total number of items: 2000+ Aging brackets are 0-90, 91-180 etc. application is PLATINUM FOR WINDOWS by Best
Method used: 2 reports: main and sub
I extracted all records from the main file with quantities on hand and average cost. and calculated value. Created a formula field based on item and location and grouped on this. Fine.
Created a sub-report using a history file which would give me all purchases and their dates. Created an itemlocation formula as above. Created a lastpurchasedate formula using the maximum(date) function and got the last purc.date for each item per location. Subtracted this date from the current date to get number of days since last purchased. This is to be returned to the main report as a shared variable. Fine.
In the main report, items are placed in the group footer(b) of the itemloc group. Group Footer(a) contains the sub report.
The report works fine but it takes approximately 2 hours to run, and even after it says 100% complete, when moving from page to page it seems to be re-calculating.
I find this unacceptable and i know my client will to. Any ideas? I have tried positioning the sub in different locations but it does not work. My only problem is the length of time the report takes to run. All other information returned is correct.
thanks
Method used: 2 reports: main and sub
I extracted all records from the main file with quantities on hand and average cost. and calculated value. Created a formula field based on item and location and grouped on this. Fine.
Created a sub-report using a history file which would give me all purchases and their dates. Created an itemlocation formula as above. Created a lastpurchasedate formula using the maximum(date) function and got the last purc.date for each item per location. Subtracted this date from the current date to get number of days since last purchased. This is to be returned to the main report as a shared variable. Fine.
In the main report, items are placed in the group footer(b) of the itemloc group. Group Footer(a) contains the sub report.
The report works fine but it takes approximately 2 hours to run, and even after it says 100% complete, when moving from page to page it seems to be re-calculating.
I find this unacceptable and i know my client will to. Any ideas? I have tried positioning the sub in different locations but it does not work. My only problem is the length of time the report takes to run. All other information returned is correct.
thanks