Functional Description
Purpose
The purpose of this function is to perform all caching functionality for the Manufacturing Journal Entry Cache. The Manufacturing Journal Entry
Cache is used by the Manufacturing Journal Entries UBE (R31802A) to cache all journal entry records in order to print these records on the report
output.
Setup Notes and Prerequisites
The ManufacturingJournalEntryCache function must be called with cMode = 0 in order to create an instance of the cache before any other caching
functionality can be performed. In addition, the cache must be called with cMode = 4 after all desired caching functionality has been performed in order to
terminate the cache.
Business Function Paramenters:
1. cMode - Indicates the desired processing.
Valid modes include:
0 = Create an instance of the cache
1 = Add a record to cache
2 = Read a record from cache
4 = Terminate the cache
2. szCacheJobNumber - A unique job number that can be combined with business function object name to create a unique cache name.
3. cSuppressErrorMessage - A value of '1' indicates that errors encountered during processing should not be set in the message center.
4. szErrorMessage - The error message ID returned from the business function when an error occurs during processing. This ID is
returned regardless of the value in the cSuppressErrorMessage parameter.
5. idhCursor - A cursor pointing to a particular record in the cache. The cursor is passed back from the function when the cReturnPointer
parameter is set to '1' and should be passed into the function for a sequential read of the cache.
6. szBatchType - A member of the cache and part of the cache key.
7. mnBatch Number - A member of the cache and part of the cache key.
8. jdBatch Date - A member of the cache.
9. mnDocumentNumber - A member of the cache and part of the cache key.
10. szOrderType - A member of the cach and part of the cache key.
11. jdGLDate - A member of the cache.
12. szCompany - A member of the cache and part of the cache key.
13. szExplanation - A member of the cache.
14. mnItemNumber - A member of the cache and part of the cache key.
15. szGLAccount - A member of the cache and part of the cache key.
16. cSubledgerType - A member of the cache and part of the cache key.
17. mnDebitAmount - A member of the cache.
18. mnCreditAmount - A member of the cache.
19. szLedgerType - A member of the cache.
20. cDocumentTypeIndicator A member of the cache and part of the cache key.
21. szAccountDescription - A member of the cache.
22. szDocumentType - A member of the cache.
23. cReadByAccountNumber - A member of the cache.
24. cSumWithinWO - Flag that indicates that journal entries should be summarized within work orders.
25. cSumAcrossWO - Flag that indicates that journal entries should be summarized accross all work orders.
26. szItemDescription - A member of the cache.
27. mnWorkOrderNumber - A member of the cache and part of the cache key.
28. szSubledger - A member of the cache and part of the cache key.
Technical Specifications
Cache Structure:
szCompany
szBatchType
mnBatchNumber
mnWorkOrderNumber
szOrderType
mnDocumentNumber
cDocumentTypeIndicator
mnItemNumber
cDebitCredit
cSubledgerType
szSubledger
szGLAccount
mnLineNumber
szCacheJobNumber
jdBatchDate
jdGLDate
szExplanation
mnDebitAmount
mnCreditAmount
szLedgerType
szAccountDescription
szDocumentType
szItemDescription
Cache Key:
szCompany
szBatchType
mnBatchNumber
mnWorkOrderNumber
szOrderType
mnDocumentNumber
cDocumentTypeIndicator
mnItemNumber
cDebitCredit
cSubledgerType
szSubledger
szGLAccount
mnLineNumber
D3104280 - Manufacturing Journal Entry Cache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cMode | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szCacheJobNumber | JOBN | char | OPT | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
cSuppressErrorMessage | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | OPT | 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
| ||||
idhCursor | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
szBatchType | ICUT | char | OPT | NONE |
A code that specifies the system and type of transactions entered in a batch. The system assigns the value when you enter a transaction.
| ||||
mnBatchNumber | ICU | MATH_NUMERIC | OPT | NONE |
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
| ||||
jdBatchDate | DBT | JDEDATE | OPT | NONE |
The date of the batch. If you leave this field blank, the system uses the current date. | ||||
mnDocumentNumber | DOC | MATH_NUMERIC | OPT | NONE |
A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document
| ||||
szOrderType | 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
| ||||
jdGLDate | DGJ | JDEDATE | OPT | NONE |
A date that identifies the financial period to which the transaction will be posted. You define financial periods for a date pattern code that you
| ||||
szCompany | KCO | char | OPT | NONE |
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher,
| ||||
szExplanation | EXR | char | OPT | NONE |
A name or remark that describes the purpose for using an account or conveys any other information that the user wants about the
| ||||
mnItemNumber | ITM | MATH_NUMERIC | OPT | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szGLAccount | ANI | char | OPT | NONE |
A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:
o Standard account
| ||||
cSubledgerType | SBLT | char | OPT | NONE |
A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger
| ||||
mnDebitAmount | MN29D9 | MATH_NUMERIC | OPT | NONE |
This is a generic field used as a work field in Everest. | ||||
mnCreditAmount | MN29D9 | MATH_NUMERIC | OPT | NONE |
This is a generic field used as a work field in Everest. | ||||
szLedgerType | LT | char | OPT | NONE |
A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You
| ||||
cDocumentTypeIndicator | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szAccountDescription | DL01 | char | OPT | NONE |
A user defined name or remark. | ||||
szDocumentType | DCT | char | OPT | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
cReadByAccountNumber | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cSumWithinWO | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cSumAcrossWO | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szItemDescription | DSC1 | char | OPT | NONE |
Brief information about an item; a remark or an explanation. | ||||
mnWorkOrderNumber | 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,
| ||||
szSubledger | SBL | char | OPT | NONE |
A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an
| ||||
szUnitOfMeasure | UOM | char | OPT | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). |
None |
None |