DPP Item List Price Log

Description
Categories: BI Publisher, Sales
Application: Oracle Price Protection
Source:
Short Name: DPPLSTPSLG
DB package:
select  to_char(DED.EXECUTION_START_DATE,'dd-Mon-yyyy HH24:MI:ss') STARTDATE,
to_char(DED.EXECUTION_END_DATE,'dd-Mon-yyyy HH24:MI:ss') ENDDATE,
DED.EXECUTION_STATUS as EXECUTIONSTATUS,
DED.OUTPUT_XML.extract('//TXNNUMBER/text()').getStringVal() as TransactionNumber,
extract(value(w), '//ITEMNUMBER/text()').getStringVal() as ItemNumber,
extract(value(w), '//NEWPRICE/text()').getStringVal() as NewPrice,
extract(value(w), '//CURRENCY/text()').getStringVal() as Currency,
extract(value(w), '//REASON/text()').getStringVal() as ReasonForFailure
from DPP_EXECUTION_DETAILS DED,table(xmlsequence(extract(DED.OUTPUT_XML,
'/ROWSET/ROOT/TRANSACTION/TRANSACTION_ROW'))) w
WHERE DED.EXECUTION_DETAIL_ID=:EXECUTION_DETAIL_ID
Download