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!
 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: New Account - Type Field AutoSet
slxguy
Posts: 71
 
New Account - Type Field AutoSetYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 9:47 AM
When you hit new Account or New Account/Contact, the Type field and the Status field are autoset to picklist values. I assumed this was set in c# code somewhere but I can't for the life of me figure out where. (I'm trying to change what values these are autoset to).

Any help would be appreciative. Thanks in advance.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: New Account - Type Field AutoSetYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 10:26 AM
The code used to be on the OnLoad event (on 7.2) but on 7.5 it is on the OnCreate Business Rules (for the Account and Contact Entitties).
You should be able to add it onto the OnLoad event of the page, or create your own Busines Rule that runs after SLX rules to override the values.
[Reply][Quote]
slxguy
Posts: 71
 
Re: New Account - Type Field AutoSetYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 10:42 AM
So there is no way to edit the default onCreate rule then correct?

Is there a way to remove it from executing all together (rather than overriding it with my own code)?
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: New Account - Type Field AutoSetYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 10:53 AM
You could remove the Rule from the Entity Definition.

And, off course, you could write your C# snippet (or even put it onto your own DLL) and add it to the Entity.




[Reply][Quote]
slxguy
Posts: 71
 
Re: New Account - Type Field AutoSetYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 11:00 AM
Brain fart moment - thnx.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: New Account - Type Field AutoSetYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 11:29 AM
It happens to everyone every now and then...
[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 4:05:09 PM