R31387-1 Reconciliation Line - Set Quantity Base (Recalc)
Code | 31387-1 |
Entity | Logistics.Inventory.ReconciliationLines Entity |
Name | SetQuantityBase |
Attribute | QuantityBase |
Layer | Front-End |
Events | AttributeChanged(Quantity, QuantityBase, QuantityUnit, Product) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | IIF((((Quantity == null) OrElse (QuantityUnit == null)) OrElse (Product == null)), QuantityBase, Quantity.ConvertTo(Product.BaseUnit, Product)) |
Description | When Product, Quantity or Quantity Unit is changed, Quantity Base is calculated as the Quantity is converted to the Product's Base Unit. |
Message | |
Version | |
Revocable | YES |
* This is auto generated code. Don't change it.