R31215 SalesOrder - Check Line Store Enterprise Company
Code | R31215 |
Entity | Crm.Sales.SalesOrders Entity |
Name | CheckLineStoreEnterpriseCompany |
Attribute | LineStore |
Layer | Back-End |
Events | Releasing + |
Priority | Normal |
Modify | NO |
Applicable Legislations | ALL // no condition needed |
Action | Validate that for each sales order line:
LineStore.EnterpriseCompany == Null OR LineStore.EnterpriseCompany == EnterpriseCompany |
Description | The rule validates for all of the sales order lines that the Line Store belongs to the same enterprise company as the enterprise company of the current document or does not belong to any enterprise company. |
Message | Line number '{LineNo}' contains an invalid value for Line Store.
The selected store '{Store.StoreName}' is not in the same Enterprise Company as the document '{DocumentText}', which is not allowed. Select a store from the same Enterprise Company. |
Version | Introduced: 21.1 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.