DBA Data[Home] [Help]

APPS.PQH_PTI_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_PTX_INFO_TYPES_PK') 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_PTX_INFO_TYPES_PK') 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: Else

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_PTX_INFO_TYPES_PK') 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: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 24: hr_utility.set_message_token('STEP','5');

20: --
21: If (p_constraint_name = 'PQH_PTX_INFO_TYPES_PK') 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: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PQH_PTX_INFO_TYPES_PK') 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: Else
27: 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('CONSTRAINT_NAME', p_constraint_name);

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

23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: 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('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;

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

24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: 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('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;
32: --

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

25: hr_utility.raise_error;
26: Else
27: 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('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;
32: --
33: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 30: hr_utility.raise_error;

26: Else
27: 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('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;
32: --
33: hr_utility.set_location(' Leaving:'||l_proc, 10);
34: End constraint_error;

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

29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;
32: --
33: hr_utility.set_location(' Leaving:'||l_proc, 10);
34: End constraint_error;
35: --
36: -- ----------------------------------------------------------------------------
37: -- |-----------------------------< api_updating >-----------------------------|

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

59: l_proc varchar2(72) := g_package||'api_updating';
60: l_fct_ret boolean;
61: --
62: Begin
63: hr_utility.set_location('Entering:'||l_proc, 5);
64: --
65: If (
66: p_information_type is null and
67: p_object_version_number is null

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

75: If (
76: p_information_type = g_old_rec.information_type and
77: p_object_version_number = g_old_rec.object_version_number
78: ) Then
79: hr_utility.set_location(l_proc, 10);
80: --
81: -- The g_old_rec is current therefore we must
82: -- set the returning function to true
83: --

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

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

Line 97: hr_utility.raise_error;

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

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

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

Line 102: hr_utility.raise_error;

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

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

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

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

104: hr_utility.set_location(l_proc, 15);
105: l_fct_ret := true;
106: End If;
107: End If;
108: hr_utility.set_location(' Leaving:'||l_proc, 20);
109: Return (l_fct_ret);
110: --
111: End api_updating;
112: --

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

134: --
135: l_proc varchar2(72) := g_package||'lck';
136: --
137: Begin
138: hr_utility.set_location('Entering:'||l_proc, 5);
139: --
140: -- Add any mandatory argument checking here:
141: -- Example:
142: -- hr_api.mandatory_arg_error

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

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

Line 155: hr_utility.raise_error;

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

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

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

Line 160: hr_utility.raise_error;

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

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

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

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

169: --
170: -- The object is locked therefore we need to supply a meaningful
171: -- error message.
172: --
173: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
174: hr_utility.set_message_token('TABLE_NAME', 'pqh_ptx_info_types');
175: hr_utility.raise_error;
176: End lck;
177: --

Line 174: hr_utility.set_message_token('TABLE_NAME', 'pqh_ptx_info_types');

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

Line 175: hr_utility.raise_error;

171: -- error message.
172: --
173: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
174: hr_utility.set_message_token('TABLE_NAME', 'pqh_ptx_info_types');
175: hr_utility.raise_error;
176: End lck;
177: --
178: -- ----------------------------------------------------------------------------
179: -- |-----------------------------< convert_args >-----------------------------|

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

193: l_proc varchar2(72) := g_package||'convert_args';
194: --
195: Begin
196: --
197: hr_utility.set_location('Entering:'||l_proc, 5);
198: --
199: -- Convert arguments into local l_rec structure.
200: --
201: l_rec.information_type := p_information_type;

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

206: l_rec.object_version_number := p_object_version_number;
207: --
208: -- Return the plsql record structure.
209: --
210: hr_utility.set_location(' Leaving:'||l_proc, 10);
211: Return(l_rec);
212: --
213: End convert_args;
214: --