Anda di halaman 1dari 2

AP Table Relation Oracle Apps

ORACLE PAYABLE TABLE RELATION


Source Table Dependent Table Condition
AP_INVOICE_LINES_ALL AIL ZX_LINES_SUMMARY ZLS AIL.invoice_id=ZLS.trx_id
and ZLS.application_id = 200
and ZLS.entity_code = 'AP_INVOICES'
and ZLS.event_class_code in ('STANDARD
INVOICES', 'PREPAYMENT INVOICES', 'EXPENSE
REPORTS')
and AIL.summary_tax_line_id=ZLS.summary_tax_lin
e_id
AP_INVOICE_LINES_ALL AIL ZX_LINES ZL AIL.invoice_id=ZL.trx_id
and ZL.application_id = 200
and ZL.entity_code = 'AP_INVOICES'
and ZL.event_class_code in ('STANDARD
INVOICES', 'PREPAYMENT INVOICES', 'EXPENSE
REPORTS')
and AIL.line_number=ZL.trx_line_number
AP_INVOICE_DISTRIBUTIONS ZX_REC_NREC_DIST ZD AID.invoice_id=ZD.trx_id
_ALL AID and ZD.application_id = 200
and ZD.entity_code = 'AP_INVOICES'
and ZD.event_class_code in ('STANDARD
INVOICES', 'PREPAYMENT INVOICES', 'EXPENSE
REPORTS')
and AID.summary_tax_line_id =
ZD.summary_tax_line_id
and AID.detail_tax_dist_id =
ZD.rec_nrec_tax_dist_id
AP_SELF_ASSESSED_TAX_DI ZX_REC_NREC_DIST ZD ASTD.invoice_id=ZD.trx_id
ST_ALL ASTD and ZD.application_id = 200
and ZD.entity_code = 'AP_INVOICES'
and ZD.event_class_code in ('STANDARD
INVOICES', 'PREPAYMENT INVOICES', 'EXPENSE
REPORTS')
and ASTD.summary_tax_line_id =
ZD.summary_tax_line_id
and ASTD.detail_tax_dist_id=ZD.rec_nrec_tax_dist_i
d
and ZD.self_assessed_flag='Y'
AP_INVOICE_LINES_ALL AIL ZX_LINES_DET_FACTORS AIL.invoice_id=ZLDF.trx_id
ZLDF and ZLDF.application_id = 200
and ZLDF.entity_code = 'AP_INVOICES'
and ZLDF.event_class_code in ('STANDARD
INVOICES', 'PREPAYMENT INVOICES', 'EXPENSE
REPORTS')
and AIL.line_number=ZLDF.trx_line_number
AP_INVOICE_DISTRIBUTIONS XLA_EVENTS XE Actual Event:
_ALL or --------------
AP_SELF_ASSESSED_TAX_DI xe.event_id = aid.accounting_event_id
ST_ALL AID and xe.application_id = 200
Budgetary Event:
-----------------
xe.event_id = aid.bc_event_id
and xe.application_id = 200
AP_INVOICE_DISTRIBUTIONS RCV_TRANSACTIONS RT aid.rcv_transaction_id = rt.transaction_id
_ALL or
AP_SELF_ASSESSED_TAX_DI
ST_ALL AID
AP_INVOICE_DISTRIBUTIONS GL_CODE_COMBINATIONS aid.dist_code_combination_id=gcc.code_combinatio
_ALL or GCC n_id
AP_SELF_ASSESSED_TAX_DI
ST_ALL AID
AP_PAYMENT_HISTORY_ALL XLA_EVENTS XE aph.accounting_event_id = xe.event_id
APH and xe.application_id = 200

AP_INVOICE_PAYMENTS_ALL XLA_EVENTS XE aip.accounting_event_id = xe.event_id


AIP
and xe.application_id = 200

AP_INVOICE_DISTRIBUTIONS PO_DISTRIBUTIONS_ALL PD aid.po_distribution_id = pd.po_distribution_id


_ALL or
AP_SELF_ASSESSED_TAX_DI
ST_ALL AID
AP_INVOICES_ALL AI PO_HEADERS_ALL PH ai.po_header_id = ph.po_header_id

AP_SUPPLIER_SITES_ALL HZ_PARTY_SITES HPS ass.party_site_id = hps.party_site_id


ASS
AP_SUPPLIERS AS HZ_PARTIES HP as.party_id = hp.party_id

AP_PRERPAY_APP_DISTS or XLA_EVENTS XE apa.accounting_event_id = xe.event_id


AP_PAYMENT_HIST_DISTS xe.application_id = 200
APA
AP_PREPAY_HISTORY_ALL XLA_EVENTS XE aph.accounting_event_id = xe.event_id
APH and xe.application_id = 200
AP_INVOICES_ALL AI XLA.XLA_TRANSACTION_E ai.invoice_id = nvl(xte.source_id_int_1, -99)
NTITIES XTE and xte.entity_code = 'AP_INVOICES'
and xte.application_id = 200
AP_CHECKS_ALL AC XLA.XLA_TRANSACTION_E ac.check_id = nvl(xte.source_id_int_1, -99)
NTITIES XTE and xte.entity_code = 'AP_PAYMENTS'
and xte.application_id =200

Anda mungkin juga menyukai