1.1Purpose
This business function determines what the next application number and adjustment number is for a contract.
1.2Setup Notes and Prerequisites
The contract must be specified.
1.3Special Logic
If the Inquiry mode is equal to ' ' (i.e. determine next number mode), perform the following:
1. If the application number passed in = 0, the last application number in the F4822 for the selected contract will be read and 1 will be added to it to return
the proper values.
2. If the application number is <> 0, the last adjustment number for the application is read and 1 will be added to it.
Otherwise, if the Inquiry mode is equal to '1' (i.e. determine existance), check if application/adjustment number combination exists.
D5200210 - Determine F4822 Application/Adjustment Number
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnContractNo | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szContractDocumentType | DCTO | char | OPT | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
szCompanyKeyCo | KCOO | char | OPT | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnApplicationNo | APPL | MATH_NUMERIC | OPT | NONE |
The last or current application number for the specified contract. (The system assigns a new application number each time an invoice is
| ||||
mnAdjustmentNo | ADJN | MATH_NUMERIC | OPT | NONE |
A number used to control changes to closed applications. Closed applications represent invoices that have been sent. This number is
| ||||
cInquiryMode | EV01 | char | OPT | NONE |
This parameter determines how the business function calculates or checks the application/adjustment
| ||||
cErrorCode | ERRC | char | OPT | NONE |
This parameter returns the processing status of the business function. The following values will be
|
None |
None |