![]() |
T4EA
18.2 C7549 A21431
Teamcenter Gateway for Enterprise Applications API Reference
|
Functions | |
cleanUp Function ObjectId BatchJobStatus AdditionalInfo args | |
Customer specific function to start an additional customer specific cleanup after the normal update. More... | |
createTC_Object Function ObjectId AdditionalInfo | |
Customer specific function for the creation of a Tc item based on an object. More... | |
GenObjMapping2TC_Object Function ItemType ItemRevisionType ObjectId args | |
Customer specific Mapping function for the import/update of a generic object. More... | |
getERPOutputData ObjectId KeyName | |
for internal use only More... | |
getObjectInfo ObjectId AdditionalInfo args | |
Customer specific Mapping function for retrieving the object information. More... | |
getTargetRevisionFromList ItemRevisionTagList args | |
Customer specific Mapping function for the selection of the correct item revision from a given list of item revisions. More... | |
initImportInfo args | |
Initializes the namespace variable "ImportInfo". More... | |
selectTC_Object Function ObjectId AdditionalInfo | |
Customer specific select function to identify the corresponding target item revision. More... | |
Set_ZPTC_Status ZPTC_Id Status ?Error_Msg1? ?Error_Msg2? ?Error_Msg3? args | |
Customer specific function to set a status including error messages for an entry in the z-table. More... | |
updateTC_Object Function ItemTag ItemRevisionTag ItemType ItemRevisionType ObjectId args | |
Customer specific function to start an additional customer specific post-action after the normal update. More... | |
verifyZTableIdStatus LogChannelName FunctionName ZTabId args | |
Customer specific function to verify the status of an entry in the z-table. More... | |
Variables | |
ERPOutputDat | |
Variable to store data to be imported. More... | |
ImportInfo | |
This variable stores the input from the EA system. More... | |
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::cleanUp | Function ObjectId BatchJobStatus AdditionalInfo args | ||
Customer specific function to start an additional customer specific cleanup after the normal update.
Function | function name |
ObjectId | object id |
BatchJobStatus | batch job status |
AdditionalInfo | additional info |
args | additional arguments |
References T4X::CORE::getSessionLogChannel(), and tpwrite().
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::createTC_Object | Function ObjectId AdditionalInfo | ||
Customer specific function for the creation of a Tc item based on an object.
Function | function name |
ObjectId | object id |
AdditionalInfo | additional parameters given to the import job |
References T4X::CUSTOM::MAPPING::TOOLBOX::createTC_Object(), getERPOutputData(), T4X::CORE::getSessionLogChannel(), and tpwrite().
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::GenObjMapping2TC_Object | Function ItemType ItemRevisionType ObjectId args | ||
Customer specific Mapping function for the import/update of a generic object.
Function | function name |
ItemType | item type |
ItemRevisionType | item revision type |
ObjectId | object id |
args | additional arguments |
References getERPOutputData(), T4X::CORE::getSessionLogChannel(), T4X::TC::MAPPING::storeReverseMappingAttribute2(), and tpwrite().
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::getERPOutputData | ObjectId KeyName | ||
for internal use only
References T4X::CORE::getSessionLogChannel(), and tpwrite().
Referenced by createTC_Object(), and GenObjMapping2TC_Object().
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::getObjectInfo | ObjectId AdditionalInfo args | ||
Customer specific Mapping function for retrieving the object information.
ObjectId | object id |
AdditionalInfo | additional info |
args | additional arguments |
References T4EA::CUSTOM::ORACLE::getObjectInfo(), T4X::CORE::getSessionLogChannel(), and tpwrite().
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::getTargetRevisionFromList | ItemRevisionTagList args | ||
Customer specific Mapping function for the selection of the correct item revision from a given list of item revisions.
ItemRevisionTagList | list of item revision tags |
args | additional arguments |
References ITK::getObjectMetaData(), T4X::CORE::getSessionLogChannel(), and tpwrite().
Referenced by selectTC_Object().
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::initImportInfo | args | ||
Initializes the namespace variable "ImportInfo".
args | additional arguments |
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::selectTC_Object | Function ObjectId AdditionalInfo | ||
Customer specific select function to identify the corresponding target item revision.
Function | function name |
ObjectId | object id |
AdditionalInfo | additional parameters given to the import job |
FOUND
$ItemRevisionTag
-> T4X will continue the import execution with proc GenObjMapping2TC_Object
OK
$ItemRevisionTag
-> T4X will continue the import execution with proc GenObjMapping2TC_Object
NOT_FOUND
$ErrorMessage
-> T4X will continue the import execution with proc createTC_Object
(using search query) ITEMID_DOESNT_EXIST
$ErrorMessage
-> T4X will continue the import execution with proc createTC_Object
(using ITK::ITEM_exists) SKIPPED
->
T4X will stop the import execution successfully without an error any
other return value ->
T4X treats it as an error, there by customised error returns with info when/why the error occured are supported References ITK::executeQuery(), T4X::CORE::getSessionLogChannel(), getTargetRevisionFromList(), ITK::ITEM_exists(), T4X::CUSTOM::MAPPING::TOOLBOX::selectTC_Object(), and tpwrite().
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::Set_ZPTC_Status | ZPTC_Id Status ?Error_Msg1? ?Error_Msg2? ?Error_Msg3? args | ||
Customer specific function to set a status including error messages for an entry in the z-table.
ZPTC_Id | z-table entry id |
Status | status to set |
Error_Msg1 | error message 1 |
Error_Msg2 | error message 2 |
Error_Msg3 | error message 3 |
args | additional arguments |
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::updateTC_Object | Function ItemTag ItemRevisionTag ItemType ItemRevisionType ObjectId args | ||
Customer specific function to start an additional customer specific post-action after the normal update.
Function | function name |
ItemTag | item tag |
ItemRevisionTag | item revision tag |
ItemType | item type |
ItemRevisionType | item revision type |
ObjectId | object id |
args | additional arguments |
References ITK::AOM_refresh_lock(), T4X::CORE::getSessionLogChannel(), T4X::CUSTOM::MAPPING::TOOLBOX::saveItemWithUnlock(), and tpwrite().
T4EA::GENOBJ::CUSTOM::PRODUCT_INFORMATION::IMPORT::verifyZTableIdStatus | LogChannelName FunctionName ZTabId args | ||
Customer specific function to verify the status of an entry in the z-table.
LogChannelName | |
FunctionName | |
ZTabId | z-table entry id |
args | additional arguments |
|
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.
|
static |
This variable stores the input from the 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.