DBA Data[Home] [Help]

APPS.PAY_SBC_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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_BALANCE_CLASSI_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 68: hr_utility.set_location('Entering:'||l_proc, 5);

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

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

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

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

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

Line 102: hr_utility.raise_error;

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

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

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

Line 107: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 163: hr_utility.raise_error;

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

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

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

Line 168: hr_utility.raise_error;

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

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

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

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

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

Line 182: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_balance_classi');

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

Line 183: hr_utility.raise_error;

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

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

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

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

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