Functional Description
Purpose
This function is used to read from and write to a cache that contains the journal entry line numbers
for the different cost types for a specific order line.
Setup Notes and Prerequisites
Special Logic
cMode = '1' - Add
cMode = '2' - Get Next Record
cMode = '7' - Delete All Cache Records for Job Number
cMode = '8' - Delete All Cache Records for Specific Receipt Line
cMode = '9' - Delete Specific Cache Record
The cache cursor is passed in and out of the function when doing sequential get next records from the
cache. If the cache cursor is passed out as 0, it means that there are no more records to get.
Technical Specification
The key to the cache is Job Number, Order Number, Order Type, Order Key Company, Order Suffix, Line
Number, Receipt Line Number, and Cost Type.
^
D4301720 - Read/Write Cost Type Journal Entry Line Number Cache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobNumber_JOBS | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
mnOrderNumber_DOCO | 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,
| ||||
szOrderType_DCTO | 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
| ||||
szOrderKeyCompany_KCOO | 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
| ||||
szOrderSuffix_SFXO | SFXO | char | OPT | 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
| ||||
mnLineNumber_LNID | LNID | MATH_NUMERIC | OPT | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
mnReceiptLineNumber_NLIN | NLIN | MATH_NUMERIC | OPT | NONE |
A number representing the number of lines on either a purchase or sales order.
or The number of receivers recorded during the receipts
| ||||
szCostType_COST | COST | char | OPT | NONE |
A code that designates each element of cost for an item. Examples of the cost object types are:
o A1 Purchased raw material
o B1
| ||||
mnJournalEntryLineNo_JELN | JELN | MATH_NUMERIC | OPT | NONE |
A number that designates a line within a journal entry. The system uses this field to sequence the journal entry lines for inquiry purposes. | ||||
cMode_MODE | MODE | char | OPT | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. | ||||
idCacheCursor_GENLNG | GENLNG | ID | OPT | NONE |
General purpose ID variable. |
None |
None |