VendInvoiceMatching::isTotalPriceVarianceAboveTolerance Method
Determines whether the provided total amounts have a variance larger than the tolerance.
Syntax
client server public static boolean isTotalPriceVarianceAboveTolerance(
AmountCur _invoiceAmount,
AmountCur _expectedAmount,
Percent _priceTolerancePercentage,
[boolean _negativeBalance])
Run On
Called
Parameters
- _invoiceAmount
Type: AmountCur Extended Data Type
The actual invoice amount to be compared.
- _expectedAmount
Type: AmountCur Extended Data Type
The expected invoice amount to be compared.
- _priceTolerancePercentage
Type: Percent Extended Data Type
The percent of tolerance enabled.
- _negativeBalance
Type: boolean
A Boolean value that specifies whether this amount typically decreases the invoice total.
Return Value
Type: boolean
true if the variance between the amounts is larger than the tolerance; otherwise, false.