T4EA  18.1 C7177 A20283
Teamcenter Gateway for Enterprise Applications API Reference
T4EA::QUERY::CUSTOM::MAPPING Namespace Reference

Functions

 buildRowQueryDataString RowQueryName EntryFieldName EntryValue ?RowQueryDataString? args
 Helper procedure to build the query string passed to TC to be able to search for the related TC object. More...
 
 executeQuery SessionId QueryName
 Customer specific userexit to execute a Teamcenter user query via an ERP match code search function. More...
 
 executeQuery4OfbizProduct SessionId QueryName args
 Customer specific userexit to execute a Teamcenter user query via a OfBIZ Product search web service. More...
 
 executeQuery4ProductInformation SessionId QueryName args
 Customer specific userexit to execute a Teamcenter user query via an Oracle SQL select statement. More...
 
 importQueryRowViaBatch SessionId QueryName ObjectKey args
 Customer specific userexit to import a Teamcenter user query row via the T4EA Batchserver. More...
 

Function Documentation

◆ buildRowQueryDataString()

T4EA::QUERY::CUSTOM::MAPPING::buildRowQueryDataString   RowQueryName EntryFieldName EntryValue ?RowQueryDataString? args  

Helper procedure to build the query string passed to TC to be able to search for the related TC object.

Parameters
RowQueryNameName of the TC saved query to execute
EntryFieldNameName of the query parameter
EntryValueValue of the query parameter
RowQueryDataStringNavigation path to the query parameter, if necessary
argsunused
Returns

Referenced by executeQuery4OfbizProduct(), and executeQuery4ProductInformation().

◆ executeQuery()

T4EA::QUERY::CUSTOM::MAPPING::executeQuery   SessionId QueryName  

Customer specific userexit to execute a Teamcenter user query via an ERP match code search function.

Parameters
SessionId- Unique session ID for the users teamcenter session
QueryName- Query name to be executed
Returns
OK or ERROR (with message)

References executeQuery4OfbizProduct(), executeQuery4ProductInformation(), T4X::CORE::getSessionLogChannel(), tpwrite(), and T4EA::CONNECTION2EA::verifyConnection2EA4Session().

◆ executeQuery4OfbizProduct()

T4EA::QUERY::CUSTOM::MAPPING::executeQuery4OfbizProduct   SessionId QueryName args  

Customer specific userexit to execute a Teamcenter user query via a OfBIZ Product search web service.

Parameters
SessionId- Unique session ID for the users teamcenter session
QueryName- Query name to be executed
Returns

References buildRowQueryDataString(), T4X::CORE::getSessionLogChannel(), T4EA::CUSTOM::SERVICES::ofBIZservice(), and tpwrite().

Referenced by executeQuery().

◆ executeQuery4ProductInformation()

T4EA::QUERY::CUSTOM::MAPPING::executeQuery4ProductInformation   SessionId QueryName args  

Customer specific userexit to execute a Teamcenter user query via an Oracle SQL select statement.

Parameters
SessionId- Unique session ID for the users teamcenter session
QueryName- Name of the user query
Returns

References buildRowQueryDataString(), T4EA::JDBC::ORACLE::getConnectionHandle4ActiveSystem(), T4X::CORE::getSessionLogChannel(), T4EA::CUSTOM::ORACLE::logException(), and tpwrite().

Referenced by executeQuery().

◆ importQueryRowViaBatch()

T4EA::QUERY::CUSTOM::MAPPING::importQueryRowViaBatch   SessionId QueryName ObjectKey args  

Customer specific userexit to import a Teamcenter user query row via the T4EA Batchserver.

Parameters
SessionId- Unique session ID for the users teamcenter session
QueryName- Query name to be executed
ObjectKey- Object key used for query
Returns

References T4X::BATCHJOB::IMPORT::createBatchjob(), T4X::BATCHJOB::IMPORT::executeImportJob(), T4EA::CONNECTION2EA::getCurrentEAInfo(), T4X::CORE::getSessionLogChannel(), and tpwrite().