DBA Data[Home] [Help]

APPS.EAM_ASSETATTR_VALUE_PUB dependencies on FND_MESSAGE

Line 146: FND_MESSAGE.SET_NAME ('EAM', ERROR);

142: IS
143: BEGIN
144:
145:
146: FND_MESSAGE.SET_NAME ('EAM', ERROR);
147: FND_MSG_PUB.ADD;
148: RAISE FND_API.G_EXC_ERROR;
149: END;
150:

Line 161: fnd_message.set_name('EAM', 'EAM_INVALID_APPLICATION_ID');

157: l_appl_name varchar2(30) ;
158: BEGIN
159: if p_application_id is null or p_application_id <> 401
160: then
161: fnd_message.set_name('EAM', 'EAM_INVALID_APPLICATION_ID');
162: fnd_msg_pub.add;
163: RAISE fnd_api.g_exc_error;
164: end if;
165: END;

Line 187: fnd_message.set_name('EAM', 'EAM_INVALID_MAINT_OBJ_ID');

183: end if;
184:
185:
186: if l_count = 0 then
187: fnd_message.set_name('EAM', 'EAM_INVALID_MAINT_OBJ_ID');
188: fnd_msg_pub.add;
189: RAISE fnd_api.g_exc_error;
190: end if;
191:

Line 211: fnd_message.set_name('EAM', 'EAM_INVALID_ASSOCIATION_GROUP');

207: inventory_item_id = p_inventory_item_id
208: and descriptive_flex_context_code=p_attribute_category;
209:
210: if l_count = 0 then
211: fnd_message.set_name('EAM', 'EAM_INVALID_ASSOCIATION_GROUP');
212: fnd_msg_pub.add;
213: RAISE fnd_api.g_exc_error;
214: end if;
215: END;

Line 245: fnd_message.set_name('EAM', 'EAM_AAV_INVALID_DFF_CONTEXT');

241: AND DESCRIPTIVE_FLEX_CONTEXT_CODE = p_attribute_category;
242:
243: if l_count = 0
244: then
245: fnd_message.set_name('EAM', 'EAM_AAV_INVALID_DFF_CONTEXT');
246: fnd_msg_pub.add;
247: RAISE fnd_api.g_exc_error;
248: end if;
249:

Line 356: FND_MESSAGE.SET_NAME('EAM', 'EAM_INVALID_DESC_FLEX');

352:
353: if (not l_validated) then
354: l_error_segments:=FND_FLEX_DESCVAL.error_segment;
355: l_error_message:= substr(fnd_flex_descval.error_message,1,4000);
356: FND_MESSAGE.SET_NAME('EAM', 'EAM_INVALID_DESC_FLEX');
357: FND_MESSAGE.SET_TOKEN('ERROR_MSG', l_error_message);
358: FND_MSG_PUB.Add;
359: RAISE FND_API.G_EXC_ERROR;
360: end if;

Line 357: FND_MESSAGE.SET_TOKEN('ERROR_MSG', l_error_message);

353: if (not l_validated) then
354: l_error_segments:=FND_FLEX_DESCVAL.error_segment;
355: l_error_message:= substr(fnd_flex_descval.error_message,1,4000);
356: FND_MESSAGE.SET_NAME('EAM', 'EAM_INVALID_DESC_FLEX');
357: FND_MESSAGE.SET_TOKEN('ERROR_MSG', l_error_message);
358: FND_MSG_PUB.Add;
359: RAISE FND_API.G_EXC_ERROR;
360: end if;
361:

Line 387: fnd_message.set_name('EAM', 'EAM_ATTR_VALUES_REC_NOT_FOUND');

383: if l_count = 0
384: then
385: if NOT p_create_flag
386: then
387: fnd_message.set_name('EAM', 'EAM_ATTR_VALUES_REC_NOT_FOUND');
388: fnd_msg_pub.add;
389: RAISE fnd_api.g_exc_error;
390: END IF;
391: else

Line 394: fnd_message.set_name('EAM', 'EAM_ATTR_VALUES_REC_EXISTS');

390: END IF;
391: else
392: if p_create_flag
393: then
394: fnd_message.set_name('EAM', 'EAM_ATTR_VALUES_REC_EXISTS');
395: fnd_msg_pub.add;
396: RAISE fnd_api.g_exc_error;
397: END IF;
398: end if;

Line 512: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_CR_ORG_ID');

508: /* Anand- for creation_organization_id = organization_id */
509: l_org_id := P_ORGANIZATION_ID;
510: if (P_CREATION_ORGANIZATION_ID IS NOT NULL) then
511: if P_CREATION_ORGANIZATION_ID <> P_ORGANIZATION_ID then
512: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_CR_ORG_ID');
513: fnd_msg_pub.add;
514: RAISE fnd_api.g_exc_error;
515: else
516:

Line 534: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_ORG_ID');

530: x_msg_count => l_msg_count ,
531: x_msg_data => l_msg_data);
532: if l_boolean = 0
533: then
534: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_ORG_ID');
535: fnd_msg_pub.add;
536: RAISE fnd_api.g_exc_error;
537: end if;
538: end if;

Line 544: fnd_message.set_name('EAM', 'EAM_NOT_ENOUGH_PARAM');

540: /* validate / populate inventory_item_id, serial_number, maintenance_object_id, maintenance_object_type */
541:
542: IF ((p_maintenance_object_type is null or p_maintenance_object_id is null) and
543: (p_inventory_item_id is null or p_serial_number is null)) THEN
544: fnd_message.set_name('EAM', 'EAM_NOT_ENOUGH_PARAM');
545: fnd_msg_pub.add;
546: RAISE FND_API.G_EXC_ERROR;
547: END IF;
548:

Line 550: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_MAINT_OBJ_TYPE');

546: RAISE FND_API.G_EXC_ERROR;
547: END IF;
548:
549: IF (p_maintenance_object_type is not null and p_maintenance_object_type <> 3) THEN
550: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_MAINT_OBJ_TYPE');
551: fnd_msg_pub.add;
552: RAISE FND_API.G_EXC_ERROR;
553: END IF;
554:

Line 749: fnd_message.set_name('EAM', 'EAM_EZWO_ASSET_BAD');

745: l_serial_number,
746: l_item_type
747: )
748: THEN
749: fnd_message.set_name('EAM', 'EAM_EZWO_ASSET_BAD');
750: fnd_msg_pub.add;
751: RAISE fnd_api.g_exc_error;
752: END IF;
753: */

Line 1046: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_CR_ORG_ID');

1042:
1043: l_org_id := P_ORGANIZATION_ID;
1044: if (P_CREATION_ORGANIZATION_ID IS NOT NULL) then
1045: if P_CREATION_ORGANIZATION_ID <> P_ORGANIZATION_ID then
1046: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_CR_ORG_ID');
1047: fnd_msg_pub.add;
1048: RAISE fnd_api.g_exc_error;
1049: else
1050:

Line 1068: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_ORG_ID');

1064: x_msg_count => l_msg_count ,
1065: x_msg_data => l_msg_data);
1066: if l_boolean = 0
1067: then
1068: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_ORG_ID');
1069: fnd_msg_pub.add;
1070: RAISE fnd_api.g_exc_error;
1071: end if;
1072: end if;

Line 1079: fnd_message.set_name('EAM', 'EAM_NOT_ENOUGH_PARAM');

1075: /* validate / populate inventory_item_id, serial_number, maintenance_object_id, maintenance_object_type */
1076:
1077: IF ((p_maintenance_object_type is null or p_maintenance_object_id is null) and
1078: (p_inventory_item_id is null or p_serial_number is null)) THEN
1079: fnd_message.set_name('EAM', 'EAM_NOT_ENOUGH_PARAM');
1080: fnd_msg_pub.add;
1081: RAISE FND_API.G_EXC_ERROR;
1082: END IF;
1083:

Line 1085: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_MAINT_OBJ_TYPE');

1081: RAISE FND_API.G_EXC_ERROR;
1082: END IF;
1083:
1084: IF (p_maintenance_object_type is not null and p_maintenance_object_type <> 3) THEN
1085: fnd_message.set_name('EAM', 'EAM_ABO_INVALID_MAINT_OBJ_TYPE');
1086: fnd_msg_pub.add;
1087: RAISE FND_API.G_EXC_ERROR;
1088: END IF;
1089: