VRBL-WBL-IN-1p0-23

Basic Info

Rule In case of Shipment Transport Mode Code indicating rail transport, the Document Reference Group used for Transport Contract must exist within the Waybill.
Context /ubl:Waybill
Pattern vrbl-waybill-in-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:DocumentReference[cbc:ID/@schemeID = 'AAS']
displayName_probe = %{cac:DocumentReference} used for Transport Contract

Implementation

(
	not($RailTransport)
)
or
(
	boolean(cac:DocumentReference[cbc:ID/@schemeID = 'AAS'])
)