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.10.12020000.2 2012/07/23 10:06:11 rmandali 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 388: FA_MASS_REC_UTILS_PKG.Load_Conversion_Table(p_log_level_rec => g_log_level_rec);

384: END IF;
385: -- Load the conversion table to store converted values for certain
386: -- fields of the depreciation rules records in the depreciation rules
387: -- table.
388: FA_MASS_REC_UTILS_PKG.Load_Conversion_Table(p_log_level_rec => g_log_level_rec);
389: END IF;
390:
391: /* Get category flex structure. */
392: OPEN get_cat_flex_struct;

Line 496: FA_MASS_REC_UTILS_PKG.Insert_Itf(

492: fa_debug_pkg.add('FARX_RP.Preview_Reclass',
493: 'Preview - inserting asset into itf-table',
494: a_tbl(a_index).asset_id );
495: end if;
496: FA_MASS_REC_UTILS_PKG.Insert_Itf(
497: X_Report_Type => 'PREVIEW',
498: X_Request_Id => h_request_id,
499: X_Mass_Reclass_Id => X_Mass_Reclass_Id,
500: X_Asset_Rec => a_tbl(i),

Line 525: FA_MASS_REC_UTILS_PKG.Insert_Itf(

521: /* Insert the remaining valid asset records into the interface table. */
522: -- Up to a_index - 1, to account for the extra increment taken for a_index
523: -- when no more rows were found in the cursor loop.
524: FOR i IN 1 .. (a_index - 1) LOOP
525: FA_MASS_REC_UTILS_PKG.Insert_Itf(
526: X_Report_Type => 'PREVIEW',
527: X_Request_Id => h_request_id,
528: X_Mass_Reclass_Id => X_Mass_Reclass_Id,
529: X_Asset_Rec => a_tbl(i),

Line 555: FA_MASS_REC_UTILS_PKG.Print_RX_Report(

551: Fetch the preview records from the interface table and print them on
552: the SRS output screen for the preview report.
553: =========================================================================*/
554: /* Commenting out, since this will be taken care of by SRS report(FASRCPVW.rdf.)
555: FA_MASS_REC_UTILS_PKG.Print_RX_Report(
556: X_Report_Type => 'PREVIEW',
557: X_Mass_Reclass_Rec => mr_rec,
558: X_Num_Assets => g_total_assets);
559: */

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

834: -- Convert values using conversion_table, which caches
835: -- converted values of certain fields for the new rules.
836: -- (The corresponding converted record is stored in the
837: -- same index position in conv_tbl as that of deprn_table.)
838: a_tbl(a_index).life := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).life;
839: a_tbl(a_index).basic_rate_pct
840: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;
841: a_tbl(a_index).adjusted_rate_pct
842: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;

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

836: -- (The corresponding converted record is stored in the
837: -- same index position in conv_tbl as that of deprn_table.)
838: a_tbl(a_index).life := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).life;
839: a_tbl(a_index).basic_rate_pct
840: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;
841: a_tbl(a_index).adjusted_rate_pct
842: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;
843: a_tbl(a_index).deprn_limit_pct
844: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;

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

838: a_tbl(a_index).life := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).life;
839: a_tbl(a_index).basic_rate_pct
840: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;
841: a_tbl(a_index).adjusted_rate_pct
842: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;
843: a_tbl(a_index).deprn_limit_pct
844: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;
845: a_tbl(a_index).salvage_val_pct
846: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).salvage_val_pct;

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

840: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).basic_rate_pct;
841: a_tbl(a_index).adjusted_rate_pct
842: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;
843: a_tbl(a_index).deprn_limit_pct
844: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;
845: a_tbl(a_index).salvage_val_pct
846: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).salvage_val_pct;
847: ELSE /* IF FA_REC_PVT_PKG2.Validate_Redefault */
848: -- Validation for redefault failed in this book.

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

842: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).adjusted_rate_pct;
843: a_tbl(a_index).deprn_limit_pct
844: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).deprn_limit_pct;
845: a_tbl(a_index).salvage_val_pct
846: := FA_MASS_REC_UTILS_PKG.conv_tbl(pos).salvage_val_pct;
847: ELSE /* IF FA_REC_PVT_PKG2.Validate_Redefault */
848: -- Validation for redefault failed in this book.
849: -- Store old results for this book.
850: -- Get the old(current) depreciation rules.

Line 866: FA_MASS_REC_UTILS_PKG.Convert_Formats(

862: a_tbl(a_index).percent_salvage_val;
863: CLOSE get_old_rules;
864:
865: -- Convert formats for certain fields.
866: FA_MASS_REC_UTILS_PKG.Convert_Formats(
867: X_Life_In_Months => a_tbl(a_index).life_in_months,
868: X_Basic_Rate => a_tbl(a_index).basic_rate,
869: X_Adjusted_Rate => a_tbl(a_index).adjusted_rate,
870: X_Allowed_Deprn_Limit => a_tbl(a_index).allowed_deprn_limit,

Line 899: FA_MASS_REC_UTILS_PKG.Convert_Formats(

895: a_tbl(a_index).percent_salvage_val;
896: CLOSE get_old_rules;
897:
898: -- Convert formats for certain fields.
899: FA_MASS_REC_UTILS_PKG.Convert_Formats(
900: X_Life_In_Months => a_tbl(a_index).life_in_months,
901: X_Basic_Rate => a_tbl(a_index).basic_rate,
902: X_Adjusted_Rate => a_tbl(a_index).adjusted_rate,
903: X_Allowed_Deprn_Limit => a_tbl(a_index).allowed_deprn_limit,

Line 971: FA_MASS_REC_UTILS_PKG.Convert_Formats(

967: a_tbl(a_index).deprn_rsv_acct_ccid := NULL;
968: a_tbl(a_index).deprn_rsv_acct := NULL;
969:
970: -- Convert formats for certain fields.
971: FA_MASS_REC_UTILS_PKG.Convert_Formats(
972: X_Life_In_Months => a_tbl(a_index).life_in_months,
973: X_Basic_Rate => a_tbl(a_index).basic_rate,
974: X_Adjusted_Rate => a_tbl(a_index).adjusted_rate,
975: X_Allowed_Deprn_Limit => a_tbl(a_index).allowed_deprn_limit,