11/4/2026 1:35:24 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.
|
|
|
|
OnAfterUpdate event issue
Posted: 25 Jul 09 8:37 AM
|
Hi I have OnAfterUpdate Event implemented in one of my entities , the problem is that i want to check if a property has changed on the update but the PropertyChange is always null , why am I missing?
Thanks in advance! public static partial class C_TicketProvidersBusinessRules { public static void OnAfterUpdateStep1( IC_TicketProviders c_ticketproviders) { IChangedState state = c_ticketproviders as IChangedState; if (state != null) { PropertyChange change = state.GetChangedState().FindPropertyChange("Status"); if (change != null) //change is always null { // implement logic } } } |
|
|
|
Re: OnAfterUpdate event issue
Posted: 28 Aug 09 5:21 PM
|
| Just going out on a limb here, but probably because you're in the after update event - so changedstate is reset during update... maybe. |
|
|
|
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!
|
|
|
|
|
|
|
|