T4S4  19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
T4X::CUSTOM::MAPPING::TOOLBOX Namespace Reference

Functions

 createTC_Object ItemId ItemName ItemRevisionId ItemType args
 Customer specific function for the creation of a Tc item. More...
 
 createTC_Object2 ItemId ItemName ItemRevisionId ItemType ItemArgs RevArgs args
 Customer specific function for the creation of a Tc item. More...
 
 importNamedReference ItemRevisionTag RelationName DatasetType DatasetName ReferenceName OriginalFileName FileName args
 Customer specific function for the creation of a Tc item. More...
 
 saveItemWithUnlock TcItemTag args
 This function will save a TC item using ITEM_save_item including the corresponding AOM_unlock. More...
 
 selectTC_Object ItemRevisionId args
 Customer specific select function to identify the corresponding target item revision. More...
 
 selectTC_ScheduleObject ObjectType ItemId args
 Customer specific select function to identify the corresponding target ScheduleTargetObject. More...
 

Function Documentation

◆ createTC_Object()

T4X::CUSTOM::MAPPING::TOOLBOX::createTC_Object   ItemId ItemName ItemRevisionId ItemType args  

Customer specific function for the creation of a Tc item.

Parameters
ItemIdif the ItemId equals "" the next free id will be created automatically
ItemName
ItemRevisionId
ItemType
argslist of additional attribute name and value pairs like: object_desc "description" object_name "test"
Returns
list of Status and ItemRevisionTag or HexErrorMessage

◆ createTC_Object2()

T4X::CUSTOM::MAPPING::TOOLBOX::createTC_Object2   ItemId ItemName ItemRevisionId ItemType ItemArgs RevArgs args  

Customer specific function for the creation of a Tc item.

Parameters
ItemIdif the ItemId equals "" the next free id will be created automatically
ItemName
ItemRevisionId
ItemType
ItemArgslist of additional attribute name and value pairs for the Item like: object_desc "description" object_name "test"
RevArgslist of additional attribute name and value pairs for the Item Revision like: object_desc "description" object_name "test"
Returns
list of Status and ItemRevisionTag or HexErrorMessage

◆ importNamedReference()

T4X::CUSTOM::MAPPING::TOOLBOX::importNamedReference   ItemRevisionTag RelationName DatasetType DatasetName ReferenceName OriginalFileName FileName args  

Customer specific function for the creation of a Tc item.

Parameters
ItemRevisionTag
RelationNamerelation between item revision and dataset
DatasetType
DatasetName
ReferenceName
OriginalFileNameonly file name with extension
FileNamefile name with extension and path
Returns
Status OK / ERROR

◆ saveItemWithUnlock()

T4X::CUSTOM::MAPPING::TOOLBOX::saveItemWithUnlock   TcItemTag args  

This function will save a TC item using ITEM_save_item including the corresponding AOM_unlock.

Parameters
TcItemTagTeamcenter item tag in the Tcl string format
Returns
OK or Error with message as TCL list

◆ selectTC_Object()

T4X::CUSTOM::MAPPING::TOOLBOX::selectTC_Object   ItemRevisionId args  

Customer specific select function to identify the corresponding target item revision.

Parameters
ItemRevisionIdLATEST-get the latest working / ITEM-get itemTag not itemRevTag / <revisionId>-get the specified itemRevTag
argslist of additional attribute name and value pairs like: item_id "122" object_name "test"
Returns
list of Status and ItemRevisionTag or HexErrorMessage

◆ selectTC_ScheduleObject()

T4X::CUSTOM::MAPPING::TOOLBOX::selectTC_ScheduleObject   ObjectType ItemId args  

Customer specific select function to identify the corresponding target ScheduleTargetObject.

Parameters
ObjectType
ItemId
Returns
list of Status and ObjectTag or HexErrorMessage