I need to capture the SOP number off the POP Preview Screen when generating a PO off a sales order. I can see the SOP on the sales tab and I thought it would be contained in
SopPoPreviewWindow.SoLineDetail.SopNumber
I am using this event
SopPoPreviewForm.SopPoPreview.LocalGeneratePoPb.ClickAfterOriginal += new EventHandler(UpdatePOPCosts_Change);
When I use this the SopNumber is not assigned a value. Should I use a different event or a different value?