Skip to content

Commit

Permalink
Generated by github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 24, 2023
1 parent 37ed8ec commit 08afe61
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions target/schematron/PEPPOLBIS-T120.sch
Original file line number Diff line number Diff line change
Expand Up @@ -1808,11 +1808,14 @@
<assert id="PEPPOL-T120-R007"
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>
</rule>

<rule context="cac:DespatchLine/cac:Item/cac:CommodityClassification">
<assert id="PEPPOL-T120-R040"
test="((cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/listID = 'ZZZ') and (cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/name)) or (cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/listID != 'ZZZ') or not (cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode)"
test="((normalize-space(cbc:ItemClassificationCode/listID) = 'ZZZ') and (cbc:ItemClassificationCode/name)) or (normalize-space(cbc:ItemClassificationCode/listID) != 'ZZZ') or not (cbc:ItemClassificationCode)"
flag="warning">A name must be provided if the listID is "ZZZ".</assert>
</rule>

<rule context="cac:AdditionalDocumentReference">
<assert id="PEPPOL-T120-R031"
test="(cbc:DocumentTypeCode) or (cbc:DocumentType)"
Expand Down

0 comments on commit 08afe61

Please sign in to comment.