Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, June 30, 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: Removing default Account status
David Lumm
Posts: 87
 
Removing default Account statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Apr 10 3:26 AM
Hi all

Is there any way to prevent the automatic default account status of "Active"? Our modifications to the OOTB Account means that the Status field is used slightly differently and "Active" isn't a valid option.

Is there any way to stop this happening at all? If not what would be the best way of dealing with it?

I can think of the following options:
1. If possible, where the status is null, set to "" or at worst " " to try and prevent the default value ever being applied
2. Alternatively, after save, check for a value of "Active" and replace with ""
3. If neither of those work, set a default value on the insert form(s) to ensure that the built-in code never runs

Opinions?
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: Removing default Account statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 10 7:16 AM
Hi David,

I would write a C# Snippet in the Account OnCreate event (using the last option which is PostFlush or something) and set the account.Status to "" there. That should overwrite the default behaviour.

Cheers,
Nick
[Reply][Quote]
David Lumm
Posts: 87
 
Re: Removing default Account statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 10 11:32 AM
Hi Nick

Thanks for the response. In the end I found it only affected the InsertContact form, so I've add a Pre Execution step that sets a null or empty Status to " ". It then gets processed and saved in the Primary step, so that works well.

Thanks again!

David
[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): 6/30/2025 1:40:29 PM