DBA Data[Home] [Help]

APPS.PQH_CET_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 = 'PQH_COPY_ENTITY_TXNS_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 = 'PQH_COPY_ENTITY_TXNS_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 = 'PQH_COPY_ENTITY_TXNS_FK2') 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 = 'PQH_COPY_ENTITY_TXNS_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 = 'PQH_COPY_ENTITY_TXNS_FK2') 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 = 'PQH_COPY_ENTITY_TXNS_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 = 'PQH_COPY_ENTITY_TXNS_FK2') 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 = 'PQH_COPY_ENTITY_TXNS_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 = 'PQH_COPY_ENTITY_TXNS_FK2') 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_TXNS_FK2') 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_TXNS_PK') 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_TXNS_FK2') 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_TXNS_PK') 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_TXNS_FK2') 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_TXNS_PK') 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_TXNS_FK2') 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_TXNS_PK') 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_TXNS_PK') 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_COMPLETED_TARGET') 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_TXNS_PK') 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_COMPLETED_TARGET') Then
37: hr_utility.set_message(8302, 'PQH_COMPLETED_TARGET');

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

30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_TXNS_PK') 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_COMPLETED_TARGET') Then
37: hr_utility.set_message(8302, 'PQH_COMPLETED_TARGET');
38: hr_utility.raise_error;

Line 35: hr_utility.raise_error;

31: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_TXNS_PK') 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_COMPLETED_TARGET') Then
37: hr_utility.set_message(8302, 'PQH_COMPLETED_TARGET');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_TXNS_UK') Then

Line 37: hr_utility.set_message(8302, 'PQH_COMPLETED_TARGET');

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_COMPLETED_TARGET') Then
37: hr_utility.set_message(8302, 'PQH_COMPLETED_TARGET');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_TXNS_UK') Then
40: hr_utility.set_message(8302, 'PQH_GEN_UNQUE_NAME');
41: hr_utility.raise_error;

Line 38: hr_utility.raise_error;

34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PQH_COMPLETED_TARGET') Then
37: hr_utility.set_message(8302, 'PQH_COMPLETED_TARGET');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_TXNS_UK') Then
40: hr_utility.set_message(8302, 'PQH_GEN_UNQUE_NAME');
41: hr_utility.raise_error;
42: Else

Line 40: hr_utility.set_message(8302, 'PQH_GEN_UNQUE_NAME');

36: ElsIf (p_constraint_name = 'PQH_COMPLETED_TARGET') Then
37: hr_utility.set_message(8302, 'PQH_COMPLETED_TARGET');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_TXNS_UK') Then
40: hr_utility.set_message(8302, 'PQH_GEN_UNQUE_NAME');
41: hr_utility.raise_error;
42: Else
43: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
44: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 41: hr_utility.raise_error;

37: hr_utility.set_message(8302, 'PQH_COMPLETED_TARGET');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_TXNS_UK') Then
40: hr_utility.set_message(8302, 'PQH_GEN_UNQUE_NAME');
41: hr_utility.raise_error;
42: Else
43: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

39: ElsIf (p_constraint_name = 'PQH_COPY_ENTITY_TXNS_UK') Then
40: hr_utility.set_message(8302, 'PQH_GEN_UNQUE_NAME');
41: hr_utility.raise_error;
42: Else
43: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
46: hr_utility.raise_error;
47: End If;

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

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

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

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

Line 46: hr_utility.raise_error;

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

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

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

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

84: l_proc varchar2(72) := g_package||'api_updating';
85: l_fct_ret boolean;
86: --
87: Begin
88: hr_utility.set_location('Entering:'||l_proc, 5);
89: --
90: If (
91: p_copy_entity_txn_id is null and
92: p_object_version_number is null

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

100: If (
101: p_copy_entity_txn_id = g_old_rec.copy_entity_txn_id and
102: p_object_version_number = g_old_rec.object_version_number
103: ) Then
104: hr_utility.set_location(l_proc, 10);
105: --
106: -- The g_old_rec is current therefore we must
107: -- set the returning function to true
108: --

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

117: Close C_Sel1;
118: --
119: -- The primary key is invalid therefore we must error
120: --
121: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
122: hr_utility.raise_error;
123: End If;
124: Close C_Sel1;
125: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 122: hr_utility.raise_error;

118: --
119: -- The primary key is invalid therefore we must error
120: --
121: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
122: hr_utility.raise_error;
123: End If;
124: Close C_Sel1;
125: If (p_object_version_number <> g_old_rec.object_version_number) Then
126: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

122: hr_utility.raise_error;
123: End If;
124: Close C_Sel1;
125: If (p_object_version_number <> g_old_rec.object_version_number) Then
126: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
127: hr_utility.raise_error;
128: End If;
129: hr_utility.set_location(l_proc, 15);
130: l_fct_ret := true;

Line 127: hr_utility.raise_error;

123: End If;
124: Close C_Sel1;
125: If (p_object_version_number <> g_old_rec.object_version_number) Then
126: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
127: hr_utility.raise_error;
128: End If;
129: hr_utility.set_location(l_proc, 15);
130: l_fct_ret := true;
131: End If;

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

125: If (p_object_version_number <> g_old_rec.object_version_number) Then
126: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
127: hr_utility.raise_error;
128: End If;
129: hr_utility.set_location(l_proc, 15);
130: l_fct_ret := true;
131: End If;
132: End If;
133: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

129: hr_utility.set_location(l_proc, 15);
130: l_fct_ret := true;
131: End If;
132: End If;
133: hr_utility.set_location(' Leaving:'||l_proc, 20);
134: Return (l_fct_ret);
135: --
136: End api_updating;
137: --

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

168: --
169: l_proc varchar2(72) := g_package||'lck';
170: --
171: Begin
172: hr_utility.set_location('Entering:'||l_proc, 5);
173: --
174: -- Add any mandatory argument checking here:
175: -- Example:
176: hr_api.mandatory_arg_error

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

184: Close C_Sel1;
185: --
186: -- The primary key is invalid therefore we must error
187: --
188: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
189: hr_utility.raise_error;
190: End If;
191: Close C_Sel1;
192: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 189: hr_utility.raise_error;

185: --
186: -- The primary key is invalid therefore we must error
187: --
188: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
189: hr_utility.raise_error;
190: End If;
191: Close C_Sel1;
192: If (p_object_version_number <> g_old_rec.object_version_number) Then
193: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

189: hr_utility.raise_error;
190: End If;
191: Close C_Sel1;
192: If (p_object_version_number <> g_old_rec.object_version_number) Then
193: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
194: hr_utility.raise_error;
195: End If;
196: --
197: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 194: hr_utility.raise_error;

190: End If;
191: Close C_Sel1;
192: If (p_object_version_number <> g_old_rec.object_version_number) Then
193: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
194: hr_utility.raise_error;
195: End If;
196: --
197: hr_utility.set_location(' Leaving:'||l_proc, 10);
198: --

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

193: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
194: hr_utility.raise_error;
195: End If;
196: --
197: hr_utility.set_location(' Leaving:'||l_proc, 10);
198: --
199: -- We need to trap the ORA LOCK exception
200: --
201: Exception

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

203: --
204: -- The object is locked therefore we need to supply a meaningful
205: -- error message.
206: --
207: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
208: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_txns');
209: hr_utility.raise_error;
210: End lck;
211: --

Line 208: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_txns');

204: -- The object is locked therefore we need to supply a meaningful
205: -- error message.
206: --
207: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
208: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_txns');
209: hr_utility.raise_error;
210: End lck;
211: --
212: -- ----------------------------------------------------------------------------

Line 209: hr_utility.raise_error;

205: -- error message.
206: --
207: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
208: hr_utility.set_message_token('TABLE_NAME', 'pqh_copy_entity_txns');
209: hr_utility.raise_error;
210: End lck;
211: --
212: -- ----------------------------------------------------------------------------
213: -- |-----------------------------< convert_args >-----------------------------|

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

236: l_proc varchar2(72) := g_package||'convert_args';
237: --
238: Begin
239: --
240: hr_utility.set_location('Entering:'||l_proc, 5);
241: --
242: -- Convert arguments into local l_rec structure.
243: --
244: l_rec.copy_entity_txn_id := p_copy_entity_txn_id;

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

258: l_rec.object_version_number := p_object_version_number;
259: --
260: -- Return the plsql record structure.
261: --
262: hr_utility.set_location(' Leaving:'||l_proc, 10);
263: Return(l_rec);
264: --
265: End convert_args;
266: --