DBA Data[Home] [Help]

APPS.ARP_XLA_UPGRADE dependencies on XLA_AE_HEADERS

Line 110: INTO XLA_AE_HEADERS

106: 'Y', --upgrade flag
107: trx_date
108: )
109: WHEN PST_ID <> -3 THEN
110: INTO XLA_AE_HEADERS
111: (upg_batch_id,
112: upg_source_application_id,
113: application_id,
114: amb_context_code,

Line 164: xla_ae_headers_s.nextval,

160: 'DEFAULT', --amb context code
161: entity_id,
162: xla_events_s.nextval,
163: override_event,
164: xla_ae_headers_s.nextval,
165: sob_id,
166: gl_date,
167: period_name,
168: '', --reference date global acct eng

Line 655: (select /*+ ordered rowid(ct) use_nl(ctlgd,ent,ev,hdr,ctl) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) */

651: ledger_id AS ledger_id,
652: RANK() OVER (PARTITION BY event_id, ae_header_id
653: ORDER BY line_id, ln_order) AS line_num
654: FROM
655: (select /*+ ordered rowid(ct) use_nl(ctlgd,ent,ev,hdr,ctl) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) */
656: hdr.ae_header_id ae_header_id,
657: decode(account_class, 'REC', 'RECEIVABLE',
658: 'REV', 'REVENUE',
659: 'UNEARN', 'UNEARNED_REVENUE',

Line 729: xla_ae_headers hdr,

725: ra_cust_trx_line_gl_dist_all ctlgd,
726: xla_upgrade_dates gps,
727: xla_transaction_entities_upg ent,
728: xla_events ev,
729: xla_ae_headers hdr,
730: ra_customer_trx_lines_all ctl
731: where ct.rowid >= l_start_rowid
732: and ct.rowid <= l_end_rowid
733: and NVL(ct.ax_accounted_flag,'N') = 'N'

Line 752: select /*+ ordered rowid(ct) use_nl(app,ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) */

748: and hdr.event_id = ev.event_id
749: and ct.set_of_books_id = hdr.ledger_id
750: and ctlgd.customer_trx_line_id = ctl.customer_trx_line_id (+)
751: UNION ALL /* CM applications */
752: select /*+ ordered rowid(ct) use_nl(app,ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) */
753: hdr.ae_header_id ae_header_id,
754: DECODE(ard.source_type, 'REC','RECEIVABLE',
755: ard.source_type) account_class,
756: 'AR_DISTRIBUTIONS_ALL' source_table,

Line 785: xla_ae_headers hdr,

781: ar_receivable_applications_all app,
782: xla_upgrade_dates gps,
783: xla_transaction_entities_upg ent,
784: xla_events ev,
785: xla_ae_headers hdr,
786: ar_distributions_all ard
787: where ct.rowid >= l_start_rowid
788: and ct.rowid <= l_end_rowid
789: and NVL(ct.ax_accounted_flag,'N') = 'N'

Line 946: INTO XLA_AE_HEADERS

942: 'Y', --upgrade flag
943: trx_date
944: )
945: WHEN PST_ID <> -3 THEN
946: INTO XLA_AE_HEADERS
947: (upg_batch_id,
948: upg_source_application_id,
949: application_id,
950: amb_context_code,

Line 1000: xla_ae_headers_s.nextval,

996: 'DEFAULT', --amb context code
997: entity_id,
998: xla_events_s.nextval,
999: override_event,
1000: xla_ae_headers_s.nextval,
1001: sob_id,
1002: gl_date,
1003: period_name,
1004: '', --reference date global acct eng

Line 1405: ( select /*+ ordered rowid(ct) use_nl(trh,ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) */

1401: ledger_id AS ledger_id,
1402: RANK() OVER (PARTITION BY event_id, ae_header_id
1403: ORDER BY line_id, ln_order) AS line_num
1404: FROM
1405: ( select /*+ ordered rowid(ct) use_nl(trh,ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) */
1406: hdr.ae_header_id ae_header_id,
1407: decode(ard.source_type, 'FACTOR', 'FAC_BR',
1408: 'REMITTANCE','REM_BR',
1409: 'REC', 'BILL_REC',

Line 1438: xla_ae_headers hdr,

1434: ar_transaction_history_all trh,
1435: xla_upgrade_dates gps,
1436: xla_transaction_entities_upg ent,
1437: xla_events ev,
1438: xla_ae_headers hdr,
1439: ar_distributions_all ard
1440: where ct.rowid >= l_start_rowid
1441: and ct.rowid <= l_end_rowid
1442: and NVL(ct.ax_accounted_flag,'N') = 'N'

Line 1610: INTO XLA_AE_HEADERS

1606: 'Y', --upgrade flag
1607: trx_date
1608: )
1609: WHEN PST_ID <> -3 THEN
1610: INTO XLA_AE_HEADERS
1611: (upg_batch_id,
1612: upg_source_application_id,
1613: application_id,
1614: amb_context_code,

Line 1664: xla_ae_headers_s.nextval,

1660: 'DEFAULT', --amb context code
1661: entity_id,
1662: xla_events_s.nextval,
1663: override_event,
1664: xla_ae_headers_s.nextval,
1665: sob_id,
1666: gl_date,
1667: period_name,
1668: '', --reference date global acct eng

Line 2272: ( select /*+ ordered rowid(cr) use_nl(crh,crh1,ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) INDEX_SS(crh1 ar_cash_receipt_history_n1) */

2268: ledger_id AS ledger_id,
2269: RANK() OVER (PARTITION BY event_id, ae_header_id
2270: ORDER BY line_id, ln_order) AS line_num
2271: FROM
2272: ( select /*+ ordered rowid(cr) use_nl(crh,crh1,ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) INDEX_SS(crh1 ar_cash_receipt_history_n1) */
2273: hdr.ae_header_id ae_header_id,
2274: decode(ard.source_type, 'BANK_CHARGES', 'BANK_CHG',
2275: ard.source_type) account_class,
2276: 'AR_DISTRIBUTIONS_ALL' source_table,

Line 2305: xla_ae_headers hdr,

2301: xla_upgrade_dates gps,
2302: ar_cash_receipt_history_all crh1,
2303: xla_transaction_entities_upg ent,
2304: xla_events ev,
2305: xla_ae_headers hdr,
2306: ar_distributions_all ard
2307: where cr.rowid >= l_start_rowid
2308: and cr.rowid <= l_end_rowid
2309: and nvl(cr.ax_accounted_flag,'N') = 'N'

Line 2352: select /*+ ordered rowid(cr) use_nl(sys,app,ent,crh,crh1,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) INDEX_SS(crh1 ar_cash_receipt_history_n1) */

2348: and hdr.event_id = ev.event_id
2349: and ard.source_id = crh.cash_receipt_history_id
2350: and ard.source_table = 'CRH'
2351: UNION ALL /* Receipt applications */
2352: select /*+ ordered rowid(cr) use_nl(sys,app,ent,crh,crh1,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) INDEX_SS(crh1 ar_cash_receipt_history_n1) */
2353: hdr.ae_header_id ae_header_id,
2354: DECODE(ard.source_type, 'REC', 'RECEIVABLE',
2355: 'CURR_ROUND', 'ROUNDING',
2356: 'EXCH_GAIN', 'GAIN',

Line 2402: xla_ae_headers hdr,

2398: xla_transaction_entities_upg ent,
2399: ar_cash_receipt_history_all crh,
2400: ar_cash_receipt_history_all crh1,
2401: xla_events ev,
2402: xla_ae_headers hdr,
2403: ar_distributions_all ard
2404: where cr.rowid >= l_start_rowid
2405: and cr.rowid <= l_end_rowid
2406: and nvl(cr.ax_accounted_flag,'N') = 'N'

Line 2448: select /*+ ordered rowid(cr) use_nl(mcd,crh,ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) INDEX_SS(crh ar_cash_receipt_history_n1) */

2444: and hdr.application_id = 222
2445: and ard.source_id = app.receivable_application_id
2446: and ard.source_table = 'RA'
2447: UNION ALL /* Misc Cash Dist */
2448: select /*+ ordered rowid(cr) use_nl(mcd,crh,ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) INDEX_SS(crh ar_cash_receipt_history_n1) */
2449: hdr.ae_header_id ae_header_id,
2450: DECODE(ard.source_type, 'MISCCASH', 'MISC_CASH',
2451: ard.source_type) account_class,
2452: 'AR_DISTRIBUTIONS_ALL' source_table,

Line 2478: xla_ae_headers hdr,

2474: xla_upgrade_dates gps,
2475: ar_cash_receipt_history_all crh,
2476: xla_transaction_entities_upg ent,
2477: xla_events ev,
2478: xla_ae_headers hdr,
2479: ar_distributions_all ard
2480: where cr.rowid >= l_start_rowid
2481: and cr.rowid <= l_end_rowid
2482: and nvl(cr.ax_accounted_flag,'N') = 'N'

Line 2652: INTO XLA_AE_HEADERS

2648: 'Y', --upgrade flag
2649: trx_date
2650: )
2651: WHEN PST_ID <> -3 THEN
2652: INTO XLA_AE_HEADERS
2653: (upg_batch_id,
2654: upg_source_application_id,
2655: application_id,
2656: amb_context_code,

Line 2707: xla_ae_headers_s.nextval,

2703: 'DEFAULT', --amb context code
2704: entity_id,
2705: xla_events_s.nextval,
2706: override_event,
2707: xla_ae_headers_s.nextval,
2708: sob_id,
2709: gl_date,
2710: period_name,
2711: '', --reference date global acct eng

Line 3030: ( select /*+ ordered rowid(adj) use_nl(ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) */

3026: ledger_id AS ledger_id,
3027: RANK() OVER (PARTITION BY event_id, ae_header_id
3028: ORDER BY line_id) AS line_num
3029: FROM
3030: ( select /*+ ordered rowid(adj) use_nl(ent,ev,hdr,ard) use_hash(gps) swap_join_inputs(gps) INDEX(ent xla_transaction_entities_N1) INDEX(ev XLA_EVENTS_U2) INDEX(hdr XLA_AE_HEADERS_N2) */
3031: hdr.ae_header_id ae_header_id,
3032: DECODE(ard.source_type,'REC','RECEIVABLE',
3033: ard.source_type) account_class,
3034: 'AR_DISTRIBUTIONS_ALL' source_table,

Line 3057: xla_ae_headers hdr,

3053: from ar_adjustments_all adj,
3054: xla_upgrade_dates gps,
3055: xla_transaction_entities_upg ent,
3056: xla_events ev,
3057: xla_ae_headers hdr,
3058: ar_distributions_all ard
3059: where adj.rowid >= l_start_rowid
3060: and adj.rowid <= l_end_rowid
3061: and nvl(adj.ax_accounted_flag,'N') = 'N'