Forum Discussion
Interesting Challenge.
You say that your unit cost table has 200 records. But any records have duplicates for the same item, just differentiated by the effective date. So are you saying for argument sake that you have about say 100 items and each item has an average of 2 effective dates.
If that is the case are you looking to freeze in the values of all unique item costs into the Estimate record, by only bringing in the most current record for each unique item?
That is the case then a suggestion would be to use a Formula Query to have the item master cost table auto flag the record which is the most current for each item.
When you create a new estimate a pipeline or a formula URL button would import say the 100 unique items into the estimate as a child record, just bringing in the most current cost for each item.
Then while it's a little bit of a pain but something you can do while watching TV, you would create 100 summary fields to roll up the cost up to the estimate record for each different item.
Does that approach sounds like it would work
- NickBellows31 days agoQrew Member
Let me answer in parts. The Estimate is made up of about 200 different costs i.e. License Fee A, License Fee B, Labor Cost A, Labor Cost B, Training Cost A, Training Cost B. Each one of these 200 different costs is made up of some combination of user input item (# of Locations, # of Users etc) and unit cost of the specific item (License Fee A or B etc). Each unit cost can change at any time. For example a vendor changes their price on License Fee A. Without a way to freeze all the values in the completed estimates, updating the unit cost for License Fee A will change that cost on previously completed estimates.
The ideal situation would let me create a rule to freeze all values in a record once it is finalized and then I can update the existing fields as needed and the previous records would not update but I don't think that is possible.
The customer has a requirement that all previously completed Estimates remain in the same table.
I will have to do some research on Summary fields as that isn't something i have done before.
- MarkShnier__You31 days agoQrew Legend
OK well if my approach makes sense to you the answers of my solution has two parts. One is to have the unit cost records auto identify the most current unit cost for that item and that involves a Formula Query and the syntax for that can be a little tricky. Then the other part of my solution was to copy those unit costs as a child records to the estimate so that they will be frozen in time. There would be a Join table called Frozen Estimate Unit Costs or something like that.