R27300 Invoice - Product Is Fixed Asset

Code R27300
Entity Crm.Invoicing.Invoices Entity
Name ProductIsFixedAsset
Attribute InvoiceLine.Quantity/ InvoiceLine.QuantityUnit
Layer Back-End
Events Released +
Modify NO
Action For every line - if "InvoiceLine.Product == InvoiceLine.Product.ProductType[IsFixedAsset == true]", validate that "InvoiceLine.QuantityUnit == InvoiceLine.QuantityUnit.MeasurementUnit[SystemUnit == Pieces]" and "InvoiceLine.Quantity == 1, 0, - 1.
Description Fixed assets can not be partially purchased or sold and each one of them has an inventory number, which needs to be unique. That's why products that are marked as fixed assets can't be invoiced with a quantity that is different from 1, 0, - 1, because this would mean that we either partially sold a product, or we are invoicing more than one product with the same inventory number. Products which are marked as fixed assets can only be used in pieces.
Message Line [LineNo] contains a product [PartNumber] which is a product that is a fixed asset but the measurement unit is different than pieces or the quantity is different than 1, 0, -1.

Message also used in:

R27480 PurchaseInvoice - Line Product Is Fixed Asset
Introduced In Version 2017
Revocable NO

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