Function LandlordData

Obtain the landlord data

LandlordData([ID],[TYPE],[OPTION],[DATA],[DELIMITER],[DATE])

Parameters

#TypePassingDefaultNameDescription/Comments
1stringrequiredn/aIDThe identifier of the record to use
2integeroptional1SOURCEThe source record where 1=Property, 2=Contract, 3=Client, 4=Landlord
3integeroptional1OPTIONThe filter option where 1=Landlords, 2=Lead Landlord
4integeroptional1DATAThe data to return 1=Email Address, 2=Mobile, 3=Client Code, 4=Client Code (Email Exists), 5=Client Code (Mobile Exists)
5stringoptional;DELIMITERThe delimiter to use in between each element found
6datetimeoptionalnullDATEFilters 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)}}