Query change from 11i to R12 (2 threads merged by bb) [message #525082] |
Wed, 28 September 2011 19:42 |
|
hkotinad
Messages: 2 Registered: September 2011 Location: USA
|
Junior Member |
|
|
Hi,
Please help me out from the below query.....
In 11i we are using the below Query.
SELECT a.AE_HEADER_ID,a.AE_LINE_NUMBER,
a.AE_LINE_ID, a.AE_LINE_TYPE_CODE,a.CODE_COMBINATION_ID,
a.CURRENCY_CODE,a.ENTERED_DR,a.ENTERED_CR,a.ACCOUNTED_DR,a.ACCOUNTED_CR,a.SOURCE_TABLE,
a.SOURCE_ID,a.LAST_UPDATE_DATE FROM
AP_AE_LINES_ALL a,
AP_AE_LINES_Local_table e, ap_invoice_distributions d
WHERE a.source_table = 'AP_INVOICE_DISTRIBUTIONS'
AND a.source_id = d.invoice_distribution_id AND
a.last_update_date -(sysdate - 10) > 0
AND a.AE_LINE_ID = e.AE_LINE_ID(+)
I need to change this query related to R12 changes.
Please help me whether i need to use xla_ae_lines table from R12. if yes there are AE_LINE_ID, AE_LINE_TYPE_CODE columns are not there in xla_ae_lines table. Pls let me know where to refer the AE_LINE_ID, AE_LINE_TYPE_CODE columns in R 12.
|
|
|
|
|
|
|