Ejemplo 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;
            }
        }
Ejemplo 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;
            }
        }