Functional Description
Purpose
This business function will retrieve information from the Purchase Order Receipts File (f43121) on
Amount paid to date and quantity and amount not vouchered. It also accumulates the amounts that are in a
receipts routing phase for purchase order Inquiry Purposes. It also returns the Return date value
from the F43121 file. If ErrorCodeF43121 will return a value of 1 if a record is not fetched in the
F43121 and ErrorCodeF43092 will contain a a value of 1 if fetch on F43092 fails
Edits:
Retrievals:
a. Using the fetch key
MATC = '1'
DOCO
DCTO
KCOO
LNID
Fetch all matching records from the Purchase Receipts file (F43121).
If the PRLAND is not equal to '2' and is not equal to '3' then
Add the fileds
PRQTYR
PRQTYW
PRQTYC
PRQYTJ
PRQTYA
together and cumulate into the QuantityDispositioned field.
Add PRUOPN into QuantityNotVouchered
Add PRFAP into ForeignAmountNotVouchered
Add PRAOPN into DomesticAmountNotVouchered.
NOTE : there may be multiple records fetched from the F43121 table. Each record fetched needs
to be cumulated into the Data Structure amounts.
b. using the fetch key
MATC = '2'
DOCO
DCTO
KCOO
LNID
Fetch all matching records from the Purchase Receipts file (F43121).
If the PRLAND is not equal to '2' and is not equal to '3' then
Add PRFAPT inot ForeignAmountPaidToDate
Add PRAPTD into DomesticAmountPaidToDate
Values as calculated above.
D430301 - Accumulate Receipts For Inquiry
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnOrderNumber | DOCO | MATH_NUMERIC | NONE | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szOrderType | DCTO | char | NONE | 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
| ||||
szOrderCompany | KCOO | char | NONE | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnLineNumber | LNID | MATH_NUMERIC | NONE | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
mnQuantityDispositioned | QTYR | MATH_NUMERIC | NONE | NONE |
The number of units that you returned to the supplier through receipt routing.
You can return goods for credit or for replacement. The system
| ||||
mnQuantityNotVouchered | UOPN | MATH_NUMERIC | NONE | NONE |
The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and
| ||||
mnForeignAmountNotVouchered | FAP | MATH_NUMERIC | NONE | NONE |
The unpaid foreign amount of a transaction. | ||||
mnDomesticAmountNotVouchered | AOPN | MATH_NUMERIC | NONE | NONE |
The amount of the order, invoice, or voucher that is still unpaid or open.
When you enter a document (for example, an order, invoice, or
| ||||
mnQuantityPaidToDate | UPTD | MATH_NUMERIC | NONE | NONE |
The units paid to date on an invoice or voucher. | ||||
mnForeignAmountPaidToDate | FAPT | MATH_NUMERIC | NONE | NONE |
Amount - Foreign Amount Paid to Date The amount, expressed in foreign currency, that is paid to date on an invoice or voucher. | ||||
mnDomesticAmountPaidToDate | APTD | MATH_NUMERIC | NONE | NONE |
The amount paid to date on an invoice or voucher. | ||||
cRoutingActiveFlag | RTGC | char | NONE | NONE |
Inidcates if the receipt transaction is in or through the purchase order routing process. Valid values are:
Y Transaction is in or has been
| ||||
jdDateReceived | RCDJ | JDEDATE | NONE | NONE |
The date you received this purchase order line. | ||||
szOrderSuffix | SFXO | char | NONE | NONE |
In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies
| ||||
mnQuantityInRouting | QTYO | MATH_NUMERIC | NONE | NONE |
The number of units currently at this operation. | ||||
cErrorCodeF43121 | ERR | char | NONE | NONE |
The Data Field Error Code field is simply a generic data field to pass an error condition flag. This field is one of the fields that make up the
| ||||
cErrorCodeF43092 | ERR | char | NONE | NONE |
The Data Field Error Code field is simply a generic data field to pass an error condition flag. This field is one of the fields that make up the
| ||||
szErrorCodeValue | 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
| ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnNumberOfLines | NLIN | MATH_NUMERIC | NONE | NONE |
A number representing the number of lines on either a purchase or sales order.
or The number of receivers recorded during the receipts
|
None |
F43092 Purchase Order Receipt Routing File | ||||
F43121 Purchase Order Receiver File |