Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all 8876 articles
Browse latest View live

What is the Primary key and foriegn key between WTDocument and WTPart table in Windchill PDMLink

$
0
0

Hi Comunity User,

I have some problem regarding Windchill PDMLink, some document has been deleted from WTPart document and shifted in WTDocument, hoe can we get back these document,Is there any relationship between these table by a query we will update our previopis documennt


Is there a way to create a new table view and default that view for all users?

$
0
0

In WC 9 we were able to create a view as WCADMIN and setting it as default would set it for all users.  This does not appear to work for 10.2 M030.  Ideally we would like to use the load file functionality to load and set the default.  The example I am looking at is setting the table view on the affected items table on a Change Task.

Unable to browse the image in report studio

$
0
0

Hi All,

 

I'm  facing problem while trying to add image in Cognos report studio template.

Actually, while trying to browse image location, getting  http 404  error.

 

And I've realized that, I need to enable WebDAV for Apache( correct me  if I'm wrong).

 

Please suggest me the solution.

 

Thanks and regards,

krishna Chaithanya

I am working with Modeled sub type of WTPart, I have added 'com.ptc.windchill.annotations.metadata.GeneratedProperty' to already present @GenAsPersistable annotation. Do I need to generate SQL script again for this type?

$
0
0

I am working with Modeled sub type of WTPart.

I have added 'com.ptc.windchill.annotations.metadata.GeneratedProperty' to already present @GenAsPersistable annotation.

Do I need to generate SQL script again for this type?

Re: Find all EPM Documents without Visualisation

$
0
0

Hello Stefan,

 

If you are using report manager, you can link epmdocument and wtderivedimage using "Derived From The Derived Image"  link and reference epmdocument to epmdocument master to get the name and number.

 

If you are looking at SQLs you can use the below to get all representations.

 

SELECT edm.documentnumber, edm.name, edm.cadname, ed.versionida2versioninfo "Rev",
ed.iterationida2iterationinfo "Iteration", di.NAME  FROM epmdocument ed, epmdocumentmaster edm, derivedimage di  WHERE  ed.ida3masterreference =edm.ida2a2  AND ed.ida2a2 IN di.ida3therepresentablereferenc;

 

Thank you,

Binesh Kumar

Barry Wehmiller

Re: What is the Primary key and foriegn key between WTDocument and WTPart table in Windchill PDMLink

$
0
0

Use the links WTPARTREFERENCELINK and WTPARTDESCRIBEDBYLINK. Windchill stores version specific part documentation in described by and version independent documentation in reference by.

 

Thank you,

Binesh Kumar

Barry Wehmiller

is there a way i can delete an product with instance incorported

$
0
0


it is very useful to use part configuration and part instance to trace the specific product in the service, but i can not delete the product data from the system once it is incorporated even it has pass the end date.

 

has anyone knows how to delete the product from the system when it is not used in the service anymore?

 

thank you

Re: Find all EPM Documents without Visualisation

$
0
0

Thank you very much.

We came up with this query.

 

Select CADName,VERSIONIDA2VERSIONINFO, DERIVEDIMAGE.IDA3THEREPRESENTABLEREFERENC from EPMDOCUMENTMASTER, EPMDOCUMENT LEFT OUTER JOIN DERIVEDIMAGE on DERIVEDIMAGE.IDA3THEREPRESENTABLEREFERENC=EPMDOCUMENT.IDA2A2 where "EPMDOCUMENT".idA3masterReference = "EPMDOCUMENTMASTER".idA2A2 and "EPMDOCUMENT".statestate='RELEASED' and EPMDOCUMENTMASTER.CADNAME like '%.drw' and DERIVEDIMAGE.IDA3THEREPRESENTABLEREFERENC is null;

 

to find all released *.drw files without visualisation.

Thank you for your input


Batch print PDF from PTC Places

$
0
0

Hello all Windchill users.

 

Have a question about batch print PDF from PTC places.

 

Current state:

- PDF stored in PTC places (see folder structure below)

01-stored.JPG

- in this state we can individualy open each PDF and print it

- together 250+ PDFs need to be printed

 

Idea 01:

- copy all PDF to local disk and print it with usualy way ---> too much work ---> time loosing way

 

Idea 02:

- print PDFs directly from PTCplaces ---> batch print isn´t allowed .

 

Professional way:

Could you give me some tip how to do it effectively? What is the professional way?

 

WCH/PTC Places config options:

- are there any options in conjunction to batch print, that l should know?

 

Note:

- PDFs are different sizes (A4, A3, A2 papers)

 

Thx for any tip or link

Best regards

Milan

Re: WTPart attachments

$
0
0

Hi Janis,

 

The edit wizard can use a java applet, can you tell us which Java JRE version do you have installed in your system? Remember that by default in 1.8 applets are not allowed.

Re: Publish only .DRW on state change

$
0
0

Nudge: this one would be really useful for me too, if anybody has any ideas, please?

Re: SQL Query to find out BOM

$
0
0

In which columns are those 2 Parts stored? I can only see the IDA3A5 column which holds 1 Part Info. where is the Parent and the Child Part stored?

Re: SQL Query to find out BOM

$
0
0

Hi Stefan,

IDA3A5 id the Object ID of parent IDA3B5 is object ID of child (PartMaster). If you want number you have lo include Part master in you query. Let me know if you need any info.

regards

Sudhakar

Re: Batch print PDF from PTC Places

$
0
0

 

WCH/PTC Places config options:

- are there any options in conjunction to batch print, that l should know?

 

One possible way is to get a printer that supports a pdf file and simply directly send the files to the printer. For example most modern HP printers such as HP LaserJet M5035 MFP, HP Color LaserJet 5550, HP LaserJet 9040 MFP, HP DesignJet T1100ps are a few examples that support printing of pdf files.

 

You either use command line printing to send the files to the printer or from the printers web page (you would have to have file system access to the pdf's) you can upload multiple files at once to print. Command line printing could be a custom jsp page that queried Windchill to find the pdf vaulting location and then send that file to the printer.

Re: SQL Query to find out BOM

$
0
0

Ok, i found the head of the bom. How can i link the partmaster table row to the content of the product (im searching for the filename). I'm searching for the bom of the partmaster with a filename like '%.asm'


Adding an Attribute for Change Request pt.2

$
0
0

I am working on extending the information we need in our Change Request form. I ran the AddColumns command specifying 1 string column. When I checked the WTChangeRequest2 table, there were 5 added columns, but only 1 was named. The name is: ptc_str_1TYPEINFOWTCHANGEREQUEST2. My questions with the Oracle portion of adding an attribute are:

1) Can this column name be renamed into something practical or doesn't it really matter?

2) Can the other 4 columns be utilized or does the AddColumns command utilize these 4 columns if I need to add more?

 

Now of the Type Attribute issues. I went in and added a new attribute and that shows up fine in the list of attributes. I defined a series of statements that we will use to select from. The added information is for the disposition of existing material. I want it to be radio boxes so the author can check one or more of the 7 disposition statements. I would also like an 'Other' radio box with a comment field for the Other reason, if needed. When I process a new change request, all I get is a comment box for the disposition, not the radio buttons are even a drop down list, which I tried first. Questions are:

1) How do I get the Change Request form to display the disposition(s) with radio buttons so one or more may be selected?

2) How do I get a comments field if the Other disposition type is selected? The comments field can be there anyway, if needed to be.

3) How do I adjust the placement of the disposition field in the Change Request form? It comes in at the very bottom by default.

 

Not sure that is all, but it will get me started towards finishing this change.

 

Windchill10.0 M040

 

Ben

How to make "template" field as required in New Change Notice Window.

$
0
0

How to make "Template" field as required  in New Change Notice Window.

Change Notice.png

Problem with check out edit of one record (9.1)

$
0
0

I have one record, that was migrated to Windchill 9.1 years ago.  It is just now being modified, but it gives me an error when I do check out and edit, then check in.  "The Value for attribute Comments violates constraints defined for this attribute." 

 

So there is a value entered in the Comments field it is "Part number: 23379G006, G008, G020", but when I do check out and edit, the Comment field appears blank.   How can fix this? 

Can I go into another area of the database of this particular record and just clear out the comment because it's having an issue with it?  We need to edit record this record.

 

error.jpg

screenshot1.jpg

screenshot2.jpg

  

How to reload class files in MS without restarting?

$
0
0

I would like to reload all the classfiles without restarting method server each time. How to achieve that? any ideas

Re: Problem with check out edit of one record (9.1)

$
0
0

It seems you have missed some required attribute value. Are you sure this error is because of the "Comments" field?

Viewing all 8876 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>