338: where inventory_item_id = p_asset_group_id and
339: organization_id = p_organization_id;
340: end if;
341: select stock_locator_control_code into l_stock_locator_control_code
342: from mtl_parameters
343: where organization_id = p_organization_id;
344: for i in 1..p_inventory_item_info.COUNT loop
345: l_locator := p_inventory_item_info(i).locator;
346: l_subinventory := p_inventory_item_info(i).subinventory;