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,

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,
162: fa_cache_pkg.fazcbc_record.set_of_books_id) then
163: raise mass_dpr_rsv_adj_err;
164: end if;
165:

Line 162: fa_cache_pkg.fazcbc_record.set_of_books_id) then

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,
162: fa_cache_pkg.fazcbc_record.set_of_books_id) then
163: raise mass_dpr_rsv_adj_err;
164: end if;
165:
166: l_primary_sob_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

399:
400: /** Get End of Fiscal Year Depreciation for Adjusted Book **/
401:
402: dpr_row.asset_id := g_adj_asset_hdr_rec.asset_id;
403: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;
404: dpr_row.dist_id := 0;
405: dpr_row.period_ctr := g_end_pc;
406: dpr_row.adjusted_flag := FALSE;
407: dpr_row.deprn_exp := 0;

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

436:
437: /** Get Start of Fiscal Year Depreciation for Adjusted Book **/
438:
439: dpr_row.asset_id := g_adj_asset_hdr_rec.asset_id;
440: dpr_row.book := fa_cache_pkg.fazcbc_record.book_type_code;
441: dpr_row.dist_id := 0;
442: dpr_row.period_ctr := g_start_pc;
443: dpr_row.adjusted_flag := FALSE;
444: dpr_row.deprn_exp := 0;

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

479: bk1.date_ineffective is null
480: and bk2.book_type_code = g_ctl_asset_hdr_rec.book_type_code and
481: bk2.date_ineffective is null and
482: bk2.asset_id = bk1.asset_id
483: and bk3.book_type_code = fa_cache_pkg.fazcbc_record.distribution_source_book and
484: bk3.date_ineffective is null and
485: bk3.asset_id = bk1.asset_id;
486:
487: If ((l_adj_cost <> l_ctl_cost ) OR

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

1052: fa_debug_pkg.add(l_calling_fn,'Calling procedure: LOAD_JOBS','');
1053: fa_debug_pkg.add(l_calling_fn,'','');
1054: end if;
1055:
1056: if not (fa_cache_pkg.fazcbc(x_book => p_book_type_code
1057: ,p_log_level_rec => g_log_level_rec)) then
1058: raise error_found;
1059: end if;
1060:

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

1057: ,p_log_level_rec => g_log_level_rec)) then
1058: raise error_found;
1059: end if;
1060:
1061: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 1000);
1062:
1063: g_phase := 'Register jobs for workers';
1064: if (g_log_level_rec.statement_level) then
1065: fa_debug_pkg.add(l_calling_fn,'Register jobs for workers','');