DBA Data[Home] [Help]

APPS.FA_TRANSFER_PUB dependencies on FA_CACHE_PKG

Line 8: g_release number := fa_cache_pkg.fazarel_release; --Bug 8477066

4: --*********************** Global constants *******************************--
5: G_PKG_NAME CONSTANT varchar2(30) := 'FA_TRANSFER_PUB';
6: G_API_NAME CONSTANT varchar2(30) := 'Transfer API';
7: G_API_VERSION CONSTANT number := 1.0;
8: g_release number := fa_cache_pkg.fazarel_release; --Bug 8477066
9:
10: g_log_level_rec fa_api_types.log_level_rec_type;
11:
12: --*********************** Private procedures *****************************--

Line 97: if NOT fa_cache_pkg.fazcbc(X_book => px_asset_hdr_rec.book_type_code, p_log_level_rec => g_log_level_rec) then

93: end if;
94: end if;
95:
96: -- call the cache for the primary transaction book
97: if NOT fa_cache_pkg.fazcbc(X_book => px_asset_hdr_rec.book_type_code, p_log_level_rec => g_log_level_rec) then
98: RAISE FND_API.G_EXC_ERROR;
99: end if;
100:
101: -- validate book is corporate and enabled and asset exists in book

Line 132: if (not fa_cache_pkg.fazccmt(l_asset_fin_rec.deprn_method_code,

128: , p_log_level_rec => g_log_level_rec) then
129: raise FND_API.G_EXC_UNEXPECTED_ERROR;
130: end if;
131:
132: if (not fa_cache_pkg.fazccmt(l_asset_fin_rec.deprn_method_code,
133: l_asset_fin_rec.life_in_months, p_log_level_rec => g_log_level_rec)) then
134: if (g_log_level_rec.statement_level) then
135: fa_debug_pkg.add(p_calling_fn, 'Error calling', 'fa_cache_pkg.fazccmt', p_log_level_rec => g_log_level_rec);
136: end if;

Line 135: fa_debug_pkg.add(p_calling_fn, 'Error calling', 'fa_cache_pkg.fazccmt', p_log_level_rec => g_log_level_rec);

131:
132: if (not fa_cache_pkg.fazccmt(l_asset_fin_rec.deprn_method_code,
133: l_asset_fin_rec.life_in_months, p_log_level_rec => g_log_level_rec)) then
134: if (g_log_level_rec.statement_level) then
135: fa_debug_pkg.add(p_calling_fn, 'Error calling', 'fa_cache_pkg.fazccmt', p_log_level_rec => g_log_level_rec);
136: end if;
137:
138: raise FND_API.G_EXC_UNEXPECTED_ERROR;
139: end if;

Line 352: if not fa_cache_pkg.fazcbc (X_book => p_asset_hdr_rec.book_type_code, p_log_level_rec => p_log_level_rec) then

348: least(sysdate,l_period_rec.calendar_period_close_date));
349: px_trans_rec.transaction_date_entered :=
350: to_date(to_char(l_transaction_date,'DD/MM/YYYY'),'DD/MM/YYYY');
351: else
352: if not fa_cache_pkg.fazcbc (X_book => p_asset_hdr_rec.book_type_code, p_log_level_rec => p_log_level_rec) then
353: fa_srvr_msg.add_message( calling_fn => 'FA_TRANSFER_PUB.valid_input', p_log_level_rec => p_log_level_rec);
354: return FALSE;
355: else
356: l_fiscal_year_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;

Line 356: l_fiscal_year_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;

352: if not fa_cache_pkg.fazcbc (X_book => p_asset_hdr_rec.book_type_code, p_log_level_rec => p_log_level_rec) then
353: fa_srvr_msg.add_message( calling_fn => 'FA_TRANSFER_PUB.valid_input', p_log_level_rec => p_log_level_rec);
354: return FALSE;
355: else
356: l_fiscal_year_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;
357: l_fiscal_year := fa_cache_pkg.fazcbc_record.current_fiscal_year;
358: end if;
359:
360: select start_date, end_date

Line 357: l_fiscal_year := fa_cache_pkg.fazcbc_record.current_fiscal_year;

353: fa_srvr_msg.add_message( calling_fn => 'FA_TRANSFER_PUB.valid_input', p_log_level_rec => p_log_level_rec);
354: return FALSE;
355: else
356: l_fiscal_year_name := fa_cache_pkg.fazcbc_record.fiscal_year_name;
357: l_fiscal_year := fa_cache_pkg.fazcbc_record.current_fiscal_year;
358: end if;
359:
360: select start_date, end_date
361: into l_fy_start_Date, l_fy_end_date