17: IS
18: I NUMBER:=0;
19: BEGIN
20:
21: FND_API.g_entity_tbl.DELETE;
22:
23: -- START GEN entities
24: I := I + 1;
25: FND_API.g_entity_tbl(I).name := 'ALL';
21: FND_API.g_entity_tbl.DELETE;
22:
23: -- START GEN entities
24: I := I + 1;
25: FND_API.g_entity_tbl(I).name := 'ALL';
26: I := I + 1;
27: FND_API.g_entity_tbl(I).name := 'TROHDR';
28: I := I + 1;
29: FND_API.g_entity_tbl(I).name := 'TROLIN';
23: -- START GEN entities
24: I := I + 1;
25: FND_API.g_entity_tbl(I).name := 'ALL';
26: I := I + 1;
27: FND_API.g_entity_tbl(I).name := 'TROHDR';
28: I := I + 1;
29: FND_API.g_entity_tbl(I).name := 'TROLIN';
30: -- END GEN entities
31:
25: FND_API.g_entity_tbl(I).name := 'ALL';
26: I := I + 1;
27: FND_API.g_entity_tbl(I).name := 'TROHDR';
28: I := I + 1;
29: FND_API.g_entity_tbl(I).name := 'TROLIN';
30: -- END GEN entities
31:
32: END Get_Entities_Tbl;
33:
120: , 'Invalid operation'
121: );
122: END IF;
123:
124: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
125:
126: END IF;
127:
128: RETURN l_control_rec;
285: when l_invalid_loc_control_exc then
286: fnd_message.set_name('INV','INV_INVALID_LOC_CONTROL');
287: fnd_msg_pub.add;
288:
289: x_return_status := fnd_api.g_ret_sts_error ;
290: l_locator_control := -1 ;
291: return l_locator_control ;
292:
293: when fnd_api.g_exc_error then
289: x_return_status := fnd_api.g_ret_sts_error ;
290: l_locator_control := -1 ;
291: return l_locator_control ;
292:
293: when fnd_api.g_exc_error then
294: x_return_status := fnd_api.g_ret_sts_error ;
295: l_locator_control := -1 ;
296: return l_locator_control ;
297:
290: l_locator_control := -1 ;
291: return l_locator_control ;
292:
293: when fnd_api.g_exc_error then
294: x_return_status := fnd_api.g_ret_sts_error ;
295: l_locator_control := -1 ;
296: return l_locator_control ;
297:
298: when fnd_api.g_exc_unexpected_error then
294: x_return_status := fnd_api.g_ret_sts_error ;
295: l_locator_control := -1 ;
296: return l_locator_control ;
297:
298: when fnd_api.g_exc_unexpected_error then
299: x_return_status := fnd_api.g_ret_sts_unexp_error ;
300: l_locator_control := -1 ;
301: return l_locator_control ;
302:
295: l_locator_control := -1 ;
296: return l_locator_control ;
297:
298: when fnd_api.g_exc_unexpected_error then
299: x_return_status := fnd_api.g_ret_sts_unexp_error ;
300: l_locator_control := -1 ;
301: return l_locator_control ;
302:
303: when others then
300: l_locator_control := -1 ;
301: return l_locator_control ;
302:
303: when others then
304: x_return_status := fnd_api.g_ret_sts_unexp_error ;
305:
306: if (fnd_msg_pub.check_msg_level(
307: fnd_msg_pub.g_msg_lvl_unexp_error)) then
308: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Locator_Control');