Announcements
No record found.
Hi,
I’ve had a request to enhance a customer remittance import configuration I built in ER so that it can handle substring matching. Sometimes customers send remittance files where the invoice number provided is 12345, but the original invoice number in the system might be something like INV12345.
I can work around some example by using text functions like LEFT, RIGHT, and MID, or reconstruct the expected invoice number using concatenation. However, I wanted to check whether anyone is aware of a substring, fuzzy‑match, or approximate‑match function available in ER formulas, or whether there is a native X++ method that ER can call to support this.
Any ideas or recommended approaches would be appreciated.
Thanks, Lex
Thanks, Neeraj Kumar. When mapping to the model, I need to validate the invoice number — checking whether it’s valid, I am already doiing a few checks like whether it has already been allocated to a payment, and whether there is any remaining open amount. One of the scenarios I’m handling is where the provided invoice number is only a partial string of the real invoice number.
For example, if the full invoice number is normally 11 characters (e.g., INV00012345) but the data only contains 12345, I need to search for that partial value within the full list of invoices. What I was considering is creating a rule set for the most common patterns, reconstructing the likely full invoice number, and then searching based on that. A contains check works for string construction, but I’m not sure how best to apply it when searching across a list of strings.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 510 Super User 2026 Season 1
Giorgio Bonacorsi 399
Adis 251 Super User 2026 Season 1