DBA Data[Home] [Help]

APPS.HR_PAP_INS dependencies on HR_PAP_SHD

Line 53: Procedure insert_dml(p_rec in out hr_pap_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 hr_pap_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: hr_pap_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_pap_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: hr_pattern_purposes
64: --
65: insert into hr_pattern_purposes

Line 78: hr_pap_shd.g_api_dml := false; -- Unset the api dml status

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

Line 84: hr_pap_shd.g_api_dml := false; -- Unset the api dml status

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

Line 85: hr_pap_shd.constraint_error

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

Line 89: hr_pap_shd.g_api_dml := false; -- Unset the api dml status

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

Line 90: hr_pap_shd.constraint_error

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

Line 94: hr_pap_shd.g_api_dml := false; -- Unset the api dml status

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

Line 95: hr_pap_shd.constraint_error

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

Line 98: hr_pap_shd.g_api_dml := false; -- Unset the api dml status

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

Line 139: Procedure pre_insert(p_rec in out hr_pap_shd.g_rec_type) is

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

Line 190: Procedure post_insert(p_rec in hr_pap_shd.g_rec_type) is

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

Line 205: p_rec in out hr_pap_shd.g_rec_type,

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

Line 267: l_rec hr_pap_shd.g_rec_type;

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

Line 277: hr_pap_shd.convert_args

273: -- Call conversion function to turn arguments into the
274: -- p_rec structure.
275: --
276: l_rec :=
277: hr_pap_shd.convert_args
278: (
279: null,
280: p_pattern_purpose,
281: p_pattern_id,