R28799 LogisticsDocument - Line Quantites The Have Same Sign

Code R28799
Entity LogisticsDocument
Name LineQuantitesHaveTheSameSign
Attribute Quantity, QuantityBase, StandardQuantityBase
Layer Back-End
Events Planning +
Priority Normal
Modify NO
Action Validate that, for every line:

Quantity >= 0 && QuantityBase >= 0 && StandardQuantityBase >= 0

||

Quantity <= 0 && QuantityBase <= 0 && StandardQuantityBase <= 0
Description Lines that contain products that use Variable Measurement Ratios may have Quantity Base values that exceed the ordered Quantity Base by the parent document. This may lead to the distribution of negative and values for the quantity fields. The current rule reassures that all quantity values in the logistics document lines must have the same sign.
Message Line number '[LineNo]' in document '[DocumentText]' contains quantities with different signs. The values of the fields 'Quantity', 'Quantity Base' and 'Standard Quantity Base' in the line must have the same sign.





Sort Messages By Attribute: LineNo
Introduced In Version 2018.2
Revocable NO

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