Function LandlordData
Obtain the landlord data
LandlordData([ID],[TYPE],[OPTION],[DATA],[DELIMITER],[DATE])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | string | required | n/a | ID | The identifier of the record to use |
| 2 | integer | optional | 1 | SOURCE | The source record where 1=Property, 2=Contract, 3=Client, 4=Landlord |
| 3 | integer | optional | 1 | OPTION | The filter option where 1=Landlords, 2=Lead Landlord |
| 4 | integer | optional | 1 | DATA | The data to return 1=Email Address, 2=Mobile, 3=Client Code, 4=Client Code (Email Exists), 5=Client Code (Mobile Exists) |
| 5 | string | optional | ; | DELIMITER | The delimiter to use in between each element found |
| 6 | datetime | optional | null | DATE | Filters against records where the date lies within the tenancy |
Example
The following example shows how to get the lead landlords email
{{LandlordData(ALIAS.CONCODE,2,2,1)}}
