DBA Data[Home] [Help]

APPS.FARX_RP dependencies on FA_MASS_REC_UTILS_PKG

Line 5: mr_rec FA_MASS_REC_UTILS_PKG.mass_reclass_rec;

1: PACKAGE BODY FARX_RP AS
2: /* $Header: FARXRPB.pls 120.7 2005/10/05 15:23:02 bridgway ship $ */
3:
4: -- Mass reclass record from fa_mass_reclass table.
5: mr_rec FA_MASS_REC_UTILS_PKG.mass_reclass_rec;
6:
7: -- Table of asset records.
8: -- (Stores book_type_code as well, and thus one asset will appear multiple
9: -- times if the asset belongs to multiple books.)

Line 10: a_tbl FA_MASS_REC_UTILS_PKG.asset_table;

6:
7: -- Table of asset records.
8: -- (Stores book_type_code as well, and thus one asset will appear multiple
9: -- times if the asset belongs to multiple books.)
10: a_tbl FA_MASS_REC_UTILS_PKG.asset_table;
11: -- Index into the asset table, a_tbl.
12: a_index NUMBER := 0;
13:
14: -- Number of assets(disregaring book_type_code) stored in a_tbl.

Line 368: FA_MASS_REC_UTILS_PKG.Load_Conversion_Table;

364: END IF;
365: -- Load the conversion table to store converted values for certain
366: -- fields of the depreciation rules records in the depreciation rules
367: -- table.
368: FA_MASS_REC_UTILS_PKG.Load_Conversion_Table;
369: END IF;
370:
371: /* Get category flex structure. */
372: OPEN get_cat_flex_struct;

Line 475: FA_MASS_REC_UTILS_PKG.Insert_Itf(

471: fa_debug_pkg.add('FARX_RP.Preview_Reclass',
472: 'Preview - inserting asset into itf-table',
473: a_tbl(a_index).asset_id );
474: end if;
475: FA_MASS_REC_UTILS_PKG.Insert_Itf(
476: X_Report_Type => 'PREVIEW',
477: X_Request_Id => h_request_id,
478: X_Mass_Reclass_Id => X_Mass_Reclass_Id,
479: X_Asset_Rec => a_tbl(i),

Line 503: FA_MASS_REC_UTILS_PKG.Insert_Itf(

499: /* Insert the remaining valid asset records into the interface table. */
500: -- Up to a_index - 1, to account for the extra increment taken for a_index
501: -- when no more rows were found in the cursor loop.
502: FOR i IN 1 .. (a_index - 1) LOOP
503: FA_MASS_REC_UTILS_PKG.Insert_Itf(
504: X_Report_Type => 'PREVIEW',
505: X_Request_Id => h_request_id,
506: X_Mass_Reclass_Id => X_Mass_Reclass_Id,
507: X_Asset_Rec => a_tbl(i),

Line 532: FA_MASS_REC_UTILS_PKG.Print_RX_Report(

528: Fetch the preview records from the interface table and print them on
529: the SRS output screen for the preview report.
530: =========================================================================*/
531: /* Commenting out, since this will be taken care of by SRS report(FASRCPVW.rdf.)
532: FA_MASS_REC_UTILS_PKG.Print_RX_Report(
533: X_Report_Type => 'PREVIEW',
534: X_Mass_Reclass_Rec => mr_rec,
535: X_Num_Assets => g_total_assets);
536: */

Line 812: a_tbl(a_index).life := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).life;

808: -- Convert values using conversion_table, which caches
809: -- converted values of certain fields for the new rules.
810: -- (The corresponding converted record is stored in the
811: -- same index position in conv_tbl as that of deprn_table.)
812: a_tbl(a_index).life := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).life;
813: a_tbl(a_index).basic_rate_pct
814: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;
815: a_tbl(a_index).adjusted_rate_pct
816: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;

Line 814: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;

810: -- (The corresponding converted record is stored in the
811: -- same index position in conv_tbl as that of deprn_table.)
812: a_tbl(a_index).life := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).life;
813: a_tbl(a_index).basic_rate_pct
814: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;
815: a_tbl(a_index).adjusted_rate_pct
816: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;
817: a_tbl(a_index).deprn_limit_pct
818: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;

Line 816: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;

812: a_tbl(a_index).life := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).life;
813: a_tbl(a_index).basic_rate_pct
814: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;
815: a_tbl(a_index).adjusted_rate_pct
816: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;
817: a_tbl(a_index).deprn_limit_pct
818: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;
819: a_tbl(a_index).salvage_val_pct
820: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).salvage_val_pct;

Line 818: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;

814: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;
815: a_tbl(a_index).adjusted_rate_pct
816: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;
817: a_tbl(a_index).deprn_limit_pct
818: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;
819: a_tbl(a_index).salvage_val_pct
820: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).salvage_val_pct;
821: ELSE /* IF FA_REC_PVT_PKG2.Validate_Redefault */
822: -- Validation for redefault failed in this book.

Line 820: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).salvage_val_pct;

816: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;
817: a_tbl(a_index).deprn_limit_pct
818: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;
819: a_tbl(a_index).salvage_val_pct
820: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).salvage_val_pct;
821: ELSE /* IF FA_REC_PVT_PKG2.Validate_Redefault */
822: -- Validation for redefault failed in this book.
823: -- Store old results for this book.
824: -- Get the old(current) depreciation rules.

Line 840: FA_MASS_REC_UTILS_PKG.Convert_Formats(

836: a_tbl(a_index).percent_salvage_val;
837: CLOSE get_old_rules;
838:
839: -- Convert formats for certain fields.
840: FA_MASS_REC_UTILS_PKG.Convert_Formats(
841: X_Life_In_Months => a_tbl(a_index).life_in_months,
842: X_Basic_Rate => a_tbl(a_index).basic_rate,
843: X_Adjusted_Rate => a_tbl(a_index).adjusted_rate,
844: X_Allowed_Deprn_Limit => a_tbl(a_index).allowed_deprn_limit,

Line 872: FA_MASS_REC_UTILS_PKG.Convert_Formats(

868: a_tbl(a_index).percent_salvage_val;
869: CLOSE get_old_rules;
870:
871: -- Convert formats for certain fields.
872: FA_MASS_REC_UTILS_PKG.Convert_Formats(
873: X_Life_In_Months => a_tbl(a_index).life_in_months,
874: X_Basic_Rate => a_tbl(a_index).basic_rate,
875: X_Adjusted_Rate => a_tbl(a_index).adjusted_rate,
876: X_Allowed_Deprn_Limit => a_tbl(a_index).allowed_deprn_limit,

Line 943: FA_MASS_REC_UTILS_PKG.Convert_Formats(

939: a_tbl(a_index).deprn_rsv_acct_ccid := NULL;
940: a_tbl(a_index).deprn_rsv_acct := NULL;
941:
942: -- Convert formats for certain fields.
943: FA_MASS_REC_UTILS_PKG.Convert_Formats(
944: X_Life_In_Months => a_tbl(a_index).life_in_months,
945: X_Basic_Rate => a_tbl(a_index).basic_rate,
946: X_Adjusted_Rate => a_tbl(a_index).adjusted_rate,
947: X_Allowed_Deprn_Limit => a_tbl(a_index).allowed_deprn_limit,