This function gets a record from the Lot Master Table (F4108) using the the following key strucutre: Lot Number, Short Item Number, an
Branch Plant. You must always pass a Lot Number to the function. However, the Short Item Number and Branch Plant are optional. This function
returns an address pointer to the row fetched int he F4108 Table. The address pointer idF4108LongRowPtr must be deallocated.
NOTE1: If you are calling this from an application, you must have a generic long hidden field to hold the pointer that is returned from this
function.
NOTE2: If you called this function from an application, you must call the business function FREEPTRTODATASTRUCTURE. Pass the value
in the hidden field to FreePtrToDataStructure.
NOTE3: If you are calling this function from another business function, you then have a choice either to call FreePtrToDataStructure in your
application or in the business function.
^
D4000610 - Get Lot Master By Lot Number
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szLot | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
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
| ||||
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
| ||||
idF4108LongRowPtr | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
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. | ||||
cReturnF4108Pointer | EV02 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cErrorCode | ERR | char | NONE | NONE |
The Data Field Error Code field is simply a generic data field to pass an error condition flag. This field is one of the fields that make up the
|
None |
F4108 Lot Master |