Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the cashDiscAmount field and may set the cashDiscPercent field.
Syntax
public void setCashDiscount(Percent _cashDiscPercent, AmountCur _cashDiscAmount)
Run On
Server
Parameters
- _cashDiscPercent
Type: Percent Extended Data Type
The value to set the cashDiscPercent field to, if the amount includes tax. If the amount does not include tax and the _cashDiscAmount parameter is not provided, this parameter is used to calculate the cashDiscAmount field.
- _cashDiscAmount
Type: AmountCur Extended Data Type
The value to set the cashDiscAmount field to. If this value is provided, the _cashDiscPercent parameter will be ignored.