5/5/2026 4:39:45 PM
|
| |
| slxdeveloper.com Community Forums |
|
| |
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
History.Type is now an enums
Posted: 26 Feb 09 12:35 PM
|
How do I cast the enums correctly?
objH.StartDate = DateTime.Now; objH.Duration = 0; objH.Type=(Enum)(262148); objH.Timeless = false; objH.Description = this.pklStatus.Text; objH.Attachment = false; //write the record objH.Save();
The above returns..."cannot convert type 'int' to 'System.Enum'"
Thanks. |
|
|
|
Re: History.Type is now an enums
Posted: 26 Feb 09 3:28 PM
|
Much thanks to Scott for helping me figure this out...
objH.Type = Sage.Entity.Interfaces.HistoryType.atNote; |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|