DBA Data[Home] [Help]

APPS.WIP_EAM_GENEALOGY_PVT dependencies on FND_MESSAGE

Line 146: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');

142: if p_object_id is null then
143:
144: if p_serial_number is null or p_inventory_item_id is null or p_organization_id is null then
145: -- if serial_number is null, then quit processing
146: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');
147: FND_MSG_PUB.ADD;
148: RAISE FND_API.G_EXC_ERROR;
149: else
150: l_serial_number := p_serial_number;

Line 168: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');

164: from mtl_serial_numbers
165: where gen_object_id = p_object_id;
166: exception
167: when others then
168: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');
169: FND_MSG_PUB.ADD;
170: RAISE FND_API.G_EXC_ERROR;
171: end;
172: else

Line 187: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_PARENT_ITEM');

183: -- obtain parent object id information
184: if p_parent_object_id is null then
185: if p_parent_serial_number is null or p_parent_inventory_item_id is null or p_parent_organization_id is null then
186: -- if there is no parent information, then quit processing
187: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_PARENT_ITEM');
188: FND_MSG_PUB.ADD;
189: RAISE FND_API.G_EXC_ERROR;
190:
191: else

Line 204: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_PARENT_ITEM');

200: where serial_number = l_parent_serial_number
201: and inventory_item_id = p_parent_inventory_item_id;
202: exception
203: when others then
204: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_PARENT_ITEM');
205: FND_MSG_PUB.ADD;
206: RAISE FND_API.G_EXC_ERROR;
207: end;
208: end if;

Line 238: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_WO_WITH_CHARGE_ASSET');

234: and wdj.manual_rebuild_flag = 'N'
235: and wdj.status_type in (1,3,6);
236:
237: if l_charge_object_id <> l_parent_object_id then
238: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_WO_WITH_CHARGE_ASSET');
239: FND_MSG_PUB.ADD;
240: RAISE FND_API.G_EXC_ERROR;
241: end if;
242:

Line 498: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');

494: or p_inventory_item_id is null
495: or p_organization_id is null then
496:
497: -- if serial_number is null, then quit processing
498: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');
499: FND_MSG_PUB.ADD;
500: RAISE FND_API.G_EXC_ERROR;
501: else
502: l_serial_number := p_serial_number;

Line 515: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');

511: and inventory_item_id = p_inventory_item_id;
512:
513: exception
514: when others then
515: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');
516: FND_MSG_PUB.ADD;
517: RAISE FND_API.G_EXC_ERROR;
518: end;
519: end if;

Line 535: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');

531: gen_object_id = p_object_id;
532:
533: exception
534: when others then
535: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_ITEM_DOES_NOT_EXIST');
536: FND_MSG_PUB.ADD;
537: RAISE FND_API.G_EXC_ERROR;
538: end;
539:

Line 580: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_SUBINVENTORY');

576: NULL,
577: NULL,
578: NULL,
579: 'Z') <> 'Y' then
580: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_SUBINVENTORY');
581: FND_MSG_PUB.ADD;
582: RAISE FND_API.G_EXC_ERROR;
583: end if;
584:

Line 605: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_SUBINVENTORY');

601: and organization_id = l_organization_id
602: and secondary_inventory = l_subinventory);
603: exception
604: when others then
605: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_SUBINVENTORY');
606: FND_MSG_PUB.ADD;
607: RAISE FND_API.G_EXC_ERROR;
608: end;
609:

Line 611: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_SUBINVENTORY');

607: RAISE FND_API.G_EXC_ERROR;
608: end;
609:
610: if l_dummy <> 10 then
611: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_INVALID_SUBINVENTORY');
612: FND_MSG_PUB.ADD;
613: RAISE FND_API.G_EXC_ERROR;
614: end if;
615:

Line 648: FND_MESSAGE.SET_NAME('EAM', 'EAM_RET_MAT_LOCATOR_NEEDED');

644:
645: -- if the locator control is Predefined or Dynamic Entry
646: if(x_locator_ctrl = 2 or x_locator_ctrl = 3) then
647: if(p_locator_id IS NULL) then
648: FND_MESSAGE.SET_NAME('EAM', 'EAM_RET_MAT_LOCATOR_NEEDED');
649: FND_MSG_PUB.ADD;
650: RAISE FND_API.G_EXC_ERROR;
651: end if;
652: elsif(x_locator_ctrl = 1) then -- If the locator control is NOControl

Line 654: FND_MESSAGE.SET_NAME('EAM', 'EAM_RET_MAT_LOCATOR_RESTRICTED');

650: RAISE FND_API.G_EXC_ERROR;
651: end if;
652: elsif(x_locator_ctrl = 1) then -- If the locator control is NOControl
653: if(p_locator_id IS NOT NULL) then
654: FND_MESSAGE.SET_NAME('EAM', 'EAM_RET_MAT_LOCATOR_RESTRICTED');
655: FND_MSG_PUB.ADD;
656: RAISE FND_API.G_EXC_ERROR;
657: end if;
658: end if; -- end of locator_control checkif

Line 667: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_REBUILD_FUTURE_TXN');

663: -- This restriction has been put in place because eventhough the date
664: -- of transaction is future, the status of the item is changed immediately
665:
666: if p_end_date_active is not null and p_end_date_active > sysdate then
667: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_REBUILD_FUTURE_TXN');
668: FND_MSG_PUB.ADD;
669: RAISE FND_API.G_EXC_ERROR;
670: else
671:

Line 678: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_NO_OFFSET_ACCOUNT');

674: from wip_eam_parameters
675: where organization_id = l_organization_id;
676:
677: if l_dist_acct_id is null then
678: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_NO_OFFSET_ACCOUNT');
679: FND_MSG_PUB.ADD;
680: RAISE FND_API.G_EXC_ERROR;
681: end if;
682:

Line 795: fnd_message.set_name

791: );
792:
793: exception
794: WHEN NO_DATA_FOUND THEN
795: fnd_message.set_name
796: ( application => 'EAM'
797: , name => 'EAM_INSTANCE_ID_INVALID'
798: );
799:

Line 840: fnd_message.set_name

836: );
837:
838: exception
839: WHEN NO_DATA_FOUND THEN
840: fnd_message.set_name
841: ( application => 'EAM'
842: , name => 'EAM_INSTANCE_ID_INVALID'
843: );
844: