Esempio n. 1
0
        //
        public void FindGLAllId()
        {
            string lAddWhere = "";
              try
              {
            // 12 Parameters
            frmLookUp sForm = new frmLookUp(
            "ac_strid",
            "ac_title,ac_atitle,Ordering",
            fTableNameCOA,
            lTitle,
            1,
            "ID,Account Title, Alternate Title,Ordering",
            "10,20,20,10",
            "T,T,T,T",
            true,
            "",
            lAddWhere,
            "mTextBox",
            true,
            false

            );
            //
            sForm.lupassControl = new frmLookUp.LUPassControl(PassGLData);
            sForm.ShowDialog();
              }
              catch (Exception ex)
              {
            MessageBox.Show("Exception, GL Lookup: " + ex.Message,fTitle);
              }
              //
        }
Esempio n. 2
0
        //
        public void FindGLAllId()
        {
            string lAddWhere = "";

            try
            {
                // 12 Parameters
                frmLookUp sForm = new frmLookUp(
                    "ac_strid",
                    "ac_title,ac_atitle,Ordering",
                    fTableNameCOA,
                    lTitle,
                    1,
                    "ID,Account Title, Alternate Title,Ordering",
                    "10,20,20,10",
                    "T,T,T,T",
                    true,
                    "",
                    lAddWhere,
                    "mTextBox",
                    true,
                    false

                    );
                //
                sForm.lupassControl = new frmLookUp.LUPassControl(PassGLData);
                sForm.ShowDialog();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Exception, GL Lookup: " + ex.Message, fTitle);
            }
            //
        }
Esempio n. 3
0
        //
        public void FindGLControlId()
        {
            string lAddWhere = "istran = 0";
            string lJoin     = "";

            try
            {
                frmLookUp sForm = new frmLookUp(
                    "ac_strid",
                    "ac_level,ac_title,ac_atitle,Ordering",
                    fTableNameCOA,
                    lTitle,
                    1,
                    "ID,Level,Account Title, Alternate Title,Ordering",
                    "10,4,20,20,10",
                    "T,T,T,T,T",
                    true,
                    lJoin,
                    lAddWhere,
                    "mTextBox",
                    true,
                    true
                    );
                //
                sForm.lupassControl = new frmLookUp.LUPassControl(PassGLData);
                sForm.ShowDialog();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Exception, GL Lookup Control IDs: " + ex.Message, fTitle);
            }
            //
        }
Esempio n. 4
0
        public void FindGLTransactionalId(string pAddWhere = "", bool pAutopopulate = false)
        {
            string lAddWhere = "istran = 1";

            if (pAddWhere != "")
            {
                lAddWhere = pAddWhere;
            }
            try
            {
                frmLookUp sForm = new frmLookUp(
                    "ac_strid",
                    "ac_title,ac_atitle,Ordering",
                    fTableNameCOA,
                    lTitle,
                    1,
                    "ID,Account Title, Alternate Title,Ordering",
                    "10,20,20,10",
                    "T,T,T,T",
                    true,
                    "",
                    lAddWhere,
                    "mTextBox",
                    true,
                    pAutopopulate
                    );
                //
                sForm.lupassControl = new frmLookUp.LUPassControl(PassGLData);
                sForm.ShowDialog();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Exception, GL Lookup: " + ex.Message, fTitle);
            }
            //
        }
Esempio n. 5
0
 //
 public void FindGLControlId()
 {
     string lAddWhere = "istran = 0";
       string lJoin = "";
       try
       {
     frmLookUp sForm = new frmLookUp(
     "ac_strid",
     "ac_level,ac_title,ac_atitle,Ordering",
     fTableNameCOA,
     lTitle,
     1,
     "ID,Level,Account Title, Alternate Title,Ordering",
     "10,4,20,20,10",
     "T,T,T,T,T",
     true,
     lJoin,
     lAddWhere,
     "mTextBox",
     true,
     true
     );
     //
     sForm.lupassControl = new frmLookUp.LUPassControl(PassGLData);
     sForm.ShowDialog();
       }
       catch (Exception ex)
       {
     MessageBox.Show("Exception, GL Lookup Control IDs: " + ex.Message, fTitle);
       }
       //
 }
Esempio n. 6
0
 public void FindGLTransactionalId(string pAddWhere = "", bool pAutopopulate = false)
 {
     string lAddWhere = "istran = 1";
       if (pAddWhere != "")
       {
     lAddWhere = pAddWhere;
       }
       try
       {
     frmLookUp sForm = new frmLookUp(
     "ac_strid",
     "ac_title,ac_atitle,Ordering",
     fTableNameCOA,
     lTitle,
     1,
     "ID,Account Title, Alternate Title,Ordering",
     "10,20,20,10",
     "T,T,T,T",
     true,
     "",
     lAddWhere,
     "mTextBox",
     true,
     pAutopopulate
     );
     //
     sForm.lupassControl = new frmLookUp.LUPassControl(PassGLData);
     sForm.ShowDialog();
       }
       catch (Exception ex)
       {
     MessageBox.Show("Exception, GL Lookup: " + ex.Message, fTitle);
       }
       //
 }