R29861 LogisticsDocument - Standard Quantity Base Matches Quantity

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

ROUND(CONVERT(LogisticsDocumentLine.Quantity),3) -- 0.999 <= LogisticsDocumentLine.StandardQuantityBase <= ROUND(CONVERT(Quantity),3) + 0.999
Description The field Standard Quantity Base contains the equivalence of the Quantity calculated in base measurement unit. Although small variations between both values are possible due to ordered/executed exhaustion, big differences could mean that the quantities are not properly filled in or updated.

For this reason, the current rule validates that the difference between Standard Quantity Base and the Quantity calculated in base measurement unit is not bigger that 0.999.
Message The field 'Standard Quantity Base' in line number '[LineNo]' with component '[CompositeProductCoponent]' contains an invalid value. The field 'Standard Quantity Base' should contain the equivalence of the 'Quantity' calculated in base measurement unit according to the product's measurement ratios. Please check if the values in both fields are correctly filled in.
Introduced In Version 2019.1 RC0
Revocable YES

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