R31387-2 Reconciliation Line - Set Standard Quantity Base (Recalc)
Code | 31387-2 |
Entity | Logistics.Inventory.ReconciliationLines Entity |
Name | SetStandardQuantityBase |
Attribute | StandardQuantityBase |
Layer | Front-End |
Events | AttributeChanged(Quantity, StandardQuantityBase, QuantityUnit, Product) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | IIF((((Quantity == null) OrElse (QuantityUnit == null)) OrElse (Product == null)), StandardQuantityBase, Quantity.ConvertTo(Product.BaseUnit, Product)) |
Description | When Product, QuantityBase, Quantity or Quantity Unit is changed, Standard 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.