I would like to create an audit report showing dates when values were changed and what those values were changed to, but only one row for each date the value changed.
We modify payment terms for our vendors and the payment terms show up on the purchase orders (PO). So if we change payment terms from Net 30 to Net 45 on the vendor file on March 1, all POs from March 1 onward will have Net 45 terms. If we then change terms to Net 30 on May 15 all subsequent POs would have Net 30. My audit report would run against the PO table and then show
Vendor - Date of Change - New Terms
American Cleaners - Dec 12 - Net 30
American Cleaners - March 1 - Net 45
American Cleaners - May 15 - Net 30
...
I'm trying various combinations of FIRSTDATE and VALUES but I'm not getting it right as I just get the first value if the terms revert back to a previous setting. Thanks for any help you can give.
We modify payment terms for our vendors and the payment terms show up on the purchase orders (PO). So if we change payment terms from Net 30 to Net 45 on the vendor file on March 1, all POs from March 1 onward will have Net 45 terms. If we then change terms to Net 30 on May 15 all subsequent POs would have Net 30. My audit report would run against the PO table and then show
Vendor - Date of Change - New Terms
American Cleaners - Dec 12 - Net 30
American Cleaners - March 1 - Net 45
American Cleaners - May 15 - Net 30
...
I'm trying various combinations of FIRSTDATE and VALUES but I'm not getting it right as I just get the first value if the terms revert back to a previous setting. Thanks for any help you can give.