T4EA  AIG_19.2 C8891 A24697
Teamcenter Gateway for Enterprise Applications API Reference
T4EA::GENOBJ::CUSTOM::MAPPING Namespace Reference

Functions

 callCustomerRuleHandler TransactionId Action RuleName ItemType ItemRevisionType args
 Customer specific object RuleHandler function template. More...
 
 checkConnection2EA4Transaction SessionId TransactionId TargetTypeName Mode ObjectType Action ItemType ItemRevisionType
 Customer specific connection check. More...
 
 EA_Object2TC_Object TransactionId TargetTypeName Status ObjectKey args
 Customer specific object reverse mapping function for TargetTypeName. More...
 
 getObjectInfo TransactionId TargetTypeName ObjectKey args
 Customer specific Mapping function to retrieve the object information from EA. More...
 
 performTransfer TransactionId TargetTypeName args
 Customer specific function to perform the actual transfer to the EA system. More...
 
 TC_Object2EA_Object TransactionId TargetTypeName ItemType ItemRevisionType args
 Customer specific object mapping function for TargetTypeName. More...
 

Variables

 ERPInputDat
 This variable stores the input to the target EA system. More...
 
 ERPMatNo
 
 ERPOutputDat
 Variable to store the output of the EA call. More...
 
 Mode
 Mode of the export: UPDATE or CREATE. More...
 

Function Documentation

◆ callCustomerRuleHandler()

T4EA::GENOBJ::CUSTOM::MAPPING::callCustomerRuleHandler   TransactionId Action RuleName ItemType ItemRevisionType args  

Customer specific object RuleHandler function template.

Parameters
TransactionIdTC session id
ActionTC RuleHandler action
RuleNameTC RuleHandler rule name
ItemTypeTC Item Type
ItemRevisionTypeTC Item Revision Type
Returns
EPM_nogo or EPM_go

◆ checkConnection2EA4Transaction()

T4EA::GENOBJ::CUSTOM::MAPPING::checkConnection2EA4Transaction   SessionId TransactionId TargetTypeName Mode ObjectType Action ItemType ItemRevisionType  

Customer specific connection check.

Parameters
SessionIdunique session ID for the users teamcenter session
TransactionIdunique ID for the transfer transaction
TargetTypeNamespecified transaction target type name for generic TC object transfer
ModeTransfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ...; default = "*" for all.
ObjectTypeEA target object type like MM, ECM, ...; default = "*" for all.
Actiontransfer action in the GUI like CREATE, CHANGE, ...; default = "*" for all.
ItemTypetype of item to transfer
ItemRevisionTypetype of item revision to transfer
Returns
LOGON_OK, LOGON_ERROR, MISSING_LOGIN_DATA, ERROR_CONNECTION_MISMATCH or ERROR_NO_ACTIVE_CONNECTION

◆ EA_Object2TC_Object()

T4EA::GENOBJ::CUSTOM::MAPPING::EA_Object2TC_Object   TransactionId TargetTypeName Status ObjectKey args  

Customer specific object reverse mapping function for TargetTypeName.

Parameters
TransactionIdTC session id
TargetTypeNameTargetTypeName specified in the TC preferences
StatusTransfer status like CREATED, ERROR ...
ObjectKeyEA object id of the transferred object
Returns
OK or ERROR

◆ getObjectInfo()

T4EA::GENOBJ::CUSTOM::MAPPING::getObjectInfo   TransactionId TargetTypeName ObjectKey args  

Customer specific Mapping function to retrieve the object information from EA.

Parameters
TransactionIdTC session id
TargetTypeNameTargetTypeName specified in the TC preferences
ObjectKeyEA object id of the transferred object
Returns
OK, NOT_FOUND, ERROR OR UNKNOWN

◆ performTransfer()

T4EA::GENOBJ::CUSTOM::MAPPING::performTransfer   TransactionId TargetTypeName args  

Customer specific function to perform the actual transfer to the EA system.

Parameters
TransactionIdTC session id
TargetTypeNameTargetTypeName specified in the TC preferences
Returns
OK, ERROR, UNKNOWN OR UPDATED

◆ TC_Object2EA_Object()

T4EA::GENOBJ::CUSTOM::MAPPING::TC_Object2EA_Object   TransactionId TargetTypeName ItemType ItemRevisionType args  

Customer specific object mapping function for TargetTypeName.

Parameters
TransactionIdTC session id
TargetTypeNameTargetTypeName specified in the TC preferences
ItemTypeTC Item Type
ItemRevisionTypeTC Item Revision Type
Returns
OK or ERROR

Variable Documentation

◆ ERPInputDat

ERPInputDat
static

This variable stores the input to the target EA system.

This variable is just a proposal from the demo. The variable can be named as required. Use of such a variable is not required but recommended.

◆ ERPMatNo

ERPMatNo
static

The identifying value for the EA object

◆ ERPOutputDat

ERPOutputDat
static

Variable to store the output of the EA call.

This is just a proposal from the demo. The variable can be named as required. Use of such a variable is not required but recommended.

◆ Mode

Mode
static

Mode of the export: UPDATE or CREATE.