R29163 StoreTransaction - Line Quantity Base 2 Has The Same Sign

Code R29163
Entity Logistics.Inventory.StoreTransactions Entity
Name LineQuantityBase2HasTheSameSign
Attribute QuantityBase2
Layer Back-End
Events Planning +
Priority Normal
Modify NO
Action For every line, validate that:

Quantity >= 0 && QuantityBase2 >= 0

||

Quantity <= 0 && QuantityBase2 <= 0
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. The rule reassures that the values of the lines Quantity and Quantity Base 2 have the same sign.
Message The field 'Quantity Base 2' in line number '[LineNo]' of document '[DocumentText]' contains a value but its sign is different from the Quantity value's sign.

Please make sure that the values of 'Quantity' and 'Quantity Base 2' in the line have the same sign.





*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.