erp.type | erp.entity |
---|---|
business-rule |
Logistics.Procurement.PurchaseInvoices |
+-------------------+--------------------------------------------------------------------------------------------------+
| Code | R27213 |
+-------------------+--------------------------------------------------------------------------------------------------+
| Entity | @Logistics.Procurement.PurchaseInvoices |
+-------------------+--------------------------------------------------------------------------------------------------+
| Name | LineFixedMeasurementRatios |
+-------------------+--------------------------------------------------------------------------------------------------+
| Attribute | QuantityBase |
+-------------------+--------------------------------------------------------------------------------------------------+
| Layer | Back-End |
+-------------------+--------------------------------------------------------------------------------------------------+
| Events | Released + |
+-------------------+--------------------------------------------------------------------------------------------------+
| Modify | NO |
+-------------------+--------------------------------------------------------------------------------------------------+
| Action | For every line validate that: |
| |
|
| | if (Product.AllowVariableMeasurementRatios == false") |
| |
|
| | Quantity Base = Quantity * Product Dimension Dest Quantity / Product Dimension Source Quantity |
+-------------------+--------------------------------------------------------------------------------------------------+
| Description | Base quantity could be edited in purchase invoice's lines only for products that are allowed to |
| | use variable measurement ratios. For those products base quantity may stay the same although the |
| | quantity in additional measurement units may vary to a certain extent. That's why the user has |
| | the opportunity to manually adjust the right base amount in the particular situation. Otherwise |
| | if in the product definition is not set that it is allowed to use variable measurement ratios, |
| | then product dimensions must be followed properly while recalculating base quantity. |
+-------------------+--------------------------------------------------------------------------------------------------+
| Message | Use the message from: R26881 StoreTransaction - Line Fixed Measurement Ratios |
+-------------------+--------------------------------------------------------------------------------------------------+
| Introduced In | 2017 |
| Version | |
+-------------------+--------------------------------------------------------------------------------------------------+
| Revocable | NO |
+-------------------+--------------------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.