Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, May 9, 2024 
 
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!
 External Development Forums - General External Development
Forum to discuss general external development topic (related or not to SalesLogix development). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General External Development | New ThreadView:  Search:  
 Author  Thread: How to get the activity id for created activity.
Ruchi
Posts: 19
 
How to get the activity id for created activity.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jun 08 6:01 AM
Hi,
I have created one activity using "SalesLogix.Activity slxActivity = slxapplication.Activities.Add(SalesLogix.TxActivityType.atPhoneCall, slxapplication.UserOptions.UserID);"

it returns me an activity "slxActivity ". now i want to get the activity id of created activity "slxActivity".

plz help me to find out the created activity id.

Thanks
Ruchi
[Reply][Quote]
Steve Robertson
Posts: 146
 
Re: How to get the activity id for created activity.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jun 08 9:33 AM
Hi Ruchi,

You have to save the objActivity to generate the activityid.

Dim objActivity
Set objActivity = Application.Activities.Add(atPhoneCall, Application.BasicFunctions.CurrentUserID)
objActivity.Save
msgbox objActivity.Key
Set objActivity = Nothing

objActivity.Key is the activityid of the activity you just created.

Cheers,

Steve
[Reply][Quote]
Ruchi
Posts: 19
 
Re: How to get the activity id for created activity.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jun 08 10:12 AM
Thanks a lot. it works fine.
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/9/2024 6:30:13 AM