Functions Available in the PTC Document Control Domain
Some of the functions available in the PTC Document Control domain are listed below.
GetValidStateTransitions()
The GetValidStateTransitions() function retrieves the valid state transitions of a training record object.
The following is an example of the GetValidStateTransitions() function for a training record object:
GET /Windchill/servlet/odata/DocumentControl/TrainingRecords('OR:com.ptc.qualitymanagement.qms.trainingtracking.TrainingRecord:306394')/PTC.DocumentControl.GetValidStateTransitions()
GetLifeCycleTemplate()
The GetLifeCycleTemplate() returns the life cycle template associated with a lifecycle managed training record object along with all its states. For more information, see Getting Information About Windchill Life Cycle States.
The following is an example of the GetLifeCycleTemplate() function for an training record object:
GET /Windchill/servlet/odata/DocumentControl/TrainingRecords('OR:com.ptc.qualitymanagement.qms.trainingtracking.TrainingRecord:306394')/PTC.DocumentControl.GetLifeCycleTemplate()
Refer to the domain EDM for a complete list of functions.
これは役に立ちましたか?