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.annualized_adjustment := 0;
94: adj.mrc_sob_type_code := mrc_sob_type_code;
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
99: ,p_log_level_rec => p_log_level_rec) then
100: raise error_found;
101: end if;

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

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

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

159: if adj_amts.bonus_deprn_amount <> 0 then
160: -- Post bonus_deprn_exp to BONUS_DEPRN_EXPENSE_ACCT,
161: -- so use value of account/account_type (set above)
162:
163: account := fa_cache_pkg.fazccb_record.BONUS_DEPRN_EXPENSE_ACCT;
164: adj.adjustment_type := 'BONUS EXPENSE';
165: adj.debit_credit_flag := 'DR';
166:
167: if reverse_flag then

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

191:
192: -- Post bonus_deprn_rsv to BONUS_DEPRN_RESERVE_ACCT,
193: -- so use value of account/account_type (set above)
194:
195: account := fa_cache_pkg.fazccb_record.BONUS_DEPRN_RESERVE_ACCT;
196: adj.adjustment_type := 'BONUS RESERVE';
197: adj.debit_credit_flag := 'DR';
198:
199: if reverse_flag then

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

226:
227: -- Post reval_deprn_exp to DEPRN_EXPENSE_ACCT,
228: -- so use value of account/account_type (set above)
229:
230: account := fa_cache_pkg.fazccb_record.DEPRN_EXPENSE_ACCT;
231: adj.debit_credit_flag := 'DR';
232: adj.adjustment_type := 'REVAL EXPENSE';
233: adj.debit_credit_flag := 'DR';
234:

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

256: end if;
257:
258: if adj_amts.reval_amo <> 0 then
259:
260: account := fa_cache_pkg.fazccb_record.REVAL_AMORTIZATION_ACCT;
261: adj.adjustment_type := 'REVAL AMORT'; -- bug 3233299
262: adj.debit_credit_flag := 'DR';
263:
264: if reverse_flag then

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

284: end if;
285:
286: if adj_amts.deprn_rsv <> 0 then
287:
288: account := fa_cache_pkg.fazccb_record.DEPRN_RESERVE_ACCT;
289: adj.adjustment_type := 'RESERVE';
290: adj.debit_credit_flag := 'DR';
291:
292: if reverse_flag then

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

321: -- SLA: interco logic is completely obsolete
322:
323: if adj_amts.reval_rsv <> 0 then
324:
325: account := fa_cache_pkg.fazccb_record.REVAL_RESERVE_ACCT;
326: adj.adjustment_type := 'REVAL RESERVE';
327: adj.debit_credit_flag :='DR';
328:
329: /* bug4277366

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

524: fa_debug_pkg.add(l_calling_fn, 'cur_per_ctr', cur_per_ctr
525: ,p_log_level_rec => p_log_level_rec);
526: end if;
527:
528: deprn_calendar:=fa_cache_pkg.fazcbc_record.DEPRN_CALENDAR;
529:
530: if not fa_cache_pkg.fazcct (deprn_calendar) then
531: raise error_found;
532: end if;

Line 530: if not fa_cache_pkg.fazcct (deprn_calendar) then

526: end if;
527:
528: deprn_calendar:=fa_cache_pkg.fazcbc_record.DEPRN_CALENDAR;
529:
530: if not fa_cache_pkg.fazcct (deprn_calendar) then
531: raise error_found;
532: end if;
533:
534: pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;

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

530: if not fa_cache_pkg.fazcct (deprn_calendar) then
531: raise error_found;
532: end if;
533:
534: pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;
535:
536: fy := trunc((cur_per_ctr-1) / pers_per_yr); -- Integer\
537: from_fy := trunc((from_per_ctr-1) / pers_per_yr); -- Division
538:

Line 546: if not fa_cache_pkg.fazcff (deprn_calendar,

542: ,p_log_level_rec => p_log_level_rec);
543: raise error_found;
544: end if;
545:
546: if not fa_cache_pkg.fazcff (deprn_calendar,
547: p_asset_hdr_rec.book_type_code,
548: fy,
549: period_fracs
550: ,p_log_level_rec => p_log_level_rec) then

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

1016: -- BUG 1301957:
1017: -- Get the number of periods in a fiscal year
1018: -- YYOON on 6/13/01
1019:
1020: num_of_periods := fa_cache_pkg.fazcct_record.number_per_fiscal_year;
1021:
1022: -- BUG 1301957:
1023: -- The following routine calculates annualized adjustment amounts
1024: -- and copy them to ann_adj_amts structure.

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

1164:
1165: -- moving logic from fadgbi here:
1166: -- load the cache for current period counter
1167:
1168: dist_book := fa_cache_pkg.fazcbc_record.distribution_source_book;
1169: deprn_calendar := fa_cache_pkg.fazcbc_record.deprn_calendar;
1170: fy_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;
1171:
1172: if not fa_util_pvt.get_period_rec

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

1165: -- moving logic from fadgbi here:
1166: -- load the cache for current period counter
1167:
1168: dist_book := fa_cache_pkg.fazcbc_record.distribution_source_book;
1169: deprn_calendar := fa_cache_pkg.fazcbc_record.deprn_calendar;
1170: fy_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;
1171:
1172: if not fa_util_pvt.get_period_rec
1173: (p_book => p_asset_hdr_rec.book_type_code,

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

1166: -- load the cache for current period counter
1167:
1168: dist_book := fa_cache_pkg.fazcbc_record.distribution_source_book;
1169: deprn_calendar := fa_cache_pkg.fazcbc_record.deprn_calendar;
1170: fy_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;
1171:
1172: if not fa_util_pvt.get_period_rec
1173: (p_book => p_asset_hdr_rec.book_type_code,
1174: x_period_rec => l_period_rec

Line 1186: if not fa_cache_pkg.fazcct

1182: ccp_end_date := l_period_rec.calendar_period_close_date;
1183: cp_start_date := l_period_rec.period_open_date;
1184: cp_end_date := sysdate;
1185:
1186: if not fa_cache_pkg.fazcct
1187: (x_calendar => deprn_calendar
1188: ,p_log_level_rec => p_log_level_rec) then
1189: raise error_found;
1190: end if;

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

1188: ,p_log_level_rec => p_log_level_rec) then
1189: raise error_found;
1190: end if;
1191:
1192: pers_per_yr := fa_cache_pkg.fazcct_record.number_per_fiscal_year;
1193:
1194: if p_log_level_rec.statement_level then
1195: fa_srvr_msg.add_message(calling_fn => l_calling_fn,
1196: name => 'FA_DEPRN_DEBUG2',

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

1233: b := faxzdrs (taken_drs
1234: ,p_log_level_rec => p_log_level_rec);
1235:
1236:
1237: if fa_cache_pkg.fazcbc_record.book_class = 'TAX' then
1238: trans_id := p_trans_rec.source_transaction_header_id;
1239: else
1240: trans_id := p_trans_rec.transaction_header_id;
1241: end if;

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

1250:
1251: total_ua_backout := -total_ua_backout;
1252:
1253: -- loop through primary and reportign and then through each distribution
1254: for c_rec in n_sob_id(fa_cache_pkg.fazcbc_record.set_of_books_id,
1255: p_asset_hdr_rec.book_type_code) loop
1256:
1257: if (c_rec.index_id = 1) then
1258: l_mrc_sob_type_code := 'P';