SATAuthorizationNumber_MX.checkForOverlapNumbers Method
Determines whether there is overlap between the FromNumber field and the ToNumber field for the series and year.
Syntax
public boolean checkForOverlapNumbers(
InvoiceSeries_MX _series,
RefRecId _numberSequenceTable,
AuthorizationYear_MX _year,
Integer _firstNumber,
Integer _lastNumber)
Run On
Called
Parameters
- _series
Type: InvoiceSeries_MX Extended Data Type
The series information that is used to define which records must be checked.
- _numberSequenceTable
Type: RefRecId Extended Data Type
The number sequence table information that is used to define which records must be checked.
- _year
Type: AuthorizationYear_MX Extended Data Type
The year information that is used to define which records must be checked.
- _firstNumber
Type: Integer Extended Data Type
The initial number that is used to validate the overlapping scenario.
- _lastNumber
Type: Integer Extended Data Type
The last number that is used to validate the overlapping scenario.
Return Value
Type: boolean
true if overlapping numbers are found; otherwise, false.