Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, August 17, 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: A problem while trying to store TrueFalse Values
Misael Ochoa M.
Posts: 45
 
A problem while trying to store TrueFalse ValuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 10:05 AM
Hi everyone...

this is my dummy question....

I have this code
Opportunity.Closed = true;
Opportunity.Save();

This code never save Closed as true, it's always false.
Sinceretly I don't understand the reason.

Do someone know about it or maybe have had the same issue?

Thanks!
Regards,
Misael.
[Reply][Quote]
Venkatesh
Posts: 72
 
Re: A problem while trying to store TrueFalse ValuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 10:24 AM
Try doing this

Opportunity.Closed = "T";
Opportunity.Save();

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: A problem while trying to store TrueFalse ValuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 10:41 AM
Take a look at the event code (via reflector) to see if there is some other property that needs to be set in order for it to allow it to be closed. There is possibly a rule that is setting it back to false because some other supporting data is missing or something.
[Reply][Quote]
Misael Ochoa M.
Posts: 45
 
Re: A problem while trying to store TrueFalse ValuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 10:52 AM
Hi man! thanks for your advice, but got an error related to Types String to Bool.
[Reply][Quote]
Misael Ochoa M.
Posts: 45
 
Re: A problem while trying to store TrueFalse ValuesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 11:45 AM
thanks Ryan that was exactly what was happening, value was not correcly validated.
[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/17/2025 6:02:19 AM