Message

Each Goods Item ID should have a corresponding Despatch Advice Line ID

Context
cac:TransportHandlingUnit/cac:GoodsItem | cac:Package/cac:GoodsItem | cac:ContainedPackage/cac:GoodsItem
Test
//cac:DespatchLine[normalize-space(cbc:ID) = $itemId]
Usage
/ ubl:DespatchAdvice / cac:Shipment / cac:TransportHandlingUnit / cac:GoodsItem / cbc:ID
/ ubl:DespatchAdvice / cac:Shipment / cac:TransportHandlingUnit / cac:Package / cac:ContainedPackage / cac:ContainedPackage / cac:GoodsItem / cbc:ID
/ ubl:DespatchAdvice / cac:Shipment / cac:TransportHandlingUnit / cac:Package / cac:ContainedPackage / cac:GoodsItem / cbc:ID
/ ubl:DespatchAdvice / cac:Shipment / cac:TransportHandlingUnit / cac:Package / cac:GoodsItem / cbc:ID