コード例 #1
0
ファイル: _Post.ascx.cs プロジェクト: marioricci/erp-luma
        private void UpdateFreight()
        {
            TransferOutDetails clsTransferOutDetails = new TransferOutDetails();
            clsTransferOutDetails.TransferOutID = Convert.ToInt64(lblTransferOutID.Text);
            clsTransferOutDetails.Freight = Convert.ToDecimal(txtTransferOutFreight.Text);

            TransferOut clsTransferOut = new TransferOut();
            clsTransferOut.UpdateFreight(clsTransferOutDetails.TransferOutID, clsTransferOutDetails.Freight);
            clsTransferOut.SynchronizeAmount(Convert.ToInt64(lblTransferOutID.Text));
            clsTransferOutDetails = clsTransferOut.Details(Convert.ToInt64(lblTransferOutID.Text));
            clsTransferOut.CommitAndDispose();

            UpdateFooter(clsTransferOutDetails);
        }