R28427 SalesOrder - Customer Identification Number Has Value

Code R28427
Entity Crm.Sales.SalesOrders Entity
Name CustomerIdentificationNumberHasValue
Attribute Customer
Layer Back-End
Events Releasing +
Modify NO
Action Validate that:

If (Customer.Party.PartyType == Company && Customer.Company.County.Code == 'BG')

Customer.Company.RegistrationNumber != null
Description The current validation helps the user know as much as possible in advance if there is incomplete or incorrect data of the selected customer in the Sales Order. The identification number is mandatory for companies from Bulgaria.
Message The customer's company '{Customer.PartyName}' has no identification number. The identification number is requiered for companies from country '{Customer.Company.Country.Name}'. Please specify an identification number of the customer's company.
Introduced In Version 2018
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.