Functions Available in the PTC Nonconformance Domain
Some of the functions available in the PTC Nonconformance Domain are listed below.
GetLifeCycleTemplate()
The GetLifeCycleTemplate() returns the life cycle template associated with a lifecycle managed nonconformance 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 a nonconformance object:
GET /Windchill/servlet/odata/NC/Nonconformances('VR:com.ptc.qualitymanagement.nc.Nonconformance:1272382')/PTC.NC.GetLifeCycleTemplate()
IsReservedByMe()
The IsReservedByMe() function checks if a nonconformance is reserved by the user and returns the value true. It returns the value false if the nonconformance is not reserved by the user.
The following is an example of the IsReservedByMe() function for a nonconformance:
GET /Windchill/servlet/odata/NC/Nonconformances('VR:com.ptc.qualitymanagement.nc.Nonconformance:1272382')/PTC.NC.IsReservedByMe()
Refer to the domain EDM for a complete list of functions.
這是否有幫助?