What I am hoping to capture is when the user enters in a quantity which exceeds the Total Qty Required for the sum of the selected serial numbers.
I've search through the WorkOrder object and I have tried the following events but none of them fire when I want them to.
- Code: Select all
if (JiwaForm is JiwaFinancials.Jiwa.JiwaBillOfMaterialsUI.WorkOrder.WorkOrder)
{
JiwaFinancials.Jiwa.JiwaBillOfMaterialsUI.WorkOrder.WorkOrder workOrderForm = (JiwaFinancials.Jiwa.JiwaBillOfMaterialsUI.WorkOrder.WorkOrder)JiwaForm;
workOrderForm.WorkOrder.Allocations.Changed += My_LineAllocationsChanged;
workOrderForm.WorkOrder.Stages.InputItemSerialSelection += My_InputItemSerialSelection;
workOrderForm.WorkOrder.Stages.InputItemChanged += My_InputItemChanged;
}
Is there another event I'm missing?
[As an aside, I'm sure this must've been mentioned before, to get that dialog to show it's the usual dbl-right click on the Qty column. Problem is, 19 times out of 20 I get a right-click context menu. Sometimes I get lucky and the dialog appears. I don't know if there is a magic pixel in that cell that I need to target or what the trick is but it's annoying.]


