Functionality Overview
Purpose
This function was created for the WIP Revaluation enhancement. It is called by both the Load WIP Revaluation Cache business
function (B3104150) and the WIP Revaluation UBE (R30837). It's purpose is to appropriately manipulate the WIP Revaluation
Cache, based on the cMode parameter.
Setup Notes and Prerequisites
Before any cache manipulation can take place this function must be called with cMode = 0 in order to initiate the cache. When
cache processing is finished, the function should be called with cMode = 5 in order to terminate the cache.
Parameter Details:
1. cMode
0 = Create a unique cache instance
1 = Add a unique record to cache
2 = Read a record from the cache - for sequential read set cReturnPointer = '1'
3 = Update a record in the cache
4 = Delete a record from the cache based on keys
5 = Terminate 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. 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.
5. mnLowLevelCode - A member of the cache and part of the cache key.
6. szBranch - A member of the cache and part of the cache key.
7. mnShortItemNumber - A member of the cache and part of the cache key.
8. mnWorkOrderNumber - A member of the cache and part of the cache key.
9. szCompletionLocation - A member of the cache and part of the cache key.
10. szCompletionLot - A member of the cache and part of the cache key.
11. szIssueLocation - A member of the cache and part of the cache key.
12. szIssueLot - A member of the cache and part of the cache key.
13. szOrderType - A member of the cache and part of the cache key.
14. sz2ndItemNumber - A member of the cache.
15. sz3rdItemNumber - A member of the cache.
16. cParentChild - A member of the cache.
17. szGLCategory - A member of the cache.
18. szCostMethod - A member of the cache.
19. szStatusCodeWo - A member of the cache.
20. cVarianceFlag - A member of the cache.
21. cExploded - A member of the cache.
22. cInitialBuildup - A member of the cache.
23. szErrorMessageID - The error messge ID returned from the business function when an error occurs. This message is returned
regardless of the value of the cSuppressErrorMessage parameter.
24. szProductionUOM - A member of the cache.
25. cStockingType - A member of the cache.
26. mnWorkOrderUnits - A member of the cache.
27. cCostLevel - A member of the cache.
28. mnCompletedUnits - A member of the cache.
29. mnScrappedUnits - A member of the cache.
30. mnNumberKeys - Indicates the number of keys to be used when fetching from the cache.
31. cReturnPointer - A value of '1' indicates that a pointer to the cache should be returned when a successful cache read has
occured.
32. cLevel - A member of the cache.
33. szWorkOrderCostingMethod - A member of the cache
D3104100 - WIP Revaluation Input Data Cache Business Function
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. | ||||
idhCursor | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
mnLowLevelCode | LLX | MATH_NUMERIC | OPT | NONE |
This identifies the lowest level in any bill of material at which a particular component may appear.. | ||||
szBranch | MMCU | char | OPT | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
mnShortItemNumber | 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
| ||||
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,
| ||||
szCompletionLocation | LOCN | char | OPT | NONE |
The storage location from which goods will be moved. | ||||
szCompletionLot | LOTN | char | OPT | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
szIssueLocation | LOCN | char | OPT | NONE |
The storage location from which goods will be moved. | ||||
szIssueLot | LOTN | char | OPT | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
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
| ||||
sz2ndItemNumber | LITM | char | OPT | NONE |
A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to
| ||||
sz3rdItemNumber | AITM | char | OPT | NONE |
The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item
| ||||
cParentChild | PART | char | OPT | NONE |
An option that specifies whether the system displays parent records or child records. If you turn on this option, the system displays parent
| ||||
szGLCategory | GLPT | char | OPT | NONE |
A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If
| ||||
szCostMethod | LEDG | char | OPT | NONE |
A user defined code (40/CM) that specifies the basis for calculating item costs. Cost methods 01 through 19 are reserved for J.D. Edwards
| ||||
szStatusCodeWo | SRST | char | OPT | NONE |
A user defined code (00/SS) that describes the status of a work order, rate schedule, or engineering change order. Any status change from
| ||||
cVarianceFlag | PPFG | char | OPT | NONE |
A 1 in this field indicates that this work order has had work order activity run against it in update mode. A 2 in this field indicates that this work
| ||||
cExploded | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cInitialBuildup | 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
| ||||
szProductionUOM | 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). | ||||
cStockingType | STKT | char | OPT | NONE |
A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking
| ||||
mnWorkOrderUnits | UORG | MATH_NUMERIC | OPT | NONE |
The quantity of units affected by this transaction. | ||||
cCostLevel | CLEV | char | OPT | NONE |
A code that indicates whether the system maintains one overall inventory cost for the item, a different cost for each branch/plant, or a
| ||||
mnCompletedUnits | SOQS | MATH_NUMERIC | OPT | NONE |
The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this
| ||||
mnScrappedUnits | SOCN | MATH_NUMERIC | OPT | NONE |
The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for
| ||||
mnNumberKeys | NKEYS | MATH_NUMERIC | OPT | NONE |
The number of keys in an index that will be used to retrieve, delete, or update a record. | ||||
cReturnPointer | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
cLevel | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szWorkOrderCostingMethod | LEDG | char | OPT | NONE |
A user defined code (40/CM) that specifies the basis for calculating item costs. Cost methods 01 through 19 are reserved for J.D. Edwards
|
None |
None |