DBA Data[Home] [Help]

APPS.FA_BASIS_OVERRIDE_INIT_PKG dependencies on FA_CACHE_PKG

Line 391: if not fa_cache_pkg.fazccmt

387: -- Get rate_source_rule and deprn_basis_rule
388: -- to avoid that method_type and calc_basis are set null
389: if method_type is null or calc_basis is null then
390:
391: if not fa_cache_pkg.fazccmt
392: (X_method => h_rule_in.method_code,
393: X_life => h_rule_in.life_in_months,
394: p_log_level_rec => p_log_level_rec) then
395:

Line 400: h_rule_in.method_id := fa_cache_pkg.fazccmt_record.method_id;

396: raise faxccdb_err;
397:
398: end if;
399:
400: h_rule_in.method_id := fa_cache_pkg.fazccmt_record.method_id;
401: h_rule_in.method_type := fa_cache_pkg.fazccmt_record.rate_source_rule;
402: h_rule_in.calc_basis := fa_cache_pkg.fazccmt_record.deprn_basis_rule;
403:
404: if (fa_cache_pkg.fazccmt_record.deprn_basis_rule_id is not null) then

Line 401: h_rule_in.method_type := fa_cache_pkg.fazccmt_record.rate_source_rule;

397:
398: end if;
399:
400: h_rule_in.method_id := fa_cache_pkg.fazccmt_record.method_id;
401: h_rule_in.method_type := fa_cache_pkg.fazccmt_record.rate_source_rule;
402: h_rule_in.calc_basis := fa_cache_pkg.fazccmt_record.deprn_basis_rule;
403:
404: if (fa_cache_pkg.fazccmt_record.deprn_basis_rule_id is not null) then
405: h_rule_in.polish_rule := fa_cache_pkg.fazcdbr_record.polish_rule;

Line 402: h_rule_in.calc_basis := fa_cache_pkg.fazccmt_record.deprn_basis_rule;

398: end if;
399:
400: h_rule_in.method_id := fa_cache_pkg.fazccmt_record.method_id;
401: h_rule_in.method_type := fa_cache_pkg.fazccmt_record.rate_source_rule;
402: h_rule_in.calc_basis := fa_cache_pkg.fazccmt_record.deprn_basis_rule;
403:
404: if (fa_cache_pkg.fazccmt_record.deprn_basis_rule_id is not null) then
405: h_rule_in.polish_rule := fa_cache_pkg.fazcdbr_record.polish_rule;
406: end if;

Line 404: if (fa_cache_pkg.fazccmt_record.deprn_basis_rule_id is not null) then

400: h_rule_in.method_id := fa_cache_pkg.fazccmt_record.method_id;
401: h_rule_in.method_type := fa_cache_pkg.fazccmt_record.rate_source_rule;
402: h_rule_in.calc_basis := fa_cache_pkg.fazccmt_record.deprn_basis_rule;
403:
404: if (fa_cache_pkg.fazccmt_record.deprn_basis_rule_id is not null) then
405: h_rule_in.polish_rule := fa_cache_pkg.fazcdbr_record.polish_rule;
406: end if;
407:
408: -- We don't want to use this logic for Polish code.

Line 405: h_rule_in.polish_rule := fa_cache_pkg.fazcdbr_record.polish_rule;

401: h_rule_in.method_type := fa_cache_pkg.fazccmt_record.rate_source_rule;
402: h_rule_in.calc_basis := fa_cache_pkg.fazccmt_record.deprn_basis_rule;
403:
404: if (fa_cache_pkg.fazccmt_record.deprn_basis_rule_id is not null) then
405: h_rule_in.polish_rule := fa_cache_pkg.fazcdbr_record.polish_rule;
406: end if;
407:
408: -- We don't want to use this logic for Polish code.
409: if (h_rule_in.polish_rule is not null) and

Line 420: if (fa_cache_pkg.fazcdbr_record.rule_name in ('PERIOD END AVERAGE', 'BEGINNING PERIOD',

416: -- eofy and eop amounts are necessary only if deprn basis rules are following
417: -- need eop amounts: 'PERIOD END AVERAGE', 'BEGINNING PERIOD'
418: -- need eofy amounts: 'YEAR TO DATE AVERAGE', 'YEAR END BALANCE WITH HALF YEAR RULE'
419: --
420: if (fa_cache_pkg.fazcdbr_record.rule_name in ('PERIOD END AVERAGE', 'BEGINNING PERIOD',
421: 'YEAR TO DATE AVERAGE',
422: 'YEAR END BALANCE WITH HALF YEAR RULE'
423: )) then
424: ---------------------------------------------

Line 466: end if; -- (fa_cache_pkg.fazcdbr_record.rule_name in (....

462: h_rule_in.eofy_recoverable_cost := 0;
463: h_rule_in.eofy_salvage_value := 0;
464: h_rule_in.eop_recoverable_cost := 0;
465: h_rule_in.eop_salvage_value := 0;
466: end if; -- (fa_cache_pkg.fazcdbr_record.rule_name in (....
467:
468: --------------------------------------------
469: -- Set 0 to the end of fiscal year
470: -- and end of period recoverable cost