-- Table structure for table `material_indent_product_table`
--

DROP TABLE IF EXISTS `material_indent_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `material_indent_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_material_indent_main_idx` (`main_id_fk`),
  CONSTRAINT `key_material_indent_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `material_indent_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `material_indent_tax_dis_table`
--

DROP TABLE IF EXISTS `material_indent_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `material_indent_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_material_indent_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_material_indent_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `material_indent_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `mode_of_payment`
--

DROP TABLE IF EXISTS `mode_of_payment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mode_of_payment` (
  `mode_of_payment` varchar(95) NOT NULL,
  PRIMARY KEY (`mode_of_payment`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `mode_of_payment_master`
--

DROP TABLE IF EXISTS `mode_of_payment_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mode_of_payment_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `mode_of_payment` varchar(100) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `model_master`
--

DROP TABLE IF EXISTS `model_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `model_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `model` varchar(100) DEFAULT NULL,
  `notes` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `mrp_level_discount_table`
--

DROP TABLE IF EXISTS `mrp_level_discount_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mrp_level_discount_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `mrp` int(11) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `multi_db_name_table`
--

DROP TABLE IF EXISTS `multi_db_name_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `multi_db_name_table` (
  `db_name` varchar(90) NOT NULL,
  PRIMARY KEY (`db_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `multi_selling_price_table`
--

DROP TABLE IF EXISTS `multi_selling_price_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `multi_selling_price_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `sku` varchar(250) DEFAULT NULL,
  `selling_price` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `new_table`
--

DROP TABLE IF EXISTS `new_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `new_table` (
  `d1` int(11) NOT NULL DEFAULT '0',
  `d2` date DEFAULT NULL,
  `d3` varchar(45) DEFAULT '1',
  `d4` varchar(45) DEFAULT '1',
  `d5` varchar(45) DEFAULT '1',
  PRIMARY KEY (`d1`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `notification_table`
--

DROP TABLE IF EXISTS `notification_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `notification_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `subject` text,
  `msg` text,
  `time` varchar(45) DEFAULT NULL,
  `read_status` varchar(45) DEFAULT NULL,
  `branch` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `url` varchar(45) DEFAULT NULL,
  `priority` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `obf_attachment_table`
--

DROP TABLE IF EXISTS `obf_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `obf_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_obf_multi_attach_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_obf_multi_attach` FOREIGN KEY (`main_id_fk`) REFERENCES `obf_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `obf_main_table`
--

DROP TABLE IF EXISTS `obf_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `obf_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `stock_status` varchar(45) DEFAULT NULL,
  `approval_status` varchar(45) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `obf_product_table`
--

DROP TABLE IF EXISTS `obf_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `obf_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_obf_main_idx` (`main_id_fk`),
  CONSTRAINT `key_obf_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `obf_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `obf_tax_dis_table`
--

DROP TABLE IF EXISTS `obf_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `obf_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_obf_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_obf_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `obf_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `offer_table`
--

DROP TABLE IF EXISTS `offer_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `offer_table` (
  `offer_name` varchar(95) NOT NULL,
  `offer_factor` decimal(10,2) NOT NULL DEFAULT '0.00',
  `describition` text,
  PRIMARY KEY (`offer_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `open_single_data_master`
--

DROP TABLE IF EXISTS `open_single_data_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `open_single_data_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `master_name` varchar(200) DEFAULT NULL,
  `master_value` varchar(255) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `operator_main_table`
--

DROP TABLE IF EXISTS `operator_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `operator_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `operator_product_table`
--

DROP TABLE IF EXISTS `operator_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `operator_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_operator_main_idx` (`main_id_fk`),
  CONSTRAINT `key_operator_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `operator_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `operator_tax_dis_table`
--

DROP TABLE IF EXISTS `operator_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `operator_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_operator_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_operator_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `operator_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `optional_process_lifecycle_table`
--

DROP TABLE IF EXISTS `optional_process_lifecycle_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `optional_process_lifecycle_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `process_name` varchar(45) DEFAULT NULL,
  `fabric` varchar(45) DEFAULT NULL,
  `assigned_process_name` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `optional_process_lifecycle_table_order_main_idx` (`main_id_fk`),
  CONSTRAINT `optional_process_lifecycle_table_order_main` FOREIGN KEY (`main_id_fk`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_cutting_main_table`
--

DROP TABLE IF EXISTS `order_cutting_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_cutting_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_cutting_main_table_cmt`
--

DROP TABLE IF EXISTS `order_cutting_main_table_cmt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_cutting_main_table_cmt` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_cutting_main_table_qlty`
--

DROP TABLE IF EXISTS `order_cutting_main_table_qlty`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_cutting_main_table_qlty` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_cutting_product_table`
--

DROP TABLE IF EXISTS `order_cutting_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_cutting_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `cutting_qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_order_main_idx` (`main_id_fk`),
  CONSTRAINT `key_order_cutting_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `order_cutting_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_cutting_product_table_1`
--

DROP TABLE IF EXISTS `order_cutting_product_table_1`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_cutting_product_table_1` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `cutting_qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_order_main_table` (`main_id_fk`),
  CONSTRAINT `main_id_fk_order_main_table` FOREIGN KEY (`main_id_fk`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_cutting_product_table_cmt`
--

DROP TABLE IF EXISTS `order_cutting_product_table_cmt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_cutting_product_table_cmt` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `cutting_qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_order_main_idx` (`main_id_fk`),
  CONSTRAINT `key_order_cutting_product_call_main_cmt` FOREIGN KEY (`main_id_fk`) REFERENCES `order_cutting_main_table_cmt` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_cutting_product_table_qlty`
--

DROP TABLE IF EXISTS `order_cutting_product_table_qlty`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_cutting_product_table_qlty` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `cutting_qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_order_main_idx` (`main_id_fk`),
  CONSTRAINT `key_order_cutting_product_call_main_qlty` FOREIGN KEY (`main_id_fk`) REFERENCES `order_cutting_main_table_qlty` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_feeding_main_table`
--

DROP TABLE IF EXISTS `order_feeding_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_feeding_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_feeding_main_table_qlty`
--

DROP TABLE IF EXISTS `order_feeding_main_table_qlty`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_feeding_main_table_qlty` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_feeding_product_table`
--

DROP TABLE IF EXISTS `order_feeding_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_feeding_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `cutting_qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `feeding_qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_order_main_idx` (`main_id_fk`),
  CONSTRAINT `key_order_feeding_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `order_feeding_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_feeding_product_table_qlty`
--

DROP TABLE IF EXISTS `order_feeding_product_table_qlty`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_feeding_product_table_qlty` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `cutting_qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `feeding_qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_order_main_idx` (`main_id_fk`),
  CONSTRAINT `key_order_feeding_product_call_main_qlty` FOREIGN KEY (`main_id_fk`) REFERENCES `order_feeding_main_table_qlty` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_followup_table`
--

DROP TABLE IF EXISTS `order_followup_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_followup_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `company_name` varchar(95) DEFAULT NULL,
  `subject_name` varchar(95) DEFAULT NULL,
  `priority_level` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `process_status` varchar(45) DEFAULT NULL,
  `staff_name` varchar(95) DEFAULT NULL,
  `department_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` varchar(45) DEFAULT NULL,
  `details` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_garment_model_table`
--

DROP TABLE IF EXISTS `order_garment_model_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_garment_model_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `garment_model` varchar(250) DEFAULT NULL,
  `colour` varchar(250) DEFAULT NULL,
  `details` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `order_gm_call_idx` (`main_id_fk`),
  KEY `order_gm_fk_call_idx` (`main_id_fk`),
  CONSTRAINT `order_gm_fk_call` FOREIGN KEY (`main_id_fk`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_life_cycle_table`
--

DROP TABLE IF EXISTS `order_life_cycle_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_life_cycle_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `order_no` int(11) DEFAULT NULL,
  `process_name` varchar(200) DEFAULT NULL,
  `wastage_percent` decimal(10,2) DEFAULT NULL,
  `sort_order` int(11) DEFAULT NULL,
  `main_id_fk` int(11) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main-id_fk_order_main_tanle_tid_idx` (`main_id_fk`),
  CONSTRAINT `main-id_fk_order_main_tanle_tid` FOREIGN KEY (`main_id_fk`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_main_table`
--

DROP TABLE IF EXISTS `order_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `barcode_status` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `approved_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_master_table`
--

DROP TABLE IF EXISTS `order_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_master_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `order_id` int(11) DEFAULT NULL,
  `order_name` varchar(200) DEFAULT NULL,
  `season` varchar(200) DEFAULT NULL,
  `order_date` date DEFAULT NULL,
  `order_incharge` varchar(200) DEFAULT NULL,
  `life_cycle` varchar(250) DEFAULT NULL,
  `order_status` varchar(200) DEFAULT NULL,
  `buyer` varchar(200) DEFAULT NULL,
  `order_quantity` float DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `style_name` varchar(200) DEFAULT NULL,
  `reference_number` varchar(200) DEFAULT NULL,
  `colour` varchar(200) DEFAULT NULL,
  `category` varchar(200) DEFAULT NULL,
  `order_details` text,
  `order_type` varchar(200) DEFAULT NULL,
  `rate` decimal(10,2) DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `shipped_qty` decimal(10,2) DEFAULT NULL,
  `qa` varchar(200) DEFAULT NULL,
  `production_qa` varchar(200) DEFAULT NULL,
  `inspection_qa` varchar(200) DEFAULT NULL,
  `order_completed_on` date DEFAULT NULL,
  `x_factory_date` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_multi_attachment`
--

DROP TABLE IF EXISTS `order_multi_attachment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_multi_attachment` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` text,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `order_multi_fk` (`main_id_fk`),
  CONSTRAINT `order_multi_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_printing_table`
--

DROP TABLE IF EXISTS `order_printing_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_printing_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `maind_id_fk` int(11) DEFAULT NULL,
  `colour` varchar(255) DEFAULT NULL,
  `placement` varchar(255) DEFAULT NULL,
  `type_of_job` varchar(255) DEFAULT NULL,
  `size_only_in_width` varchar(255) DEFAULT NULL,
  `rgb_pantone` varchar(255) DEFAULT NULL,
  `remarks` text,
  PRIMARY KEY (`tid`),
  KEY `order_printing_fk_idx` (`maind_id_fk`),
  CONSTRAINT `order_pe_fk_call` FOREIGN KEY (`tid`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_product_table`
--

DROP TABLE IF EXISTS `order_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `remarks` text,
  PRIMARY KEY (`tid`),
  KEY `key_order_main_idx` (`main_id_fk`),
  CONSTRAINT `key_order_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_season_master`
--

DROP TABLE IF EXISTS `order_season_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_season_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `season` varchar(100) DEFAULT NULL,
  `notes` varchar(100) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_season_master_qlty`
--

DROP TABLE IF EXISTS `order_season_master_qlty`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_season_master_qlty` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `season` varchar(100) DEFAULT NULL,
  `notes` varchar(100) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_style_master`
--

DROP TABLE IF EXISTS `order_style_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_style_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `style_name` varchar(45) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_style_master_qlty`
--

DROP TABLE IF EXISTS `order_style_master_qlty`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_style_master_qlty` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `style_name` varchar(45) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_tax_dis_table`
--

DROP TABLE IF EXISTS `order_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_order_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_order_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_trims_table`
--

DROP TABLE IF EXISTS `order_trims_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_trims_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `particulars` varchar(250) DEFAULT NULL,
  `sub_category` varchar(250) DEFAULT NULL,
  `detail` text,
  `remarks` text,
  PRIMARY KEY (`tid`),
  KEY `order_trims_fk_call_idx` (`main_id_fk`),
  CONSTRAINT `order_trims_fk_call` FOREIGN KEY (`tid`) REFERENCES `order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `order_type_master`
--

DROP TABLE IF EXISTS `order_type_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_type_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `order_type` varchar(100) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `outbox_table`
--

DROP TABLE IF EXISTS `outbox_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `outbox_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `from_mail` varchar(200) DEFAULT NULL,
  `to_mail` text,
  `cc_mail` text,
  `bcc_mail` text,
  `subject` varchar(200) DEFAULT NULL,
  `message` text,
  `attachment_details` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `overall_attendance_log_table`
--

DROP TABLE IF EXISTS `overall_attendance_log_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `overall_attendance_log_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `device_id` int(11) DEFAULT NULL,
  `punch_date` date DEFAULT NULL,
  `punch_in` varchar(100) DEFAULT NULL,
  `punch_out` varchar(100) DEFAULT NULL,
  `allocated_work_hours` varchar(45) DEFAULT NULL,
  `ot_applicable` varchar(45) DEFAULT NULL,
  `p1` varchar(100) DEFAULT NULL,
  `p2` varchar(100) DEFAULT NULL,
  `p3` varchar(100) DEFAULT NULL,
  `p4` varchar(100) DEFAULT NULL,
  `p5` varchar(100) DEFAULT NULL,
  `p6` varchar(100) DEFAULT NULL,
  `p7` varchar(100) DEFAULT NULL,
  `p8` varchar(100) DEFAULT NULL,
  `p9` varchar(100) DEFAULT NULL,
  `p10` varchar(100) DEFAULT NULL,
  `p11` varchar(100) DEFAULT NULL,
  `p12` varchar(100) DEFAULT NULL,
  `p13` varchar(100) DEFAULT NULL,
  `p14` varchar(100) DEFAULT NULL,
  `p15` varchar(100) DEFAULT NULL,
  `p16` varchar(100) DEFAULT NULL,
  `actual_work_hours` varchar(45) DEFAULT NULL,
  `actual_ot_hours` varchar(45) DEFAULT NULL,
  `delay_start` varchar(45) DEFAULT NULL,
  `status` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `reason` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=519 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `packing_list_attachment_table`
--

DROP TABLE IF EXISTS `packing_list_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `packing_list_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_pl_multi_attach_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_pl_multi_attach` FOREIGN KEY (`main_id_fk`) REFERENCES `packing_list_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `packing_list_main_table`
--

DROP TABLE IF EXISTS `packing_list_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `packing_list_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `packing_list_product_table`
--

DROP TABLE IF EXISTS `packing_list_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `packing_list_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_packing_list_main_idx` (`main_id_fk`),
  CONSTRAINT `key_packing_list_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `packing_list_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `packing_list_tax_dis_table`
--

DROP TABLE IF EXISTS `packing_list_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `packing_list_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_packing_list_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_packing_list_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `packing_list_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `pay_slip_table`
--

DROP TABLE IF EXISTS `pay_slip_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pay_slip_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `employee_id` varchar(250) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `worked_days` decimal(10,2) DEFAULT NULL,
  `absent_days` decimal(10,2) DEFAULT NULL,
  `over_time_days` decimal(10,2) DEFAULT NULL,
  `esi` decimal(10,2) DEFAULT NULL,
  `pf` decimal(10,2) DEFAULT NULL,
  `mobile_bill` decimal(10,2) DEFAULT NULL,
  `food` decimal(10,2) DEFAULT NULL,
  `beverages` decimal(10,2) DEFAULT NULL,
  `accommodation` decimal(10,2) DEFAULT NULL,
  `other_detuction` decimal(10,2) DEFAULT NULL,
  `previous_advance_amount` decimal(10,2) DEFAULT NULL,
  `monthly_loan_amount_deduction` decimal(10,2) DEFAULT NULL,
  `incentive` decimal(10,2) DEFAULT NULL,
  `travel_expense_claim` decimal(10,2) DEFAULT NULL,
  `other_credit` decimal(10,2) DEFAULT NULL,
  `total_balance_load_amount` decimal(10,2) DEFAULT NULL,
  `total_detuction` decimal(10,2) DEFAULT NULL,
  `gross_amount` decimal(10,2) DEFAULT NULL,
  `net_pay_amount` decimal(10,2) DEFAULT NULL,
  `final_net_pay` decimal(10,2) DEFAULT NULL,
  `other_details` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `pf_calculated_salary`
--

DROP TABLE IF EXISTS `pf_calculated_salary`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pf_calculated_salary` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `device_code` varchar(50) DEFAULT NULL,
  `display_name` varchar(100) DEFAULT NULL,
  `designation` varchar(100) DEFAULT NULL,
  `department` varchar(100) DEFAULT NULL,
  `worked_days` varchar(200) DEFAULT NULL,
  `NumberOfHolidays` varchar(100) DEFAULT NULL,
  `total_days` varchar(100) DEFAULT NULL,
  `month_year` varchar(100) DEFAULT NULL,
  `per_day_salary_tax` varchar(200) DEFAULT NULL,
  `ot_hours` varchar(100) DEFAULT NULL,
  `ot_salary` varchar(200) DEFAULT NULL,
  `worked_salary` varchar(200) DEFAULT NULL,
  `gross_salary` varchar(200) DEFAULT NULL,
  `esi_per` varchar(200) DEFAULT NULL,
  `esi` varchar(200) DEFAULT NULL,
  `pf_per` varchar(200) DEFAULT NULL,
  `epf` varchar(200) DEFAULT NULL,
  `monthly_loan_repay` varchar(200) DEFAULT NULL,
  `total_deduction` varchar(200) DEFAULT NULL,
  `net_salary` varchar(200) DEFAULT NULL,
  `esi_per_for_com` varchar(200) DEFAULT NULL,
  `epf_per_for_com` varchar(200) DEFAULT NULL,
  `esi_for_com` varchar(200) DEFAULT NULL,
  `epf_for_com` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `pre_costing_fab_details_table`
--

DROP TABLE IF EXISTS `pre_costing_fab_details_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pre_costing_fab_details_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `fabric` varchar(250) DEFAULT NULL,
  `avg_wt` decimal(10,3) DEFAULT NULL,
  `main_id_fk` int(11) NOT NULL,
  PRIMARY KEY (`tid`),
  KEY `fab_details_main_id_fk_idx` (`main_id_fk`),
  CONSTRAINT `fab_details_main_id_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `pre_costing_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `pre_costing_fab_per_table`
--

DROP TABLE IF EXISTS `pre_costing_fab_per_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pre_costing_fab_per_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `fabric_process` varchar(250) DEFAULT NULL,
  `fab_percentage` decimal(10,2) DEFAULT NULL,
  `fab_rate` decimal(10,2) DEFAULT NULL,
  `main_id_fk` int(11) NOT NULL,
  PRIMARY KEY (`tid`),
  KEY `fab_per_main_id_fk_idx` (`main_id_fk`),
  CONSTRAINT `fab_per_main_id_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `pre_costing_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `pre_costing_main_table`
--

DROP TABLE IF EXISTS `pre_costing_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pre_costing_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `pre_costing_product_table`
--

DROP TABLE IF EXISTS `pre_costing_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pre_costing_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `fab_supplier` text,
  PRIMARY KEY (`tid`),
  KEY `key_pre_costing_main_idx` (`main_id_fk`),
  CONSTRAINT `key_pre_costing_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `pre_costing_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `pre_costing_style_per_table`
--

DROP TABLE IF EXISTS `pre_costing_style_per_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pre_costing_style_per_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) NOT NULL,
  `style_process` varchar(250) DEFAULT NULL,
  `style_percentage` decimal(10,2) DEFAULT NULL,
  `style_rate` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `style_per_main_id_fk_idx` (`main_id_fk`),
  CONSTRAINT `style_per_main_id_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `pre_costing_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `pre_costing_tax_dis_table`
--

DROP TABLE IF EXISTS `pre_costing_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pre_costing_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  `style_supplier` text,
  PRIMARY KEY (`tid`),
  KEY `key_pre_costing_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_pre_costing_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `pre_costing_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `price_by_qty`
--

DROP TABLE IF EXISTS `price_by_qty`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `price_by_qty` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `sku` varchar(250) DEFAULT NULL,
  `qty` decimal(10,2) DEFAULT NULL,
  `rate` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `price_list_main_table`
--

DROP TABLE IF EXISTS `price_list_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `price_list_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `price_list_name` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` varchar(45) DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `price_list_product_table`
--

DROP TABLE IF EXISTS `price_list_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `price_list_product_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `price_list_name` varchar(250) DEFAULT NULL,
  `sku` varchar(250) DEFAULT NULL,
  `selling_price` decimal(10,2) DEFAULT NULL,
  `purchase_price` decimal(10,2) DEFAULT NULL,
  `discount_percentage` decimal(9,2) DEFAULT NULL,
  `status` varchar(45) DEFAULT 'Not Approved',
  `type` varchar(120) DEFAULT NULL,
  `budget_type` varchar(120) DEFAULT NULL,
  `process_name` varchar(200) DEFAULT NULL,
  `describition` text,
  `colour` varchar(200) DEFAULT NULL,
  `remarks` text,
  `uom` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `fk_price_list_idx` (`main_id_fk`),
  CONSTRAINT `fk_price_list` FOREIGN KEY (`main_id_fk`) REFERENCES `price_list_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `price_list_table`
--

DROP TABLE IF EXISTS `price_list_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `price_list_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `price_list_name` varchar(250) DEFAULT NULL,
  `sku` varchar(250) DEFAULT NULL,
  `selling_price` decimal(10,2) DEFAULT NULL,
  `purchase_price` decimal(10,2) DEFAULT NULL,
  `discount_percentage` decimal(9,2) DEFAULT NULL,
  `status` varchar(45) DEFAULT 'Not Approved',
  `type` varchar(120) DEFAULT NULL,
  `budget_type` varchar(120) DEFAULT NULL,
  `process_name` varchar(200) DEFAULT NULL,
  `describition` text,
  `colour` varchar(200) DEFAULT NULL,
  `remarks` text,
  `uom` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `priority_master`
--

DROP TABLE IF EXISTS `priority_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `priority_master` (
  `priority` varchar(95) NOT NULL,
  PRIMARY KEY (`priority`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `process_order_table`
--

DROP TABLE IF EXISTS `process_order_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `process_order_table` (
  `process_name` varchar(90) NOT NULL,
  `order` int(11) DEFAULT NULL,
  PRIMARY KEY (`process_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `product_batch_table`
--

DROP TABLE IF EXISTS `product_batch_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_batch_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `sku` varchar(120) DEFAULT NULL,
  `batch_name` varchar(120) DEFAULT NULL,
  `stock` decimal(10,3) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `product_branch_stock_table`
--

DROP TABLE IF EXISTS `product_branch_stock_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_branch_stock_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `sku` varchar(100) DEFAULT NULL,
  `branch` varchar(100) DEFAULT NULL,
  `branch_stock` int(11) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `batch` varchar(45) DEFAULT NULL,
  `purchase_price` decimal(10,2) DEFAULT NULL,
  `fsp` decimal(10,2) DEFAULT NULL,
  `wsp` decimal(10,2) DEFAULT NULL,
  `mop` decimal(10,2) DEFAULT NULL,
  `mrp` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `stock_main_id_fk_idx` (`main_id_fk`),
  CONSTRAINT `stock_main_id_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `product_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1541 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `product_life_cycle`
--

DROP TABLE IF EXISTS `product_life_cycle`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_life_cycle` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `sku` varchar(150) DEFAULT NULL,
  `from_process` varchar(150) DEFAULT NULL,
  `to_process` varchar(150) DEFAULT NULL,
  `converted_item` varchar(150) DEFAULT NULL,
  `order_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `product_table`
--

DROP TABLE IF EXISTS `product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_table` (
  `sku` varchar(250) NOT NULL,
  `product_type` varchar(95) DEFAULT NULL,
  `category` varchar(95) DEFAULT NULL,
  `sub_category` varchar(95) DEFAULT NULL,
  `super_sub_category` varchar(95) DEFAULT NULL,
  `brand_name` varchar(95) DEFAULT NULL,
  `product_name` varchar(250) DEFAULT '',
  `stock` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `tax_type` varchar(45) DEFAULT NULL,
  `selling_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `purchase_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `mrp` decimal(10,2) NOT NULL DEFAULT '0.00',
  `supplier_name` varchar(95) DEFAULT NULL,
  `colour` varchar(45) DEFAULT NULL,
  `size` varchar(45) DEFAULT NULL,
  `barcode` varchar(45) DEFAULT NULL,
  `pack_stock` decimal(10,3) NOT NULL DEFAULT '0.000',
  `product_description` mediumtext,
  `rack_details` mediumtext,
  `image1_url` mediumtext,
  `min_stock` decimal(10,3) DEFAULT NULL,
  `part_no_01` varchar(120) DEFAULT NULL,
  `part_no_02` varchar(120) DEFAULT NULL,
  `part_no_03` varchar(120) DEFAULT NULL,
  `stock_on_hold` decimal(10,3) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT '0.00',
  `offer_name` varchar(200) DEFAULT NULL,
  `whole_sale_price` decimal(10,2) DEFAULT NULL,
  `opening_stock` decimal(10,3) DEFAULT NULL,
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `active_stage` varchar(45) DEFAULT 'Active',
  `product_mop` decimal(10,2) DEFAULT NULL,
  `shelf_life` int(11) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(100) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `default_supplier_name` varchar(100) DEFAULT NULL,
  `product_spec` text,
  `p_status` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`,`sku`),
  UNIQUE KEY `tid_UNIQUE` (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=170 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `product_table_ecom`
--

DROP TABLE IF EXISTS `product_table_ecom`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_table_ecom` (
  `sku` varchar(250) NOT NULL,
  `product_type` varchar(95) DEFAULT NULL,
  `category` varchar(95) DEFAULT NULL,
  `sub_category` varchar(95) DEFAULT NULL,
  `super_sub_category` varchar(95) DEFAULT NULL,
  `brand_name` varchar(95) DEFAULT NULL,
  `product_name` varchar(250) DEFAULT '',
  `stock` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `tax_type` varchar(45) DEFAULT NULL,
  `selling_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `purchase_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `mrp` decimal(10,2) NOT NULL DEFAULT '0.00',
  `supplier_name` varchar(95) DEFAULT NULL,
  `colour` varchar(45) DEFAULT NULL,
  `size` varchar(45) DEFAULT NULL,
  `barcode` varchar(45) DEFAULT NULL,
  `pack_stock` decimal(10,3) NOT NULL DEFAULT '0.000',
  `product_description` mediumtext,
  `rack_details` mediumtext,
  `image1_url` mediumtext,
  `min_stock` decimal(10,3) DEFAULT NULL,
  `part_no_01` varchar(120) DEFAULT NULL,
  `part_no_02` varchar(120) DEFAULT NULL,
  `part_no_03` varchar(120) DEFAULT NULL,
  `stock_on_hold` decimal(10,3) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT '0.00',
  `offer_name` varchar(200) DEFAULT NULL,
  `whole_sale_price` decimal(10,2) DEFAULT NULL,
  `opening_stock` decimal(10,3) DEFAULT NULL,
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `active_stage` varchar(45) DEFAULT 'active',
  `fabric_name` varchar(250) DEFAULT NULL,
  `ext_file_1` varchar(45) DEFAULT NULL,
  `ext_file_2` varchar(45) DEFAULT NULL,
  `ext_file_3` varchar(45) DEFAULT NULL,
  `ext_file_4` varchar(45) DEFAULT NULL,
  `ext_file_5` varchar(45) DEFAULT NULL,
  `ext_file_6` varchar(45) DEFAULT NULL,
  `description_1` text,
  `description_2` text,
  `faq` text,
  `sub_save_1` decimal(10,2) DEFAULT NULL,
  `sub_save_2` decimal(10,2) DEFAULT NULL,
  `sub_save_3` decimal(10,2) DEFAULT NULL,
  `meta_tag` text,
  `weight` decimal(10,3) DEFAULT NULL,
  `product_card` varchar(45) DEFAULT NULL,
  `flow` varchar(45) DEFAULT NULL,
  `ext_file_hover` varchar(45) DEFAULT NULL,
  `ext_file_banner_1` varchar(45) DEFAULT NULL,
  `ext_file_banner_2` varchar(45) DEFAULT NULL,
  `ext_file_banner_3` varchar(45) DEFAULT NULL,
  `ext_file_banner_4` varchar(45) DEFAULT NULL,
  `ext_file_banner_5` varchar(45) DEFAULT NULL,
  `ext_file_7` varchar(45) DEFAULT NULL,
  `ext_file_8` varchar(45) DEFAULT NULL,
  `ext_file_9` varchar(45) DEFAULT NULL,
  `ext_file_10` varchar(45) DEFAULT NULL,
  `product_display_name` varchar(250) DEFAULT NULL,
  `meta_description` text,
  `ext_file_banner_1_mob` varchar(45) DEFAULT NULL,
  `ext_file_banner_2_mob` varchar(45) DEFAULT NULL,
  `ext_file_banner_3_mob` varchar(45) DEFAULT NULL,
  `ext_file_banner_4_mob` varchar(45) DEFAULT NULL,
  `ext_file_banner_5_mob` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`sku`),
  UNIQUE KEY `tid_UNIQUE` (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_floor_master`
--

DROP TABLE IF EXISTS `production_floor_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_floor_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `floor_name` varchar(45) DEFAULT NULL,
  `notes` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_inward_main_table`
--

DROP TABLE IF EXISTS `production_inward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_inward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `process_type` varchar(200) DEFAULT NULL,
  `cutting_no` varchar(200) DEFAULT NULL,
  `fabric_length` varchar(200) DEFAULT NULL,
  `lay_length` varchar(200) DEFAULT NULL,
  `lay_weight` varchar(200) DEFAULT NULL,
  `pcs_lay` varchar(200) DEFAULT NULL,
  `pccs_weight` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_inward_product_table`
--

DROP TABLE IF EXISTS `production_inward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_inward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` varchar(95) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,3) DEFAULT NULL,
  `contractor` varchar(100) DEFAULT NULL,
  `running_lot_number` int(11) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_inward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_inward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_inward_tax_dis_table`
--

DROP TABLE IF EXISTS `production_inward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_inward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_inward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_inward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_line_no_master`
--

DROP TABLE IF EXISTS `production_line_no_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_line_no_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `line_no` varchar(45) DEFAULT NULL,
  `notes` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_inward_main_table`
--

DROP TABLE IF EXISTS `production_lot_inward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_inward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` text,
  `a6` text,
  `a7` text,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` text,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` text,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `inward_no` varchar(95) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_inward_product_table`
--

DROP TABLE IF EXISTS `production_lot_inward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_inward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_lot_inward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_lot_inward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_lot_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_inward_tax_dis_table`
--

DROP TABLE IF EXISTS `production_lot_inward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_inward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_lot_inward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_lot_inward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_lot_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_main_table`
--

DROP TABLE IF EXISTS `production_lot_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `lot_name` varchar(100) DEFAULT NULL,
  `lot_number` int(11) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(100) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `lot_status` varchar(40) DEFAULT NULL,
  `lot_against` varchar(45) DEFAULT NULL,
  `other_details` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=84 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_outward_main_table`
--

DROP TABLE IF EXISTS `production_lot_outward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_outward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` text,
  `a6` text,
  `a7` text,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` text,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` text,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `inward_no` varchar(95) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_outward_product_table`
--

DROP TABLE IF EXISTS `production_lot_outward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_outward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_lot_outward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_lot_outward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_lot_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_outward_tax_dis_table`
--

DROP TABLE IF EXISTS `production_lot_outward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_outward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_lot_outward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_lot_outward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_lot_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_product_table`
--

DROP TABLE IF EXISTS `production_lot_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_product_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `order_name` varchar(100) DEFAULT NULL,
  `order_number` varchar(100) DEFAULT NULL,
  `style_name` varchar(100) DEFAULT NULL,
  `colour` varchar(100) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(100) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_call_fr_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_call_fr` FOREIGN KEY (`main_id_fk`) REFERENCES `production_lot_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=164 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_return_main_table`
--

DROP TABLE IF EXISTS `production_lot_return_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_return_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` text,
  `a6` text,
  `a7` text,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` text,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` text,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `inward_no` varchar(95) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_return_product_table`
--

DROP TABLE IF EXISTS `production_lot_return_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_return_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_lot_return_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_lot_return_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_lot_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_lot_return_tax_dis_table`
--

DROP TABLE IF EXISTS `production_lot_return_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lot_return_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_lot_return_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_lot_return_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_lot_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_outward_main_table`
--

DROP TABLE IF EXISTS `production_outward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_outward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `process_type` varchar(200) DEFAULT NULL,
  `cutting_no` varchar(200) DEFAULT NULL,
  `fabric_length` varchar(200) DEFAULT NULL,
  `lay_length` varchar(200) DEFAULT NULL,
  `lay_weight` varchar(200) DEFAULT NULL,
  `pcs_lay` varchar(200) DEFAULT NULL,
  `pccs_weight` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_outward_product_table`
--

DROP TABLE IF EXISTS `production_outward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_outward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,3) DEFAULT NULL,
  `contractor` varchar(100) DEFAULT NULL,
  `running_lot_number` int(11) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_outward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_outward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_outward_program_product_table`
--

DROP TABLE IF EXISTS `production_outward_program_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_outward_program_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_outward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_outward_program_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_outward_tax_dis_table`
--

DROP TABLE IF EXISTS `production_outward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_outward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_outward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_outward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_plan_main`
--

DROP TABLE IF EXISTS `production_plan_main`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_plan_main` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `style_name` varchar(90) DEFAULT NULL,
  `create_date` varchar(90) DEFAULT NULL,
  `status` varchar(90) DEFAULT NULL,
  `details` text,
  `order_no` varchar(90) DEFAULT NULL,
  `approved_status` varchar(90) DEFAULT NULL,
  `excess_qty_percentage` decimal(10,2) DEFAULT '0.00',
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_plan_products`
--

DROP TABLE IF EXISTS `production_plan_products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_plan_products` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `pp_id` int(11) DEFAULT NULL,
  `style_name` varchar(250) DEFAULT NULL,
  `colour` varchar(90) DEFAULT NULL,
  `s1` int(11) DEFAULT NULL,
  `s2` int(11) DEFAULT NULL,
  `s3` int(11) DEFAULT NULL,
  `s4` int(11) DEFAULT NULL,
  `s5` int(11) DEFAULT NULL,
  `s6` int(11) DEFAULT NULL,
  `s7` int(11) DEFAULT NULL,
  `s8` int(11) DEFAULT NULL,
  `s9` int(11) DEFAULT NULL,
  `s10` int(11) DEFAULT NULL,
  `s11` int(11) DEFAULT NULL,
  `s12` int(11) DEFAULT NULL,
  `s13` int(11) DEFAULT NULL,
  `s14` int(11) DEFAULT NULL,
  `s15` int(11) DEFAULT NULL,
  `s16` int(11) DEFAULT NULL,
  `s17` int(11) DEFAULT NULL,
  `s18` int(11) DEFAULT NULL,
  `s19` int(11) DEFAULT NULL,
  `s20` int(11) DEFAULT NULL,
  `s21` varchar(45) DEFAULT NULL,
  `s22` varchar(45) DEFAULT NULL,
  `s23` varchar(45) DEFAULT NULL,
  `s24` varchar(45) DEFAULT NULL,
  `s25` varchar(45) DEFAULT NULL,
  `s26` varchar(45) DEFAULT NULL,
  `s27` varchar(45) DEFAULT NULL,
  `s28` varchar(45) DEFAULT NULL,
  `s29` varchar(45) DEFAULT NULL,
  `s30` varchar(45) DEFAULT NULL,
  `s31` varchar(45) DEFAULT NULL,
  `s32` varchar(45) DEFAULT NULL,
  `s33` varchar(45) DEFAULT NULL,
  `s34` varchar(45) DEFAULT NULL,
  `s35` varchar(45) DEFAULT NULL,
  `s36` varchar(45) DEFAULT NULL,
  `s37` varchar(45) DEFAULT NULL,
  `s38` varchar(45) DEFAULT NULL,
  `s39` varchar(45) DEFAULT NULL,
  `s40` varchar(45) DEFAULT NULL,
  `total` int(11) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `pp_fk_id_idx` (`pp_id`),
  CONSTRAINT `pp_fk_id` FOREIGN KEY (`pp_id`) REFERENCES `production_plan_main` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_planning`
--

DROP TABLE IF EXISTS `production_planning`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_planning` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `io_no` varchar(45) DEFAULT NULL,
  `style_name` varchar(45) DEFAULT NULL,
  `color` varchar(45) DEFAULT NULL,
  `unit` varchar(45) DEFAULT NULL,
  `floor_name` varchar(45) DEFAULT NULL,
  `line_no` varchar(45) DEFAULT NULL,
  `created_on` varchar(45) DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `status` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_process_life_table`
--

DROP TABLE IF EXISTS `production_process_life_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_process_life_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `category` varchar(95) DEFAULT NULL,
  `process_name` varchar(95) DEFAULT NULL,
  `wastage_percent` decimal(10,2) DEFAULT NULL,
  `sort_order` decimal(10,2) DEFAULT NULL,
  `default_process_type` varchar(120) DEFAULT 'InHouse,OutSource,Po Against Inward',
  `visible_process` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_return_main_table`
--

DROP TABLE IF EXISTS `production_return_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_return_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(120) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `process_type` varchar(200) DEFAULT NULL,
  `cutting_no` varchar(200) DEFAULT NULL,
  `fabric_length` varchar(200) DEFAULT NULL,
  `lay_length` varchar(200) DEFAULT NULL,
  `lay_weight` varchar(200) DEFAULT NULL,
  `pcs_lay` varchar(200) DEFAULT NULL,
  `pccs_weight` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_return_product_table`
--

DROP TABLE IF EXISTS `production_return_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_return_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` varchar(95) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `contractor` varchar(100) DEFAULT NULL,
  `running_lot_number` int(11) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_return_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_return_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_return_tax_dis_table`
--

DROP TABLE IF EXISTS `production_return_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_return_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_production_return_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_production_return_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `production_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `production_unit_master`
--

DROP TABLE IF EXISTS `production_unit_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_unit_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `unit` varchar(45) DEFAULT NULL,
  `notes` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `proforma_invoice_attachment_table`
--

DROP TABLE IF EXISTS `proforma_invoice_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `proforma_invoice_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_pi_multi_attach_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_pi_multi_attach` FOREIGN KEY (`main_id_fk`) REFERENCES `proforma_invoice_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `proforma_invoice_main_table`
--

DROP TABLE IF EXISTS `proforma_invoice_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `proforma_invoice_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `proforma_invoice_product_table`
--

DROP TABLE IF EXISTS `proforma_invoice_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `proforma_invoice_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_proforma_invoice_main_idx` (`main_id_fk`),
  CONSTRAINT `key_proforma_invoice_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `proforma_invoice_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `proforma_invoice_tax_dis_table`
--

DROP TABLE IF EXISTS `proforma_invoice_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `proforma_invoice_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_proforma_invoice_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_proforma_invoice_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `proforma_invoice_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_attachment_table`
--

DROP TABLE IF EXISTS `purchase_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `notes` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `purchase_attach_fk_idx` (`main_id_fk`),
  CONSTRAINT `purchase_attach_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `expense_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_order_attachment_table`
--

DROP TABLE IF EXISTS `purchase_order_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_order_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_purchase_order_multi_attach_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_purchase_order_multi_attach` FOREIGN KEY (`main_id_fk`) REFERENCES `purchase_order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_order_general_main_table`
--

DROP TABLE IF EXISTS `purchase_order_general_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_order_general_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_order_general_product_table`
--

DROP TABLE IF EXISTS `purchase_order_general_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_order_general_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_purchase_order_general_main_idx` (`main_id_fk`),
  CONSTRAINT `key_purchase_order_general_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `purchase_order_general_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_order_general_tax_dis_table`
--

DROP TABLE IF EXISTS `purchase_order_general_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_order_general_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_purchase_order_general_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_purchase_order_general_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `purchase_order_general_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_order_main_table`
--

DROP TABLE IF EXISTS `purchase_order_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_order_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(100) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_order_product_table`
--

DROP TABLE IF EXISTS `purchase_order_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_order_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `product_spec` text,
  PRIMARY KEY (`tid`),
  KEY `key_purchase_order_main_idx` (`main_id_fk`),
  CONSTRAINT `key_purchase_order_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `purchase_order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_order_tax_dis_table`
--

DROP TABLE IF EXISTS `purchase_order_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_order_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` text,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,3) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_purchase_order_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_purchase_order_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `purchase_order_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_return_attachment_table`
--

DROP TABLE IF EXISTS `purchase_return_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_return_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_pr_multi_attach_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_pr_multi_attach` FOREIGN KEY (`main_id_fk`) REFERENCES `purchase_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_return_main_table`
--

DROP TABLE IF EXISTS `purchase_return_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_return_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  `outstanding_amt` varchar(100) DEFAULT NULL,
  `s_company_name` varchar(100) DEFAULT NULL,
  `mode_of_payment` varchar(100) DEFAULT NULL,
  `bank_name` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_return_product_table`
--

DROP TABLE IF EXISTS `purchase_return_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_return_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_purchase_return_main_idx` (`main_id_fk`),
  CONSTRAINT `key_purchase_return_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `purchase_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `purchase_return_tax_dis_table`
--

DROP TABLE IF EXISTS `purchase_return_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_return_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_purchase_return_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_purchase_return_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `purchase_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quality_corrective_action_master`
--

DROP TABLE IF EXISTS `quality_corrective_action_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quality_corrective_action_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `corrective_action` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quality_fault_master`
--

DROP TABLE IF EXISTS `quality_fault_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quality_fault_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `fault` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quality_main_table`
--

DROP TABLE IF EXISTS `quality_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quality_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `operator_name` varchar(250) DEFAULT NULL,
  `operator_id` int(11) DEFAULT NULL,
  `operation` varchar(250) DEFAULT NULL,
  `buyer` varchar(250) DEFAULT NULL,
  `style_no` int(11) DEFAULT NULL,
  `colour` varchar(250) DEFAULT NULL,
  `line_no` int(11) DEFAULT NULL,
  `description` varchar(250) DEFAULT NULL,
  `needle_size` varchar(250) DEFAULT NULL,
  `type_of_machine` varchar(250) DEFAULT NULL,
  `needle_change_time` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quality_type_of_machine_master`
--

DROP TABLE IF EXISTS `quality_type_of_machine_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quality_type_of_machine_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `type_of_machine` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quatity_check_table`
--

DROP TABLE IF EXISTS `quatity_check_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quatity_check_table` (
  `fid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `fault` varchar(250) DEFAULT NULL,
  `corrective_action` varchar(250) DEFAULT NULL,
  `other_details` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`fid`),
  KEY `main_id_call_idx` (`main_id_fk`),
  CONSTRAINT `main_id_call` FOREIGN KEY (`main_id_fk`) REFERENCES `quality_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quick_links_table`
--

DROP TABLE IF EXISTS `quick_links_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quick_links_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `user_type` varchar(250) DEFAULT NULL,
  `name` varchar(250) DEFAULT NULL,
  `url` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quotation_attachment_table`
--

DROP TABLE IF EXISTS `quotation_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotation_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_quo_multi_attach_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_quo_multi_attach` FOREIGN KEY (`main_id_fk`) REFERENCES `quotation_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quotation_main_table`
--

DROP TABLE IF EXISTS `quotation_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotation_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `bank_name` varchar(200) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  `irn_no` varchar(500) DEFAULT NULL,
  `act_no` varchar(100) DEFAULT NULL,
  `act_date` varchar(100) DEFAULT NULL,
  `s_company_name` varchar(100) DEFAULT NULL,
  `outstanding_amt` varchar(100) DEFAULT NULL,
  `mode_of_payment` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quotation_product_table`
--

DROP TABLE IF EXISTS `quotation_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotation_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_quotation_main_idx` (`main_id_fk`),
  CONSTRAINT `key_quotation_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `quotation_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=210 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `quotation_tax_dis_table`
--

DROP TABLE IF EXISTS `quotation_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotation_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_quotation_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_quotation_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `quotation_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `repeated_barcode_process_table`
--

DROP TABLE IF EXISTS `repeated_barcode_process_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `repeated_barcode_process_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `barcode_id` varchar(45) DEFAULT NULL,
  `bscan_name` text,
  `repeated_bscan_name` text,
  `scan_time` text,
  `line_qc` text,
  `line_number` text,
  `floor_name` text,
  `floor_incharge` text,
  `line_supervisor` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_inward_main_table`
--

DROP TABLE IF EXISTS `roll_printing_inward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_inward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_inward_product_table`
--

DROP TABLE IF EXISTS `roll_printing_inward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_inward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_roll_printing_inward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_roll_printing_inward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `roll_printing_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_inward_tax_dis_table`
--

DROP TABLE IF EXISTS `roll_printing_inward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_inward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_roll_printing_inward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_roll_printing_inward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `roll_printing_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_outward_main_table`
--

DROP TABLE IF EXISTS `roll_printing_outward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_outward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_outward_product_table`
--

DROP TABLE IF EXISTS `roll_printing_outward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_outward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_roll_printing_outward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_roll_printing_outward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `roll_printing_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_outward_tax_dis_table`
--

DROP TABLE IF EXISTS `roll_printing_outward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_outward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_roll_printing_outward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_roll_printing_outward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `roll_printing_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_return_main_table`
--

DROP TABLE IF EXISTS `roll_printing_return_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_return_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_return_product_table`
--

DROP TABLE IF EXISTS `roll_printing_return_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_return_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_roll_printing_return_main_idx` (`main_id_fk`),
  CONSTRAINT `key_roll_printing_return_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `roll_printing_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `roll_printing_return_tax_dis_table`
--

DROP TABLE IF EXISTS `roll_printing_return_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roll_printing_return_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_roll_printing_return_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_roll_printing_return_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `roll_printing_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `salary_main_table`
--

DROP TABLE IF EXISTS `salary_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `salary_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `salary_product_table`
--

DROP TABLE IF EXISTS `salary_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `salary_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_salary_main_idx` (`main_id_fk`),
  CONSTRAINT `key_salary_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `salary_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `salary_tax_dis_table`
--

DROP TABLE IF EXISTS `salary_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `salary_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_salary_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_salary_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `salary_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sales_return_attachment_table`
--

DROP TABLE IF EXISTS `sales_return_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_return_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_sr_multi_attach_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_sr_multi_attach` FOREIGN KEY (`main_id_fk`) REFERENCES `sales_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sales_return_e_invoice_table`
--

DROP TABLE IF EXISTS `sales_return_e_invoice_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_return_e_invoice_table` (
  `inv_id` int(11) NOT NULL,
  `invoice_data` longtext,
  `e_invoice_result` longtext,
  PRIMARY KEY (`inv_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sales_return_main_table`
--

DROP TABLE IF EXISTS `sales_return_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_return_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  `irn_no` varchar(500) DEFAULT NULL,
  `act_no` varchar(100) DEFAULT NULL,
  `act_date` varchar(100) DEFAULT NULL,
  `outstanding_amt` varchar(100) DEFAULT NULL,
  `s_company_name` varchar(100) DEFAULT NULL,
  `mode_of_payment` varchar(100) DEFAULT NULL,
  `bank_name` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sales_return_product_table`
--

DROP TABLE IF EXISTS `sales_return_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_return_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_sales_return_main_idx` (`main_id_fk`),
  CONSTRAINT `key_sales_return_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `sales_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sales_return_tax_dis_table`
--

DROP TABLE IF EXISTS `sales_return_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_return_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_sales_return_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_sales_return_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `sales_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `settings_common_table`
--

DROP TABLE IF EXISTS `settings_common_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings_common_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `module` varchar(45) DEFAULT NULL,
  `settings_name` varchar(120) NOT NULL,
  `settings_value` text,
  PRIMARY KEY (`tid`),
  UNIQUE KEY `settings_name_UNIQUE` (`settings_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `settings_product_process`
--

DROP TABLE IF EXISTS `settings_product_process`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings_product_process` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `settings_name` varchar(95) DEFAULT NULL,
  `a` varchar(45) DEFAULT NULL,
  `process` varchar(45) DEFAULT NULL,
  `b` varchar(45) DEFAULT NULL,
  `c` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `settings_table`
--

DROP TABLE IF EXISTS `settings_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings_table` (
  `settings_name` varchar(120) NOT NULL,
  `settings_type` varchar(45) DEFAULT NULL,
  `dev_x_code` longtext,
  `create_date` date DEFAULT NULL,
  `late_updated_date` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`settings_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `settings_template_mandatory_table`
--

DROP TABLE IF EXISTS `settings_template_mandatory_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings_template_mandatory_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `settings_name` varchar(95) DEFAULT 'No',
  `company_name` varchar(10) DEFAULT 'No',
  `generate_id` varchar(10) DEFAULT 'No',
  `min_one_product` varchar(10) DEFAULT 'No',
  `account_for` varchar(10) DEFAULT 'No',
  `job_id` varchar(10) DEFAULT 'No',
  `employee` varchar(10) DEFAULT 'No',
  `tag` varchar(10) DEFAULT 'No',
  `order_po` varchar(10) DEFAULT 'No',
  `dc_inward` varchar(10) DEFAULT 'No',
  `narration` varchar(10) DEFAULT 'No',
  `a1` varchar(10) DEFAULT 'No',
  `a2` varchar(10) DEFAULT 'No',
  `a3` varchar(10) DEFAULT 'No',
  `a4` varchar(10) DEFAULT 'No',
  `a5` varchar(10) DEFAULT 'No',
  `a6` varchar(10) DEFAULT 'No',
  `a7` varchar(10) DEFAULT 'No',
  `a8` varchar(10) DEFAULT 'No',
  `a9` varchar(10) DEFAULT 'No',
  `a10` varchar(10) DEFAULT 'No',
  `a11` varchar(10) DEFAULT 'No',
  `a12` varchar(10) DEFAULT 'No',
  `a13` varchar(10) DEFAULT 'No',
  `a14` varchar(10) DEFAULT 'No',
  `a15` varchar(10) DEFAULT 'No',
  `a16` varchar(10) DEFAULT 'No',
  `a17` varchar(10) DEFAULT 'No',
  `a18` varchar(10) DEFAULT 'No',
  `a19` varchar(10) DEFAULT 'No',
  `a20` varchar(10) DEFAULT 'No',
  `a21` varchar(10) DEFAULT 'No',
  `a22` varchar(10) DEFAULT 'No',
  `a23` varchar(10) DEFAULT 'No',
  `a24` varchar(10) DEFAULT 'No',
  `a25` varchar(10) DEFAULT 'No',
  `a26` varchar(10) DEFAULT 'No',
  `a27` varchar(10) DEFAULT 'No',
  `a28` varchar(10) DEFAULT 'No',
  `a29` varchar(10) DEFAULT 'No',
  `a30` varchar(10) DEFAULT 'No',
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `settings_template_product_details_table`
--

DROP TABLE IF EXISTS `settings_template_product_details_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings_template_product_details_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `settings_name` varchar(95) DEFAULT NULL,
  `id` varchar(95) DEFAULT NULL,
  `name` varchar(95) DEFAULT NULL,
  `type` varchar(45) DEFAULT NULL,
  `visible` varchar(45) DEFAULT 'No',
  `default_value` varchar(95) DEFAULT NULL,
  `combo_items` text,
  `width` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `settings_template_visibility_table`
--

DROP TABLE IF EXISTS `settings_template_visibility_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings_template_visibility_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `settings_name` varchar(95) DEFAULT 'No',
  `due_date` varchar(10) DEFAULT 'No',
  `renewal_date` varchar(10) DEFAULT 'No',
  `unit` varchar(10) DEFAULT 'No',
  `rate` varchar(10) DEFAULT 'No',
  `inc_tax_percentage` varchar(10) DEFAULT 'No',
  `inc_tax_amount` varchar(10) DEFAULT 'No',
  `total_amount` varchar(10) DEFAULT 'No',
  `company_name` varchar(10) DEFAULT 'No',
  `display_name` varchar(10) DEFAULT 'No',
  `generate_id` varchar(10) DEFAULT 'No',
  `basic_settings` varchar(10) DEFAULT 'No',
  `other_details` varchar(10) DEFAULT 'No',
  `accounts` varchar(10) DEFAULT 'No',
  `mail_sms` varchar(10) DEFAULT 'No',
  `offers` varchar(10) DEFAULT 'No',
  `product_desc` varchar(10) DEFAULT 'No',
  `tax_sec` varchar(10) DEFAULT 'No',
  `total_as_amt` varchar(10) DEFAULT 'No',
  `round_off` varchar(10) DEFAULT NULL,
  `amount` varchar(10) DEFAULT NULL,
  `cust_shipping` varchar(10) DEFAULT 'no',
  `other_details_panel` varchar(10) DEFAULT 'no',
  `narration` varchar(10) DEFAULT 'no',
  `transport` varchar(10) DEFAULT 'no',
  `status` varchar(10) DEFAULT 'no',
  `terms` varchar(10) DEFAULT 'no',
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `settings_type_table`
--

DROP TABLE IF EXISTS `settings_type_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings_type_table` (
  `settings_type_name` varchar(45) NOT NULL,
  `settings_section` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`settings_type_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `size_master_table`
--

DROP TABLE IF EXISTS `size_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `size_master_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `size_chart_name` varchar(75) DEFAULT NULL,
  `size_name` varchar(75) DEFAULT NULL,
  `order_no` varchar(150) DEFAULT NULL,
  `sort_order` int(11) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `size_order_table`
--

DROP TABLE IF EXISTS `size_order_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `size_order_table` (
  `size` varchar(90) NOT NULL,
  `order` int(11) DEFAULT NULL,
  PRIMARY KEY (`size`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `size_table`
--

DROP TABLE IF EXISTS `size_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `size_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `size` varchar(45) DEFAULT NULL,
  `sort_order` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sms_template_table`
--

DROP TABLE IF EXISTS `sms_template_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_template_table` (
  `sms_template_name` varchar(120) NOT NULL,
  `sms_template` text,
  PRIMARY KEY (`sms_template_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sms_url_table`
--

DROP TABLE IF EXISTS `sms_url_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_url_table` (
  `tid` int(11) NOT NULL,
  `sms_url` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `source_master_table`
--

DROP TABLE IF EXISTS `source_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `source_master_table` (
  `source_name` varchar(90) NOT NULL,
  PRIMARY KEY (`source_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `state_master_table`
--

DROP TABLE IF EXISTS `state_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `state_master_table` (
  `state_name` varchar(90) NOT NULL,
  PRIMARY KEY (`state_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `status_master_table`
--

DROP TABLE IF EXISTS `status_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `status_master_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `entry_value` varchar(250) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `stock_adjust_ledger_table`
--

DROP TABLE IF EXISTS `stock_adjust_ledger_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_adjust_ledger_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `created_date` date DEFAULT NULL,
  `sku` varchar(200) DEFAULT NULL,
  `stock_action` varchar(200) DEFAULT NULL,
  `opening_stock` decimal(10,3) DEFAULT NULL,
  `stock_update` decimal(10,3) DEFAULT NULL,
  `final_stock` decimal(10,3) DEFAULT NULL,
  `user_name` varchar(200) DEFAULT NULL,
  `time_of_update` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `stock_audit_main_table`
--

DROP TABLE IF EXISTS `stock_audit_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_audit_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `create_date` date DEFAULT NULL,
  `staff_name` varchar(200) DEFAULT NULL,
  `narration` text,
  `completed_on` date DEFAULT NULL,
  `process_status` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `stock_audit_product_table`
--

DROP TABLE IF EXISTS `stock_audit_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_audit_product_table` (
  `tid` bigint(20) NOT NULL,
  `main_id_fk` int(11) DEFAULT NULL,
  `sku` varchar(250) DEFAULT NULL,
  `stock_as_create_date` decimal(10,3) DEFAULT NULL,
  `physical_stock` decimal(10,3) DEFAULT NULL,
  `remarks` text,
  PRIMARY KEY (`tid`),
  KEY `stock_audit_call_idx` (`main_id_fk`),
  CONSTRAINT `stock_audit_call` FOREIGN KEY (`main_id_fk`) REFERENCES `stock_audit_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `store_invoice_no_table`
--

DROP TABLE IF EXISTS `store_invoice_no_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `store_invoice_no_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `store_invoice_no` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `branch` varchar(45) DEFAULT NULL,
  `gstin` varchar(45) DEFAULT NULL,
  `address` varchar(200) DEFAULT NULL,
  `contact_no` varchar(45) DEFAULT NULL,
  `email_id` varchar(100) DEFAULT NULL,
  `branch_group` varchar(45) DEFAULT NULL,
  `shop_name` varchar(100) DEFAULT NULL,
  `bank_name` varchar(150) DEFAULT NULL,
  `sort_order` int(11) DEFAULT NULL,
  `ifsc` varchar(45) DEFAULT NULL,
  `account_type` varchar(45) DEFAULT NULL,
  `branch_code` varchar(45) DEFAULT NULL,
  `category` varchar(45) DEFAULT NULL,
  `opening_balance` varchar(45) DEFAULT NULL,
  `partner_name` varchar(45) DEFAULT NULL,
  `partner_contact_no` varchar(45) DEFAULT NULL,
  `partner_email_id` varchar(45) DEFAULT NULL,
  `partner_address` varchar(45) DEFAULT NULL,
  `city` varchar(45) DEFAULT NULL,
  `state` varchar(45) DEFAULT NULL,
  `zip` varchar(45) DEFAULT NULL,
  `country` varchar(45) DEFAULT NULL,
  `gpay_qr` varchar(500) DEFAULT NULL,
  `logo_ext` varchar(45) DEFAULT NULL,
  `zipcode_branch` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `style_history_table`
--

DROP TABLE IF EXISTS `style_history_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `style_history_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `field_name` varchar(200) DEFAULT NULL,
  `old_value` varchar(200) DEFAULT NULL,
  `new_value` varchar(200) DEFAULT NULL,
  `type` varchar(200) DEFAULT NULL,
  `changed_by` varchar(200) DEFAULT NULL,
  `changed_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `style_history_id_fk` (`main_id_fk`),
  CONSTRAINT `style_history_id_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `style_planning_main` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `style_multi_attachment`
--

DROP TABLE IF EXISTS `style_multi_attachment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `style_multi_attachment` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` text,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `multi_fk` (`main_id_fk`),
  CONSTRAINT `multi_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `style_planning_main` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `style_per_master_table`
--

DROP TABLE IF EXISTS `style_per_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `style_per_master_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `style` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `style_planning_fabric`
--

DROP TABLE IF EXISTS `style_planning_fabric`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `style_planning_fabric` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `style_name` varchar(90) DEFAULT NULL,
  `fabric` varchar(90) DEFAULT NULL,
  `body_part` varchar(90) DEFAULT NULL,
  `wastage` varchar(45) DEFAULT NULL,
  `uom` varchar(45) DEFAULT NULL,
  `s1` varchar(45) DEFAULT NULL,
  `s2` varchar(45) DEFAULT NULL,
  `s3` varchar(45) DEFAULT NULL,
  `s4` varchar(45) DEFAULT NULL,
  `s5` varchar(45) DEFAULT NULL,
  `s6` varchar(45) DEFAULT NULL,
  `s7` varchar(45) DEFAULT NULL,
  `s8` varchar(45) DEFAULT NULL,
  `s9` varchar(45) DEFAULT NULL,
  `s10` varchar(45) DEFAULT NULL,
  `s11` varchar(45) DEFAULT NULL,
  `s12` varchar(45) DEFAULT NULL,
  `s13` varchar(45) DEFAULT NULL,
  `s14` varchar(45) DEFAULT NULL,
  `s15` varchar(45) DEFAULT NULL,
  `s16` varchar(45) DEFAULT NULL,
  `s17` varchar(45) DEFAULT NULL,
  `s18` varchar(45) DEFAULT NULL,
  `s19` varchar(45) DEFAULT NULL,
  `s20` varchar(45) DEFAULT NULL,
  `total` varchar(45) DEFAULT NULL,
  `colour` varchar(90) DEFAULT NULL,
  `s21` varchar(45) DEFAULT NULL,
  `s22` varchar(45) DEFAULT NULL,
  `s23` varchar(45) DEFAULT NULL,
  `s24` varchar(45) DEFAULT NULL,
  `s25` varchar(45) DEFAULT NULL,
  `s26` varchar(45) DEFAULT NULL,
  `s27` varchar(45) DEFAULT NULL,
  `s28` varchar(45) DEFAULT NULL,
  `s29` varchar(45) DEFAULT NULL,
  `s30` varchar(45) DEFAULT NULL,
  `s31` varchar(45) DEFAULT NULL,
  `s32` varchar(45) DEFAULT NULL,
  `s33` varchar(45) DEFAULT NULL,
  `s34` varchar(45) DEFAULT NULL,
  `s35` varchar(45) DEFAULT NULL,
  `s36` varchar(45) DEFAULT NULL,
  `s37` varchar(45) DEFAULT NULL,
  `s38` varchar(45) DEFAULT NULL,
  `s39` varchar(45) DEFAULT NULL,
  `s40` varchar(45) DEFAULT NULL,
  `counts` varchar(200) DEFAULT NULL,
  `gsm` varchar(200) DEFAULT NULL,
  `dia` varchar(200) DEFAULT NULL,
  `fabric_colour` varchar(200) DEFAULT NULL,
  `composition` varchar(200) DEFAULT NULL,
  `fabric_type` varchar(200) DEFAULT NULL,
  `life_cycle` varchar(200) DEFAULT NULL,
  `yarn_program` varchar(200) DEFAULT NULL,
  `item_type` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `style_planing_main_fk_idx` (`style_name`),
  KEY `fk_main_dabric_idx` (`style_name`,`colour`),
  KEY `fk_main_fabric` (`main_id_fk`),
  CONSTRAINT `fk_main_fabric` FOREIGN KEY (`main_id_fk`) REFERENCES `style_planning_main` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `style_planning_main`
--

DROP TABLE IF EXISTS `style_planning_main`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `style_planning_main` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `style_name` varchar(90) NOT NULL,
  `style_describition` text,
  `size_chart_name` varchar(150) DEFAULT NULL,
  `remarks` text,
  `colour` varchar(90) DEFAULT NULL,
  `create_on` date DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `approved_status` varchar(45) DEFAULT NULL,
  `cad_waste_percentage` decimal(10,2) DEFAULT NULL,
  `pcs_per_box` decimal(10,2) DEFAULT NULL,
  `brand_name` varchar(200) DEFAULT NULL,
  `style_type` varchar(200) DEFAULT NULL,
  `category` varchar(200) DEFAULT NULL,
  `company_name` varchar(200) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `approved_by` varchar(45) DEFAULT NULL,
  `a1` varchar(100) DEFAULT NULL,
  `a2` varchar(100) DEFAULT NULL,
  `a3` varchar(100) DEFAULT NULL,
  `a4` varchar(100) DEFAULT NULL,
  `a5` varchar(100) DEFAULT NULL,
  `a6` varchar(100) DEFAULT NULL,
  `a7` varchar(100) DEFAULT NULL,
  `a8` varchar(100) DEFAULT NULL,
  `a9` varchar(100) DEFAULT NULL,
  `a10` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `supplier_quote_attachment_table`
--

DROP TABLE IF EXISTS `supplier_quote_attachment_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `supplier_quote_attachment_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `notes` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_sq_multi_attach_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_sq_multi_attach` FOREIGN KEY (`main_id_fk`) REFERENCES `supplier_quote_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `supplier_quote_main_table`
--

DROP TABLE IF EXISTS `supplier_quote_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `supplier_quote_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(150) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(90) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `bank_name` varchar(200) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  `irn_no` varchar(500) DEFAULT NULL,
  `act_no` varchar(100) DEFAULT NULL,
  `act_date` varchar(100) DEFAULT NULL,
  `s_company_name` varchar(100) DEFAULT NULL,
  `outstanding_amt` varchar(100) DEFAULT NULL,
  `mode_of_payment` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `supplier_quote_product_table`
--

DROP TABLE IF EXISTS `supplier_quote_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `supplier_quote_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_supplier_quote_main_idx` (`main_id_fk`),
  CONSTRAINT `key_supplier_quote_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `supplier_quote_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `supplier_quote_tax_dis_table`
--

DROP TABLE IF EXISTS `supplier_quote_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `supplier_quote_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_supplier_quote_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_supplier_quote_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `supplier_quote_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `supplier_spec_table`
--

DROP TABLE IF EXISTS `supplier_spec_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `supplier_spec_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `supplier_name` varchar(95) DEFAULT NULL,
  `spec_name` text,
  `details` text,
  PRIMARY KEY (`tid`),
  KEY `supplier_spec_fk_idx` (`supplier_name`),
  CONSTRAINT `supplier_spec_fk` FOREIGN KEY (`supplier_name`) REFERENCES `company_table` (`company_name`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `suspense_account_table`
--

DROP TABLE IF EXISTS `suspense_account_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `suspense_account_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `bank_name` varchar(95) DEFAULT NULL,
  `mode_of_payment` varchar(95) DEFAULT NULL,
  `transaction_date` date DEFAULT NULL,
  `credit` decimal(10,2) DEFAULT NULL,
  `debit` decimal(10,2) DEFAULT NULL,
  `contact_person` varchar(95) DEFAULT NULL,
  `details` text,
  `contact_person_contact_no` varchar(95) DEFAULT NULL,
  `bank_name_cus_vendor` varchar(95) DEFAULT NULL,
  `reference_no` varchar(95) DEFAULT NULL,
  `payment_for` varchar(45) DEFAULT NULL COMMENT 'vendor,customer,employee',
  `employee_name` varchar(95) DEFAULT NULL,
  `user_name` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `task_mail_cc_table`
--

DROP TABLE IF EXISTS `task_mail_cc_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_mail_cc_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `cc` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `cc_name` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `task_mail_template_master`
--

DROP TABLE IF EXISTS `task_mail_template_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_mail_template_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `template_name` varchar(250) DEFAULT NULL,
  `subject` text,
  `description` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `task_main_table`
--

DROP TABLE IF EXISTS `task_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `company_name` varchar(95) DEFAULT NULL,
  `subject_name` varchar(95) DEFAULT NULL,
  `priority_level` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `process_status` varchar(45) DEFAULT NULL,
  `staff_name` varchar(95) DEFAULT NULL,
  `department_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` varchar(45) DEFAULT NULL,
  `details` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `task_process_master`
--

DROP TABLE IF EXISTS `task_process_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_process_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `department` varchar(45) DEFAULT NULL,
  `subject` varchar(250) DEFAULT NULL,
  `category` varchar(45) DEFAULT NULL,
  `stage` varchar(45) DEFAULT NULL,
  `priority` varchar(45) DEFAULT NULL,
  `other_details` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `task_stage_template_master_main_table`
--

DROP TABLE IF EXISTS `task_stage_template_master_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_stage_template_master_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `task_stage` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `task_stage_template_master_sub_table`
--

DROP TABLE IF EXISTS `task_stage_template_master_sub_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_stage_template_master_sub_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `descriptions` varchar(45) DEFAULT NULL,
  `sort_order` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_task_stage_template_master_main_table` (`main_id_fk`),
  CONSTRAINT `main_id_fk_task_stage_template_master_main_table` FOREIGN KEY (`main_id_fk`) REFERENCES `task_stage_template_master_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `task_template_master`
--

DROP TABLE IF EXISTS `task_template_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_template_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `template_name` varchar(45) DEFAULT NULL,
  `description` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `task_template_process_master`
--

DROP TABLE IF EXISTS `task_template_process_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_template_process_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `subject` varchar(45) DEFAULT NULL,
  `department` varchar(45) DEFAULT NULL,
  `category` varchar(45) DEFAULT NULL,
  `stage` varchar(45) DEFAULT NULL,
  `priority` varchar(45) DEFAULT NULL,
  `other_details` varchar(250) DEFAULT NULL,
  `ordered` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_task_process_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_task_process` FOREIGN KEY (`main_id_fk`) REFERENCES `task_template_master` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tax_dis_table`
--

DROP TABLE IF EXISTS `tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tax_dis_table` (
  `tax_dis_name` varchar(45) NOT NULL,
  `tax_dis_type` varchar(45) NOT NULL,
  `value_in_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `action` varchar(45) DEFAULT NULL,
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`tax_dis_name`),
  UNIQUE KEY `tid_UNIQUE` (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `template_settings_table`
--

DROP TABLE IF EXISTS `template_settings_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `template_settings_table` (
  `settings_name` varchar(95) NOT NULL,
  `settings_type` varchar(95) DEFAULT NULL,
  `account_type` varchar(95) DEFAULT NULL,
  `stock_type` varchar(45) DEFAULT 'none',
  `id_prefix` varchar(45) DEFAULT NULL,
  `start_id` varchar(45) DEFAULT NULL,
  `id_sufix` varchar(45) DEFAULT NULL,
  `print_type` varchar(45) DEFAULT 'none',
  `print_file_rdlc` varchar(45) DEFAULT NULL,
  `ask_for_print` varchar(10) DEFAULT 'yes',
  `focus_on_company_id` varchar(10) DEFAULT 'yes',
  `product_spec` varchar(10) DEFAULT 'yes',
  `product_image` varchar(10) DEFAULT 'yes',
  `sms_template` varchar(95) DEFAULT NULL,
  `mail_template` varchar(95) DEFAULT NULL,
  `notifi` varchar(10) DEFAULT 'yes',
  `attachment` varchar(150) DEFAULT 'yes',
  `history` varchar(10) DEFAULT 'yes',
  `use_gst` varchar(45) DEFAULT 'yes',
  `default_igst` varchar(45) DEFAULT 'no',
  `page_width` decimal(10,2) DEFAULT '8.27',
  `page_height` decimal(10,2) DEFAULT '11.69',
  `margin_top` decimal(10,2) DEFAULT '0.00',
  `margin_left` decimal(10,2) DEFAULT '0.00',
  `margin_right` decimal(10,2) DEFAULT '0.00',
  `margin_botton` text,
  PRIMARY KEY (`settings_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `terms_and_condition_table`
--

DROP TABLE IF EXISTS `terms_and_condition_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `terms_and_condition_table` (
  `terms_name` varchar(120) NOT NULL,
  `terms` text,
  PRIMARY KEY (`terms_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_category_master`
--

DROP TABLE IF EXISTS `ticket_category_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_category_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `category` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_department_master`
--

DROP TABLE IF EXISTS `ticket_department_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_department_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `department` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_desc_table`
--

DROP TABLE IF EXISTS `ticket_desc_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_desc_table` (
  `ticket_desc_name` varchar(250) NOT NULL,
  `ticket_desc` text,
  PRIMARY KEY (`ticket_desc_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_priority_master`
--

DROP TABLE IF EXISTS `ticket_priority_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_priority_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `priority` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_source_master`
--

DROP TABLE IF EXISTS `ticket_source_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_source_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `ticket_source` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_spares_table`
--

DROP TABLE IF EXISTS `ticket_spares_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_spares_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) NOT NULL,
  `product` varchar(45) DEFAULT NULL,
  `qty` decimal(10,2) DEFAULT NULL,
  `rate` decimal(10,2) DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `total_amount` decimal(10,2) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_call_spares_idx` (`main_id_fk`),
  CONSTRAINT `main_id_fk_call_spares` FOREIGN KEY (`main_id_fk`) REFERENCES `crm_ticket_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_stage_master`
--

DROP TABLE IF EXISTS `ticket_stage_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_stage_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `ticket_stage` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_stage_template_master_main_table`
--

DROP TABLE IF EXISTS `ticket_stage_template_master_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_stage_template_master_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `ticket_stage` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_stage_template_master_sub_table`
--

DROP TABLE IF EXISTS `ticket_stage_template_master_sub_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_stage_template_master_sub_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `descriptions` varchar(45) DEFAULT NULL,
  `sort_order` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_ticket_stage_template_master_main_table` (`main_id_fk`),
  CONSTRAINT `main_id_fk_ticket_stage_template_master_main_table` FOREIGN KEY (`main_id_fk`) REFERENCES `ticket_stage_template_master_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_status_master`
--

DROP TABLE IF EXISTS `ticket_status_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_status_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `ticket_status` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `describition` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_subject_master`
--

DROP TABLE IF EXISTS `ticket_subject_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_subject_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `ticket_subject` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_system_table`
--

DROP TABLE IF EXISTS `ticket_system_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_system_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `customer_name` varchar(250) DEFAULT NULL,
  `contact_no` varchar(250) DEFAULT NULL,
  `email` varchar(250) DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `type_of_ticket` varchar(200) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `last_update_date` date DEFAULT NULL,
  `assigned_to` varchar(200) DEFAULT NULL,
  `service_amount` decimal(10,2) DEFAULT NULL,
  `ticket_priority` varchar(200) DEFAULT NULL,
  `describition` text,
  `subject` text,
  `contact_person_name` varchar(200) DEFAULT NULL,
  `ticket_status` varchar(90) DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ticket_template_master`
--

DROP TABLE IF EXISTS `ticket_template_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_template_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `template_name` varchar(250) DEFAULT NULL,
  `description` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_approve_master`
--

DROP TABLE IF EXISTS `tna_approve_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_approve_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `approve_status` varchar(45) DEFAULT NULL,
  `created_on` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_category_master`
--

DROP TABLE IF EXISTS `tna_category_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_category_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `category` varchar(250) DEFAULT NULL,
  `sub_category` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_color_master`
--

DROP TABLE IF EXISTS `tna_color_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_color_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `color` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_order_master_table`
--

DROP TABLE IF EXISTS `tna_order_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_order_master_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `order_id` varchar(45) DEFAULT NULL,
  `buyer_name` varchar(45) DEFAULT NULL,
  `buyer_ref_no` varchar(45) DEFAULT NULL,
  `factory_date` date DEFAULT NULL,
  `delivery_date` date DEFAULT NULL,
  `order_qty` decimal(10,3) DEFAULT NULL,
  `order_type` varchar(45) DEFAULT NULL,
  `order_status` varchar(45) DEFAULT NULL,
  `order_date` date DEFAULT NULL,
  `order_incharge` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_created_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `order_details` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_order_status_master_table`
--

DROP TABLE IF EXISTS `tna_order_status_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_order_status_master_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `order_status` varchar(45) DEFAULT NULL,
  `description` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_order_type_master_table`
--

DROP TABLE IF EXISTS `tna_order_type_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_order_type_master_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `order_type` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `description` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_process_description`
--

DROP TABLE IF EXISTS `tna_process_description`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_process_description` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `description` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  `latitude` varchar(250) DEFAULT NULL,
  `longitude` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_desc_idx` (`main_id_fk`),
  CONSTRAINT `main_id_desc` FOREIGN KEY (`main_id_fk`) REFERENCES `tna_task_process_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_process_master`
--

DROP TABLE IF EXISTS `tna_process_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_process_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `process_name` varchar(45) DEFAULT NULL,
  `approval_department` varchar(45) DEFAULT NULL,
  `days` varchar(45) DEFAULT NULL,
  `buffer_days` varchar(45) DEFAULT NULL,
  `process_category` varchar(250) DEFAULT NULL,
  `process_sub_category` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `other_details` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_process_status_master`
--

DROP TABLE IF EXISTS `tna_process_status_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_process_status_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `process_status` varchar(45) DEFAULT NULL,
  `created_on` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_style_master`
--

DROP TABLE IF EXISTS `tna_style_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_style_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `style_no` varchar(250) DEFAULT NULL,
  `style_color` varchar(250) DEFAULT NULL,
  `fabric` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `other_details` varchar(250) DEFAULT NULL,
  `ext_file` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_sub_category_master`
--

DROP TABLE IF EXISTS `tna_sub_category_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_sub_category_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `sub_category` varchar(250) DEFAULT NULL,
  `category` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_super_sub_category_master`
--

DROP TABLE IF EXISTS `tna_super_sub_category_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_super_sub_category_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `super_sub_category` varchar(250) DEFAULT NULL,
  `sub_category` varchar(250) DEFAULT NULL,
  `category` varchar(250) DEFAULT NULL,
  `describition` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(250) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_task_desc_table`
--

DROP TABLE IF EXISTS `tna_task_desc_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_task_desc_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `description` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `desc_id_fk_idx` (`main_id_fk`),
  CONSTRAINT `desc_id_fk` FOREIGN KEY (`main_id_fk`) REFERENCES `tna_task_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_task_main_table`
--

DROP TABLE IF EXISTS `tna_task_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_task_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `template_name` varchar(45) DEFAULT NULL,
  `supplied_to` varchar(45) DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `tna_status` varchar(45) DEFAULT NULL,
  `tna_approved_status` varchar(45) DEFAULT NULL,
  `location` varchar(45) DEFAULT NULL,
  `order_type` varchar(45) DEFAULT NULL,
  `order_details` varchar(250) DEFAULT NULL,
  `color` varchar(45) DEFAULT NULL,
  `style` varchar(45) DEFAULT NULL,
  `other_details` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `order_id` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_task_process_table`
--

DROP TABLE IF EXISTS `tna_task_process_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_task_process_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) NOT NULL,
  `process_name` varchar(45) DEFAULT NULL,
  `days` varchar(45) DEFAULT NULL,
  `buffer_days` int(11) DEFAULT NULL,
  `assigned_department` varchar(45) DEFAULT NULL,
  `assigned_to` varchar(45) DEFAULT NULL,
  `process_status` varchar(45) DEFAULT NULL,
  `remarks` text,
  `planned_start_date` date DEFAULT NULL,
  `planned_end_date` date DEFAULT NULL,
  `actual_start_date` date DEFAULT NULL,
  `actual_end_date` date DEFAULT NULL,
  `approved_date` date DEFAULT NULL,
  `supplier` varchar(250) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `ordered` int(11) DEFAULT NULL,
  `proposed_date` date DEFAULT NULL,
  `propose_status` varchar(45) DEFAULT NULL,
  `subject` text,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_pr_idx` (`tid`),
  KEY `main_id_fk_pr_idx1` (`main_id_fk`),
  CONSTRAINT `main_id_fk_pr` FOREIGN KEY (`main_id_fk`) REFERENCES `tna_task_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_template_master`
--

DROP TABLE IF EXISTS `tna_template_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_template_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `template_name` varchar(45) DEFAULT NULL,
  `description` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `tna_template_process_master`
--

DROP TABLE IF EXISTS `tna_template_process_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tna_template_process_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `process_name` varchar(45) DEFAULT NULL,
  `approval_department` varchar(45) DEFAULT NULL,
  `days` varchar(45) DEFAULT NULL,
  `buffer_days` varchar(45) DEFAULT NULL,
  `ordered` int(11) DEFAULT NULL,
  `subject` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `main_id_fk_process_idx` (`main_id_fk`),
  KEY `main_id_template_process_idx` (`main_id_fk`),
  CONSTRAINT `main_id_template_process` FOREIGN KEY (`main_id_fk`) REFERENCES `tna_template_master` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_inward_main_table`
--

DROP TABLE IF EXISTS `triming_and_checking_inward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_inward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` varchar(95) DEFAULT NULL,
  `a6` varchar(95) DEFAULT NULL,
  `a7` varchar(95) DEFAULT NULL,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` varchar(95) DEFAULT NULL,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` varchar(95) DEFAULT NULL,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_inward_product_table`
--

DROP TABLE IF EXISTS `triming_and_checking_inward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_inward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_triming_and_checking_inward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_triming_and_checking_inward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `triming_and_checking_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_inward_tax_dis_table`
--

DROP TABLE IF EXISTS `triming_and_checking_inward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_inward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_triming_and_checking_inward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_triming_and_checking_inward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `triming_and_checking_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_outward_main_table`
--

DROP TABLE IF EXISTS `triming_and_checking_outward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_outward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` varchar(95) DEFAULT NULL,
  `a6` varchar(95) DEFAULT NULL,
  `a7` varchar(95) DEFAULT NULL,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` varchar(95) DEFAULT NULL,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` varchar(95) DEFAULT NULL,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_outward_product_table`
--

DROP TABLE IF EXISTS `triming_and_checking_outward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_outward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_triming_and_checking_outward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_triming_and_checking_outward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `triming_and_checking_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_outward_tax_dis_table`
--

DROP TABLE IF EXISTS `triming_and_checking_outward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_outward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_triming_and_checking_outward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_triming_and_checking_outward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `triming_and_checking_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_return_main_table`
--

DROP TABLE IF EXISTS `triming_and_checking_return_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_return_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` varchar(95) DEFAULT NULL,
  `a6` varchar(95) DEFAULT NULL,
  `a7` varchar(95) DEFAULT NULL,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` varchar(95) DEFAULT NULL,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` varchar(95) DEFAULT NULL,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_return_product_table`
--

DROP TABLE IF EXISTS `triming_and_checking_return_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_return_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_triming_and_checking_return_main_idx` (`main_id_fk`),
  CONSTRAINT `key_triming_and_checking_return_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `triming_and_checking_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `triming_and_checking_return_tax_dis_table`
--

DROP TABLE IF EXISTS `triming_and_checking_return_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `triming_and_checking_return_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_triming_and_checking_return_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_triming_and_checking_return_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `triming_and_checking_return_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `trims_issue_dc_main_table`
--

DROP TABLE IF EXISTS `trims_issue_dc_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `trims_issue_dc_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `trims_issue_dc_product_table`
--

DROP TABLE IF EXISTS `trims_issue_dc_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `trims_issue_dc_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_trims_issue_dc_main_idx` (`main_id_fk`),
  CONSTRAINT `key_trims_issue_dc_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `trims_issue_dc_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `trims_issue_dc_tax_dis_table`
--

DROP TABLE IF EXISTS `trims_issue_dc_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `trims_issue_dc_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_trims_issue_dc_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_trims_issue_dc_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `trims_issue_dc_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `trims_shortage_dc_main_table`
--

DROP TABLE IF EXISTS `trims_shortage_dc_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `trims_shortage_dc_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `trims_shortage_dc_product_table`
--

DROP TABLE IF EXISTS `trims_shortage_dc_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `trims_shortage_dc_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_trims_shortage_dc_main_idx` (`main_id_fk`),
  CONSTRAINT `key_trims_shortage_dc_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `trims_shortage_dc_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `trims_shortage_dc_tax_dis_table`
--

DROP TABLE IF EXISTS `trims_shortage_dc_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `trims_shortage_dc_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_trims_shortage_dc_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_trims_shortage_dc_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `trims_shortage_dc_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `uom_master_table`
--

DROP TABLE IF EXISTS `uom_master_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `uom_master_table` (
  `uom_name` varchar(90) NOT NULL,
  PRIMARY KEY (`uom_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `user_privilage_json_table`
--

DROP TABLE IF EXISTS `user_privilage_json_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_privilage_json_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `user_type` varchar(250) DEFAULT NULL,
  `json_data` text,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `json_output_reports` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `user_privilage_table`
--

DROP TABLE IF EXISTS `user_privilage_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_privilage_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `user_group` varchar(180) DEFAULT NULL,
  `privilage_name` varchar(200) DEFAULT NULL,
  `category` varchar(200) DEFAULT NULL,
  `create_access` varchar(10) DEFAULT NULL,
  `update_access` varchar(10) DEFAULT NULL,
  `delete_access` varchar(10) DEFAULT NULL,
  `print_access` varchar(10) DEFAULT NULL,
  `email_access` varchar(10) DEFAULT NULL,
  `sms_access` varchar(10) DEFAULT NULL,
  `export_access` varchar(10) DEFAULT NULL,
  `action_access` varchar(10) DEFAULT NULL,
  `approve_access` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `user_table`
--

DROP TABLE IF EXISTS `user_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_table` (
  `email_address` varchar(95) NOT NULL,
  `password` varchar(95) DEFAULT NULL,
  `account_name` varchar(95) DEFAULT NULL,
  `user_type` varchar(45) DEFAULT NULL,
  `m_access` varchar(45) DEFAULT NULL,
  `email_account` varchar(95) DEFAULT NULL,
  `staff_name` varchar(95) DEFAULT NULL,
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `ext_file` varchar(45) DEFAULT NULL,
  `user_status` varchar(45) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  `last_updated_on` date DEFAULT NULL,
  `last_updated_by` varchar(45) DEFAULT NULL,
  `device_no` varchar(45) DEFAULT NULL,
  `profile_color` varchar(45) DEFAULT NULL,
  `customer_id` varchar(45) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`email_address`),
  UNIQUE KEY `tid_UNIQUE` (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=114 DEFAULT CHARSET=latin1 COMMENT='		';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `user_type_master`
--

DROP TABLE IF EXISTS `user_type_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_type_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `user_type` varchar(100) DEFAULT NULL,
  `notes` varchar(100) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `variant_master`
--

DROP TABLE IF EXISTS `variant_master`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `variant_master` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `variant` varchar(100) DEFAULT NULL,
  `notes` text,
  `model` varchar(100) DEFAULT NULL,
  `color` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `visitor_log_table`
--

DROP TABLE IF EXISTS `visitor_log_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `visitor_log_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `visitor_name` varchar(120) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `visit_purpose` text,
  `in_time` varchar(45) DEFAULT NULL,
  `out_time` varchar(45) DEFAULT NULL,
  `other_details` text,
  `company_name` varchar(120) DEFAULT NULL,
  `contact_no` varchar(120) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `warehouse_stock_table`
--

DROP TABLE IF EXISTS `warehouse_stock_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `warehouse_stock_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `warehouse` varchar(150) DEFAULT NULL,
  `sku` varchar(200) DEFAULT NULL,
  `stock` decimal(10,3) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `warehouse_stock_transfer_main_table`
--

DROP TABLE IF EXISTS `warehouse_stock_transfer_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `warehouse_stock_transfer_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` varchar(95) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` varchar(95) DEFAULT NULL,
  `a6` varchar(95) DEFAULT NULL,
  `a7` varchar(95) DEFAULT NULL,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` varchar(95) DEFAULT NULL,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` varchar(95) DEFAULT NULL,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  `company_profile` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `warehouse_stock_transfer_product_table`
--

DROP TABLE IF EXISTS `warehouse_stock_transfer_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `warehouse_stock_transfer_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_warehouse_stock_transfer_main_idx` (`main_id_fk`),
  CONSTRAINT `key_warehouse_stock_transfer_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `warehouse_stock_transfer_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `warehouse_stock_transfer_tax_dis_table`
--

DROP TABLE IF EXISTS `warehouse_stock_transfer_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `warehouse_stock_transfer_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_warehouse_stock_transfer_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_warehouse_stock_transfer_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `warehouse_stock_transfer_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `warranty_card`
--

DROP TABLE IF EXISTS `warranty_card`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `warranty_card` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `company_name` varchar(200) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `warranty_till` date DEFAULT NULL,
  `product_code` varchar(200) DEFAULT NULL,
  `serial_number` varchar(200) DEFAULT NULL,
  `model` varchar(200) DEFAULT NULL,
  `material_name` varchar(200) DEFAULT NULL,
  `details` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `warranty_table`
--

DROP TABLE IF EXISTS `warranty_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `warranty_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `product_code` varchar(90) DEFAULT NULL,
  `serial_no` varchar(90) DEFAULT NULL,
  `company_name` varchar(200) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `warranty_till` date DEFAULT NULL,
  `modal` varchar(200) DEFAULT NULL,
  `modal_name` varchar(200) DEFAULT NULL,
  `details` text,
  `contact_no` varchar(200) DEFAULT NULL,
  `email` varchar(200) DEFAULT NULL,
  `warranty_type` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `warrenty_card_table`
--

DROP TABLE IF EXISTS `warrenty_card_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `warrenty_card_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `sku` varchar(200) DEFAULT NULL,
  `serial_no` varchar(250) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `valid_till_date` date DEFAULT NULL,
  `company_name` varchar(200) DEFAULT NULL,
  `reference_number` varchar(200) DEFAULT NULL,
  `other_details` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `wastage_table`
--

DROP TABLE IF EXISTS `wastage_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `wastage_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `create_date` date DEFAULT NULL,
  `machine` varchar(200) DEFAULT NULL,
  `staff` varchar(200) DEFAULT NULL,
  `qty` decimal(10,3) DEFAULT NULL,
  `details` text,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_inward_main_table`
--

DROP TABLE IF EXISTS `yarn_inward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_inward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` int(11) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` varchar(95) DEFAULT NULL,
  `a6` varchar(95) DEFAULT NULL,
  `a7` varchar(95) DEFAULT NULL,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` varchar(95) DEFAULT NULL,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` varchar(95) DEFAULT NULL,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_inward_product_table`
--

DROP TABLE IF EXISTS `yarn_inward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_inward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_yarn_inward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_yarn_inward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `yarn_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_inward_tax_dis_table`
--

DROP TABLE IF EXISTS `yarn_inward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_inward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_yarn_inward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_yarn_inward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `yarn_inward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_outward_main_table`
--

DROP TABLE IF EXISTS `yarn_outward_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_outward_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(10) DEFAULT NULL,
  `narration` varchar(45) DEFAULT NULL,
  `jobwork_id` int(11) DEFAULT NULL,
  `a1` varchar(95) DEFAULT NULL,
  `a2` varchar(95) DEFAULT NULL,
  `a3` varchar(95) DEFAULT NULL,
  `a4` varchar(95) DEFAULT NULL,
  `a5` varchar(95) DEFAULT NULL,
  `a6` varchar(95) DEFAULT NULL,
  `a7` varchar(95) DEFAULT NULL,
  `a8` varchar(95) DEFAULT NULL,
  `a9` varchar(95) DEFAULT NULL,
  `a10` varchar(95) DEFAULT NULL,
  `a11` varchar(95) DEFAULT NULL,
  `a12` varchar(95) DEFAULT NULL,
  `a13` varchar(95) DEFAULT NULL,
  `a14` varchar(95) DEFAULT NULL,
  `a15` varchar(95) DEFAULT NULL,
  `a16` varchar(95) DEFAULT NULL,
  `a17` varchar(95) DEFAULT NULL,
  `a18` varchar(95) DEFAULT NULL,
  `a19` varchar(95) DEFAULT NULL,
  `a20` varchar(95) DEFAULT NULL,
  `a21` varchar(95) DEFAULT NULL,
  `a22` varchar(95) DEFAULT NULL,
  `a23` varchar(95) DEFAULT NULL,
  `a24` varchar(95) DEFAULT NULL,
  `a25` varchar(95) DEFAULT NULL,
  `a26` varchar(95) DEFAULT NULL,
  `a27` varchar(95) DEFAULT NULL,
  `a28` varchar(95) DEFAULT NULL,
  `a29` varchar(95) DEFAULT NULL,
  `a30` varchar(95) DEFAULT NULL,
  `status` varchar(95) DEFAULT NULL,
  `approved_status` varchar(95) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_outward_product_table`
--

DROP TABLE IF EXISTS `yarn_outward_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_outward_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` varchar(95) DEFAULT NULL,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` varchar(95) DEFAULT NULL,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_yarn_outward_main_idx` (`main_id_fk`),
  CONSTRAINT `key_yarn_outward_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `yarn_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_outward_tax_dis_table`
--

DROP TABLE IF EXISTS `yarn_outward_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_outward_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_yarn_outward_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_yarn_outward_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `yarn_outward_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_po_main_table`
--

DROP TABLE IF EXISTS `yarn_po_main_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_po_main_table` (
  `tid` int(11) NOT NULL AUTO_INCREMENT,
  `generate_no` int(11) DEFAULT NULL,
  `company_name` varchar(95) DEFAULT NULL,
  `create_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `renewal_date` date DEFAULT NULL,
  `terms` text,
  `other_details` text,
  `tags` varchar(95) DEFAULT NULL,
  `transport_details` text,
  `dc_inward_details` text,
  `staffname` varchar(95) DEFAULT NULL,
  `order_number` varchar(45) DEFAULT NULL,
  `reference_number` varchar(45) DEFAULT NULL,
  `reduce_to_stock` tinyint(1) DEFAULT NULL,
  `add_to_stock` tinyint(1) DEFAULT NULL,
  `print_form_type` varchar(95) DEFAULT NULL,
  `accounting_year` varchar(200) DEFAULT NULL,
  `narration` text,
  `jobwork_id` varchar(250) DEFAULT NULL,
  `a1` varchar(200) DEFAULT NULL,
  `a2` varchar(200) DEFAULT NULL,
  `a3` varchar(200) DEFAULT NULL,
  `a4` varchar(200) DEFAULT NULL,
  `a5` varchar(200) DEFAULT NULL,
  `a6` varchar(200) DEFAULT NULL,
  `a7` varchar(200) DEFAULT NULL,
  `a8` varchar(200) DEFAULT NULL,
  `a9` varchar(200) DEFAULT NULL,
  `a10` varchar(200) DEFAULT NULL,
  `a11` varchar(200) DEFAULT NULL,
  `a12` varchar(200) DEFAULT NULL,
  `a13` varchar(200) DEFAULT NULL,
  `a14` varchar(200) DEFAULT NULL,
  `a15` varchar(200) DEFAULT NULL,
  `a16` varchar(200) DEFAULT NULL,
  `a17` varchar(200) DEFAULT NULL,
  `a18` varchar(200) DEFAULT NULL,
  `a19` varchar(200) DEFAULT NULL,
  `a20` varchar(200) DEFAULT NULL,
  `a21` varchar(200) DEFAULT NULL,
  `a22` text,
  `a23` varchar(200) DEFAULT NULL,
  `a24` varchar(200) DEFAULT NULL,
  `a25` varchar(200) DEFAULT NULL,
  `a26` varchar(200) DEFAULT NULL,
  `a27` varchar(200) DEFAULT NULL,
  `a28` varchar(200) DEFAULT NULL,
  `a29` varchar(200) DEFAULT NULL,
  `a30` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `approved_status` varchar(200) DEFAULT NULL,
  `round_off` decimal(10,2) DEFAULT NULL,
  `warehouse` varchar(150) DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `created_by` varchar(200) DEFAULT NULL,
  `other_charges` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_po_product_table`
--

DROP TABLE IF EXISTS `yarn_po_product_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_po_product_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `product_name` text,
  `description` text,
  `c1` varchar(95) DEFAULT NULL,
  `c2` varchar(95) DEFAULT NULL,
  `c3` varchar(95) DEFAULT NULL,
  `c4` varchar(95) DEFAULT NULL,
  `c5` varchar(95) DEFAULT NULL,
  `c6` varchar(95) DEFAULT NULL,
  `c7` varchar(95) DEFAULT NULL,
  `c8` varchar(95) DEFAULT NULL,
  `qty` decimal(10,3) NOT NULL DEFAULT '0.000',
  `rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_percentage` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_inc_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pack_stcok` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit` varchar(45) DEFAULT NULL,
  `c9` varchar(95) DEFAULT NULL,
  `c10` varchar(95) DEFAULT NULL,
  `c11` text,
  `c12` varchar(95) DEFAULT NULL,
  `c13` varchar(95) DEFAULT NULL,
  `c14` varchar(95) DEFAULT NULL,
  `c15` varchar(95) DEFAULT NULL,
  `c16` varchar(95) DEFAULT NULL,
  `discount_percentage` decimal(10,2) DEFAULT NULL,
  `discount_amt` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_yarn_po_main_idx` (`main_id_fk`),
  CONSTRAINT `key_yarn_po_product_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `yarn_po_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `yarn_po_tax_dis_table`
--

DROP TABLE IF EXISTS `yarn_po_tax_dis_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `yarn_po_tax_dis_table` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `main_id_fk` int(11) DEFAULT NULL,
  `tax_dis_name` varchar(45) DEFAULT NULL,
  `tax_dis_amount` decimal(10,2) DEFAULT NULL,
  `cgst_percentage` decimal(10,2) DEFAULT NULL,
  `cgst_amt` decimal(10,2) DEFAULT NULL,
  `sgst_percentage` decimal(10,2) DEFAULT NULL,
  `sgst_amt` decimal(10,2) DEFAULT NULL,
  `igst_percentage` decimal(10,2) DEFAULT NULL,
  `igst_amt` decimal(10,2) DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `action` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`tid`),
  KEY `key_yarn_po_tax_dis_call_main_idx` (`main_id_fk`),
  CONSTRAINT `key_yarn_po_tax_dis_call_main` FOREIGN KEY (`main_id_fk`) REFERENCES `yarn_po_main_table` (`tid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2024-11-26 15:18:46
