From 4ec6f0c8831d6810e7d127f7087fc934d9b591a1 Mon Sep 17 00:00:00 2001 From: gopi17701 <41270090+gopi17701@users.noreply.github.com> Date: Wed, 22 Aug 2018 14:16:57 -0400 Subject: [PATCH] Add files via upload --- AstuteSystem/sql/astute.sql | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/AstuteSystem/sql/astute.sql b/AstuteSystem/sql/astute.sql index 5ca1db9..9e12311 100644 --- a/AstuteSystem/sql/astute.sql +++ b/AstuteSystem/sql/astute.sql @@ -99,11 +99,12 @@ CREATE TABLE IF NOT EXISTS `customer` ( PRIMARY KEY (`customer_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- Dumping data for table astute.customer: ~3 rows (approximately) +-- Dumping data for table astute.customer: ~4 rows (approximately) /*!40000 ALTER TABLE `customer` DISABLE KEYS */; INSERT INTO `customer` (`customer_id`, `customer_name`, `bill_to_dept`, `add1`, `add2`, `city`, `state`, `zip`, `zip_last_4`, `email`, `phone`, `fax`) VALUES ('1', 'test4565', 'test123', 'test123', 'null', 'test123', 'md', 20874, 0, 'null', 0, 0), ('2', 'test123', 'test123', 'test123', NULL, 'test123', 'md', 20874, 0, NULL, 0, 0), + ('3', 'Hampton Road Transit', 'Accounts Payable', '3400 Victoria Blvd', '', 'Hampton', 'VA', 23661, 0, 'wcollins@hrtransit.org', 7572226000, 7572226000), ('test500', 'test500', 'test500', 'test500', 'test500', 'test500', 'md', 20874, 1234, 'Test@Test.com', 1231231233, 131231233); /*!40000 ALTER TABLE `customer` ENABLE KEYS */; @@ -371,14 +372,15 @@ CREATE TABLE IF NOT EXISTS `po` ( CONSTRAINT `po_customer_id_fk` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- Dumping data for table astute.po: ~5 rows (approximately) +-- Dumping data for table astute.po: ~6 rows (approximately) /*!40000 ALTER TABLE `po` DISABLE KEYS */; -INSERT INTO `po` (`PO_num`, `contract_num`, `PO_date`, `contract_amt`, `customer_id`, `astute_project_num`, `po_id`) VALUES - ('EP2649247', 'test123', NULL, 30000.00, '1', 'null', 1), - ('test12', 'test', '2018-07-11', 60000.00, '1', 'adf', 2), - ('test3', 'test', '2018-07-12', 60000.00, '1', 'adf', 3), - ('test5', 'test', '2018-07-13', 60000.00, '1', 'adf', 4), - ('test500', 'test', NULL, 60000.00, 'Test500', 'test', 1); +INSERT INTO `po` (`PO_num`, `contract_num`, `PO_date`, `contract_amt`, `customer_id`, `astute_project_num`, `po_id`, `title`) VALUES + ('EP2649247', 'test123', NULL, 30000.00, '1', 'null', 1, 'SO Dummy Title for Test123'), + ('HRT-16-72046', '16-72046', NULL, 23360.00, '3', 'HRT-01-01', 1, 'SO Dummy Title for 16-72046 adding upto 200 characters ****************************'), + ('test12', 'test', '2018-07-11', 60000.00, '1', 'adf', 2, 'SO Dummy Title for test'), + ('test3', 'test', '2018-07-12', 60000.00, '1', 'adf', 3, 'SO Dummy Title for test'), + ('test5', 'test', '2018-07-13', 60000.00, '1', 'adf', 4, 'SO Dummy Title for test'), + ('test500', 'test', NULL, 60000.00, 'Test500', 'test', 1, 'SO Dummy Title for test'); /*!40000 ALTER TABLE `po` ENABLE KEYS */; -- Dumping structure for table astute.po_detail @@ -399,13 +401,13 @@ CREATE TABLE IF NOT EXISTS `po_detail` ( -- Dumping data for table astute.po_detail: ~6 rows (approximately) /*!40000 ALTER TABLE `po_detail` DISABLE KEYS */; -INSERT INTO `po_detail` (`PO_num`, `line_item_no`, `service_desc`, `fee_type_id`, `qty`, `service_type_id`, `fee`, `remaining_qty`) VALUES - ('EP2649247', 1, 'test', 2, 38073, 1, NULL, NULL), - ('EP2649247', 2, 'test', 2, 16345, 1, NULL, NULL), - ('EP2649247', 3, 'test', 2, 4642, 2, NULL, NULL), - ('EP2649247', 4, 'test', 2, 880, 4, NULL, NULL), - ('EP2649247', 6, 'test', 2, 456, 1, NULL, NULL), - ('EP2649247', 16, 'test', 1, 1555, 1, NULL, NULL); +INSERT INTO `po_detail` (`PO_num`, `line_item_no`, `service_desc`, `fee_type_id`, `qty`, `service_type_id`, `fee`, `remaining_qty`, `title`) VALUES + ('EP2649247', 1, 'test', 2, 38073, 1, NULL, NULL, NULL), + ('EP2649247', 2, 'test', 2, 16345, 1, NULL, NULL, NULL), + ('EP2649247', 3, 'test', 2, 4642, 2, NULL, NULL, NULL), + ('EP2649247', 4, 'test', 2, 880, 4, NULL, NULL, NULL), + ('EP2649247', 6, 'test', 2, 456, 1, NULL, NULL, NULL), + ('EP2649247', 16, 'test', 1, 1555, 1, NULL, NULL, NULL); /*!40000 ALTER TABLE `po_detail` ENABLE KEYS */; -- Dumping structure for table astute.service_type