Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, November 27, 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!
 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: Updating field values in Tabs
Brian Thews
Posts: 34
 
Updating field values in TabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Mar 07 3:42 PM
fiogf49gjkf0d
Hi,
I am trying to determine the best way (or accepted way) to do the following:

The vendor that implemented our saleslogix project has created a custom tab on the opportunity object for us. (Deal Detail)
I am going to create a couple more tabs related to the oppty. (TX Detail, ABC Detail)
I want to add a button on the (Deal Detail) custom tab, which when clicked I am going to grab some information off various opportunity tabs (perhaps cnotact or account tabs or detail screens as well). I will then do some calculations and I want to update various fields on various tabs related to the opportunity.

How do I get access to those fields?

By the way, I will probably be using .net to perform the calculations if that makes any difference.
Should I just grab the fields from the database, based on the oppty ID, load them into memory in .net and do the work?
But all I know is that I can't just update the fields through the database - because of the sync repercussions, etc...

So I guess I will have to pass back the updated fields to SLX and update the fields through VB script somehow?

thanks so much for any help on this!


Hopefully I can start giving back to the forums as I start working on this project.
We are going to be doing some crazy stuff!

I have just received the Devlogix III.7, and I was hoping this kind of thing was in there, but I can't find it. Maybe I just dont know what to look for though...


[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Updating field values in TabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Mar 07 6:45 AM
fiogf49gjkf0d
If you are going to do SalesLogix Development you should take an Slx Dev training course.
The types of questions you are asking would be answered there. You need to obtain a good solid understanding of just how SalesLogix works and how to work with it.

.. and no.. you do not need to use .NET to do the calculations. It's better (quicker) to do what you want to do inside SalesLogix.

--
rjl
[Reply][Quote]
Mark R. Bailey
Posts: 16
 
Re: Updating field values in TabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Mar 07 9:23 AM
fiogf49gjkf0d
Hi, Brian,

More or less, those tabs are associated with a certain mainview. So, look at the Sales Process and Marketing forms plugins in the opportunity family. The values that are revealed in the forms is saved in DB tables, and you'll need to examine the specific forms that write the data to determine where the data is saved.

You could create another tab view form, like Marketing or Sales Process, add your button, and execute the computations based upon the events associated with your button control. Whether you want to display the data in a datagrid control on that form, or write it permanently to DB tables is your choice, eh?

Is that a place to start?

Mark
[Reply][Quote]
Mike Boysen
Posts: 53
 
Re: Updating field values in TabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Mar 07 12:50 PM
fiogf49gjkf0d
Application.MainViews.ActiveView.TabsViews("Family:Plugin Name").Control.Property. This will let you access a control on any tab in the active Mainview.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Updating field values in TabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Mar 07 5:29 PM
fiogf49gjkf0d
Quote:
Originally posted by Mike Boysen

Application.MainViews.ActiveView.TabsViews("Family:Plugin Name").Control.Property. This will let you access a control on any tab in the active Mainview.


I also have something posted here from a while back: http://saleslogixblog.com/rfarley/archive/2004/10/21/1118.aspx

-Ryan
[Reply][Quote]
Brian Thews
Posts: 34
 
Re: Updating field values in TabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Mar 07 12:07 PM
fiogf49gjkf0d
Thanks guys, I think the direction I am heading is this:

Once the use clicks the button, I will "refresh" the screen which will save all the values.
Call my .net extension
Then I will get the values out of the db.
Do all of my processing
update the database values I need to update
then back in the vb script, "refresh" again to show all the values I updated in the db

Seems to work just fine. Might not be the most efficient way to code it, but it will be easy to maintain going forward.
Limited VB Script, and all the processing/calculation code in my .net extension

Plus, I don't have to access all the other tabs/forms in my code - they will just pull the correct data once I update it.
[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): 11/27/2024 9:52:27 AM