Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 2, 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!
 Web Forums - SalesLogix Web Platform & Application Architect
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Not sure this is possible...
RJ Eaton
Posts: 234
 
Not sure this is possible...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Sep 13 2:32 PM
fiogf49gjkf0d

We use a large nymber of teams in our global deployment, the business would like to have the owner fields set based on the accountmanager being selected. So you choose accountmanager A the owner fields should change to be the accountmanager's default team.


I run a small code query the DB get the default seccodeid.. try to chnage the Owner.id and I get error that the Owner.Id is read only.. Has someone come across this or am I missing something simple.. I'd be voting on the later..

=====


 


 


 


 


 


 



 



 




 





Sage.Entity.Interfaces.IAccount acct = this.BindingSource.Current as Sage.Entity.Interfaces.IAccount





;

Sage.Platform.Orm.SessionScopeWrapper session = new Sage.Platform.Orm.SessionScopeWrapper







();


 






 


string qry = String.Format("Select us.DefaultSeccodeId Team From UserSecurity us Where us.Userid = '{0}'


,acct.AccountManager.Id.ToString());

NHibernate.IQuery query = (NHibernate.IQuery)session.CreateSQLQuery(qry).AddScalar("Team", NHibernate.NHibernateUtil







.String);


 


 




System.Collections.IList 





list = query.List();


 


 






 



foreach(object listitem in 

list){


acct.Owner.Id = (listitem.ToString());


 


}





 


================


 


Thanks

[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): 8/2/2025 2:50:43 AM