R29860 LogisticsDocument - Standard Quantity Base Equal To Quantity Base

Code R29860
Entity LogisticsDocument
Name StandardQuantityBaseEqualToQuantityBase
Attribute StandardQuantityBase
Layer Back-End
Events Releasing +
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action Validate that, for every line:

If (LogisticsDocumentLine.Product.AllowVariableMeasurementRatios == False)

, then LogisticsDocumentLine.StandardQuantityBase == LogisticsDocumentLine.QuantityBase
Description The field Standard Quantity Base contains the equivalence of the Quantity calculated in base measurement unit. For products that Variable Measurement Ratios, this means that Standard Quantity Base is equal to Quantity Base.
Message The field 'Standard Quantity Base' in line number '[LineNo]' in document '[DocumentText]' contains an invalid value. The values in the fields 'Standard Quantity Base' and 'Quantity Base' must be equal for products that do not use variable measurement ratios. Please check if the values in both fields are correctly filled in.
Version Introduced In: 2019.1
Revocable NO

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