Example #1
0
        private void UpdateFreight()
        {
            SODetails clsSODetails = new SODetails();
            clsSODetails.SOID = Convert.ToInt64(lblSOID.Text);
            clsSODetails.Freight = Convert.ToDecimal(txtSOFreight.Text);

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

            UpdateFooter(clsSODetails);
        }