Aug 27, 2021 12:24 PM
Hi everyone,
My goal here is to allow my master inventory list to have a dynamic price based on the most recent purchased price of an item.
So if an item cost $10.00 in August, but costs $15.00 in September, my inventory will initially show a cost of $10.00, and when the September-priced item is purchased it will update to $15.00
This allows me to grab the most recent record in my purchasing table that’s linked to the inventory item.
I’ve looked into using the ARRAY() functions but to no avail.
I’m thinking if i use the RIGHT(Calculation,5), or some alternative that produces similar results, it will give me the latest price to 2 decimal places. But without being able to pull the decimals over i’m left with rounding to the nearest dollar consistently, which isn’t ideal from an inventory perspective.
I think my difficulty lies in pulling a decimal from an array, but i’ve googled and have yet to come up with anything.
Appreciate anyone’s efforts and suggestions on this!
Solved! Go to Solution.
Aug 27, 2021 06:04 PM
If:
{Field A}
in Table 2 that can be compared with MAX(values)
or MIN(values)
(i.e. “what is the most recent date?”, “what is the smallest number?”){Field A}
, but the value of {Field B}
associated with whatever record has the max (or min) value for {Field A}
Then follow along in this episode of BuiltOnAir (Season 8, Episode 2, @ 27:38). This question is asked so often I think I may end up doing a standalone tutorial video.
Aug 27, 2021 06:04 PM
If:
{Field A}
in Table 2 that can be compared with MAX(values)
or MIN(values)
(i.e. “what is the most recent date?”, “what is the smallest number?”){Field A}
, but the value of {Field B}
associated with whatever record has the max (or min) value for {Field A}
Then follow along in this episode of BuiltOnAir (Season 8, Episode 2, @ 27:38). This question is asked so often I think I may end up doing a standalone tutorial video.
Sep 07, 2021 02:25 PM
That’s perfect.
Thank you Kamille!