Article Details
Id: | 10727 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 1.06.06 |
Opened: | 26/11/2012 |
Closed: | 28/11/2012 |
Released: | 29/01/2013 |
Job: | J010794 |
Functionality to fetch Client Address now returns the primary key of the Client Address record
The following functions used to return a Client's Address now also return the primary key of the Client Contact Address record:
finClientContactAddresses object
- GetCurrentPhysicalAddress
- The returned ISAddressDetails object now has the SourcePk property set.
- GetCurrentPostalAddress
- The returned ISAddressDetails object now has the SourcePk property set.
- GetPreviewAddressDetails
- The returned ISAddressDetails object now has the SourcePk property set.
- GetPreviousPhysicalAddress
- The returned ISAddressDetails object now has the SourcePk property set.
- GetAddressForLetters
- Now has an optional ByRef clientContactAddressPk parameter.
finClientContactAddress object
- ToAddressDetails
- Populates the SourcePk property of the ISAddressDetails object.
The following code in the standard VBA templates can be if required to return the primary key of the Client Contact Address:
' Get Client Address and Postal Zone
ClientAddress = AccountClient.Client.ContactAddresses.GetAddressForLetters(False, PostalZone, ClientContactAddressPk)