Hi There
We need to have the option of letting the available stock to be used in a SO when there is a back order, hence the ignore backorder allocations checkbox has been checked for some staff. But what this does is it pops up for every line item (screenshot attached of popup), and gets annoying if someone does 20 line items per order for 20 orders a day. Hence tried to suppress this popup, tried the below code, not able to fetch the popup name this way, as if its a serial stock, the name of the serial form pops up all the time. Can you pls advise on how to suppress this popup
#region "ApplicationManagerPlugin"
public class ApplicationManagerPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaApplicationManagerPlugin
{
public override object InitializeLifetimeService()
{
// returning null here will prevent the lease manager
// from deleting the Object.
return null;
}
public void Setup(JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
{
Plugin.Manager.DialogFactory.AfterDialogStart += AfterDialogStart;
}
private void AfterDialogStart(JiwaFinancials.Jiwa.JiwaApplication.IJiwaDialog JiwaDialog)
{
if (JiwaDialog is JiwaFinancials.Jiwa.JiwaSerialNumbersUI.frmSerialSelector)
{
// MessageBox.Show(JiwaDialog.Form.Name);
}
}
}