DocumentManager.<Document name>.FindByNumber
Syntax:
Parameters:
<DocumentNumber> (required)
The number of the desired document. The type of value passed depends on the number display setting in the Configuration Manager.
<IntervalDate> (optional)
Date from the interval being searched by number. The interval itself is defined as the unique period of document numbers containing the indicated date. For example, if document numbers are unique within a month and the date given is December 10, 2001, then the interval from December 1 through 31, 2001 will be searched.
The parameter is used for documents with periodic numbering.
Returned value:
Reference to document found. If the document is not found, an empty reference to the document is returned.
If number is not set (length = 0), will be returned Undefined.
Description:
Availability: