Functional Description
Purpose
This business function will assign a document number (UKID)to an Inventory Transaction if it was not
entered. First, the UKID is generated from the X022 file. Then, this UKID is checked in the F4111
file to see if it is unique. If it is unique, it is passed to the B4100040 business function, which
writes out a cardex with the UKID.
Setup Notes and Prerequisites
This business function requires the user to pass in the Document Type, the Company Key, Next
Numbering Index No., System code, and G/L Date.
Special Logic
Technical Specification
This function generates a UKID from X022 and checks to see if this UKID is unique in the Item Ledger
File (F4111). If it is unique, the UKID is returned as the document number.
D4100020 - F4111 Get Next Number
Parameters:
Data Item Data Structure DescriptionI/ORequired
DOCDocument NumberOY
DCTDocument TypeIY
KCODocument CompanyIY
NNIXNext Numbering Index NumberIN
SYSystem CodeIN
EV01EverestEventPoint01N
DTAIDataItemN
DGLDate for G/L (And Voucher)IN
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentNumber | DOC | MATH_NUMERIC | NONE | NONE |
A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document
| ||||
szDocumentType | DCT | char | NONE | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
szKeyCompany | KCO | char | NONE | NONE |
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher,
| ||||
mnNextNumberingIndexNo | NNIX | MATH_NUMERIC | NONE | NONE |
The array element number retrieved in the Next Number Revisions program. For example, the next voucher number is array element '02' of
| ||||
szSystemCode | SY | char | NONE | NONE |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
cSuppressErrorMsg | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
jdGLDate | DGL | JDEDATE | NONE | NONE |
A date that identifies the financial period to which the transaction is to be posted.
The company constants specify the date range for each
|
B4000710 Get Next Document Number |
F4111 Item Ledger File |