Skip to content

Commit

Permalink
Merge branch 'qa' of https://github.com/OpenPEPPOL/logistics-bis into qa
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgenErlandsson committed Oct 24, 2023
2 parents f0d842a + 38ff09f commit 987fbb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target/schematron/PEPPOLBIS-T120.sch
Original file line number Diff line number Diff line change
Expand Up @@ -1809,8 +1809,8 @@
test="((cbc:OutstandingQuantity) and (cbc:OutstandingReason)) or not(cbc:OutstandingQuantity)"
flag="warning">An outstanding quantity reason SHOULD be provided if the despatch line contains an outstanding quantity</assert>
<assert id="PEPPOL-T120-R040"
test="((cac:Item/cac:CommodityClassification/ItemClassificationCode/listID) = ZZZ) and not (cac:Item/cac:CommodityClassification/ItemClassificationCode/name)"
flag="fatal">A name must be provided if the listID is "ZZZ".</assert>
test="((cac:Item/cac:CommodityClassification/ItemClassificationCode/listID) = 'ZZZ' and not (cac:Item/cac:CommodityClassification/ItemClassificationCode/name)) or (cac:Item/cac:CommodityClassification/ItemClassificationCode/listID) != 'ZZZ'"
flag="warning">A name must be provided if the listID is "ZZZ".</assert>
</rule>

<rule context="cac:AdditionalDocumentReference">
Expand Down

0 comments on commit 987fbb5

Please sign in to comment.