Hello all,
I am experiencing weird behavior with “DailyFieldReportEntry” graph events. When we have a CacheAttached Event in a graph typically it is the first one triggered by the platform to override DAC properties. As you can see in the below code on the same DAC I have two events. Acumatica triggers the RowSelected Event and everything works in my code as expected but oddly the CacheAttached Event is not triggered at all. But logically it should have been triggered before any other event. In fact, when I put a break on it to trace, it never is been hit at any point. Any idea why this is happening?
namespace Test
{
public class TestDailyFieldReportEntryExt : PXGraphExtension<DailyFieldReportEntry_ApprovalWorkflow, DailyFieldReportEntry_Workflow, DailyFieldReportEntry>
{
public static bool IsActive() => true;
protected virtual void _(Events.RowSelected<EPActivityApprove> e, PXRowSelected baseHandler)
{
//My Stuff
}
//My Properties
protected void _(Events.CacheAttached<EPActivityApprove.labourItemID> e) { }
}
}