Article - CS110835

Unable to Edit and Check In a Document using custom layouts in Windchill PDMLink

Modified: 18-Nov-2022   


Applies To

  • Windchill PDMLink 10.1 to 12.0

Description

  • Unable to Edit and Check In a Document using custom layouts
  • Default layout and/or layout used for Edit includes Number
  • Error returned in the Method Server log: 
java.lang.reflect.InvocationTargetException 
at sun.reflect.GeneratedMethodAccessor2922.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
...
Caused by: Changes to "Number" are restricted, once the object has been persisted. 
at wt.doc._WTDocumentMaster.numberValidate(_WTDocumentMaster.java:93) 
at wt.doc._WTDocumentMaster.setNumber(_WTDocumentMaster.java:88) 
at wt.doc.WTDocument.setNumber(WTDocument.java:274) 
  • Edit layout includes folder.id
  • Error returned in the user interface when saving and/or checking in:​​​​​​​
ATTENTION: Changes to "wt.doc.WTDocument:XXXXXXXX" are restricted, once the object has been persisted
This is a printer-friendly version of Article 110835 and may be out of date. For the latest version click CS110835