Compartilhar via


CustBillingCodeVersion.checkValidDatesForInvoiceLine Method

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

  • _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.

See Also

Reference

CustBillingCodeVersion Table