DBA Data[Home] [Help]

APPS.GMO_INSTR_ENTITY_PVT dependencies on GMD_OPERATIONS

Line 38: select oprn_no from gmd_operations

34: l_formulaline_id number;
35:
36:
37: cursor get_oprn is
38: select oprn_no from gmd_operations
39: where oprn_id = l_oprn_id;
40:
41: cursor get_routing_oprn is
42: select gmo_utilities.get_lookup_meaning ('GMO_INSTR_ENTITY_CODES', 'ROUTING') || ' ' || c.routing_no || ' : ' || routingstep_no || '-' || oprn_no

Line 43: from gmd_operations a, fm_rout_dtl b, gmd_routings c

39: where oprn_id = l_oprn_id;
40:
41: cursor get_routing_oprn is
42: select gmo_utilities.get_lookup_meaning ('GMO_INSTR_ENTITY_CODES', 'ROUTING') || ' ' || c.routing_no || ' : ' || routingstep_no || '-' || oprn_no
43: from gmd_operations a, fm_rout_dtl b, gmd_routings c
44: where a.oprn_id = b.oprn_id
45: and c.routing_id = b.routing_id
46: and b.routingstep_id = l_routingstep_id
47: and a.oprn_id = l_oprn_id;

Line 52: from gmd_operations a, fm_rout_dtl b, gmd_recipes c

48:
49: cursor get_recipe_oprn is
50:
51: select gmo_utilities.get_lookup_meaning ('GMO_INSTR_ENTITY_CODES', 'RECIPE') || ' ' || recipe_no || ' : ' || b.routingstep_no || '-' || a.oprn_no
52: from gmd_operations a, fm_rout_dtl b, gmd_recipes c
53: where a.oprn_id = b.oprn_id and b.routing_id = c.routing_id
54: and c.recipe_id = l_recipe_id and b.routingstep_id = l_routingstep_id and a.oprn_id = l_oprn_id;
55:
56:

Line 62: from gmd_operations a, fm_rout_dtl b, gmd_routings c, gmd_operation_activities d

58: select activity from gmd_operation_activities where oprn_line_id = l_oprn_line_id;
59:
60: cursor get_routing_activity is
61: select gmo_utilities.get_lookup_meaning ('GMO_INSTR_ENTITY_CODES', 'ROUTING') || ' ' || c.routing_no || ' : ' || d.activity
62: from gmd_operations a, fm_rout_dtl b, gmd_routings c, gmd_operation_activities d
63: where a.oprn_id = b.oprn_id
64: and c.routing_id = b.routing_id
65: and a.oprn_id = d.oprn_id
66: and d.oprn_line_id = l_oprn_line_id

Line 71: from gmd_operations a, fm_rout_dtl b, gmd_recipes c, gmd_operation_activities d

67: and b.routingstep_id = l_routingstep_id;
68:
69: cursor get_recipe_activity is
70: select gmo_utilities.get_lookup_meaning ('GMO_INSTR_ENTITY_CODES', 'RECIPE') || ' ' || recipe_no || ' : ' || d.activity
71: from gmd_operations a, fm_rout_dtl b, gmd_recipes c, gmd_operation_activities d
72: where a.oprn_id = b.oprn_id and b.routing_id = c.routing_id and a.oprn_id = d.oprn_id
73: and b.routingstep_id = l_routingstep_id
74: and c.recipe_id = l_recipe_id
75: and d.oprn_line_id = l_oprn_line_id;

Line 87: from gmd_operations a, fm_rout_dtl b, gmd_routings c, gmd_operation_activities d, gmd_operation_resources e

83:
84: cursor get_routing_resource is
85:
86: select gmo_utilities.get_lookup_meaning ('GMO_INSTR_ENTITY_CODES', 'ROUTING') || ' ' || c.routing_no || ' : ' || e.resources
87: from gmd_operations a, fm_rout_dtl b, gmd_routings c, gmd_operation_activities d, gmd_operation_resources e
88: where a.oprn_id = b.oprn_id
89: and c.routing_id = b.routing_id
90: and a.oprn_id = d.oprn_id
91: and d.oprn_line_id = e.oprn_line_id

Line 98: from gmd_operations a, fm_rout_dtl b, gmd_recipes c, gmd_operation_activities d, gmd_operation_resources e

94: and e.resources = l_resources;
95:
96: cursor get_recipe_resource is
97: select gmo_utilities.get_lookup_meaning ('GMO_INSTR_ENTITY_CODES', 'RECIPE') || ' ' || recipe_no || ' : ' || e.resources
98: from gmd_operations a, fm_rout_dtl b, gmd_recipes c, gmd_operation_activities d, gmd_operation_resources e
99: where a.oprn_id = b.oprn_id and b.routing_id = c.routing_id and a.oprn_id = d.oprn_id and d.oprn_line_id = e.oprn_line_id
100: and c.recipe_id = l_recipe_id
101: and b.routingstep_id = l_routingstep_id
102: and e.oprn_line_id = l_oprn_line_id