DBA Data[Home] [Help]

APPS.FA_UNPLANNED_PUB dependencies on FA_CACHE_PKG

Line 87: if (NOT fa_cache_pkg.fazcbc(X_book => px_asset_hdr_rec.book_type_code,

83: end if;
84:
85: -- set up sob/mrc info
86: -- call the cache for the primary transaction book
87: if (NOT fa_cache_pkg.fazcbc(X_book => px_asset_hdr_rec.book_type_code,
88: p_log_level_rec => g_log_level_rec)) then
89: raise unp_err;
90: end if;
91:

Line 92: px_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

88: p_log_level_rec => g_log_level_rec)) then
89: raise unp_err;
90: end if;
91:
92: px_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
93:
94: if not (FA_ASSET_VAL_PVT.validate_asset_book
95: (p_transaction_type_code => 'ADJUSTMENT',
96: p_book_type_code => px_asset_hdr_rec.book_type_code,

Line 117: if not fa_cache_pkg.fazcsob

113: -- that is not tied to a SOB_ID by getting the value from
114: -- the book struct
115:
116: -- Get the book type code P,R or N
117: if not fa_cache_pkg.fazcsob
118: (X_set_of_books_id => px_asset_hdr_rec.set_of_books_id,
119: X_mrc_sob_type_code => l_reporting_flag,
120: p_log_level_rec => g_log_level_rec) then
121: raise unp_err;

Line 238: if (fa_cache_pkg.fazcbc_record.amortize_flag = 'NO') then

234: p_log_level_rec => g_log_level_rec) then
235: raise unp_err;
236: end if;
237: else
238: if (fa_cache_pkg.fazcbc_record.amortize_flag = 'NO') then
239: fa_srvr_msg.add_message(
240: calling_fn => l_calling_fn,
241: name => 'FA_BOOK_AMORTIZED_NOT_ALLOW'
242: ,p_log_level_rec => g_log_level_rec);

Line 351: l_sob_tbl FA_CACHE_PKG.fazcrsob_sob_tbl_type;

347: l_unplanned_deprn_rec FA_API_TYPES.unplanned_deprn_rec_type;
348:
349: l_reporting_flag varchar2(1);
350: l_period_rec FA_API_TYPES.period_rec_type;
351: l_sob_tbl FA_CACHE_PKG.fazcrsob_sob_tbl_type;
352:
353: -- used for local runs
354: l_responsibility_id number;
355: l_application_id number;

Line 487: l_flex_structure_num := fa_cache_pkg.fazcbc_record.accounting_flex_structure;

483: ,p_log_level_rec => p_log_level_rec);
484: raise unp_err;
485: end if;
486:
487: l_flex_structure_num := fa_cache_pkg.fazcbc_record.accounting_flex_structure;
488:
489: -- check the ccid / set up flex info
490: if not fnd_flex_apis.get_qualifier_segnum
491: (appl_id => 101,

Line 539: if not FA_CACHE_PKG.fazcrsob

535: end if;
536:
537:
538: -- call the sob cache to get the table of sob_ids
539: if not FA_CACHE_PKG.fazcrsob
540: (x_book_type_code => px_asset_hdr_rec.book_type_code,
541: x_sob_tbl => l_sob_tbl,
542: p_log_level_rec => p_log_level_rec) then
543: raise unp_err;

Line 571: if NOT fa_cache_pkg.fazcbcs(X_book => px_asset_hdr_rec.book_type_code,

567:
568:
569: -- call the cache to set the sob_id used for rounding and other lower
570: -- level code for each book.
571: if NOT fa_cache_pkg.fazcbcs(X_book => px_asset_hdr_rec.book_type_code,
572: p_log_level_rec => p_log_level_rec) then
573: raise unp_err;
574: end if;
575:

Line 715: fa_cache_pkg.fazcdrd_record.rule_name = 'ENERGY PERIOD END BALANCE')) then

711: -- basis rule is ENERGY PERIOD END BALANCE'.
712: -- if (px_trans_rec.calling_interface <> 'FAXASSET') then
713:
714: if (not (px_trans_rec.calling_interface = 'FAXASSET' and
715: fa_cache_pkg.fazcdrd_record.rule_name = 'ENERGY PERIOD END BALANCE')) then
716:
717: -- Calcualte Group Assets to which the processed member asset belongs
718: -- This is only when the Tracking Method is ALLOCATE.
719:

Line 730: if not fa_cache_pkg.fazccmt (l_asset_fin_rec.deprn_method_code,l_asset_fin_rec.life_in_months) then

726:
727: if l_asset_fin_rec.group_asset_id is null and
728: nvl(l_asset_fin_rec.tracking_method,'OTHER') = 'ALLOCATE' then
729:
730: if not fa_cache_pkg.fazccmt (l_asset_fin_rec.deprn_method_code,l_asset_fin_rec.life_in_months) then
731: fa_srvr_msg.add_message (calling_fn => l_calling_fn
732: ,p_log_level_rec => p_log_level_rec);
733: raise unp_err;
734: end if;

Line 742: P_group_deprn_basis => fa_cache_pkg.fazccmt_record.deprn_basis_rule,

738: (P_book_type_code => px_asset_hdr_rec.book_type_code,
739: P_group_asset_id => px_asset_hdr_rec.asset_id,
740: P_period_counter => l_period_rec.period_num,
741: P_fiscal_year => l_period_rec.fiscal_year,
742: P_group_deprn_basis => fa_cache_pkg.fazccmt_record.deprn_basis_rule,
743: P_group_exclude_salvage => fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag,
744: P_group_bonus_rule => l_asset_fin_rec.bonus_rule,
745: P_group_deprn_amount => l_unplanned_deprn_rec.unplanned_amount,
746: P_group_bonus_amount => 0,

Line 743: P_group_exclude_salvage => fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag,

739: P_group_asset_id => px_asset_hdr_rec.asset_id,
740: P_period_counter => l_period_rec.period_num,
741: P_fiscal_year => l_period_rec.fiscal_year,
742: P_group_deprn_basis => fa_cache_pkg.fazccmt_record.deprn_basis_rule,
743: P_group_exclude_salvage => fa_cache_pkg.fazccmt_record.exclude_salvage_value_flag,
744: P_group_bonus_rule => l_asset_fin_rec.bonus_rule,
745: P_group_deprn_amount => l_unplanned_deprn_rec.unplanned_amount,
746: P_group_bonus_amount => 0,
747: P_tracking_method => l_asset_fin_rec.tracking_method,