Table of Contents

R101959 Company - Set Registration V A T Number (Recalc)

Code 101959
Entity General.Contacts.Companies
Name SetRegistrationVATNumber
Attribute RegistrationVATNumber
Layer Front-End
Events AttributeChanged(RegistrationNumber, IsVATRegistered, Country)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action IIF((((RegistrationNumber != null) AndAlso (Country != null)) AndAlso IsVATRegistered), IIF((Country.Code == "BG"), ("BG" + RegistrationNumber), RegistrationNumber), null)
Description The rule sets RegistrationVATNumber when RegistrationNumber and Country fields are set and IsVATRegistered is true.
Message
Version
Revocable YES

* This is auto generated code. Don't change it.