Example #1
0
        protected void chkIsVatInclusive_CheckedChanged(object sender, EventArgs e)
        {
            try
            {
                long POReturnsID = long.Parse(lblDebitMemoID.Text);

                POReturns clsPOReturns = new POReturns();
                clsPOReturns.UpdateIsVatInclusive(POReturnsID, chkIsVatInclusive.Checked);

                POReturnDetails clsPOReturnDetails = clsPOReturns.Details(POReturnsID);
                clsPOReturns.CommitAndDispose();

                UpdateFooter(clsPOReturnDetails);
            }
            catch (Exception ex) { throw ex; }
        }