Sunteți pe pagina 1din 1

SELECT xte.

source_application_id,
xe.event_id,
xe.application_id,
xte.legal_entity_id,
xte.ledger_id,
xte.entity_code,
xte.entity_id,
xte.transaction_number,
xte.source_id_int_1
FROM fnd_concurrent_requests fcr,
xla_ae_headers
xah,
xla_events
xe,
xla_transaction_entities xte
WHERE xah.event_id = xe.event_id
AND xe.entity_id = xte.entity_id
AND xah.request_id = fcr.request_id
AND xe.reference_char_2 = :p_file_name
AND xah.accounting_entry_status_code IN ('D', 'I')
ORDER BY xe.event_id;

S-ar putea să vă placă și