Function Class_DiaryTenants

Gets a object of data about the Tenant for a Diary Event.
This is usually called from an Offer event to get Tenant details associated to that Offer

Class_DiaryTenants([PROPCODE],[CONREF])

Parameters

#TypePassingDefaultNameDescription/Comments
1stringrequiredn/aPROPCODEThe property code to get Tenant data for
2stringrequiredn/aCONREFThe diary code to get Tenant data for

Returns

A Diary Tenant Object


Examples

{{Local m.poTenants}}
{{m.poTenants = Class_DiaryTenants(PROPCODE,CONREF)}}

Will get the data and store it in a variable for later use


{{o.set("poTenants",Class_DiaryTenants(PROPCODE,CONREF))}}

Will get the data and store it in the o variable as poTenants for later use


Example use


{{m.o.poTenants = Class_DiaryTenants(PROPCODE,CONREF)}}