Skip to content

Latest commit

 

History

History
62 lines (60 loc) · 6.61 KB

R26881.md

File metadata and controls

62 lines (60 loc) · 6.61 KB

erp.type: business-rule erp.entity: Logistics.Inventory.StoreTransactions

R26881 StoreTransaction - Line Fixed Measurement Ratios

+-------------------+--------------------------------------------------------------------------------------------------+ | Code | 26881 | +-------------------+--------------------------------------------------------------------------------------------------+ | Name | LineFixedMeasurementRatios | +-------------------+--------------------------------------------------------------------------------------------------+ | Entity | @Logistics.Inventory.StoreTransactions | +-------------------+--------------------------------------------------------------------------------------------------+ | Layer | Back-End | +-------------------+--------------------------------------------------------------------------------------------------+ | Attribute | Quantity Base  | +-------------------+--------------------------------------------------------------------------------------------------+ | Events | Released + | +-------------------+--------------------------------------------------------------------------------------------------+ | Modify | NO | +-------------------+--------------------------------------------------------------------------------------------------+ | Action | For every line - if "VariableMeasurementRatios = FALSE" in the product's definition | | |

| | | , then validate that: | | |

| | |   "Quantity Base = ROUND (Quantity * (Product Dimension Dest Quantity / Product Dimension | | | Source Quantity, 3)" | | |

| | | OR  | | |

| | | "Quantity = ROUND ( Quantity Base / (Product Dimension Dest Quantity / Product Dimension Source | | | Quantity), 3)". | +-------------------+--------------------------------------------------------------------------------------------------+ | Description | Base quantity could be edited in the store transaction'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 uses variable measurement | | | ratios, then the product dimensions must be followed properly while recalculating base quantity. | +-------------------+--------------------------------------------------------------------------------------------------+ | Message | An error occurred while recalculating base quantity. Product dimensions must be followed for | | | products that are not allowed to use variable measurement ratios. Line number [line number] | | | violates this rule.  | | |

| | |

| | |

| | | Message also used in: | | |

| | | R26886 Shipment - Line Fixed Measurement Ratios | | |

| | | R27212 Invoice - Line Fixed Measurement Ratios | | |

| | | R27213 PurchaseInvoice - Line Fixed Measurement Ratios | +-------------------+--------------------------------------------------------------------------------------------------+ | Introduced In | 2017 | | Version | | +-------------------+--------------------------------------------------------------------------------------------------+ | Revocable | Yes | +-------------------+--------------------------------------------------------------------------------------------------+

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.