cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Option to fix PTC_WM_CREATED_BY & PTC_WM_CREATED_ON in a format on a drawing

Option to fix PTC_WM_CREATED_BY & PTC_WM_CREATED_ON in a format on a drawing

Using the windchill attribute PTC_WM_CREATED_BY & PTC_WM_CREATED_ON in a format on a drawing it is changed when the object is revised to the user who revised it. Can this be fixed so the originator of the drawing is captured.

4 Comments

I can vouch that our userbase absolutely hates this aspect. I have been tasked with finding a better than 'manually write it in' workaround for this.

Aquamarine

I also created an Idea for this:

http://communities.ptc.com/ideas/1857

Community Manager
Status changed to: Acknowledged
 
Sapphire I

We worked around this by creating a relation of Initial_created_by and Initial_created_on in our start parts. These would not update when a part was revised, only when it was saved as.

 

/* extract the date portion of the windchill timestamp params
short_created_on = extract(ptc_wm_created_on,1,10)
short_approved_date = extract(ir_approved_date,1,10)
short_modified_on = extract(ptc_wm_modified_on,1,10)
year = extract(ptc_wm_modified_on,1,4)

 

/* Set ir_initial_ecn = to ir_ecn from windchill only when rev is 0
if ptc_wm_revision == "0"
ir_initial_ecn = ir_ecn
ir_initial_created_by = ptc_wm_created_by
ir_initial_created_on = short_created_on
endif