Serial Effectivity Navigation Criteria Examples
Serial effectivity navigation criteria are the equivalent of a structure filter in Windchill MPMLink, where Unit Effectivity is selected for the Choose a Type field, and Serial Number is selected for the Effectivity Type field, on the Configuration Specification tab of the Edit Filter window.
Examples of JSON payloads that can be used as serial effectivity navigation criteria are provided for each of the input parameters on the ConvertFromProcessPlanID service:
The following table shows the relationship between the settings on the Configuration Specification tab of the Edit Filter window in Windchill MPMLink and the objects and attributes in a JSON payload for serial effectivity navigation criteria.
Windchill MPMLink Setting
JSON Object Attribute
Saved filter from the Filter action set on the Structure tab.
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
Saved filter from the Related Assembly Filter action set on the Structure tab.
"ApplicableType": "PTC.ProdMgmt.Part",
Apply to top level object checkbox.
"ApplyToTopLevelObject": false,
Choose a Type=Unit Effectivity.
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityUnitConfigSpec",
Effectivity Unit field.
"EffectiveUnit": "...",
Effectivity Type=Serial Number
"EffectivityType": {
"Value": "SERIAL_NUMBER",
"Display": "Serial"
},
Effectivity Context field. For more information, see Retrieving an EffectiveContext Value.
"EffectiveContext": "...",
View field.
"View": "...",
BOM Type field.
"Variation1": "...",
Alternate BOM field.
"Variation2": "...",
Apply latest for unresolved dependents checkbox.
"UseDefaultForUnresolved": false
Serial Effectivity Example for the processPlanNavigationCriteria Input Parameter
The following code shows an example JSON payload for the processPlanNavigationCriteria input parameter, providing navigation criteria for a serial effectivity filter:
{
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ApplyToTopLevelObject": false,
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityUnitConfigSpec",
"EffectiveUnit": "5",
"EffectivityType": {
"Value": "SERIAL_NUMBER",
"Display": "Serial"
},
"EffectiveContext": "wt.part.WTPartMaster:155184",
"View": "Design",
"Variation1": null,
"Variation2": null
}
],
"Filters": [],
"UseDefaultForUnresolved": false
}
Serial Effectivity Example for the relatedAssemblyNavigationCriteria Input Parameter
The following code shows an example JSON payload for the relatedAssemblyNavigationCriteria input parameter, providing navigation criteria for a serial effectivity filter:
{
"ApplicableType": "PTC.ProdMgmt.Part",
"ApplyToTopLevelObject": false,
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartEffectivityUnitConfigSpec",
"EffectiveUnit": "1",
"EffectivityType": {
"Value": "SERIAL_NUMBER",
"Display": "Serial"
},
"EffectiveContext": "wt.part.WTPartMaster:245852",
"View": "Design",
"Variation1": {
"Value": "production",
"Display": "Production"
},
"Variation2": {
"Value": "002",
"Display": "002"
}
}
],
"Filters": [],
"UseDefaultForUnresolved": false
}
Was this helpful?