DBA Data[Home] [Help]

APPS.PER_SSM_SHD dependencies on HR_UTILITY

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

14: --
15: l_proc varchar2(72) := g_package||'return_api_dml_status';
16: --
17: Begin
18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);

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

18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);
23: End return_api_dml_status;
24: --
25: -- ----------------------------------------------------------------------------
26: -- |---------------------------< constraint_error >---------------------------|

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

30: --
31: l_proc varchar2(72) := g_package||'Constraint_error';
32: --
33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: --hr_utility.set_message_token('PROCEDURE', l_proc);

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK1') 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','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK2') Then

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

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK1') 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','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

35: --
36: If (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK1') 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','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: --hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK1') 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','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: --hr_utility.set_message_token('PROCEDURE', l_proc);
44: --hr_utility.set_message_token('STEP','10');

Line 42: 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','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: --hr_utility.set_message_token('PROCEDURE', l_proc);
44: --hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK3') Then

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

39: --hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: --hr_utility.set_message_token('PROCEDURE', l_proc);
44: --hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK3') Then
47: hr_utility.set_message(801,'HR_6153_ALL_PROCEDURE_FAIL');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: --hr_utility.set_message_token('PROCEDURE', l_proc);
44: --hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK3') Then
47: hr_utility.set_message(801,'HR_6153_ALL_PROCEDURE_FAIL');
48: --hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: --hr_utility.set_message_token('PROCEDURE', l_proc);
44: --hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK3') Then
47: hr_utility.set_message(801,'HR_6153_ALL_PROCEDURE_FAIL');
48: --hr_utility.set_message_token('PROCEDURE', l_proc);
49: --hr_utility.set_message_token('STEP','15');

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

43: --hr_utility.set_message_token('PROCEDURE', l_proc);
44: --hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK3') Then
47: hr_utility.set_message(801,'HR_6153_ALL_PROCEDURE_FAIL');
48: --hr_utility.set_message_token('PROCEDURE', l_proc);
49: --hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK4') Then

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

44: --hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK3') Then
47: hr_utility.set_message(801,'HR_6153_ALL_PROCEDURE_FAIL');
48: --hr_utility.set_message_token('PROCEDURE', l_proc);
49: --hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK4') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK3') Then
47: hr_utility.set_message(801,'HR_6153_ALL_PROCEDURE_FAIL');
48: --hr_utility.set_message_token('PROCEDURE', l_proc);
49: --hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK4') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: --hr_utility.set_message_token('PROCEDURE', l_proc);

Line 50: hr_utility.raise_error;

46: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK3') Then
47: hr_utility.set_message(801,'HR_6153_ALL_PROCEDURE_FAIL');
48: --hr_utility.set_message_token('PROCEDURE', l_proc);
49: --hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK4') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: --hr_utility.set_message_token('PROCEDURE', l_proc);
54: --hr_utility.set_message_token('STEP','20');

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

48: --hr_utility.set_message_token('PROCEDURE', l_proc);
49: --hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK4') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: --hr_utility.set_message_token('PROCEDURE', l_proc);
54: --hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK5') Then

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

49: --hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK4') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: --hr_utility.set_message_token('PROCEDURE', l_proc);
54: --hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK5') Then
57: hr_utility.set_location(l_proc, 7);

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

50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK4') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: --hr_utility.set_message_token('PROCEDURE', l_proc);
54: --hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK5') Then
57: hr_utility.set_location(l_proc, 7);
58: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 55: hr_utility.raise_error;

51: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK4') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: --hr_utility.set_message_token('PROCEDURE', l_proc);
54: --hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK5') Then
57: hr_utility.set_location(l_proc, 7);
58: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
59: --hr_utility.set_message_token('PROCEDURE', l_proc);

Line 57: hr_utility.set_location(l_proc, 7);

53: --hr_utility.set_message_token('PROCEDURE', l_proc);
54: --hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK5') Then
57: hr_utility.set_location(l_proc, 7);
58: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
59: --hr_utility.set_message_token('PROCEDURE', l_proc);
60: --hr_utility.set_message_token('STEP','25');
61: hr_utility.raise_error;

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

54: --hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK5') Then
57: hr_utility.set_location(l_proc, 7);
58: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
59: --hr_utility.set_message_token('PROCEDURE', l_proc);
60: --hr_utility.set_message_token('STEP','25');
61: hr_utility.raise_error;
62: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_UK') Then

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

55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK5') Then
57: hr_utility.set_location(l_proc, 7);
58: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
59: --hr_utility.set_message_token('PROCEDURE', l_proc);
60: --hr_utility.set_message_token('STEP','25');
61: hr_utility.raise_error;
62: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_UK') Then
63: hr_utility.set_message(801, 'This salary survey mapping already exists');

Line 60: --hr_utility.set_message_token('STEP','25');

56: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_FK5') Then
57: hr_utility.set_location(l_proc, 7);
58: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
59: --hr_utility.set_message_token('PROCEDURE', l_proc);
60: --hr_utility.set_message_token('STEP','25');
61: hr_utility.raise_error;
62: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_UK') Then
63: hr_utility.set_message(801, 'This salary survey mapping already exists');
64: --hr_utility.set_message_token('PROCEDURE', l_proc);

Line 61: hr_utility.raise_error;

57: hr_utility.set_location(l_proc, 7);
58: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
59: --hr_utility.set_message_token('PROCEDURE', l_proc);
60: --hr_utility.set_message_token('STEP','25');
61: hr_utility.raise_error;
62: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_UK') Then
63: hr_utility.set_message(801, 'This salary survey mapping already exists');
64: --hr_utility.set_message_token('PROCEDURE', l_proc);
65: --hr_utility.set_message_token('STEP','30');

Line 63: hr_utility.set_message(801, 'This salary survey mapping already exists');

59: --hr_utility.set_message_token('PROCEDURE', l_proc);
60: --hr_utility.set_message_token('STEP','25');
61: hr_utility.raise_error;
62: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_UK') Then
63: hr_utility.set_message(801, 'This salary survey mapping already exists');
64: --hr_utility.set_message_token('PROCEDURE', l_proc);
65: --hr_utility.set_message_token('STEP','30');
66: hr_utility.raise_error;
67: Else

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

60: --hr_utility.set_message_token('STEP','25');
61: hr_utility.raise_error;
62: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_UK') Then
63: hr_utility.set_message(801, 'This salary survey mapping already exists');
64: --hr_utility.set_message_token('PROCEDURE', l_proc);
65: --hr_utility.set_message_token('STEP','30');
66: hr_utility.raise_error;
67: Else
68: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 65: --hr_utility.set_message_token('STEP','30');

61: hr_utility.raise_error;
62: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_UK') Then
63: hr_utility.set_message(801, 'This salary survey mapping already exists');
64: --hr_utility.set_message_token('PROCEDURE', l_proc);
65: --hr_utility.set_message_token('STEP','30');
66: hr_utility.raise_error;
67: Else
68: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
69: --hr_utility.set_message_token('PROCEDURE', l_proc);

Line 66: hr_utility.raise_error;

62: ElsIf (p_constraint_name = 'PER_SALARY_SURVEY_MAPPINGS_UK') Then
63: hr_utility.set_message(801, 'This salary survey mapping already exists');
64: --hr_utility.set_message_token('PROCEDURE', l_proc);
65: --hr_utility.set_message_token('STEP','30');
66: hr_utility.raise_error;
67: Else
68: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
69: --hr_utility.set_message_token('PROCEDURE', l_proc);
70: --hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

64: --hr_utility.set_message_token('PROCEDURE', l_proc);
65: --hr_utility.set_message_token('STEP','30');
66: hr_utility.raise_error;
67: Else
68: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
69: --hr_utility.set_message_token('PROCEDURE', l_proc);
70: --hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
71: hr_utility.raise_error;
72: End If;

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

65: --hr_utility.set_message_token('STEP','30');
66: hr_utility.raise_error;
67: Else
68: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
69: --hr_utility.set_message_token('PROCEDURE', l_proc);
70: --hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
71: hr_utility.raise_error;
72: End If;
73: --

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

66: hr_utility.raise_error;
67: Else
68: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
69: --hr_utility.set_message_token('PROCEDURE', l_proc);
70: --hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
71: hr_utility.raise_error;
72: End If;
73: --
74: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 71: hr_utility.raise_error;

67: Else
68: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
69: --hr_utility.set_message_token('PROCEDURE', l_proc);
70: --hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
71: hr_utility.raise_error;
72: End If;
73: --
74: hr_utility.set_location(' Leaving:'||l_proc, 10);
75: End constraint_error;

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

70: --hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
71: hr_utility.raise_error;
72: End If;
73: --
74: hr_utility.set_location(' Leaving:'||l_proc, 10);
75: End constraint_error;
76: --
77: -- ----------------------------------------------------------------------------
78: -- |-----------------------------< api_updating >-----------------------------|

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

125: l_proc varchar2(72) := g_package||'api_updating';
126: l_fct_ret boolean;
127: --
128: Begin
129: hr_utility.set_location('Entering:'||l_proc, 5);
130: --
131: If (p_object_version_number is null )
132: and ( p_salary_survey_mapping_id is null
133: ) Then

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

139: Else
140: If ( p_object_version_number = g_old_rec.object_version_number )
141: and ( p_salary_survey_mapping_id = g_old_rec.salary_survey_mapping_id
142: ) Then
143: hr_utility.set_location(l_proc, 10);
144: --
145: -- The g_old_rec is current therefore we must
146: -- set the returning function to true
147: --

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

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

Line 161: hr_utility.raise_error;

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

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

161: hr_utility.raise_error;
162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;

Line 166: hr_utility.raise_error;

162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;

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

164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;
171: End If;
172: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;
171: End If;
172: hr_utility.set_location(' Leaving:'||l_proc, 20);
173: Return (l_fct_ret);
174: --
175: End api_updating;
176: --

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

223: --
224: l_proc varchar2(72) := g_package||'lck';
225: --
226: Begin
227: hr_utility.set_location('Entering:'||l_proc, 5);
228: --
229: -- Add any mandatory argument checking here:
230: -- Example:
231: -- hr_api.mandatory_arg_error

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

239: Close C_Sel1;
240: --
241: -- The primary key is invalid therefore we must error
242: --
243: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
244: hr_utility.raise_error;
245: End If;
246: Close C_Sel1;
247: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 244: hr_utility.raise_error;

240: --
241: -- The primary key is invalid therefore we must error
242: --
243: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
244: hr_utility.raise_error;
245: End If;
246: Close C_Sel1;
247: If (p_object_version_number <> g_old_rec.object_version_number) Then
248: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

244: hr_utility.raise_error;
245: End If;
246: Close C_Sel1;
247: If (p_object_version_number <> g_old_rec.object_version_number) Then
248: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
249: hr_utility.raise_error;
250: End If;
251: --
252: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 249: hr_utility.raise_error;

245: End If;
246: Close C_Sel1;
247: If (p_object_version_number <> g_old_rec.object_version_number) Then
248: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
249: hr_utility.raise_error;
250: End If;
251: --
252: hr_utility.set_location(' Leaving:'||l_proc, 10);
253: --

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

248: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
249: hr_utility.raise_error;
250: End If;
251: --
252: hr_utility.set_location(' Leaving:'||l_proc, 10);
253: --
254: -- We need to trap the ORA LOCK exception
255: --
256: Exception

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

258: --
259: -- The object is locked therefore we need to supply a meaningful
260: -- error message.
261: --
262: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
263: hr_utility.set_message_token('TABLE_NAME', 'per_salary_survey_mappings');
264: hr_utility.raise_error;
265: End lck;
266: --

Line 263: hr_utility.set_message_token('TABLE_NAME', 'per_salary_survey_mappings');

259: -- The object is locked therefore we need to supply a meaningful
260: -- error message.
261: --
262: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
263: hr_utility.set_message_token('TABLE_NAME', 'per_salary_survey_mappings');
264: hr_utility.raise_error;
265: End lck;
266: --
267: -- ----------------------------------------------------------------------------

Line 264: hr_utility.raise_error;

260: -- error message.
261: --
262: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
263: hr_utility.set_message_token('TABLE_NAME', 'per_salary_survey_mappings');
264: hr_utility.raise_error;
265: End lck;
266: --
267: -- ----------------------------------------------------------------------------
268: -- |-----------------------------< convert_args >-----------------------------|

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

307: l_proc varchar2(72) := g_package||'convert_args';
308: --
309: Begin
310: --
311: hr_utility.set_location('Entering:'||l_proc, 5);
312: --
313: -- Convert arguments into local l_rec structure.
314: --
315: l_rec.object_version_number := p_object_version_number;

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

345: l_rec.attribute20 := p_attribute20;
346: --
347: -- Return the plsql record structure.
348: --
349: hr_utility.set_location(' Leaving:'||l_proc, 10);
350: Return(l_rec);
351: --
352: End convert_args;
353: --