Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Missing ToStateId in UpdateChangeOrderLifeCycleStateCommandEventArgs Class

1 REPLY 1
Reply
Message 1 of 2
krister.sjoberg
325 Views, 1 Reply

Missing ToStateId in UpdateChangeOrderLifeCycleStateCommandEventArgs Class

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..

 

/Krister

1 REPLY 1
Message 2 of 2
Redmond.D
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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report