Esempio n. 1
0
        //**************************************************************************
        ///    <Description>
        ///       This method uses to get MST_PartyContactVO by Code
        ///    </Description>
        ///    <Inputs>
        ///        ID
        ///    </Inputs>
        ///    <Outputs>
        ///       object
        ///    </Outputs>
        ///    <Returns>
        ///       object
        ///    </Returns>
        ///    <Authors>
        ///       DungLa
        ///    </Authors>
        ///    <History>
        ///       04-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************

        public object GetObjectVO(string pstrContactCode)
        {
            try
            {
                MST_PartyContactDS dsParty = new MST_PartyContactDS();
                return(dsParty.GetObjectVO(pstrContactCode));
            }
            catch (PCSException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 2
0
        //**************************************************************************
        ///    <Description>
        ///       This method uses to get MST_PartyContactVO
        ///    </Description>
        ///    <Inputs>
        ///        ID
        ///    </Inputs>
        ///    <Outputs>
        ///       object
        ///    </Outputs>
        ///    <Returns>
        ///       object
        ///    </Returns>
        ///    <Authors>
        ///       DungLa
        ///    </Authors>
        ///    <History>
        ///       04-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************

        public object GetObjectVO(int pintID, string VOclass)
        {
            try
            {
                MST_PartyContactDS dsParty = new MST_PartyContactDS();
                return(dsParty.GetObjectVO(pintID));
            }
            catch (PCSException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }