Technical Articles
Workaround for error on Duplicate Account Number in Payment Information
One of the most common requirement, and of course, logical too, is an error on duplication of Bank Account Number, at least with regard to audit purpose.
Thanks to a platform like PDC, Karthik_Visu cracked it.
When I did a testing, I knew I have to share it.
This shall be done by a rule, which will have an error message when the conditions are ‘true’
To start with, create an error message-
Navigate to Admin Center–Manage Data
In Create New, select ‘Message Definition’ and fill the required fields-
Navigate to Admin Center– Configure Business Rule.
Select Base Object as ‘Payment Information Detail’.
Navigate to Configure Object Definition– Payment Information Detail
Assign this rule to ‘Account Number’ field in Payment Information Detail object
With this, duplicate account number entry will throw an error!
Cool. Thank you for sharing.
Best regards,
Sanjay
Dear Jyotika,
This is not working properly with the workflow.
Even for non-duplicate bank accounts also error message is triggering.
Dear Ravi,
Can you please share the rule you wrote?
Regards
Hi Jyotika,
I had implemented the similar above rule, which works fine when we have a new Hire employee but using the Rehire with new employment and that employee had same bank account details, the duplicate error message is showing up.
Any lead on same would be helpful.
Regards,
Piyush
Issue is resolved.
Hi Piyush/Jyotika,
Could you please share the additional changes to make the rule work for Rehire scenario as well. Thanks
Best Regards,
Aashima