Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CII - missing cardinality check for SpecifiedTradePaymentTerms #343

Closed
bdewein opened this issue Apr 11, 2023 · 1 comment
Closed

CII - missing cardinality check for SpecifiedTradePaymentTerms #343

bdewein opened this issue Apr 11, 2023 · 1 comment
Milestone

Comments

@bdewein
Copy link
Contributor

bdewein commented Apr 11, 2023

CII syntax allows for 0..n rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms and rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:Description.
EN 16931, however, has a restriction of 0..1 on BT-20 "Payment terms" (mapped to ram:SpecifiedTradePaymentTerms/ram:Description) and BT-9 "Payment due date" (mapped to ram:SpecifiedTradePaymentTerms/ram:DueDateDateTime/udt:DateTimeString).
Thus, there should be a rule to ensure that SpecifiedTradePaymentTerms and Description occur maximum once.

@oriol
Copy link
Collaborator

oriol commented Sep 28, 2023

Added rules CII-SR-452 and CII-SR-453.

oriol added a commit that referenced this issue Sep 28, 2023
@oriol oriol closed this as completed Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants