R35120 Sales Order Line - Select Product If Customer Empty Not Allowed
| Code | R35120 |
| Entity | Crm.Sales.SalesOrderLines Entity |
| Name | SelectProductIfCustomerEmptyNotAllowed |
| Attribute | Product |
| Layer | Front-End |
| Events | AttributeChanged(Product) |
| Priority | Normal |
| Modify | NO |
| Action | When selecting a value in Product field - if SalesOrder.Customer field is empty, throw an error. |
| Description | The rule prevents to select a product in lines if no customer is specified in the document header. This aims to optimize the performance of the product selection process. |
| Message | Cannot select a product because there is no customer selected in the document header. |
| Version | Introduced: v.23 |
| Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.