DBA Data[Home] [Help]

APPS.FA_RETIREMENT_ADJUSTMENT_PUB dependencies on FA_ASSET_VAL_PVT

Line 14: -- This private function calls fa_asset_val_pvt.validate_over_depreciate

10:
11: g_log_level_rec fa_api_types.log_level_rec_type;
12:
13: --*********************** Private functions ******************************--
14: -- This private function calls fa_asset_val_pvt.validate_over_depreciate
15: -- to determine this retirement adjustment is valid or not
16: FUNCTION validate_over_depreciate
17: (p_asset_hdr_rec FA_API_TYPES.asset_hdr_rec_type,
18: p_asset_type_rec FA_API_TYPES.asset_type_rec_type,

Line 104: if not FA_ASSET_VAL_PVT.validate_asset_book

100: raise ret_adj_err;
101: end if;
102:
103: -- verify the asset exists in the book already
104: if not FA_ASSET_VAL_PVT.validate_asset_book
105: (p_transaction_type_code => 'ADJUSTMENT',
106: p_book_type_code => px_asset_hdr_rec.book_type_code,
107: p_asset_id => px_asset_hdr_rec.asset_id,
108: p_calling_fn => l_calling_fn,

Line 115: if not FA_ASSET_VAL_PVT.validate_group_asset_id

111: raise ret_adj_err;
112: end if;
113:
114: -- Validate asset_type is Group
115: if not FA_ASSET_VAL_PVT.validate_group_asset_id
116: (p_asset_id => px_asset_hdr_rec.asset_id,
117: p_log_level_rec => g_log_level_rec) then
118: raise ret_adj_err;
119: end if;

Line 298: if not FA_ASSET_VAL_PVT.validate_ccid(p_book_type_code => fa_cache_pkg.fazcbc_record.book_type_code,

294: greatest(l_period_rec.calendar_period_open_date,
295: least(sysdate,l_period_rec.calendar_period_close_date));
296:
297: if p_cost_of_removal_ccid is not null then
298: if not FA_ASSET_VAL_PVT.validate_ccid(p_book_type_code => fa_cache_pkg.fazcbc_record.book_type_code,
299: p_ccid => p_cost_of_removal_ccid,
300: p_gl_chart_id => fa_cache_pkg.fazcbc_record.accounting_flex_structure,
301: p_ledger_id => px_asset_hdr_rec.set_of_books_id,
302: p_validation_date => px_trans_rec.transaction_date_entered,

Line 310: if not FA_ASSET_VAL_PVT.validate_ccid(p_book_type_code => fa_cache_pkg.fazcbc_record.book_type_code,

306: return false;
307: end if;
308: end if;
309: if p_proceeds_ccid is not null then
310: if not FA_ASSET_VAL_PVT.validate_ccid(p_book_type_code => fa_cache_pkg.fazcbc_record.book_type_code,
311: p_ccid => p_proceeds_ccid,
312: p_gl_chart_id => fa_cache_pkg.fazcbc_record.accounting_flex_structure,
313: p_ledger_id => px_asset_hdr_rec.set_of_books_id,
314: p_validation_date => px_trans_rec.transaction_date_entered,

Line 336: if not FA_ASSET_VAL_PVT.validate_period_of_addition

332:
333:
334: -- also check if this is the period of addition - use absolute mode for adjustments
335: -- we will only clear cost outside period of addition
336: if not FA_ASSET_VAL_PVT.validate_period_of_addition
337: (p_asset_id => l_asset_hdr_rec.asset_id,
338: p_book => l_asset_hdr_rec.book_type_code,
339: p_mode => 'ABSOLUTE',
340: px_period_of_addition => l_asset_hdr_rec.period_of_addition,

Line 451: if not FA_ASSET_VAL_PVT.validate_disabled_flag

447: raise ret_adj_err;
448: end if;
449:
450: --HH validate disabled_flag
451: if not FA_ASSET_VAL_PVT.validate_disabled_flag
452: (p_group_asset_id => l_mrc_asset_hdr_rec.asset_id,
453: p_book_type_code => l_mrc_asset_hdr_rec.book_type_code,
454: p_old_flag => l_asset_fin_rec_old.disabled_flag,
455: p_new_flag => l_asset_fin_rec_old.disabled_flag,

Line 589: if (not fa_asset_val_pvt.validate_over_depreciate(

585: l_deprn_reserve_new := nvl(p_asset_deprn_rec.deprn_reserve, 0) +
586: nvl(p_proceeds_of_sale, 0) -
587: nvl(p_cost_of_removal, 0);
588:
589: if (not fa_asset_val_pvt.validate_over_depreciate(
590: p_asset_hdr_rec => p_asset_hdr_rec,
591: p_asset_type => p_asset_type_rec.asset_type,
592: p_over_depreciate_option => p_asset_fin_rec.over_depreciate_option,
593: p_adjusted_recoverable_cost => p_asset_fin_rec.adjusted_recoverable_cost,