How to handle VC calculations with changing values

I was wondering what kind of solutions people have come up with to handle calculations where an assigned value gets changed over time, such as an itemโ€™s price. In an old contract/order/etc where a total has already been calculated with an old value, you would not want the total to change if that value got updated.

One solution I thought of is a table of โ€œproductsโ€ that includes a product name, price, and date. Can be multiple records of the same product, but with different price and date values. Each contract/order can also have a date value, and so would only reference product values that are โ€œcurrentโ€ to it, via the dates.

Anyone else have other solutions?

1 3 344
3 REPLIES 3

I normally save the original price with the normal column which is not editableโ€ฆ and I mean together with the โ€œorderโ€. Then you donโ€™t need to worry about the total calculation.

Thanks @Aleksi . That sounds like it would be more efficient too.

Youโ€™re welcome

Top Labels in this Space