DBA Data[Home] [Help]

APPS.FA_CIP_PVT dependencies on FA_XLA_EVENTS_PVT

Line 475: if not fa_xla_events_pvt.get_trx_event_status

471: and transaction_type_code = 'ADDITION';
472:
473: if (g_cap_event_id is not null) then
474:
475: if not fa_xla_events_pvt.get_trx_event_status
476: (p_set_of_books_id => p_asset_hdr_rec.set_of_books_id
477: ,p_transaction_header_id => g_cap_thid
478: ,p_event_id => g_cap_event_id
479: ,p_book_type_code => p_asset_hdr_rec.book_type_code

Line 500: g_event_status = FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) OR

496: -- assign an event for the transaction
497: -- always for cap, only if not deleting for rev
498:
499: if ((px_trans_rec.transaction_type_code = 'CIP REVERSE' and
500: g_event_status = FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) OR
501: px_trans_rec.transaction_type_code <> 'CIP REVERSE') then
502:
503: if not fa_xla_events_pvt.create_transaction_event
504: (p_asset_hdr_rec => p_asset_hdr_rec,

Line 503: if not fa_xla_events_pvt.create_transaction_event

499: if ((px_trans_rec.transaction_type_code = 'CIP REVERSE' and
500: g_event_status = FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) OR
501: px_trans_rec.transaction_type_code <> 'CIP REVERSE') then
502:
503: if not fa_xla_events_pvt.create_transaction_event
504: (p_asset_hdr_rec => p_asset_hdr_rec,
505: p_asset_type_rec=> px_asset_type_rec,
506: px_trans_rec => px_trans_rec,
507: p_event_status => NULL,

Line 514: g_event_status <> FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) then

510: raise cap_rev_err;
511: end if;
512:
513: elsif (px_trans_rec.transaction_type_code = 'CIP REVERSE' and
514: g_event_status <> FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) then
515:
516: if (p_log_level_rec.statement_level) then
517: fa_debug_pkg.add(l_calling_fn,
518: 'deleting capitalization event',

Line 526: if not fa_xla_events_pvt.delete_transaction_event

522:
523: -- now handle event impacts
524: -- create the event for the transaction
525:
526: if not fa_xla_events_pvt.delete_transaction_event
527: (p_ledger_id => fa_cache_pkg.fazcbc_record.set_of_books_id,
528: p_transaction_header_id => g_cap_thid,
529: p_book_type_code => p_asset_hdr_rec.book_type_code,
530: p_asset_type => px_asset_type_rec.asset_type, --bug 8630242/8678674

Line 857: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(p_asset_hdr_rec.book_type_code);

853: /*=================================================================
854: Secondary Changes Start
855: If primary and secondary sob_id is different then we need to
856: create/update/delete event for secondary ledger*/
857: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(p_asset_hdr_rec.book_type_code);
858:
859: if (l_secondary_sob_id is not null) and ( p_asset_hdr_rec.set_of_books_id = l_secondary_sob_id) then
860:
861: if (px_trans_rec.transaction_type_code = 'CIP REVERSE') then

Line 875: l_secondary_cap_event_id := FA_XLA_EVENTS_PVT.get_secondary_event_id(p_asset_hdr_rec.book_type_code, l_secondary_sob_id, g_cap_thid);

871: fa_debug_pkg.add(l_calling_fn,
872: 'checking cap thid ',g_cap_thid
873: ,p_log_level_rec => p_log_level_rec);
874: end if;
875: l_secondary_cap_event_id := FA_XLA_EVENTS_PVT.get_secondary_event_id(p_asset_hdr_rec.book_type_code, l_secondary_sob_id, g_cap_thid);
876:
877: if (l_secondary_cap_event_id is not null) then
878:
879: if not fa_xla_events_pvt.get_trx_event_status

Line 879: if not fa_xla_events_pvt.get_trx_event_status

875: l_secondary_cap_event_id := FA_XLA_EVENTS_PVT.get_secondary_event_id(p_asset_hdr_rec.book_type_code, l_secondary_sob_id, g_cap_thid);
876:
877: if (l_secondary_cap_event_id is not null) then
878:
879: if not fa_xla_events_pvt.get_trx_event_status
880: (p_set_of_books_id => l_secondary_sob_id
881: ,p_transaction_header_id => g_cap_thid
882: ,p_event_id => l_secondary_cap_event_id
883: ,p_book_type_code => p_asset_hdr_rec.book_type_code

Line 901: l_secondary_event_status = FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) OR

897: l_secondary_trans_rec := px_trans_rec;
898: l_secondary_asset_hdr_rec := p_asset_hdr_rec;
899: l_secondary_asset_hdr_rec.set_of_books_id := l_secondary_sob_id;
900: if ((l_secondary_trans_rec.transaction_type_code = 'CIP REVERSE' and
901: l_secondary_event_status = FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) OR
902: l_secondary_trans_rec.transaction_type_code <> 'CIP REVERSE') then
903:
904:
905: if not fa_xla_events_pvt.create_transaction_event

Line 905: if not fa_xla_events_pvt.create_transaction_event

901: l_secondary_event_status = FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) OR
902: l_secondary_trans_rec.transaction_type_code <> 'CIP REVERSE') then
903:
904:
905: if not fa_xla_events_pvt.create_transaction_event
906: (p_asset_hdr_rec => l_secondary_asset_hdr_rec,
907: p_asset_type_rec=> px_asset_type_rec,
908: px_trans_rec => l_secondary_trans_rec,
909: p_event_status => NULL,

Line 916: l_secondary_event_status <> FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) then

912: raise cap_rev_err;
913: end if;
914:
915: elsif (l_secondary_trans_rec.transaction_type_code = 'CIP REVERSE' and
916: l_secondary_event_status <> FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) then
917:
918: if (p_log_level_rec.statement_level) then
919: fa_debug_pkg.add(l_calling_fn,
920: 'deleting capitalization event',

Line 928: if not fa_xla_events_pvt.delete_transaction_event

924:
925: -- now handle event impacts
926: -- create the event for the transaction
927:
928: if not fa_xla_events_pvt.delete_transaction_event
929: (p_ledger_id => l_secondary_sob_id,
930: p_transaction_header_id => g_cap_thid,
931: p_book_type_code => p_asset_hdr_rec.book_type_code,
932: p_asset_type => px_asset_type_rec.asset_type, --bug 8630242/8678674

Line 969: g_event_status = FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) then

965: , p_log_level_rec => p_log_level_rec);
966: end if;
967:
968: if (G_release <> 11 and
969: g_event_status = FA_XLA_EVENTS_PVT.C_EVENT_PROCESSED) then
970:
971: if (p_log_level_rec.statement_level) then
972: fa_debug_pkg.add(l_calling_fn,
973: 'reversing accounting impacts for cap',