Reference
Markdown exportBR-54 Item attribute must have both a name and a value
Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
Problem Description
ERROR
EN 16931 core business rule (CEN)
Context and Significance
This is an EN 16931 core rule. Item attributes (BG-32) such as colour, size or batch number are only usable as name/value pairs. In UBL, cbc:Name is already required by the schema, so BR-54 usually appears for an attribute without cbc:Value, for example when an export writes every attribute of the product template even if it is not filled for this item.
Solution
Provide both cac:AdditionalItemProperty/cbc:Name and cbc:Value for every item attribute (CII: ram:ApplicableProductCharacteristic with ram:Description for the name and ram:Value). If an attribute has no value for this item, leave the whole attribute out.
Quick actions
Valid Examples
- BT-160 = "Colour", BT-161 = "Blue"
Invalid Examples
- Item property with a Name but no Value (BT-161 missing)
Code Examples
<cac:AdditionalItemProperty>
<cbc:Name>Colour</cbc:Name>
<cbc:Value>Blue</cbc:Value>
</cac:AdditionalItemProperty><cac:AdditionalItemProperty>
<cbc:Name>Colour</cbc:Name>
</cac:AdditionalItemProperty>