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
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | string | required | n/a | PROPCODE | The property code to get Tenant data for |
| 2 | string | required | n/a | CONREF | The 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)}}
