307:
308: BEGIN
309: SELECT mum.unit_of_measure
310: INTO l_passed_secondary_uom
311: FROM mtl_units_of_measure mum
312: WHERE mum.uom_code = cr_rec.secondary_uom_code;
313:
314: EXCEPTION WHEN NO_DATA_FOUND THEN
315: --mark that there is an error to avoid quantity validations.