Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I am wondering about a problem that came up just recently. I have a table contaning conversion data, converting an items' quantity based on a multiplier. For example item 1 could have a sold quantity of 10 bags to a customer, leading to a qty of 10 (duh!
). Thing is that each bag contains 100 pieces, but after a year the bag could be changed to a larger and contain 200 instead. I want to find these 100 or 200 depending on the date of the order and the active/disable date of the conversion record.
I have attached a simple example to review. What I want to do is to multiply the Qty with the correct conversion based on in between which active/disable date dates the order date is.
BR
Robert
You need to add the field 'Conversion' in your Order table. As the value of 'Conversion' depends on the order date, use IntervalMatch to find the Conversion value.
Modified qvw file with IntervalMatch added is attached.
Hope this helps.