T4EA  18.2 C7549 A21431
Teamcenter Gateway for Enterprise Applications API Reference
T4EA::PROP::MAPPING Namespace Reference

Functions

 checkConnection2EA4Session SessionId ?Mode? ?strObjectType? ?strAction? args
 Read the current stored EA login info for a given Teamcenter Session Id and tests the connection. More...
 
 getExternalDataView SessionId ObjectType ObjectTypePreferenceName TCUser TCLanguage ?Connection? ?ContainerId? ?Parameters? args
 retrieves the external data view information from the selected EA system for a given object More...
 

Detailed Description

EA Data View functionality

Function Documentation

◆ checkConnection2EA4Session()

T4EA::PROP::MAPPING::checkConnection2EA4Session   SessionId ?Mode? ?strObjectType? ?strAction? args  

Read the current stored EA login info for a given Teamcenter Session Id and tests the connection.

Parameters
SessionId- Unique session ID for the users teamcenter session
Mode- Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all.
strObjectType- EA target object type like Item, BOM, ... default = "*" for all.
strAction- Transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all.
Returns
LOGON_OK|LOGON_ERROR|MISSING_LOGIN_DATA|ERROR_NO_ACTIVE_CONNECTION

References T4EA::CONNECTION2EA::CUSTOM::MAPPING::checkConnection2EA4Session(), T4X::CONNECTION2EA::checkConnection2EA4Session(), T4X::CORE::getSessionLogChannel(), and tpwrite().

Referenced by getExternalDataView().

◆ getExternalDataView()

T4EA::PROP::MAPPING::getExternalDataView   SessionId ObjectType ObjectTypePreferenceName TCUser TCLanguage ?Connection? ?ContainerId? ?Parameters? args  

retrieves the external data view information from the selected EA system for a given object

Parameters
SessionId
ObjectType
ObjectTypePreferenceNameused preference for the specified ObjectType argument
TCUser
TCLanguage
Connectionoptional parameter that defines the ERP system for data retrieval
ContainerIdoptional parameter defines the currrent display container
Parametersoptional defines the used parameters for the data retrieval
Returns
EA Data View XML payload

References checkConnection2EA4Session(), T4X::PROP::MAPPING::createMainEndEntry(), T4X::PROP::MAPPING::createMainEntry(), T4X::CONNECTION2EA::getPreferredConnection2EA4Session(), T4X::CORE::getSessionLogChannel(), T4X::CONNECTION2EA::selectActiveConnection2EA(), and tpwrite().