GetBatchNumberandLastJournalEL

Get Batch Number and Last Journal Entry Line - 43

Minor Business Rule

Object Name: N76B9002

Parent DLL: CLOC

Location: Client/Server

Language: NER

Data Structure

D76B9002 - Get Batch Number and Last Journal Entry Line          - 43

Parameter NameData ItemData TypeReq/OptI/O/Both
szCompanyKeyKCOcharREQINPUT

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.

mnDocVoucherInvoiceEDOCMATH_NUMERICREQINPUT

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

jdDtForGLAndVouch1DGLJDEDATEREQINPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

mnJournalEntryLineNoJELNMATH_NUMERICREQINPUT

A number that designates a line within a journal entry. The system uses this field to sequence the journal entry lines for inquiry purposes.

mnBatchNumberICUMATH_NUMERICOPTOUTPUT

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

mnLastJournalEntryLineNoJELNMATH_NUMERICOPTOUTPUT

A number that designates a line within a journal entry. The system uses this field to sequence the journal entry lines for inquiry purposes.

szDocumentTypeDCTcharREQINPUT

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 

Related Functions

None

Related Tables

None