2/21/2025 10:58:49 PM
|
|
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!
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.
|
|
|
|
Updating Properties from Lookup
Posted: 21 Mar 08 11:58 AM
|
I'm trying to emulate an existing customization in the sales client where a lookup is used to select a configuration record to associate with a ticket. Instead of updating label controls, I am actually trying to retrieve columns from the configuration record and update corresponding columns in a ticket extension table. I'm firing this from the OnChange of the property bound to the lookup and use an onChange action on the lookup control to force a postback. However, the update is not taking place. I'm sure it's my inexerience in this environment. Here is the code I'm using:
namespace Sage.BusinessRules.CodeSnippets { public static partial class TicketAddonBusinessRules { public static void OnAfterConfigIDChangedStep1( ITicketAddon ticketaddon, ExtendedPropertyChangedEventArgs args) { ticketaddon.ProductVendor = ticketaddon.Configuration.Product.Vendor; ticketaddon.ProductFamily = ticketaddon.Configuration.Product.Family; ticketaddon.ProductGroup = ticketaddon.Configuration.Product.ProductGroup; ticketaddon.ProductVersion = ticketaddon.Configuration.Product.Version.VersionString; ticketaddon.MachineName = ticketaddon.Configuration.Server; ticketaddon.OS = ticketaddon.Configuration.OS; ticketaddon.RDBMS = ticketaddon.Configuration.RDBMS; ticketaddon.Environment = ticketaddon.Configuration.Environment; ticketaddon.Hosted = ticketaddon.Configuration.Hosted; ticketaddon.ConfigType = ticketaddon.Configuration.ConfigType; ticketaddon.ProductID = ticketaddon.Configuration.Product.Id; ticketaddon.ProductVersionID = ticketaddon.Configuration.ProductVersionid; } } }
|
|
|
|
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!
|
|
|
|
|
|
|
|