Exemple #1
0
        public DataTable GetUnitOfMeasure()
        {
            MST_UnitOfMeasureDS objMST_UnitOfMeasureDS = new MST_UnitOfMeasureDS();

            DataTable dt = objMST_UnitOfMeasureDS.List().Tables[0];

            //DataRow drEmptyRow = dt.NewRow();
            //dt.Rows.InsertAt(drEmptyRow,0);
            return(dt);
        }
Exemple #2
0
        //**************************************************************************
        ///    <Description>
        ///       Get list of Unit of measure
        ///    </Description>
        ///    <Inputs>
        ///
        ///    </Inputs>
        ///    <Outputs>
        ///
        ///    </Outputs>
        ///    <Returns>
        ///
        ///    </Returns>
        ///    <Authors>
        ///       THIENHD
        ///    </Authors>
        ///    <History>
        ///       15-Dec-2004
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************


        public DataTable GetUnitOfMeasure()
        {
            // TODO:  Add ProductItemInfoBO.GetUnitOfMeasure implementation
            try
            {
                MST_UnitOfMeasureDS objMST_UnitOfMeasureDS = new MST_UnitOfMeasureDS();

                DataTable dt         = objMST_UnitOfMeasureDS.List().Tables[0];
                DataRow   drEmptyRow = dt.NewRow();
                dt.Rows.InsertAt(drEmptyRow, 0);
                return(dt);
            }
            catch (PCSDBException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #3
0
        public DataTable ListUnitOfMeasure()
        {
            MST_UnitOfMeasureDS dsUnitOfMeasure = new MST_UnitOfMeasureDS();

            return(dsUnitOfMeasure.List().Tables[0]);
        }