Example #1
0
        private void UpdateDeposit()
        {
            SODetails clsSODetails = new SODetails();
            clsSODetails.SOID = Convert.ToInt64(lblSOID.Text);
            clsSODetails.Deposit = Convert.ToDecimal(txtSODeposit.Text);

            SO clsSO = new SO();
            clsSO.UpdateDeposit(clsSODetails.SOID, clsSODetails.Deposit);
            clsSO.SynchronizeAmount(Convert.ToInt64(lblSOID.Text));
            clsSODetails = clsSO.Details(Convert.ToInt64(lblSOID.Text));
            clsSO.CommitAndDispose();

            UpdateFooter(clsSODetails);
        }