LvCashReceiptTrans::checkCashReceiptTableNum Method
Verifies whether the receipt number is valid.
Syntax
client server public static boolean checkCashReceiptTableNum(
CashReceiptTableRecId _recId,
NumberSequenceFormat _cashReceiptNum,
TransDate _transDate)
Run On
Called
Parameters
- _recId
Type: CashReceiptTableRecId Extended Data Type
The cash receipt table record ID that the receipt is from.
- _cashReceiptNum
Type: NumberSequenceFormat Extended Data Type
The cash receipt number to verify.
- _transDate
Type: TransDate Extended Data Type
The cash receipt transaction date.
Return Value
Type: boolean
true if the receipt number is in the specified format, has never been used, and occurs in the same batch; otherwise, false.