DBA Data[Home] [Help]

APPS.PER_ZA_TRA_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_QUALIFICATIONS_FK1') Then
37: hr_utility.set_message(801, 'HR_51850_tra_ATT_ID_FK');
38: hr_utility.raise_error;

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PER_QUALIFICATIONS_FK1') Then
37: hr_utility.set_message(801, 'HR_51850_tra_ATT_ID_FK');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK2') Then
40: hr_utility.set_message(801, 'HR_51851_tra_QUAL_TYPE_ID_FK');
41: hr_utility.raise_error;

Line 38: hr_utility.raise_error;

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PER_QUALIFICATIONS_FK1') Then
37: hr_utility.set_message(801, 'HR_51850_tra_ATT_ID_FK');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK2') Then
40: hr_utility.set_message(801, 'HR_51851_tra_QUAL_TYPE_ID_FK');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK3') Then

Line 40: hr_utility.set_message(801, 'HR_51851_tra_QUAL_TYPE_ID_FK');

36: If (p_constraint_name = 'PER_QUALIFICATIONS_FK1') Then
37: hr_utility.set_message(801, 'HR_51850_tra_ATT_ID_FK');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK2') Then
40: hr_utility.set_message(801, 'HR_51851_tra_QUAL_TYPE_ID_FK');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK3') Then
43: hr_utility.set_message(801, 'HR_51852_tra_BUS_GRP_ID_FK');
44: hr_utility.raise_error;

Line 41: hr_utility.raise_error;

37: hr_utility.set_message(801, 'HR_51850_tra_ATT_ID_FK');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK2') Then
40: hr_utility.set_message(801, 'HR_51851_tra_QUAL_TYPE_ID_FK');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK3') Then
43: hr_utility.set_message(801, 'HR_51852_tra_BUS_GRP_ID_FK');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_UK') Then

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

39: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK2') Then
40: hr_utility.set_message(801, 'HR_51851_tra_QUAL_TYPE_ID_FK');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK3') Then
43: hr_utility.set_message(801, 'HR_51852_tra_BUS_GRP_ID_FK');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_UK') Then
46: hr_utility.set_message(801,'HR_51847_tra_REC_EXISTS');
47: hr_utility.raise_error;

Line 44: hr_utility.raise_error;

40: hr_utility.set_message(801, 'HR_51851_tra_QUAL_TYPE_ID_FK');
41: hr_utility.raise_error;
42: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK3') Then
43: hr_utility.set_message(801, 'HR_51852_tra_BUS_GRP_ID_FK');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_UK') Then
46: hr_utility.set_message(801,'HR_51847_tra_REC_EXISTS');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_tra_CHK_DATES') Then

Line 46: hr_utility.set_message(801,'HR_51847_tra_REC_EXISTS');

42: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_FK3') Then
43: hr_utility.set_message(801, 'HR_51852_tra_BUS_GRP_ID_FK');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_UK') Then
46: hr_utility.set_message(801,'HR_51847_tra_REC_EXISTS');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_tra_CHK_DATES') Then
49: hr_utility.set_message(801, 'HR_51853_tra_DATE_INV');
50: hr_utility.raise_error;

Line 47: hr_utility.raise_error;

43: hr_utility.set_message(801, 'HR_51852_tra_BUS_GRP_ID_FK');
44: hr_utility.raise_error;
45: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_UK') Then
46: hr_utility.set_message(801,'HR_51847_tra_REC_EXISTS');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_tra_CHK_DATES') Then
49: hr_utility.set_message(801, 'HR_51853_tra_DATE_INV');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_PK') Then

Line 49: hr_utility.set_message(801, 'HR_51853_tra_DATE_INV');

45: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_UK') Then
46: hr_utility.set_message(801,'HR_51847_tra_REC_EXISTS');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_tra_CHK_DATES') Then
49: hr_utility.set_message(801, 'HR_51853_tra_DATE_INV');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_PK') Then
52: hr_utility.set_message(801, 'HR_51854_tra_QUAL_ID_PK');
53: hr_utility.raise_error;

Line 50: hr_utility.raise_error;

46: hr_utility.set_message(801,'HR_51847_tra_REC_EXISTS');
47: hr_utility.raise_error;
48: ElsIf (p_constraint_name = 'PER_tra_CHK_DATES') Then
49: hr_utility.set_message(801, 'HR_51853_tra_DATE_INV');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_PK') Then
52: hr_utility.set_message(801, 'HR_51854_tra_QUAL_ID_PK');
53: hr_utility.raise_error;
54: Else

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

48: ElsIf (p_constraint_name = 'PER_tra_CHK_DATES') Then
49: hr_utility.set_message(801, 'HR_51853_tra_DATE_INV');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_PK') Then
52: hr_utility.set_message(801, 'HR_51854_tra_QUAL_ID_PK');
53: hr_utility.raise_error;
54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
56: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 53: hr_utility.raise_error;

49: hr_utility.set_message(801, 'HR_51853_tra_DATE_INV');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_PK') Then
52: hr_utility.set_message(801, 'HR_51854_tra_QUAL_ID_PK');
53: hr_utility.raise_error;
54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
56: hr_utility.set_message_token('PROCEDURE', l_proc);
57: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

51: ElsIf (p_constraint_name = 'PER_QUALIFICATIONS_PK') Then
52: hr_utility.set_message(801, 'HR_51854_tra_QUAL_ID_PK');
53: hr_utility.raise_error;
54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
56: hr_utility.set_message_token('PROCEDURE', l_proc);
57: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
58: hr_utility.raise_error;
59: End If;

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

52: hr_utility.set_message(801, 'HR_51854_tra_QUAL_ID_PK');
53: hr_utility.raise_error;
54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
56: hr_utility.set_message_token('PROCEDURE', l_proc);
57: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
58: hr_utility.raise_error;
59: End If;
60: --

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

53: hr_utility.raise_error;
54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
56: hr_utility.set_message_token('PROCEDURE', l_proc);
57: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
58: hr_utility.raise_error;
59: End If;
60: --
61: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 58: hr_utility.raise_error;

54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
56: hr_utility.set_message_token('PROCEDURE', l_proc);
57: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
58: hr_utility.raise_error;
59: End If;
60: --
61: hr_utility.set_location(' Leaving:'||l_proc, 10);
62: End constraint_error;

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

57: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
58: hr_utility.raise_error;
59: End If;
60: --
61: hr_utility.set_location(' Leaving:'||l_proc, 10);
62: End constraint_error;
63: -- ----------------------------------------------------------------------------
64: -- |---------------------------------< lck >----------------------------------|
65: -- ----------------------------------------------------------------------------

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

91:
92: l_proc varchar2(72) := g_package||'lck';
93: --
94: Begin
95: hr_utility.set_location('Entering:'||l_proc, 5);
96: --
97: -- Add any mandatory argument checking here:
98: -- Example:
99: -- hr_api.mandatory_arg_error

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

111: Close C_Sel1;
112: --
113: -- The primary key is invalid therefore we must error
114: --
115: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
116: hr_utility.raise_error;
117: End If;
118: Close C_Sel1;
119: --

Line 116: hr_utility.raise_error;

112: --
113: -- The primary key is invalid therefore we must error
114: --
115: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
116: hr_utility.raise_error;
117: End If;
118: Close C_Sel1;
119: --
120: hr_utility.set_location(' Leaving:'||l_proc, 10);

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

116: hr_utility.raise_error;
117: End If;
118: Close C_Sel1;
119: --
120: hr_utility.set_location(' Leaving:'||l_proc, 10);
121: --
122: -- We need to trap the ORA LOCK exception
123: --
124: Exception

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

126: --
127: -- The object is locked therefore we need to supply a meaningful
128: -- error message.
129: --
130: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
131: hr_utility.set_message_token('TABLE_NAME', 'per_za_training');
132: hr_utility.raise_error;
133: End lck;
134: --

Line 131: hr_utility.set_message_token('TABLE_NAME', 'per_za_training');

127: -- The object is locked therefore we need to supply a meaningful
128: -- error message.
129: --
130: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
131: hr_utility.set_message_token('TABLE_NAME', 'per_za_training');
132: hr_utility.raise_error;
133: End lck;
134: --
135: -- ----------------------------------------------------------------------------

Line 132: hr_utility.raise_error;

128: -- error message.
129: --
130: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
131: hr_utility.set_message_token('TABLE_NAME', 'per_za_training');
132: hr_utility.raise_error;
133: End lck;
134: --
135: -- ----------------------------------------------------------------------------
136: -- |-----------------------------< convert_args >-----------------------------|

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

154: l_proc varchar2(72) := g_package||'convert_args';
155: --
156: Begin
157: --
158: hr_utility.set_location('Entering:'||l_proc, 5);
159: --
160: -- Convert arguments into local l_rec structure.
161: --
162: l_rec.training_id := p_training_id;

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

172:
173: --
174: -- Return the plsql record structure.
175: --
176: hr_utility.set_location(' Leaving:'||l_proc, 10);
177: Return(l_rec);
178: --
179: End convert_args;
180: --