R29157 StoreTransaction - Set Quantity Base 2
Code | R29157 |
Entity | Logistics.Inventory.StoreTransactions Entity |
Name | SetQuantityBase2 |
Attribute | QuantityBase2 |
Layer | Back-End |
Events | Commit |
Priority | Normal |
Modify | YES |
Action | If (Line.Product.SecondaryBaseMeasurementUnit != NULL)
{ QuantityBase2 = CONVERT(Quantity, BaseMeasurementUnit2); } |
Description | The field Quantity Base 2 contains the equivalence of the Quantity calculated in Base
Measurement Unit 2.
It is very important Quantity Base 2 to have values in all store transaction lines if a Base Measurement Unit 2 is set for the product. Otherwise, the product's stock availability in this measurement unit won't be correct. In order to make sure that the field is filled in if Quantity Base 2 does not have a value and for the product is set a Measurement Unit 2, then the current rule calculates and sets its value. The value is calculated from Quantity in the line using the measurement ratios of the product. |
Message | - |
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.