Article Details
Id:16230
Product:finPOWER Connect
Type:NEW
Version:3.02.00
Opened:08/07/2019
Closed:08/07/2019
Released:15/08/2019
Job: J022591

finClientFunctions new function; GetClientFromEmail

A new function has been added to finClientFunctions to retrieve the best Client related to the specified Email address.

Preference is for the first Client (in ClientId order) that has an Open Account, failing that, where the Client has an Incomplete Account or Account Application. Both the Client and Email contact method must be Active

The function is finBL.ClientFunctions.GetClientFromEmail. It returns the finClient object, or Nothing is not found, and a boolean emailUnique, which is False if the Email is NOT unique.