1432: -- Get the transaction UOM description. This will be used to show the
1433: -- validation error message in the transaction uom instead of the primary uom.
1434: SELECT mum.unit_of_measure_tl
1435: INTO l_txn_uom_tl
1436: FROM mtl_units_of_measure_vl mum
1437: WHERE mum.uom_code = p_txn_uom_code;
1438: -- Since Primary and Transaction UOM are different, convert to Transaction UOM.
1439: IF p_txn_uom_code <> p_primary_uom_code THEN
1440: l_msg_tolerable_qty := INL_LANDEDCOST_PVT.converted_qty (
1448: ELSE
1449: -- Get the Primary Unit of Measure Description
1450: SELECT unit_of_measure_tl
1451: INTO l_primary_uom_tl
1452: FROM mtl_units_of_measure_vl
1453: WHERE uom_code = p_primary_uom_code;
1454: l_msg_tolerable_qty := x_tolerable_quantity;
1455: l_msg_uom_tl := l_primary_uom_tl;
1456: END IF;