Purpose:
Use this function to retrieve the asset numbers and descriptions from the Item Master Table (F1201) using the asset number.
Retrievals:
1.Fetch row from Item Master Table (F1201) using the Asset Number (NUMB) as the key.
2.If the fetch fails then sets error code 3275 - Asset Number Invalid.
3.Errors are set using jdeSetGBRError only if the SuppressErrorMessages is not equal to '1'.
Returns:
Returns the pointer to the Item Master Record (F1201), if requested and any error messages.
DX1202B - F1201 Get Item Master By Asset Number
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAssetItemNumber | NUMB | MATH_NUMERIC | REQ | INPUT |
An 8-digit number that uniquely identifies an asset. | ||||
idF1201RecordPointer | GENLNG | ID | OPT | OUTPUT |
General purpose ID variable. | ||||
cReturnPointer | EV02 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessages | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | OPT | OUTPUT |
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
|
None |
F1201 Asset Master File |