DBA Data[Home] [Help]

APPS.FA_INVOICE_PVT dependencies on FA_DEBUG_PKG

Line 128: fa_debug_pkg.add(l_calling_fn,

124:
125: l_asset_hdr_rec := px_asset_hdr_rec;
126:
127: if (g_print_debug) then
128: fa_debug_pkg.add(l_calling_fn,
129: 'px_inv_tbl.count',
130: px_inv_tbl.count);
131: end if;
132:

Line 255: fa_debug_pkg.add(l_calling_fn,

251: px_inv_trans_rec.transaction_type <> 'INVOICE ADDITION') and
252: px_inv_tbl(l_row_count + 1).source_line_id is not null) then
253:
254: if (g_print_debug) then
255: fa_debug_pkg.add(l_calling_fn,
256: 'in invoice loop, source_line_id',
257: px_inv_tbl(l_row_count + 1).source_line_id);
258: fa_debug_pkg.add(l_calling_fn,
259: 'in invoice loop, fa cost',

Line 258: fa_debug_pkg.add(l_calling_fn,

254: if (g_print_debug) then
255: fa_debug_pkg.add(l_calling_fn,
256: 'in invoice loop, source_line_id',
257: px_inv_tbl(l_row_count + 1).source_line_id);
258: fa_debug_pkg.add(l_calling_fn,
259: 'in invoice loop, fa cost',
260: px_inv_tbl(l_row_count + 1).fixed_assets_cost);
261: fa_debug_pkg.add(l_calling_fn,
262: 'in invoice loop, ap cost',

Line 261: fa_debug_pkg.add(l_calling_fn,

257: px_inv_tbl(l_row_count + 1).source_line_id);
258: fa_debug_pkg.add(l_calling_fn,
259: 'in invoice loop, fa cost',
260: px_inv_tbl(l_row_count + 1).fixed_assets_cost);
261: fa_debug_pkg.add(l_calling_fn,
262: 'in invoice loop, ap cost',
263: px_inv_tbl(l_row_count + 1).payables_cost);
264: end if;
265:

Line 277: fa_debug_pkg.add(l_calling_fn,

273: raise error_found;
274: end if;
275:
276: if (g_print_debug) then
277: fa_debug_pkg.add(l_calling_fn,
278: 'after get_inv_rec, deleted_flag',
279: l_inv_rec.deleted_flag);
280: fa_debug_pkg.add(l_calling_fn,
281: 'after get_inv_rec, dep_in_grp_flag',

Line 280: fa_debug_pkg.add(l_calling_fn,

276: if (g_print_debug) then
277: fa_debug_pkg.add(l_calling_fn,
278: 'after get_inv_rec, deleted_flag',
279: l_inv_rec.deleted_flag);
280: fa_debug_pkg.add(l_calling_fn,
281: 'after get_inv_rec, dep_in_grp_flag',
282: l_inv_rec.depreciate_in_group_flag);
283: end if;
284:

Line 416: fa_debug_pkg.add(l_calling_fn,

412: -- and the null value is needed to correctly derive original cost later
413: l_inv_rec.Payables_Cost := px_inv_tbl(l_row_count + 1).Payables_Cost;
414:
415: if (g_print_debug) then
416: fa_debug_pkg.add(l_calling_fn,
417: 'asset_type',
418: p_asset_type_rec.asset_type);
419: end if;
420:

Line 435: fa_debug_pkg.add(l_calling_fn,

431:
432: end if;
433:
434: if (g_print_debug) then
435: fa_debug_pkg.add(l_calling_fn,
436: 'cip_cost',
437: l_inv_rec.Cip_Cost);
438: fa_debug_pkg.add(l_calling_fn,
439: 'fa_cost',

Line 438: fa_debug_pkg.add(l_calling_fn,

434: if (g_print_debug) then
435: fa_debug_pkg.add(l_calling_fn,
436: 'cip_cost',
437: l_inv_rec.Cip_Cost);
438: fa_debug_pkg.add(l_calling_fn,
439: 'fa_cost',
440: l_inv_rec.fixed_assets_Cost);
441: end if;
442:

Line 559: fa_debug_pkg.add(l_calling_fn,

555: end if;
556: end if;
557:
558: if (g_print_debug) then
559: fa_debug_pkg.add(l_calling_fn,
560: 'cip_cost',
561: l_inv_rec.Cip_Cost);
562: fa_debug_pkg.add(l_calling_fn,
563: 'fa_cost',

Line 562: fa_debug_pkg.add(l_calling_fn,

558: if (g_print_debug) then
559: fa_debug_pkg.add(l_calling_fn,
560: 'cip_cost',
561: l_inv_rec.Cip_Cost);
562: fa_debug_pkg.add(l_calling_fn,
563: 'fa_cost',
564: l_inv_rec.fixed_assets_Cost);
565: end if;
566:

Line 583: fa_debug_pkg.add(l_calling_fn,

579: raise error_found;
580: end if;
581:
582: if (g_print_debug) then
583: fa_debug_pkg.add(l_calling_fn,
584: 'done',
585: 'inv_calc_info');
586: end if;
587:

Line 607: fa_debug_pkg.add(l_calling_fn,

603: -- performed. get_inv_rec doesn't have such a parameter so doing
604: -- this to avoid dependancies.
605:
606: if (g_print_debug) then
607: fa_debug_pkg.add(l_calling_fn,
608: 'entering',
609: 'new row selection code');
610: end if;
611:

Line 639: fa_debug_pkg.add(l_calling_fn,

635: -- for non-invoice-addition calls, terminate the existing rows for both
636: -- primary and mrc based on the incoming source line id
637:
638: if (g_print_debug) then
639: fa_debug_pkg.add(l_calling_fn,
640: 'terminating',
641: 'invoice rows');
642: end if;
643:

Line 667: fa_debug_pkg.add(l_calling_fn,

663: -- will use the flexbuilt ccids for now. section has been moved up so
664: -- tht the deltas are used, not the final amounts (alos done for mrc below)
665:
666: if (g_print_debug) then
667: fa_debug_pkg.add(l_calling_fn,
668: 'prior to loading payables info, trx_type',
669: px_inv_trans_rec.transaction_type);
670: fa_debug_pkg.add(l_calling_fn,
671: 'prior to loading payables info, payables_cost',

Line 670: fa_debug_pkg.add(l_calling_fn,

666: if (g_print_debug) then
667: fa_debug_pkg.add(l_calling_fn,
668: 'prior to loading payables info, trx_type',
669: px_inv_trans_rec.transaction_type);
670: fa_debug_pkg.add(l_calling_fn,
671: 'prior to loading payables info, payables_cost',
672: l_inv_rec.payables_cost);
673: end if;
674:

Line 696: fa_debug_pkg.add(l_calling_fn,

692: end if;
693:
694:
695: if (g_print_debug) then
696: fa_debug_pkg.add(l_calling_fn,
697: 'entering',
698: 'logic for create new row');
699: end if;
700:

Line 774: fa_debug_pkg.add(l_calling_fn,

770: end if;
771:
772: if (l_create_new_row = 'YES') then
773: if (g_print_debug) then
774: fa_debug_pkg.add(l_calling_fn,
775: 'calling',
776: 'process_invoice');
777: end if;
778:

Line 795: fa_debug_pkg.add(l_calling_fn,

791:
792: -- call process_invoice for reporting books by looping through each reporting book
793:
794: if (g_print_debug) then
795: fa_debug_pkg.add(l_calling_fn,
796: 'entering',
797: 'ALC logic');
798: end if;
799:

Line 803: fa_debug_pkg.add(l_calling_fn,

799:
800: if (fa_cache_pkg.fazcbc_record.mc_source_flag = 'Y') then
801:
802: if (g_print_debug) then
803: fa_debug_pkg.add(l_calling_fn,
804: 'px_inv_tbl(l_row_count + 1).inv_rate_tbl.count',
805: px_inv_tbl(l_row_count + 1).inv_rate_tbl.count);
806: end if;
807:

Line 818: fa_debug_pkg.add(l_calling_fn,

814: end if; -- end init mrc
815:
816: FOR l_sob_index in 1..l_sob_tbl.count LOOP
817: if (g_print_debug) then
818: fa_debug_pkg.add(l_calling_fn,
819: 'in reporting loop, reporting_sob',
820: l_sob_tbl(l_sob_index));
821: end if;
822:

Line 845: fa_debug_pkg.add(l_calling_fn,

841: -- via source_line_id for existing ones. inv_indicator is simply a
842: -- a temporary key so calling code doesn't have to access sequences, etc.
843:
844: if (g_print_debug) then
845: fa_debug_pkg.add(l_calling_fn,
846: 'entering',
847: 'ALC rate loop');
848: end if;
849:

Line 853: fa_debug_pkg.add(l_calling_fn,

849:
850: for i in 1..px_inv_tbl(l_row_count + 1).inv_rate_tbl.count loop
851:
852: if (g_print_debug) then
853: fa_debug_pkg.add(l_calling_fn,
854: 'inside',
855: 'inv rate loop');
856: fa_debug_pkg.add(l_calling_fn,
857: 'px_inv_tbl(l_row_count + 1).inv_rate_tbl(i).set_of_books_id',

Line 856: fa_debug_pkg.add(l_calling_fn,

852: if (g_print_debug) then
853: fa_debug_pkg.add(l_calling_fn,
854: 'inside',
855: 'inv rate loop');
856: fa_debug_pkg.add(l_calling_fn,
857: 'px_inv_tbl(l_row_count + 1).inv_rate_tbl(i).set_of_books_id',
858: px_inv_tbl(l_row_count + 1).inv_rate_tbl(i).set_of_books_id);
859: fa_debug_pkg.add(l_calling_fn,
860: 'sob_id',

Line 859: fa_debug_pkg.add(l_calling_fn,

855: 'inv rate loop');
856: fa_debug_pkg.add(l_calling_fn,
857: 'px_inv_tbl(l_row_count + 1).inv_rate_tbl(i).set_of_books_id',
858: px_inv_tbl(l_row_count + 1).inv_rate_tbl(i).set_of_books_id);
859: fa_debug_pkg.add(l_calling_fn,
860: 'sob_id',
861: l_sob_tbl(l_sob_index));
862: end if;
863:

Line 874: fa_debug_pkg.add(l_calling_fn,

870:
871: end loop;
872:
873: if (g_print_debug) then
874: fa_debug_pkg.add(l_calling_fn,
875: 'after',
876: 'ALC rate loop');
877: end if;
878:

Line 895: fa_debug_pkg.add(l_calling_fn,

891:
892: elsif (l_mrc_rate_found_count = 0) then
893:
894: if (g_print_debug) then
895: fa_debug_pkg.add(l_calling_fn,
896: 'entering',
897: 'no rate found logic');
898: end if;
899:

Line 921: fa_debug_pkg.add(l_calling_fn,

917:
918: end if; -- l_mrc_rate_found_count
919:
920: if (g_print_debug) then
921: fa_debug_pkg.add(l_calling_fn,
922: 'after',
923: 'rate found logic');
924: end if;
925:

Line 944: fa_debug_pkg.add(l_calling_fn,

940: -- however in case where amount is not provided, we will still
941: -- use the old method
942:
943: if (g_print_debug) then
944: fa_debug_pkg.add(l_calling_fn,
945: 'checking',
946: 'l_inv_rate_rec.cost');
947: end if;
948:

Line 960: fa_debug_pkg.add(l_calling_fn,

956: px_inv_trans_rec.transaction_type <> 'INVOICE ADDITION') and
957: px_inv_tbl(l_row_count + 1).source_line_id is not null) then
958:
959: if (g_print_debug) then
960: fa_debug_pkg.add(l_calling_fn,
961: 'in lgoic for existing line',
962: '');
963: end if;
964:

Line 1044: fa_debug_pkg.add(l_calling_fn,

1040:
1041: else -- new line scenario (add/massadd)
1042:
1043: if (g_print_debug) then
1044: fa_debug_pkg.add(l_calling_fn,
1045: 'in logic for new line',
1046: '');
1047: end if;
1048:

Line 1068: fa_debug_pkg.add(l_calling_fn,

1064:
1065: else -- old rate based method
1066:
1067: if (g_print_debug) then
1068: fa_debug_pkg.add(l_calling_fn,
1069: 'entering',
1070: 'null ALC amount logic for cost');
1071: end if;
1072:

Line 1130: fa_debug_pkg.add(l_calling_fn,

1126:
1127: end if; -- end existing / new line logic
1128:
1129: if (g_print_debug) then
1130: fa_debug_pkg.add(l_calling_fn,
1131: 'calculated delta ALC cost',
1132: l_inv_rec.fixed_assets_cost);
1133: end if;
1134:

Line 1159: fa_debug_pkg.add(l_calling_fn,

1155: end if;
1156:
1157:
1158: if (g_print_debug) then
1159: fa_debug_pkg.add(l_calling_fn,
1160: 'calling',
1161: 'inv_calc_info');
1162: end if;
1163:

Line 1353: fa_debug_pkg.add(l_calling_fn,

1349: nvl(px_inv_rec.cip_cost,0);
1350:
1351:
1352: if (g_print_debug) then
1353: fa_debug_pkg.add(l_calling_fn,
1354: 'px_asset_fin_rec_new.cost',
1355: px_asset_fin_rec_new.cost);
1356: fa_debug_pkg.add(l_calling_fn,
1357: 'px_asset_fin_rec_new.cip_cost',

Line 1356: fa_debug_pkg.add(l_calling_fn,

1352: if (g_print_debug) then
1353: fa_debug_pkg.add(l_calling_fn,
1354: 'px_asset_fin_rec_new.cost',
1355: px_asset_fin_rec_new.cost);
1356: fa_debug_pkg.add(l_calling_fn,
1357: 'px_asset_fin_rec_new.cip_cost',
1358: px_asset_fin_rec_new.cip_cost);
1359: end if;
1360:

Line 1635: fa_debug_pkg.add(l_calling_fn,

1631: -- only populate for existing source lines
1632: if (px_inv_tbl(i).source_line_id is not null) then
1633:
1634: if (g_print_debug) then
1635: fa_debug_pkg.add(l_calling_fn,
1636: 'source_line_id',
1637: px_inv_tbl(i).source_line_id);
1638: end if;
1639:

Line 1643: fa_debug_pkg.add(l_calling_fn,

1639:
1640: for c_rec in c_mc_invoices(px_inv_tbl(i).source_line_id) loop
1641:
1642: if (g_print_debug) then
1643: fa_debug_pkg.add(l_calling_fn,
1644: 'set_of_books_id',
1645: c_rec.set_of_books_id);
1646: fa_debug_pkg.add(l_calling_fn,
1647: 'exchange_rate',

Line 1646: fa_debug_pkg.add(l_calling_fn,

1642: if (g_print_debug) then
1643: fa_debug_pkg.add(l_calling_fn,
1644: 'set_of_books_id',
1645: c_rec.set_of_books_id);
1646: fa_debug_pkg.add(l_calling_fn,
1647: 'exchange_rate',
1648: c_rec.exchange_rate);
1649: end if;
1650:

Line 1785: fa_debug_pkg.add('post clearing',

1781: raise error_found;
1782: end if;
1783:
1784: if (g_print_debug) then
1785: fa_debug_pkg.add('post clearing',
1786: 'entering',
1787: 'ALC loop');
1788: end if;
1789: