+-----------------------+----------------------------------------------------------------------------------------------+
| Code | R28660 |
+-----------------------+----------------------------------------------------------------------------------------------+
| Entity | @Logistics.Inventory.StoreTransactions |
+-----------------------+----------------------------------------------------------------------------------------------+
| Name | ProductIsStocked |
+-----------------------+----------------------------------------------------------------------------------------------+
| Attribute | Product |
+-----------------------+----------------------------------------------------------------------------------------------+
| Layer | Back-End |
+-----------------------+----------------------------------------------------------------------------------------------+
| Events | Planning + |
+-----------------------+----------------------------------------------------------------------------------------------+
| Priority | Normal |
+-----------------------+----------------------------------------------------------------------------------------------+
| Modify | NO |
+-----------------------+----------------------------------------------------------------------------------------------+
| Action | For every line: |
| |
|
| | Validate that "Product.ProductType.IsStocked = True". |
+-----------------------+----------------------------------------------------------------------------------------------+
| Description | Only products that are stocked can be used in the documents of the Inventory (Warehouse |
| | Management) module. The products that are not stocked (such as Services for example) are not |
| | stored in Stores and therefore they shouldn't be used inventory documents. Those product |
| | should be sold and invoiced directly. |
| |
|
| | The option if a product can be stocked or not is managed by a check-mark in the |
| | field "IsStocked" in its product type's definition. |
+-----------------------+----------------------------------------------------------------------------------------------+
| Message | Line number '[LineNo]' in document '[DocumentText]' contains a product that is not |
| | stocked. Only products that are stocked can be used in inventory documents. |
+-----------------------+----------------------------------------------------------------------------------------------+
| Introduced In | 2018.2 |
| Version | |
+-----------------------+----------------------------------------------------------------------------------------------+
| Revocable | YES |
+-----------------------+----------------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.