Professional Documents
Culture Documents
jdeValidateGTExistWithKeyStr
Last Modified: B9 | October 2, 2020
This function will check to see if media object records exist in F00165.
Syntax
JDERTN(JDEDB_RESULT) JDEWINAPI jdeValidateGTExist (
PJSTR szObjectName,
LPVOID lpMODSKey,
MOTYPE nMOType);
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
nMOType Input/Required Media Object Type. See table below
for valid types.
Return Value
Return Value Description
JDEDB_PASSED Return value if this API succeeds
JDEDB_FAILED Return value if this API fails
Example
Sample #1:
else
{
bSuccess = FALSE;
}
return;
Sample #2:
ParseNumericString(&dsABGT.mnAddressNumber, J(“1”));
return;
Additional Notes
MODATA (or LPMODATA) Data Structure definition:
MODATA, *LPMODATA
B9 January, 2002 2
jdeValidateGTExist ()/jdeValidateGTExistWithKeyStr ()
MOTYPE definition:
See Also
B9 January, 2002 3
jdeValidateGTExist ()/jdeValidateGTExistWithKeyStr ()
B9 January, 2002 4
jdeValidateGTExist ()/jdeValidateGTExistWithKeyStr ()
B9 January, 2002 5