17: l_proc varchar2(72) := g_package||'constraint_error';
18: --
19: Begin
20: --
21: If (p_constraint_name = 'OTA_CHAT_OBJ_INCLUSIONS_PK') Then
22: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
23: fnd_message.set_token('PROCEDURE', l_proc);
24: fnd_message.set_token('STEP','5');
25: fnd_message.raise_error;
54: ,start_date_active
55: ,end_date_active
56: ,primary_flag
57: ,object_version_number
58: from ota_chat_obj_inclusions
59: where chat_id = p_chat_id
60: and object_id = p_object_id
61: and object_type = p_object_type;
62: --
136: ,start_date_active
137: ,end_date_active
138: ,primary_flag
139: ,object_version_number
140: from ota_chat_obj_inclusions
141: where chat_id = p_chat_id
142: and object_id = p_object_id
143: and object_type = p_object_type
144: for update nowait;
199: -- The object is locked therefore we need to supply a meaningful
200: -- error message.
201: --
202: fnd_message.set_name('PAY', 'HR_7165_OBJECT_LOCKED');
203: fnd_message.set_token('TABLE_NAME', 'ota_chat_obj_inclusions');
204: fnd_message.raise_error;
205: End lck;
206: --
207: -- ----------------------------------------------------------------------------