1.Functional Description
1.1Purpose
This function will perform Get, Add, Update, Delete, Delete All, Get Next, Add/Update, and Terminate
functions on the Serial Numbers Parts Lists cache.
This cache is used in serial numbers processing in the Work Orders Serial Numbers Association program
(P3107E) and in the Work Order Completions (P31114) program. This cache function is used for several
types of cache:
Associations - stores the parent to component serial number associations which are assigned in the
Serial Numbers Associations program (P3107E). Also used in P3106 (Issued Items Inquiry) to filter out
components which have already been associated.
Parent Serial Nos - stores the information about the parent serial nos. assigned to a work order
(i.e. F3105 information).
De-associations - stores the "deleted" associations transactions from the Serial Numbers
Associations program (P3107E). These transactions are used to "blank out" the Parent Lot on the Item Ledger
Issues (F3111) records during the completions process.
'b7
The calling application is responsible for loading all appropriate key values to the data structure
and identifying the number of keys to use in retrieval/update processes.
'2' Add - add a cache element.
'3' Update - update a cache element.
'4' Delete - delete a cache element.
'5' Delete All - delete all cache elements
'6' Get Next - retrieve the next cache element
'7' Add/Update - will add if element does not exist, will change if it does exist.
'8' Terminate - terminate cache
'9' Close Cursor- closes cache cursor
Number of Keys
key values for a Get, Update, Delete, Get Next, and Add/Update.
A zero may be passed to retrieve or update the first record.
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.4Processing
I. Perform setup functions
B. Set DS Cache Error Code = '0';
C. If not successful Set error "032E," "Error Processing Cache".
II. Processing Based on Mode.
2.Retrieve the first element on the cache matching the key values passed as input; the
number of keys to be used is passed in the input parameters, If "0" fetch first element in the
list.
3.Load the values from the retrieved element into the data structure to be passed back to
the calling program.
4.If get fails DS Cache Error Code = '6'.
B.If Process Mode is "2" - ADD (same logic as mode "7").
2.Insert a new cache element with values from data structure.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.
2.Insert a new cache element with values from data structure.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.
2.If delete fails DS Cache Error Code = '5'.
E.If Process Mode is "5" - DELETE ALL:
2.If delete fails DS Cache Error Code = '5'.
cursor should have been set through a previous "Get" action, i.e. process mode "1", if number of
keys is "0" then fetch next record with out using any key).
2.Load the values from the retrieved element into the data structure to be passed back to
the calling program.
3.If there are no more elements close cursor and set DS Cache Error Code = '1'.
G.If Process Mode is "7" - ADD/UPDATE:
2.Insert a new cache element with values from data structure.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.
D3101280 - Cache Serial Number Associations
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAssocSeqNo | OSEQ | MATH_NUMERIC | NONE | NONE |
For OneWorld, the sequence by which users can set up the order in which their valid environments are displayed.
For World, a sequence or
| ||||
szParentLot | PLOT | char | NONE | NONE |
An inventory separation device that allows tracking of the inventory by date received or similar convention to control lots or layers. | ||||
szParentLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
szParentMemoLot1 | LOT1 | char | NONE | NONE |
A higher classification or grouping of serial number or lot processed items,maintained within the Lot Master (F4108). | ||||
szParentMemoLot2 | LOT2 | char | NONE | NONE |
A higher classification or grouping of memo lot 1 maintained within the lot master (F4108). | ||||
szCompItemNoUnknown | UITM | char | NONE | NONE |
A number that the system assigns to an item. It can be in short, long, or third item number format. | ||||
szCompLot | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
szCompBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szCompLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
mnCompQuantity | TRQT | MATH_NUMERIC | NONE | NONE |
A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and
| ||||
mnParentQuantity | TRQT | MATH_NUMERIC | NONE | NONE |
A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and
| ||||
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
| ||||
mnParentItemNoShort | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
mnCompItemNoShort | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
cParentCompletionStatus | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
nNumberOfKeys | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
cProcessMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cCacheCodeError | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | 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
| ||||
idCacheCursor | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cReturnCursor | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. |
None |
None |