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.
Calculates the percent of variance between the two amounts provided.
Syntax
client server public static Percent calcPercentVariance(
AmountCur _invoiceAmount,
AmountCur _expectedAmount,
[boolean _negativeBalance])
Run On
Called
Parameters
- _invoiceAmount
Type: AmountCur Extended Data Type
The actual invoice amount to compare.
- _expectedAmount
Type: AmountCur Extended Data Type
The expected invoice amount to compare.
- _negativeBalance
Type: boolean
A Boolean value that specifies whether this amount typically decreases the invoice total.
Return Value
Type: Percent Extended Data Type
The variance between the two amounts as a percentage.