Professional Documents
Culture Documents
jdeGTGet_VendorKeyStr
Last Modified: B9 | October 2, 2020
This function will retrieve the vendor record type from the Media Object table
(F00165).
Syntax
JDERTN(JDEDB_RESULT) JDEWINAPI jdeGTGet_Vendor (
PJSTR szObjectName,
LPVOID lpMODSKey,
int nSeq,
LPMODATA pMOData,
long lTotalRec);
JDERTN(JDEDB_RESULT) JDEWINAPI jdeGTGet_VendorKeyStr(
PJSTR szObjectName,
PJSTR pszMOKeyStr,
int nSeq,
LPMODATA pMOData,
long lTotalRec);
Parameters
Parameter Notes Usage
szObjectName Input/Required GT data structure name Primary unique
key
lpMODSKey Input/Required GT data structure with valid data. The
data within the GT data structure will be
formatted into a string used for TXKY
pszMOKeyStr Input/Required Formatted string used for TXKY
nSeq Input Specific sequence number to retrieve
pMOData Output Array of data structure that store the
data to be deleted.
lTotalRec Output Indicate number of array element exists
in pMOData
Return Value
Return Value Description
JDEDB_PASSED Return value if this API succeeds
JDEDB_FAILED Return value if this API fails
Example
Sample #1:
493192659.doc 1
jdeGTGet_Vendor()/jdeGTGet_VendorKeyStr()
return;
Sample #2:
ParseNumericString(&dsABGT.mnAddressNumber, _J(“1”));
return;
Additional Notes
MODATA (or LPMODATA) Data Structure definition:
MODATA, *LPMODATA
JCHAR szFileName[GT_FILES
IZE]
PJSTR pData Allocate memory for text and
shortcut media object type.
MOTYPE definition:
See Also
B9 January, 2002 4
jdeGTGet_Vendor()/jdeGTGet_VendorKeyStr()
B9 January, 2002 5