[Home] [Help]
6439:
6440: ---Raise the event
6441: IF l_attr_name_val.count() > 0 THEN --if attributes are there raise it,
6442: IF p_pre_event_flag IS NULL THEN --Raise post Event
6443: EGO_WF_WRAPPER_PVT.Raise_WF_Business_Event(
6444: p_event_name => l_event_name
6445: ,p_event_key => l_event_key
6446: ,p_dml_type => l_dml_type
6447: ,p_attr_group_name => p_attr_group_metadata_obj.ATTR_GROUP_NAME
6473: ,p_entity_code => p_entity_code
6474: ,p_add_errors_to_fnd_stack => G_ADD_ERRORS_TO_FND_STACK
6475: );
6476: ELSE --raise PreEvent
6477: EGO_WF_WRAPPER_PVT.Raise_WF_Business_Event(
6478: p_event_name => l_event_name
6479: ,p_event_key => l_event_key
6480: ,p_pre_event_flag => 'T'
6481: ,p_dml_type => l_dml_type
6513: END IF; ---end count attributes.
6514: END IF;--end if if flag enabled
6515: Debug_Msg( l_api_name ||' done ');
6516: EXCEPTION
6517: --- If subscription fails...don't add to the stack, already added in EGO_WF_WRAPPER_PVT
6518: WHEN EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC THEN
6519: raise EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC;
6520:
6521: WHEN OTHERS THEN
8130: -- There are no expected errors in this procedure, so... --
8131: -----------------------------------------------------------
8132: --Start 4105841
8133: --Checking for Exception raised by preAttribute Change Event
8134: --don't put to the stack already added in EGO_WF_WRAPPER_PVT
8135: WHEN EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC THEN
8136: Debug_Msg('Insert_Row EXCEPTION EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC ');
8137: IF FND_API.To_Boolean(p_commit) THEN
8138: ROLLBACK TO insert_row;
8778: -- There are no expected errors in this procedure, so... --
8779: -----------------------------------------------------------
8780: --Start 4105841
8781: --Checking for Exception raised by preAttribute Change Event
8782: --don't put to the stack already added in EGO_WF_WRAPPER_PVT
8783: WHEN EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC THEN
8784: Debug_Msg('Update_Row EXCEPTION EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC ');
8785:
8786: IF FND_API.To_Boolean(p_commit) THEN
9119: -- There are no expected errors in this procedure, so... --
9120: -----------------------------------------------------------
9121: --Start 4105841
9122: --Checking for Exception raised by preAttribute Change Event
9123: --don't put to the stack already added in EGO_WF_WRAPPER_PVT
9124: WHEN EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC THEN
9125: Debug_Msg('Delete_Row EXCEPTION EGO_USER_ATTRS_COMMON_PVT.G_SUBSCRIPTION_EXC ');
9126:
9127: IF FND_API.To_Boolean(p_commit) THEN