Hello All,
I have a Field updated Event Handler that calls a method. It works fine until the change to the field comes from a PXLongOperation. To be more specific, on APInvoice the status field is updated by the different actions. All actions and status changes are monitored just fine until I Release the document (Status changes from Balanced to Open). This is when the handler misses the change possibly because it is running in a separate thread/scope. Below is the Handler I have. How can make the handler listen to the change from PXLongOperation too?
protected void _(Events.FieldUpdated<APInvoice, APInvoice.status> e)
{
if (e.Row == null) return;
SyncStatusTransitionLog(Base, e.OldValue, e.NewValue);
}
Best answer by Dmitrii Naumov
View original