New function: Search customers by partial name

General Discussions
Best Practices
Examples

New function: Search customers by partial name

Postby Christian Estrup » Fri Aug 06, 2010 10:18 am

On very popular demand, it is now possible to search for customers by name using wildcards.

This is available through the Debtor.FindByPartialName() method, which allows you to include asterisks (*) as wildcards.

"Why didn't we just allow wildcards in the existing Debtor.FindByName() method?", you might ask? Simple: We are very, very committed to avoiding breaking changes to the API as much as possible - and this would obviously constitute a breaking change, since searching for "*" would then previously have returned any debtor(s) whose name was exactly "*", but now, it would instead return all debtors...

As always, you can pick up the latest developer toolkit - including an updated .NET assembly - right here. You can also read the full documentation online here.
Christian Estrup
Chief Architect

Image
Online accounting
User avatar
Christian Estrup
 
Posts: 206
Joined: Tue Jun 09, 2009 6:37 pm

Return to Miscellaneous



cron