![]() |
T4EA
AIG_19.2 C8891 A24697
Teamcenter Gateway for Enterprise Applications API Reference
|
Functions | |
checkItemExists MaterialNumber | |
check if an item for the given MaterialNumber exists in TC More... | |
cleanUp Function MaterialNumber BatchJobStatus AdditionalInfo args | |
Customer specific function to start an additional customer specific cleanUp after the normal update. More... | |
createTC_Object Function MaterialNumber AdditionalInfo args | |
Customer specific function for the creation of a Tc item based on a material number. More... | |
createTCBOMview_Object ItemRevisionTag AdditionalInfo args | |
Customer specific create function to create the corresponding target BOM view revision. More... | |
dummy args | |
Dummy procedure (returns "OK") necessary for backwards compatibility only. More... | |
getCurrentTcBomInfo BomViewTag AdditionalInfo args | |
get the bom information for the item from TC More... | |
getImportBomInfo ObjectId AdditionalInfo args | |
get the information on the bom for the item to import from the external source, in this case from the AdditionalInfo parameter More... | |
getTargetRevisionFromList ItemRevisionTagList args | |
Customer specific Mapping function for the selection of the correct IR from a given list of IR's. More... | |
importBOM2TcBOM BomViewTag CurrentTcBomList ERPBOMList AdditionalInfo args | |
integrate the TC BOM and the external BOM information into TC More... | |
selectTC_Object Function ObjectKey AdditionalInfo args | |
Customer specific select function to identify the corresponding target item revision. More... | |
selectTCBOMview_Object ItemRevisionTag AdditionalInfo args | |
Customer specific select function to identify the corresponding target BOM view revision. More... | |
updateTC_Object Function ItemTag ItemRevisionTag ItemType ItemRevisionType MaterialNumber AdditionalInfo args | |
Customer specific function to start an additional customer specific post-action after the normal update. More... | |
Variables | |
ImportInfo | |
Variable to store data to be imported. More... | |
TcBomInfo | |
This variable stores the TC BOM information for comparison with ImportInfo. More... | |
T4EA::BOM::CUSTOM::ITEM::IMPORT::checkItemExists | MaterialNumber | ||
check if an item for the given MaterialNumber exists in TC
MaterialNumber | the external ID |
T4EA::BOM::CUSTOM::ITEM::IMPORT::cleanUp | Function MaterialNumber BatchJobStatus AdditionalInfo args | ||
Customer specific function to start an additional customer specific cleanUp after the normal update.
Function | |
MaterialNumber | ID of the external object |
BatchJobStatus | status of previous procedure calls |
AdditionalInfo | infos to be imported |
args | unused |
T4EA::BOM::CUSTOM::ITEM::IMPORT::createTC_Object | Function MaterialNumber AdditionalInfo args | ||
Customer specific function for the creation of a Tc item based on a material number.
Function | |
MaterialNumber | can be used e.g. as the item ID to be created |
AdditionalInfo | infos to be imported |
args | unused |
T4EA::BOM::CUSTOM::ITEM::IMPORT::createTCBOMview_Object | ItemRevisionTag AdditionalInfo args | ||
T4EA::BOM::CUSTOM::ITEM::IMPORT::dummy | args | ||
Dummy procedure (returns "OK") necessary for backwards compatibility only.
args | currectly unused |
T4EA::BOM::CUSTOM::ITEM::IMPORT::getCurrentTcBomInfo | BomViewTag AdditionalInfo args | ||
T4EA::BOM::CUSTOM::ITEM::IMPORT::getImportBomInfo | ObjectId AdditionalInfo args | ||
get the information on the bom for the item to import from the external source, in this case from the AdditionalInfo parameter
ObjectId | TC ID of the item |
AdditionalInfo | list of pairs (Parameter, Value), information to update the item |
args | unused |
T4EA::BOM::CUSTOM::ITEM::IMPORT::getTargetRevisionFromList | ItemRevisionTagList args | ||
Customer specific Mapping function for the selection of the correct IR from a given list of IR's.
If there are several revisions for a given item item id, this procedure finds out the correct one.
ItemRevisionTagList | list of matching item revisions |
args | unused |
T4EA::BOM::CUSTOM::ITEM::IMPORT::importBOM2TcBOM | BomViewTag CurrentTcBomList ERPBOMList AdditionalInfo args | ||
T4EA::BOM::CUSTOM::ITEM::IMPORT::selectTC_Object | Function ObjectKey AdditionalInfo args | ||
Customer specific select function to identify the corresponding target item revision.
The procedure can identify the item by using a query or by ITK sequences, as needed. If it does not find anything, the framework will call createTC_Object.
Function | |
ObjectKey | usually the Item ID of the requested item |
AdditionalInfo | infos to be imported |
args | unused |
FOUND
$ItemRevisionTag
-> T4X will continue the import execution with proc selectTCBOMview_Object
OK
$ItemRevisionTag
-> T4X will continue the import execution with proc selectTCBOMview_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
T4EA::BOM::CUSTOM::ITEM::IMPORT::selectTCBOMview_Object | ItemRevisionTag AdditionalInfo args | ||
Customer specific select function to identify the corresponding target BOM view revision.
ItemRevisionTag | the item revision tag from which to determine the BOM view revision. |
AdditionalInfo | infos to be imported |
args | unused |
FOUND
$BomViewRevisionTag
-> T4X will continue the import execution with proc importBOM2TcBOM
OK
$BomViewRevisionTag
-> T4X will continue the import execution with proc importBOM2TcBOM
NOT_FOUND
$ErrorMessage
-> T4X will continue the import execution with proc createTCBOMview_Object
ITEMID_DOESNT_EXIST
$ErrorMessage
-> T4X will continue the import execution with proc createTCBOMview_Object
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
T4EA::BOM::CUSTOM::ITEM::IMPORT::updateTC_Object | Function ItemTag ItemRevisionTag ItemType ItemRevisionType MaterialNumber AdditionalInfo args | ||
Customer specific function to start an additional customer specific post-action after the normal update.
Function | |
ItemTag | the item to be updated |
ItemRevisionTag | the item revision to be updated |
ItemType | type name of the item |
ItemRevisionType | type name of the item revision |
MaterialNumber | ID of the external object |
AdditionalInfo | infos to be imported |
args | unused |
|
static |
Variable to store data to be imported.
This is just a proposal from the BOM import demo. The variable can be named as required. Use of such a variable is not required but recommended.