DBA Data[Home] [Help]

APPS.HR_PAT_INS dependencies on HR_PAT_SHD

Line 53: Procedure insert_dml(p_rec in out nocopy hr_pat_shd.g_rec_type) is

49: -- Internal Table Handler Use Only.
50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure insert_dml(p_rec in out nocopy hr_pat_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: hr_pat_shd.g_api_dml := true; -- Set the api dml status

57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: p_rec.object_version_number := 1; -- Initialise the object version
60: --
61: hr_pat_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: hr_patterns
64: --
65: insert into hr_patterns

Line 80: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

76: p_rec.pattern_start_time,
77: p_rec.object_version_number
78: );
79: --
80: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
81: --
82: hr_utility.set_location(' Leaving:'||l_proc, 10);
83: Exception
84: When hr_api.check_integrity_violated Then

Line 86: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

82: hr_utility.set_location(' Leaving:'||l_proc, 10);
83: Exception
84: When hr_api.check_integrity_violated Then
85: -- A check constraint has been violated
86: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
87: hr_pat_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated

Line 87: hr_pat_shd.constraint_error

83: Exception
84: When hr_api.check_integrity_violated Then
85: -- A check constraint has been violated
86: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
87: hr_pat_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

Line 91: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

87: hr_pat_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
92: hr_pat_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated

Line 92: hr_pat_shd.constraint_error

88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
92: hr_pat_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated
96: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

Line 96: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

92: hr_pat_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated
96: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
97: hr_pat_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When Others Then
100: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

Line 97: hr_pat_shd.constraint_error

93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated
96: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
97: hr_pat_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When Others Then
100: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
101: Raise;

Line 100: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

96: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
97: hr_pat_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When Others Then
100: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
101: Raise;
102: End insert_dml;
103: --
104: -- ----------------------------------------------------------------------------

Line 141: Procedure pre_insert(p_rec in out nocopy hr_pat_shd.g_rec_type) is

137: -- Internal Table Handler Use Only.
138: --
139: -- {End Of Comments}
140: -- ----------------------------------------------------------------------------
141: Procedure pre_insert(p_rec in out nocopy hr_pat_shd.g_rec_type) is
142: --
143: l_proc varchar2(72) := g_package||'pre_insert';
144: --
145: Cursor C_Sel1 is select hr_patterns_s.nextval from sys.dual;

Line 192: Procedure post_insert(p_rec in hr_pat_shd.g_rec_type) is

188: -- Internal Table Handler Use Only.
189: --
190: -- {End Of Comments}
191: -- ----------------------------------------------------------------------------
192: Procedure post_insert(p_rec in hr_pat_shd.g_rec_type) is
193: --
194: l_proc varchar2(72) := g_package||'post_insert';
195: --
196: Begin

Line 207: p_rec in out nocopy hr_pat_shd.g_rec_type,

203: -- |---------------------------------< ins >----------------------------------|
204: -- ----------------------------------------------------------------------------
205: Procedure ins
206: (
207: p_rec in out nocopy hr_pat_shd.g_rec_type,
208: p_validate in boolean default false
209: ) is
210: --
211: l_proc varchar2(72) := g_package||'ins';

Line 270: l_rec hr_pat_shd.g_rec_type;

266: p_object_version_number out nocopy number,
267: p_validate in boolean default false
268: ) is
269: --
270: l_rec hr_pat_shd.g_rec_type;
271: l_proc varchar2(72) := g_package||'ins';
272: --
273: Begin
274: hr_utility.set_location('Entering:'||l_proc, 5);

Line 280: hr_pat_shd.convert_args

276: -- Call conversion function to turn arguments into the
277: -- p_rec structure.
278: --
279: l_rec :=
280: hr_pat_shd.convert_args
281: (
282: null,
283: p_pattern_name,
284: p_pattern_start_weekday,