192: db_last_update_date date;
193:
194: begin
195:
196: user_id := fnd_load_util.owner_id (X_Owner);
197:
198: select count(*)
199: into h_record_exists
200: from fa_period_maps pm
206: into db_last_updated_by, db_last_update_date
207: from fa_period_maps pm
208: where nvl (pm.year_last_period, -9999) = nvl (X_Year_Last_Period, -9999);
209:
210: if (fnd_load_util.upload_test(user_id, x_last_update_date,
211: db_last_updated_by, db_last_update_date,
212: X_CUSTOM_MODE)) then
213:
214: fa_period_maps_pkg.update_row (