Professional Documents
Culture Documents
0
Teamcenter Enterprise
EMS Module
Publication Number
MT00324 L1
Teamcenter 9.0
Teamcenter Enterprise
EMS Module
Publication Number
MT00324 L1
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6
Submitting Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Proprietary and Restricted Rights Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1
Audience
This manual contains information for developers, customizers, and localizers. It
assumes that readers understand the basic concepts of object-oriented user interface
design and programming, such as the principles of object classes, hierarchies, and
inheritance. It also assumes that readers understand the concepts described in the
Integrator Toolkit Customization manual.
Knowledge of the C language is also assumed.
Whenever a function is called or another message is sent, the status return
(dstat) must be checked. dstat error conditions are fatal (unrecoverable), so
when a method encounters a dstat error condition, it must immediately exit
the method. The uiShowFatalError function displays a helpful diagnostic
message (called a traceback) as the method. There are some convenience
macros that can be used in place of uiShowFatalError to give more specific
diagnostics and to set the correct dstat value. For more information, see
the Server Customization manual.
Conventions
This manual uses the conventions described in the following sections:
Revision Marks
Technical changes are marked by a bar adjacent to the changed text.
A caution icon identifies practices that can either produce results contrary to
what you expect or result in damage to software or data.
Syntax Definitions
This manual uses a set of conventions to define the syntax of Teamcenter Enterprise
language statements, commands, and functions. Following is a sample syntax
format for a MODeL statement:
define value set value-set-name {’[’value [, value ...] ’]’ | date}
The conventions are:
Submitting Comments
Portions of Teamcenter software are provided by third-party vendors. Special
agreements with these vendors require Siemens PLM Software to handle all problem
reports concerning the software they provide. Please submit all comments directly to
Siemens PLM Software.
Please feel free to give us your opinion of the usability of this manual, to suggest
specific improvements, and to report errors. Mail your comments to:
Siemens PLM Software Technical Communications
5939 Rice Creek Parkway
Shoreview, MN 55126
U.S.A.
To submit an incident report, you can use the Siemens PLM Software GTAC online
support tools at the following URL:
http://support.industrysoftware.automation.siemens.com/gtac.shtml
This section lists the messages and methods for Teamcenter Enterprise Data
Exchange (Teamcenter Enterprise Data Exchange) module.
External Messages
This section lists the Teamcenter Enterprise Data Exchange external trusted and
nontrusted messages.
CheckReplicaSyncStatusD
SYNOPSIS
SelectedItemSetMsg;
DESCRIPTION
This method is a wrapper method to check the replica sync status for the selected
items from the classic client menu Actions. It calls the UpdateReplicaStatus which
validates the selected Items and initiates the replica sync process for the selected
items.
ARGUMENTS
Same as SelectedItemSetMsg.
PdmItemEms:CheckReplicaSyncStatusD
DESCRIPTION
Checks the sync status of replica object by invoking UpdateReplicaStatusInt on
Synchronizer class.
ExportObjectSetDP
SYNOPSIS
SelectedItemSetMsg;
DESCRIPTION
This method is a wrapper method to export selected items from the classic client
menu Actions .It calls the ExportItemInt after the validation of the selected Items .
It supports multiple items export .
ARGUMENTS
Same as SelectedItemSetMsg.
PdmItemEms:ExportObjectSetDP
DESCRIPTION
Submits export request to GS by invoking ExportItemInt on Exporter class.
NOTES
It validates MAR to check export access for the user.
PdmRoot:ExportObjectSetDP
DESCRIPTION
See message description.
InflateDisplayedIcons
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the InflateDisplayedIcons message.
OwnedItmEms:InflateDisplayedIcons
DESCRIPTION
Custom message to show Replica/Stub/out of date icons for Remote Objects.
PartEms:InflateDisplayedIcons
DESCRIPTION
Custom message to Resolve InflateDisplayedIcons if it is Replica/outofdate.
PdmItemEms:InflateDisplayedIcons
DESCRIPTION
Custom message to show Replica/Stub/out of date icons for Remote Objects.
InflateDisplayedName
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the InflateDisplayedName message.
TransOpt:InflateDisplayedName
DESCRIPTION
Sets the EMSiteName attribute of the TOS GetInfo and Update Dialog Object.
ProcessDialgForSet
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ProcessDialgForSet message.
DAttachToSwitch:ProcessDialgForSet
DESCRIPTION
Initiates the Switch attachment action.
DRExport:ProcessDialgForSet
DESCRIPTION
Calls the CreateUserTransferReq message.
SetDialogDefaults
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the SetDialogDefaults message.
DClosRuleCre:SetDialogDefaults
DESCRIPTION
Sends the SetDialogDefaultsAtParent message.
Sets the default value for Structure Type.
DGMSCfgCre:SetDialogDefaults
DESCRIPTION
Sends the AtParent message. Sets the attributes for which coresponding config
values are already set.
DGMSCfgGetI:SetDialogDefaults
DESCRIPTION
Sends the AtParent message. Converts the ExporterSpillDBName attribute from
internal format to "display as" format.
DGMSCfgUpd:SetDialogDefaults
DESCRIPTION
Sends the AtParent message. Converts the ExporterSpillDBName attribute from
internal format to "display as" format.
DODSSiteCre:SetDialogDefaults
DESCRIPTION
Creates a full-table-attribute-field on the create dialog to show
for the user with default mapped values.
DODSSiteGetI:SetDialogDefaults
DESCRIPTION
Creates a full-table-attribute-field on the info dialog to show
for the user with values stored in the DB for the object.
DODSSiteUpd:SetDialogDefaults
DESCRIPTION
Creates a full-table-attribute-field on the update dialog to show
for the user with values stored in the DB for the object.
DSiteCre:SetDialogDefaults
DESCRIPTION
None.
DSwitchQry:SetDialogDefaults
DESCRIPTION
Handles the SetDialogDefaults message for the DSwitchQry class. Message type
is an Object Message.
Clears out the OwnerName attribute’s default value.
DTransOptDesc:SetDialogDefaults
DESCRIPTION
See message description.
ValidateDialgForSet
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the ValidateDialgForSet message.
DAttachToSwitch:ValidateDialgForSet
DESCRIPTION
Validates that the switch selected is not being flipped.
DExportTB:ValidateDialgForSet
DESCRIPTION
See message description.
DExportTC:ValidateDialgForSet
DESCRIPTION
See message description.
DImportTB:ValidateDialgForSet
DESCRIPTION
See message description.
DImportTC:ValidateDialgForSet
DESCRIPTION
See message description.
DRExport:ValidateDialgForSet
DESCRIPTION
See message description.
ValidateDialog
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the ValidateDialog message.
DClosRuleCre:ValidateDialog
DESCRIPTION
Validates Create Dialog of ClosRule
DClosRuleUpd:ValidateDialog
DESCRIPTION
Validates Update Dialog of ClosRule
DGMSCfgCre:ValidateDialog
DESCRIPTION
Converts the ExporterSpillDBName attribute from "display as" format to internal
(database) format. Sends the AtParent message.
DGMSCfgUpd:ValidateDialog
DESCRIPTION
Converts the ExporterSpillDBName attribute from "display as" format to internal
(database) format. Sends the AtParent message.
DImportTB:ValidateDialog
DESCRIPTION
See message description.
DImportTC:ValidateDialog
DESCRIPTION
See message description.
DODSSiteCre:ValidateDialog
DESCRIPTION
See message description.
DRemotesrchSearch:ValidateDialog
DESCRIPTION
Validates the dialog box inputs for the remote search action.
DSiteCre:ValidateDialog
DESCRIPTION
See message description.
DSiteUpd:ValidateDialog
DESCRIPTION
Validates Update Dialog of Site
DSwitchCre:ValidateDialog
DESCRIPTION
Validates Update Dialog of Switch
DSwitchQry:ValidateDialog
DESCRIPTION
Validates Update Dialog of Switch
DTransOptSetCre:ValidateDialog
DESCRIPTION
Validates Create Dialog of Transfer Option Set
DTransOptSetQry:ValidateDialog
DESCRIPTION
Populated the EMSiteID attribute of the TOS Query Dialog Object.
DTransOptSetUpd:ValidateDialog
DESCRIPTION
Validates Update Dialog of Transfer Option Set
DTransTrkUpd:ValidateDialog
DESCRIPTION
See message description.
Internal Messages
This section lists the Teamcenter Enterprise Data Exchange internal messages.
AttributeToIgnore
SYNOPSIS
DESCRIPTION
ARGUMENTS
BulkDeletePre
SYNOPSIS
DESCRIPTION
Method is responsible for deleting request objects.
ARGUMENTS
CreateReqObjectPost
SYNOPSIS
DESCRIPTION
Method is responsible for creating request objects.
ARGUMENTS
TcEntReq:CreateReqObjectPost
DESCRIPTION
Provides a customization point. This method is intended to be overwritten.
CreateReqObjectPre
SYNOPSIS
DESCRIPTION
Method is responsible for creating request objects.
ARGUMENTS
TcEntReq:CreateReqObjectPre
DESCRIPTION
Provides a customization point. This method is intended to be overwritten.
CreateRequestPost
SYNOPSIS
DESCRIPTION
Method is responsible for creating request objects.
ARGUMENTS
CreateRequestPre
SYNOPSIS
DESCRIPTION
Method is responsible for creating request objects.
ARGUMENTS
DeleteDbObject
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the DeleteDbObject message.
ExRecRel:DeleteDbObject
DESCRIPTION
Handles the DeleteDbObject message for the ExRecRel class. Message type is an
ObjectMessage.
Sets the NID as null so that when ExRecRel is deleted, the left side relation is not
deleted.
ImpRec:DeleteDbObject
DESCRIPTION
See message description.
RelationEms:DeleteDbObject
DESCRIPTION
See message description.
RelImpRc:DeleteDbObject
DESCRIPTION
Handles the DeleteDbObject message for the RelImpRc class. Message type is
an ObjectMessage.
Sets the NID as NULL so that when RelImpRc is deleted, the left side relation
is not deleted.
DeleteReqObject
SYNOPSIS
DESCRIPTION
Method is responsible for deleting request object of interest.
ARGUMENTS
DeleteReqObjectPost
SYNOPSIS
DESCRIPTION
Method is responsible to delete request object of interest.
ARGUMENTS
DeleteReqObjectPre
SYNOPSIS
DESCRIPTION
Method is responsible for deleting request object of interest.
ARGUMENTS
DoCopyAtOs
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the DoCopyAtOs message.
FSItemEms:DoCopyAtOs
DESCRIPTION
If OwnedItem then call at Parent If Replica then call FMS download
DoCreateRelPost
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the DoCreateRelPost message.
TmToCRC:DoCreateRelPost
DESCRIPTION
Provides a place to perform some necessary functions after the relation object is
inserted in the database, but before it is commited to the database.
DoDeleteAuxForRel
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the DoDeleteAuxForRel message.
RelImpRc:DoDeleteAuxForRel
DESCRIPTION
Delete the import record if Import record relation gets deleted as a side effect of
infer delete of relation.
DoDeleteRelation
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the DoDeleteRelation message.
TmToCRC:DoDeleteRelation
DESCRIPTION
See the message definition.
DoesRelClassValForDel
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the DoesRelClassValForDel message.
TmToCRC:DoesRelClassValForDel
DESCRIPTION
Handles the DoesRelClassValForDel message for the TmToCRC class. Message
type is a Class Message.
No messages sent.
NOTES
Returns RLT_VAL_FURTHER_CHECKS_NEEDED
DoesRelSideValForDel
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the DoesRelSideValForDel message.
TmToCRC:DoesRelSideValForDel
DESCRIPTION
Handles the DoesRelSideValForDel message for the TmToCRC class.
RLT_VAL_FURTHER_CHECKS_NEEDED is returned.
DoObjDelAuxForRel
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the DoObjDelAuxForRel message.
ExRecRel:DoObjDelAuxForRel
DESCRIPTION
Deletes the ExpRec object attached with this itemObj.
RelationEms:DoObjDelAuxForRel
DESCRIPTION
As this class is Top level Relation class, it handles the Import Record deletion for all
the relations of the Replica been deleted other than RelImpRc relation and Post an
Event for every deletion of Import Record.
RelImpRc:DoObjDelAuxForRel
DESCRIPTION
Deletes the ImpRec object attached with this itemObj.
ExportObjectToXMLPost
SYNOPSIS
DESCRIPTION
Post customization hook for writing the object to XML file and create/update the
Export Record.
ARGUMENTS
PdmRoot:ExportObjectToXMLPost
DESCRIPTION
See message description.
ExpSetGetRelationCtxt
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ExpSetGetRelationCtxt message.
FilterOtherSideObjAndRel
SYNOPSIS
DESCRIPTION
Provides a customization hook to filter the set of other side objects and corresponding
relation if gathered by expanding a relation, which will be exported. E.g. latest other
side object can be decided using Revision, Sequence, VersionNumber attributes.
ARGUMENTS
NOTES
Customization can override this message and filter other side objects and relations.
PdmItemEms:FilterOtherSideObjAndRel
DESCRIPTION
Filters and returns only the latest object in the series. The filteration is done only for
relation based closure rule expansion i.e. when the input relation set is not empty.
FindEquivalentLocalObject
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the FindEquivalentLocalObject message.
OwnedItmEms:FindEquivalentLocalObject
DESCRIPTION
See the message description.
PdmItemEms:FindEquivalentLocalObject
DESCRIPTION
See the message description.
PdmRoot:FindEquivalentLocalObject
DESCRIPTION
See the message description.
RelationEms:FindEquivalentLocalObject
DESCRIPTION
See the message description.
Stub:FindEquivalentLocalObject
DESCRIPTION
See the message description.
FindLocalObject
SYNOPSIS
DESCRIPTION
Responsible for checking the existence of the object in local cache/query for the local
object and if found, return the local object, its type and the import record if any
available for the local object. 1. This message tries finding an object based on GS
identity. 2. If object is not found from #1 then object will be queried from the database
based on closure rules. This case will find out the equivalent local objects from the
objects generated by mapper.
ARGUMENTS
OwnedItmEms:FindLocalObject
DESCRIPTION
See the message description.
PdmItemEms:FindLocalObject
DESCRIPTION
See the message description.
PdmRoot:FindLocalObject
DESCRIPTION
See the message description.
RelationEms:FindLocalObject
DESCRIPTION
See the message description.
GatherClassesToExportPost
SYNOPSIS
DESCRIPTION
Provides a customization point. This method is intended to be overridden.
ARGUMENTS
PdmRoot:GatherClassesToExportPost
DESCRIPTION
See message description.
GenerateMessageID
SYNOPSIS
DESCRIPTION
Generates a unique client message ID.
ARGUMENTS
TransTrk:GenerateMessageID
DESCRIPTION
See message description.
GetCheckInMode
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the GetCheckInMode message.
GetClientID
SYNOPSIS
DESCRIPTION
Returns a client ID from the given transaction ID
ARGUMENTS
MultiSite:GetClientID
DESCRIPTION
See message description.
GetClientIDfromTrnFormula
SYNOPSIS
DESCRIPTION
Extracts the client message ID from the Transfer Formula XML string.
ARGUMENTS
TransferFormula:GetClientIDfromTrnFormula
DESCRIPTION
See message description.
GetCustomOptions
SYNOPSIS
DESCRIPTION
This API may be used to add an option along with a value to the transfer formula
XML string while submitting an export request. The option name and value should
be populated in the output name value set. More than one option may be populated.
ARGUMENTS
NOTES
The calling function should free cusSessionOpts using
FREE_String(cusSessionOpts).
TransOpt:GetCustomOptions
DESCRIPTION
See message description.
GetMergedObject
SYNOPSIS
DESCRIPTION
Updates the attributes on the local object from the xml object. Returns doUpdate
as TRUE if any one attribute is found to be different between the local object and
xml object.
ARGUMENTS
NOTES
Also see GetAttrLstToUpdOnAncstrRepl
GetMultipleRootObjects
SYNOPSIS
DESCRIPTION
API to get the multiple root objects depending upon the given user selected object
and the transfer formula.
ARGUMENTS
GenDoc:GetMultipleRootObjects
DESCRIPTION
Returns the input object for selected version option. Returns the latest revision for
latest version option. Returns all revisions of the document for all version option.
ItemMstr:GetMultipleRootObjects
DESCRIPTION
Returns the latest revision of the object for latest version option. Returns all
revisions for all version option and returns error (mfail) if invoked with selected
version option.
PdmItemEms:GetMultipleRootObjects
DESCRIPTION
Copies the input object to the output set.
StrucBI:GetMultipleRootObjects
DESCRIPTION
For Selected Version option, copies the input object to the output set and for Latest
and All version options invokes the same API on the master.
GetObjectsInSeriesForOwnTransfer
SYNOPSIS
DESCRIPTION
Get the objects in a Series for Ownership Transfer. By default, gets already
replicated Version in Series to the given Replica Site.
ARGUMENTS
NOTES
The calling message should free all the output parameters
WrkImEms:GetObjectsInSeriesForOwnTransfer
DESCRIPTION
See message description.
GetOdrForImportAux
SYNOPSIS
DESCRIPTION
A customization point to allow the setting/overriding of the OwnerDir value for an
object being imported.
ARGUMENTS
FSItemEms:GetOdrForImportAux
DESCRIPTION
See message description.
NOTES
A no-op for the customization point at this class.
GetOwnerForImport
SYNOPSIS
DESCRIPTION
A customization point to allow the setting/overriding of the OwnerName value
for an object being imported.
ARGUMENTS
OwnedItmEms:GetOwnerForImport
DESCRIPTION
See message description.
NOTES
A no-op for the customization point at this class.
GetPredForOwnershipTransfer
SYNOPSIS
DESCRIPTION
Get the predecessor of the object for Ownership Transfer.
ARGUMENTS
NOTES
The calling message should free all the output parameters
GetRootObject
SYNOPSIS
DESCRIPTION
This method traverses and collects the root objects for all the items selected for
the Export .In core it is a no-op method .
ARGUMENTS
PdmItemEms:GetRootObject
DESCRIPTION
See message description.
GetTeamFolderForObj
SYNOPSIS
DESCRIPTION
This message returns a Team Folder name and whether the input object should
be added to the Team Folder.
ARGUMENTS
NOTES
This message is deprecated. See the Release Bulletin for replacement messages.
BinFile:GetTeamFolderForObj
DESCRIPTION
See message description.
NOTES
This code is introduced as there is no seperate module for IDS We want to prevent
addition of the CADFile objects to the team folder the BinFile is the immediate
parent of IDSFile which is the immediate parent of CADFILE which is present in
the core modules hence the check for CADDoc has been added here
None.
GnDocDmm:GetTeamFolderForObj
DESCRIPTION
See message description.
NOTES
This code is introduced as there is no seperate module for IDS We want to prevent
addition of the CADDoc objects to the team folder the GnDocDmm is the immediate
parent of CADDoc which is present in the core modules hence the check for CADDoc
has been added here
None.
JT:GetTeamFolderForObj
DESCRIPTION
See message description.
WrkImEms:GetTeamFolderForObj
DESCRIPTION
Returns the Team Folder name and whether the input object should be added to the
Folder depending on the DestinationFolderName attribute on the object.
ImportFromXMLToDbPost
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ImportFromXMLToDbPost message.
PdmRoot:ImportFromXMLToDbPost
DESCRIPTION
See message description.
ImportFromXMLToDbPre
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ImportFromXMLToDbPre message.
PdmRoot:ImportFromXMLToDbPre
DESCRIPTION
See message description.
VewDepR:ImportFromXMLToDbPre
DESCRIPTION
See message description.
InflateDynamicAttrExportPre
SYNOPSIS
DESCRIPTION
Customization hook for Inflating the dynamic attribute(s) on the object before
exporting. The custom code must not update the object in database.
!0 Unsuccessful.
ARGUMENTS
InflateRequiredDynamicAttributes
SYNOPSIS
DESCRIPTION
Sets the dynamic attributes on the input object. Any dynamic attribute that is added
in GetAttrLstToUpdOnAncstrRepl should be populated by overriding this API.
ARGUMENTS
WrkImEms:InflateRequiredDynamicAttributes
DESCRIPTION
Calls at Parent and then sets the dynamic attribute DestinationFolderName on
the input object
InsertDbItem
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the InsertDbItem message.
OwnedItmEms:InsertDbItem
DESCRIPTION
See message description.
PdmItemEms:InsertDbItem
DESCRIPTION
See message description.
InsertDbRelation
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the InsertDbRelation message.
RelationEms:InsertDbRelation
DESCRIPTION
See message description.
IsOTAllowedForImmutable
SYNOPSIS
DESCRIPTION
Decides whether ownership transfer is allowed for immutable object.
ARGUMENTS
WrkImEms:IsOTAllowedForImmutable
DESCRIPTION
See message description.
MoveDbItem
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the MoveDbItem message.
OwnedItmEms:MoveDbItem
DESCRIPTION
See message description.
NOTES
Cannot move a object from a replicated database.
PdmItemEms:MoveDbItem
DESCRIPTION
See message description.
NOTES
Cannot move a object from a replicated database.
NotifyObjectOwnershipTransferred
SYNOPSIS
DESCRIPTION
This hook is to be used in customization to send notification that the ownership
of exportObj is changed. The new owner of the object is available in EMSSiteID
attribute on the object.
ARGUMENTS
PdmRoot:NotifyObjectOwnershipTransferred
DESCRIPTION
See message description.
PropagateOccurrences
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the PropagateOccurrences message.
RefreshDbObject
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the RefreshDbObject message.
OwnedItmEms:RefreshDbObject
DESCRIPTION
See message description.
PdmItemEms:RefreshDbObject
DESCRIPTION
See message description.
RelationEms:RefreshDbObject
DESCRIPTION
See message description.
SetDefaultValues
SYNOPSIS
DESCRIPTION
Resolves and sets Left and Right attributes.
ARGUMENTS
NOTES
This message is deprecated. See the Release Bulletin for replacement messages.
PdmRoot:SetDefaultValues
DESCRIPTION
See message description.
SetDialgDefaultsForSet
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the SetDialgDefaultsForSet message.
DImportTB:SetDialgDefaultsForSet
DESCRIPTION
See message description.
DImportTC:SetDialgDefaultsForSet
DESCRIPTION
See message description.
DRemotesrchPublish:SetDialgDefaultsForSet
DESCRIPTION
See message description.
DRemotesrchUnpublish:SetDialgDefaultsForSet
DESCRIPTION
See message description.
SetImportAttrsAux
SYNOPSIS
DESCRIPTION
Called to allow setting/resetting of attributes after an import objects has been
created from the XML input.
ARGUMENTS
FSItemEms:SetImportAttrsAux
DESCRIPTION
See message description.
NOTES
Calls the customization point to set/reset the OwnerDirName
OwnedItmEms:SetImportAttrsAux
DESCRIPTION
See message description.
NOTES
Calls the customization point to set the OwnerName
PdmRoot:SetImportAttrsAux
DESCRIPTION
See message description.
NOTES
Empty at this class
SetRelationDefaults
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the SetRelationDefaults message.
TmToCRC:SetRelationDefaults
DESCRIPTION
Sends the SetRelationDefaultsAtParent message.
Places the value of the TransferMode attribute from the related Transfer Mode
object into the TransferMode attribute of the TmToCRC relation object.
Places the value of the ClosureRuleName attribute from the related ClosureRule
object into the ClosureRuleName attribute of the TmToCRC relation object.
SetSessionOptValueInFormula
SYNOPSIS
DESCRIPTION
This method sets the optionValue to optionName attribute on SesnOptionValue
attribute(NVSet) in transfer formula object.
ARGUMENTS
TransferFormula:SetSessionOptValueInFormula
DESCRIPTION
See message description.
SubmitExportRequest
SYNOPSIS
DESCRIPTION
Submits export request to Global Services for the selected objects.
ARGUMENTS
NOTES
1. API does not check for Message Access Privileges of the user performing the
action for Ownership Transfer. It is client’s responsibility to check for these
privileges before invoking this API.
Exporter:SubmitExportRequest
DESCRIPTION
See message description.
SubmitRequestToGS
SYNOPSIS
DESCRIPTION
Sumbit request object to GS Handler if request not in Life cycle.
ARGUMENTS
UpdateDbObject
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the UpdateDbObject message.
OwnedItmEms:UpdateDbObject
DESCRIPTION
See message description.
PdmItemEms:UpdateDbObject
DESCRIPTION
See message description.
RelationEms:UpdateDbObject
DESCRIPTION
See message description.
UpdateObjForExportPre
SYNOPSIS
DESCRIPTION
Hook for custom code to populate any custom attributes on an object before it is
exported.
ARGUMENTS
NOTES
3. The Exporter makes decisions about how to export each object using the
attributes of the object immediately following this hook. The object must not
change after this hook; if the object changes after this hook, the Exporter may
terminate the operation with a non-zero mfail.
5. The updation to the object should not affect the validation check for export of
that object, e.g. the updation should not make the object Export Protected.
EXAMPLES
SEE ALSO
WriteXMLAttrsPost
PdmRoot:UpdateObjForExportPre
DESCRIPTION
Provides a customization point. This method is intended to be overwritten.
ValForUnregister
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValForUnregister message.
ValidateExportDialog
SYNOPSIS
DESCRIPTION
Validates exporter dialog fields.
ARGUMENTS
DRExport:ValidateExportDialog
DESCRIPTION
See message description.
ValidateForCheckIn
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValidateForCheckIn message.
WrkImEms:ValidateForCheckIn
DESCRIPTION
Check-in is denied if the object is Stub/Replica.
ValidateForCheckOut
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the ValidateForCheckOut message.
WrkImEms:ValidateForCheckOut
DESCRIPTION
Checkin is denied if the workitem is Stub/Replica.
ValidateForCkiToTeam
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the ValidateForCkiToTeam message.
WrkImEms:ValidateForCkiToTeam
DESCRIPTION
Check-in to Team is denied if the object is Stub/Replica.
ValidateForCkoFromTeam
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValidateForCkoFromTeam message.
WrkImEms:ValidateForCkoFromTeam
DESCRIPTION
Check-out from Team is denied if the object is Stub/Replica.
ValidateForCopy
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValidateForCopy message.
WrkImEms:ValidateForCopy
DESCRIPTION
Copy action is denied if the workitem is Stub/Replica.
ValidateForCreate
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValidateForCreate message.
GMSCfg:ValidateForCreate
DESCRIPTION
Ensures there is always only one object of the GMSCfg class. Presents an error
message if there is already one else sends the AtParent message.
ValidateForCreateRel
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s)
for the ValidateForCreateRel message.
RelationEms:ValidateForCreateRel
DESCRIPTION
This is to validate relation creation for Replicas.
StructurEms:ValidateForCreateRel
DESCRIPTION
This is to validate Structure relation creation for Replicas.
ValidateForDelete
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValidateForDelete message.
GMSCfg:ValidateForDelete
DESCRIPTION
See message description.
PdmItemEms:ValidateForDelete
DESCRIPTION
See message description.
Switch:ValidateForDelete
DESCRIPTION
See message description.
TransTrk:ValidateForDelete
DESCRIPTION
See message description.
WrkImEms:ValidateForDelete
DESCRIPTION
See message description.
ValidateForRelease
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValidateForRelease message.
WrkImEms:ValidateForRelease
DESCRIPTION
Check-in to Team is denied if the object is Stub/Replica.
ValidateForUpdate
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValidateForUpdate message.
PdmItemEms:ValidateForUpdate
DESCRIPTION
See message description
RelationEms:ValidateForUpdate
DESCRIPTION
See message description.
StructurEms:ValidateForUpdate
DESCRIPTION
This is to validate Structure relation creation for Replicas.
WrkImEms:ValidateForUpdate
DESCRIPTION
Check-in to Team is denied if the object is Stub/Replica.
ValidateObjForTransOwnership
SYNOPSIS
DESCRIPTION
This message should be used to validate whether an object is suitable for ownership
transfer while submitting export request. This method assumes that the transfer
request on ’selectedObj’ is for ownership transfer.
ARGUMENTS
PdmRoot:ValidateObjForTransOwnership
DESCRIPTION
See message description.
ValRelShipForObjDelete
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the ValRelShipForObjDelete message.
TmToCRC:ValRelShipForObjDelete
DESCRIPTION
Handles the ValRelShipForObjDelete message for the TmToCRC class.
Checks to make sure that a TransferMode does not have a Closure Rule validation
and a Closure Rules does not have validations: if so, delete denied.
If the delete is not allowed then the method will return USC_VALIDATION_ERROR
in the mfail parameter. If the delete is allowed, USC_OKAY will be returned.
Sends ValRelShipForObjDeleteAtParent.
WriteClassAttributesPost
DESCRIPTION
The Teamcenter Enterprise Data Exchange module adds the following method(s) for
the WriteClassAttributesPost message.
PdmRoot:WriteClassAttributesPost
DESCRIPTION
WriteSchemaHeaderPost
SYNOPSIS
DESCRIPTION
Provides a customization point. This method is intended to be overridden.
ARGUMENTS
WriteXMLAttrsPost
SYNOPSIS
DESCRIPTION
Dump an object’s attributes to File in XML format.
ARGUMENTS
NOTES
2. All attributes of a supported type will be exported to the XML by the Exporter.
This hook is available specifically for writing attributes of types not supported
by the Exporter.
3. When this hook is called, the Exporter has already made decisions about how to
export the object using the attributes of the object. The object must not change
in this hook; if the object changes in this hook, the Exporter may terminate the
operation with a non-zero mfail. The appropriate hook for modifying an object’s
attributes prior to export is UpdateObjForExportPre, which see.
EXAMPLES
SEE ALSO
UpdateObjForExportPre
PdmRoot:WriteXMLAttrsPost
DESCRIPTION
Provides a customization point. This method is intended to be overwritten.
See message description.
WriteXMLEndTagPre
SYNOPSIS
DESCRIPTION
Write the data before end tag of an XML document. Any XML data customizer need
to write at the end of XML file and be created/sent here.
ARGUMENTS
WriteXMLRootTagPost
SYNOPSIS
DESCRIPTION
Write the Root Tag, "ObjectSetRoot", of an XML document containing a set of
objects to a string.
ARGUMENTS
WriteXMLSubElements
SYNOPSIS
DESCRIPTION
Write custom XML Sub element to Set of strings.
ARGUMENTS
PdmRoot:WriteXMLSubElements
DESCRIPTION
See message description
A DGMSCfgCre:SetDialogDefaults . . . . . . 1-6
DGMSCfgCre:ValidateDialog . . . . . . . . . 1-9
AttributeToIgnore . . . . . . . . . . . . . . . . 1-12
DGMSCfgGetI:SetDialogDefaults . . . . . . 1-6
Audience . . . . . . . . . . . . . . . . . . . . . . . . 5
DGMSCfgUpd:SetDialogDefaults . . . . . . 1-6
DGMSCfgUpd:ValidateDialog . . . . . . . . 1-9
B DImportTB:SetDialgDefaultsForSet . . . 1-52
BinFile:GetTeamFolderForObj . . . . . . . 1-42 DImportTB:ValidateDialgForSet . . . . . . 1-8
BulkDeletePre . . . . . . . . . . . . . . . . . . 1-12 DImportTB:ValidateDialog . . . . . . . . . . 1-9
DImportTC:SetDialgDefaultsForSet . . . 1-52
DImportTC:ValidateDialgForSet . . . . . . 1-8
C DImportTC:ValidateDialog . . . . . . . . . . 1-9
CheckReplicaSyncStatusD . . . . . . . . . . . 1-1 DoCopyAtOs (Teamcenter Enterprise Data
Code conventions . . . . . . . . . . . ....... 7 Exchange) . . . . . . . . . . . . . . . . . . . . . 1-21
Command line entry conventions ....... 7 DoCreateRelPost (Teamcenter Enterprise
Conventions Data Exchange) . . . . . . . . . . . . . . . . . 1-22
Caution icons . . . . . . . . . . . . . . . . . . .. 6 DoDeleteAuxForRel (Teamcenter Enterprise
Code . . . . . . . . . . . . . . . . . . . . . . . . .. 7 Data Exchange) . . . . . . . . . . . . . . . . . 1-23
Command line entries . . . . . . . . . . . .. 7 DoDeleteRelation (Teamcenter Enterprise
File contents . . . . . . . . . . . . . . . . . . .. 7 Data Exchange) . . . . . . . . . . . . . . . . . 1-24
Names . . . . . . . . . . . . . . . . . . . . . . .. 6 DODSSiteCre:SetDialogDefaults . . . . . . 1-6
Note icons . . . . . . . . . . . . . . . . . . . . .. 6 DODSSiteCre:ValidateDialog . . . . . . . . . 1-9
Revisions . . . . . . . . . . . . . . . . . . . . .. 6 DODSSiteGetI:SetDialogDefaults . . . . . . 1-6
Syntax definitions . . . . . . . . . . . . . . .. 8 DODSSiteUpd:SetDialogDefaults . . . . . . 1-6
Values . . . . . . . . . . . . . . . . . . . . . . . .. 6 DoesRelClassValForDel (Teamcenter
Warning icons . . . . . . . . . . . . . . . . . .. 6 Enterprise Data Exchange) . . . . . . . . 1-25
CreateReqObjectPost . . . . . . . . . . . . . . 1-13 DoesRelSideValForDel (Teamcenter
CreateReqObjectPre . . . . . . . . . . . . . . 1-14 Enterprise Data Exchange) . . . . . . . . 1-26
CreateRequestPost . . . . . . . . . . . . . . . 1-15 DoObjDelAuxForRel (Teamcenter Enterprise
CreateRequestPre . . . . . . . . . . . . . . . . 1-16 Data Exchange) . . . . . . . . . . . . . . . . . 1-27
DRemotesrchPublish:SetDialgDefaultsForSet . . 1-52
DRemotesrchSearch:ValidateDialog . . . . 1-9
D
DRemotesrchUnpublish:SetDialgDefaultsForSet . . 1-52
DAttachToSwitch:ProcessDialgForSet . . . 1-5 DRExport:ProcessDialgForSet . . . . . . . . 1-5
DAttachToSwitch:ValidateDialgForSet . . 1-8 DRExport:ValidateDialgForSet . . . . . . . . 1-8
DClosRuleCre:SetDialogDefaults . . . . . . 1-6 DRExport:ValidateExportDialog . . . . . . 1-59
DClosRuleCre:ValidateDialog . . . . . . . . . 1-9 DSiteCre:SetDialogDefaults . . . . . . . . . . 1-6
DClosRuleUpd:ValidateDialog . . . . . . . . 1-9 DSiteCre:ValidateDialog . . . . . . . . . . . . 1-9
DeleteDbObject (Teamcenter Enterprise Data DSiteUpd:ValidateDialog . . . . . . . . . . . 1-10
Exchange) . . . . . . . . . . . . . . . . . . . . . 1-18 DSwitchCre:ValidateDialog . . . . . . . . . 1-10
DeleteReqObject . . . . . . . . . . . . . . . . . 1-18 DSwitchQry:SetDialogDefaults . . . . . . . 1-7
DeleteReqObjectPost . . . . . . . . . . . . . . 1-19 DSwitchQry:ValidateDialog . . . . . . . . . 1-10
DeleteReqObjectPre . . . . . . . . . . . . . . 1-19 DTransOptDesc:SetDialogDefaults . . . . . 1-7
DExportTB:ValidateDialgForSet . . . . . . . 1-8 DTransOptSetCre:ValidateDialog . . . . . 1-10
DExportTC:ValidateDialgForSet . . . . . . . 1-8 DTransOptSetQry:ValidateDialog . . . . . 1-10