DBA Data[Home] [Help]

APPS.FA_ADJUSTMENT_PVT dependencies on FA_XLA_EVENTS_PVT

Line 219: l_event_status := FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE;

215: px_trans_rec.member_transaction_header_id is null and
216: G_release <> 11) then
217:
218: if (x_asset_fin_rec_new.adjustment_required_status = 'GADJ') then
219: l_event_status := FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE;
220: else
221: l_event_status := null; -- default
222: end if;
223:

Line 224: if not FA_XLA_EVENTS_PVT.create_transaction_event

220: else
221: l_event_status := null; -- default
222: end if;
223:
224: if not FA_XLA_EVENTS_PVT.create_transaction_event
225: (p_asset_hdr_rec => px_asset_hdr_rec,
226: p_asset_type_rec => p_asset_type_rec,
227: px_trans_rec => px_trans_rec,
228: p_event_status => l_event_status,

Line 234: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(px_asset_hdr_rec.book_type_code);

230: ,p_log_level_rec => p_log_level_rec) then
231: raise adj_err;
232: end if;
233: --Secondary Changes
234: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(px_asset_hdr_rec.book_type_code);
235: if(l_secondary_sob_id is not null) then
236: l_secondary_asset_hdr_rec := px_asset_hdr_rec;
237: l_secondary_trans_rec := px_trans_rec;
238: l_secondary_asset_hdr_rec.set_of_books_id := l_secondary_sob_id;

Line 239: if not FA_XLA_EVENTS_PVT.create_transaction_event

235: if(l_secondary_sob_id is not null) then
236: l_secondary_asset_hdr_rec := px_asset_hdr_rec;
237: l_secondary_trans_rec := px_trans_rec;
238: l_secondary_asset_hdr_rec.set_of_books_id := l_secondary_sob_id;
239: if not FA_XLA_EVENTS_PVT.create_transaction_event
240: (p_asset_hdr_rec => l_secondary_asset_hdr_rec,
241: p_asset_type_rec => p_asset_type_rec,
242: px_trans_rec => l_secondary_trans_rec,
243: p_event_status => l_event_status,

Line 253: if not fa_xla_events_pvt.get_event_type

249: elsif (x_asset_fin_rec_new.adjustment_required_status = 'GADJ' and
250: G_release <> 11) then
251: -- enter here if member driven and deferred calculations
252:
253: if not fa_xla_events_pvt.get_event_type
254: (p_event_id => px_trans_rec.event_id,
255: x_event_type_code => l_event_type_code,
256: p_log_level_rec => p_log_level_rec
257: ) then

Line 264: if not fa_xla_events_pvt.update_inter_transaction_event

260:
261: if (l_event_type_code in ('SOURCE_LINE_TRANSFERS',
262: 'CIP_SOURCE_LINE_TRANSFERS')) then
263:
264: if not fa_xla_events_pvt.update_inter_transaction_event
265: (p_ledger_id => px_asset_hdr_rec.set_of_books_id,
266: p_trx_reference_id => px_trans_rec.trx_reference_id,
267: p_book_type_code => px_asset_hdr_rec.book_type_code,
268: p_event_type_code => l_event_type_code,

Line 270: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE,

266: p_trx_reference_id => px_trans_rec.trx_reference_id,
267: p_book_type_code => px_asset_hdr_rec.book_type_code,
268: p_event_type_code => l_event_type_code,
269: p_event_date => px_trans_rec.transaction_date_entered,
270: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE,
271: p_calling_fn => l_calling_fn,
272: p_log_level_rec => p_log_level_rec) then
273: raise adj_err;
274: end if;

Line 276: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(px_asset_hdr_rec.book_type_code);

272: p_log_level_rec => p_log_level_rec) then
273: raise adj_err;
274: end if;
275: --Secondary changes
276: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(px_asset_hdr_rec.book_type_code);
277: if(l_secondary_sob_id is not null) then
278: if not fa_xla_events_pvt.update_inter_transaction_event
279: (p_ledger_id => l_secondary_sob_id,
280: p_trx_reference_id => px_trans_rec.trx_reference_id,

Line 278: if not fa_xla_events_pvt.update_inter_transaction_event

274: end if;
275: --Secondary changes
276: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(px_asset_hdr_rec.book_type_code);
277: if(l_secondary_sob_id is not null) then
278: if not fa_xla_events_pvt.update_inter_transaction_event
279: (p_ledger_id => l_secondary_sob_id,
280: p_trx_reference_id => px_trans_rec.trx_reference_id,
281: p_book_type_code => px_asset_hdr_rec.book_type_code,
282: p_event_type_code => l_event_type_code,

Line 284: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE,

280: p_trx_reference_id => px_trans_rec.trx_reference_id,
281: p_book_type_code => px_asset_hdr_rec.book_type_code,
282: p_event_type_code => l_event_type_code,
283: p_event_date => px_trans_rec.transaction_date_entered,
284: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE,
285: p_calling_fn => l_calling_fn,
286: p_log_level_rec => p_log_level_rec) then
287: raise adj_err;
288: end if;

Line 292: if not fa_xla_events_pvt.update_transaction_event

288: end if;
289: end if;
290: else -- non inter asset trx
291:
292: if not fa_xla_events_pvt.update_transaction_event
293: (p_ledger_id => px_asset_hdr_rec.set_of_books_id,
294: p_transaction_header_id => px_trans_rec.member_transaction_header_id,
295: p_book_type_code => px_asset_hdr_rec.book_type_code,
296: p_event_type_code => l_event_type_code,

Line 298: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE,

294: p_transaction_header_id => px_trans_rec.member_transaction_header_id,
295: p_book_type_code => px_asset_hdr_rec.book_type_code,
296: p_event_type_code => l_event_type_code,
297: p_event_date => px_trans_rec.transaction_date_entered,
298: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE,
299: p_calling_fn => l_calling_fn,
300: p_log_level_rec => p_log_level_rec) then
301: raise adj_err;
302: end if;

Line 304: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(px_asset_hdr_rec.book_type_code);

300: p_log_level_rec => p_log_level_rec) then
301: raise adj_err;
302: end if;
303: --Secondary changes
304: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(px_asset_hdr_rec.book_type_code);
305: if(l_secondary_sob_id is not null) then
306: if not fa_xla_events_pvt.update_transaction_event
307: (p_ledger_id => l_secondary_sob_id,
308: p_transaction_header_id => px_trans_rec.member_transaction_header_id,

Line 306: if not fa_xla_events_pvt.update_transaction_event

302: end if;
303: --Secondary changes
304: l_secondary_sob_id := FA_XLA_EVENTS_PVT.get_secondary_sob_id(px_asset_hdr_rec.book_type_code);
305: if(l_secondary_sob_id is not null) then
306: if not fa_xla_events_pvt.update_transaction_event
307: (p_ledger_id => l_secondary_sob_id,
308: p_transaction_header_id => px_trans_rec.member_transaction_header_id,
309: p_book_type_code => px_asset_hdr_rec.book_type_code,
310: p_event_type_code => l_event_type_code,

Line 312: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE,

308: p_transaction_header_id => px_trans_rec.member_transaction_header_id,
309: p_book_type_code => px_asset_hdr_rec.book_type_code,
310: p_event_type_code => l_event_type_code,
311: p_event_date => px_trans_rec.transaction_date_entered,
312: p_event_status_code => FA_XLA_EVENTS_PVT.C_EVENT_INCOMPLETE,
313: p_secondary_flag => TRUE,
314: p_calling_fn => l_calling_fn,
315: p_log_level_rec => p_log_level_rec) then
316: raise adj_err;