Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:CompleteNumber does not occur exactly once in FaxUniversalCommunication. The element is missing or occurs more than once.
The contact person’s fax communication requires exactly one complete number so that it is stated unambiguously.
The sales agent contact’s fax details are missing the complete number or include it more than once. You can resolve this by including a single ram:CompleteNumber.
- Locate the fax details under
ram:FaxUniversalCommunicationfor the sales agent contact. - Make sure there is exactly one
ram:CompleteNumberthere. - Generate the invoice again and validate it once more.
<ram:FaxUniversalCommunication> <ram:CompleteNumber>123</ram:CompleteNumber> <ram:CompleteNumber>456</ram:CompleteNumber> </ram:FaxUniversalCommunication>
<ram:FaxUniversalCommunication> <ram:CompleteNumber>123</ram:CompleteNumber> </ram:FaxUniversalCommunication>
Technical details
The rule checks that there is exactly one direct ram:CompleteNumber element in the ram:FaxUniversalCommunication context.
The rule applies to the fax communication of the contact person in SalesAgentTradeParty.
rule/@context)assert/@test)