Article Details
Id:11625
Product:finPOWER Connect
Type:NEW
Version:2.00.02
Opened:13/12/2013
Closed:13/12/2013
Released:05/02/2014
Job: J012669

Business Layer; now includes a function to create an ISAddressDetails object from raw text

The Business Layer now includes a function to create an ISAddressDetails object from the raw text of an unstructured/ unformatted address.

The new function can be found at finBL.SupportedCountries.CurrentSupportedCountry.AddressDetailsFromRawString("Address", AddressDetails) and returns a Boolean indicating success/ failure.

Note, the lines of address should be delimited with vbNewline.

This function will only work given the quality of data, i.e. garbage in, garbage out - or failure. Therefore you should be careful when using this function.

This has been utilised in Credit Enquiry Reports to display a nicer address including a map hyperlink.