Esempio n. 1
0
        //**************************************************************************
        ///    <Description>
        ///       This method uses to get ITM_ProductVO object
        ///    </Description>
        ///    <Inputs>
        ///        int Id
        ///    </Inputs>
        ///    <Outputs>
        ///
        ///    </Outputs>
        ///    <Returns>
        ///       ITM_ProductVO
        ///    </Returns>
        ///    <Authors>
        ///       DungLa
        ///    </Authors>
        ///    <History>
        ///       10-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************

        public object GetProductInfo(int pintProductID)
        {
            try
            {
                ITM_ProductDS dsProduct = new ITM_ProductDS();
                return(dsProduct.GetProductInfo(pintProductID));
            }
            catch (PCSException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 2
0
        //**************************************************************************
        ///    <Description>
        ///       Get the Product Information from Database
        ///    </Description>
        ///    <Inputs>
        ///
        ///    </Inputs>
        ///    <Outputs>
        ///
        ///    </Outputs>
        ///    <Returns>
        ///
        ///    </Returns>
        ///    <Authors>
        ///       THIENHD
        ///    </Authors>
        ///    <History>
        ///       15-Dec-2004
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************


        public object GetProductInfo(int pintID)
        {
            // TODO:  Add ProductItemInfoBO.GetObjectVO implementation
            try
            {
                ITM_ProductDS objITM_ProductDS = new ITM_ProductDS();
                return(objITM_ProductDS.GetProductInfo(pintID));
            }
            catch (PCSDBException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }