コード例 #1
0
ファイル: _Post.ascx.cs プロジェクト: marioricci/erp-luma
        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; }
        }