public SupplierSubConValidator(HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr) { this.Connection = Connection; this.DevXMgr = DevXMgr; Popup = new frmPopup(DevXMgr); RunSetups(); }
public UserExceptions(HMConnection.HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr, int AlertPointID) { this.Connection = Connection; this.DevXMgr = DevXMgr; this.AlertPointID = AlertPointID; Popup = new frmPopup(DevXMgr); InitializeComponent(); TR_Conn.ConnectionString = this.Connection.TRConnection; WEB_Conn.ConnectionString = this.Connection.WebConnection; string sSelect = "select isnull(alert,'') from ApplicationAlertPoint where id=" + AlertPointID; this.Text = "Alert: " + Connection.SQLExecutor.ExecuteScalar(sSelect, Connection.TRConnection); daUser.SelectCommand.CommandText = "SELECT u.NAME, d.DESCRIPTION " + "FROM MLUSER u " + "LEFT OUTER JOIN DEPARTMENT d ON d.NAME = u.DEPARTMENT " + "where u.name not in ( select mluser from AlertPointAccess where AAP_ID=" + AlertPointID + " ) " + "ORDER BY d.DESCRIPTION, u.NAME"; daExceptions.SelectCommand.Parameters["@aap_id"].Value = AlertPointID; daExceptions.Fill(dsExceptions1); daDepartment.Fill(dsDepartment1); daUser.Fill(dsUser1); daUserDep.Fill(dsUserDep1); }
public ucSupplierView(HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr) { this.Connection = Connection; this.DevXMgr = DevXMgr; Popup = new frmPopup(DevXMgr); InitializeComponent(); RunSetups(); }
public fLauncher(HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr, int AlertID) { this.Connection = Connection; this.DevXMgr = DevXMgr; _AlertID = AlertID; InitializeComponent(); LoadAlertProperty(); }
public ucMasterView(HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr) { this.Connection = Connection; this.DevXMgr = DevXMgr; CBOUtil = new ComboSearch.Util(DevXMgr); Popup = new frmPopup(DevXMgr); InitializeComponent(); RunSetups(); }
public ucWebInvDet(HMConnection.HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr) : this() { this.Connection = Connection; this.DevXMgr = DevXMgr; Popup = new frmPopup(DevXMgr); LoadConnectionDefaults(); ucHistoryView1.TypeID = CONST_SUB_PAYMENT_REQUEST; lciSave.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; DetNonEditable(); }
public ucWFAPDetail(HMConnection.HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr) { this.Connection = Connection; this.DevXMgr = DevXMgr; InitializeComponent(); TR_Conn.ConnectionString = Connection.TRConnection; this.daWF_Route.SelectCommand.CommandText = daWF_Route.SelectCommand.CommandText.Replace("web_strike_test", Connection.WebDB); InitializeFileManager(); SetupGLPicker(); SetupReferencePicker(); }
public Administration(HMConnection.HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr) { this.Connection = Connection; this.DevXMgr = DevXMgr; Popup = new frmPopup(DevXMgr); sSQL_AlertPointSelect = sSQL_AlertPointSelect.Replace("web_db", Connection.WebDB); InitializeComponent(); daAlertPoint.SelectCommand.CommandText = sSQL_AlertPointSelect; TR_Conn.ConnectionString = this.Connection.TRConnection; WEB_Conn.ConnectionString = this.Connection.WebConnection; daAlertPoint.Fill(dsAlertPoint1); daModule.Fill(dsModule1); gvAlert.CollapseAllGroups(); }