NextNumberInquiry

Next Number Inquiry

Minor Business Rule

Object Name: B7400210

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Data Structure

D7400210 - Next Number Inquiry

Parameter NameData ItemData TypeReq/OptI/O/Both
szSystemCodeSYcharNONENONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

mnNextNumberingIndexNoNNIXMATH_NUMERICNONENONE

The array element number retrieved in the Next Number Revisions program.  For example, the next voucher number is array element '02' of 
system '04'.

szCompanyKeyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

szDocumentTypeDCTcharNONENONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

mnCenturyCTRYMATH_NUMERICNONENONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnFiscalYear1FYMATH_NUMERICNONENONE

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

szSameAsDocumentTypeSMAScharNONENONE

If you set up next numbers by company or by company and fiscal year, a document type can share the same next number sequence as 
another document type. Same As Document Type refers to the document type that controls the next number the system uses. For example, you 
create a document with a document type of RR. The document that you create should use the same next number sequence as regular 
invoices or RI document types. In this case, define the RR document type setup record with a Same As Document Type of RI.

mnNextNumber001N001MATH_NUMERICNONENONE

The number that the system will assign next. The system can use next numbers for voucher numbers, invoice numbers, journal entry 
numbers, employee numbers, address numbers, contract numbers, and sequential W-2s. You must use the next number types already 
established unless you provide custom programming.

Related Functions

None

Related Tables

F0002 Next Numbers - Automatic
F00021 Next Numbers by Company/Fiscal Year - Automatic
F03B11 Customer Ledger
F0411 Accounts Payable Ledger