Example #1
0
        //**************************************************************************
        ///    <Description>
        ///       This method uses to get AddChargeVO
        ///    </Description>
        ///    <Inputs>
        ///        int
        ///    </Inputs>
        ///    <Outputs>
        ///       object
        ///    </Outputs>
        ///    <Returns>
        ///
        ///    </Returns>
        ///    <Authors>
        ///       DungLa
        ///    </Authors>
        ///    <History>
        ///       18-Feb-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************

        public object GetAddCharge(int pintAddChargeID)
        {
            try
            {
                MST_AddChargeDS dsAddCharge = new MST_AddChargeDS();
                return(dsAddCharge.GetObjectVO(pintAddChargeID));
            }
            catch (PCSException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #2
0
        //**************************************************************************
        ///    <Description>
        ///       This method uses to get VAT from AddCharge
        ///    </Description>
        ///    <Inputs>
        ///        int
        ///    </Inputs>
        ///    <Outputs>
        ///       decimal
        ///    </Outputs>
        ///    <Returns>
        ///
        ///    </Returns>
        ///    <Authors>
        ///       DungLa
        ///    </Authors>
        ///    <History>
        ///       07-Mar-2005
        ///    </History>
        ///    <Notes>
        ///    </Notes>
        //**************************************************************************

        public decimal GetAddChargeVAT(int pintAddChargeID)
        {
            try
            {
                MST_AddChargeDS dsAddCharge = new MST_AddChargeDS();
                return(dsAddCharge.GetAddChargeVAT(pintAddChargeID));
            }
            catch (PCSException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }