184:
185: h_adj_deprn_exp := 0;
186: h_adj_bonus_deprn_exp := 0;
187: --tk_util.debug('Begin: '||X_mode);
188: select sysdate into h_current_time from dual;
189:
190: if X_mode <> 'HYPOTHETICAL' then
191:
192: -- FOR ALL MODES EXCEPT HYPOTHETICAL, THE ASSET EXISTS IN THE
1088: and deprn_source_code = 'BOOKS'); */
1089:
1090: select count(*)
1091: into first_fy
1092: from dual
1093: where EXISTS (
1094: select 'Y'
1095: from fa_deprn_periods fadp,
1096: fa_deprn_summary fads