Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I've noticed something today, that was different at my last company and the company before.
It's my recollection that the Created On date is static, being the date a part number (or WTObject) is created.
I've not checked our system until today when I noticed that the Created On date is changing with a new Revision.
Perhaps it was a customization to stay the same at the last company.
Is this expected behavior for most of you folks?
James
Windchill 11.0 M030 CPS08
I am finding that the revision date changes when an object is revised to a new revision level. Iterations change for every check-in. That is OOTB behavior. There is something in the manuals about revisions and what properties change with a new revision and which ones don't.
Considering Revising to be a Create activity, with it's own creation date is consistent with:
- Delete each object refers to each Revision
- ACL for Revise requires create permission at the resulting state (primarily evident when using two-phase lifecycle)
The database shows created as static for the master (epmdocumentmaster), but variable for each Revision (supplemented by each Iteration for each Revision).
Same behavior here. Created on follows the revision creation.
Out of the box, the 'Created By' and 'Created On' are linked to object Revision - we basically never use it because of that.
We created relations in our start parts that would capture the initial created on date as company_created_date and then used that in the titleblock. The code would also check for a save as that would reset when the revision was set to 0.
/* EXTRACT THE DATE PORTION OF THE WINDCHILL TIMESTAMP PARAMS
SHORT_CREATED_ON = EXTRACT(PTC_WM_CREATED_ON,1,10)
/* INITIAL RELEASE PARAMETERS
/* SET COMPANY_INITIAL VALUES FOR DRAWING PARAMETERS FROM WINDCHILL
/* ONLY WHEN REV IS 0
if PTC_WM_REVISION == "0"
Company_INITIAL_CREATED_BY = PTC_WM_CREATED_BY
Company_INITIAL_CREATED_ON = SHORT_CREATED_ON
endif