Function DisplayDepositHolder
Outputs the deposit holder scheme and scheme type.
DisplayDepositHolder([HOLDER],[TYPE],[SEPARATOR])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | integer | optional | n/a | HOLDER | The deposit holder |
| 2 | integer | optional | n/a | TYPE | The deposit holder type |
| 3 | string/char | optional | - | SEPARATOR | The separator to add if both values are provided |
Returns
The deposit holder scheme and scheme type name.
Examples
Example of outputting the deposit holder AND type from a tenancy.
{{DisplayDepositHolder(ALIAS.DEPOSITTO,ALIAS.DEPOSITTP)}}Will return "Agent - Custodial", "DPS - Insured" etc..
Example of outputting the deposit holder only.
{{DisplayDepositHolder(ALIAS.DEPOSITTO)}}Will return "Agent", "Landlord", "DPS" etc..
Example of outputting the deposit holder type only.
{{DisplayDepositHolder(null,ALIAS.DEPOSITTP)}}Will return "Custodial" or "Insured"
