Value of '@unitCode' is not allowed.
The @unitCode attribute of ram:PerPackageUnitQuantity contains a value that is not in the corresponding code list. This check permits an empty value.
The unit code identifies the unit of measure in which the quantity per package is expressed. A disallowed code can prevent consistent interpretation of the quantity.
The unit code for the quantity per package is not in the code list provided for it. You can adjust the code and check the invoice again.
- Check
@unitCodeonram:PerPackageUnitQuantity. - Use a unit code allowed by the corresponding code list.
- Generate the invoice again and validate it again.
Technical details
The check verifies that the unit code is empty or occurs as enumeration/@value in codedb/cl[@id=15].
The rule applies to @unitCode on ram:PerPackageUnitQuantity in the delivery details of an invoice line.
rule/@context)assert/@test)