R30436-1 PartyBankAccount - Is Iban Valid
| Code | 30436-1 | 
| Entity | General.Contacts.PartyBankAccounts Entity | 
| Name | IsIbanValid | 
| Attribute | BankAccountCode | 
| Layer | Front-End | 
| Events | AttributeChanged(BankAccountCode) | 
| Priority | Normal | 
| Modify | YES | 
| Applicable Legislations | ALL // no condition needed | 
| Action | IF(BankAccountCode!=null or empty)
 Iban iban = new Iban(BankAccountCode); if (!iban.IsValid) throw  | 
| Description | When BankAccountCode is changed, if the value is not null or empty, it should be a valid IBAN. | 
| Message | In a bank account for party '{Party}' is filled in an invalid
IBAN '{BankAccountCode}'.
 Please make sure that the inserted value is correct.  | 
| 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.