Message

Value MUST be part of code list 'UN/ECE Recommandation 20'.

Context
/ubl:Catalogue/cac:CatalogueLine/cac:RequiredItemLocationQuantity/cac:DeliveryUnit/cbc:BatchQuantity
Test
not(@unitCode) or (some $code in $clUNECERec20 satisfies $code = @unitCode)
Code lists
UN/ECE Recommandation 20
Usage
/ ubl:Catalogue / cac:CatalogueLine / cac:RequiredItemLocationQuantity / cac:DeliveryUnit / cbc:BatchQuantity / @unitCode