You are on page 1of 2

jdeGT_CloseTable

Last Modified: B9 | October 2, 2020

This function will close the Media Object table (F00165) and release the table
handle.

Syntax

JDERTN(JDEDB_RESULT) JDEWINAPI jdeGT_CloseTable(HREQUEST hRequestGT);

Parameters
Parameter Notes Usage
hRequestGT Input/Required GT table handle to be closed
and released.

Return Value
Return Value Description
JDEDB_PASSED Return value if this API succeeds
JDEDB_FAILED Return value if this API fails

Example

JDEDB_RESULT JDBReturn = JDEDB_PASSED;


HREQUEST hRequestGT = NULL;
HUSER hUser = NULL;
JCHAR szFromDatasource[51] = _J(“Business Data – Adev733o”);
JCHAR szObjectName[11] = _J(“”);

JDBReturn = JDB_InitBhvr(.., &hUser);

JDBReturn = jdeGT_OpenTable (hUser, szFromDatasource, szObjectName, &hRequestGT);


if (JDBReturn == JDEDB_PASSED)
{


}

jdeGT_CloseTable(hRequestGT);
JDB_FreeBhvr(hUser);

return;

Additional Notes
 This API must be invoke after jdeGT_OpenTable() api is used.

493192505.doc 1
jdeGT_CloseTable

See Also

Function Name Description


jdeGT_OpenTable Open F00165 and return the table handle
jdeGT_CloseTable Close F00165 and release table handle
jdeGT_SelectData Select data from F00165 table
jdeGT_SelectDataKeyStr Select data from F00165 table with formatted string
(TXKY)
jdeGT_FetchData Retrieve record from F00165
jdeGT_UpdateData Update record to F00165
jdeGT_UpdateDataKeyStr Update record to F00165 with formatted string (TXKY)
jdeGT_InsertData Insert record to F00165
jdeGT_InsertDataKeyStr Insert record to F00165 with formatted string (TXKY)
jdeGT_DeleteData Delete record from F00165
jdeGT_DeleteDataKeyStr Delete record from F00165 with formatted string
(TXKY)

B9 January, 2002 2

You might also like