DBA Data[Home] [Help]

APPS.FA_MASS_DPR_RSV_ADJ_PKG dependencies on FA_CACHE_PKG

Line 143: if not fa_cache_pkg.fazcbc(X_book => g_adj_asset_hdr_rec.book_type_code) then

139:
140:
141: /* Get the Adjusted Book from Book Controls Cache */
142:
143: if not fa_cache_pkg.fazcbc(X_book => g_adj_asset_hdr_rec.book_type_code) then
144: raise mass_dpr_rsv_adj_err;
145: end if;
146:
147: /* Get the Depreciation Calendar from Book Controls Cache */

Line 151: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.PRORATE_CALENDAR) then --vmarella check

147: /* Get the Depreciation Calendar from Book Controls Cache */
148:
149: -- Get calendar period information from cache
150:
151: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.PRORATE_CALENDAR) then --vmarella check
152: raise mass_dpr_rsv_adj_err;
153: end if;
154:
155: g_pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;

Line 155: g_pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;

151: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.PRORATE_CALENDAR) then --vmarella check
152: raise mass_dpr_rsv_adj_err;
153: end if;
154:
155: g_pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;
156: g_last_pc := fa_cache_pkg.fazcbc_record.last_period_counter;
157: g_current_pc := l_last_pc + 1;
158: g_start_pc := g_asset_tax_rsv_adj_rec.fiscal_year * g_pers_per_yr ;
159: g_end_pc := (g_asset_tax_rsv_adj_rec.fiscal_year * g_pers_per_yr) + g_pers_per_yr;

Line 156: g_last_pc := fa_cache_pkg.fazcbc_record.last_period_counter;

152: raise mass_dpr_rsv_adj_err;
153: end if;
154:
155: g_pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;
156: g_last_pc := fa_cache_pkg.fazcbc_record.last_period_counter;
157: g_current_pc := l_last_pc + 1;
158: g_start_pc := g_asset_tax_rsv_adj_rec.fiscal_year * g_pers_per_yr ;
159: g_end_pc := (g_asset_tax_rsv_adj_rec.fiscal_year * g_pers_per_yr) + g_pers_per_yr;
160:

Line 161: if not fa_cache_pkg.fazcbcs(g_adj_asset_hdr_rec.book_type_code) then

157: g_current_pc := l_last_pc + 1;
158: g_start_pc := g_asset_tax_rsv_adj_rec.fiscal_year * g_pers_per_yr ;
159: g_end_pc := (g_asset_tax_rsv_adj_rec.fiscal_year * g_pers_per_yr) + g_pers_per_yr;
160:
161: if not fa_cache_pkg.fazcbcs(g_adj_asset_hdr_rec.book_type_code) then
162: raise mass_dpr_rsv_adj_err;
163: end if;
164:
165: l_primary_sob_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

Line 165: l_primary_sob_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

161: if not fa_cache_pkg.fazcbcs(g_adj_asset_hdr_rec.book_type_code) then
162: raise mass_dpr_rsv_adj_err;
163: end if;
164:
165: l_primary_sob_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
166:
167: if (g_log_level_rec.statement_level) then
168: fa_debug_pkg.add(l_calling_fn,'opening c_assets cursor','');
169: fa_debug_pkg.add(l_calling_fn,'g_start_pc',g_start_pc);

Line 278: if not fa_cache_pkg.fazcbc(fa_cache_pkg.fazcbc_record.distribution_source_book) then

274: g_fin_info := Null;
275:
276: /* Get the Corporate Book from Book Controls Cache */
277:
278: if not fa_cache_pkg.fazcbc(fa_cache_pkg.fazcbc_record.distribution_source_book) then
279: raise mass_dpr_rsv_adj_err;
280: end if;
281:
282: /* Get Deprn Calendar for Corp Book from Book Controls Cache */

Line 284: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.deprn_calendar) then

280: end if;
281:
282: /* Get Deprn Calendar for Corp Book from Book Controls Cache */
283:
284: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.deprn_calendar) then
285: raise mass_dpr_rsv_adj_err;
286: end if;
287:
288: /* Get Number of Periods per Fiscal Year from Calendars Cache */

Line 290: l_pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;

286: end if;
287:
288: /* Get Number of Periods per Fiscal Year from Calendars Cache */
289:
290: l_pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;
291: l_start_pc := g_asset_tax_rsv_adj_rec.fiscal_year * l_pers_per_yr;
292: l_end_pc := (g_asset_tax_rsv_adj_rec.fiscal_year * l_pers_per_yr ) + l_pers_per_yr;
293:
294:

Line 298: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;

294:
295: /** Get End of Fiscal Year Depreciation for Corporate Book **/
296:
297: dpr_row.asset_id := g_adj_asset_hdr_rec.asset_id;
298: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;
299: dpr_row.dist_id := 0;
300: dpr_row.period_ctr := l_end_pc;
301: dpr_row.adjusted_flag := FALSE;
302: dpr_row.deprn_exp := 0;

Line 331: if not fa_cache_pkg.fazcbc(g_ctl_asset_hdr_rec.book_type_code) then --vmarella checking

327: l_deprn_rsv_corp_end := dpr_row.deprn_rsv;
328:
329: /* Get Deprn Calendar for Control Book from Book Controls Cache */
330:
331: if not fa_cache_pkg.fazcbc(g_ctl_asset_hdr_rec.book_type_code) then --vmarella checking
332: raise mass_dpr_rsv_adj_err;
333: end if;
334:
335: /* Get Deprn Calendar for Control Book from Book Controls Cache */

Line 337: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.deprn_calendar) then

333: end if;
334:
335: /* Get Deprn Calendar for Control Book from Book Controls Cache */
336:
337: if not fa_cache_pkg.fazcct(fa_cache_pkg.fazcbc_record.deprn_calendar) then
338: raise mass_dpr_rsv_adj_err;
339: end if;
340:
341: /* Get Number of Periods per Fiscal Year from Calendars Cache */

Line 348: l_pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;

344:
345: i am using g_asset_tax_rsv_adj_rec.fiscal_year since fiscal year will be same for both
346: control books and adjusted book */
347:
348: l_pers_per_yr := fa_cache_pkg.fazcct_record.NUMBER_PER_FISCAL_YEAR;
349: l_start_pc := g_asset_tax_rsv_adj_rec.fiscal_year * l_pers_per_yr;
350: l_end_pc := (g_asset_tax_rsv_adj_rec.fiscal_year * l_pers_per_yr ) + l_pers_per_yr;
351:
352: /** Get End of Fiscal Year Depreciation for Control Book **/

Line 355: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;

351:
352: /** Get End of Fiscal Year Depreciation for Control Book **/
353:
354: dpr_row.asset_id := g_adj_asset_hdr_rec.asset_id;
355: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;
356: dpr_row.dist_id := 0;
357: dpr_row.period_ctr := l_end_pc;
358: dpr_row.adjusted_flag := FALSE;
359: dpr_row.deprn_exp := 0;

Line 387: /* spooyath --- fa_cache_pkg.fazcbc_record.book_type_code was used for the adjusted book

383:
384: l_deprn_rsv_ctl_end := dpr_row.deprn_rsv;
385:
386: /* Reset the cache for the adj. book */
387: /* spooyath --- fa_cache_pkg.fazcbc_record.book_type_code was used for the adjusted book
388: till now with out initializing the cache resulting in the usage of control book as adjusted book */
389:
390: if not fa_cache_pkg.fazcbc(X_book => g_adj_asset_hdr_rec.book_type_code) then
391: raise mass_dpr_rsv_adj_err;

Line 390: if not fa_cache_pkg.fazcbc(X_book => g_adj_asset_hdr_rec.book_type_code) then

386: /* Reset the cache for the adj. book */
387: /* spooyath --- fa_cache_pkg.fazcbc_record.book_type_code was used for the adjusted book
388: till now with out initializing the cache resulting in the usage of control book as adjusted book */
389:
390: if not fa_cache_pkg.fazcbc(X_book => g_adj_asset_hdr_rec.book_type_code) then
391: raise mass_dpr_rsv_adj_err;
392: end if;
393:
394:

Line 398: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;

394:
395: /** Get End of Fiscal Year Depreciation for Adjusted Book **/
396:
397: dpr_row.asset_id := g_adj_asset_hdr_rec.asset_id;
398: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;
399: dpr_row.dist_id := 0;
400: dpr_row.period_ctr := g_end_pc;
401: dpr_row.adjusted_flag := FALSE;
402: dpr_row.deprn_exp := 0;

Line 434: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;

430:
431: /** Get Start of Fiscal Year Depreciation for Adjusted Book **/
432:
433: dpr_row.asset_id := g_adj_asset_hdr_rec.asset_id;
434: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;
435: dpr_row.dist_id := 0;
436: dpr_row.period_ctr := g_start_pc;
437: dpr_row.adjusted_flag := FALSE;
438: dpr_row.deprn_exp := 0;

Line 476: and bk3.book_type_code = fa_cache_pkg.fazcbc_record.distribution_source_book and

472: bk1.date_ineffective is null
473: and bk2.book_type_code = g_ctl_asset_hdr_rec.book_type_code and
474: bk2.date_ineffective is null and
475: bk2.asset_id = bk1.asset_id
476: and bk3.book_type_code = fa_cache_pkg.fazcbc_record.distribution_source_book and
477: bk3.date_ineffective is null and
478: bk3.asset_id = bk1.asset_id;
479:
480: If ((l_adj_cost <> l_ctl_cost ) OR

Line 1044: if not (fa_cache_pkg.fazcbc(x_book => p_book_type_code

1040: fa_debug_pkg.add(l_calling_fn,'Calling procedure: LOAD_JOBS','');
1041: fa_debug_pkg.add(l_calling_fn,'','');
1042: end if;
1043:
1044: if not (fa_cache_pkg.fazcbc(x_book => p_book_type_code
1045: ,p_log_level_rec => g_log_level_rec)) then
1046: raise error_found;
1047: end if;
1048:

Line 1049: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 1000);

1045: ,p_log_level_rec => g_log_level_rec)) then
1046: raise error_found;
1047: end if;
1048:
1049: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 1000);
1050:
1051: g_phase := 'Register jobs for workers';
1052: if (g_log_level_rec.statement_level) then
1053: fa_debug_pkg.add(l_calling_fn,'Register jobs for workers','');