DBA Data[Home] [Help]

APPS.FA_MASSCHG_PKG dependencies on FA_CACHE_PKG

Line 415: if not fa_cache_pkg.fazcbc(X_book => l_book_type_code,

411: end if;
412:
413:
414: -- call the book controls cache
415: if not fa_cache_pkg.fazcbc(X_book => l_book_type_code,
416: p_log_level_rec => g_log_level_rec) then
417: raise masschg_err;
418: end if;
419:

Line 420: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);

416: p_log_level_rec => g_log_level_rec) then
417: raise masschg_err;
418: end if;
419:
420: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);
421:
422: -- load the period struct for current period info
423: if not FA_UTIL_PVT.get_period_rec
424: (p_book => l_book_type_code,

Line 432: if not fa_cache_pkg.fazccmt

428: end if;
429:
430: if (l_from_method_code is not null) then
431: -- call the method cache for rate source rule
432: if not fa_cache_pkg.fazccmt
433: (X_method => l_from_method_code,
434: X_life => l_from_life_in_months,
435: p_log_level_rec => g_log_level_rec) then
436: raise masschg_err;

Line 440: l_from_rsr := fa_cache_pkg.fazccmt_record.rate_source_rule;

436: raise masschg_err;
437: end if;
438: end if;
439:
440: l_from_rsr := fa_cache_pkg.fazccmt_record.rate_source_rule;
441:
442: if (l_to_method_code is not null) then
443: if not fa_cache_pkg.fazccmt
444: (X_method => l_to_method_code,

Line 443: if not fa_cache_pkg.fazccmt

439:
440: l_from_rsr := fa_cache_pkg.fazccmt_record.rate_source_rule;
441:
442: if (l_to_method_code is not null) then
443: if not fa_cache_pkg.fazccmt
444: (X_method => l_to_method_code,
445: X_life => l_to_life_in_months,
446: p_log_level_rec => g_log_level_rec) then
447: raise masschg_err;

Line 451: l_to_rsr := fa_cache_pkg.fazccmt_record.rate_source_rule;

447: raise masschg_err;
448: end if;
449: end if;
450:
451: l_to_rsr := fa_cache_pkg.fazccmt_record.rate_source_rule;
452:
453: if (l_from_rsr = 'PRODUCTION' and
454: l_to_rsr = 'PRODUCTION' and
455: nvl(l_from_convention, 'NULL') = nvl(l_to_convention, 'NULL') and

Line 459: fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

455: nvl(l_from_convention, 'NULL') = nvl(l_to_convention, 'NULL') and
456: l_from_method_code = l_to_method_code and
457: nvl(l_from_production_capacity, -1) = nvl(l_to_production_capacity, -1) and
458: nvl(l_from_uom, 'NULL') <> nvl(l_to_uom, 'NULL') and
459: fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
460:
461: l_uom_change := TRUE;
462: else
463: l_uom_change := FALSE;

Line 467: if (fa_cache_pkg.fazcbc_record.allow_mass_changes <> 'YES') then

463: l_uom_change := FALSE;
464: end if;
465:
466: -- initial book control validation
467: if (fa_cache_pkg.fazcbc_record.allow_mass_changes <> 'YES') then
468: fa_srvr_msg.add_message
469: (calling_fn => l_calling_fn,
470: name => 'FA_MASSCHG_WRONG_STATUS'
471: ,p_log_level_rec => g_log_level_rec);

Line 473: elsif (fa_cache_pkg.fazcbc_record.date_ineffective is not null) then

469: (calling_fn => l_calling_fn,
470: name => 'FA_MASSCHG_WRONG_STATUS'
471: ,p_log_level_rec => g_log_level_rec);
472: raise masschg_err;
473: elsif (fa_cache_pkg.fazcbc_record.date_ineffective is not null) then
474: fa_srvr_msg.add_message
475: (calling_fn => l_calling_fn,
476: name => 'FA_MASSCHG_WRONG_STATUS'
477: ,p_log_level_rec => g_log_level_rec);

Line 617: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

613: l_mesg_name := 'FA_MASSCHG_ASSET_DEPRED';
614: raise adj_err;
615: end if;
616:
617: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
618:
619: select count(*)
620: into l_count
621: from fa_book_controls bc,

Line 645: if (fa_cache_pkg.fazcbc_record.book_class = 'TAX') then

641: l_mesg_name := 'FA_MASSCHG_ASSET_DEPRED';
642: raise adj_err;
643: end if;
644:
645: if (fa_cache_pkg.fazcbc_record.book_class = 'TAX') then
646: -- first check isn't need (asset in corp book)
647:
648: select count(*)
649: into l_count