Functional Description
Purpose
Check for existence of Item Location Row in the Item Location Table (F41021).
Technical Specification
Check for exitence of Item Location Row in the Item Location Table (F41021). The key used to
retrieve the Row will be based on the Index number and Number of Keys sent in. The following keys are
currently established in this program.
Index = 1
Keys 1 means fetch by Item Number only.
Keys 2 means fetch by Item Number and Branch Plant.
Keys 3 means fetch by Item Number, Branch Plant, and Location
Keys 4 means fetch by Item Number, Branch Plant, Location, and Lot
Index = 3
Keys 2 means fetch by BranchPlant and Location.
Index = 4
Keys 3 means fecth Item Number, BranchPlant, and Primary Bin.
Error messages wil be passed back based on the call type.
Call Type = 1 : Validate that the record exists, if not give an error and return a (1) in the Error
Code.
Call Type = 2 : Validate if records does not exist, if record exist then give an error and return a
(1) in the Error Code.
If a ReturnCode flag is a (1), the pointer to the record found will be returned in the
ItemLocationRecord, otherwise ItemLocationRecord will be NULL.
Retrievals:
Retrieves the Item Location Table (F41021) using the key as specified in the 'Keys'/'Index'
parameters.
Returns:
If ReturnFLag is 1 then returns a GENLNG pointer to the F41021 data structure, otherwise pointer is
NULL and no data structure is created.
If CallType is '2' (check for non-existance of record), then set error 3804.
If call type is '1' and Fetch has failed then set error number 0678.
If the requestID to the table F41021 fails then set the error code 0002. (Change 05/95)
Change 05/95
location. If the fetch has been successful then move the value of the lot and location found into the
ER data structure to be returned to the calling application. (Whether the GENLNG pointer to the
F41021 data structure is passed back remains unchanged and is dependant on the ReturnRecord code.)
SuppressErrorMessage has been set to '1' then the jdeSetGBRError is NOT used.
DXF41021C - Verify And Get Item Location
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBranchPlant | 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
| ||||
mnShortItemNumber | 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
| ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
szLotNumber | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
mnIndex | CDL | MATH_NUMERIC | NONE | NONE |
The length of the user defined code. It cannot be greater than 10 characters. | ||||
mnKeys | CDL | MATH_NUMERIC | NONE | NONE |
The length of the user defined code. It cannot be greater than 10 characters. | ||||
cCallType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cReturnRecord | EV03 | char | NONE | NONE |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
idItemLocationRecord | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
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
| ||||
cLPSwitch | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cLPExist | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
None |
F41021 Item Location File |