SalesFormLetter.checkDuplicateNum_W Method [AX 2012]

Determines whether invoice number has been previously used.

public boolean checkDuplicateNum_W(
    Num _num, 
    SalesIdBase _salesId, 
    TransDate _transDate)

Run On



Type: Num Extended Data Type
The invoice number of the unposted transaction.
Type: SalesIdBase Extended Data Type
The sales ID of the unposted transaction.
Type: TransDate Extended Data Type
The transaction date.

Return Value

Type: boolean
false if the invoice number is used previously; otherwise, true.