Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, July 8, 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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Recording history on a datagrid
Andrew Grandin
Posts: 272
 
Recording history on a datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jan 10 4:49 AM
Can anyone explain why the 'record changes' check box on a datagrid (in my case Opportunity Products) doesnt record any changes made to the values in it.

Also, can anyone recommend an alternative to record any chnages made to a product here.

Thanks all
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Recording history on a datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 10 3:17 AM
Yep, RecordChanges only works on 1:1 tables and products/grids are typically 1:M and, therefore, won't work. You'll have to trap that yourself and write the old values/new values prior after the change is committed.
[Reply][Quote]
Andrew Grandin
Posts: 272
 
Re: Recording history on a datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 10 3:27 AM
Thanks for your reply i have managed to get this working now (sort of). I have created a new form with text boxes that are populated with the product details the user has chosen to edit. I only want to cature changes made to Quantity and Adj. Price so all other boxes are read only.

When a user changes the quantity value the changes get recorded (the box is linked to OPPORTUNITY_PRODUCT:QUANTITY), a record is inserted into the history table, the change can be viewed in the notes history tab, and most importantly the datagrid updates with the quantity value for that product.

Unfortunately this is not working for Adj. Price. I have the text box linked to OPPORTUNITY_PRODUCT:CALCPRICE, the database updates with the change,a record is inserted into the history table, the change can be viewed in the notes history tab, but the datagrid does not update and still shows the old value.

Any idea why? When i look at the PopulateDataGrid sub in the Opportunity:Products plugin the Adj.Price does come from the CALCPRICE field.
[Reply][Quote]
Andrew Grandin
Posts: 272
 
Re: Recording history on a datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 10 3:30 AM
Sorry all, its works now.
[Reply][Quote]
Andrew Grandin
Posts: 272
 
Re: Recording history on a datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 10 3:32 AM
Sorry again, the datagrid still doesnt update!!!!!!!!!!!!!!!!
[Reply][Quote]
Andrew Grandin
Posts: 272
 
Re: Recording history on a datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 10 5:38 AM
another update, the CALCPRICE will update as required if the Price of the product is 0.00
[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/8/2025 12:25:55 PM