Share via


LtInvoiceAutoNumberingTable::checkLastDate Method

This method is used to confirm that the current date is not earlier than the last date this autonumbering code was used.

Syntax

server public static boolean checkLastDate(
    LtDocNumberingCode _code, 
    TransDate _date, 
   [boolean _warning])

Run On

Server

Parameters

  • _warning
    Type: boolean
    Boolean value indicating whether a warning message should be thrown or not.

Return Value

Type: boolean
false, if the LastTransDate is greater than the current date being verified.

See Also

Reference

LtInvoiceAutoNumberingTable Table