<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>EnsureFieldsForWUConveraNonEnrolled</fullName>
    <active>true</active>
    <errorConditionFormula>AND(
    NOT($Permission.AP_Bypass_VRs),
    ISPICKVAL(PaymentPlatform__c, &apos;WUConveraNonEnrolled&apos;),
    OR(
        ISBLANK(BeneficiaryName__c),
        ISBLANK(BankName__c),
        ISBLANK(AccountNumber__c),
        ISBLANK(SWIFTCode__c),
        ISBLANK(SORTCode__c)
    )
)</errorConditionFormula>
    <errorMessage>When Payment Platform is set to &apos;WU/Convera - NonEnrolled&apos;, the following fields must be filled: Beneficiary Name, Bank Name, Account Number / IBAN, SWIFT Code and SORT Code.</errorMessage>
</ValidationRule>
