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: Using the Notes field on History tables
David Lumm
Posts: 87
 
Using the Notes field on History tablesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jan 09 4:15 AM
Hi

We're using a custom History table to store History for the Account entity. However I've noticed that it's not making use of the "Notes" field in the table.

What needs to be set up in order to allow the note to contain something along the lines of "[Field] set to [New value]"?

Thanks for the help!

David
[Reply][Quote]
David Lumm
Posts: 87
 
Re: Using the Notes field on History tablesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 3:34 AM
Right...

So I've had a brainwave! Use an entity event to automatically write the value of that field/property based on the other active values.

However I've tried the code in the OnCreate, OnBeforeInsert and OnAfterInsert events, as a Primary Step and it never seems to have any impact.

accounthistory.NOTE = accounthistory.FieldName + " set to " + accounthistory.NewValue + ".";
accounthistory.Save();


I've also tried it with and without the "save" action.

My next things to try are as a Post Execute step and a Pre Execute step...

Please help!

Dave
[Reply][Quote]
David Lumm
Posts: 87
 
Re: Using the Notes field on History tablesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 10:02 AM
SOLVED!!

Code as above as a Primary Step on the OnAfterInsert event.

I just forgot to "Activate" the new step, replacing the preprepared step. Once I did that, everything worked perfectly. Such a rookie mistake...

Dave
[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 4:19:03 AM