R28423 Product - Intrastat Supplementary Unit Empty

Code R28423
Entity General.Products.Products Entity
Name IntrastatSupplementaryUnitRequiredEmpty
Attribute IntrastatSupplementaryUnit
Layer Back-End
Events Commit
Modify NO
Action Validate that:

if (IntrastatCommodityCode != null && IntrastatCommodityCode.SupplementaryUnit == '-')

IntrastatSupplementaryUnit == null
Description The Intrastat Supplementary Unit is used for the purposes of the Intrastat declarations. If the selected commodity code of the product does not require additional measurement unit of the product than the SupplementaryUnit of the product must be null.
Message Attribute 'Intrastat Supplementary Unit' of product {Product.Name} has value. When the product's intrastat code - '{IntrastatCommodityCode.CommodityCodeField}', has no supplementary unit specified, then the product Intrastat Supplementary Unit must be null. Please clear the value from Intrastat Supplementary Unit.
Introduced In Version 2018
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.