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

finClientFunctions new function; GetClientFromPhone

A new function has been added to finClientFunctions to retrieve the best Client related to the specified Phone Number.

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 Phone Number contact method must be Active

The function is finBL.ClientFunctions.GetClientFromPhone. It returns the finClient object, or Nothing is not found, and a boolean phoneUnique, which is False if the Phone Number is NOT unique.

NOTE: Phone Numbers must be formatted with a separator between the area/ mobile prefix, e.g. space or dash, and the rest of the number.