Message

[PEPPOL-T125-R050] Id for the transport means needs to be specified if Transport Means group is provided.

Context
cac:ShipmentStage
Test
(cbc:TransportModeCode = 4 and cac:TransportMeans/cac:AirTransport/cbc:AircraftID) or (cbc:TransportModeCode = 3 and cac:TransportMeans/cac:RoadTransport/cbc:LicensePlateID) or (cbc:TransportModeCode = 2 and cac:TransportMeans/cac:RailTransport/cbc:TrainID) or (cbc:TransportModeCode = 1 and cac:TransportMeans/cac:MaritimeTransport/cbc:VesselID) or not(cac:TransportMeans)
Usage
/ ubl:Waybill / cac:Shipment / cac:ShipmentStage / cbc:TransportModeCode