Ejemplo n.º 1
0
        private void SaveBillDetail(object itemPriceID, object quantity, object weightInKgs, object billDetailID)
        {
            try
            {
                DataTable dtBillDetails = billingRepository.SaveBillDetail(billObj.BillID
                                                                           , itemPriceID, quantity, weightInKgs, Utility.logininfo.UserID, billDetailID);

                UpdateBillDetails(dtBillDetails, itemPriceID);
            }
            catch (Exception ex)
            {
                XtraMessageBox.Show($"Error while saving bill item : {ex.Message}", "Error");
                ClearItemData();
            }
        }