DBA Data[Home] [Help]

APPS.PAY_NCR_INS dependencies on PAY_NCR_SHD

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

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

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

80: p_rec.date_input_value_id,
81: p_rec.object_version_number
82: );
83: --
84: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status
85: --
86: hr_utility.set_location(' Leaving:'||l_proc, 10);
87: Exception
88: When hr_api.check_integrity_violated Then

Line 90: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status

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

Line 91: pay_ncr_shd.constraint_error

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

Line 95: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status

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

Line 96: pay_ncr_shd.constraint_error

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

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

96: pay_ncr_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated
100: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status
101: pay_ncr_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When Others Then
104: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status

Line 101: pay_ncr_shd.constraint_error

97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated
100: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status
101: pay_ncr_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When Others Then
104: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status
105: Raise;

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

100: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status
101: pay_ncr_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When Others Then
104: pay_ncr_shd.g_api_dml := false; -- Unset the api dml status
105: Raise;
106: End insert_dml;
107: --
108: -- ----------------------------------------------------------------------------

Line 145: Procedure pre_insert(p_rec in out nocopy pay_ncr_shd.g_rec_type) is

141: -- Internal Row Handler Use Only.
142: --
143: -- {End Of Comments}
144: -- ----------------------------------------------------------------------------
145: Procedure pre_insert(p_rec in out nocopy pay_ncr_shd.g_rec_type) is
146: --
147: l_proc varchar2(72) := g_package||'pre_insert';
148: --
149: Cursor C_Sel1 is select pay_net_calculation_rules_s.nextval from sys.dual;

Line 196: Procedure post_insert(p_rec in pay_ncr_shd.g_rec_type) is

192: -- Internal Row Handler Use Only.
193: --
194: -- {End Of Comments}
195: -- ----------------------------------------------------------------------------
196: Procedure post_insert(p_rec in pay_ncr_shd.g_rec_type) is
197: --
198: l_proc varchar2(72) := g_package||'post_insert';
199: --
200: Begin

Line 240: p_rec in out nocopy pay_ncr_shd.g_rec_type

236: -- |---------------------------------< ins >----------------------------------|
237: -- ----------------------------------------------------------------------------
238: Procedure ins
239: (
240: p_rec in out nocopy pay_ncr_shd.g_rec_type
241: ) is
242: --
243: l_proc varchar2(72) := g_package||'ins';
244: --

Line 279: l_rec pay_ncr_shd.g_rec_type;

275: p_date_input_value_id in number default null,
276: p_object_version_number out nocopy number
277: ) is
278: --
279: l_rec pay_ncr_shd.g_rec_type;
280: l_proc varchar2(72) := g_package||'ins';
281: --
282: Begin
283: hr_utility.set_location('Entering:'||l_proc, 5);

Line 289: pay_ncr_shd.convert_args

285: -- Call conversion function to turn arguments into the
286: -- p_rec structure.
287: --
288: l_rec :=
289: pay_ncr_shd.convert_args
290: (
291: null,
292: p_accrual_plan_id,
293: p_business_group_id,