DBA Data[Home] [Help]

APPS.HR_QSF_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 = 'HR_QUEST_FIELDS_FK') Then
22: fnd_message.set_name('PER', 'PER_52416_QSF_INVAL_TEMP_ID');
23: fnd_message.raise_error;

Line 26: hr_utility.set_message('PER', 'HR_6153_ALL_PROCEDURE_FAIL');

22: fnd_message.set_name('PER', 'PER_52416_QSF_INVAL_TEMP_ID');
23: fnd_message.raise_error;
24: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_PK') Then
25: -- Unlikely to fail.
26: hr_utility.set_message('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
27: hr_utility.set_message_token('PROCEDURE', l_proc);
28: hr_utility.set_message_token('STEP','10');
29: hr_utility.raise_error;
30: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_SQL_FLAG_CHK') Then

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

23: fnd_message.raise_error;
24: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_PK') Then
25: -- Unlikely to fail.
26: hr_utility.set_message('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
27: hr_utility.set_message_token('PROCEDURE', l_proc);
28: hr_utility.set_message_token('STEP','10');
29: hr_utility.raise_error;
30: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_SQL_FLAG_CHK') Then
31: fnd_message.set_name('PER', 'PER_52417_QSF_REQD_FLAG_INVAL');

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

24: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_PK') Then
25: -- Unlikely to fail.
26: hr_utility.set_message('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
27: hr_utility.set_message_token('PROCEDURE', l_proc);
28: hr_utility.set_message_token('STEP','10');
29: hr_utility.raise_error;
30: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_SQL_FLAG_CHK') Then
31: fnd_message.set_name('PER', 'PER_52417_QSF_REQD_FLAG_INVAL');
32: fnd_message.raise_error;

Line 29: hr_utility.raise_error;

25: -- Unlikely to fail.
26: hr_utility.set_message('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
27: hr_utility.set_message_token('PROCEDURE', l_proc);
28: hr_utility.set_message_token('STEP','10');
29: hr_utility.raise_error;
30: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_SQL_FLAG_CHK') Then
31: fnd_message.set_name('PER', 'PER_52417_QSF_REQD_FLAG_INVAL');
32: fnd_message.raise_error;
33: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_TYPE_CHK') Then

Line 37: hr_utility.set_message('PER', 'HR_7877_API_INVALID_CONSTRAINT');

33: ElsIf (p_constraint_name = 'HR_QUEST_FIELDS_TYPE_CHK') Then
34: fnd_message.set_name('PER', 'PER_52418_QSF_TYPE_INVALID');
35: fnd_message.raise_error;
36: Else
37: hr_utility.set_message('PER', 'HR_7877_API_INVALID_CONSTRAINT');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
40: hr_utility.raise_error;
41: End If;

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

34: fnd_message.set_name('PER', 'PER_52418_QSF_TYPE_INVALID');
35: fnd_message.raise_error;
36: Else
37: hr_utility.set_message('PER', 'HR_7877_API_INVALID_CONSTRAINT');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
40: hr_utility.raise_error;
41: End If;
42: --

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

35: fnd_message.raise_error;
36: Else
37: hr_utility.set_message('PER', 'HR_7877_API_INVALID_CONSTRAINT');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
40: hr_utility.raise_error;
41: End If;
42: --
43: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 40: hr_utility.raise_error;

36: Else
37: hr_utility.set_message('PER', 'HR_7877_API_INVALID_CONSTRAINT');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
40: hr_utility.raise_error;
41: End If;
42: --
43: hr_utility.set_location(' Leaving:'||l_proc, 10);
44: End constraint_error;

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

39: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
40: hr_utility.raise_error;
41: End If;
42: --
43: hr_utility.set_location(' Leaving:'||l_proc, 10);
44: End constraint_error;
45: --
46: -- ----------------------------------------------------------------------------
47: -- |-----------------------------< api_updating >-----------------------------|

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

71: l_proc varchar2(72) := g_package||'api_updating';
72: l_fct_ret boolean;
73: --
74: Begin
75: hr_utility.set_location('Entering:'||l_proc, 5);
76: --
77: If (
78: p_field_id is null and
79: p_object_version_number is null

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

87: If (
88: p_field_id = g_old_rec.field_id and
89: p_object_version_number = g_old_rec.object_version_number
90: ) Then
91: hr_utility.set_location(l_proc, 10);
92: --
93: -- The g_old_rec is current therefore we must
94: -- set the returning function to true
95: --

Line 108: hr_utility.set_message('PER', 'HR_7220_INVALID_PRIMARY_KEY');

104: Close C_Sel1;
105: --
106: -- The primary key is invalid therefore we must error
107: --
108: hr_utility.set_message('PER', 'HR_7220_INVALID_PRIMARY_KEY');
109: hr_utility.raise_error;
110: End If;
111: Close C_Sel1;
112: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 109: hr_utility.raise_error;

105: --
106: -- The primary key is invalid therefore we must error
107: --
108: hr_utility.set_message('PER', 'HR_7220_INVALID_PRIMARY_KEY');
109: hr_utility.raise_error;
110: End If;
111: Close C_Sel1;
112: If (p_object_version_number <> g_old_rec.object_version_number) Then
113: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');

Line 113: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');

109: hr_utility.raise_error;
110: End If;
111: Close C_Sel1;
112: If (p_object_version_number <> g_old_rec.object_version_number) Then
113: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');
114: hr_utility.raise_error;
115: End If;
116: hr_utility.set_location(l_proc, 15);
117: l_fct_ret := true;

Line 114: hr_utility.raise_error;

110: End If;
111: Close C_Sel1;
112: If (p_object_version_number <> g_old_rec.object_version_number) Then
113: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');
114: hr_utility.raise_error;
115: End If;
116: hr_utility.set_location(l_proc, 15);
117: l_fct_ret := true;
118: End If;

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

112: If (p_object_version_number <> g_old_rec.object_version_number) Then
113: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');
114: hr_utility.raise_error;
115: End If;
116: hr_utility.set_location(l_proc, 15);
117: l_fct_ret := true;
118: End If;
119: End If;
120: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

116: hr_utility.set_location(l_proc, 15);
117: l_fct_ret := true;
118: End If;
119: End If;
120: hr_utility.set_location(' Leaving:'||l_proc, 20);
121: Return (l_fct_ret);
122: --
123: End api_updating;
124: --

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

148: --
149: l_proc varchar2(72) := g_package||'lck';
150: --
151: Begin
152: hr_utility.set_location('Entering:'||l_proc, 5);
153: --
154: hr_api.mandatory_arg_error
155: (p_api_name => l_proc
156: ,p_argument => 'field_id'

Line 171: hr_utility.set_message('PER', 'HR_7220_INVALID_PRIMARY_KEY');

167: Close C_Sel1;
168: --
169: -- The primary key is invalid therefore we must error
170: --
171: hr_utility.set_message('PER', 'HR_7220_INVALID_PRIMARY_KEY');
172: hr_utility.raise_error;
173: End If;
174: Close C_Sel1;
175: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 172: hr_utility.raise_error;

168: --
169: -- The primary key is invalid therefore we must error
170: --
171: hr_utility.set_message('PER', 'HR_7220_INVALID_PRIMARY_KEY');
172: hr_utility.raise_error;
173: End If;
174: Close C_Sel1;
175: If (p_object_version_number <> g_old_rec.object_version_number) Then
176: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');

Line 176: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');

172: hr_utility.raise_error;
173: End If;
174: Close C_Sel1;
175: If (p_object_version_number <> g_old_rec.object_version_number) Then
176: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');
177: hr_utility.raise_error;
178: End If;
179: --
180: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 177: hr_utility.raise_error;

173: End If;
174: Close C_Sel1;
175: If (p_object_version_number <> g_old_rec.object_version_number) Then
176: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');
177: hr_utility.raise_error;
178: End If;
179: --
180: hr_utility.set_location(' Leaving:'||l_proc, 10);
181: --

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

176: hr_utility.set_message('PER', 'HR_7155_OBJECT_INVALID');
177: hr_utility.raise_error;
178: End If;
179: --
180: hr_utility.set_location(' Leaving:'||l_proc, 10);
181: --
182: -- We need to trap the ORA LOCK exception
183: --
184: Exception

Line 190: hr_utility.set_message('PER', 'HR_7165_OBJECT_LOCKED');

186: --
187: -- The object is locked therefore we need to supply a meaningful
188: -- error message.
189: --
190: hr_utility.set_message('PER', 'HR_7165_OBJECT_LOCKED');
191: hr_utility.set_message_token('TABLE_NAME', 'hr_quest_fields');
192: hr_utility.raise_error;
193: End lck;
194: --

Line 191: hr_utility.set_message_token('TABLE_NAME', 'hr_quest_fields');

187: -- The object is locked therefore we need to supply a meaningful
188: -- error message.
189: --
190: hr_utility.set_message('PER', 'HR_7165_OBJECT_LOCKED');
191: hr_utility.set_message_token('TABLE_NAME', 'hr_quest_fields');
192: hr_utility.raise_error;
193: End lck;
194: --
195: -- ----------------------------------------------------------------------------

Line 192: hr_utility.raise_error;

188: -- error message.
189: --
190: hr_utility.set_message('PER', 'HR_7165_OBJECT_LOCKED');
191: hr_utility.set_message_token('TABLE_NAME', 'hr_quest_fields');
192: hr_utility.raise_error;
193: End lck;
194: --
195: -- ----------------------------------------------------------------------------
196: -- |-----------------------------< convert_args >-----------------------------|

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

212: l_proc varchar2(72) := g_package||'convert_args';
213: --
214: Begin
215: --
216: hr_utility.set_location('Entering:'||l_proc, 5);
217: --
218: -- Convert arguments into local l_rec structure.
219: --
220: l_rec.field_id := p_field_id;

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

227: l_rec.object_version_number := p_object_version_number;
228: --
229: -- Return the plsql record structure.
230: --
231: hr_utility.set_location(' Leaving:'||l_proc, 10);
232: Return(l_rec);
233: --
234: End convert_args;
235: --