[Home] [Help]
1472: if not fa_xla_events_pvt.create_transaction_event
1473: (p_asset_hdr_rec => l_asset_hdr_rec,
1474: p_asset_type_rec=> l_asset_type_rec,
1475: px_trans_rec => l_trans_rec,
1476: p_event_status => XLA_EVENTS_PUB_PKG.C_EVENT_INCOMPLETE,
1477: p_calling_fn => 'FA_RETIREMENT_PUB.do_all_books_retirement'
1478: ,p_log_level_rec => p_log_level_rec) then
1479: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1480: end if;
5317: -- assign an event for the transaction
5318: -- at this point key info asset/book/trx info is known from above code
5319:
5320: if (l_asset_retire_rec.status = 'REINSTATE') then
5321: l_event_status := XLA_EVENTS_PUB_PKG.C_EVENT_INCOMPLETE;
5322: else
5323: l_event_status := XLA_EVENTS_PUB_PKG.C_EVENT_UNPROCESSED;
5324: end if;
5325:
5319:
5320: if (l_asset_retire_rec.status = 'REINSTATE') then
5321: l_event_status := XLA_EVENTS_PUB_PKG.C_EVENT_INCOMPLETE;
5322: else
5323: l_event_status := XLA_EVENTS_PUB_PKG.C_EVENT_UNPROCESSED;
5324: end if;
5325:
5326: if not fa_xla_events_pvt.create_transaction_event
5327: (p_asset_hdr_rec => l_asset_hdr_rec,