185:
186:
187: if(l_count = 0) then
188: IF (FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_ERROR)) THEN
189: FND_MESSAGE.set_name('PV', 'PV_API_MISSING_ENTITY');
190: FND_MESSAGE.set_token('MODE','Update');
191: FND_MESSAGE.set_token('ENTITY','Enty_Attr_Value');
192: FND_MESSAGE.set_token('ID','Entity:' || p_entity || ' entity id:' || p_entity_id || ' attribute id:' || p_attribute_id);
193: FND_MSG_PUB.add;
186:
187: if(l_count = 0) then
188: IF (FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_ERROR)) THEN
189: FND_MESSAGE.set_name('PV', 'PV_API_MISSING_ENTITY');
190: FND_MESSAGE.set_token('MODE','Update');
191: FND_MESSAGE.set_token('ENTITY','Enty_Attr_Value');
192: FND_MESSAGE.set_token('ID','Entity:' || p_entity || ' entity id:' || p_entity_id || ' attribute id:' || p_attribute_id);
193: FND_MSG_PUB.add;
194: END IF;
187: if(l_count = 0) then
188: IF (FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_ERROR)) THEN
189: FND_MESSAGE.set_name('PV', 'PV_API_MISSING_ENTITY');
190: FND_MESSAGE.set_token('MODE','Update');
191: FND_MESSAGE.set_token('ENTITY','Enty_Attr_Value');
192: FND_MESSAGE.set_token('ID','Entity:' || p_entity || ' entity id:' || p_entity_id || ' attribute id:' || p_attribute_id);
193: FND_MSG_PUB.add;
194: END IF;
195: RAISE FND_API.G_EXC_ERROR;
188: IF (FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_ERROR)) THEN
189: FND_MESSAGE.set_name('PV', 'PV_API_MISSING_ENTITY');
190: FND_MESSAGE.set_token('MODE','Update');
191: FND_MESSAGE.set_token('ENTITY','Enty_Attr_Value');
192: FND_MESSAGE.set_token('ID','Entity:' || p_entity || ' entity id:' || p_entity_id || ' attribute id:' || p_attribute_id);
193: FND_MSG_PUB.add;
194: END IF;
195: RAISE FND_API.G_EXC_ERROR;
196: end if;