DBA Data[Home] [Help]

APPS.PQH_CEP_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 = 'AVCON_20727608_SELEC_000') 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 = 'AVCON_20727608_SELEC_000') 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 = 'PQH_COPY_ENTITY_PREFS_FK1') 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 = 'AVCON_20727608_SELEC_000') 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 = 'PQH_COPY_ENTITY_PREFS_FK1') 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 = 'AVCON_20727608_SELEC_000') 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 = 'PQH_COPY_ENTITY_PREFS_FK1') 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 = 'AVCON_20727608_SELEC_000') 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 = 'PQH_COPY_ENTITY_PREFS_FK1') 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 = 'PQH_COPY_ENTITY_PREFS_FK1') 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: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK2') Then

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 = 'PQH_COPY_ENTITY_PREFS_FK1') 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: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK1') 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: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 30: hr_utility.raise_error;

26: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK1') 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: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');

Line 32: 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: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_PK') Then

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

29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 34: hr_utility.set_message_token('STEP','15');

30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 35: hr_utility.raise_error;

31: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_FK2') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');

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

33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else

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

34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 39: hr_utility.set_message_token('STEP','20');

35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_PREFS_PK') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;

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

39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --

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

40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 45: hr_utility.raise_error;

41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;

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

44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;
50: --
51: -- ----------------------------------------------------------------------------
52: -- |-----------------------------< api_updating >-----------------------------|

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

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

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

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

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

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

Line 111: hr_utility.raise_error;

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

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

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

Line 116: hr_utility.raise_error;

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

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

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

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

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

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

147: --
148: l_proc varchar2(72) := g_package||'lck';
149: --
150: Begin
151: hr_utility.set_location('Entering:'||l_proc, 5);
152: --
153: -- Add any mandatory argument checking here:
154: -- Example:
155: -- hr_api.mandatory_arg_error

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

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

Line 168: hr_utility.raise_error;

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

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

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

Line 173: hr_utility.raise_error;

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

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

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

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

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

Line 187: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_prefs');

183: -- The object is locked therefore we need to supply a meaningful
184: -- error message.
185: --
186: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
187: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_prefs');
188: hr_utility.raise_error;
189: End lck;
190: --
191: -- ----------------------------------------------------------------------------

Line 188: hr_utility.raise_error;

184: -- error message.
185: --
186: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
187: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_prefs');
188: hr_utility.raise_error;
189: End lck;
190: --
191: -- ----------------------------------------------------------------------------
192: -- |-----------------------------< convert_args >-----------------------------|

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

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

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

217: l_rec.object_version_number := p_object_version_number;
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: --