DBA Data[Home] [Help]

APPS.FA_TRANSFER_PVT dependencies on FA_CACHE_PKG

Line 97: if not fa_cache_pkg.fazccb (p_asset_hdr_rec.book_type_code,

93: adj.mrc_sob_type_code := mrc_sob_type_code;
94: adj.set_of_books_id := p_asset_hdr_rec.set_of_books_id;
95: adj.gen_ccid_flag := TRUE;
96:
97: if not fa_cache_pkg.fazccb (p_asset_hdr_rec.book_type_code,
98: p_asset_cat_rec.category_id, p_log_level_rec => p_log_level_rec) then
99: raise error_found;
100: end if;
101:

Line 109: account := fa_cache_pkg.fazccb_record.DEPRN_EXPENSE_ACCT;

105: /* Deprn Expense even if zero */
106:
107: if TRUE then
108:
109: account := fa_cache_pkg.fazccb_record.DEPRN_EXPENSE_ACCT;
110: adj.adjustment_type := 'EXPENSE';
111: adj.debit_credit_flag := 'DR';
112:
113: if reverse_flag then

Line 155: account := fa_cache_pkg.fazccb_record.BONUS_DEPRN_EXPENSE_ACCT;

151: if adj_amts.bonus_deprn_amount <> 0 then
152: -- Post bonus_deprn_exp to BONUS_DEPRN_EXPENSE_ACCT,
153: -- so use value of account/account_type (set above)
154:
155: account := fa_cache_pkg.fazccb_record.BONUS_DEPRN_EXPENSE_ACCT;
156: adj.adjustment_type := 'BONUS EXPENSE';
157: adj.debit_credit_flag := 'DR';
158:
159: if reverse_flag then

Line 186: account := fa_cache_pkg.fazccb_record.BONUS_DEPRN_RESERVE_ACCT;

182:
183: -- Post bonus_deprn_rsv to BONUS_DEPRN_RESERVE_ACCT,
184: -- so use value of account/account_type (set above)
185:
186: account := fa_cache_pkg.fazccb_record.BONUS_DEPRN_RESERVE_ACCT;
187: adj.adjustment_type := 'BONUS RESERVE';
188: adj.debit_credit_flag := 'DR';
189:
190: if reverse_flag then

Line 220: account := fa_cache_pkg.fazccb_record.DEPRN_EXPENSE_ACCT;

216:
217: -- Post reval_deprn_exp to DEPRN_EXPENSE_ACCT,
218: -- so use value of account/account_type (set above)
219:
220: account := fa_cache_pkg.fazccb_record.DEPRN_EXPENSE_ACCT;
221: adj.debit_credit_flag := 'DR';
222: adj.adjustment_type := 'REVAL EXPENSE';
223: adj.debit_credit_flag := 'DR';
224:

Line 249: account := fa_cache_pkg.fazccb_record.REVAL_AMORTIZATION_ACCT;

245: end if;
246:
247: if adj_amts.reval_amo <> 0 then
248:
249: account := fa_cache_pkg.fazccb_record.REVAL_AMORTIZATION_ACCT;
250: adj.adjustment_type := 'REVAL AMORT'; -- bug 3233299
251: adj.debit_credit_flag := 'DR';
252:
253: if reverse_flag then

Line 276: account := fa_cache_pkg.fazccb_record.DEPRN_RESERVE_ACCT;

272: end if;
273:
274: if adj_amts.deprn_rsv <> 0 then
275:
276: account := fa_cache_pkg.fazccb_record.DEPRN_RESERVE_ACCT;
277: adj.adjustment_type := 'RESERVE';
278: adj.debit_credit_flag := 'DR';
279:
280: if reverse_flag then

Line 312: account := fa_cache_pkg.fazccb_record.REVAL_RESERVE_ACCT;

308: -- SLA: interco logic is completely obsolete
309:
310: if adj_amts.reval_rsv <> 0 then
311:
312: account := fa_cache_pkg.fazccb_record.REVAL_RESERVE_ACCT;
313: adj.adjustment_type := 'REVAL RESERVE';
314: adj.debit_credit_flag :='DR';
315:
316: /* bug4277366

Line 589: deprn_calendar:=fa_cache_pkg.fazcbc_record.DEPRN_CALENDAR;

585: fa_debug_pkg.add(l_calling_fn, 'from_per_ctr', from_per_ctr, p_log_level_rec => p_log_level_rec);
586: fa_debug_pkg.add(l_calling_fn, 'cur_per_ctr', cur_per_ctr, p_log_level_rec => p_log_level_rec);
587: end if;
588:
589: deprn_calendar:=fa_cache_pkg.fazcbc_record.DEPRN_CALENDAR;
590:
591: if not fa_cache_pkg.fazcct (deprn_calendar, p_log_level_rec => p_log_level_rec) then
592: raise error_found;
593: end if;

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

587: end if;
588:
589: deprn_calendar:=fa_cache_pkg.fazcbc_record.DEPRN_CALENDAR;
590:
591: if not fa_cache_pkg.fazcct (deprn_calendar, p_log_level_rec => p_log_level_rec) then
592: raise error_found;
593: end if;
594:
595: pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;

Line 595: pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;

591: if not fa_cache_pkg.fazcct (deprn_calendar, p_log_level_rec => p_log_level_rec) then
592: raise error_found;
593: end if;
594:
595: pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;
596:
597: fy := trunc((cur_per_ctr-1) / pers_per_yr); -- Integer\
598: from_fy := trunc((from_per_ctr-1) / pers_per_yr); -- Division
599:

Line 606: if not fa_cache_pkg.fazcff (deprn_calendar,

602: name => 'FA_RDA_BACKOUT_ACROSS_YEARS', p_log_level_rec => p_log_level_rec);
603: raise error_found;
604: end if;
605:
606: if not fa_cache_pkg.fazcff (deprn_calendar,
607: p_asset_hdr_rec.book_type_code,
608: fy,
609: period_fracs, p_log_level_rec => p_log_level_rec) then
610: raise error_found;

Line 1129: num_of_periods := fa_cache_pkg.fazcct_record.number_per_fiscal_year;

1125: -- BUG 1301957:
1126: -- Get the number of periods in a fiscal year
1127: -- YYOON on 6/13/01
1128:
1129: num_of_periods := fa_cache_pkg.fazcct_record.number_per_fiscal_year;
1130:
1131: -- BUG 1301957:
1132: -- The following routine calculates annualized adjustment amounts
1133: -- and copy them to ann_adj_amts structure.

Line 1268: dist_book := fa_cache_pkg.fazcbc_record.distribution_source_book;

1264:
1265: -- moving logic from fadgbi here:
1266: -- load the cache for current period counter
1267:
1268: dist_book := fa_cache_pkg.fazcbc_record.distribution_source_book;
1269: deprn_calendar := fa_cache_pkg.fazcbc_record.deprn_calendar;
1270: fy_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;
1271:
1272: if not fa_util_pvt.get_period_rec

Line 1269: deprn_calendar := fa_cache_pkg.fazcbc_record.deprn_calendar;

1265: -- moving logic from fadgbi here:
1266: -- load the cache for current period counter
1267:
1268: dist_book := fa_cache_pkg.fazcbc_record.distribution_source_book;
1269: deprn_calendar := fa_cache_pkg.fazcbc_record.deprn_calendar;
1270: fy_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;
1271:
1272: if not fa_util_pvt.get_period_rec
1273: (p_book => p_asset_hdr_rec.book_type_code,

Line 1270: fy_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;

1266: -- load the cache for current period counter
1267:
1268: dist_book := fa_cache_pkg.fazcbc_record.distribution_source_book;
1269: deprn_calendar := fa_cache_pkg.fazcbc_record.deprn_calendar;
1270: fy_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;
1271:
1272: if not fa_util_pvt.get_period_rec
1273: (p_book => p_asset_hdr_rec.book_type_code,
1274: x_period_rec => l_period_rec, p_log_level_rec => p_log_level_rec) then

Line 1285: if not fa_cache_pkg.fazcct

1281: ccp_end_date := l_period_rec.calendar_period_close_date;
1282: cp_start_date := l_period_rec.period_open_date;
1283: cp_end_date := sysdate;
1284:
1285: if not fa_cache_pkg.fazcct
1286: (x_calendar => deprn_calendar, p_log_level_rec => p_log_level_rec) then
1287: raise error_found;
1288: end if;
1289:

Line 1290: pers_per_yr := fa_cache_pkg.fazcct_record.number_per_fiscal_year;

1286: (x_calendar => deprn_calendar, p_log_level_rec => p_log_level_rec) then
1287: raise error_found;
1288: end if;
1289:
1290: pers_per_yr := fa_cache_pkg.fazcct_record.number_per_fiscal_year;
1291:
1292: if p_log_level_rec.statement_level then
1293: fa_srvr_msg.add_message(calling_fn => l_calling_fn,
1294: name => 'FA_DEPRN_DEBUG2',

Line 1324: if fa_cache_pkg.fazcbc_record.book_class = 'TAX' then

1320: total_ua_backout := 0;
1321:
1322: -- continue until all distribution records are found
1323:
1324: if fa_cache_pkg.fazcbc_record.book_class = 'TAX' then
1325: trans_id := p_trans_rec.source_transaction_header_id;
1326: else
1327: trans_id := p_trans_rec.transaction_header_id;
1328: end if;

Line 1343: for c_rec in n_sob_id(fa_cache_pkg.fazcbc_record.set_of_books_id,

1339:
1340: l_asset_hdr_rec := p_asset_hdr_rec;
1341:
1342: -- loop through primary and reportign and then through each distribution
1343: for c_rec in n_sob_id(fa_cache_pkg.fazcbc_record.set_of_books_id,
1344: p_asset_hdr_rec.book_type_code) loop
1345:
1346: b := faxzdrs (backout_drs, p_log_level_rec);
1347: b := faxzdrs (total_backout_drs, p_log_level_rec);