Quantcast
Channel: SCN: Message List - Data Warehousing
Viewing all articles
Browse latest Browse all 3366

Capturing old Price

$
0
0

we have table in ECC where we have Prices based on Customer and material (millions of records). This table table maintains just latest price.

 

ECC

 

Customer MaterialPricePrice Change Date
1000Advil5.9511/01/2013
2000Tylenol4.9305/04/2014
3000Motrin901/01/2015

 

Say the price changes for customer/material (1000, Advil), from 5.95 to 6 on 05/05/2015. In BW I need to capture both 5.95 and 6. along with Price change date

 

I will need to have BW table like this

 

CustomerMaterialNew PriceOld PricePrice Change Date
1000Advil65.9505/05/2015
2000Tylenol4.9305/04/2014
3000Motrin901/01/2014

 

 

Any idea on above logic is appreciated

 

Thanks,

Vinay


Viewing all articles
Browse latest Browse all 3366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>