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: 

GetChangeOrderNumberBySchemeId increase number

1 REPLY 1
SOLVED
Reply
Message 1 of 2
wesbird
322 Views, 1 Reply

GetChangeOrderNumberBySchemeId increase number

Hi

 

  I found GetChangeOrderNumberBySchemeId will increase the number, just like SEQUENCE in database. Is there a way I can get the number without increasing? 

 

 

 

Thank you so much

Wes

Windows 10 64 bit, AutoCAD (ACA, Map) 2023
1 REPLY 1
Message 2 of 2
wayne.brill
in reply to: wesbird

Hi Wes,

 

The numbering scheme engine used by ChangeOrders is also used by Items and Files, so they all have the same limitations.  Once the number has been generated there is no way to roll it back, or reset the seed. However, the AddChangeOrder/UpdateChangeOrder methods allow for change orders to use any desired string for the change order number – it just must be unique.

 

 

Thanks,

Wayne

 



Wayne Brill
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report