DBA Data[Home] [Help]

APPS.FA_GAINLOSS_PKG dependencies on FA_XLA_EVENTS_PVT

Line 748: if not fa_xla_events_pvt.create_transaction_event

744: else
745: l_temp_calling_fn := 'FA_RETIREMENT_PUB.do_sub_regular_reinstatement';
746: end if;
747:
748: if not fa_xla_events_pvt.create_transaction_event
749: (p_asset_hdr_rec => l_asset_hdr_rec,
750: p_asset_type_rec=> l_asset_type_rec,
751: px_trans_rec => l_trans_rec,
752: p_event_status => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,

Line 752: p_event_status => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,

748: if not fa_xla_events_pvt.create_transaction_event
749: (p_asset_hdr_rec => l_asset_hdr_rec,
750: p_asset_type_rec=> l_asset_type_rec,
751: px_trans_rec => l_trans_rec,
752: p_event_status => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,
753: p_calling_fn => l_temp_calling_fn
754: ,p_log_level_rec => p_log_level_rec) then
755: raise gainloss_err;
756: end if;

Line 761: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(l_asset_hdr_rec.book_type_code);

757: /*=================================================================
758: Secondary Changes Start
759: If primary and secondary sob_id is different then we need to
760: create event for secondary ledger*/
761: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(l_asset_hdr_rec.book_type_code);
762:
763: if p_log_level_rec.statement_level then fa_debug_pkg.add (fname => l_calling_fn,element => 'before secondary create l_secondary_sob_id ',value => l_secondary_sob_id); end if;
764: if p_log_level_rec.statement_level then fa_debug_pkg.add (fname => l_calling_fn,element => 'before secondary create l_primary_sob_id ',value => l_primary_sob_id); end if;
765: if p_log_level_rec.statement_level then fa_debug_pkg.add (fname => l_calling_fn,element => 'before secondary create fa_cache_pkg.fazcbcs_record.SET_OF_BOOKS_ID ',value => fa_cache_pkg.fazcbcs_record.SET_OF_BOOKS_ID); end if;

Line 770: if not fa_xla_events_pvt.create_transaction_event

766: if (l_secondary_sob_id is not null) then
767: l_secondary_asset_hdr_rec := l_asset_hdr_rec;
768: l_secondary_asset_hdr_rec.set_of_books_id := l_secondary_sob_id;
769: l_secondary_trans_rec := l_trans_rec;
770: if not fa_xla_events_pvt.create_transaction_event
771: (p_asset_hdr_rec => l_secondary_asset_hdr_rec,
772: p_asset_type_rec=> l_asset_type_rec,
773: px_trans_rec => l_secondary_trans_rec,
774: p_event_status => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,

Line 774: p_event_status => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,

770: if not fa_xla_events_pvt.create_transaction_event
771: (p_asset_hdr_rec => l_secondary_asset_hdr_rec,
772: p_asset_type_rec=> l_asset_type_rec,
773: px_trans_rec => l_secondary_trans_rec,
774: p_event_status => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,
775: p_calling_fn => l_temp_calling_fn
776: ,p_log_level_rec => p_log_level_rec) then
777: raise gainloss_err;
778: end if;

Line 792: element => 'calling fa_xla_events_pvt.update_transaction_event with thid: ',

788:
789: if p_log_level_rec.statement_level then
790: fa_debug_pkg.add
791: (fname => l_calling_fn,
792: element => 'calling fa_xla_events_pvt.update_transaction_event with thid: ',
793: value => l_thid);
794: end if;
795:
796: -- Bug 7292561: Changed the Event_date to match the event_date used

Line 798: if not fa_xla_events_pvt.update_transaction_event

794: end if;
795:
796: -- Bug 7292561: Changed the Event_date to match the event_date used
797: -- in create_transaction_event
798: if not fa_xla_events_pvt.update_transaction_event
799: (p_ledger_id => l_primary_sob_id,
800: p_transaction_header_id => l_thid,
801: p_book_type_code => l_asset_hdr_rec.book_type_code,
802: p_event_type_code => l_event_type_code,

Line 805: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,

801: p_book_type_code => l_asset_hdr_rec.book_type_code,
802: p_event_type_code => l_event_type_code,
803: p_event_date => greatest(l_trx_date_entered,
804: l_period_rec.calendar_period_open_date),
805: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,
806: p_calling_fn => l_calling_fn,
807: p_log_level_rec => p_log_level_rec) then
808: raise gainloss_err;
809: end if;

Line 814: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(l_asset_hdr_rec.book_type_code);

810: /*=================================================================
811: Secondary Changes Start
812: If primary and secondary sob_id is different then we need to
813: update event for secondary ledger*/
814: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(l_asset_hdr_rec.book_type_code);
815: if p_log_level_rec.statement_level then fa_debug_pkg.add (fname => l_calling_fn,element => 'before secondary update l_secondary_sob_id ',value => l_secondary_sob_id); end if;
816: if p_log_level_rec.statement_level then fa_debug_pkg.add (fname => l_calling_fn,element => 'before secondary update l_primary_sob_id ',value => l_primary_sob_id); end if;
817:
818: if(l_secondary_sob_id is not null) then

Line 819: if not fa_xla_events_pvt.update_transaction_event

815: if p_log_level_rec.statement_level then fa_debug_pkg.add (fname => l_calling_fn,element => 'before secondary update l_secondary_sob_id ',value => l_secondary_sob_id); end if;
816: if p_log_level_rec.statement_level then fa_debug_pkg.add (fname => l_calling_fn,element => 'before secondary update l_primary_sob_id ',value => l_primary_sob_id); end if;
817:
818: if(l_secondary_sob_id is not null) then
819: if not fa_xla_events_pvt.update_transaction_event
820: (p_ledger_id => l_secondary_sob_id,
821: p_transaction_header_id => l_thid,
822: p_book_type_code => l_asset_hdr_rec.book_type_code,
823: p_event_type_code => l_event_type_code,

Line 826: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,

822: p_book_type_code => l_asset_hdr_rec.book_type_code,
823: p_event_type_code => l_event_type_code,
824: p_event_date => greatest(l_trx_date_entered,
825: l_period_rec.calendar_period_open_date),
826: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_UNPROCESSED,
827: p_secondary_flag => TRUE,
828: p_secondary_sob_id => l_secondary_sob_id,
829: p_calling_fn => l_calling_fn,
830: p_log_level_rec => p_log_level_rec) then