Vault Customization

New Member
Posts: 2
Registered: ‎06-03-2008
Message 1 of 2 (92 Views)

Missing ToStateId in UpdateChangeOrderLifeCycleStateCommandEventArgs Class

92 Views, 1 Replies
11-01-2012 08:36 AM

This is actually not a question, just a remark. I'm really missing the Id for the target state in the UpdateChangeOrderLifeCycleStateCommandEventArgs Class. I know that I can use the ActivityId to figure out what the target state is, but why???? can't there just be a member with that info like there is for Items etc..



Posts: 800
Registered: ‎12-12-2006
Message 2 of 2 (81 Views)

Re: Missing ToStateId in UpdateChangeOrderLifeCycleStateCommandEventArgs Class

11-02-2012 10:26 AM in reply to: krister.sjoberg

This event is triggered by the CommitChangeOrderActivity function call.  The event args match the parameters on the function call.

So that leads to the next question:  Why does CommitChangeOrderActivity use the activity ID instead of the target state ID?

It goes back to how the database tables are set up on the Vault server.  In the case of change orders, things are indexed to lookup based on the activity. 

Doug Redmond
Software Engineer
Autodesk, Inc.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community