Function AgentSaleValue
Calculates the agent sale value
AgentSaleValue([PROPERTY_CODE],[TYPE],[OTHER_FEES],[VAT_CALC])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | string | required | n/a | PROPERTY_CODE | The property code |
2 | integer | optional | 0 | TYPE | The type of calculation |
3 | integer | optional | 0 | OTHER_FEES | Whether or not to include other fees |
4 | integer | optional | 0 | VAT_CALC | The VAT calculation type |
Returns
The fee number depending on the type
Examples
To calculate the agent sale value
{{AgentSaleValue(ALIAS.PROPCODE, 1)}}