Professional Documents
Culture Documents
Jdegtget - Allmotype/ Jdegtget - Allmotypekeystr: Syntax
Jdegtget - Allmotype/ Jdegtget - Allmotypekeystr: Syntax
Jdegtget - Allmotype/ Jdegtget - Allmotypekeystr: Syntax
jdeGTGet_AllMOTypeKeyStr
Last Modified: B9 | October 2, 2020
This function will retrieve all record type from the Media Object table (F00165).
Syntax
JDERTN(JDEDB_RESULT) JDEWINAPI jdeGTGet_AllMOType (
PJSTR szObjectName,
LPVOID lpMODSKey,
LPMODATA pMOData,
long lTotalRec);
JDERTN(JDEDB_RESULT) JDEWINAPI jdeGTGet_AllMOTypeKeyStr (
PJSTR szObjectName,
PJSTR pszMOKeyStr,
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
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:
493193571.doc 1
jdeGTGet_AllMOType()/jdeGTGet_AllMOTypeKeyStr()
return;
Sample #2:
ParseNumericString(&dsABGT.mnAddressNumber, _J(“1”));
return;
Additional Notes
MODATA (or LPMODATA) Data Structure definition:
MODATA, *LPMODATA
B9 January, 2002 2
jdeGTGet_AllMOType()/jdeGTGet_AllMOTypeKeyStr()
MOTYPE definition:
See Also
B9 January, 2002 4
jdeGTGet_AllMOType()/jdeGTGet_AllMOTypeKeyStr()
B9 January, 2002 5