DBA Data[Home] [Help]

APPS.HR_AHC_INS dependencies on HR_AHC_SHD

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

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

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

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

94: p_rec.application_id,
95: p_rec.app_install_status
96: );
97: --
98: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
99: --
100: hr_utility.set_location(' Leaving:'||l_proc, 10);
101: Exception
102: When hr_api.check_integrity_violated Then

Line 104: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status

100: hr_utility.set_location(' Leaving:'||l_proc, 10);
101: Exception
102: When hr_api.check_integrity_violated Then
103: -- A check constraint has been violated
104: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
105: hr_ahc_shd.constraint_error
106: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
107: When hr_api.parent_integrity_violated Then
108: -- Parent integrity has been violated

Line 105: hr_ahc_shd.constraint_error

101: Exception
102: When hr_api.check_integrity_violated Then
103: -- A check constraint has been violated
104: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
105: hr_ahc_shd.constraint_error
106: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
107: When hr_api.parent_integrity_violated Then
108: -- Parent integrity has been violated
109: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status

Line 109: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status

105: hr_ahc_shd.constraint_error
106: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
107: When hr_api.parent_integrity_violated Then
108: -- Parent integrity has been violated
109: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
110: hr_ahc_shd.constraint_error
111: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.unique_integrity_violated Then
113: -- Unique integrity has been violated

Line 110: hr_ahc_shd.constraint_error

106: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
107: When hr_api.parent_integrity_violated Then
108: -- Parent integrity has been violated
109: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
110: hr_ahc_shd.constraint_error
111: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.unique_integrity_violated Then
113: -- Unique integrity has been violated
114: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status

Line 114: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status

110: hr_ahc_shd.constraint_error
111: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.unique_integrity_violated Then
113: -- Unique integrity has been violated
114: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
115: hr_ahc_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When Others Then
118: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status

Line 115: hr_ahc_shd.constraint_error

111: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.unique_integrity_violated Then
113: -- Unique integrity has been violated
114: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
115: hr_ahc_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When Others Then
118: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
119: Raise;

Line 118: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status

114: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
115: hr_ahc_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When Others Then
118: hr_ahc_shd.g_api_dml := false; -- Unset the api dml status
119: Raise;
120: End insert_dml;
121: --
122: -- ----------------------------------------------------------------------------

Line 159: Procedure pre_insert(p_rec in out nocopy hr_ahc_shd.g_rec_type) is

155: -- Internal Row Handler Use Only.
156: --
157: -- {End Of Comments}
158: -- ----------------------------------------------------------------------------
159: Procedure pre_insert(p_rec in out nocopy hr_ahc_shd.g_rec_type) is
160: --
161: l_proc varchar2(72) := g_package||'pre_insert';
162: --
163: Cursor C_Sel1 is select hr_api_hook_calls_s.nextval from sys.dual;

Line 210: Procedure post_insert(p_rec in hr_ahc_shd.g_rec_type) is

206: -- Internal Row Handler Use Only.
207: --
208: -- {End Of Comments}
209: -- ----------------------------------------------------------------------------
210: Procedure post_insert(p_rec in hr_ahc_shd.g_rec_type) is
211: --
212: l_proc varchar2(72) := g_package||'post_insert';
213: --
214: Begin

Line 225: p_rec in out nocopy hr_ahc_shd.g_rec_type,

221: -- |---------------------------------< ins >----------------------------------|
222: -- ----------------------------------------------------------------------------
223: Procedure ins
224: (
225: p_rec in out nocopy hr_ahc_shd.g_rec_type,
226: p_effective_date in date
227: ) is
228: --
229: l_proc varchar2(72) := g_package||'ins';

Line 273: l_rec hr_ahc_shd.g_rec_type;

269: p_application_id in number default null,
270: p_app_install_status in varchar2 default null
271: ) is
272: --
273: l_rec hr_ahc_shd.g_rec_type;
274: l_proc varchar2(72) := g_package||'ins';
275: --
276: Begin
277: hr_utility.set_location('Entering:'||l_proc, 5);

Line 283: hr_ahc_shd.convert_args

279: -- Call conversion function to turn arguments into the
280: -- p_rec structure.
281: --
282: l_rec :=
283: hr_ahc_shd.convert_args
284: (
285: null,
286: p_api_hook_id,
287: p_api_hook_call_type,