5065: end if;
5066: else -- revision control item
5067: select revision
5068: into l_start_lot_revision 5069: from WSM_source_lots_v 5070: where lot_number = v_wsli(v_wlji_source_line_id(v_index)).lot_number
5071: and organization_id = v_wlji_org(v_index)
5072: and inventory_item_id = v_wsli(v_wlji_source_line_id(v_index)).inventory_item_id;
5073: