PEPPOL-T124-R012
- Message
[PEPPOL-T124-R012] Start date must be earlier or equal to end date
- Context
cac:Period
- Test
not(cbc:EndDate) or translate(cbc:StartDate,'-','') <= translate(cbc:EndDate,'-','')
- Usage
-
/ ubl:TransportExecutionPlan / cac:Consignment / cac:RequestedPickupTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:RequestedPickupTransportEvent / cac:Period / cbc:EndDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:RequestedDeliveryTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:RequestedDeliveryTransportEvent / cac:Period / cbc:EndDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:PlannedPickupTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:PlannedPickupTransportEvent / cac:Period / cbc:EndDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:PlannedDeliveryTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:PlannedDeliveryTransportEvent / cac:Period / cbc:EndDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:MainCarriageShipmentStage / cac:PlannedDepartureTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:MainCarriageShipmentStage / cac:PlannedDepartureTransportEvent / cac:Period / cbc:EndDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:MainCarriageShipmentStage / cac:PlannedArrivalTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:MainCarriageShipmentStage / cac:PlannedArrivalTransportEvent / cac:Period / cbc:EndDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:PreCarriageShipmentStage / cac:PlannedDepartureTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:PreCarriageShipmentStage / cac:PlannedDepartureTransportEvent / cac:Period / cbc:EndDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:PreCarriageShipmentStage / cac:PlannedArrivalTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:PreCarriageShipmentStage / cac:PlannedArrivalTransportEvent / cac:Period / cbc:EndDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:OnCarriageShipmentStage / cac:PlannedDepartureTransportEvent / cac:Period / cbc:StartDate/ ubl:TransportExecutionPlan / cac:Consignment / cac:OnCarriageShipmentStage / cac:PlannedDepartureTransportEvent / cac:Period / cbc:EndDate