CustBillingCodeVersion.checkBillingCodeVersionOnInvoiceLine Method
Indicates whether the ValidFrom date is less than the invoice minimum date and ValidTo date is larger than invoice maximum date.
Syntax
public boolean checkBillingCodeVersionOnInvoiceLine(CustBillingCodeVersion _custBillingCodeVersion)
Run On
Called
Parameters
- _custBillingCodeVersion
Type: CustBillingCodeVersion Table
The CustBillingCodeVersion table buffer.
Return Value
Type: boolean
true if the ValidFrom date is less than invoice minimum date and ValidTo date is larger than invoice maximum date; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The billing code version is used on one or more customer invoices. |
Remarks
This method displays the error message.