357: CONV_GET_ERR EXCEPTION;
358:
359: CURSOR get_uom_codes IS
360: SELECT primary_uom_code, secondary_uom_code
361: FROM MTL_SYSTEM_ITEMS
362: WHERE
363: organization_id = p_lot_uom_conv_rec.organization_id AND
364: inventory_item_id = p_lot_uom_conv_rec.inventory_item_id;
365:
362: WHERE
363: organization_id = p_lot_uom_conv_rec.organization_id AND
364: inventory_item_id = p_lot_uom_conv_rec.inventory_item_id;
365:
366: l_primary_uom MTL_SYSTEM_ITEMS.PRIMARY_UOM_CODE%TYPE;
367: l_secondary_uom MTL_SYSTEM_ITEMS.SECONDARY_UOM_CODE%TYPE;
368:
369: /* Bug#5228919 added the following cursor to get the lot attributes
370: from mtl_lot_numbers table */
363: organization_id = p_lot_uom_conv_rec.organization_id AND
364: inventory_item_id = p_lot_uom_conv_rec.inventory_item_id;
365:
366: l_primary_uom MTL_SYSTEM_ITEMS.PRIMARY_UOM_CODE%TYPE;
367: l_secondary_uom MTL_SYSTEM_ITEMS.SECONDARY_UOM_CODE%TYPE;
368:
369: /* Bug#5228919 added the following cursor to get the lot attributes
370: from mtl_lot_numbers table */
371: CURSOR c_get_attr IS