R29161 StoreTransaction - Line Quantity Base 2

Code R29161
Entity Logistics.Inventory.StoreTransactions Entity
Name LineQuantityBase2
Attribute QuantityBase2
Layer Back-End
Events Released +
Priority Normal
Modify NO
Action For every line - if "Line.QuantityUnit == Line.Product.SecondaryBaseMeasurementUnit", validate that "Line.Quantity == Line.QuantityBase2"
Description The field Quantity Base 2 contains the equivalence of the Quantity calculated in Base Measurement Unit 2.

The field can be edited manually by the user, that's why the current rule validates that the correct Quantity Base 2 will be set if the Quantity Unit in the line is the same as the one set as Secondary Base Measurement Unit in the product's definition. The rule reassures that if the two units are equal then the value of the lines Quantity will be equal to the value of Quantity Base 2.
Message The field 'Quantity Base 2' in line number '[LineNo]' of document '[DocumentText]' contains an invalid value.

The value in the field 'Quantity Base 2' is not the same as the value in the field 'Quantity', although quantity unit in the line is the same as the secondary base measurement unit set in the product's definition.





*Sort Messages By Attribute: *

Document.DocumentText

Line.LineNo
Version Introduced: (in implementation)

Updated: -
Revocable NO

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