public SupplierSubConValidator(HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr)
 {
     this.Connection = Connection;
     this.DevXMgr    = DevXMgr;
     Popup           = new frmPopup(DevXMgr);
     RunSetups();
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public ucSupplierView(HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr)
 {
     this.Connection = Connection;
     this.DevXMgr    = DevXMgr;
     Popup           = new frmPopup(DevXMgr);
     InitializeComponent();
     RunSetups();
 }
Exemplo n.º 4
0
 public fLauncher(HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr, int AlertID)
 {
     this.Connection = Connection;
     this.DevXMgr    = DevXMgr;
     _AlertID        = AlertID;
     InitializeComponent();
     LoadAlertProperty();
 }
Exemplo n.º 5
0
 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();
 }
Exemplo n.º 6
0
        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();
        }
Exemplo n.º 7
0
        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();
        }
Exemplo n.º 8
0
        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();
        }