コード例 #1
0
ファイル: _Post.ascx.cs プロジェクト: marioricci/erp-luma
        private void UpdateDeposit()
        {
            PODetails clsPODetails = new PODetails();
            clsPODetails.POID = Convert.ToInt64(lblPOID.Text);
            clsPODetails.Deposit = Convert.ToDecimal(txtPODeposit.Text);

            PO clsPO = new PO();
            clsPO.UpdateDeposit(clsPODetails.POID, clsPODetails.Deposit);
            clsPO.SynchronizeAmount(Convert.ToInt64(lblPOID.Text));
            clsPODetails = clsPO.Details(Convert.ToInt64(lblPOID.Text));
            clsPO.CommitAndDispose();

            UpdateFooter(clsPODetails);
        }