Functional Description
Purpose
Used for Variable Numerator Allocations routine P09122 to check next number for the Document Number.
Function queries the F0912B table to check whether the passed key already exists in the table. If
record doesn't exist, no response is apparent to user. If the record does exist an error is returned.
This function works only for an Add Mode.
Technical Specifications
Processing
After memory for the data structure is initialized to Nulls, a switch structure is entered. Only an
Add Bob Mode is treated, all else passes through.
For an add mode:
The F0912B is requested. If the file cannot be accessed, the error 078D (No File Access) is
indicated.
When the file is successfully accessed, the record indicated by the passed parameters is requested.
If the record is found, error 0002 (Invalid Record) is indicated. If the record is not found, no
indication is made and the function finishes successfully.
^
D0900040 - Check for existence of 912B record
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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
| ||||
mnDocVoucherInvoiceE | 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
| ||||
szCompany | CO | char | NONE | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
|
None |
F0912B Variable Allocation File |