DBA Data[Home] [Help]

APPS.FA_CALC_DEPRN_BASIS2_PKG dependencies on FA_CACHE_PKG

Line 60: fa_cache_pkg.fazcdrd_record.period_update_flag = 'Y') and -- ENERGY

56: end if;
57:
58: end if;
59: elsif (px_rule_in.method_type = 'PRODUCTION' and
60: fa_cache_pkg.fazcdrd_record.period_update_flag = 'Y') and -- ENERGY
61: (px_rule_in.event_type <> 'AMORT_ADJ3') then -- ENERGY
62: -- -- ENERGY
63: -- There should be no EXPENSED ADJUSTMENT for now and CURRRENT -- ENERGY
64: -- period amortized adjustment is only allowed. -- ENERGY

Line 76: (fa_cache_pkg.fazcdrd_record.rule_name = 'ENERGY PERIOD END BALANCE') and -- ENERGY

72: nvl(px_rule_in.reserve_retired,0); -- ENERGY
73: end if;
74:
75: elsif (px_rule_in.method_type = 'CALCULATED') and
76: (fa_cache_pkg.fazcdrd_record.rule_name = 'ENERGY PERIOD END BALANCE') and -- ENERGY
77: (px_rule_in.event_type <> 'AMORT_ADJ3') then
78:
79: if px_rule_in.recoverable_cost = 0 then
80: px_rule_out.new_adjusted_cost := 0;

Line 95: fa_debug_pkg.add('NSF', 'fa_cache_pkg.fazcdrd_record.period_update_flag',

91: end if;
92:
93: if p_log_level_rec.statement_level then
94: fa_debug_pkg.add('NSF', 'px_rule_in.method_type', px_rule_in.method_type, p_log_level_rec);
95: fa_debug_pkg.add('NSF', 'fa_cache_pkg.fazcdrd_record.period_update_flag',
96: fa_cache_pkg.fazcdrd_record.period_update_flag, p_log_level_rec);
97: fa_debug_pkg.add('NSF', 'px_rule_in.recoverable_cost', px_rule_in.recoverable_cost, p_log_level_rec);
98: fa_debug_pkg.add('NSF', 'px_rule_in.current_total_rsv', px_rule_in.current_total_rsv, p_log_level_rec);
99: fa_debug_pkg.add('NSF', 'px_rule_in.unplanned_amount', px_rule_in.unplanned_amount, p_log_level_rec);

Line 96: fa_cache_pkg.fazcdrd_record.period_update_flag, p_log_level_rec);

92:
93: if p_log_level_rec.statement_level then
94: fa_debug_pkg.add('NSF', 'px_rule_in.method_type', px_rule_in.method_type, p_log_level_rec);
95: fa_debug_pkg.add('NSF', 'fa_cache_pkg.fazcdrd_record.period_update_flag',
96: fa_cache_pkg.fazcdrd_record.period_update_flag, p_log_level_rec);
97: fa_debug_pkg.add('NSF', 'px_rule_in.recoverable_cost', px_rule_in.recoverable_cost, p_log_level_rec);
98: fa_debug_pkg.add('NSF', 'px_rule_in.current_total_rsv', px_rule_in.current_total_rsv, p_log_level_rec);
99: fa_debug_pkg.add('NSF', 'px_rule_in.unplanned_amount', px_rule_in.unplanned_amount, p_log_level_rec);
100: fa_debug_pkg.add('NSF', 'new_adjusted_cost', px_rule_out.new_adjusted_cost, p_log_level_rec);

Line 127: if nvl(fa_cache_pkg.fazccmt_record.guarantee_rate_method_flag,'NO') = 'YES' then

123: -- Event Type: DEPRECIATE_FLAG_ADJ (IDLE Asset Control)
124: -------------------------------------------------------------
125: if (px_rule_in.event_type ='DEPRECIATE_FLAG_ADJ') then
126: -- Bug 6665510: FP: Japan Tax Reform Project (Start)
127: if nvl(fa_cache_pkg.fazccmt_record.guarantee_rate_method_flag,'NO') = 'YES' then
128:
129: if p_log_level_rec.statement_level then
130: fa_debug_pkg.add('faxcd2b', '+++ Inside Guarantee Logic', 'YES', p_log_level_rec);
131: end if;

Line 141: fa_debug_pkg.add('faxcdb2b', '+++ Revised Rate : ', fa_cache_pkg.fazcfor_record.revised_rate,

137: AND book_type_code = px_rule_in.book_type_code
138: AND date_ineffective is null;
139:
140: if p_log_level_rec.statement_level then
141: fa_debug_pkg.add('faxcdb2b', '+++ Revised Rate : ', fa_cache_pkg.fazcfor_record.revised_rate,
142: p_log_level_rec);
143: fa_debug_pkg.add('faxcdb2b', '+++ FA_Books.Rate : ', l_rate_in_use, p_log_level_rec);
144: end if;
145:

Line 146: if fa_cache_pkg.fazcfor_record.revised_rate = l_rate_in_use then

142: p_log_level_rec);
143: fa_debug_pkg.add('faxcdb2b', '+++ FA_Books.Rate : ', l_rate_in_use, p_log_level_rec);
144: end if;
145:
146: if fa_cache_pkg.fazcfor_record.revised_rate = l_rate_in_use then
147: Null; -- Dont change adjusted cost.
148: else
149:
150: if p_log_level_rec.statement_level then

Line 880: h_set_of_books_id:= FA_CACHE_PKG.fazcbc_record.set_of_books_id;

876: OPEN C_EXC_FULLY_RSV_FLAG;
877: FETCH C_EXC_FULLY_RSV_FLAG into l_exclude_fully_rsv_flag;
878: CLOSE C_EXC_FULLY_RSV_FLAG;
879: /*Bug# 6933726 Added to fetch set_of_books_id from cache*/
880: h_set_of_books_id:= FA_CACHE_PKG.fazcbc_record.set_of_books_id;
881:
882: else -- MRC
883:
884: OPEN C_EXC_FULLY_RSV_FLAG_M;

Line 888: h_set_of_books_id:= nvl(FA_CACHE_PKG.fazcbcs_record.set_of_books_id,

884: OPEN C_EXC_FULLY_RSV_FLAG_M;
885: FETCH C_EXC_FULLY_RSV_FLAG_M into l_exclude_fully_rsv_flag;
886: CLOSE C_EXC_FULLY_RSV_FLAG_M;
887: /*Bug# 6933726 Added to fetch set_of_books_id from cache*/
888: h_set_of_books_id:= nvl(FA_CACHE_PKG.fazcbcs_record.set_of_books_id,
889: FA_CACHE_PKG.fazcbc_record.set_of_books_id);
890:
891: end if;
892:

Line 889: FA_CACHE_PKG.fazcbc_record.set_of_books_id);

885: FETCH C_EXC_FULLY_RSV_FLAG_M into l_exclude_fully_rsv_flag;
886: CLOSE C_EXC_FULLY_RSV_FLAG_M;
887: /*Bug# 6933726 Added to fetch set_of_books_id from cache*/
888: h_set_of_books_id:= nvl(FA_CACHE_PKG.fazcbcs_record.set_of_books_id,
889: FA_CACHE_PKG.fazcbc_record.set_of_books_id);
890:
891: end if;
892:
893: if p_log_level_rec.statement_level then

Line 1095: if fa_cache_pkg.fazccmt(px_rule_in.method_code,

1091: -- new adjusted cost.
1092: -- If not, Reduce fully reserved adjusted cost only
1093: -------------------------------------------------------------------------
1094:
1095: if fa_cache_pkg.fazccmt(px_rule_in.method_code,
1096: px_rule_in.life_in_months
1097: ,p_log_level_rec => p_log_level_rec) then
1098:
1099: if p_log_level_rec.statement_level then

Line 1103: l_exclude_salvage_value_flag := fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag;

1099: if p_log_level_rec.statement_level then
1100: fa_debug_pkg.add(l_function, 'fazccmt', 'Called', p_log_level_rec);
1101: end if;
1102:
1103: l_exclude_salvage_value_flag := fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag;
1104: end if;
1105:
1106: if Upper(l_exclude_salvage_value_flag) like 'Y%' and
1107: px_rule_in.calc_basis= 'NBV' then

Line 1541: if fa_cache_pkg.fazccmt(px_rule_in.method_code,

1537: -- Check exclude salvage value flag.
1538: -- And if exclude salvage value flag is Yes,
1539: -- reduce salvage value from new adjusted cost
1540: ---------------------------------------------------------------------------
1541: if fa_cache_pkg.fazccmt(px_rule_in.method_code,
1542: px_rule_in.life_in_months,
1543: p_log_level_rec) then
1544:
1545: if p_log_level_rec.statement_level then

Line 1552: l_exclude_salvage_value_flag := fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag;

1548: value=> 'Called',
1549: p_log_level_rec => p_log_level_rec);
1550: end if;
1551:
1552: l_exclude_salvage_value_flag := fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag;
1553:
1554: end if;
1555:
1556:

Line 1971: if fa_cache_pkg.fazccmt(px_rule_in.method_code,

1967: -- And if exclude salvage value flag is Yes,
1968: -- reduce salvage value from new adjusted cost
1969: ------------------------------------------------------------
1970:
1971: if fa_cache_pkg.fazccmt(px_rule_in.method_code,
1972: px_rule_in.life_in_months,
1973: p_log_level_rec) then
1974:
1975: if p_log_level_rec.statement_level then

Line 1982: l_exclude_salvage_value_flag := nvl(fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag,0);

1978: value=> 'Called',
1979: p_log_level_rec => p_log_level_rec);
1980: end if;
1981:
1982: l_exclude_salvage_value_flag := nvl(fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag,0);
1983:
1984: end if;
1985:
1986:

Line 2772: if not fa_cache_pkg.fazcdp

2768: -- Event Type: INITIAL_ADDITION
2769: ----------------------------------------------------------------
2770: if (px_rule_in.event_type in ('ADDITION', 'INITIAL_ADDITION')) THEN
2771:
2772: if not fa_cache_pkg.fazcdp
2773: (x_book_type_code => px_rule_in.book_type_code,
2774: x_period_counter => px_rule_in.period_counter,
2775: x_effective_date => null,
2776: p_log_level_rec => p_log_level_rec) then

Line 2785: fa_cache_pkg.fazcdp_record.calendar_period_open_date) and

2781: -- Bug4115689: Added check against reserve and set adj_cost
2782: -- to rec cost ONLY if this addition is with reserve
2783: --
2784: if (px_rule_in.transaction_date_entered <
2785: fa_cache_pkg.fazcdp_record.calendar_period_open_date) and
2786: ((nvl(px_rule_in.adj_reserve, 0) <> 0) or
2787: (nvl(px_rule_in.current_rsv, 0) <> 0)) then
2788:
2789: if px_rule_in.calc_basis='COST' then

Line 2926: if fa_cache_pkg.fazccmt(px_rule_in.method_code,

2922: -- Check exclude salvage value flag.
2923: -- And if exclude salvage value flag is Yes,
2924: -- reduce salvage value from new adjusted cost
2925: ---------------------------------------------------------------------------
2926: if fa_cache_pkg.fazccmt(px_rule_in.method_code,
2927: px_rule_in.life_in_months,
2928: p_log_level_rec) then
2929:
2930: if p_log_level_rec.statement_level then

Line 2937: l_exclude_salvage_value_flag := fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag;

2933: value=> 'Called',
2934: p_log_level_rec => p_log_level_rec);
2935: end if;
2936:
2937: l_exclude_salvage_value_flag := fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag;
2938:
2939: end if;
2940:
2941: