Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, July 5, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Schedule Phonecall or Meeting from Button on form
Keri
Posts: 17
 
Schedule Phonecall or Meeting from Button on formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 06 8:20 AM
fiogf49gjkf0d
Basically what i am after is the ability to fire the Schedule Meeting & Phone Call wizards from buttons on my opportunity form.

All replies gratefully received

Thanks,
Keri.
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Schedule Phonecall or Meeting from Button on formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 06 12:33 PM
fiogf49gjkf0d
Application.BasicFunctions.(Function Name):
1) CreateActivity*
2) EditActivity
3) DeleteActivity
4) CreateCompletedActivity
5) ShowActivity
6) ShowActivityNotePad

* - Most likely the only one you'll use

CreateActivity takes these parameters:
Type as String - A Type is one of "Phone Call," "Meeting," "To-Do"
ContactID as String - the SalesLogix ID for the contact.
OpportunityID as String - the SalesLogix ID for the opportunity.
Regarding as String
Notes as String
Leader as String

It returns a string, the ActivityID.

The functions are all in the SalesLogix LAN Developer's Reference found in the Support Online site. If you don't have access your BP should be able to get the Help file to you.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Schedule Phonecall or Meeting from Button on formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 06 1:27 PM
fiogf49gjkf0d
The only problem with using these functions is that they are dialog-based. If you want to script in a new activity behind the scenes (without user intervention) then these won't do the job.

This doesn't sound like a problem for Keri - but a grudge of mine none the less
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Schedule Phonecall or Meeting from Button on formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 06 2:13 PM
fiogf49gjkf0d
I'll agree there but CreateActivity does a good job of filling in almost all of the dialog. On a good day I can just script a SendKeys{Enter} or whatever to press that OK button. v7 should take care of this but from my limited exposure it didn't seem be as open as attachments are.
[Reply][Quote]
Keri
Posts: 17
 
Re: Schedule Phonecall or Meeting from Button on formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Jul 06 4:31 AM
fiogf49gjkf0d
Thankyou both for your replies, i have only recently been thrown into saleslogix development so i am very new to this, i apologise if i ask basic questions.

Jeremy thanks for the tip on the Developer's Reference, i don't find the SLX site too easy to navigate, but have found that PDF and downloaded it

Any way got it all working now
[Reply][Quote]
Rafael S.
Posts: 66
 
Re: Schedule Phonecall or Meeting from Button on formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Feb 11 5:32 AM
fiogf49gjkf0d

Hi Ryan!!


 


Im trying to do a new activity without the dialog... Can you help with this? I dont know everything the slx does in the CreateActivity()... I think i will have to do via query, am i right?


thanks!


Rafael

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Schedule Phonecall or Meeting from Button on formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Feb 11 4:17 PM
fiogf49gjkf0d

Rafael,


Although the SLX application has an exposed Activity object where you can add activities, I prefer to just add direct to the database. You'll just open a recordset, AddNew, set the fields, and Update. Look at existing activity rows for help with what to set for the field values.


Ryan

[Reply][Quote]
Rafael S.
Posts: 66
 
Re: Schedule Phonecall or Meeting from Button on formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Feb 11 5:58 AM
fiogf49gjkf0d

Hi Ryan!!


 


Thanks for the help... I will do direct to the database... im just stucked in FOREIGNID1, that is a field of ACTIVITY table, but i dont know where to get this value (the CreateActivity function do this but i dont know how)


 


bye!


 


Rafael

[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 © 2025 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): 7/5/2025 12:51:17 PM