R20971-1.1 Purchase Order Line - Check Product Variant

Code R20971-1.1
Entity Logistics.Procurement.PurchaseOrderLines Entity
Name CheckProductVariant
Attribute ProductVariant
Layer Back-End
Events Commit
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action If ProductVariant !=null, validate that:
Product == ProductVariant.Product
Description If the Product variant is filled in, then the product must be the same as the product
in the product variant definition.
Message In line number '{0}' of document '{1}' is selected an invalid product variant.
The product in the line should match the product specified in the definition
Version Introduced: 2022
Revocable NO

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