R29647 SalesOrder - Valid Pos Location
| Code | R29647 | 
| Entity | Crm.Sales.SalesOrders Entity | 
| Name | ValidPosLocation | 
| Attribute | PosLocation | 
| Layer | Back-End | 
| Events | Commit | 
| Priority | Normal | 
| Modify | NO | 
| Applicable Legislations | ALL // no condition needed | 
| Action | If (PosLocation != NULL) , validate that: PosLocation.EnterpriseCompanyLocation = EnterpriseCompanyLocation | 
| Description | The rule validates that if the field POS Location in the Sales Order has a value, then the Enterprise Company Location of the POS Location is the same as the same as the Sales Order' Enterprise Company Location. | 
| Message | Sales Order '{DocumentText}' contains a POS Location of another Enterprise Company
Location. Please make sure that the Enterprise Company Locations of the Sales Order and its POS Location are the same. | 
| Introduced In Version | 2019.1 | 
| Revocable | NO | 
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.