R30219-1 Company - Set Country

Code R30219-1
Entity General.Contacts.Companies Entity
Name SetCountry
Attribute Country
Layer Front-End
Events AttributeChanged(Id)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action IF(Company.Country==NULL)

Company.Country = Transaction.CurrentEnterpriseCompany.Company.Country
Description When creating a new Company, if Country is not set, it should be filled in with the Country of the current Enterprise Company for the transaction.
Message
Version Introduced: 2020.1
Revocable YES

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