Article Details
Id: | 14284 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.00.04 |
Opened: | 19/12/2016 |
Closed: | 16/01/2017 |
Released: | 01/03/2017 |
Job: | J018418 |
Summary Pages; Version 2; New "Address" HTML Template
A new "Address" HTML Template has been added.
This can be used as follows:
Dim AddressDetails As ISAddressDetails
Dim SummaryTable As ISSummaryTable
AddressDetails = finBL.CreateAddressDetails()
With AddressDetails
.StreetAddressFull = "1 Oak Road"
.Suburb = "Taradale"
.City = "Napier"
.Postcode = "4000"
.Country = "New Zealand"
End With
SummaryTable = finBL.CreateSummaryTable()
With SummaryTable
.TableClass = iseSummaryTableClass.TabularData
With .Columns
.AddText("Name")
.AddText("Addresses")
End With
With .Rows.Add().Cells
.AddText("John Smith")
With .AddText("")
.Value &= "{{address addressDetailsXml='" & AddressDetails.ToXmlString() & "' singleLine='false' physicalFormat='false'}}" & vbNewLine & vbNewLine
.Value &= "{{address streetAddress='14 Clover Avenue' city='Hastings' postcode='4000' singleLine='true' physicalFormat='true'}}" & vbNewLine & vbNewLine
End With
End With
End With