DBA Data[Home] [Help]

APPS.EAM_REBUILD_GENEALOGY dependencies on FND_MESSAGE

Line 70: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');

66: if p_object_id is null then
67: if p_serial_number is null
68: or p_inventory_item_id is null
69: or p_organization_id is null then
70: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');
71: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');
72: FND_MSG_PUB.ADD;
73: l_return_status := 'E';
74: RAISE FND_API.G_EXC_ERROR;

Line 71: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');

67: if p_serial_number is null
68: or p_inventory_item_id is null
69: or p_organization_id is null then
70: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');
71: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');
72: FND_MSG_PUB.ADD;
73: l_return_status := 'E';
74: RAISE FND_API.G_EXC_ERROR;
75: else

Line 102: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');

98: if p_parent_object_id is null then
99: if p_parent_serial_number is null
100: or p_parent_inventory_item_id is null
101: or p_parent_organization_id is null then
102: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');
103: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');
104: FND_MSG_PUB.ADD;
105: l_return_status := 'E';
106: RAISE FND_API.G_EXC_ERROR;

Line 103: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');

99: if p_parent_serial_number is null
100: or p_parent_inventory_item_id is null
101: or p_parent_organization_id is null then
102: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');
103: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');
104: FND_MSG_PUB.ADD;
105: l_return_status := 'E';
106: RAISE FND_API.G_EXC_ERROR;
107: else

Line 133: FND_MESSAGE.SET_NAME('EAM', 'EAM_CURRENT_WO_WITH_CHARGE_ASSET');

129: and wdj.manual_rebuild_flag = 'N'
130: and wdj.status_type in (1,3,6);
131:
132: if l_charge_object_id <> l_parent_object_id then
133: FND_MESSAGE.SET_NAME('EAM', 'EAM_CURRENT_WO_WITH_CHARGE_ASSET');
134: FND_MSG_PUB.ADD;
135: l_return_status := 'E';
136: RAISE FND_API.G_EXC_ERROR;
137: end if;

Line 152: FND_MESSAGE.SET_NAME('EAM', 'EAM_INVALID_CURRENT_STATUS');

148: and current_organization_id = l_organization_id;
149:
150: exception
151: when no_data_found then
152: FND_MESSAGE.SET_NAME('EAM', 'EAM_INVALID_CURRENT_STATUS');
153: FND_MSG_PUB.ADD;
154: l_return_status := 'E';
155: RAISE FND_API.G_EXC_ERROR;
156: end;

Line 195: FND_MESSAGE.SET_NAME('EAM', 'EAM_REBUILD_FUTURE_TXN');

191:
192: if p_start_date_active > sysdate OR (p_end_date_active is not null
193: and p_end_date_active > sysdate) then
194: l_return_status := 'E';
195: FND_MESSAGE.SET_NAME('EAM', 'EAM_REBUILD_FUTURE_TXN');
196: FND_MSG_PUB.ADD;
197: RAISE FND_API.G_EXC_ERROR;
198: elsif (p_start_date_active < sysdate and
199: (p_end_date_active is not null and p_end_date_active < sysdate)) then

Line 212: FND_MESSAGE.SET_NAME('EAM', 'EAM_NO_OFFSET_ACCOUNT');

208: where organization_id = l_organization_id;
209:
210: exception
211: when others then
212: FND_MESSAGE.SET_NAME('EAM', 'EAM_NO_OFFSET_ACCOUNT');
213: FND_MSG_PUB.ADD;
214: RAISE FND_API.G_EXC_ERROR;
215: end;
216:

Line 253: FND_MESSAGE.SET_NAME('EAM', 'EAM_INVALID_CURRENT_STATUS');

249: elsif l_current_status = 4 then
250: l_txn_id := null;
251: l_return_status := 'S';
252: else
253: FND_MESSAGE.SET_NAME('EAM', 'EAM_INVALID_CURRENT_STATUS');
254: FND_MSG_PUB.ADD;
255: l_return_status := 'E';
256: RAISE FND_API.G_EXC_ERROR;
257: end if;

Line 383: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');

379: if p_object_id is null then
380: if p_serial_number is null
381: or p_inventory_item_id is null
382: or p_organization_id is null then
383: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');
384: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');
385: FND_MSG_PUB.ADD;
386: l_return_status := 'E';
387: RAISE FND_API.G_EXC_ERROR;

Line 384: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');

380: if p_serial_number is null
381: or p_inventory_item_id is null
382: or p_organization_id is null then
383: FND_MESSAGE.SET_NAME('INV', 'INV_FIELD_INVALID');
384: FND_MESSAGE.SET_TOKEN('ENTITY1', 'p_serial_number');
385: FND_MSG_PUB.ADD;
386: l_return_status := 'E';
387: RAISE FND_API.G_EXC_ERROR;
388: else

Line 401: FND_MESSAGE.SET_NAME('INV', 'INV_EAM_GEN_INVALID_OBJECT');

397: and inventory_item_id = p_inventory_item_id
398: and current_organization_id = p_organization_id;
399: exception
400: when others then
401: FND_MESSAGE.SET_NAME('INV', 'INV_EAM_GEN_INVALID_OBJECT');
402: FND_MSG_PUB.ADD;
403: l_return_status := 'E';
404: RAISE FND_API.G_EXC_ERROR;
405: end;

Line 421: FND_MESSAGE.SET_NAME('INV', 'INV_EAM_GEN_INVALID_OBJECT');

417: gen_object_id = p_object_id;
418:
419: exception
420: when others then
421: FND_MESSAGE.SET_NAME('INV', 'INV_EAM_GEN_INVALID_OBJECT');
422: FND_MSG_PUB.ADD;
423: l_return_status := 'E';
424: RAISE FND_API.G_EXC_ERROR;
425: end;

Line 447: FND_MESSAGE.SET_NAME('EAM', 'EAM_NO_SUBINV_SPECIFIED');

443: current_organization_id = l_organization_id;
444: exception
445: when others then
446: l_return_status := 'E';
447: FND_MESSAGE.SET_NAME('EAM', 'EAM_NO_SUBINV_SPECIFIED');
448: FND_MSG_PUB.ADD;
449: RAISE FND_API.G_EXC_ERROR;
450: end;
451: else

Line 478: FND_MESSAGE.SET_NAME('EAM', 'EAM_REBUILD_FUTURE_TXN');

474: -- of transaction is future, the status of the item is changed immediately
475:
476: if p_end_date_active is not null and p_end_date_active > sysdate then
477: l_return_status := 'E';
478: FND_MESSAGE.SET_NAME('EAM', 'EAM_REBUILD_FUTURE_TXN');
479: FND_MSG_PUB.ADD;
480: RAISE FND_API.G_EXC_ERROR;
481: else
482:

Line 491: FND_MESSAGE.SET_NAME('EAM', 'EAM_NO_OFFSET_ACCOUNT');

487: where organization_id = l_organization_id;
488:
489: exception
490: when others then
491: FND_MESSAGE.SET_NAME('EAM', 'EAM_NO_OFFSET_ACCOUNT');
492: FND_MSG_PUB.ADD;
493: RAISE FND_API.G_EXC_ERROR;
494: end;
495: