DBA Data[Home] [Help]

APPS.PAY_SSR_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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_SUB_CLASSI_RULE_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 67: hr_utility.set_location('Entering:'||l_proc, 5);

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

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

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

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

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

Line 101: hr_utility.raise_error;

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

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

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

Line 106: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 159: hr_utility.raise_error;

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

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

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

Line 164: hr_utility.raise_error;

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

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

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

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

173: --
174: -- The object is locked therefore we need to supply a meaningful
175: -- error message.
176: --
177: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
178: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_sub_classi_rules');
179: hr_utility.raise_error;
180: End lck;
181: --

Line 178: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_sub_classi_rules');

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

Line 179: hr_utility.raise_error;

175: -- error message.
176: --
177: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
178: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_sub_classi_rules');
179: hr_utility.raise_error;
180: End lck;
181: --
182: -- ----------------------------------------------------------------------------
183: -- |-----------------------------< convert_args >-----------------------------|

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

196: l_proc varchar2(72) := g_package||'convert_args';
197: --
198: Begin
199: --
200: hr_utility.set_location('Entering:'||l_proc, 5);
201: --
202: -- Convert arguments into local l_rec structure.
203: --
204: l_rec.sub_classification_rule_id := p_sub_classification_rule_id;

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

208: l_rec.exclusion_rule_id := p_exclusion_rule_id;
209: --
210: -- Return the plsql record structure.
211: --
212: hr_utility.set_location(' Leaving:'||l_proc, 10);
213: Return(l_rec);
214: --
215: End convert_args;
216: --