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.
Indicates whether the new date is in the valid date range.
Syntax
public boolean checkValidDatesForInvoiceLine(
CustInvoiceTableRefRecId _custInvoiceTableRefRecId,
date _oldInvoiceDate,
date _newInvoiceDate)
Run On
Called
Parameters
- _custInvoiceTableRefRecId
Type: CustInvoiceTableRefRecId Extended Data Type
The record ID of the CustInvoiceTable table.
- _oldInvoiceDate
Type: date
The old invoice date on the date control.
- _newInvoiceDate
Type: date
The new invoice date on the date control.
Return Value
Type: boolean
true if the new date is valid; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The billing code line values are not valid if this invoice date is used. |