Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 16, 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: Save from the tab section, it is saving even the details section on the top b'coz of which data mismatch
Prathima
Posts: 32
 
Save from the tab section, it is saving even the details section on the top b'coz of which data mismatchYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Nov 08 3:40 AM
Hi,

We are adding a new quckform under Accountdetails as a tab. We have used a Save() BusinessRule on Click of Save button of that quick form.

It has internally written a code as entity.Save(). i.e. Account Which is the current binding source.

We are facing an issue because of this functionality.Problem is:
entity.Save() is saving even the account details data. If a user had changed the value in mainphone of account deatils and had not saved. but go to this tabs and saves the data, main phone is also saved to Account table. But if this phone number has any propagation changes,then that will not be shown to the user.

Is this how it works or any other way to save from the tabs under acount details..?

Can we change the entity.Save() to entity.tabentity.save() instead of entity.save()...?
If I change what will be the impact in other scenarios..?

Thanks,
Prathima
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Save from the tab section, it is saving even the details section on the top b'coz of which data mismatchYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Nov 08 10:59 AM
This is how it works anywhere, on any page. The entire page has a reference to the current entity, not each form separately. So, if you save the entity, you're saving the entity, which includes data from any form bound to that entity. There really isn't a need to have a save button on a form tab at all anyway. You can enter data in the tab and click the save button on the top detail to save everything. It is this way by design.

There's no way to separate saving the entity the tab is bound to and the entity the top detail is bound to since it is all the same entity.
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: Save from the tab section, it is saving even the details section on the top b'coz of which data mismatchYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Nov 08 12:34 PM
Quote:
Originally posted by Prathima

Hi,

We are adding a new quckform under Accountdetails as a tab. We have used a Save() BusinessRule on Click of Save button of that quick form.

It has internally written a code as entity.Save(). i.e. Account Which is the current binding source.

We are facing an issue because of this functionality.Problem is:
entity.Save() is saving even the account details data. If a user had changed the value in mainphone of account deatils and had not saved. but go to this tabs and saves the data, main phone is also saved to Account table. But if this phone number has any propagation changes,then that will not be shown to the user.

Is this how it works or any other way to save from the tabs under acount details..?

Can we change the entity.Save() to entity.tabentity.save() instead of entity.save()...?
If I change what will be the impact in other scenarios..?

Thanks,
Prathima


As Ryan says, the one Save button will save everything on the page...to get around the individual issue you are specifiying, you could make the save button on the tab do exactly the same as the save button on the Detail itself. Or remove the Save button on the tab (as Ryans suggested).

Thanks,
Nick
[Reply][Quote]
Prathima
Posts: 32
 
Re: Save from the tab section, it is saving even the details section on the top b'coz of which data mismatchYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Nov 08 8:05 AM
Thanks for the reply. It will help us in deciding how to keep our design

Prathima
[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/16/2025 7:39:34 PM