private void createShipment() { shipment = new Shipments(); shipment.Company = this.company; shipment.CompanyId = this.company.CompanyID; shipment.PaidAmount = 0; shipment.DebtValue = 0; shipment.OrderDate = DateTime.Today; shipment.OrderMeds = MedDetailsInShipment.SHIPMENT_MEDS; shipment.TotalPrice = getTotal(); // reset the static medlist MedDetailsInShipment.RESET_SHIPMENT_MEDS(); showData(); }