DBA Data[Home] [Help]

APPS.PAY_MGB_UPD dependencies on PAY_MGB_SHD

Line 54: Procedure update_dml(p_rec in out nocopy pay_mgb_shd.g_rec_type) is

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

Line 62: pay_mgb_shd.g_api_dml := true; -- Set the api dml status

58: Begin
59: hr_utility.set_location('Entering:'||l_proc, 5);
60: --
61: --
62: pay_mgb_shd.g_api_dml := true; -- Set the api dml status
63: --
64: -- Update the pay_magnetic_blocks Row
65: --
66: update pay_magnetic_blocks

Line 76: pay_mgb_shd.g_api_dml := false; -- Unset the api dml status

72: cursor_name = p_rec.cursor_name,
73: no_column_returned = p_rec.no_column_returned
74: where magnetic_block_id = p_rec.magnetic_block_id;
75: --
76: pay_mgb_shd.g_api_dml := false; -- Unset the api dml status
77: --
78: hr_utility.set_location(' Leaving:'||l_proc, 10);
79: --
80: Exception

Line 83: pay_mgb_shd.g_api_dml := false; -- Unset the api dml status

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

Line 84: pay_mgb_shd.constraint_error

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

Line 88: pay_mgb_shd.g_api_dml := false; -- Unset the api dml status

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

Line 89: pay_mgb_shd.constraint_error

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

Line 93: pay_mgb_shd.g_api_dml := false; -- Unset the api dml status

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

Line 94: pay_mgb_shd.constraint_error

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

Line 97: pay_mgb_shd.g_api_dml := false; -- Unset the api dml status

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

Line 133: Procedure pre_update(p_rec in pay_mgb_shd.g_rec_type) is

129: -- Internal Development Use Only.
130: --
131: -- {End Of Comments}
132: -- ----------------------------------------------------------------------------
133: Procedure pre_update(p_rec in pay_mgb_shd.g_rec_type) is
134: --
135: l_proc varchar2(72) := g_package||'pre_update';
136: --
137: Begin

Line 175: Procedure post_update(p_rec in pay_mgb_shd.g_rec_type) is

171: -- Internal Development Use Only.
172: --
173: -- {End Of Comments}
174: -- ----------------------------------------------------------------------------
175: Procedure post_update(p_rec in pay_mgb_shd.g_rec_type) is
176: --
177: l_proc varchar2(72) := g_package||'post_update';
178: --
179: Begin

Line 228: Function convert_defs(p_rec in out nocopy pay_mgb_shd.g_rec_type)

224: -- Internal Development Use Only.
225: --
226: -- {End Of Comments}
227: -- ----------------------------------------------------------------------------
228: Function convert_defs(p_rec in out nocopy pay_mgb_shd.g_rec_type)
229: Return pay_mgb_shd.g_rec_type is
230: --
231: l_proc varchar2(72) := g_package||'convert_defs';
232: --

Line 229: Return pay_mgb_shd.g_rec_type is

225: --
226: -- {End Of Comments}
227: -- ----------------------------------------------------------------------------
228: Function convert_defs(p_rec in out nocopy pay_mgb_shd.g_rec_type)
229: Return pay_mgb_shd.g_rec_type is
230: --
231: l_proc varchar2(72) := g_package||'convert_defs';
232: --
233: Begin

Line 244: pay_mgb_shd.g_old_rec.block_name;

240: -- is being used then we must set to the 'current' argument value.
241: --
242: If (p_rec.block_name = hr_api.g_varchar2) then
243: p_rec.block_name :=
244: pay_mgb_shd.g_old_rec.block_name;
245: End If;
246: If (p_rec.main_block_flag = hr_api.g_varchar2) then
247: p_rec.main_block_flag :=
248: pay_mgb_shd.g_old_rec.main_block_flag;

Line 248: pay_mgb_shd.g_old_rec.main_block_flag;

244: pay_mgb_shd.g_old_rec.block_name;
245: End If;
246: If (p_rec.main_block_flag = hr_api.g_varchar2) then
247: p_rec.main_block_flag :=
248: pay_mgb_shd.g_old_rec.main_block_flag;
249: End If;
250: If (p_rec.report_format = hr_api.g_varchar2) then
251: p_rec.report_format :=
252: pay_mgb_shd.g_old_rec.report_format;

Line 252: pay_mgb_shd.g_old_rec.report_format;

248: pay_mgb_shd.g_old_rec.main_block_flag;
249: End If;
250: If (p_rec.report_format = hr_api.g_varchar2) then
251: p_rec.report_format :=
252: pay_mgb_shd.g_old_rec.report_format;
253: End If;
254: If (p_rec.cursor_name = hr_api.g_varchar2) then
255: p_rec.cursor_name :=
256: pay_mgb_shd.g_old_rec.cursor_name;

Line 256: pay_mgb_shd.g_old_rec.cursor_name;

252: pay_mgb_shd.g_old_rec.report_format;
253: End If;
254: If (p_rec.cursor_name = hr_api.g_varchar2) then
255: p_rec.cursor_name :=
256: pay_mgb_shd.g_old_rec.cursor_name;
257: End If;
258: If (p_rec.no_column_returned = hr_api.g_number) then
259: p_rec.no_column_returned :=
260: pay_mgb_shd.g_old_rec.no_column_returned;

Line 260: pay_mgb_shd.g_old_rec.no_column_returned;

256: pay_mgb_shd.g_old_rec.cursor_name;
257: End If;
258: If (p_rec.no_column_returned = hr_api.g_number) then
259: p_rec.no_column_returned :=
260: pay_mgb_shd.g_old_rec.no_column_returned;
261: End If;
262: --
263: -- Return the plsql record structure.
264: --

Line 275: p_rec in out nocopy pay_mgb_shd.g_rec_type,

271: -- |---------------------------------< upd >----------------------------------|
272: -- ----------------------------------------------------------------------------
273: Procedure upd
274: (
275: p_rec in out nocopy pay_mgb_shd.g_rec_type,
276: p_validate in boolean default false
277: ) is
278: --
279: l_proc varchar2(72) := g_package||'upd';

Line 295: pay_mgb_shd.lck

291: End If;
292: --
293: -- We must lock the row which we need to update.
294: --
295: pay_mgb_shd.lck
296: (
297: p_rec.magnetic_block_id
298: );
299: --

Line 350: l_rec pay_mgb_shd.g_rec_type;

346: p_no_column_returned in number default hr_api.g_number,
347: p_validate in boolean default false
348: ) is
349: --
350: l_rec pay_mgb_shd.g_rec_type;
351: l_proc varchar2(72) := g_package||'upd';
352: --
353: Begin
354: hr_utility.set_location('Entering:'||l_proc, 5);

Line 360: pay_mgb_shd.convert_args

356: -- Call conversion function to turn arguments into the
357: -- l_rec structure.
358: --
359: l_rec :=
360: pay_mgb_shd.convert_args
361: (
362: p_magnetic_block_id,
363: p_block_name,
364: p_main_block_flag,