Value of '@unitCode' is not allowed.
The value of @unitCode is not included in the code list used by this rule. The test allows an empty value or a value included in the code list.
An allowed code identifies the unit of ram:BasisQuantity. The test checks the value against the unit of measure code list.
The code in @unitCode on ram:BasisQuantity is not allowed by this rule. You can check the value against the applicable code list.
- Find
ram:BasisQuantitywithinram:NetPriceProductTradePrice. - Check the value of
@unitCodeagainst the applicable unit of measure code list. - Generate the invoice again and validate it.
Technical details
The test passes when $codeValue15 is empty or its value matches an entry in codedb/cl[@id=15]/enumeration.
The rule applies to the value of @unitCode on ram:BasisQuantity of an invoice line’s net price.
rule/@context)assert/@test)