911: where inventory_item_id = p_item_id and serial_number = p_serial_number and current_organization_id = p_org_id;
912:
913:
914: Cursor c_get_min_operation_seq(p_wip_entity_id number) is
915: select min(operation_seq_num) from wip_operations_v where wip_entity_id = p_wip_entity_id;
916:
917: l_inventory_item_id NUMBER;
918: l_unit_of_measure VARCHAR2(3);
919: l_quantity NUMBER;