R27480 PurchaseInvoice - Line Product Is Fixed Asset
Code | R27480 |
Entity | Logistics.Procurement.PurchaseInvoices Entity |
Name | LineProductIsFixedAsset |
Attribute | Product |
Layer | Back-End |
Events | Planning + |
Modify | NO |
Action | Validate that:
If (PurchaseInvoiceLine.Product.ProductType.IsFixedAsset == True) (PurchaseInvoiceLine.Quantity = 1 OR PurchaseInvoiceLine.Quantity = 0 OR PurchaseInvoiceLine.Quantity = -1) AND PurchaseInvoiceLine.MeasurementUnit.SystemUnit = P |
Description | Fixed assets can not be partially purchased. Also, every asset has its own unique inventory number. That's why products that are marked as fixed assets can't be purchased with a quantity that is different from 1, 0, - 1, because this would mean that we either partially purchased a product, or we are purchasing more than one product with the same inventory number. Products which are marked as fixed assets can only be used in pieces. |
Message | Use the message from:
R27300 Invoice - Product Is Fixed Asset |
Introduced In Version | 2018 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.