DBA Data[Home] [Help]

APPS.FA_INS_ADJ_PVT dependencies on FA_CACHE_PKG

Line 45: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.deprn_calendar, p_log_level_rec => p_log_level_rec) then

41: error_found exception;
42:
43: begin
44:
45: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.deprn_calendar, p_log_level_rec => p_log_level_rec) then
46: raise error_found;
47: end if;
48:
49: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;

Line 52: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;

48:
49: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;
50: l_adj.asset_id := p_asset_hdr_rec.asset_id;
51: l_adj.book_type_code := p_asset_hdr_rec.book_type_code;
52: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
53: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
54: l_adj.current_units := p_asset_desc_rec.current_units ;
55: l_adj.selection_mode := FA_ADJUST_TYPE_PKG.FA_AJ_ACTIVE;
56: l_adj.selection_thid := 0;

Line 53: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;

49: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;
50: l_adj.asset_id := p_asset_hdr_rec.asset_id;
51: l_adj.book_type_code := p_asset_hdr_rec.book_type_code;
52: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
53: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
54: l_adj.current_units := p_asset_desc_rec.current_units ;
55: l_adj.selection_mode := FA_ADJUST_TYPE_PKG.FA_AJ_ACTIVE;
56: l_adj.selection_thid := 0;
57: l_adj.selection_retid := 0;

Line 70: if not fa_cache_pkg.fazccb

66: l_adj.distribution_id := 0;
67:
68: l_adj.deprn_override_flag:= '';
69:
70: if not fa_cache_pkg.fazccb
71: (p_asset_hdr_rec.book_type_code,
72: p_asset_cat_rec.category_id , p_log_level_rec => p_log_level_rec) then
73: raise error_found;
74: end if;

Line 88: l_cost_acct := fa_cache_pkg.fazccb_record.CIP_COST_ACCT;

84:
85: if p_asset_type_rec.asset_type = 'CIP' then
86: l_cost_acct_type := 'CIP_COST_ACCT';
87: l_clearing_acct_type := 'CIP_CLEARING_ACCT';
88: l_cost_acct := fa_cache_pkg.fazccb_record.CIP_COST_ACCT;
89: l_clearing_acct := fa_cache_pkg.fazccb_record.CIP_CLEARING_ACCT;
90: else
91: l_cost_acct_type := 'ASSET_COST_ACCT';
92: l_clearing_acct_type := 'ASSET_CLEARING_ACCT';

Line 89: l_clearing_acct := fa_cache_pkg.fazccb_record.CIP_CLEARING_ACCT;

85: if p_asset_type_rec.asset_type = 'CIP' then
86: l_cost_acct_type := 'CIP_COST_ACCT';
87: l_clearing_acct_type := 'CIP_CLEARING_ACCT';
88: l_cost_acct := fa_cache_pkg.fazccb_record.CIP_COST_ACCT;
89: l_clearing_acct := fa_cache_pkg.fazccb_record.CIP_CLEARING_ACCT;
90: else
91: l_cost_acct_type := 'ASSET_COST_ACCT';
92: l_clearing_acct_type := 'ASSET_CLEARING_ACCT';
93: l_cost_acct := fa_cache_pkg.fazccb_record.ASSET_COST_ACCT;

Line 93: l_cost_acct := fa_cache_pkg.fazccb_record.ASSET_COST_ACCT;

89: l_clearing_acct := fa_cache_pkg.fazccb_record.CIP_CLEARING_ACCT;
90: else
91: l_cost_acct_type := 'ASSET_COST_ACCT';
92: l_clearing_acct_type := 'ASSET_CLEARING_ACCT';
93: l_cost_acct := fa_cache_pkg.fazccb_record.ASSET_COST_ACCT;
94: l_clearing_acct := fa_cache_pkg.fazccb_record.ASSET_CLEARING_ACCT;
95: end if;
96:
97: -- first, process the COST row

Line 94: l_clearing_acct := fa_cache_pkg.fazccb_record.ASSET_CLEARING_ACCT;

90: else
91: l_cost_acct_type := 'ASSET_COST_ACCT';
92: l_clearing_acct_type := 'ASSET_CLEARING_ACCT';
93: l_cost_acct := fa_cache_pkg.fazccb_record.ASSET_COST_ACCT;
94: l_clearing_acct := fa_cache_pkg.fazccb_record.ASSET_CLEARING_ACCT;
95: end if;
96:
97: -- first, process the COST row
98:

Line 167: l_adj.account := FA_CACHE_PKG.fazccb_record.deprn_expense_acct;

163: l_adj.source_type_code := 'DEPRECIATION';
164: l_adj.adjustment_type := 'EXPENSE';
165: l_adj.debit_credit_flag := 'DR';
166: l_adj.account_type := 'DEPRN_EXPENSE_ACCT';
167: l_adj.account := FA_CACHE_PKG.fazccb_record.deprn_expense_acct;
168: l_adj.adjustment_amount := p_deprn_expense;
169:
170: -- manual override
171: FA_DEBUG_PKG.ADD

Line 204: if FA_CACHE_PKG.fazcbc_record.sorp_enabled_flag = 'Y' then

200: end if;
201:
202: /* Bug 6666666 : Added for SORP Compliance (via Bug 7590545) */
203: /* Creating SORP Neutralizing entries */
204: if FA_CACHE_PKG.fazcbc_record.sorp_enabled_flag = 'Y' then
205: if not FA_SORP_UTIL_PVT.create_sorp_neutral_acct (
206: p_amount => p_deprn_expense,
207: p_reversal => 'N',
208: p_adj => l_adj,

Line 230: l_adj.account := FA_CACHE_PKG.fazccb_record.bonus_deprn_expense_acct;

226: l_adj.source_type_code := 'DEPRECIATION';
227: l_adj.adjustment_type := 'BONUS EXPENSE';
228: l_adj.debit_credit_flag := 'DR';
229: l_adj.account_type := 'BONUS_DEPRN_EXPENSE_ACCT';
230: l_adj.account := FA_CACHE_PKG.fazccb_record.bonus_deprn_expense_acct;
231: l_adj.adjustment_amount := p_bonus_expense;
232:
233: -- Manual Override
234: if p_trans_rec.deprn_override_flag in (fa_std_types.FA_OVERRIDE_BONUS,

Line 260: l_adj.account := FA_CACHE_PKG.fazccb_record.impair_expense_acct;

256: l_adj.source_type_code := 'DEPRECIATION';
257: l_adj.adjustment_type := 'IMPAIR EXPENSE';
258: l_adj.debit_credit_flag := 'DR';
259: l_adj.account_type := 'IMPAIR_EXPENSE_ACCT';
260: l_adj.account := FA_CACHE_PKG.fazccb_record.impair_expense_acct;
261: l_adj.adjustment_amount := p_impair_expense;
262:
263: -- Manual Override
264: if p_trans_rec.deprn_override_flag in (fa_std_types.FA_OVERRIDE_IMPAIR,

Line 284: if FA_CACHE_PKG.fazcbc_record.sorp_enabled_flag = 'Y' then

280: p_trans_rec.who_info.last_update_login, p_log_level_rec => p_log_level_rec) then
281: raise error_found;
282: end if;
283: /*For 8520733 during 10160292 to create neutralization entries */
284: if FA_CACHE_PKG.fazcbc_record.sorp_enabled_flag = 'Y' then
285: if not FA_SORP_UTIL_PVT.create_sorp_neutral_acct (
286: p_amount => p_impair_expense,
287: p_reversal => 'N',
288: p_adj => l_adj,

Line 307: l_adj.account := FA_CACHE_PKG.fazccb_record.deprn_reserve_acct;

303:
304: l_adj.source_type_code := l_source;
305: l_adj.adjustment_type := 'RESERVE';
306: l_adj.account_type := 'DEPRN_RESERVE_ACCT';
307: l_adj.account := FA_CACHE_PKG.fazccb_record.deprn_reserve_acct;
308:
309: if p_deprn_reserve > 0 then
310: l_adj.debit_credit_flag := 'CR';
311: l_adj.adjustment_amount := p_deprn_reserve;

Line 336: l_adj.account := FA_CACHE_PKG.fazccb_record.bonus_deprn_reserve_acct;

332:
333: l_adj.source_type_code := l_source;
334: l_adj.adjustment_type := 'BONUS RESERVE';
335: l_adj.account_type := 'BONUS_DEPRN_RESERVE_ACCT';
336: l_adj.account := FA_CACHE_PKG.fazccb_record.bonus_deprn_reserve_acct;
337:
338: if p_bonus_reserve > 0 then
339: l_adj.debit_credit_flag := 'CR';
340: l_adj.adjustment_amount := p_bonus_reserve;