R29753 SalesOrder - Pos Location Required
| Code | R29753 |
| Entity | Crm.Sales.SalesOrders Entity |
| Name | PosLocationRequired |
| Attribute | PosLocation |
| Layer | Back-End |
| Events | Commit |
| Priority | Normal |
| Modify | NO |
| Applicable Legislations | ALL // no condition needed |
| Action | If (PosLocation == NULL && EnterpriseCompanyLocation != NULL)
, validate that: PosLocations[(EnterpriseCompanyLocation = SalesOrder.EnterpriseCompanyLocation) && (Active = True)].Count() = 0 |
| Description | The POS Location field of the Sales Order could only be empty if the the Sales Order is created in a Enterprise Company Location for which there is no active POS Locations. |
| Message | Sales Order '{DocumentText}' is created in anĀ Enterprise Company Location that has an
active POS Location but the fieldĀ POS Location in this document does not contain a value.
Please enter a POS Location. |
| 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.