SPS Version Number

Discussions related to custom development with Select.
Post Reply
KWoods
Posts: 10
Joined: Tue Aug 27, 2019 12:26 pm

SPS Version Number

Post by KWoods »

Is there a way to get the version number of the SoftPro release in the API? I want to be able to show what version the order was created with.
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: SPS Version Number

Post by BobRichards »

Get the order CreatedWithVersion property for a string holding the Select version that created the order. String can be converted to actual Version struct if desired...

Code: Select all

string s = (string)order.GetProperty("CreatedWithVersion");
Version v = new Version(s);
Bob Richards, Senior Software Developer, SoftPro
Post Reply