Work Order "On Close" event
Hi Guys,
I’m doing a plugin that needs to trigger an action when a work orders status is changed to closed.
I’m running into issues detecting this. It sometimes fires too early, for example when the form opens or when default data loads, and in other cases it doesn’t trigger at all when the status is actually set to Closed.
I’m testing under JiwaFinancials.Jiwa.JiwaBillOfMaterialsUI.WorkOrder.WorkOrder using StatusChanged, Saved, or AfterFieldChanged.
I need a single reliable event that represents “the Work Order has just transitioned to Closed”, preferably post-commit.
I’m doing a plugin that needs to trigger an action when a work orders status is changed to closed.
I’m running into issues detecting this. It sometimes fires too early, for example when the form opens or when default data loads, and in other cases it doesn’t trigger at all when the status is actually set to Closed.
I’m testing under JiwaFinancials.Jiwa.JiwaBillOfMaterialsUI.WorkOrder.WorkOrder using StatusChanged, Saved, or AfterFieldChanged.
I need a single reliable event that represents “the Work Order has just transitioned to Closed”, preferably post-commit.