59: p_rec.object_version_number := 1; -- Initialise the object version
60: --
61: hr_cal_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: hr_calendars
64: --
65: insert into hr_calendars
66: ( calendar_id,
67: calendar_name,
61: hr_cal_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: hr_calendars
64: --
65: insert into hr_calendars
66: ( calendar_id,
67: calendar_name,
68: pattern_start_position,
69: calendar_start_time,
143: Procedure pre_insert(p_rec in out hr_cal_shd.g_rec_type) is
144: --
145: l_proc varchar2(72) := g_package||'pre_insert';
146: --
147: Cursor C_Sel1 is select hr_calendars_s.nextval from sys.dual;
148: --
149: Begin
150: hr_utility.set_location('Entering:'||l_proc, 5);
151: --