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

Functions

 callCustomerRuleHandler TransactionId Action RuleName ItemType ItemRevisionType args
 Customer specific object RuleHandler function template. More...
 
 EA_Object2TC_Object TransactionId TargetTypeName Status ObjectKey args
 Customer specific object reverse mapping function template for TargetTypeName. More...
 
 getObjectInfo TransactionId TargetTypeName ObjectKey args
 Customer specific Mapping function to retrieve the external object information. More...
 
 getTcData ObjectTag TargetTypeName args
 Customer specific TC data retrieval, optional, can be used to fine-tune TcData content in batch mode. More...
 
 performTransfer TransactionId TargetTypeName args
 Customer specific function to call EA. More...
 
 TC_Object2EA_Object TransactionId TargetTypeName ItemType ItemRevisionType args
 Customer specific object mapping function template for TargetTypeName. More...
 
 TC_Object2EA_ObjectPosition TransactionId TargetTypeName TcPositionIndex ItemType ItemRevisionType args
 Customer specific object position mapping function template for TargetTypeName. More...
 

Variables

 BomHeaderInfo
 Variable to store data to be imported. More...
 
 ERPInputDat
 This variable stores the input to the target EA system. More...
 

Function Documentation

◆ callCustomerRuleHandler()

T4EA::GENBOM::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

◆ EA_Object2TC_Object()

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

Customer specific object reverse mapping function template for TargetTypeName.

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

◆ getObjectInfo()

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

Customer specific Mapping function to retrieve the external object information.

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

◆ getTcData()

T4EA::GENBOM::CUSTOM::MAPPING::getTcData   ObjectTag TargetTypeName args  

Customer specific TC data retrieval, optional, can be used to fine-tune TcData content in batch mode.

Parameters
ObjectTaghexed PUID of TC object
TargetTypeNameTarget Type Name specified in the TC preferences
Returns
OK or UNKNOWN

◆ performTransfer()

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

Customer specific function to call EA.

Parameters
TransactionIdTC session id
TargetTypeNameTarget Type Name specified in the TC preferences
Returns
UPDATED, ERROR or UNKONWN

◆ TC_Object2EA_Object()

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

Customer specific object mapping function template for TargetTypeName.

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

◆ TC_Object2EA_ObjectPosition()

T4EA::GENBOM::CUSTOM::MAPPING::TC_Object2EA_ObjectPosition   TransactionId TargetTypeName TcPositionIndex ItemType ItemRevisionType args  

Customer specific object position mapping function template for TargetTypeName.

Parameters
TransactionIdTC session id
TargetTypeNameTarget Type Name specified in the TC preferences
TcPositionIndexObject Position Index
ItemTypeTC Item Type
ItemRevisionTypeTC Item Revision Type
Returns
OK or UNKNOWN

Variable Documentation

◆ BomHeaderInfo

BomHeaderInfo
static

Variable to store data to be imported.

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

◆ ERPInputDat

ERPInputDat
static

This variable stores the input to the target EA system.

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