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.
Validates that the signs of the supplied quantities are the same.
Syntax
client server public static boolean checkQuantitySign(
Qty _invoiceQty,
Qty _orderQty,
[str _errorMessage])
Run On
Called
Parameters
- _invoiceQty
Type: Qty Extended Data Type
The value of the invoice quantity field to be validated.
- _orderQty
Type: Qty Extended Data Type
The ordered quantity in purchasing or inventory unit of measure.
- _errorMessage
Type: str
The error message to display if the quantities fail validation.
Return Value
Type: boolean
true if the signs are the same; otherwise, false.