DBA Data[Home] [Help]

APPS.IA_POST_REQUEST_PKG dependencies on FA_DEBUG_PKG

Line 138: fa_debug_pkg.initialize;

134: prev_req_id := 0;
135: error_occured := FALSE;
136:
137: -- Clear the debug stack for each asset
138: fa_debug_pkg.initialize;
139: fa_srvr_msg.init_server_message;
140:
141: if not fa_cache_pkg.fazcbc(X_book => p_book_type_code) then
142: raise masstfr_err;

Line 251: fa_debug_pkg.add('IAPTFR','tbl-1:dist_id',l_asset_dist_tbl(1).distribution_id);

247:
248: l_asset_dist_tbl(2) := l_asset_dist_rec;
249:
250: if (g_print_debug) then
251: fa_debug_pkg.add('IAPTFR','tbl-1:dist_id',l_asset_dist_tbl(1).distribution_id);
252: fa_debug_pkg.add('IAPTFR','tbl-1:txn_units',l_asset_dist_tbl(1).transaction_units);
253: fa_debug_pkg.add('IAPTFR','tbl-1:assignto',l_asset_dist_tbl(1).assigned_to);
254: fa_debug_pkg.add('IAPTFR','tbl-1:loc_id',l_asset_dist_tbl(1).location_ccid);
255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);

Line 252: fa_debug_pkg.add('IAPTFR','tbl-1:txn_units',l_asset_dist_tbl(1).transaction_units);

248: l_asset_dist_tbl(2) := l_asset_dist_rec;
249:
250: if (g_print_debug) then
251: fa_debug_pkg.add('IAPTFR','tbl-1:dist_id',l_asset_dist_tbl(1).distribution_id);
252: fa_debug_pkg.add('IAPTFR','tbl-1:txn_units',l_asset_dist_tbl(1).transaction_units);
253: fa_debug_pkg.add('IAPTFR','tbl-1:assignto',l_asset_dist_tbl(1).assigned_to);
254: fa_debug_pkg.add('IAPTFR','tbl-1:loc_id',l_asset_dist_tbl(1).location_ccid);
255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);
256:

Line 253: fa_debug_pkg.add('IAPTFR','tbl-1:assignto',l_asset_dist_tbl(1).assigned_to);

249:
250: if (g_print_debug) then
251: fa_debug_pkg.add('IAPTFR','tbl-1:dist_id',l_asset_dist_tbl(1).distribution_id);
252: fa_debug_pkg.add('IAPTFR','tbl-1:txn_units',l_asset_dist_tbl(1).transaction_units);
253: fa_debug_pkg.add('IAPTFR','tbl-1:assignto',l_asset_dist_tbl(1).assigned_to);
254: fa_debug_pkg.add('IAPTFR','tbl-1:loc_id',l_asset_dist_tbl(1).location_ccid);
255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);
256:
257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);

Line 254: fa_debug_pkg.add('IAPTFR','tbl-1:loc_id',l_asset_dist_tbl(1).location_ccid);

250: if (g_print_debug) then
251: fa_debug_pkg.add('IAPTFR','tbl-1:dist_id',l_asset_dist_tbl(1).distribution_id);
252: fa_debug_pkg.add('IAPTFR','tbl-1:txn_units',l_asset_dist_tbl(1).transaction_units);
253: fa_debug_pkg.add('IAPTFR','tbl-1:assignto',l_asset_dist_tbl(1).assigned_to);
254: fa_debug_pkg.add('IAPTFR','tbl-1:loc_id',l_asset_dist_tbl(1).location_ccid);
255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);
256:
257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);
258: fa_debug_pkg.add('IAPTFR','tbl-2:txn_units',l_asset_dist_tbl(2).transaction_units);

Line 255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);

251: fa_debug_pkg.add('IAPTFR','tbl-1:dist_id',l_asset_dist_tbl(1).distribution_id);
252: fa_debug_pkg.add('IAPTFR','tbl-1:txn_units',l_asset_dist_tbl(1).transaction_units);
253: fa_debug_pkg.add('IAPTFR','tbl-1:assignto',l_asset_dist_tbl(1).assigned_to);
254: fa_debug_pkg.add('IAPTFR','tbl-1:loc_id',l_asset_dist_tbl(1).location_ccid);
255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);
256:
257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);
258: fa_debug_pkg.add('IAPTFR','tbl-2:txn_units',l_asset_dist_tbl(2).transaction_units);
259: fa_debug_pkg.add('IAPTFR','tbl-2:assignto',l_asset_dist_tbl(2).assigned_to);

Line 257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);

253: fa_debug_pkg.add('IAPTFR','tbl-1:assignto',l_asset_dist_tbl(1).assigned_to);
254: fa_debug_pkg.add('IAPTFR','tbl-1:loc_id',l_asset_dist_tbl(1).location_ccid);
255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);
256:
257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);
258: fa_debug_pkg.add('IAPTFR','tbl-2:txn_units',l_asset_dist_tbl(2).transaction_units);
259: fa_debug_pkg.add('IAPTFR','tbl-2:assignto',l_asset_dist_tbl(2).assigned_to);
260: fa_debug_pkg.add('IAPTFR','tbl-2:loc_id',l_asset_dist_tbl(2).location_ccid);
261: fa_debug_pkg.add('IAPTFR','tbl-2:exp_id',l_asset_dist_tbl(2).expense_ccid);

Line 258: fa_debug_pkg.add('IAPTFR','tbl-2:txn_units',l_asset_dist_tbl(2).transaction_units);

254: fa_debug_pkg.add('IAPTFR','tbl-1:loc_id',l_asset_dist_tbl(1).location_ccid);
255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);
256:
257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);
258: fa_debug_pkg.add('IAPTFR','tbl-2:txn_units',l_asset_dist_tbl(2).transaction_units);
259: fa_debug_pkg.add('IAPTFR','tbl-2:assignto',l_asset_dist_tbl(2).assigned_to);
260: fa_debug_pkg.add('IAPTFR','tbl-2:loc_id',l_asset_dist_tbl(2).location_ccid);
261: fa_debug_pkg.add('IAPTFR','tbl-2:exp_id',l_asset_dist_tbl(2).expense_ccid);
262: end if;

Line 259: fa_debug_pkg.add('IAPTFR','tbl-2:assignto',l_asset_dist_tbl(2).assigned_to);

255: fa_debug_pkg.add('IAPTFR','tbl-1:exp_id',l_asset_dist_tbl(1).expense_ccid);
256:
257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);
258: fa_debug_pkg.add('IAPTFR','tbl-2:txn_units',l_asset_dist_tbl(2).transaction_units);
259: fa_debug_pkg.add('IAPTFR','tbl-2:assignto',l_asset_dist_tbl(2).assigned_to);
260: fa_debug_pkg.add('IAPTFR','tbl-2:loc_id',l_asset_dist_tbl(2).location_ccid);
261: fa_debug_pkg.add('IAPTFR','tbl-2:exp_id',l_asset_dist_tbl(2).expense_ccid);
262: end if;
263:

Line 260: fa_debug_pkg.add('IAPTFR','tbl-2:loc_id',l_asset_dist_tbl(2).location_ccid);

256:
257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);
258: fa_debug_pkg.add('IAPTFR','tbl-2:txn_units',l_asset_dist_tbl(2).transaction_units);
259: fa_debug_pkg.add('IAPTFR','tbl-2:assignto',l_asset_dist_tbl(2).assigned_to);
260: fa_debug_pkg.add('IAPTFR','tbl-2:loc_id',l_asset_dist_tbl(2).location_ccid);
261: fa_debug_pkg.add('IAPTFR','tbl-2:exp_id',l_asset_dist_tbl(2).expense_ccid);
262: end if;
263:
264: -- Call Public Transfer API

Line 261: fa_debug_pkg.add('IAPTFR','tbl-2:exp_id',l_asset_dist_tbl(2).expense_ccid);

257: fa_debug_pkg.add('IAPTFR','tbl-2:dist_id',l_asset_dist_tbl(2).distribution_id);
258: fa_debug_pkg.add('IAPTFR','tbl-2:txn_units',l_asset_dist_tbl(2).transaction_units);
259: fa_debug_pkg.add('IAPTFR','tbl-2:assignto',l_asset_dist_tbl(2).assigned_to);
260: fa_debug_pkg.add('IAPTFR','tbl-2:loc_id',l_asset_dist_tbl(2).location_ccid);
261: fa_debug_pkg.add('IAPTFR','tbl-2:exp_id',l_asset_dist_tbl(2).expense_ccid);
262: end if;
263:
264: -- Call Public Transfer API
265: fa_transfer_pub.do_transfer(

Line 279: fa_debug_pkg.add(l_calling_fn, 'Returned from Transfer API','');

275: px_asset_hdr_rec => l_asset_hdr_rec,
276: px_asset_dist_tbl => l_asset_dist_tbl);
277:
278: if (g_print_debug) then
279: fa_debug_pkg.add(l_calling_fn, 'Returned from Transfer API','');
280: end if;
281:
282: if (l_return_status <> FND_API.G_RET_STS_SUCCESS) then
283: -- Mark batch as failed but continue despite errors

Line 287: fa_debug_pkg.add(l_calling_fn, 'Transfer API','returned error');

283: -- Mark batch as failed but continue despite errors
284: ROLLBACK TO process_transfer;
285:
286: if (g_print_debug) then
287: fa_debug_pkg.add(l_calling_fn, 'Transfer API','returned error');
288: --fa_debug_pkg.dump_debug_messages(max_mesgs => 0);
289: end if;
290:
291: l_det_status(i) := 'ERROR';

Line 288: --fa_debug_pkg.dump_debug_messages(max_mesgs => 0);

284: ROLLBACK TO process_transfer;
285:
286: if (g_print_debug) then
287: fa_debug_pkg.add(l_calling_fn, 'Transfer API','returned error');
288: --fa_debug_pkg.dump_debug_messages(max_mesgs => 0);
289: end if;
290:
291: l_det_status(i) := 'ERROR';
292: -- l_head_status(i) := 'ERROR';

Line 406: fa_debug_pkg.Write_Debug_Log;

402: retcode := 0;
403: end if;
404:
405: if (g_print_debug) then
406: fa_debug_pkg.Write_Debug_Log;
407: end if;
408:
409: FND_MSG_PUB.Count_And_Get(
410: p_count => h_msg_count,

Line 420: fa_debug_pkg.add(l_calling_fn,'Exception','masstfr_err');

416: EXCEPTION
417: when masstfr_err then
418: ROLLBACK;
419: if (g_print_debug) then
420: fa_debug_pkg.add(l_calling_fn,'Exception','masstfr_err');
421: fa_debug_pkg.Write_Debug_Log;
422: end if;
423:
424: fa_srvr_msg.add_message(calling_fn => l_calling_fn);

Line 421: fa_debug_pkg.Write_Debug_Log;

417: when masstfr_err then
418: ROLLBACK;
419: if (g_print_debug) then
420: fa_debug_pkg.add(l_calling_fn,'Exception','masstfr_err');
421: fa_debug_pkg.Write_Debug_Log;
422: end if;
423:
424: fa_srvr_msg.add_message(calling_fn => l_calling_fn);
425: FND_MSG_PUB.Count_And_Get(p_count => h_msg_count,

Line 436: fa_debug_pkg.add(l_calling_fn,'Exception','when others');

432: WHEN OTHERS THEN
433: ROLLBACK TO process_transfer;
434:
435: if (g_print_debug) then
436: fa_debug_pkg.add(l_calling_fn,'Exception','when others');
437: fa_debug_pkg.Write_Debug_Log;
438: --fa_debug_pkg.dump_debug_messages(max_mesgs => 0);
439: end if;
440:

Line 437: fa_debug_pkg.Write_Debug_Log;

433: ROLLBACK TO process_transfer;
434:
435: if (g_print_debug) then
436: fa_debug_pkg.add(l_calling_fn,'Exception','when others');
437: fa_debug_pkg.Write_Debug_Log;
438: --fa_debug_pkg.dump_debug_messages(max_mesgs => 0);
439: end if;
440:
441: l_det_status(l_counter) := 'ERROR';

Line 438: --fa_debug_pkg.dump_debug_messages(max_mesgs => 0);

434:
435: if (g_print_debug) then
436: fa_debug_pkg.add(l_calling_fn,'Exception','when others');
437: fa_debug_pkg.Write_Debug_Log;
438: --fa_debug_pkg.dump_debug_messages(max_mesgs => 0);
439: end if;
440:
441: l_det_status(l_counter) := 'ERROR';
442: l_failure_count := l_failure_count + 1;