Function DisplayAgentSaleValue

Outputs the agent sale value

DisplayAgentSaleValue([PROPERTY_CODE],[TYPE],[OTHER_FEES],[VAT_CALC],[ADD_VAT_TEXT],[STRIP_PENCE])

Parameters

#TypePassingDefaultNameDescription/Comments
1stringrequiredn/aPROPERTY_CODEThe property code
2integeroptional0TYPEThe type of calculation (see AgentSaleValue for valid values)
3integeroptional0OTHER_FEESThe other fees (see AgentSaleValue for valid values)
4integeroptional0VAT_CALCThe VAT calculation type (see AgentSaleValue for valid values)
5booleanoptionalfalseADD_VAT_TEXTWhether or not to include the VAT text
6booleanoptionalfalseSTRIP_PENCEWhether to strip off the pence

Returns

The agent sale value for display


Examples

Example to display the agent sale value

{{DisplayAgentSaleValue(ALIAS.PROPCODE)}}