DBA Data[Home] [Help]

APPS.PAY_SDB_SHD dependencies on HR_UTILITY

Line 19: hr_utility.set_location('Entering:'||l_proc, 5);

15: --
16: l_proc varchar2(72) := g_package||'constraint_error';
17: --
18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_FK1') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_FK1') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_PK') Then

Line 23: hr_utility.set_message_token('PROCEDURE', l_proc);

19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_FK1') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 24: hr_utility.set_message_token('STEP','5');

20: --
21: If (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_FK1') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_FK1') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');

Line 27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: Else

Line 28: hr_utility.set_message_token('PROCEDURE', l_proc);

24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 29: hr_utility.set_message_token('STEP','10');

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 30: hr_utility.raise_error;

26: ElsIf (p_constraint_name = 'PAY_SHADOW_DEFINED_BALANCE_PK') Then
27: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;

Line 33: hr_utility.set_message_token('PROCEDURE', l_proc);

29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --

Line 34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

30: hr_utility.raise_error;
31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --
38: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 35: hr_utility.raise_error;

31: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --
38: hr_utility.set_location(' Leaving:'||l_proc, 10);
39: End constraint_error;

Line 38: hr_utility.set_location(' Leaving:'||l_proc, 10);

34: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --
38: hr_utility.set_location(' Leaving:'||l_proc, 10);
39: End constraint_error;
40: --
41: -- ----------------------------------------------------------------------------
42: -- |-----------------------------< api_updating >-----------------------------|

Line 69: hr_utility.set_location('Entering:'||l_proc, 5);

65: l_proc varchar2(72) := g_package||'api_updating';
66: l_fct_ret boolean;
67: --
68: Begin
69: hr_utility.set_location('Entering:'||l_proc, 5);
70: --
71: If (
72: p_defined_balance_id is null and
73: p_object_version_number is null

Line 85: hr_utility.set_location(l_proc, 10);

81: If (
82: p_defined_balance_id = g_old_rec.defined_balance_id and
83: p_object_version_number = g_old_rec.object_version_number
84: ) Then
85: hr_utility.set_location(l_proc, 10);
86: --
87: -- The g_old_rec is current therefore we must
88: -- set the returning function to true
89: --

Line 102: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

98: Close C_Sel1;
99: --
100: -- The primary key is invalid therefore we must error
101: --
102: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
103: hr_utility.raise_error;
104: End If;
105: Close C_Sel1;
106: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 103: hr_utility.raise_error;

99: --
100: -- The primary key is invalid therefore we must error
101: --
102: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
103: hr_utility.raise_error;
104: End If;
105: Close C_Sel1;
106: If (p_object_version_number <> g_old_rec.object_version_number) Then
107: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 107: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

103: hr_utility.raise_error;
104: End If;
105: Close C_Sel1;
106: If (p_object_version_number <> g_old_rec.object_version_number) Then
107: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
108: hr_utility.raise_error;
109: End If;
110: hr_utility.set_location(l_proc, 15);
111: l_fct_ret := true;

Line 108: hr_utility.raise_error;

104: End If;
105: Close C_Sel1;
106: If (p_object_version_number <> g_old_rec.object_version_number) Then
107: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
108: hr_utility.raise_error;
109: End If;
110: hr_utility.set_location(l_proc, 15);
111: l_fct_ret := true;
112: End If;

Line 110: hr_utility.set_location(l_proc, 15);

106: If (p_object_version_number <> g_old_rec.object_version_number) Then
107: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
108: hr_utility.raise_error;
109: End If;
110: hr_utility.set_location(l_proc, 15);
111: l_fct_ret := true;
112: End If;
113: End If;
114: hr_utility.set_location(' Leaving:'||l_proc, 20);

Line 114: hr_utility.set_location(' Leaving:'||l_proc, 20);

110: hr_utility.set_location(l_proc, 15);
111: l_fct_ret := true;
112: End If;
113: End If;
114: hr_utility.set_location(' Leaving:'||l_proc, 20);
115: Return (l_fct_ret);
116: --
117: End api_updating;
118: --

Line 145: hr_utility.set_location('Entering:'||l_proc, 5);

141: --
142: l_proc varchar2(72) := g_package||'lck';
143: --
144: Begin
145: hr_utility.set_location('Entering:'||l_proc, 5);
146: --
147: hr_api.mandatory_arg_error
148: (p_api_name => l_proc,
149: p_argument => 'p_defined_balance_id',

Line 163: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

159: Close C_Sel1;
160: --
161: -- The primary key is invalid therefore we must error
162: --
163: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
164: hr_utility.raise_error;
165: End If;
166: Close C_Sel1;
167: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 164: hr_utility.raise_error;

160: --
161: -- The primary key is invalid therefore we must error
162: --
163: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
164: hr_utility.raise_error;
165: End If;
166: Close C_Sel1;
167: If (p_object_version_number <> g_old_rec.object_version_number) Then
168: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 168: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

164: hr_utility.raise_error;
165: End If;
166: Close C_Sel1;
167: If (p_object_version_number <> g_old_rec.object_version_number) Then
168: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
169: hr_utility.raise_error;
170: End If;
171: --
172: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 169: hr_utility.raise_error;

165: End If;
166: Close C_Sel1;
167: If (p_object_version_number <> g_old_rec.object_version_number) Then
168: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
169: hr_utility.raise_error;
170: End If;
171: --
172: hr_utility.set_location(' Leaving:'||l_proc, 10);
173: --

Line 172: hr_utility.set_location(' Leaving:'||l_proc, 10);

168: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
169: hr_utility.raise_error;
170: End If;
171: --
172: hr_utility.set_location(' Leaving:'||l_proc, 10);
173: --
174: -- We need to trap the ORA LOCK exception
175: --
176: Exception

Line 182: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');

178: --
179: -- The object is locked therefore we need to supply a meaningful
180: -- error message.
181: --
182: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
183: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_defined_balances');
184: hr_utility.raise_error;
185: End lck;
186: --

Line 183: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_defined_balances');

179: -- The object is locked therefore we need to supply a meaningful
180: -- error message.
181: --
182: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
183: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_defined_balances');
184: hr_utility.raise_error;
185: End lck;
186: --
187: -- ----------------------------------------------------------------------------

Line 184: hr_utility.raise_error;

180: -- error message.
181: --
182: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
183: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_defined_balances');
184: hr_utility.raise_error;
185: End lck;
186: --
187: -- ----------------------------------------------------------------------------
188: -- |-----------------------------< convert_args >-----------------------------|

Line 207: hr_utility.set_location('Entering:'||l_proc, 5);

203: l_proc varchar2(72) := g_package||'convert_args';
204: --
205: Begin
206: --
207: hr_utility.set_location('Entering:'||l_proc, 5);
208: --
209: -- Convert arguments into local l_rec structure.
210: --
211: l_rec.defined_balance_id := p_defined_balance_id;

Line 221: hr_utility.set_location(' Leaving:'||l_proc, 10);

217: l_rec.exclusion_rule_id := p_exclusion_rule_id;
218: --
219: -- Return the plsql record structure.
220: --
221: hr_utility.set_location(' Leaving:'||l_proc, 10);
222: Return(l_rec);
223: --
224: End convert_args;
225: --