R27157 LineDiscount - Check Enterprise Company Location
| Code | R27157 |
| Entity | Crm.Pricing.LineDiscounts Entity |
| Name | CheckEnterpriseCompanyLocation |
| Attribute | EnterpriseCompanyLocation |
| Layer | Back-End |
| Events | Commit |
| Modify | NO |
| Action | Validate that:
If (LineDiscount.EnterpriseCompanyLocation!= null ANDÂ LineDiscount.EnterpriseCompany != null) LineDiscount.EnterpriseCompanyLocation.EnterpriseCompany ==Â LineDiscount.EnterpriseCompany |
| Description | If the EnterpriseCompany and EnterpriseCompanyLocation are filled in, then the EnterpriseCompany of the selected location must be the same as the selected EnterpriseCompany. |
| Message | Use the message from R27142 ProductPrice - Check Enterprise Company Location. |
| Introduced In Version | 2017 |
| Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.