Conversion failed when converting mvarchar : Can someone assist with the error I have below on this statement
 
Select  sh.INTERNAL_SHIPMENT_NUM,sh.shipment_id, sh.carrier, sh.carrier_service,sh.carrier_type,sh.route,sh.customer_name,sh.total_lines,
sh.total_weight,sh.total_volume,sh.SCHEDULED_SHIP_DATE AS SCHEDULED_SHIP_DATE,sh.total_qty,sh.trailing_sts,
CASE when sh.CUSTOMER IN (46003204,30321) then 'CHUB' else '' end CUSTOMER,
(select top 1 sd.customer_po from shipment_detail sd where sd.internal_shipment_num = sh.internal_shipment_num
order by sd.CUSTOMER_PO desc) as CUSTOMER_PO, SH.REJECTION_NOTE
 
from
       shipment_detail sd
              inner join shipment_header_view sh
              on sd.INTERNAL_SHIPMENT_NUM = sh.INTERNAL_SHIPMENT_NUM
              LEFT OUTER JOIN RYDI_orders RO ON SH.SHIPMENT_ID = RO.DELIVERY_id
where sh.leading_sts = 100 and sh.trailing_sts = 100
group by
sh.INTERNAL_SHIPMENT_NUM,sh.shipment_id, sh.carrier, sh.carrier_service,sh.carrier_type,sh.customer,sh.route,sh.customer_name,sh.total_lines,
sh.total_weight,sh.total_volume,sh.SCHEDULED_SHIP_DATE,sh.total_qty,sh.trailing_sts, SH.REJECTION_NOTE
 
 
error: Msg 245, Level 16, State 1, Line 1
Conversion failed when converting the nvarchar value '50310H' to data type int.