R19841 Product - Serialized Not In Correct Measurement Unit
Code | R19841 |
Entity | General.Products.Products Entity |
Name | SerializedNotInCorrectMeasurementUnit |
Attribute | IsSerialized, BaseMeasurementCategory |
Layer | Back-End |
Events | Commit |
Priority | Normal |
Modify | NO |
Applicable Legislations | ALL // no condition needed |
Action | If (Product.IsSerialized == true) , validate that: Product.BaseMeasurementCategory.BaseUnit.SystemUnit == MeasurementUnitsRepository.SystemUnit.Pieces |
Description | If Product is serialized, then the Base Unit of the product's Base Measurement Category must be the unit whose System Unit is 'Pieces'. |
Message | Product with code '{PartNumber}' is serialized but the system unit of its base measurement unit is not 'Pieces'. |
Version | Introduced: 2015 |
Revocable | No |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.