--
-- Host: localhost    Database: gmdbafwaj26
-- ------------------------------------------------------


--
-- Table structure for table `account_groups`
--

CREATE TABLE `account_groups` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Group_ID` varchar(25) NOT NULL,
  `Group_Name` varchar(50) NOT NULL,
  `Parent_ID` varchar(25) NOT NULL,
  `Group_Type` varchar(50) DEFAULT NULL,
  `Group_Category` varchar(50) DEFAULT NULL,
  `DefaultRecord` tinyint(1) DEFAULT NULL,
  `Date_Created` timestamp NULL DEFAULT current_timestamp(),
  `Last_Modified` timestamp NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci ROW_FORMAT=COMPACT;

--
-- Dumping data for table `account_groups`
--

INSERT INTO `account_groups` VALUES
(1,'0','Primary','-1',NULL,NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(2,'0x1','Loan','0','Liabilities',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(3,'0x2','Current Liabilities','0','Liabilities','0',0,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(4,'0x3','Fixed Assets','0','Assets',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(5,'0x4','Investments','0','Assets',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(6,'0x5','Current Assets','0','Assets',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(7,'0x6','Misc. Expenses','0','Expense',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(8,'0x7','Sales Accounts','0','Income','0',0,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(9,'0x8','Purchase Accounts','0','Expense',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(10,'0x9','Direct Income','0','Income',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(11,'0x10','Direct Expense','0','Expense',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(12,'0x11','Indirect Income','0','Income',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(13,'0x12','Indirect Expense','0','Expense',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(14,'0x1x13','Bank O/D Account','0x1','Liabilities',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(15,'0x2x14','Duties and Taxes','0x2','Liabilities',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(16,'0x2x15','Sundry Creditors','0x2','Liabilities',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(17,'0x2x16','Stock-in-Hand','0x2','Liabilities',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(18,'0x4x17','Deposits(Assets)','0x5','Assets',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(19,'0x5x18','Loans and Advances','0x5','Liabilities',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(20,'0x5x19','Sundry Debtors','0x5','Assets',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(21,'0x5x21','Bank Accounts','0x5','Assets',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(22,'0x22','Capital Account','0','Liabilities',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(23,'0x5x23','Cash-in-Hand','0x5','Assets',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(24,'0x12x26','SHOP MAINT','0x12','Expense',NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(25,'0x22x55','Shabz1','0x22',NULL,NULL,1,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(26,'0x12x56','SHOP EXPENSE','0x12','Expense','0',NULL,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(27,'0x12x57','Food Expenses','0x12','Expense','0',NULL,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(28,'0x12x58','Non Food Expenses','0x12','Expense','0',NULL,'2022-04-01 06:08:21','2022-04-01 06:08:21'),
(29,'0x2x15x29','shamseegar','0x2x15',NULL,'0',NULL,'2022-04-01 06:08:21','2022-04-01 06:08:21');

--
-- Table structure for table `address_book`
--

CREATE TABLE `address_book` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Address_Id` varchar(500) NOT NULL,
  `Name` varchar(1000) DEFAULT NULL,
  `Designation` varchar(500) DEFAULT NULL,
  `Company_Name` varchar(500) DEFAULT NULL,
  `Email` varchar(500) DEFAULT NULL,
  `Ledger` varchar(1000) DEFAULT NULL,
  `Narration` varchar(1000) DEFAULT NULL,
  `TimeStamp` datetime DEFAULT current_timestamp(),
  `Building` varchar(500) DEFAULT NULL,
  `Street` varchar(500) DEFAULT NULL,
  `City` varchar(500) DEFAULT NULL,
  `Country` varchar(500) DEFAULT NULL,
  `POBox` varchar(100) DEFAULT NULL,
  `Phone_Number` varchar(100) DEFAULT NULL,
  `Mobile_Number` varchar(100) DEFAULT NULL,
  `Location` varchar(1000) DEFAULT NULL,
  `isCompanyEmployee` tinyint(4) DEFAULT NULL,
  `isIndividual` tinyint(4) DEFAULT NULL,
  `isVendor` tinyint(4) DEFAULT NULL,
  `Type` int(11) NOT NULL,
  `Address` varchar(1000) DEFAULT NULL,
  `Fax` varchar(100) DEFAULT NULL,
  `Location_Details` longtext DEFAULT NULL,
  `Route` varchar(20) DEFAULT NULL,
  `CustomerCode` varchar(20) DEFAULT NULL,
  `DateOfBirth` date DEFAULT NULL,
  `Contact_Uuid` varchar(100) DEFAULT NULL,
  `isActive` tinyint(1) DEFAULT 0,
  `Delivery_Charges` float(10,2) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `address_book`
--

INSERT INTO `address_book` VALUES
(1,'c021294c-9ede-11f0-a072-94bb435b6e67','',NULL,NULL,'',NULL,NULL,'2025-10-01 19:53:10',NULL,NULL,NULL,NULL,NULL,'0527880353',NULL,NULL,NULL,NULL,NULL,0,'',NULL,'[\"\"]','','0','2000-01-01',NULL,0,0.00),
(2,'1bbd7cbf-fc6a-11f0-968e-e43a6e5a433a','',NULL,NULL,'',NULL,NULL,'2026-01-28 20:55:11',NULL,NULL,NULL,NULL,NULL,'5085544',NULL,NULL,NULL,NULL,NULL,65536039,'',NULL,'[\"\"]','','1','2000-01-01',NULL,0,0.00),
(3,'11cd40c5-00f4-11f1-968e-e43a6e5a433a','SAGARI',NULL,NULL,'',NULL,NULL,'2026-02-03 15:32:37',NULL,NULL,NULL,NULL,NULL,'0252526399',NULL,NULL,NULL,NULL,NULL,0,'ABHUDHABI',NULL,'[\"ABHUDHABI\"]','','2','2000-01-01',NULL,0,0.00),
(4,'80ac9eb7-0977-11f1-98e2-e43a6e5a433a','MR',NULL,NULL,'',NULL,NULL,'2026-02-14 11:33:42',NULL,NULL,NULL,NULL,NULL,'0545582286',NULL,NULL,NULL,NULL,NULL,2097210,'GREENHOUSE 1505',NULL,'[\"\",\"GREENHOUSE 1505\"]','','4','2000-01-01',NULL,0,0.00),
(5,'2fdba047-0f35-11f1-98e2-e43a6e5a433a','sir',NULL,NULL,'',NULL,NULL,'2026-02-21 18:53:49',NULL,NULL,NULL,NULL,NULL,'0554161836',NULL,NULL,NULL,NULL,NULL,5424,'rainbow 410',NULL,'[\"rainbow 410\"]','','5','2000-01-01',NULL,0,0.00);

--
-- Table structure for table `attendance_details`
--

CREATE TABLE `attendance_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Employee_Id` varchar(20) NOT NULL,
  `Working_Day` date NOT NULL,
  `Start_Time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `End_Time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Working_Hours` int(11) NOT NULL,
  `OverTime` int(11) NOT NULL,
  `HalfDay` tinyint(1) NOT NULL,
  `Narration` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `attendance_details`
--

INSERT INTO `attendance_details` VALUES
(1,'2','2021-05-11','2021-05-10 23:44:39','2021-05-11 07:44:39',8,0,0,NULL),
(2,'3','2021-05-11','2021-05-10 23:44:39','2021-05-11 07:44:39',8,0,0,NULL),
(3,'2','2021-05-12','2021-05-11 23:44:52','2021-05-12 07:44:52',8,0,0,NULL),
(4,'3','2021-05-12','2021-05-11 23:44:52','2021-05-12 07:44:52',8,0,0,NULL);

--
-- Table structure for table `billwise_records`
--

CREATE TABLE `billwise_records` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `voucherPrefix` varchar(50) DEFAULT NULL,
  `VoucherType` varchar(200) DEFAULT NULL,
  `VoucherNo` varchar(200) DEFAULT NULL,
  `LedgerID` varchar(200) DEFAULT NULL,
  `RefType` varchar(50) DEFAULT NULL,
  `RefNo` varchar(200) DEFAULT NULL,
  `RefPrefix` varchar(200) DEFAULT NULL,
  `DebitAmount` float DEFAULT NULL,
  `CreditAmount` float DEFAULT NULL,
  `VoucherDate` datetime DEFAULT NULL,
  `Method_of_adj` varchar(100) DEFAULT NULL,
  `Due_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `billwise_records`
--


--
-- Table structure for table `brands`
--

CREATE TABLE `brands` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Brand_Name` varchar(150) NOT NULL,
  `Brand_Description` varchar(2000) DEFAULT NULL,
  `Last_Modified` timestamp NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `brands`
--

INSERT INTO `brands` VALUES
(1,'',NULL,'2021-11-04 13:20:56');

--
-- Table structure for table `category`
--

CREATE TABLE `category` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `category_id` int(11) NOT NULL,
  `category_name` varchar(20) DEFAULT NULL,
  `Description` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `category`
--

INSERT INTO `category` VALUES
(1,1,'STORE',NULL),
(2,2,'BAKERY',NULL),
(3,3,'RESTAUARANT',NULL),
(4,4,'',NULL),
(5,5,'',NULL),
(6,6,'',NULL);

--
-- Table structure for table `cheque_details`
--

CREATE TABLE `cheque_details` (
  `_id` int(10) NOT NULL AUTO_INCREMENT,
  `ledger_id` varchar(25) NOT NULL,
  `bank_name` varchar(100) DEFAULT NULL,
  `branch_name` varchar(100) DEFAULT NULL,
  `Instrument_No` varchar(50) DEFAULT NULL,
  `VoucherType` varchar(100) DEFAULT NULL,
  `VoucherNo` varchar(100) DEFAULT NULL,
  `VoucherPrefix` varchar(100) DEFAULT NULL,
  `Issued_On` date DEFAULT NULL,
  `Presented_On` date DEFAULT NULL,
  `Cleared_On` date DEFAULT NULL,
  `Instrument_Date` date DEFAULT NULL,
  `is_Presented` tinyint(1) DEFAULT NULL,
  `is_Cleared` tinyint(1) DEFAULT NULL,
  `is_Returned` tinyint(1) DEFAULT NULL,
  `Reconciled_On` date DEFAULT NULL,
  `Narration` varchar(250) DEFAULT NULL,
  `debit_amount` decimal(10,2) DEFAULT NULL,
  `credit_amount` decimal(10,2) DEFAULT NULL,
  `Instrument_Type` varchar(20) DEFAULT NULL,
  `Added_By` varchar(50) DEFAULT NULL,
  `timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `Our_Bank_ID` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `cheque_details`
--


--
-- Table structure for table `company_profile`
--

CREATE TABLE `company_profile` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Company_Name` varchar(100) DEFAULT NULL,
  `Branch` varchar(100) DEFAULT NULL,
  `AddressLine` varchar(100) DEFAULT NULL,
  `Email` varchar(100) DEFAULT NULL,
  `Phone_Number` varchar(100) DEFAULT NULL,
  `WebSite` varchar(100) DEFAULT NULL,
  `TRN` varchar(100) DEFAULT NULL,
  `Logo` mediumblob DEFAULT NULL,
  `Manager_Name` varchar(100) DEFAULT NULL,
  `Currency` varchar(100) DEFAULT NULL,
  `Bill_Tag_Line` varchar(100) DEFAULT NULL,
  `City` varchar(100) DEFAULT NULL,
  `Country` varchar(100) DEFAULT NULL,
  `LedgerId` varchar(100) DEFAULT NULL,
  `Location` varchar(100) DEFAULT NULL,
  `Building` varchar(100) DEFAULT NULL,
  `POBox` varchar(100) DEFAULT NULL,
  `Street` varchar(100) DEFAULT NULL,
  `Fax` varchar(100) DEFAULT NULL,
  `Date_Of_Establishment` date DEFAULT NULL,
  `Mobile_Number` varchar(100) DEFAULT NULL,
  `Notes` varchar(500) DEFAULT NULL,
  `License_Number` varchar(100) DEFAULT NULL,
  `Installation_Date` date DEFAULT NULL,
  `To_Mail_Addresses` varchar(1000) DEFAULT NULL,
  `FssaiLicense` varchar(200) DEFAULT NULL,
  `UseBom` tinyint(1) DEFAULT NULL,
  `Bank_Details` varchar(500) DEFAULT NULL,
  `Expiry_Date` date DEFAULT '2023-12-03',
  `Expiry_Msg` varchar(2000) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `company_profile`
--

INSERT INTO `company_profile` VALUES
(1,'AFWAJH CATERING LLC','ALJAZIRAH ALHAMRA SHOP NO 1, RAKZ \n','RAS AL KHAIMAH - UAE','','050-3806650',NULL,'104778103200003',NULL,NULL,'AED','THANK YOU. VISIT AGAIN.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,'2024-03-21','sarath@rhguae.com|auditor@rhguae.com|avinash@rhguae.com|accounts@rhguae.com',NULL,NULL,NULL,'2028-02-03','Inproper Shutdown! Contact Admin!!!');

--
-- Table structure for table `complaintregister_log`
--

CREATE TABLE `complaintregister_log` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Details_ID` int(11) DEFAULT NULL,
  `User_Id` int(11) DEFAULT NULL,
  `TimeStamp` timestamp NULL DEFAULT current_timestamp(),
  `Date` date DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `complaintregister_log`
--


--
-- Table structure for table `config_settings`
--

CREATE TABLE `config_settings` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `GMKey` varchar(100) NOT NULL,
  `GMValue` varchar(250) DEFAULT NULL,
  `Time_Stamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Data_Type` varchar(50) DEFAULT NULL,
  `Text_To_Display` varchar(200) DEFAULT NULL,
  `Value_Type` varchar(100) DEFAULT NULL,
  `Possible_Values` varchar(500) DEFAULT NULL,
  `IsLogged` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=118 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `config_settings`
--

INSERT INTO `config_settings` VALUES
(3,'DB_Version','219.00','2021-07-30 18:21:28',NULL,NULL,NULL,NULL,NULL),
(4,'printCancelledKOT','1','2021-07-30 18:24:50',NULL,NULL,NULL,NULL,NULL),
(5,'deleteKOTItemWithoutRemarks','1','2021-07-30 18:24:50',NULL,NULL,NULL,NULL,NULL),
(6,'askAddress','0','2021-07-30 18:24:50',NULL,NULL,NULL,NULL,NULL),
(7,'NeverAskAddress','0','2021-07-30 18:24:50',NULL,NULL,NULL,NULL,NULL),
(8,'posColCount','4','2021-07-30 18:24:50',NULL,NULL,NULL,NULL,NULL),
(9,'posButtonWidth','120','2021-07-30 18:24:50',NULL,NULL,NULL,NULL,NULL),
(10,'posButtonHeight','60','2021-07-30 18:24:50',NULL,NULL,NULL,NULL,NULL),
(11,'disableItemEditPOS','0','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(12,'allowNegativeBilling','0','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(13,'POSallowSOCopy','1','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(14,'taxName','VAT','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(15,'showCustomerNameinPOS','0','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(16,'Ask For Print','0','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(17,'SaveOnRefresh','0','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(18,'showPrintOnOff','0','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(19,'ShowPlus5','0','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(20,'FeatAdj','0','2021-07-30 18:24:51',NULL,NULL,NULL,NULL,NULL),
(21,'printFormat','3','2021-08-02 06:32:06',NULL,NULL,NULL,NULL,NULL),
(22,'kotFormat','1','2021-08-02 06:34:54',NULL,NULL,NULL,NULL,NULL),
(23,'tabBillPrinter','Counter','2021-08-05 13:17:04',NULL,NULL,NULL,NULL,NULL),
(24,'tablesViewColCount','6','2021-08-06 18:29:11',NULL,NULL,NULL,NULL,NULL),
(25,'TakeawayCount','0','2021-08-06 18:29:11',NULL,NULL,NULL,NULL,NULL),
(26,'showRouteFilterInDrafts','0','2021-08-07 09:45:25',NULL,NULL,NULL,NULL,NULL),
(27,'POSDrafttableHideCol','1','2021-08-07 09:45:25',NULL,NULL,NULL,NULL,NULL),
(28,'billPreviewWidthPercent','35','2021-08-07 09:45:25',NULL,NULL,NULL,NULL,NULL),
(29,'showPrefixInRegister','1','2021-08-12 13:35:44',NULL,NULL,NULL,NULL,NULL),
(30,'useDefaultItemSection','0','2021-08-12 13:36:51',NULL,NULL,NULL,NULL,NULL),
(31,'promptItemChecklist','0','2021-08-12 13:36:52',NULL,NULL,NULL,NULL,NULL),
(32,'checkShift','0','2021-08-27 07:06:21',NULL,NULL,NULL,NULL,NULL),
(33,'showStockReportInShift','0','2021-08-27 07:06:41',NULL,NULL,NULL,NULL,NULL),
(34,'RefPrintSize','4','2021-08-27 07:07:05',NULL,NULL,NULL,NULL,NULL),
(35,'refString','Ref','2021-08-27 07:07:05',NULL,NULL,NULL,NULL,NULL),
(36,'timePrintSize','4','2021-08-27 07:07:08',NULL,NULL,NULL,NULL,NULL),
(37,'autoOpenTill','1','2021-08-31 20:15:11',NULL,NULL,NULL,NULL,NULL),
(38,'POSshowLedger','1','2021-09-01 13:01:50',NULL,NULL,NULL,NULL,NULL),
(39,'showDiscount','0','2021-09-01 20:08:30',NULL,NULL,NULL,NULL,NULL),
(40,'showTaxinVoucher','1','2021-09-01 20:08:30',NULL,NULL,NULL,NULL,NULL),
(41,'showAllDrafts','1','2021-09-02 04:16:13',NULL,NULL,NULL,NULL,NULL),
(42,'kotCompanyName','1','2021-09-03 15:10:10',NULL,NULL,NULL,NULL,NULL),
(43,'kotItemsFontSize','5','2021-09-03 15:10:10',NULL,NULL,NULL,NULL,NULL),
(44,'shiftNoPendingDraft','0','2021-09-06 11:20:29',NULL,NULL,NULL,NULL,NULL),
(45,'multiVoucherFlag','0','2021-09-07 16:12:03',NULL,NULL,NULL,NULL,NULL),
(46,'printAddressInKot','1','2021-09-07 18:23:08',NULL,NULL,NULL,NULL,NULL),
(47,'address1Route2','1','2021-09-07 18:23:08',NULL,NULL,NULL,NULL,NULL),
(48,'refStringSize','6','2021-09-07 22:14:31',NULL,NULL,NULL,NULL,NULL),
(49,'ServeOnlyPrefix','1','2021-09-07 22:40:00',NULL,NULL,NULL,NULL,NULL),
(51,'TimeSetManuallyPOS','1','2021-09-08 12:36:01',NULL,NULL,NULL,NULL,NULL),
(52,'noDefaultKotPrint','0','2021-09-09 12:02:23',NULL,NULL,NULL,NULL,NULL),
(53,'showBillwiseMapping','0','2021-09-11 11:49:47',NULL,NULL,NULL,NULL,NULL),
(54,'kotAddrPrintSize','5','2021-09-17 10:22:10',NULL,NULL,NULL,NULL,NULL),
(55,'billAddrPrintSize','5','2021-09-17 10:22:10',NULL,NULL,NULL,NULL,NULL),
(56,'kotNarrationTitle','Narration','2021-09-17 10:22:10',NULL,NULL,NULL,NULL,NULL),
(57,'printKOtfromSO','1','2021-09-20 08:39:38',NULL,NULL,NULL,NULL,NULL),
(58,'printVoucherPref','0','2021-10-01 10:45:09',NULL,NULL,NULL,NULL,NULL),
(59,'companyId',NULL,'2021-11-01 07:07:15',NULL,NULL,NULL,NULL,NULL),
(60,'showChequeEntry','0','2021-11-03 19:37:26',NULL,NULL,NULL,NULL,NULL),
(61,'showPriceListForCashOut','0','2021-11-08 15:50:55',NULL,NULL,NULL,NULL,NULL),
(62,'showStockAdjInReport','0','2021-11-09 09:59:31',NULL,NULL,NULL,NULL,NULL),
(63,'showPOS','1','2021-12-04 09:20:26',NULL,NULL,NULL,NULL,NULL),
(64,'allowEmptyAddress','1','2021-12-05 03:58:37',NULL,NULL,NULL,NULL,NULL),
(65,'printBarcode3020','1','2021-12-10 16:08:15',NULL,NULL,NULL,NULL,NULL),
(66,'barcodeSpacing','0.5','2021-12-11 14:50:58',NULL,NULL,NULL,NULL,NULL),
(67,'focusOnCreateNew','1','2021-12-22 23:10:38',NULL,NULL,NULL,NULL,NULL),
(68,'checkDNexists','0','2022-01-27 20:07:18',NULL,NULL,NULL,NULL,NULL),
(69,'tableRowHeight','30','2022-01-29 13:27:23',NULL,NULL,NULL,NULL,NULL),
(70,'reportSortEnabled','1','2022-08-08 14:21:47',NULL,NULL,NULL,NULL,NULL),
(71,'printBarcodeInBill','1','2022-09-22 17:56:35',NULL,NULL,NULL,NULL,NULL),
(72,'itemMasterQuery','63','2022-09-22 17:56:52',NULL,NULL,NULL,NULL,NULL),
(73,'showDateFiltersInReports','1','2022-09-22 18:32:25',NULL,NULL,NULL,NULL,NULL),
(74,'autoAllotRefTable','0','2022-10-09 17:53:10',NULL,NULL,NULL,NULL,NULL),
(75,'POSLang','0','2022-11-15 13:29:57',NULL,NULL,NULL,NULL,NULL),
(76,'shiftOpeningCash','0','2022-11-22 14:47:14',NULL,NULL,NULL,NULL,NULL),
(77,'allowItemMultipleEntry','1','2023-02-28 16:00:42',NULL,NULL,NULL,NULL,NULL),
(78,'showVarianceStock','0','2023-02-28 16:35:22',NULL,NULL,NULL,NULL,NULL),
(79,'showReorderPopup','0','2023-03-06 12:35:01',NULL,NULL,NULL,NULL,NULL),
(80,'minwidPOSTableWidth','200','2023-05-02 04:51:15',NULL,NULL,NULL,NULL,NULL),
(81,'pOSIconSize','50','2023-05-02 04:51:17',NULL,NULL,NULL,NULL,NULL),
(82,'customerscreenfontsize','12','2023-08-16 10:39:34',NULL,NULL,NULL,NULL,NULL),
(83,'leftwords','','2023-09-26 22:31:55',NULL,NULL,NULL,NULL,NULL),
(84,'allowItemDiscinPOS','0','2023-09-26 22:31:55',NULL,NULL,NULL,NULL,NULL),
(85,'billLineAmountWithTax','1','2023-09-26 23:31:06',NULL,NULL,NULL,NULL,NULL),
(86,'printBillLinePriceWithTax','1','2023-09-26 23:31:06',NULL,NULL,NULL,NULL,NULL),
(87,'hideComplimentaryButton','0','2023-09-27 21:48:36',NULL,NULL,NULL,NULL,NULL),
(88,'hideLoyalityButton','1','2023-09-27 21:48:36',NULL,NULL,NULL,NULL,NULL),
(89,'allowedDiscounts','-1','2023-09-27 21:48:36',NULL,NULL,NULL,NULL,NULL),
(90,'printItemNarrationinBill','0','2023-11-27 20:31:58',NULL,NULL,NULL,NULL,NULL),
(91,'printItemNarrationinSO','0','2023-12-06 20:02:21',NULL,NULL,NULL,NULL,NULL),
(92,'reporLineHeight','15','2024-05-02 10:25:33',NULL,NULL,NULL,NULL,NULL),
(93,'Tables-A','Table-1|Table-2|Table-3|Table-4|Table-5|Table-6|Table-7|Table-8|Table-9|Table-10|Table-11|Table-12|Table-13|Table-14|Table-15|Table-16|Table-17|Table-18|Table-19|Table-20','2024-06-04 13:31:20',NULL,NULL,NULL,NULL,NULL),
(94,'pOSIconWidth','48','2024-06-04 16:13:12',NULL,NULL,NULL,NULL,NULL),
(95,'pOSIconHeight','48','2024-06-04 16:13:12',NULL,NULL,NULL,NULL,NULL),
(96,'showDraftedShortcuts','0','2024-06-04 16:13:12',NULL,NULL,NULL,NULL,NULL),
(97,'showDarktheme','0','2024-10-08 14:29:43',NULL,NULL,NULL,NULL,NULL),
(98,'hideOpenTillButton','1','2024-10-08 14:30:17',NULL,NULL,NULL,NULL,NULL),
(99,'inventoryImageUploadURL','localhost','2024-10-08 14:30:18',NULL,NULL,NULL,NULL,NULL),
(100,'hideSalesOrderPrintButton','0','2024-10-08 14:30:18',NULL,NULL,NULL,NULL,NULL),
(101,'tableGridButtonWidth','130','2024-10-08 14:57:16',NULL,NULL,NULL,NULL,NULL),
(102,'tableGridButtonHeight','70','2024-10-08 14:57:16',NULL,NULL,NULL,NULL,NULL),
(103,'tableGridFontSize','14','2024-10-08 14:57:16',NULL,NULL,NULL,NULL,NULL),
(104,'PluDirectory','D:/ACE THRASS','2024-12-15 11:41:59',NULL,NULL,NULL,NULL,NULL),
(105,'consolidateItemsPOSBilling','1','2025-09-15 15:50:04',NULL,NULL,NULL,NULL,NULL),
(106,'kotPrintInverted','0','2025-09-15 15:52:41',NULL,NULL,NULL,NULL,NULL),
(107,'showCardPaymentButton','1','2025-09-24 12:54:39',NULL,NULL,NULL,NULL,NULL),
(108,'showLedgerwise','0','2025-09-26 15:52:32',NULL,NULL,NULL,NULL,NULL),
(109,'showBillSplitModeOfPay','0','2025-09-26 15:52:32',NULL,NULL,NULL,NULL,NULL),
(110,'showBillItemsSplitModeOfPay','0','2025-09-26 15:52:32',NULL,NULL,NULL,NULL,NULL),
(111,'showCashOutButton','1','2025-10-01 15:52:51',NULL,NULL,NULL,NULL,NULL),
(112,'AllowPaymentModeSelectionInOrder','1','2025-10-01 15:53:18',NULL,NULL,NULL,NULL,NULL),
(113,'CardLediD','0B66','2025-10-08 09:47:50',NULL,NULL,NULL,NULL,NULL),
(114,'SalesPost_SendToServer','0','2026-01-13 21:02:49',NULL,NULL,NULL,NULL,NULL),
(115,'updatePriceByLedger','0','2026-01-23 21:19:58',NULL,NULL,NULL,NULL,NULL),
(116,'customPricewithTax','1','2026-01-24 09:53:03',NULL,NULL,NULL,NULL,NULL),
(117,'ShowAdvancePaymentOnCreditClicked','0','2026-02-14 10:01:26',NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `contra_voucher_details`
--

CREATE TABLE `contra_voucher_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Amount` float DEFAULT NULL,
  `Narration` varchar(2000) NOT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Cr_Amount` float(10,2) DEFAULT NULL,
  `Dr_Amount` float(10,2) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `contra_voucher_details`
--


--
-- Table structure for table `contra_voucher_main`
--

CREATE TABLE `contra_voucher_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `contra_voucher_main`
--


--
-- Table structure for table `credit_note_details`
--

CREATE TABLE `credit_note_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `credit_note_details`
--


--
-- Table structure for table `credit_note_main`
--

CREATE TABLE `credit_note_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `Invoice_Date` date DEFAULT NULL,
  `Invoice_No` varchar(20) DEFAULT NULL,
  `Location` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `credit_note_main`
--


--
-- Table structure for table `customer_details`
--

CREATE TABLE `customer_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `phone` varchar(20) NOT NULL,
  `Name` varchar(30) NOT NULL,
  `Address` varchar(150) NOT NULL,
  `Route` varchar(30) DEFAULT NULL,
  `Code` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `customer_details`
--

INSERT INTO `customer_details` VALUES
(1,'7012121313','','','',''),
(2,'','','',NULL,NULL),
(3,'123456','','','',NULL);

--
-- Table structure for table `daily_closing`
--

CREATE TABLE `daily_closing` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `ShiftDate` datetime NOT NULL,
  `StartVoucherNo` int(11) NOT NULL,
  `StopVoucherNo` int(11) NOT NULL,
  `SalesValue` float NOT NULL,
  `OpeningBalance` float DEFAULT NULL,
  `CashSales` float DEFAULT NULL,
  `CardSales` float DEFAULT NULL,
  `CreditSales` float DEFAULT NULL,
  `ZomatoSales` float DEFAULT NULL,
  `ZomatoCash` float DEFAULT NULL,
  `ZomatoCredit` float DEFAULT NULL,
  `PurchaseCash` float DEFAULT NULL,
  `PurchaseCredit` float DEFAULT NULL,
  `PurchaseTotal` float DEFAULT NULL,
  `PaymentCash` float DEFAULT NULL,
  `ReceiptCash` float DEFAULT NULL,
  `cashierID` int(11) DEFAULT NULL,
  `voucherPrefix` varchar(10) DEFAULT NULL,
  `MacID` varchar(30) DEFAULT NULL,
  `POSNumber` varchar(30) DEFAULT NULL,
  `paxCount` int(11) DEFAULT NULL,
  `Narration` varchar(1000) DEFAULT NULL,
  `ShiftStart_DateTime` datetime DEFAULT NULL,
  `ShiftEnd_DateTime` datetime DEFAULT NULL,
  `TotalCash` float DEFAULT NULL,
  `CasinCounter` float DEFAULT NULL,
  `CashWithDrawn` float DEFAULT NULL,
  `CashBalance` float DEFAULT NULL,
  `TillDifference` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `daily_closing`
--


--
-- Table structure for table `daily_shift`
--

CREATE TABLE `daily_shift` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `ShiftDate` date NOT NULL,
  `StartVoucherNo` int(11) NOT NULL,
  `StopVoucherNo` int(11) NOT NULL,
  `OpeningBalance` int(11) NOT NULL,
  `CardAmount` int(11) NOT NULL,
  `CashInCounter` int(11) NOT NULL,
  `CashTaken` int(11) NOT NULL,
  `ShiftStaffName` varchar(50) NOT NULL,
  `Narration` varchar(50) NOT NULL,
  `timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `daily_shift`
--


--
-- Table structure for table `dashboard_data`
--

CREATE TABLE `dashboard_data` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `dashboard_data`
--


--
-- Table structure for table `debit_note_details`
--

CREATE TABLE `debit_note_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `debit_note_details`
--


--
-- Table structure for table `debit_note_main`
--

CREATE TABLE `debit_note_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `Invoice_Date` date DEFAULT NULL,
  `Invoice_No` varchar(20) DEFAULT NULL,
  `Location` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `debit_note_main`
--


--
-- Table structure for table `deleted_kot`
--

CREATE TABLE `deleted_kot` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `sales_Voucher_Id` int(11) NOT NULL,
  `Item_Name` int(11) NOT NULL,
  `Quantity` float NOT NULL,
  `Rate_per` float NOT NULL,
  `Item_Discount` float NOT NULL,
  `Amount` float NOT NULL,
  `Vat` float NOT NULL,
  `Narration` varchar(50) NOT NULL,
  `Voucher_Prefix` varchar(50) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Totat_Discount` float NOT NULL,
  `Service_tax` int(11) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `isPrinted` tinyint(1) NOT NULL,
  `isSaved` tinyint(1) NOT NULL,
  `timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `waiterID` varchar(50) DEFAULT NULL,
  `kot_num` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `deleted_kot`
--


--
-- Table structure for table `delivery_note_details`
--

CREATE TABLE `delivery_note_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `delivery_note_details`
--


--
-- Table structure for table `delivery_note_main`
--

CREATE TABLE `delivery_note_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `Location` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `delivery_note_main`
--


--
-- Table structure for table `employee_details`
--

CREATE TABLE `employee_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Name` varchar(100) NOT NULL,
  `Fathers_Name` varchar(100) DEFAULT NULL,
  `Date_of_Birth` date DEFAULT NULL,
  `Gender` varchar(100) DEFAULT NULL,
  `Nationality` varchar(100) DEFAULT NULL,
  `Marital_Status` varchar(100) DEFAULT NULL,
  `Email` varchar(100) DEFAULT NULL,
  `Phone` varchar(100) DEFAULT NULL,
  `Address` varchar(500) DEFAULT NULL,
  `Employee_ID` varchar(100) DEFAULT NULL,
  `Designation` varchar(100) DEFAULT NULL,
  `Department` varchar(100) DEFAULT NULL,
  `Date_of_Joining` date DEFAULT NULL,
  `Passport_No` varchar(100) DEFAULT NULL,
  `Passport_Expiry` date DEFAULT NULL,
  `Visa_No` varchar(100) DEFAULT NULL,
  `Visa_Expiry` date DEFAULT NULL,
  `Bank_Account_No` varchar(100) DEFAULT NULL,
  `Bank_Name` varchar(100) DEFAULT NULL,
  `Bank_Branch` varchar(100) DEFAULT NULL,
  `Bank_Code` varchar(100) DEFAULT NULL,
  `Highest_Qualification` varchar(100) DEFAULT NULL,
  `Date_of_Qualification` date DEFAULT NULL,
  `Emergency_Contact_Name` varchar(100) DEFAULT NULL,
  `Emergency_Contact_No` varchar(100) DEFAULT NULL,
  `Emergency_Contact_Relation` varchar(100) DEFAULT NULL,
  `UserName` varchar(100) DEFAULT NULL,
  `Password` varchar(100) DEFAULT NULL,
  `UserGroupID` int(11) DEFAULT NULL,
  `privilege` int(11) DEFAULT NULL,
  `Show_Employee` tinyint(1) DEFAULT NULL,
  `googleUUID` varchar(50) DEFAULT NULL,
  `gmailAddress` varchar(200) DEFAULT NULL,
  `defaultVoucherPrefix` varchar(10) DEFAULT NULL,
  `allowAllPrefix` tinyint(1) DEFAULT NULL,
  `Last_Modified` timestamp NULL DEFAULT current_timestamp(),
  `Biometric_ID` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `employee_details`
--

INSERT INTO `employee_details` VALUES
(1,'2018-07-09 09:13:55','Admin','','2000-01-01','','','','','','','','','','2021-01-01','','2000-01-01','','2000-01-01','','','','','','2000-01-01','','','','Admin','123456',1,5,1,NULL,NULL,NULL,NULL,'2024-06-03 18:13:26',NULL);

--
-- Table structure for table `employee_salary_details`
--

CREATE TABLE `employee_salary_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Employee_Id` varchar(20) NOT NULL,
  `Basic_Salary` float(10,2) DEFAULT NULL,
  `DA` float(10,2) DEFAULT NULL,
  `HRA` float(10,2) DEFAULT NULL,
  `Conveyance` float(10,2) DEFAULT NULL,
  `Monthly_Leave` int(11) DEFAULT NULL,
  `Weekly_Leave` int(11) DEFAULT NULL,
  `Annual_Leave` int(11) DEFAULT NULL,
  `Working_Hours` int(11) DEFAULT NULL,
  `OverTime_Pay` float DEFAULT NULL,
  `isActive` tinyint(1) DEFAULT NULL,
  `adv_salary_ledger` varchar(200) DEFAULT NULL,
  `salary_ledger` varchar(200) NOT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Employee_Id` (`Employee_Id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `employee_salary_details`
--

INSERT INTO `employee_salary_details` VALUES
(1,'18',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(2,'19',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(3,'20',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(4,'21',0.00,0.00,0.00,0.00,0,0,0,0,0,0,'0x5x23x1','0x5x23x1'),
(5,'22',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(6,'23',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(7,'24',0.00,0.00,0.00,0.00,0,0,0,0,0,0,'0x5x23x1','0x5x23x1'),
(8,'25',0.00,0.00,0.00,0.00,0,0,0,0,0,0,'0x5x23x1','0x5x23x1'),
(9,'26',0.00,0.00,0.00,0.00,0,0,0,0,0,0,'0x5x23x1','0x5x23x1'),
(10,'2',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(11,'3',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(12,'4',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(13,'5',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(14,'6',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(15,'7',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(16,'8',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(17,'9',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(18,'10',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(19,'11',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(20,'12',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(21,'13',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(22,'14',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1'),
(23,'15',0.00,0.00,0.00,0.00,0,0,0,0,0,1,'0x5x23x1','0x5x23x1');

--
-- Table structure for table `error_reporting`
--

CREATE TABLE `error_reporting` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `error` longtext NOT NULL,
  `tablename` varchar(255) NOT NULL,
  `query` longtext NOT NULL,
  `time_stamp` timestamp(6) NOT NULL DEFAULT current_timestamp(6),
  `client_id` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `error_reporting`
--

INSERT INTO `error_reporting` VALUES
(1,'[\"23000\",1062,\"Duplicate entry \'8944-A\' for key \'Voucher_No\'\"]','Sales_Order_Main','INSERT INTO Sales_Order_Main (`Added_By`,`Billing_Name`,`Completion_Probability`,`ContactID`,`Converted_To_Sales_Order`,`Credit_Period`,`Date_Created`,`Delivery_Date`,`Discount_In_Amount`,`Discount_In_Percent`,`Gross_Total`,`LPO_Ref`,`Last_Updated`,`Ledger_ID`,`Location`,`MODE_OF_SERVICE`,`Narration`,`POC_Email`,`POC_Name`,`POC_Phone`,`Project_ID`,`Quotation_Dropped`,`Quotation_Dropped_Reason`,`Reference`,`Requirement_Voucher_List`,`Requirement_Voucher_No`,`Revision_Number`,`Salesman_ID`,`TimeStamp`,`Total`,`TransactionId`,`VAT_Amount`,`VoucherStatus`,`Voucher_Date`,`Voucher_No`,`Voucher_Prefix`) VALUES (0,Cash,100,0,,-1,2022-03-17,2022-03-17 19:40:53,0,0,14.279999732971,,2022-03-17 19:40:53,0x5x23x1,,1,,,,,,1,,7423,[],,0,118,2022-03-17 19:40:53,15,b5cee060-a608-11ec-b2a4-68eda4216dd1,0.70999997854233,150,2022-03-17,8944,A)','2022-03-17 19:40:53.995158','B'),
(2,'[\"23000\",1062,\"Duplicate entry \'0x908\' for key \'Item_ID\'\"]','Sales_Inventory_Items','INSERT INTO Sales_Inventory_Items (`Brand_Id`,`Category`,`Closing_Stock`,`Default_Input_Tax_Ledger`,`Default_Output_Tax_Ledger`,`Default_PurchaseLedger_id`,`Default_Purchase_Return_Ledger`,`Default_Sales_Ledger_id`,`Default_Sales_Return_Ledger`,`Default_UOM_ID`,`Dimension`,`Favourite`,`Flags`,`From_Time`,`Group_Id`,`HSN_CODE`,`IsStockItem`,`Item_Alias`,`Item_Code`,`Item_Description`,`Item_Id`,`Item_Name`,`Item_Name_Arabic`,`KOT_Printer`,`Last_Modified`,`Narration`,`Opening_Balance_Date`,`Opening_Rate`,`Opening_Stock`,`Opening_Value`,`Part_Number`,`Price`,`Price_2`,`Reorder_Level`,`Section`,`Serial_Number`,`Shelf_Life`,`Std_Cost`,`To_Time`,`Vat_Rate`,`Warranty_Days`,`isBatchProcessed`,`isCustomItem`,`isPurchaseItem`,`isSalesItem`,`isSerailNumbered`) VALUES (1,u0001,0,0x2x14x6,0x2x14x6,0x8x4,0x8x4,0x7x3,0x7x3,0,,,,00:00:00.000,0,,,,,,0x908,Purchase,,|,2022-01-27 23:50:34,,2022-01-27,0.00,0.00,0.00,,0.00,0.00,0.00,GODOWN,,0.00,0,23:59:59.000,5.00,0,,,1)','2022-01-27 23:50:34.798792','C'),
(3,'[\"42S22\",1054,\"Unknown column \'Info\' in \'INSERT INTO\'\"]','receivechannel','INSERT INTO `receivechannel` (`TypeOfData`,`Info`) VALUES (test,hello)','2026-03-17 05:30:00.000000','C'),
(4,'[\"42S02\",1146,\"Table \'gmdbafwaj26.test_table\' doesn\'t exist\"]','test_table','INSERT INTO `test_table` (`col1`) VALUES (val1)','2026-03-17 04:30:00.000000','client_test_1');

--
-- Table structure for table `godown`
--

CREATE TABLE `godown` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Godown_ID` varchar(50) NOT NULL,
  `Godown_Name` varchar(100) NOT NULL,
  `Godown_Location` varchar(100) DEFAULT NULL,
  `Godown_Narration` varchar(500) DEFAULT NULL,
  `isProfitCentre` tinyint(1) DEFAULT NULL,
  `isDefault` tinyint(1) DEFAULT NULL,
  `isProduction` tinyint(1) DEFAULT 0,
  `Last_Modified` timestamp NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `godown`
--

INSERT INTO `godown` VALUES
(1,'GODOWN','GRAMS','','',0,1,0,'2023-03-05 09:49:14'),
(17,'A2','PACKET','','',0,0,0,'2023-03-05 09:48:54'),
(18,'A18','TIN','','',0,0,0,'2023-03-05 09:47:37'),
(19,'A19','JAR','','',0,0,0,'2023-03-05 09:47:49'),
(20,'A20','BTL','','',0,0,0,'2023-03-05 09:48:08'),
(21,'A21','PIECE','','',0,0,0,'2023-03-05 09:48:26'),
(22,'A22','KG','','',0,0,0,'2023-03-05 09:48:43'),
(23,'A23','LTR','','',0,0,0,'2023-03-05 09:49:32');

--
-- Table structure for table `godown_tranfer_main`
--

CREATE TABLE `godown_tranfer_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `From_Location` varchar(100) DEFAULT NULL,
  `To_Location` varchar(100) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `godown_tranfer_main`
--


--
-- Table structure for table `godown_transfer_details`
--

CREATE TABLE `godown_transfer_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Adj_value` decimal(10,2) DEFAULT NULL,
  `itemVoucherStatus` int(11) DEFAULT NULL,
  `itemProductionStatus` int(11) DEFAULT NULL,
  `CurrTime` time DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `godown_transfer_details`
--


--
-- Table structure for table `ingredients`
--

CREATE TABLE `ingredients` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `sales_item` varchar(100) NOT NULL,
  `sales_item_qty` float(10,3) NOT NULL,
  `purchase_item` varchar(100) NOT NULL,
  `purchase_item_qty` float(10,3) NOT NULL,
  `TakeAway` tinyint(4) DEFAULT NULL,
  `Purchase_unit` int(11) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `ingredients`
--


--
-- Table structure for table `inventory_group_images`
--

CREATE TABLE `inventory_group_images` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Group_Id` varchar(1000) NOT NULL,
  `Image` mediumblob DEFAULT NULL,
  `Narration` varchar(50) DEFAULT NULL,
  `width` int(11) DEFAULT NULL,
  `height` int(11) DEFAULT NULL,
  `type` varchar(20) DEFAULT NULL,
  `FileName` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `inventory_group_images`
--


--
-- Table structure for table `item_tmp`
--

CREATE TABLE `item_tmp` (
  `ItemID` varchar(20) DEFAULT NULL,
  `Quantity` float(10,3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `item_tmp`
--

INSERT INTO `item_tmp` VALUES
('0x2A450',20.000);

--
-- Table structure for table `items_bundle_master`
--

CREATE TABLE `items_bundle_master` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Base_Item` varchar(200) NOT NULL,
  `Free_Item` varchar(200) NOT NULL,
  `Free_Quantity` float(10,3) NOT NULL,
  `Free_UOM` int(11) NOT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `items_bundle_master`
--


--
-- Table structure for table `items_bundle_transaction`
--

CREATE TABLE `items_bundle_transaction` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Ledger_ID` varchar(200) DEFAULT NULL,
  `Contact_ID` varchar(200) DEFAULT NULL,
  `Voucher_Type` varchar(100) DEFAULT NULL,
  `Voucher_Date` datetime DEFAULT NULL,
  `Voucher_No` varchar(200) DEFAULT NULL,
  `Voucher_Prefix` varchar(50) DEFAULT NULL,
  `Transaction_ID` varchar(100) DEFAULT NULL,
  `Ref_Transaction_ID` varchar(100) DEFAULT NULL,
  `Item_ID` varchar(200) DEFAULT NULL,
  `Free_Quantity` float(10,3) DEFAULT 0.000,
  `Used_Quantity` float(10,3) DEFAULT 0.000,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `items_bundle_transaction`
--


--
-- Table structure for table `journal_voucher_details`
--

CREATE TABLE `journal_voucher_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `CR_Amount` float DEFAULT NULL,
  `DR_Amount` float DEFAULT NULL,
  `Narration` varchar(2000) NOT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `journal_voucher_details`
--


--
-- Table structure for table `journal_voucher_main`
--

CREATE TABLE `journal_voucher_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `journal_voucher_main`
--


--
-- Table structure for table `kot_ack`
--

CREATE TABLE `kot_ack` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `kot_num` varchar(100) NOT NULL,
  `section` varchar(100) NOT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `kot_ack`
--


--
-- Table structure for table `kot_details`
--

CREATE TABLE `kot_details` (
  `item_id` varchar(11) NOT NULL,
  `Item_Name` varchar(50) NOT NULL,
  `Quantity` float DEFAULT NULL,
  `Rate_per` float DEFAULT NULL,
  `Item_Discount` float DEFAULT NULL,
  `Amount` float DEFAULT NULL,
  `Vat` float DEFAULT NULL,
  `Narration` varchar(50) DEFAULT NULL,
  `Voucher_Prefix` varchar(50) DEFAULT NULL,
  `Voucher_Date` datetime DEFAULT NULL,
  `Total_Discount` float DEFAULT NULL,
  `Service_Type` varchar(30) DEFAULT NULL,
  `table_name` varchar(20) DEFAULT NULL,
  `kot_num` int(50) DEFAULT NULL,
  `waiterID` varchar(30) DEFAULT NULL,
  `elapsedTime` varchar(50) DEFAULT NULL,
  `sono` varchar(200) DEFAULT NULL,
  `section` varchar(200) DEFAULT NULL,
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `time_completed` time DEFAULT '00:00:00',
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `kot_details`
--


--
-- Table structure for table `kot_details_deleted`
--

CREATE TABLE `kot_details_deleted` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Itemid` int(11) NOT NULL,
  `Item_Name` varchar(50) NOT NULL,
  `Quantity` float NOT NULL,
  `Rate_per` float NOT NULL,
  `Item_Discount` float NOT NULL,
  `Amount` float NOT NULL,
  `delPos` int(11) NOT NULL,
  `Narration` varchar(50) NOT NULL,
  `Voucher_Prefix` varchar(50) NOT NULL,
  `Voucher_Date` datetime NOT NULL,
  `Total_Discount` float NOT NULL,
  `Service_Type` varchar(30) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `kot_num` varchar(50) NOT NULL,
  `waiterID` varchar(30) DEFAULT NULL,
  `elapsedTime` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `kot_details_deleted`
--


--
-- Table structure for table `kotnumbertable`
--

CREATE TABLE `kotnumbertable` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tem` varchar(4) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `kotnumbertable`
--


--
-- Table structure for table `ledger_master`
--

CREATE TABLE `ledger_master` (
  `sl_no` int(11) NOT NULL AUTO_INCREMENT,
  `LEDGER_ID` varchar(100) NOT NULL,
  `Ledger_Name` varchar(150) NOT NULL,
  `Ledger_Type` varchar(50) DEFAULT NULL,
  `Group_Id` varchar(50) NOT NULL,
  `Opening_Balance` varchar(50) NOT NULL,
  `Opening_Balance_Date` date DEFAULT NULL,
  `Closing_Balance` double DEFAULT NULL,
  `Turn_Over` double DEFAULT NULL,
  `isIndividual` tinyint(1) DEFAULT 0,
  `Narration` varchar(50) DEFAULT '',
  `City` varchar(50) DEFAULT '',
  `Address` varchar(50) DEFAULT '',
  `Email` varchar(100) DEFAULT '',
  `Phone_Number` varchar(50) DEFAULT '',
  `Contact_Person_Name` varchar(50) DEFAULT '',
  `Mobile_Number` varchar(50) DEFAULT '',
  `Website` varchar(50) DEFAULT '',
  `Contact_Person` varchar(50) DEFAULT '',
  `Contant_Person_Number` varchar(50) DEFAULT '',
  `PoBox` varchar(50) DEFAULT '',
  `Country` varchar(50) DEFAULT '',
  `Registration_Number` varchar(50) DEFAULT '',
  `Default_Price_List_Id` varchar(50) DEFAULT '',
  `State` varchar(50) DEFAULT '',
  `Birth_Date` varchar(50) DEFAULT '',
  `Credit_Period` int(11) DEFAULT 0,
  `Credit_Limit` float(10,2) DEFAULT NULL,
  `ParentCompany` varchar(1000) DEFAULT NULL,
  `Fax` varchar(100) DEFAULT NULL,
  `creditAllowed` float DEFAULT NULL,
  `paymentTerms` varchar(100) DEFAULT NULL,
  `Tax_Rate` float DEFAULT NULL,
  `Type_Of_Supply` varchar(500) DEFAULT NULL,
  `Default_Tax_Ledger` varchar(500) DEFAULT NULL,
  `TRN` varchar(100) DEFAULT NULL,
  `DefaultRecord` tinyint(1) DEFAULT NULL,
  `DbName` varchar(20) DEFAULT NULL,
  `Discount_Percentage` float(10,2) DEFAULT NULL,
  `isFrequent` tinyint(1) DEFAULT NULL,
  `Last_Modified` timestamp NULL DEFAULT NULL,
  `Distance` float(10,3) DEFAULT NULL,
  `DeliveryRatePer` double(10,3) DEFAULT NULL,
  `Route_id` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`sl_no`),
  UNIQUE KEY `LEDGER_ID` (`LEDGER_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=196 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `ledger_master`
--

INSERT INTO `ledger_master` VALUES
(1,'0x5x23x1','Cash','Assets','0x5x23','0.00',NULL,0,0,0,'','','2016-09-16','','','','','','','','','','',NULL,NULL,'2000-01-01',-1,0.00,'','',NULL,NULL,0,'','','',NULL,NULL,0.00,1,'2026-01-24 07:14:06',NULL,NULL,NULL),
(3,'0x7x3','Sales','Income','0x7','0',NULL,0,0,0,'','','2016-10-26','','','','','','','','','','','','','',2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(4,'0x8x4','Purchases','Expense','0x8','0',NULL,0,0,0,'','','2016-10-26','','','','','','','','','','','','','',2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(5,'0x7x5','Sales @ 5%','Income','0x7','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Fri Sep 4 2020',0,NULL,'','',NULL,NULL,0,'','','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(6,'0x2x14x6','Output Vat @ 5%','Liabilities','0x2x14','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Thu Nov 30 2017',173664896,NULL,'','',NULL,NULL,0,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(7,'0x2x14x7','Input Vat @5%','Liabilities','0x2x14','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Thu Nov 30 2017',2,NULL,'','',NULL,NULL,0,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(8,'0x8x8','Purchase@5%','Expense','0x8','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Thu Nov 30 2017',-1,NULL,'','',NULL,NULL,0,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(9,'0x8x9','Purchase Returns @ 5%','Expense','0x8','0.00',NULL,0,0,0,'','','','','','','','','','','','','',NULL,NULL,'Mon Dec 11 2017',2,NULL,'','',NULL,NULL,0,'','0.00',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(10,'0x7x10','Sales Return @5%','Income','0x7','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Mon Dec 11 2017',2,NULL,'','',NULL,NULL,0,'','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(11,'0x12x11','Round Off','Expense','0x12','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Mon Dec 11 2017',2,NULL,'','',NULL,NULL,0,'','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(12,'0x12x12','Discounts','Expense','0x12','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Mon Dec 11 2017',2,NULL,'','',NULL,NULL,0,'','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(13,'0x7x13','Sales Returns','Income','0x7','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Mon Dec 11 2017',2,NULL,'','',NULL,NULL,0,'','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(14,'0x8x14','Purchase Returns','Expense','0x8','0.00',NULL,0,0,1,'','','','','','','','','','','','','',NULL,NULL,'Mon Dec 11 2017',2,NULL,'','',NULL,NULL,0,'','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(65,'0x5x19x65','Transportation','Assets','0x2x15','0.00',NULL,0,0,0,'Vegetable Transportation','','','','','','','','','','','','',NULL,NULL,'2000-01-01',-1,0.00,'','',NULL,NULL,0,'','','',NULL,NULL,0.00,0,'2023-03-09 17:18:17',NULL,NULL,NULL),
(172,'0B66','Card','Assets','0x5x21','0.00','2000-01-01',0,0,0,'','','','','','','','','','','','','',NULL,NULL,'2000-01-01',-1,0.00,'','',NULL,NULL,0,'','','',NULL,NULL,0.00,1,'2026-01-24 07:14:14',NULL,NULL,NULL);

--
-- Table structure for table `log`
--

CREATE TABLE `log` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `timestamp` timestamp(6) NOT NULL DEFAULT current_timestamp(6),
  `data` longtext NOT NULL,
  `action` varchar(100) NOT NULL,
  `status` varchar(50) NOT NULL,
  `client_id` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `timestamp` (`timestamp`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `log`
--

INSERT INTO `log` VALUES
(1,'2026-03-13 20:24:12.251258','[{\"Action\":\"1001\",\"Data\":{\"Group_Id\":\"0x13\",\"Group_Name\":\"LUNCH\",\"Group_Name_Arabic\":\"\",\"Group_Type\":\"2\",\"Last_Modified\":\"2026-03-14 00:24:12\",\"Parent_ID\":\"0\"},\"TableName\":\"Sales_Inventory_Groups\"}]','1001','insert','B'),
(2,'2026-03-13 20:24:23.660881','[{\"Action\":\"1001\",\"Data\":{\"Group_Id\":\"0x25\",\"Group_Name\":\"SANDWICHES\",\"Group_Name_Arabic\":\"\",\"Group_Type\":\"2\",\"Last_Modified\":\"2026-03-14 00:24:23\",\"Parent_ID\":\"0\"},\"TableName\":\"Sales_Inventory_Groups\"}]','1001','insert','B'),
(3,'2026-03-17 04:30:00.000000','{\"Action\":1001,\"TableName\":\"test_table\",\"Data\":{\"col1\":\"val1\"}}','1001','insert','B'),
(5,'2026-03-17 06:30:00.000000','[{\"Action\":1001,\"TableName\":\"receivechannel\",\"Data\":{\"notification_data\":\"{}\",\"fromdbname\":\"gm1987\",\"typeofdata\":\"test\",\"generated_Transactionid\":\"txn-001\",\"Action\":1001,\"Status\":0}}]','1001','insert','C'),
(6,'2026-03-17 07:30:00.000000','[{\"Action\":1001,\"TableName\":\"receivechannel\",\"Data\":{\"notification_data\":\"{}\",\"fromdbname\":\"gm1987\",\"typeofdata\":\"test\",\"generated_Transactionid\":\"txn-002\",\"Action\":1001,\"Status\":0}}]','1001','insert','C');

--
-- Table structure for table `material_in_details`
--

CREATE TABLE `material_in_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `crQty` float DEFAULT NULL,
  `drQty` float DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `material_in_details`
--


--
-- Table structure for table `material_in_main`
--

CREATE TABLE `material_in_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `material_in_main`
--


--
-- Table structure for table `old_kot_details`
--

CREATE TABLE `old_kot_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `sales_Voucher_Id` int(11) NOT NULL,
  `Item_Name` int(11) NOT NULL,
  `Quantity` float NOT NULL,
  `Rate_per` float NOT NULL,
  `Item_Discount` float DEFAULT NULL,
  `Amount` float NOT NULL,
  `Vat` float DEFAULT NULL,
  `Narration` varchar(50) DEFAULT NULL,
  `Voucher_Prefix` varchar(50) DEFAULT NULL,
  `Voucher_Date` datetime NOT NULL,
  `Totat_Discount` float DEFAULT NULL,
  `Service_tax` int(11) DEFAULT NULL,
  `table_name` varchar(20) NOT NULL,
  `waiterId` varchar(50) DEFAULT NULL,
  `kot_num` varchar(30) DEFAULT NULL,
  `elapsedTime` varchar(50) DEFAULT NULL,
  `completedTime` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `old_kot_details`
--


--
-- Table structure for table `old_kot_voucher`
--

CREATE TABLE `old_kot_voucher` (
  `_id` int(11) NOT NULL,
  `Invoice_No` varchar(50) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Date_Created` datetime NOT NULL,
  `Bill_Date` date NOT NULL,
  `Timestamp` datetime NOT NULL,
  `Ledger_Name` varchar(50) NOT NULL,
  `Billing_Name` varchar(50) NOT NULL,
  `Total` varchar(50) NOT NULL,
  `Narration` varchar(50) NOT NULL,
  `Voucher_Prefix` varchar(50) NOT NULL,
  `Hidden_Row` varchar(50) NOT NULL,
  `Discount_Amount` int(11) NOT NULL,
  `table_name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `old_kot_voucher`
--


--
-- Table structure for table `payment_voucher_details`
--

CREATE TABLE `payment_voucher_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Amount` float DEFAULT NULL,
  `Cr_Amount` float DEFAULT NULL,
  `Dr_Amount` float DEFAULT NULL,
  `Narration` varchar(2000) NOT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `payment_voucher_details`
--


--
-- Table structure for table `payment_voucher_main`
--

CREATE TABLE `payment_voucher_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `payment_voucher_main`
--


--
-- Table structure for table `payslip_main`
--

CREATE TABLE `payslip_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Employee_Id` varchar(50) DEFAULT NULL,
  `Voucher_No` varchar(20) DEFAULT NULL,
  `Voucher_Type` varchar(20) DEFAULT NULL,
  `Voucher_Prefix` varchar(20) DEFAULT NULL,
  `Salary_Period_Start` date DEFAULT NULL,
  `Salary_Period_End` date DEFAULT NULL,
  `Date_Created` date DEFAULT NULL,
  `Created_By` varchar(25) DEFAULT NULL,
  `Narration` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `payslip_main`
--


--
-- Table structure for table `price_lists`
--

CREATE TABLE `price_lists` (
  `Price_List_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Price_List_Name` varchar(100) NOT NULL,
  `Price_List_Start_Date` date DEFAULT NULL,
  `Price_List_End_Date` date DEFAULT NULL,
  `Price_List_Default` tinyint(1) DEFAULT NULL,
  `Price_List_ShowInPos` tinyint(1) DEFAULT 1,
  `Last_Modified` timestamp NULL DEFAULT current_timestamp(),
  `Price_List_isOnline` tinyint(1) DEFAULT 0,
  PRIMARY KEY (`Price_List_ID`),
  UNIQUE KEY `Price_List_ID` (`Price_List_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `price_lists`
--

INSERT INTO `price_lists` VALUES
(1,'Delivery',NULL,NULL,0,1,'2024-06-03 18:14:37',0),
(2,'Take Away',NULL,NULL,0,1,'2025-10-31 16:24:41',0),
(3,'Dine In',NULL,NULL,0,1,'2025-10-31 16:24:29',0);

--
-- Table structure for table `pricelist_entries`
--

CREATE TABLE `pricelist_entries` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Item_Id` varchar(50) NOT NULL,
  `Price` float(10,2) NOT NULL,
  `Price_List_ID` int(11) NOT NULL,
  `timestamp` timestamp NULL DEFAULT current_timestamp(),
  `percent` float DEFAULT NULL,
  `UOM_Id` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `pricelist_entries`
--


--
-- Table structure for table `printers`
--

CREATE TABLE `printers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `PrinterName` varchar(200) DEFAULT NULL,
  `PrinterNickName` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `printers`
--


--
-- Table structure for table `proforma_details`
--

CREATE TABLE `proforma_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `proforma_details`
--

INSERT INTO `proforma_details` VALUES
(3,'3','A','2021-05-06','0x5x10',2,400,'1',NULL,0,'0',0,0,800,NULL,NULL,NULL,'','0','673337af-ae87-11eb-bdca-001c4271ef46',1,'22:12:32',0,0,5,40,NULL,NULL);

--
-- Table structure for table `proforma_main`
--

CREATE TABLE `proforma_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(20) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `PaymentSplit` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `proforma_main`
--

INSERT INTO `proforma_main` VALUES
(2,'3','A','2021-05-06','2021-05-06','2021-05-06 16:38:38','2021-05-06 22:12:32.401000',NULL,NULL,840,0,0,'',NULL,'2021-05-06 16:38:27',100,-1,NULL,NULL,NULL,NULL,'0','',1,'170',NULL,NULL,'0',NULL,'','0',40,800,1,NULL,NULL,NULL,NULL,NULL,NULL,'[]',NULL,0,'1620319118AB',NULL,0);

--
-- Table structure for table `project_master`
--

CREATE TABLE `project_master` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Project_Name` varchar(500) NOT NULL,
  `Project_Description` varchar(1000) DEFAULT NULL,
  `Project_Owner` varchar(200) DEFAULT NULL,
  `Project_Status` varchar(50) DEFAULT NULL,
  `Start_Date` date DEFAULT NULL,
  `End_Date` date DEFAULT NULL,
  `Ledger_ID` varchar(200) DEFAULT NULL,
  `Contact_Person` varchar(100) DEFAULT NULL,
  `Phone` varchar(100) DEFAULT NULL,
  `Email` varchar(100) DEFAULT NULL,
  `Address` varchar(2000) DEFAULT NULL,
  `Detail` varchar(5000) DEFAULT NULL,
  `Estimated_Value` float DEFAULT NULL,
  `Location` varchar(100) DEFAULT NULL,
  `Estimated_Start_Date` date DEFAULT NULL,
  `Estimated_End_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `project_master`
--


--
-- Table structure for table `properties`
--

CREATE TABLE `properties` (
  `Property_id` int(11) NOT NULL AUTO_INCREMENT,
  `Property_Name` varchar(100) NOT NULL,
  `Property_Units` varchar(100) DEFAULT NULL,
  `Property_Default_Value` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`Property_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `properties`
--

INSERT INTO `properties` VALUES
(1,'Energy','kcal',NULL),
(2,'breadth','m',NULL),
(3,'Height','m',NULL),
(4,'weight','kg',NULL),
(5,'strength','fm',NULL);

--
-- Table structure for table `proxy_transaction_helper`
--

CREATE TABLE `proxy_transaction_helper` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_Type` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Voucher_ID` varchar(100) DEFAULT NULL,
  `Voucher_Date` date DEFAULT NULL,
  `Transaction_Amount` float DEFAULT NULL,
  `Credit_Ledger_ID` varchar(100) DEFAULT NULL,
  `Debit_Ledger_ID` varchar(100) DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `TIMESTAMP` datetime NOT NULL DEFAULT current_timestamp(),
  `isAdditional` tinyint(4) DEFAULT NULL,
  `isProfitCentre` varchar(10) DEFAULT NULL,
  `Debit_Amount` float(10,2) DEFAULT NULL,
  `Credit_Amount` float(10,2) DEFAULT NULL,
  `Ledger_Id` varchar(100) DEFAULT NULL,
  `Against_Ledger` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `proxy_transaction_helper`
--


--
-- Table structure for table `purchase_invoice_details`
--

CREATE TABLE `purchase_invoice_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `purchase_invoice_details`
--


--
-- Table structure for table `purchase_invoice_main`
--

CREATE TABLE `purchase_invoice_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `Invoice_Date` date DEFAULT NULL,
  `Invoice_No` varchar(20) DEFAULT NULL,
  `Location` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_3` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_4` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `purchase_invoice_main`
--


--
-- Table structure for table `purchase_order_details`
--

CREATE TABLE `purchase_order_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `TimeDate` datetime DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  `ContainerCount` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `purchase_order_details`
--


--
-- Table structure for table `purchase_order_itemwise`
--

CREATE TABLE `purchase_order_itemwise` (
  `_id` int(11) NOT NULL DEFAULT 0,
  `Voucher_No` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `Voucher_Prefix` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Salesman_ID` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `Item_ID` varchar(200) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `Qty_Total` float NOT NULL,
  `Narration` varchar(1000) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `Added_By` varchar(200) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `Damage` float DEFAULT NULL,
  `Total_Amount` float NOT NULL,
  `Voucher_Status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `purchase_order_itemwise`
--


--
-- Table structure for table `purchase_order_main`
--

CREATE TABLE `purchase_order_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `Location` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `purchase_order_main`
--


--
-- Table structure for table `quotation_details`
--

CREATE TABLE `quotation_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` int(11) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `quotation_details`
--


--
-- Table structure for table `quotation_details_old`
--

CREATE TABLE `quotation_details_old` (
  `_id` int(11) NOT NULL,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` int(11) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `quotation_details_old`
--


--
-- Table structure for table `quotation_details_voucher`
--

CREATE TABLE `quotation_details_voucher` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `quotation_details_voucher`
--


--
-- Table structure for table `quotation_documents_table`
--

CREATE TABLE `quotation_documents_table` (
  `_id` int(10) NOT NULL AUTO_INCREMENT,
  `File_Name` varchar(500) DEFAULT NULL,
  `File_Type` varchar(500) DEFAULT NULL,
  `File_Description` varchar(500) DEFAULT NULL,
  `File_Data` mediumblob DEFAULT NULL,
  `AddedByID` int(10) DEFAULT NULL,
  `ReqId` varchar(500) DEFAULT NULL,
  `ProjectId` varchar(500) DEFAULT NULL,
  `TimeStamp` datetime NOT NULL DEFAULT current_timestamp(),
  `Quotation_Number` varchar(500) DEFAULT NULL,
  `TagType` varchar(500) DEFAULT NULL,
  `SearchTag` varchar(1000) DEFAULT NULL,
  `ClientApprovalStatus` tinyint(4) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `quotation_documents_table`
--


--
-- Table structure for table `quotation_main`
--

CREATE TABLE `quotation_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `TransactionId` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `quotation_main`
--


--
-- Table structure for table `quotation_main_old`
--

CREATE TABLE `quotation_main_old` (
  `_id` int(11) NOT NULL,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float NOT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Discount_Total` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(50) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Terms_And_Conditions_ID` varchar(100) DEFAULT NULL,
  `ClientApprovalStatus` tinyint(1) DEFAULT NULL,
  `ManagerApprovalStatus` tinyint(1) DEFAULT NULL,
  `RevisionNumber` int(11) DEFAULT 0,
  `ContactID` int(11) NOT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `quotation_main_old`
--


--
-- Table structure for table `quotation_main_voucher`
--

CREATE TABLE `quotation_main_voucher` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(20) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `PaymentSplit` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `quotation_main_voucher`
--


--
-- Table structure for table `receipt_note_details`
--

CREATE TABLE `receipt_note_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `receipt_note_details`
--


--
-- Table structure for table `receipt_note_main`
--

CREATE TABLE `receipt_note_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `Location` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `receipt_note_main`
--


--
-- Table structure for table `receipt_voucher_details`
--

CREATE TABLE `receipt_voucher_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Amount` float DEFAULT NULL,
  `Cr_Amount` float DEFAULT NULL,
  `Dr_Amount` float DEFAULT NULL,
  `Narration` varchar(2000) NOT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `receipt_voucher_details`
--


--
-- Table structure for table `receipt_voucher_main`
--

CREATE TABLE `receipt_voucher_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `receipt_voucher_main`
--


--
-- Table structure for table `receivechannel`
--

CREATE TABLE `receivechannel` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `notification_data` longtext NOT NULL,
  `fromdbname` varchar(255) NOT NULL,
  `time_stamp` timestamp(6) NULL DEFAULT NULL,
  `typeofdata` varchar(255) NOT NULL,
  `generated_Transactionid` varchar(50) NOT NULL,
  `Action` int(11) NOT NULL,
  `Status` int(11) NOT NULL DEFAULT 0,
  `notification_id` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `receivechannel`
--

INSERT INTO `receivechannel` VALUES
(1,'{}','gm1987',NULL,'test','txn-001',1001,0,NULL),
(2,'{}','gm1987',NULL,'test','txn-002',1001,0,NULL);

--
-- Table structure for table `requirement_details`
--

CREATE TABLE `requirement_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `Price_Level` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Length` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `requirement_details`
--


--
-- Table structure for table `requirement_main`
--

CREATE TABLE `requirement_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `requirement_main`
--


--
-- Table structure for table `room_type_master`
--

CREATE TABLE `room_type_master` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Room_Type_ID` varchar(100) NOT NULL,
  `TYPE_NAME` varchar(500) NOT NULL,
  `RATE` float NOT NULL,
  `EXTRA_BED_RATE` float NOT NULL,
  `STD_OCC` int(11) NOT NULL,
  `MAX_OCC` int(11) NOT NULL,
  `GST_RATE` float NOT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Room_Type_ID` (`Room_Type_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `room_type_master`
--

INSERT INTO `room_type_master` VALUES
(1,'0x2','Deluxe',200,0,0,0,0);

--
-- Table structure for table `rooms_master`
--

CREATE TABLE `rooms_master` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `ROOM_NAME` varchar(500) NOT NULL,
  `ROOM_ID` varchar(100) NOT NULL,
  `CURR_STATUS` int(11) DEFAULT NULL,
  `EXTRA_BED_CNT` int(11) DEFAULT NULL,
  `VREF` varchar(500) DEFAULT NULL,
  `BookingID` varchar(100) DEFAULT NULL,
  `MAINT_STATUS` tinyint(1) DEFAULT NULL,
  `MAINT_LAST_TIMESTAMP` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `rooms_master`
--


--
-- Table structure for table `route_master`
--

CREATE TABLE `route_master` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `route_id` varchar(50) NOT NULL,
  `route_name` varchar(20) DEFAULT NULL,
  `Description` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `route_master`
--


--
-- Table structure for table `sales_inventory_groups`
--

CREATE TABLE `sales_inventory_groups` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Group_ID` varchar(50) NOT NULL,
  `Group_Name` varchar(100) DEFAULT NULL,
  `Parent_ID` varchar(50) DEFAULT NULL,
  `Group_Type` varchar(50) DEFAULT NULL,
  `GroupNameArabic` varchar(500) DEFAULT NULL,
  `Group_Name_Arabic` varchar(100) DEFAULT NULL,
  `Last_Modified` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Group_ID` (`Group_ID`),
  UNIQUE KEY `Group_ID_2` (`Group_ID`),
  UNIQUE KEY `GroupName` (`Group_Name`),
  KEY `Group_ID_3` (`Group_ID`,`Group_Name`,`Parent_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci ROW_FORMAT=COMPACT;

--
-- Dumping data for table `sales_inventory_groups`
--

INSERT INTO `sales_inventory_groups` VALUES
(1,'0','Primary','-1','0',NULL,NULL,NULL),
(2,'0x2','BEVERAGES','0','2','0','\"','0000-00-00 00:00:00'),
(3,'0x3','BREAKFAST COMBO','0','2','0','\"','0000-00-00 00:00:00'),
(4,'0x4','BREAKFAST ITEMS','0','2','0','\"','0000-00-00 00:00:00'),
(5,'0x5','CHINESE DISHES-NON VEG','0','2','0','\"','0000-00-00 00:00:00'),
(6,'0x6','CHINESE DISHES-VEG','0','2','0','\"','0000-00-00 00:00:00'),
(7,'0x7','DESSERTS','0','2','0','\"','0000-00-00 00:00:00'),
(8,'0x8','FRESH JUICE','0','2','0','\"','0000-00-00 00:00:00'),
(9,'0x9','INDIAN MAINCOURSE-NON VEG','0','2','0','\"','0000-00-00 00:00:00'),
(10,'0x10','INDIAN MAINCOURSE-VEG','0','2','0','\"','0000-00-00 00:00:00'),
(11,'0x11','ROLLS & SANDWICHES','0','2','0','\"','0000-00-00 00:00:00'),
(12,'0x12','SNACKS','0','2','0','\"','0000-00-00 00:00:00'),
(24,'0x13','LUNCH','0','2',NULL,'','2026-03-13 20:24:12'),
(25,'0x14','SANDWICHES','0','2',NULL,'','2026-03-13 20:24:23');

--
-- Table structure for table `sales_inventory_images`
--

CREATE TABLE `sales_inventory_images` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Item_Id` varchar(1000) NOT NULL,
  `Image` mediumblob DEFAULT NULL,
  `Narration` varchar(50) DEFAULT NULL,
  `width` int(11) DEFAULT NULL,
  `height` int(11) DEFAULT NULL,
  `type` varchar(20) DEFAULT NULL,
  `FileName` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sales_inventory_images`
--

INSERT INTO `sales_inventory_images` VALUES
(1,'',NULL,NULL,0,0,NULL,NULL);

--
-- Table structure for table `sales_inventory_item_properties`
--

CREATE TABLE `sales_inventory_item_properties` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Property_ID` varchar(50) NOT NULL,
  `Item_ID` varchar(100) NOT NULL,
  `Default_Value` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sales_inventory_item_properties`
--


--
-- Table structure for table `sales_inventory_items`
--

CREATE TABLE `sales_inventory_items` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Item_ID` varchar(100) NOT NULL,
  `Item_Name` varchar(500) NOT NULL,
  `Item_Alias` varchar(500) DEFAULT NULL,
  `Item_Code` varchar(500) DEFAULT NULL,
  `Group_Id` varchar(100) NOT NULL,
  `Part_Number` varchar(100) DEFAULT NULL,
  `Price` float NOT NULL DEFAULT 0,
  `Opening_Stock` float DEFAULT NULL,
  `Opening_Balance` float NOT NULL DEFAULT 0,
  `Opening_Balance_Date` date DEFAULT NULL,
  `Last_Modified_By` varchar(100) DEFAULT NULL,
  `Opening_Rate` double DEFAULT NULL,
  `Opening_Value` float NOT NULL DEFAULT 0,
  `Narration` varchar(500) DEFAULT NULL,
  `Serial_Number` varchar(100) DEFAULT NULL,
  `Closing_Stock` float DEFAULT 0,
  `Reorder_Level` float NOT NULL DEFAULT 0,
  `Std_Cost` float DEFAULT 0,
  `Default_Sales_Ledger_id` varchar(100) DEFAULT NULL,
  `Default_PurchaseLedger_id` varchar(100) DEFAULT NULL,
  `Default_Input_Tax_Ledger` varchar(500) DEFAULT NULL,
  `Default_Output_Tax_Ledger` varchar(500) DEFAULT NULL,
  `Default_Sales_Return_Ledger` varchar(500) DEFAULT NULL,
  `Default_Purchase_Return_Ledger` varchar(500) DEFAULT NULL,
  `Vat_Rate` float NOT NULL DEFAULT 0,
  `Default_UOM_ID` varchar(100) DEFAULT NULL,
  `Last_Modified` timestamp NOT NULL DEFAULT current_timestamp(),
  `Date_Created` timestamp NOT NULL DEFAULT current_timestamp(),
  `Timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Warranty_Days` int(11) NOT NULL DEFAULT 0,
  `Shelf_Life` float NOT NULL DEFAULT 0,
  `Brand_Id` varchar(150) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `isCustomItem` tinyint(1) DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `isPurchaseItem` tinyint(1) DEFAULT NULL,
  `isSalesItem` tinyint(1) DEFAULT NULL,
  `KOT_Printer` varchar(100) DEFAULT NULL,
  `Item_Name_Arabic` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `Favourite` tinyint(1) DEFAULT NULL,
  `IsStockItem` tinyint(1) DEFAULT NULL,
  `From_Time` time NOT NULL DEFAULT '00:00:00',
  `To_Time` time NOT NULL DEFAULT '23:59:59',
  `Price_2` float DEFAULT NULL,
  `HSN_CODE` varchar(100) DEFAULT NULL,
  `Section` varchar(100) DEFAULT NULL,
  `Flags` longtext DEFAULT NULL,
  `Category` varchar(100) DEFAULT NULL,
  `DefaultLedgerID` varchar(100) DEFAULT NULL,
  `isSerailNumbered` tinyint(1) DEFAULT 0,
  `isBatchProcessed` tinyint(1) DEFAULT 0,
  `isService` tinyint(1) DEFAULT 0,
  `isPerishable` tinyint(1) DEFAULT NULL,
  `weight` float(10,2) DEFAULT NULL,
  `location` varchar(50) DEFAULT NULL,
  `isActive` tinyint(1) DEFAULT 1,
  `Hide_in_Bill` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Item_ID` (`Item_ID`),
  UNIQUE KEY `Item_ID_2` (`Item_ID`),
  KEY `Group_Id` (`Group_Id`,`Brand_Id`)
) ENGINE=InnoDB AUTO_INCREMENT=171 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `sales_inventory_items`
--

INSERT INTO `sales_inventory_items` VALUES
(1,'0x2x1','Mango Lassi (Medium)','','','0x2','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(2,'0x2x2','Fresh Lime Soda ( Sweet/Salty','','','0x2','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(3,'0x2x3','Soft Drinks','','','0x2','NULL',2.38095,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(4,'0x2x4','Bottled Water Big','','','0x2','NULL',1.90476,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','NULL','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(5,'0x2x5','Bottled Water Small','','','0x2','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(6,'0x2x6','Masala Tea','','','0x2','NULL',1.90476,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(7,'0x2x7','Black Tea','','','0x2','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(8,'0x2x8','Milk Tea','','','0x2','NULL',1.90476,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(9,'0x2x9','Black Coffee','','','0x2','NULL',1.90476,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(10,'0x2x10','Milk Coffee  Fresh','','','0x2','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(11,'0x2x11','Banana Smoothie','','','0x2','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(12,'0x2x12','Avacado Smoothie','','','0x2','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(13,'0x2x13','Mango Smoothie','','','0x2','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(14,'0x3x14','Poori With Aloo Ki Sabzi','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(15,'0x3x15','Plain Dosa (2Pcs)+ Sambar +Chutney','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(16,'0x3x16','Masala Dosa (1Pc) + Sambar + Chutney','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(17,'0x3x17','Idli (2Pcs) + Sambar + Chutney','','','0x3','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(18,'0x3x18','Medu Vada 2Pcs + Sambar + Chutney','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(19,'0x3x19','Stuffed Paratha Aloo/Gobi','','','0x3','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(20,'0x3x20','Puttu(1Full Pcs) + Black Chana Or Banana','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(21,'0x3x21','Upma+Sambar Chutny','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(22,'0x3x22','Vellappam (2 Pcs) & Egg Roast','','','0x3','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(23,'0x3x23','Idiyappam (3 Pcs)& White Chana','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(24,'0x3x24','Upma/Poha/Pongal & Black Chana','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(25,'0x3x25','Uthapam (1 Pcs) + Sambar + Chutney','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(26,'0x3x26','Chappathi (2) + Veg Curry','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(27,'0x3x27','Pongal+Chutney','','','0x3','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(28,'0x3x28','Aloo Paratha + Chutney / Raita','','','0x3','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(29,'0x3x29','Egg Poratha','','','0x3','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(30,'0x3x30','Falafel (Set)','','','0x3','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(31,'0x4x31','Boiled Egg (2Nos)','','','0x4','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(32,'0x4x32','White Chana Masala','','','0x4','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(33,'0x4x33','Black Chana Masala','','','0x4','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(34,'0x4x34','Whole Moong Curry','','','0x4','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(35,'0x4x35','Egg Roast (1 Ps)','','','0x4','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(36,'0x4x36','Mix Veg Curry','','','0x4','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(37,'0x4x37','Chicken Curry 2 Pcs','','','0x4','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(38,'0x5x38','Chicken Fried Rice','','','0x5','NULL',11.4286,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(39,'0x5x39','Egg Fried Rice','','','0x5','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(40,'0x5x40','Chicken Noodles','','','0x5','NULL',11.4286,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(41,'0x5x41','Chicken Manchurian- Semi Gravy','','','0x5','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(42,'0x5x42','Egg Noodles','','','0x5','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(43,'0x5x43','Chilly Chicken- Semi Gravy','','','0x5','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(44,'0x6x44','Veg Fried Rice','','','0x6','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(45,'0x6x45','Veg Noodle','','','0x6','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(46,'0x6x46','Chilly Paneer Semi Gravy','','','0x6','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(47,'0x6x47','Mix Veg Manchurian Semi Gra','','','0x6','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(48,'0x6x48','Gobi Manchurian Semi Gravy','','','0x6','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(49,'0x7x49','Gulab Jamun (1 Ps)','','','0x7','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(50,'0x7x50','Ras Malai','','','0x7','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(51,'0x7x51','Ladoo','','','0x7','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(52,'0x7x52','Jalebi','','','0x7','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(53,'0x7x53','Fruit Salad','','','0x7','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(54,'0x7x54','Motta Rice','','','0x7','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(55,'0x7x55','Barik Rice','','','0x7','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(56,'0x7x56','Veg Pulao','','','0x7','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(57,'0x7x57','Jeera Rice','','','0x7','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(58,'0x7x58','Veg Biriyani','','','0x7','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(59,'0x7x59','Curd Rice','','','0x7','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(60,'0x7x60','Lemon Rice','','','0x7','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(61,'0x7x61','Egg Biriyani','','','0x7','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(62,'0x7x62','Chicken Dum Biriyani','','','0x7','NULL',11.4286,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(63,'0x7x63','Mutton Dum Biriyani','','','0x7','NULL',14.2857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(64,'0x7x64','Hyderabadi Chicken Biriyani','','','0x7','NULL',12.381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(65,'0x7x65','Hyderabadi Mutton Biriyani','','','0x7','NULL',14.2857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(66,'0x7x66','Beef Biriyani','','','0x7','NULL',14.2857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(67,'0x7x67','Chicken Mandi / Kabsa','','','0x7','NULL',13.3333,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(68,'0x7x68','Mutton Mandi / Kabsa','','','0x7','NULL',14.2857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(69,'0x7x69','Chicken Machibos','','','0x7','NULL',13.3333,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(70,'0x7x70','Mutton Machibos','','','0x7','NULL',14.2857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(71,'0x7x71','Kerala Porotta','','','0x7','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(72,'0x7x72','Chappathi','','','0x7','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(73,'0x8x73','Pineapple','','','0x8','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(74,'0x8x74','Anar Juice','','','0x8','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(75,'0x8x75','Orange Juice','','','0x8','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(76,'0x8x76','Carrot Juice','','','0x8','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(77,'0x8x77','Mango Juice','','','0x8','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(78,'0x8x78','Watermelon Juice','','','0x8','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(79,'0x9x79','Mutton Rogan Josh','','','0x9','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(80,'0x9x80','Mutton Kadai','','','0x9','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(81,'0x9x81','Butter Chicken','','','0x9','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(82,'0x9x82','Kadai Chicken','','','0x9','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(83,'0x9x83','Egg Curry / Roast','','','0x9','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(84,'0x9x84','Chicken Pepper','','','0x9','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(85,'0x9x85','Chicken Kali Mirch','','','0x9','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(86,'0x9x86','Kerala Fish Curry ','','','0x9','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(87,'0x9x87','Chicken Curry','','','0x9','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(88,'0x9x88','Chilly Beef','','','0x9','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(89,'0x9x89','Beef Curry','','','0x9','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(90,'0x9x90','Beef Fry','','','0x9','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(91,'0x9x91','Mutton Curry','','','0x9','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(92,'0x9x92','Fish Fry','','','0x9','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(93,'0x9x93','Chicken Tandoori- (Half Size)','','','0x9','NULL',11.4286,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(94,'0x9x94','Chicken Tikka (4 Pcs)','','','0x9','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(95,'0x9x95','Chicken Malai Tikka (4 Pcs)','','','0x9','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(96,'0x9x96','Chicken Reshmi Kabab (4 Pcs)','','','0x9','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(97,'0x9x97','Grilled Chicken Quarter','','','0x9','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(98,'0x9x98','Chicken Fry 1 Pcs','','','0x9','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(99,'0x9x99','Chicken 65 (6 Pcs)','','','0x9','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(100,'0x10x100','Paneer Butter Masala','','','0x10','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(101,'0x10x101','Kadai Paneer','','','0x10','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(102,'0x10x102','Matar Paneer','','','0x10','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(103,'0x10x103','Palak Paneer','','','0x10','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(104,'0x10x104','Rajma Masala','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(105,'0x10x105','Dal Makhni','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(106,'0x10x106','Dal Tadka','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(107,'0x10x107','Aloo Baingan','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(108,'0x10x108','Aloo Karela','','','0x10','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(109,'0x10x109','Mixed Vegetables','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(110,'0x10x110','Bindi Masala','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(111,'0x10x111','Aloo Matar','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(112,'0x10x112','Aloo Gobi','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(113,'0x10x113','White Chana','','','0x10','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(114,'0x10x114','Paneer Tikka ','','','0x10','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(115,'0x10x115','Pakoda Curry','','','0x10','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(116,'0x11x116','Veg Porotta Roll','','','0x11','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(117,'0x11x117','Veg Kathi Roll','','','0x11','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(118,'0x11x118','Vegetable Sandwich','','','0x11','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(119,'0x11x119','Veg Burger','','','0x11','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(120,'0x11x120','Porotta Veg Roll','','','0x11','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(121,'0x11x121','Porotta Egg Roll','','','0x11','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(122,'0x11x122','Porotta Chicken Roll','','','0x11','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(123,'0x11x123','Chicken Kathi Roll','','','0x11','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(124,'0x11x124','Egg Sandwich','','','0x11','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(125,'0x11x125','Club Chicken Sandwich','','','0x11','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(126,'0x11x126','Grilled Burger Chicken','','','0x11','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(127,'0x11x127','Kabab Chicken Sandwich','','','0x11','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(128,'0x11x128','Toaster Sandwich','','','0x11','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(129,'0x11x129','Chicken Burger','','','0x11','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(130,'0x11x130','Beef Burgur','','','0x11','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(131,'0x12x131','Pav Bhaji','','','0x12','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(132,'0x12x132','Mix Veg Pakora','','','0x12','NULL',1.90476,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(133,'0x12x133','Bread Pakora ','','','0x12','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(134,'0x12x134','Veg Samosa','','','0x12','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(135,'0x12x135','Chicken Samosa','','','0x12','NULL',1.90476,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(136,'0x12x136','Medu Vada','','','0x12','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(137,'0x12x137','Dal Vada','','','0x12','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(138,'0x12x138','Veg Cutlet','','','0x12','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(139,'0x12x139','Chicken Cutlet','','','0x12','NULL',2.38095,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(140,'0x12x140','Aloo Bonda','','','0x12','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(141,'0x12x141','Banana Bonda','','','0x12','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(142,'0x12x142','Banana Fry','','','0x12','NULL',1.90476,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(143,'0x12x143','Panjabi Samoosa','','','0x12','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(144,'0x12x144','Tossed Bread (2Pcs)','','','0x12','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(145,'0x4x145','Vatu Cake','','','0x4','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(146,'0x4x146','Chutney ','','','0x4','NULL',0.47619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(147,'0x4x147','Single Paratha Set','','','0x4','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(148,'0x4x148','Single Dosa Set','','','0x4','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(149,'0x4x149','Single Appam Set','','','0x4','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(150,'0x4x150','Signal Poori Set','','','0x4','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(151,'0x4x151','Idly Single','','','0x4','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(152,'0x4x152','Paya Set','','','0x4','NULL',6.66667,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(153,'0x4x153','Egg Bhurji','','','0x4','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(154,'0x4x154','Paya','','','0x4','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(155,'0x4x155','Boiled Veg','','','0x4','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(156,'0x4x156','Vatu Cake','','','0x4','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(157,'0x4x157','Kashary Small','','','0x4','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(158,'0x4x158','Kashary Big','','','0x4','NULL',4.7619,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(159,'0x4x159','Rava Cake','','','0x4','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(160,'0x13x160','Duck Biryani','','','0x13','NULL',17.1429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(161,'0x13x161','Grilled Fish','','','0x13','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(162,'0x13x162','Grilled Sherry Fish Big','','','0x13','NULL',9.52381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(163,'0x13x163','Grilled Sherry Fish Small ','','','0x13','NULL',7.61905,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(164,'0x14x164','Vada Paw','','','0x14','NULL',2.85714,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(165,'0x14x165','Falafel Sandwich','','','0x14','NULL',3.80952,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(166,'0x14x166','Cheese Omlate','','','0x14','NULL',5.71429,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(167,'0x14x167','Double Meat Sandwich','','','0x14','NULL',14.2857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(168,'0x14x168','Spring Rool','','','0x14','NULL',1.90476,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(169,'0x14x169','Bread Pakoda','','','0x14','NULL',1.42857,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0),
(170,'0x14x170','Pakoda','','','0x14','NULL',0.952381,0,0,'2024-10-08','NULL',0,0,'','',0,0,0,'0x7x3','0x8x4','0x2x14x6','0x2x14x6','0x7x3','0x8x4',5,'1','2024-10-08 08:28:25','2024-10-08 08:21:38','2024-10-08 08:21:38',0,0,'1','',0,'',0,1,'|','',0,0,'00:00:00','22:29:59',0,'','GODOWN','{\"bundled\":false}','NULL','NULL',0,0,0,0,0.00,'NULL',1,0);

--
-- Table structure for table `sales_invoice_details`
--

CREATE TABLE `sales_invoice_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sales_invoice_details`
--


--
-- Table structure for table `sales_invoice_details_deleted`
--

CREATE TABLE `sales_invoice_details_deleted` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sales_invoice_details_deleted`
--


--
-- Table structure for table `sales_invoice_main`
--

CREATE TABLE `sales_invoice_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `PaymentSplit` tinyint(1) NOT NULL DEFAULT 0,
  `Location` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `sales_invoice_main`
--


--
-- Table structure for table `sales_invoice_main_deleted`
--

CREATE TABLE `sales_invoice_main_deleted` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) NOT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(20) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `PaymentSplit` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_3` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_4` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_5` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_6` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_7` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_8` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_9` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_10` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_11` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_12` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_13` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_14` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_15` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_16` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci ROW_FORMAT=COMPACT;

--
-- Dumping data for table `sales_invoice_main_deleted`
--


--
-- Table structure for table `sales_order_details`
--

CREATE TABLE `sales_order_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Dimension` varchar(500) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Length` float DEFAULT NULL,
  `ItemVoucherStatus` float DEFAULT 0,
  `itemProductionStatus` float DEFAULT 0,
  `Tax_Rate` float DEFAULT NULL,
  `Tax_Amount` float DEFAULT NULL,
  `Quantity_Full` float DEFAULT NULL,
  `Quantity_Disc` float DEFAULT NULL,
  `TimeDate` datetime DEFAULT NULL,
  `ContainerCount` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sales_order_details`
--


--
-- Table structure for table `sales_order_itemwise`
--

CREATE TABLE `sales_order_itemwise` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(50) NOT NULL,
  `Voucher_Prefix` varchar(20) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Salesman_ID` varchar(50) NOT NULL,
  `Item_ID` varchar(200) NOT NULL,
  `Qty_Total` float NOT NULL,
  `Narration` varchar(1000) DEFAULT NULL,
  `Added_By` varchar(200) NOT NULL,
  `Damage` float DEFAULT NULL,
  `Total_Amount` float NOT NULL,
  `Voucher_Status` int(11) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sales_order_itemwise`
--


--
-- Table structure for table `sales_order_main`
--

CREATE TABLE `sales_order_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float NOT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(20) DEFAULT NULL,
  `Customer_Expected_Date` datetime DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Location` varchar(500) DEFAULT NULL,
  `Assigned_Time` datetime DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sales_order_main`
--


--
-- Table structure for table `sendchannel`
--

CREATE TABLE `sendchannel` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `notification_data` longtext NOT NULL,
  `todbname` varchar(255) NOT NULL,
  `time_stamp` timestamp(6) NULL DEFAULT current_timestamp(6),
  `typeofdata` varchar(255) NOT NULL,
  `generated_Transactionid` varchar(50) NOT NULL,
  `Action` int(11) NOT NULL,
  `notification_id` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sendchannel`
--


--
-- Table structure for table `servicecomplaintregister_main`
--

CREATE TABLE `servicecomplaintregister_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Contact_ID` varchar(100) DEFAULT NULL,
  `Voucher_Date` date DEFAULT NULL,
  `Date_Created` date DEFAULT NULL,
  `TimeStamp` timestamp NULL DEFAULT current_timestamp(),
  `Location` varchar(100) DEFAULT NULL,
  `Complaint_Status` int(11) DEFAULT NULL,
  `Completion_Date` date DEFAULT NULL,
  `Remarks` int(11) DEFAULT NULL,
  `Non_Completion_Reason` varchar(100) DEFAULT NULL,
  `Non_Completion_id` int(11) DEFAULT NULL,
  `InspectedBy` int(11) DEFAULT NULL,
  `InspectionCharge` float DEFAULT NULL,
  `Inspected_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `servicecomplaintregister_main`
--


--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Cash_Out` int(11) DEFAULT NULL,
  `Delivery` int(11) DEFAULT NULL,
  `All_Other` int(11) DEFAULT NULL,
  `KOT_Copy` int(11) DEFAULT NULL,
  `Voucher_Prefix` varchar(50) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `Start_Time` time DEFAULT NULL,
  `End_Time` time DEFAULT NULL,
  `End_Day` int(11) DEFAULT NULL,
  `MAC_ID` varchar(300) DEFAULT NULL,
  `Type_Of_Trade` varchar(30) DEFAULT NULL,
  `Default_Cash` varchar(100) DEFAULT NULL,
  `POS_Number` varchar(30) DEFAULT NULL,
  `Port_No` varchar(50) DEFAULT NULL,
  `SplitTables` tinyint(1) DEFAULT NULL,
  `Token_System` tinyint(1) DEFAULT NULL,
  `Fifo_Valuation` tinyint(1) DEFAULT 0,
  `Inclusive` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` VALUES
(1,1,1,1,0,'A',-1,'05:00:00','04:59:59',1,'68:ED:A4:21:6D:D1|0C:8C:24:D0:94:34|0C:8C:24:D0:94:35|0C:8C:24:D0:94:32||','restaurant','0x5x23x1','10069','COM7',0,0,0,0);

--
-- Table structure for table `shifttable`
--

CREATE TABLE `shifttable` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `ShiftDate` datetime NOT NULL,
  `StartVoucherNo` int(11) NOT NULL,
  `StopVoucherNo` int(11) NOT NULL,
  `SalesValue` float NOT NULL,
  `OpeningBalance` float DEFAULT NULL,
  `CashSales` float DEFAULT NULL,
  `CardSales` float DEFAULT NULL,
  `CreditSales` float DEFAULT NULL,
  `PurchaseCash` float DEFAULT NULL,
  `PurchaseCredit` float DEFAULT NULL,
  `PurchaseTotal` float DEFAULT NULL,
  `PurchaseCard` float(10,2) DEFAULT NULL,
  `PaymentCash` float DEFAULT NULL,
  `ReceiptCash` float DEFAULT NULL,
  `ReceiptCard` float(10,2) NOT NULL,
  `ReceiptTotal` float(10,2) NOT NULL,
  `PaymentCard` float(10,2) NOT NULL,
  `PaymentTotal` float(10,2) NOT NULL,
  `cashierID` int(11) DEFAULT NULL,
  `voucherPrefix` varchar(10) DEFAULT NULL,
  `MacID` varchar(30) DEFAULT NULL,
  `POSNumber` varchar(30) DEFAULT NULL,
  `paxCount` int(11) DEFAULT NULL,
  `Narration` varchar(1000) DEFAULT NULL,
  `ShiftStart_DateTime` datetime DEFAULT NULL,
  `ShiftEnd_DateTime` datetime DEFAULT NULL,
  `TotalCash` float DEFAULT NULL,
  `CasinCounter` float DEFAULT NULL,
  `CashWithDrawn` float DEFAULT NULL,
  `CashBalance` float DEFAULT NULL,
  `TillDifference` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci ROW_FORMAT=COMPACT;

--
-- Dumping data for table `shifttable`
--


--
-- Table structure for table `sku_master`
--

CREATE TABLE `sku_master` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `SKU_ID` varchar(200) NOT NULL,
  `ITEM_ID` varchar(200) NOT NULL,
  `SKU_DESCRIPTION` varchar(2000) DEFAULT NULL,
  `SKU_TYPE` int(11) DEFAULT NULL,
  `SKU_POSSIBLE_VALUES` longtext DEFAULT NULL,
  `SKU_VALUE` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `sku_master`
--


--
-- Table structure for table `stock_details`
--

CREATE TABLE `stock_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `Quantity` float NOT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Adj_value` decimal(10,2) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `stock_details`
--


--
-- Table structure for table `stock_journal_details`
--

CREATE TABLE `stock_journal_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) DEFAULT NULL,
  `Voucher_Prefix` varchar(100) DEFAULT NULL,
  `Voucher_Date` date DEFAULT NULL,
  `Inventory_Item_ID` varchar(100) DEFAULT NULL,
  `Quantity` float DEFAULT NULL,
  `Price` float DEFAULT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `crQty` float DEFAULT NULL,
  `drQty` float DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `stock_journal_details`
--


--
-- Table structure for table `stock_journal_main`
--

CREATE TABLE `stock_journal_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(11) DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `stock_journal_main`
--


--
-- Table structure for table `stock_main`
--

CREATE TABLE `stock_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` tinyint(1) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `stock_main`
--


--
-- Table structure for table `stock_request_details`
--

CREATE TABLE `stock_request_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(50) NOT NULL,
  `Item_ID` varchar(100) NOT NULL,
  `UOM_ID` varchar(50) DEFAULT NULL,
  `Time_Stamp` timestamp NULL DEFAULT NULL,
  `Calulated_Qty` float DEFAULT NULL,
  `Request_Qty` float DEFAULT NULL,
  `Issue_qty` float DEFAULT NULL,
  `WorkOrder_Id` varchar(50) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `stock_request_details`
--


--
-- Table structure for table `stock_request_main`
--

CREATE TABLE `stock_request_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(50) NOT NULL,
  `Voucher_Date` date DEFAULT NULL,
  `Kitchen_Area` varchar(100) DEFAULT NULL,
  `Time_Stamp` timestamp NULL DEFAULT NULL,
  `Last_Updated` datetime(6) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `From_Location` varchar(100) DEFAULT NULL,
  `To_Location` varchar(100) DEFAULT NULL,
  `VoucherStatus` varchar(200) DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `stock_request_main`
--


--
-- Table structure for table `table_reservations`
--

CREATE TABLE `table_reservations` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Reservation_id` varchar(100) DEFAULT NULL,
  `Table_id` varchar(200) DEFAULT NULL,
  `Added_Date` date DEFAULT NULL,
  `Reservation_Date` date DEFAULT NULL,
  `From_Time` time DEFAULT NULL,
  `To_Time` time DEFAULT NULL,
  `Contact_Id` varchar(100) DEFAULT NULL,
  `PAX` int(11) DEFAULT NULL,
  `Is_Confirmed` tinyint(1) DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `table_reservations`
--


--
-- Table structure for table `tables_master`
--

CREATE TABLE `tables_master` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Table_ID` varchar(200) NOT NULL,
  `Table_Name` varchar(200) NOT NULL,
  `Capacity` int(11) DEFAULT NULL,
  `Min` int(11) DEFAULT NULL,
  `Max` int(11) DEFAULT NULL,
  `Floor` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `tableunique` (`Table_Name`),
  UNIQUE KEY `idd` (`Table_ID`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `tables_master`
--

INSERT INTO `tables_master` VALUES
(1,'730f6d84-f94d-11f0-95b6-e43a6e5a433a','CABIN 1',0,1702521171,160855120,'1'),
(2,'837f7822-f94d-11f0-95b6-e43a6e5a433a','CABIN 2',4,6029375,6029404,'2'),
(3,'94ddb986-f94d-11f0-95b6-e43a6e5a433a','CABIN 3',4,7274496,3735600,NULL),
(4,'99bf0331-f94d-11f0-95b6-e43a6e5a433a','CABIN 4',4,215801736,215862000,NULL),
(5,'9faf7969-f94d-11f0-95b6-e43a6e5a433a','CABIN 5',0,0,1759595264,NULL),
(6,'a7ab895c-f94d-11f0-95b6-e43a6e5a433a','CABIN 6',0,3473453,3407922,NULL),
(7,'c9a2eb55-f94d-11f0-95b6-e43a6e5a433a','TABLE 1',0,157956584,0,NULL),
(8,'cfd6fc8b-f94d-11f0-95b6-e43a6e5a433a','TABLE 2',0,6029375,6029404,NULL),
(9,'d5976b58-f94d-11f0-95b6-e43a6e5a433a','TABLE 3',0,219304208,219304160,NULL),
(10,'d99f7569-f94d-11f0-95b6-e43a6e5a433a','TABLE 4',0,66604056,66616512,NULL),
(11,'e097cc18-f94d-11f0-95b6-e43a6e5a433a','TABLE 5',0,1702494208,12337,NULL),
(12,'e64101a4-f94d-11f0-95b6-e43a6e5a433a','TABLE 6',0,0,1759595264,NULL),
(13,'ebcbc5f7-f94d-11f0-95b6-e43a6e5a433a','TABLE 7',0,1850305637,215607496,NULL),
(14,'52a0eaca-f9ce-11f0-aa75-e43a6e5a433a','TABLE 8',4,0,1759595264,NULL);

--
-- Table structure for table `tax_class_details`
--

CREATE TABLE `tax_class_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `tax_class_id` int(11) NOT NULL,
  `ledger_id` varchar(500) NOT NULL,
  `percentage` float NOT NULL,
  `amount` float NOT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tax_class_details`
--

INSERT INTO `tax_class_details` VALUES
(1,1,'Sales @5%',100,0),
(2,1,'Output CGST @2.5%',2.5,0),
(3,1,'Output SGST@2.5%',2.5,0),
(4,2,'Purchase @5%',100,0),
(5,2,'Input CGST @2.5%',2.5,0),
(6,2,'Input SGST @2.5%',2.5,0),
(7,3,'Sales Return @ 5%',100,0),
(8,3,'Input CGST @2.5%',2.5,0),
(9,3,'Input SGST @2.5%',2.5,0),
(10,4,'Purchase Return @5%',100,0),
(11,4,'Output CGST @2.5%',2.5,0),
(12,4,'Output SGST @ 2.5%',2.5,0),
(13,5,'Sales @12%',100,0),
(14,5,'Output CGST @6%',2.5,0),
(15,5,'Output SGST @6%',2.5,0),
(16,5,'Output Cess 1%',1,0),
(17,6,'Purchase @12%',100,0),
(18,6,'Input CGST @6%',2.5,0),
(19,6,'Input SGST @6%',2.5,0),
(20,6,'Input Cess @1%',1,0),
(21,7,'Sales Return @12%',100,0),
(22,7,'Input CGST @6%',2.5,0),
(23,7,'Input SGST @6%',2.5,0),
(24,7,'Input Cess @1%',1,0),
(25,8,'Purchase Return @12%',100,0),
(26,8,'Output CGST @6%',2.5,0),
(27,8,'Output SGST @6%',2.5,0),
(28,8,'Output Cess @1%',1,0),
(29,9,'Sales @18%',100,0),
(30,9,'Output CGST @9%',2.5,0),
(31,9,'Output SGST @9%',2.5,0),
(32,9,'Output Cess 1%',1,0),
(33,10,'Purchase @18%',100,0),
(34,10,'Input CGST @9%',2.5,0),
(35,10,'Input SGST @9%',2.5,0),
(36,10,'Input Cess 1%',1,0),
(37,11,'Sales Return @18%',100,0),
(38,11,'Input CGST @9%',2.5,0),
(39,11,'Input SGST @9%',2.5,0),
(40,11,'Input Cess @1%',1,0),
(41,12,'Purchase Return @18%',100,0),
(42,12,'Output CGST @9%',2.5,0),
(43,12,'Output SGST @9%',2.5,0),
(44,12,'Output Cess 1%',1,0),
(45,13,'Sales @28%',100,0),
(46,13,'Output CGST @14%',2.5,0),
(47,13,'Output SGST @14%',2.5,0),
(48,13,'Output Cess 1%',1,0),
(49,14,'Purchase @28%',100,0),
(50,14,'Input CGST @14%',2.5,0),
(51,14,'Input SGST @14%',2.5,0),
(52,14,'Input Cess 1%',1,0),
(53,15,'Sales Return @28%',100,0),
(54,15,'Input CGST @14%',2.5,0),
(55,15,'Input SGST @14%',2.5,0),
(56,15,'Input Cess @1%',1,0),
(57,16,'Purchase Return @28%',100,0),
(58,16,'Output CGST @14%',2.5,0),
(59,16,'Output SGST @14%',2.5,0),
(60,16,'Output Cess 1%',1,0);

--
-- Table structure for table `tax_class_master`
--

CREATE TABLE `tax_class_master` (
  `_Id` int(50) NOT NULL,
  `name` varchar(500) NOT NULL,
  `tax_rate` varchar(500) NOT NULL,
  `type_of_trade` varchar(500) NOT NULL,
  `tax_type` varchar(500) NOT NULL,
  `transaction_type` varchar(500) NOT NULL,
  `location` varchar(500) NOT NULL,
  PRIMARY KEY (`_Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tax_class_master`
--


--
-- Table structure for table `tempbill`
--

CREATE TABLE `tempbill` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `itemname` varchar(100) DEFAULT NULL,
  `groupname` varchar(100) DEFAULT NULL,
  `price` int(11) DEFAULT NULL,
  `quantity` int(11) DEFAULT NULL,
  `addons` varchar(100) DEFAULT NULL,
  `order_Number` int(11) DEFAULT NULL,
  `ipaddress` int(11) DEFAULT NULL,
  `orderstatus` int(11) DEFAULT NULL,
  `reference` int(11) DEFAULT NULL,
  `Kot_Number` int(11) DEFAULT NULL,
  `printer` varchar(100) DEFAULT NULL,
  `EntryTime` timestamp NULL DEFAULT current_timestamp(),
  `Voucher_Prefix` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14066 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `tempbill`
--


--
-- Table structure for table `tempvalues`
--

CREATE TABLE `tempvalues` (
  `CashierID` varchar(30) DEFAULT NULL,
  `Kotnumber` int(10) DEFAULT NULL,
  `waiterID` int(11) DEFAULT NULL,
  `leftwords` varchar(500) DEFAULT NULL,
  `rightwords` varchar(500) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `tempvalues`
--

INSERT INTO `tempvalues` VALUES
('1',15,0,'|EXTRA|LESS|WITHOUT|NO ICE|RIGHT','|CHEESE|HONEY|FREID|JALAPENO|ONION|TOMATO|SPICY');

--
-- Table structure for table `terms_and_conditions`
--

CREATE TABLE `terms_and_conditions` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Title` varchar(100) DEFAULT NULL,
  `Delivery_Time` varchar(2000) DEFAULT NULL,
  `Payment_Terms` varchar(2000) DEFAULT NULL,
  `Warranty` varchar(2000) DEFAULT NULL,
  `Validity` varchar(2000) DEFAULT NULL,
  `Exclusion` varchar(2000) DEFAULT NULL,
  `Extra` varchar(2000) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `terms_and_conditions`
--

INSERT INTO `terms_and_conditions` VALUES
(1,'REF','To Be Confirmed.','50% Advance & Balance Prior To Delivery.','Warranty Against Manufacturing Defect From The Date Of Delivery.\nWear And Tear Parts Such As Castors, Door Handles, Switches, Heating Elements, Thermostats, Pilot Lamps, Timers, Clay & Fragile items Etc. Are Excluded From Warranty.\nWarranty Will Not Apply If Damages Occur Due To Fire, Misuses, Power Fluctuation And Attempted Repair By Unauthorized Personnel.\nTo Claim Any Warranty Agreed Payment Term Should Be Fulfilled.\nOriginal Invoice Has To Accompany To Avail The Warranty.','7 Days.','All Kind Of Civil, MEP, Gas Connection Are To Be Provided By The Client As Per MEP Drawing / Details.','Fabrication Goods Once Confirmed by the Client is not Cancellable. Order Cancellation/Modification will only be accepted on Condition that any  Costs, Charges and Expenses already Incurred by the Company will be Reimbursed without any Delay.');

--
-- Table structure for table `test`
--

CREATE TABLE `test` (
  `_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `test`
--

INSERT INTO `test` VALUES
(1),
(1),
(1),
(1),
(23),
(23),
(28);

--
-- Table structure for table `time_details`
--

CREATE TABLE `time_details` (
  `client_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `Z` timestamp(6) NULL DEFAULT NULL,
  `B` timestamp(6) NULL DEFAULT NULL,
  `X` timestamp(6) NULL DEFAULT NULL,
  `dbName` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `C` timestamp(6) NULL DEFAULT NULL,
  PRIMARY KEY (`client_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `time_details`
--

INSERT INTO `time_details` VALUES
('B','0000-00-00 00:00:00.000000','2026-03-17 04:30:00.000000','0000-00-00 00:00:00.000000','gmafwaj26','2026-03-17 07:30:00.000000'),
('C','0000-00-00 00:00:00.000000','0000-00-00 00:00:00.000000','0000-00-00 00:00:00.000000','gmafwaj26','2026-03-17 07:30:00.000000'),
('X','0000-00-00 00:00:00.000000','0000-00-00 00:00:00.000000','0000-00-00 00:00:00.000000','gmafwaj26','0000-00-00 00:00:00.000000'),
('Z','0000-00-00 00:00:00.000000','0000-00-00 00:00:00.000000','0000-00-00 00:00:00.000000','gmafwaj26','0000-00-00 00:00:00.000000');

--
-- Table structure for table `transaction_bom_helper`
--

CREATE TABLE `transaction_bom_helper` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `ItemID` varchar(200) NOT NULL,
  `From_Ledger` varchar(200) DEFAULT NULL,
  `To_Ledger` varchar(200) DEFAULT NULL,
  `VoucherID` varchar(100) DEFAULT NULL,
  `VoucherPrefix` varchar(20) DEFAULT NULL,
  `VoucherDate` datetime DEFAULT NULL,
  `VoucherType` varchar(100) DEFAULT NULL,
  `From_Location` varchar(100) DEFAULT NULL,
  `To_Location` varchar(100) DEFAULT NULL,
  `Cr_Qty` float DEFAULT NULL,
  `Dr_Qty` float DEFAULT NULL,
  `Cr_Amount` float DEFAULT NULL,
  `Dr_Amount` float DEFAULT NULL,
  `Narration` varchar(1000) DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `Consumed` float(10,2) DEFAULT NULL,
  `Consumed_ReqId` varchar(100) DEFAULT NULL,
  `Price` float(10,2) DEFAULT NULL,
  `Requirement_itemID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `transaction_bom_helper`
--


--
-- Table structure for table `transaction_fifo_mapping`
--

CREATE TABLE `transaction_fifo_mapping` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `transaction_id` int(11) NOT NULL,
  `Voucher_Date` datetime DEFAULT NULL,
  `Item_Id` varchar(200) DEFAULT NULL,
  `godown` varchar(100) DEFAULT NULL,
  `voucher_no` varchar(100) DEFAULT NULL,
  `voucher_prefix` varchar(20) DEFAULT NULL,
  `voucher_type` varchar(100) DEFAULT NULL,
  `requirement_itemid` varchar(100) DEFAULT NULL,
  `consumed_voucher_no` varchar(100) DEFAULT NULL,
  `consumed_voucher_prefix` varchar(20) DEFAULT NULL,
  `consumed_voucher_type` varchar(100) DEFAULT NULL,
  `consumed_reqid` varchar(100) DEFAULT NULL,
  `cr_qty` float(10,3) DEFAULT NULL,
  `dr_qty` float(10,3) DEFAULT NULL,
  `cr_amount` float(10,2) DEFAULT NULL,
  `dr_amount` float(10,2) DEFAULT NULL,
  `Price` float(10,2) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `transaction_fifo_mapping`
--


--
-- Table structure for table `transaction_helper`
--

CREATE TABLE `transaction_helper` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_Type` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Voucher_ID` varchar(100) DEFAULT NULL,
  `Voucher_Date` date DEFAULT NULL,
  `Transaction_Amount` float(10,2) DEFAULT NULL,
  `Credit_Ledger_ID` varchar(100) DEFAULT NULL,
  `Debit_Ledger_ID` varchar(100) DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `TIMESTAMP` datetime DEFAULT current_timestamp(),
  `isAdditional` tinyint(4) DEFAULT NULL,
  `Debit_Amount` float(10,2) DEFAULT NULL,
  `Credit_Amount` float(10,2) DEFAULT NULL,
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Against_Ledger` varchar(100) DEFAULT NULL,
  `isProfitCentre` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `transaction_helper`
--


--
-- Table structure for table `transaction_item_helper`
--

CREATE TABLE `transaction_item_helper` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `ItemID` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `From_Ledger` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `To_Ledger` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `VoucherID` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `VoucherPrefix` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `VoucherDate` datetime DEFAULT NULL,
  `VoucherType` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `From_Location` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `To_Location` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `Cr_Qty` float(10,3) DEFAULT NULL,
  `Dr_Qty` float(10,3) DEFAULT NULL,
  `Cr_Amount` float(10,2) DEFAULT NULL,
  `Dr_Amount` float(10,2) DEFAULT NULL,
  `Narration` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
  `Time` time DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Price` float(10,2) DEFAULT NULL,
  `Consumed` float(10,3) DEFAULT NULL,
  `Consumed_ReqId` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  KEY `ItemID` (`ItemID`,`VoucherDate`,`From_Location`,`To_Location`,`Cr_Qty`,`Dr_Qty`,`Cr_Amount`,`Dr_Amount`),
  KEY `ItemID_2` (`ItemID`,`VoucherDate`,`From_Location`,`To_Location`,`Cr_Qty`,`Dr_Qty`,`Cr_Amount`,`Dr_Amount`),
  KEY `ItemID_3` (`ItemID`,`VoucherDate`,`From_Location`,`To_Location`,`Cr_Qty`,`Dr_Qty`,`Cr_Amount`,`Dr_Amount`),
  KEY `ItemID_4` (`ItemID`,`VoucherDate`,`From_Location`,`To_Location`,`Cr_Qty`,`Dr_Qty`,`Cr_Amount`,`Dr_Amount`),
  KEY `ItemID_5` (`ItemID`,`VoucherDate`,`From_Location`,`To_Location`,`Cr_Qty`,`Dr_Qty`,`Cr_Amount`,`Dr_Amount`),
  KEY `ItemID_6` (`ItemID`,`VoucherDate`,`From_Location`,`To_Location`,`Cr_Qty`,`Dr_Qty`,`Cr_Amount`,`Dr_Amount`),
  KEY `ItemID_7` (`ItemID`,`VoucherDate`,`From_Location`,`To_Location`,`Cr_Qty`,`Dr_Qty`,`Cr_Amount`,`Dr_Amount`),
  KEY `ItemID_8` (`ItemID`,`VoucherDate`,`From_Location`,`To_Location`,`Cr_Qty`,`Dr_Qty`,`Cr_Amount`,`Dr_Amount`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `transaction_item_helper`
--


--
-- Table structure for table `ui_config`
--

CREATE TABLE `ui_config` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `ui_name` varchar(50) NOT NULL,
  `Module` varchar(50) DEFAULT NULL,
  `ui_type` varchar(20) DEFAULT NULL,
  `sub_type` varchar(20) DEFAULT NULL,
  `query` longtext DEFAULT NULL,
  `filters` longtext DEFAULT NULL,
  `display_options` longtext DEFAULT NULL,
  `redirect_to` longtext DEFAULT NULL,
  `Extras` longtext DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=90 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `ui_config`
--

INSERT INTO `ui_config` VALUES
(1,'Groupwise Sales Report','Inventory','Reports','Inventory','select Ind,ID,itemGrp.group_name as Name,SUM(Quantity) as Quantity, SUM(Subtotal) as Value from $trans_db.sales_invoice_details det inner join (select ItemGrp1.group_name, Item.item_id, \'G\' as Ind,ItemGrp1.group_id as ID from $master_db.sales_inventory_items item inner join (with recursive cte (group_id, group_name, parent_id, item_id) as ( select grp.group_id,grp.group_name,grp.parent_id, item.item_id from $master_db.sales_inventory_items item left outer join sales_inventory_groups grp on item.group_id = grp.group_id union all select p.group_id, p.group_name,p.parent_id, item_id from $master_db.sales_inventory_groups p inner join cte on p.group_id = cte.parent_id ) select cte.group_name, cte.item_id, cte.group_id from cte where cte.parent_id = \'$f1\') itemGrp1 on itemGrp1.item_id = item.item_id union select Item2.Item_name, Item2.Item_id, \'I\' as ind,Item2.Item_id as ID from $master_db.sales_inventory_items Item2 where Item2.group_id = \'$f1\') itemGrp on det.inventory_item_id = itemGrp.item_id where det.Voucher_no in ( SELECT Voucher_No from $trans_db.Sales_Invoice_Main main where str_to_Date(concat(main.voucher_date, substr(timestamp, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\')and str_to_Date(concat(main.voucher_date, substr(timestamp, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') <=str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') ) group by itemGrp.group_name ORDER BY 1,2','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"group\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1], \"width-list\":[40,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}','{\"redirect-to\":[{\"default\":{\"id\":2, \"keyList\":[{\"var-name\":\"f1\", \"col-pos\":1, \"filter-type\":\"item\"}]}}]}',NULL),
(2,'Itemwise Billwise Sales Report','Inventory','Reports','Inventory','SELECT \'V\' as Ind, main.Voucher_No, main.Voucher_Prefix, \'SALESVOUCHER\' as Voucher_Type, main.Voucher_Date as Date, concat(main.Voucher_No ,\'-\', main.Voucher_Prefix) as \'Voucher No\', (SELECT Ledger_Name from $master_db.Ledger_Master where Ledger_ID=main.Ledger_ID) as Ledger,det.quantity as Quantity, det.SubTotal as \'Total Amount\' From $trans_db.Sales_invoice_Main main JOIN Sales_Invoice_Details det ON main.voucher_no = det.voucher_no and main.voucher_prefix = det.voucher_prefix WHERE det.inventory_item_id = \'$f1\' AND (str_to_Date(concat(main.voucher_date, substr(timestamp, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(main.voucher_date, substr(timestamp, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') <=str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') ) order BY cast(main.Voucher_No as unsigned) desc ','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"item\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7,8], \"Hide\":[0,1,2,3], \"Key-col\":[1,2], \"width-list\":[10,10,30,20,20], \"align-list\":[0,0,0,1,1], \"print-cols\":[4,5,6,7,8], \"stretch\":6}',NULL,NULL),
(3,'Itemwise Transaction Summary','Inventory','Reports','Inventory','SELECT \'I\' as Ind, ItemID, (SELECT Item_Name FROM $master_db.Sales_Inventory_Items WHERE Item_Id = ItemID) as \'Item\', SUM(Cr_Qty) as \'Cr Qty\', SUM(Dr_Qty) as \'Dr Qty\', SUM(Cr_Amount) as \'Credit Amount\', SUM(Dr_Amount) as \'Debit Amount\' FROM $trans_db.Transaction_Item_Helper WHERE VoucherDate >=\'$fromDateTime\' AND VoucherDate <=\'$toDateTime\' AND VoucherType like \'$f2\' GROUP BY ItemID ORDER BY Item','{\"filter by\":[{\"var-name\":\"f2\",\"var-value\":\"voucherType\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4,5,6], \"Hide\":[0,1], \"width-list\":[20,20,20,20,20], \"align-list\":[0,1,1,1,1], \"print-cols\":[2,3,4,5,6], \"stretch\":0}','{\"redirect-to\":[{\"default\":{\"id\":5, \"keyList\":[{\"filter-type\":\"item\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}',NULL),
(4,'Groupwise Purchase Report','Inventory','Reports','Inventory','select Ind,ID,itemGrp.group_name as Name, SUM(Quantity) as Quantity, SUM(Subtotal) as Amount from $trans_db.Purchase_invoice_details det inner join (select ItemGrp1.group_name, Item.item_id, \'G\' as Ind,ItemGrp1.group_id as ID from $master_db.sales_inventory_items item inner join (with recursive cte (group_id, group_name, parent_id, item_id) as (select grp.group_id,grp.group_name,grp.parent_id, item.item_id from $master_db.sales_inventory_items item left outer join sales_inventory_groups grp on item.group_id = grp.group_id union all select p.group_id, p.group_name,p.parent_id, item_id from $master_db.sales_inventory_groups p inner join cte on p.group_id = cte.parent_id ) select cte.group_name, cte.item_id, cte.group_id from cte where cte.parent_id = \'$f1\' ) itemGrp1 on itemGrp1.item_id = item.item_id union select Item2.Item_name, Item2.Item_id, \'I\' as ind,Item2.Item_id as ID from $master_db.sales_inventory_items Item2 where Item2.group_id = \'$f1\' ) itemGrp on det.inventory_item_id = itemGrp.item_id where det.Voucher_no in (SELECT Voucher_No from $trans_db.Purchase_Invoice_Main main where  str_to_Date(concat(main.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(main.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') ) group by itemGrp.group_name ORDER BY 1,2','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"group\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1], \"width-list\":[40,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}',' {\"redirect-to\":[{\"default\":{\"id\":5, \"keyList\":[{\"filter-type\":\"item\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}\r\n',NULL),
(5,'Item Movement Analysis','Inventory','Reports','Inventory','SELECT \'V\' as Ind, VoucherId, VoucherPrefix, VoucherType, date(VOUCHERDATE) as \'Voucher Date\' , cast(VOUCHERID as Integer) as \'Voucher No\' , VOUCHERTYPE as \'Voucher Type\' , (case when To_Location = \'OUT\' then (select ledger_name from $master_db.ledger_master where ledger_id = To_Ledger) else (select ledger_name from $master_db.ledger_master where ledger_id = From_Ledger) end ) as Ledger,  CAST(SUM(CR_QTY) AS DECIMAL(10,2)) as \'Outward\' , CAST(SUM(DR_QTY) AS DECIMAL(10,2)) as \'Inward\'  FROM $trans_db.TRANSACTION_ITEM_HELPER WHERE ITEMID = \'$f1\' AND VOUCHERDATE >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND VOUCHERDATE <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\')  AND VOUCHERTYPE like \'$f2\' GROUP BY  VOUCHERTYPE, VOUCHERID, VOUCHERPREFIX  ORDER BY 1, VOUCHERTYPE, 2, VOUCHERPREFIX','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"item\"}, {\"var-name\":\"f2\",\"var-value\":\"voucherType\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[8,9], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20,20,20], \"align-list\":[0,0,0,0,1,1], \"print-cols\":[4,5,6,7,8,9], \"stretch\":7}',NULL,NULL),
(6,'Negative Stock Report','Inventory','Reports','Inventory','SELECT \'I\' as Ind, itemID, INV.item_name as Item ,\r\ntrans.difference as Stock FROM $master_db.Sales_Inventory_Items as INV LEFT OUTER JOIN (SELECT itemID, \r\nSUM(COALESCE(Cr_Qty,0) -COALESCE(Dr_Qty,0)) AS difference FROM $trans_db.Transaction_Item_Helper \r\n  WHERE VoucherDate<= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') Group BY ItemID)\r\n as trans on INV.Item_Id=trans.ItemID  WHERE trans.difference<0  AND Inv.isStockItem = 1 order by Item','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3], \"Hide\":[0,1], \"width-list\":[20,20], \"align-list\":[0,1,0,1], \"print-cols\":[2,3], \"stretch\":2}','{\"redirect-to\":[{\"default\":{\"id\":5, \"keyList\":[{\"filter-type\":\"item\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}',NULL),
(7,'Groupwise Transaction Summary','Inventory','Reports','Inventory','select Ind,ID,itemGrp.group_name as Name, ABS(SUM(CR_QTY - DR_QTY)) as Quantity, ABS(SUM(CR_AMOUNT - DR_AMOUNT)) as Value  from $trans_db.Transaction_Item_Helper det  inner join  (select ItemGrp1.group_name, Item.item_id, \'G\' as Ind,ItemGrp1.group_id as ID from  $master_db.Sales_Inventory_Items item inner join  (with recursive cte (group_id, group_name, parent_id, item_id) as (  select     grp.group_id,grp.group_name,grp.parent_id, item.item_id  FROM $master_db.Sales_Inventory_Items item left outer join Sales_Inventory_Groups  grp  on item.group_id = grp.group_id  union all   select     p.group_id, p.group_name,p.parent_id, item_id  from       $master_db.Sales_Inventory_Groups  p  inner join cte   on p.group_id = cte.parent_id ) select cte.group_name, cte.item_id, cte.group_id  from cte where cte.parent_id = \'$f2\' ) itemGrp1  on itemGrp1.item_id = item.item_id  union  select Item2.Item_name, Item2.Item_id, \'I\' as ind,Item2.Item_id as ID  from  $master_db.Sales_Inventory_Items Item2  where Item2.group_id = \'$f2\' ) itemGrp  on det.ItemID = itemGrp.item_id  where  ( str_to_Date(addTime(det.VoucherDate, det.Time) ,\'%Y-%m-%d %H:%i:%s\')>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(addTime(det.VoucherDate, det.Time) ,\'%Y-%m-%d %H:%i:%s\')<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')) AND det.voucherType like \'$f1\' group by itemGrp.group_name ORDER BY 1,3','{\"filter by\":[{\"var-name\":\"f2\",\"var-value\":\"group\"}, {\"var-name\":\"f1\",\"var-value\":\"voucherType\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1], \"width-list\":[40,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}','{\"redirect-to\":[{\"default\":{\"id\":5, \"keyList\":[{\"filter-type\":\"item\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}',NULL),
(8,'Item Movement Summary By Ledger','Inventory','Reports','Inventory','SELECT \'I\' as Ind, trans.ItemID, (SELECT ITEM_NAME FROM $master_db.Sales_Inventory_Items WHERE ITEM_ID = TRANS.ITEMID) AS ITEM,CR_QTY as Cr,DR_QTY as Dr, COALESCE(SUM(CR_QTY),0) AS CREDIT, COALESCE(SUM(DR_QTY),0) AS DEBIT  FROM $trans_db.TRANSACTION_ITEM_HELPER TRANS WHERE FROM_LEDGER = \'$f1\' OR TO_LEDGER = \'$f1\' AND TRANS.VOUCHERDATE >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND TRANS.VOUCHERDATE <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') GROUP BY ITEMID','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"ledger\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1], \"width-list\":[20,20,20,20,20], \"align-list\":[0,1,1,1,1], \"print-cols\":[2,3,4,5,6], \"stretch\":2}','{\"redirect-to\":[{\"default\":{\"id\":28, \"keyList\":[{\"filter-type\":\"item\",\"var-name\":\"f1\", \"col-pos\":1}, {\"var-name\":\"f2\", \"var-value\":\"f1\"}]}}]}',NULL),
(9,'Re-Order Report','Inventory','Reports','Inventory','SELECT \'I\' as Ind, inv.Item_Id as ID,inv.Item_Name as Item, inv.Reorder_Level as Level,  coalesce(SO.qty,0) as \'Sales Order\\n Pending\',  inv.Reorder_Level + COALESCE(SO.qty,0) as \'Required\\n Total\',  coalesce(stock,0) as \'Current Stock\'  FROM $master_db.Sales_Inventory_Items inv  left outer join ( select itemID, round(sum(debitQty - creditQty),3) as stock from (  select trans.VoucherDate, ItemID,  sum(trans.Cr_Qty) as creditQty, sum(trans.Dr_Qty) as debitQty, \'purchase\' as type  from $trans_db.Transaction_Item_Helper trans where VoucherDate <= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') group by ItemID UNION ALL  select trans.VoucherDate, ItemID,  sum(trans.Cr_Qty), sum(trans.Dr_Qty), \'sales\' as type  from $trans_db.Transaction_Bom_Helper trans where VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') group by ItemID ) A group by itemID ) stk  on inv.item_id = stk.itemID  left outer join  ( select inventory_item_id, sum(qty) as qty from  (select inventory_item_id , sum(quantity) as qty from $trans_db.sales_order_details  where itemProductionStatus = 110 group by inventory_item_id union select ing.purchase_item, sum(quantity) * ing.purchase_item_qty / ing.sales_item_qty from  $trans_db.sales_order_Details inner join  $master_db.ingredients  ing on inventory_item_id = ing.sales_item  where itemProductionStatus = 110 group by purchase_item) X  group by inventory_item_id ) SO on inv.Item_ID = SO.inventory_item_id WHERE isPurchaseItem = 1 and coalesce(Reorder_Level ,0) + coalesce(SO.qty ,0) - coalesce(stock ,0) > 0  ORDER BY Item','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[4,5,6], \"Hide\":[0,1], \"width-list\":[20,20,20,20,20], \"align-list\":[0,1,1,1,1], \"print-cols\":[2,3,4,5,6], \"stretch\":0}','{\"redirect-to\":[{\"default\":{\"id\":5, \"keyList\":[{\"filter-type\":\"item\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}','[{\"widget-type\":\"QtMaterialFlatButton\", \"Layout\":\"filterLayout\", \"widget-id\":1, \"text\":\"Export to Purchase Order\", \"action\":\"ExportToPurchaseOrder\", \"widget-align\":\"AlignRight\", \"col-pos\":{\"itemID\": 1, \"stock\": 5, \"reqTotal\": 6}}]'),
(10,'Godownwise Sales Report','Inventory','Reports','Inventory','SELECT \'I\' as Ind, ItemID,  ( SELECT Item_Name FROM $master_db.Sales_Inventory_Items where item_id = itemID ) as Item,  SUM(CR_QTY) as Quantity, SUM(Cr_Amount) as Value  FROM $trans_db.transaction_item_helper  Where from_location like \'$f1\' AND VoucherDate >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') group by ItemID','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"godown\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1], \"width-list\":[40,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}','{\"redirect-to\":[{\"default\":{\"id\":29, \"keyList\":[{\"filter-type\":\"item\",\"var-name\":\"f1\", \"col-pos\":1}, {\"var-name\":\"f2\", \"var-value\":\"f1\"}]}}]}',NULL),
(11,'Mode of Servicewise Sales Report','Inventory','Reports','Inventory','SELECT sim.MODE_OF_SERVICE, (SELECT Price_List_Name from $master_db.Price_Lists where Price_List_ID=sim.MODE_OF_SERVICE)as \'Mode\',  SUM(Total) as \'Total\' from $trans_db.Sales_Invoice_Main sim where  ( `TimeStamp`>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and `TimeStamp`<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')) group by MODE_OF_SERVICE','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[2], \"Hide\":[0], \"width-list\":[40,20], \"align-list\":[0,1], \"print-cols\":[1,2], \"stretch\":1}',NULL,NULL),
(12,'Time Based Sales Report','Inventory','Reports','Inventory','SELECT CONCAT(\'Hour : \',HOUR(`TimeStamp`)) as Hour, SUM(Total) as Amount, Count(Voucher_No) as Count  FROM $trans_db.Sales_Invoice_Main Where Voucher_No in (SELECT Voucher_No from $trans_db.Sales_Invoice_Main stable  WHERE str_to_Date(concat(stable.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(stable.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') <=str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')) GROUP BY HOUR(`TimeStamp`) ORDER BY HOUR(`TimeStamp`)','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[1,2],  \"width-list\":[20,20,20], \"align-list\":[0,1,1], \"print-cols\":[0,1,2], \"stretch\":1}',NULL,NULL),
(13,'Day Book','Finance','Reports','Finance','SELECT \'V\' as Ind, subq.Voucher_ID, subq.Voucher_Prefix, subq.Voucher_Type, subq.Ledger_ID , (SELECT ledger_name FROM $master_db.Ledger_Master where ledger_id = subq.Ledger_ID) AS Ledger, subq.Voucher_Date \'Voucher Date\', subq.Voucher_ID \'Voucher No\', subq.Voucher_Type as \'Voucher Type\', case when subq.deb>0 then subq.deb else 0 end as Debit, case when subq.cred>0 then subq.cred else 0 end as Credit FROM ( SELECT Ledger_ID, Credit_Amount-Debit_Amount as cred, Debit_Amount-Credit_Amount as deb, Voucher_Date, Voucher_ID, Voucher_Prefix, Voucher_Type, MIN(_id) From $trans_db.Transaction_Helper Where Voucher_Date >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND Voucher_Date <=str_to_date(\'$toDateTime\',\'%Y-%m-%d\') GROUP BY Voucher_ID, Voucher_Type ORDER BY Voucher_Date, Cast(Voucher_ID as unsigned), Voucher_Type ) subq','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[9,10], \"Hide\":[0,1,2,3,4], \"width-list\":[20,20,20,20,20,20], \"align-list\":[0,0,0,0,1,1], \"print-cols\":[5,6,7,8,9,10], \"stretch\":5}',NULL,NULL),
(14,'Ledger Report','Finance','Reports','Finance','SELECT \'V\' as Ind, A.Voucher_ID, A.Voucher_Prefix, A.Voucher_Type, Ledger, A.Voucher_Date as \'Date\', A.Voucher_ID as \'Voucher NO\', A.Voucher_Type as \'Voucher Type\', DrAmount as \'Dr Amount\', CrAmount as \'Cr Amount\',  case when running_bal<0 then concat(-1 *running_bal, \' Cr\') else concat(running_bal, \' Dr\') end as \'Running Balance\' FROM ( with subq as (SELECT Against_Ledger, sum(Credit_Amount) as cred,sum(Debit_Amount) as deb,  Voucher_Date, Voucher_ID, Voucher_Type, Voucher_Prefix  From $trans_db.Transaction_Helper Where Ledger_ID=\'$f1\'  GROUP BY Voucher_ID, Voucher_Type, voucher_prefix  ORDER BY Voucher_Date, cast(voucher_id as int), Voucher_Type, _id ) SELECT (SELECT ledger_name FROM $master_db.Ledger_Master where ledger_id = subq.Against_Ledger) AS LEDGER,  subq.Voucher_Date , subq.Voucher_ID , subq.Voucher_Type ,  case when subq.deb  > 0 then subq.deb else 0 end as \'DrAmount\',  case when subq.cred  > 0 then subq.cred else 0 end as \'CrAmount\',  subq.Voucher_Prefix , sum(subq.deb - subq.cred)  OVER (ORDER BY voucher_date, cast(voucher_id as int), voucher_type) as running_bal  from subq  group by subq.voucher_type, subq.voucher_id, subq.voucher_prefix ) A  WHERE Voucher_Date >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND Voucher_Date <=str_to_date(\'$toDateTime\',\'%Y-%m-%d\') order by Voucher_Date, cast(voucher_id as int), voucher_type\r\n','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"ledger\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[8,9], \"Hide\":[0,1,2,3],  \"width-list\":[20,15,15,15,20,20], \"align-list\":[0,0,0,0,1,1], \"print-cols\":[4,5,6,7,8,9,10], \"stretch\":4, \"additional\":[{\"widget-name\":\"Opening Balance\", \"widget-type\":\"QLabel\", \"value-type\":\"amount\", \"value-from\":\"query\", \"query\":\"SELECT Round(SUM(Credit_Amount-Debit_Amount),2) FROM $trans_db.Transaction_Helper WHERE Ledger_ID= \'$f1\' AND Voucher_Date<str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') \", \"layout\":\"additionalLay1\", \"alignment\":\"right\"}, {\"widget-name\":\"Closing Balance\", \"widget-type\":\"QLabel\", \"value-type\":\"amount\", \"value-from\":\"query\", \"query\":\"SELECT Round(SUM(Credit_Amount-Debit_Amount),2) FROM $trans_db.Transaction_Helper WHERE Ledger_ID= \'$f1\' AND Voucher_Date<str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') + INTERVAL 1 DAY \", \"layout\":\"additionalLay2\", \"alignment\":\"right\"}]}',NULL,'[{\"widget-type\":\"QtMaterialFlatButton\", \"Layout\":\"filterLayout\", \"widget-id\":1, \"text\":\"Clear Dues\", \"action\":\"PendingBills\", \"widget-align\":\"AlignRight\"}]\r\n'),
(15,'Over-Due Bills By Ledger','Finance','Reports','Finance','SELECT \'V\' as Ind, RefNo, RefPrefix, RefType, min(VoucherDate) as \'Voucher Date\', RefNo as \'Voucher No\', RefType as \'Voucher Type\', (select sum(DebitAmount - creditAmount) from $trans_db.billwise_records where voucherNo = Ref.RefNo AND voucherType = Ref.RefType AND voucherPrefix = Ref.RefPrefix) as \'Bill Amount\', SUM(COALESCE(DebitAmount,0)) -  SUM(COALESCE(CreditAmount,0)) as \'Balance Amount\'  FROM $trans_db.Billwise_Records Ref WHERE Ref.LedgerId = \'$f1\' AND Ref.VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND (Method_Of_Adj<> \'ON ACC\' OR Method_Of_Adj IS NULL) GROUP BY RefNo, RefType, RefPrefix HAVING SUM(COALESCE(CreditAmount,0)) - SUM(COALESCE(DebitAmount,0)) <> 0 ORDER BY 1','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"ledger\"}],\"dateTime\":[\"toDateTime\"]}','{\"Totals\":[7,8], \"Hide\":[0,1,2,3],  \"width-list\":[25,15,25,15,20], \"align-list\":[0,0,0,1,1], \"print-cols\":[4,5,6,7,8], \"stretch\":6}',NULL,NULL),
(16,'Billwise Sales Report','Finance','Reports','Finance','SELECT \'V\' as Ind, Voucher_No, Voucher_Prefix, \'SALESVOUCHER\' as VoucherType, Voucher_Date as Date, cast(Voucher_No as unsigned) as Voucher, (SELECT Ledger_Name from $master_db.Ledger_Master where Ledger_ID=stable.Ledger_ID) as Ledger,Total as \'Total Amount\' From $trans_db.Sales_Invoice_Main stable WHERE  ( str_to_Date(concat(stable.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')>= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(stable.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')) order BY cast(Voucher_No as unsigned) desc','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3],  \"width-list\":[15,15,30,20], \"align-list\":[0,1,0,1,0,1], \"print-cols\":[4,5,6,7], \"stretch\":6}',NULL,NULL),
(17,'Groupwise Outstanding','Finance','Reports','Finance','SELECT \'L\' as Ind, LEDGER_ID, LEDGER_NAME as Ledger, (CASE WHEN CLOSING < 0 THEN -1*CLOSING  ELSE NULL END) Debit,   (CASE WHEN CLOSING > 0 THEN CLOSING  ELSE NULL END) Credit FROM  (SELECT LED.LEDGER_NAME, LED.LEDGER_ID,   CAST( COALESCE(SUM(TRANS.CREDIT_AMOUNT),0) - COALESCE(SUM(TRANS.DEBIT_AMOUNT),0) AS DECIMAL(10,2)) AS CLOSING  FROM $master_db.Ledger_Master LED  INNER JOIN   (SELECT  GROUP_ID,          GROUP_NAME,          PARENT_ID   FROM    (SELECT * FROM $master_db.account_groups ORDER BY PARENT_ID, GROUP_ID) GROUPS_SORTED, (SELECT @PV := \'$f1\') INITIALISATION  WHERE   FIND_IN_SET(PARENT_ID, @PV)  AND     LENGTH(@PV := CONCAT(@PV, \',\', GROUP_ID))  UNION   SELECT  GROUP_ID,          GROUP_NAME,          PARENT_ID   FROM    $master_db.account_groups    WHERE GROUP_ID = \'$f1\') AS ACC_GROUP  ON LED.GROUP_ID = ACC_GROUP.GROUP_ID  LEFT OUTER JOIN $trans_db.TRANSACTION_HELPER TRANS  ON LED.LEDGER_ID = TRANS.LEDGER_ID  AND TRANS.VOUCHER_DATE <= \'$toDateTime\'  GROUP BY LED.LEDGER_ID)A  WHERE CLOSING <>0','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"account_group\"}],\"dateTime\":[\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1],  \"width-list\":[40,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}','{\"redirect-to\":[{\"default\":{\"id\":15, \"keyList\":[{\"filter-type\":\"ledger\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}',NULL),
(18,'Salesman-wise Sales','Finance','Reports','Finance','SELECT \'E\' as Ind, sal.Salesman_ID, (SELECT Name FROM Employee_Details WHERE _id= sal.Salesman_ID) Name, COUNT(Voucher_No) Count,SUM(Total) Amount  FROM $trans_db.Sales_Invoice_Main sal  WHERE  ( str_to_Date(concat(sal.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(sal.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')) group by Salesman_ID','{\"dateTime\":[\"fromDateTime\", \"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1],  \"width-list\":[40,20,20], \"align-list\":[], \"print-cols\":[2,3,4], \"stretch\":2}','{\"redirect-to\":[{\"default\":{\"id\":19, \"keyList\":[{\"filter-type\":\"employee\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}',NULL),
(19,'Billwise Report By Salesman','Finance','Reports','Finance','SELECT \'V\' as Ind, Voucher_No, Voucher_Prefix, \'SALESVOUCHER\' as Voucher_Type, Voucher_Date as \'Date\', Voucher_No as \'Voucher\', Total as Amount  FROM $trans_db.Sales_Invoice_Main sal WHERE  str_to_Date(concat(sal.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(sal.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') and Salesman_ID = \'$f1\'','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"employee\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[6], \"Hide\":[0,1,2,3],  \"width-list\":[40,20,20], \"align-list\":[], \"print-cols\":[4,5,6], \"stretch\":4}',NULL,NULL),
(20,'Discount Report','Finance','Reports','Finance','SELECT \'V\' as Ind , Voucher_No as \'Voucher No\',Voucher_Prefix,\'SALESVOUCHER\' as VoucherType,  Voucher_Date as \'Voucher Date\', Reference as Reference, cast(SUM(Discount_In_Amount) as Decimal(10,2)) as Discount FROM $trans_db.Sales_Invoice_Main stable  where Discount_In_Amount >0 and  ( str_to_Date(concat(stable.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')>= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(stable.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')) GROUP BY Voucher_No Order BY Voucher_No\r\n','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[6], \"Hide\":[0,2,3],  \"width-list\":[40,20,20,20], \"align-list\":[0,0,0,1], \"print-cols\":[1,4,5,6], \"stretch\":0}',NULL,NULL),
(21,'Complimentary Report','Finance','Reports','Finance','SELECT \'V\' as Ind, main.Voucher_No, main.Voucher_Prefix, \'SALESVOUCHER\' VoucherType, main.Voucher_Date as \'Voucher Date\',  main.Voucher_No as \'Voucher No\', Cast(SUM(sa.Quantity*sa.Price) as DECIMAL(10,2)) as Amount, main.Reference FROM $trans_db.Sales_Invoice_Details sa join $trans_db.sales_invoice_main main on main.Voucher_No =sa.Voucher_No and main.voucher_prefix = sa.voucher_prefix Where str_to_Date(concat(main.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(main.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\')<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') and main.total = 0  GROUP BY main.Voucher_No, main.voucher_prefix Order BY main.Voucher_No','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[6], \"Hide\":[0,1,2,3],  \"width-list\":[40,20,20,20], \"align-list\":[], \"print-cols\":[4,5,6,7], \"stretch\":0}',NULL,NULL),
(22,'Shift Report','Finance','Reports','Finance','SELECT `_id`,`ShiftDate` \'Date\', `StartVoucherNo` \'From\' , `StopVoucherNo` \'To\',`SalesValue` Sales,  `CashSales` \'Cash Sales\', `CardSales` \'Card\', `CreditSales` \'Credit\',`PaymentCash`\'Payment Cash\', (SELECT name from  Employee_Details  where _id = shift.cashierID) as Cashier,`paxCount` PAX , `ShiftStart_DateTime` \'Start\' , `ShiftEnd_DateTime` \'END\',`TotalCash`\'Total Cash\' , `CasinCounter` \'Cash In Counter\' , `TillDifference` \'Till Difference\' , `Narration`,CashWithDrawn \'Cash WithDrawn\'   FROM $trans_db.`shifttable` shift  where  ( `ShiftDate`>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and `ShiftDate`<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\'))','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[4,5,6,7,8,10,13,14,15,17], \"Hide\":[0],  \"width-list\":[10,10,10,10,20,10,30,10,20,20,20,20,20,20,20,20,20], \"align-list\":[], \"print-cols\":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17], \"stretch\":0}','{\"redirect-to\":[{\"default\":{\"id\":13, \"keyList\":[]}}]}',NULL),
(23,'Trial Balance','Finance','Reports','Finance','SELECT \'L\' as Ind, LEDGER_ID, LEDGER_NAME as \'Ledger Name\', (CASE WHEN CLOSING < 0 THEN -1*CLOSING  ELSE NULL END) DEBIT,   (CASE WHEN CLOSING > 0 THEN CLOSING  ELSE NULL END) CREDIT FROM  (SELECT LED.LEDGER_NAME, LED.LEDGER_ID, LED.LEDGER_TYPE, LED.GROUP_ID,  CAST(COALESCE(LED.OPENING_BALANCE,0)+  ROUND(COALESCE(SUM(TRANS.CREDIT_AMOUNT),0),2) - ROUND(COALESCE(SUM(TRANS.DEBIT_AMOUNT),0),2)  AS DECIMAL(10,2)) AS CLOSING FROM $master_db.Ledger_Master LED  LEFT OUTER JOIN $trans_db.TRANSACTION_HELPER TRANS  ON LED.LEDGER_ID = TRANS.LEDGER_ID  AND TRANS.VOUCHER_DATE <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')  GROUP BY LED.LEDGER_ID)A  WHERE CLOSING <>0 ORDER BY LEDGER_TYPE,GROUP_ID','{\"dateTime\":[\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1],  \"width-list\":[40,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}','{\"redirect-to\":[{\"default\":{\"id\":14, \"keyList\":[{\"filter-type\":\"ledger\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}',NULL),
(24,'Itemwise Stock Report By Group And Godown And LPP','Inventory','Reports','Inventory','select \'I\' as Ind, A.item_id as Id,  Item_Name as Item,   cast(sum(Opening) as decimal(10,3)) as Opening,    cast(sum(Inward) as decimal(10,3)) as Inward,    cast(sum(Issue) as decimal(10,3)) as Issued ,    cast(sum(Opening)+sum(Inward)-sum(Issue) as decimal(10,3)) AS \'Closing Stock\',   round(coalesce(purch.price , coalesce(std_cost,0)) *(sum(Opening)+sum(Inward)-sum(Issue)),2)   as \'Stock Value\' from    (    select trans.VoucherDate vDate, ItemID as item_id,  (case when VoucherDate < str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') or VoucherDate is null then (dr_qty) - (cr_qty)  else 0 end) as Opening,  (case when VoucherDate >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') then (dr_qty)  else 0 end )as Inward ,  (case when VoucherDate >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') then (cr_qty) else 0 end )as Issue,   trans.Dr_Amount , trans.Cr_Amount  from $trans_db.Transaction_Item_Helper trans where      VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') UNION ALL  select trans.VoucherDate vDate, ItemID as item_id,  (case when VoucherDate < str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') or VoucherDate is null then (dr_qty) - (cr_qty)  else 0 end) as Opening,  (case when VoucherDate >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') then (dr_qty)  else 0 end )as Inward ,  (case when VoucherDate >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') then (cr_qty) else 0 end )as Issue,   trans.Dr_Amount , trans.Cr_Amount  from $trans_db.Transaction_BOM_Helper trans where      VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') ) A  inner join $master_db.Sales_Inventory_Items inv  on A.item_id = inv.item_id  left outer join (SELECT Inventory_Item_ID, Voucher_Date, Price  FROM (SELECT  *, ROW_NUMBER() OVER (PARTITION BY Inventory_Item_ID ORDER By Voucher_Date desc, _id desc) AS rn  FROM $trans_db.purchase_invoice_details where Voucher_Date <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') ) x  WHERE rn = 1) purch  on A.item_id = purch.inventory_item_id  where inv.isStockItem = 1  group by inv.item_id   having sum(Opening)+sum(Inward)-sum(Issue) <> 0  order by Item','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"group\"}, {\"var-name\":\"f2\",\"var-value\":\"godown\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4,5,6,7], \"Hide\":[0,1],  \"width-list\":[30,20,20,20,20], \"align-list\":[0,1,1,1,1,1], \"print-cols\":[2,3,4,5,6,7], \"stretch\":2}',NULL,NULL),
(25,'Groupwise Stock Report By Godown And LPP','Inventory','Reports','Inventory','SELECT Ind, Id, Name, Opening, Inward, Issued, ClosingStock as \'Closing Stock\', StockValue \'Stock Value\' from ( select ItemGrp.Ind, ItemGrp.Id, Name,    cast(sum(Opening) as decimal(10,3)) as Opening,   cast(sum(Inward) as decimal(10,3)) as Inward,   cast(sum(Issue) as decimal(10,3)) as Issued ,   cast(sum(Opening)+sum(Inward)-sum(Issue) as decimal(10,3)) AS \'ClosingStock\',   cast(sum(Price) as decimal(10,3)) as \'StockValue\' from   ( select  item_id,  (case when vdate >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') and vdate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') then (creditQty) else 0 end )as Issue,  (case when vdate >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') and vdate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') then (debitQty)  else 0 end )as Inward,  (case when vdate <  str_to_date(\'$fromDateTime\',\'%Y-%m-%d\')  or vdate is null then (debitQty) - (creditQty)  else 0 end) as Opening,  cr_amount, dr_amount,  coalesce((SELECT Price from Purchase_Invoice_Details where Inventory_Item_ID= item_ID order by Voucher_Date desc limit 1), (select std_cost FROM Sales_Inventory_Items where item_id = A.item_id)) * (debitQty - creditQty) as Price  from   (  select trans.VoucherDate vDate, ItemID as item_id,  0 debitQty , (trans.Cr_Qty) creditQty,  trans.Dr_Amount , trans.Cr_Amount, \'FROM\' as type   from Transaction_Item_Helper trans where (1=1)  and VoucherDate <= str_to_date(\'2020-11-19\',\'%Y-%m-%d\') and (select isStockItem FROM Sales_Inventory_Items where itemID = item_ID) = 1  and From_Location like \'$f2\'  and To_Location not like \'OUT\'  UNION ALL  select trans.VoucherDate, ItemID,  (trans.Dr_Qty) , 0,  trans.Dr_Amount , trans.Cr_Amount, \'TO\' as type   from Transaction_Item_Helper trans where  (1=1)  and To_Location like \'$f2\'  and From_Location  like \'OUT\'  and VoucherDate <= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') and (select isStockItem FROM Sales_Inventory_Items where itemID = item_ID) = 1  UNION ALL select trans.VoucherDate, ItemID as item_id,  0 , (trans.Cr_Qty),  trans.Dr_Amount , trans.Cr_Amount, \'FROM\' as type   from Transaction_Bom_Helper trans where (1=1)  and VoucherDate <= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') and (select isStockItem FROM Sales_Inventory_Items where item_ID = itemID) = 1  and From_Location like \'$f2\'  and To_Location  like \'OUT\'  UNION ALL  select trans.VoucherDate, ItemID,  (trans.Dr_Qty) , 0,  trans.Dr_Amount , trans.Cr_Amount, \'TO\' as type   from Transaction_Bom_Helper trans where  (1=1)  and To_Location like \'$f2\'  and From_Location  like \'OUT\'  and VoucherDate <= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') and (select isStockItem FROM Sales_Inventory_Items where item_ID = itemID) = 1  ) A where item_id is not null ) B  right outer join  (select ItemGrp1.group_name as Name, Item.item_id, \'G\' as Ind, ItemGrp1.group_id as Id from  Sales_Inventory_Items item inner join  (with recursive cte (group_id, group_name, parent_id, item_id) as (  select     grp.group_id,grp.group_name,grp.parent_id, item.item_id  FROM Sales_Inventory_Items item left outer join Sales_Inventory_Groups grp   on item.group_id = grp.group_id  union all   select     p.group_id, p.group_name,p.parent_id, item_id  from       Sales_Inventory_Groups p   inner join cte   on p.group_id = cte.parent_id ) select cte.group_name, cte.item_id, cte.group_id  from cte where cte.parent_id = \'$f1\' ) itemGrp1  on itemGrp1.item_id = item.item_id  union  select Item2.Item_name as Name, Item2.Item_id, \'I\' as ind, Item2.Item_Id as Id from  Sales_Inventory_Items Item2  where Item2.group_id = \'$f1\' ) ItemGrp on B.Item_Id = ItemGrp.Item_Id   group by Name ) X $f3 order by Name','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"group\"}, {\"var-name\":\"f2\",\"var-value\":\"godown\"}, {\"var-name\":\"f3\", \"var-value\" : \"query\", \"queryString\": \" having (Inward) <> 0 or (Issued) <> 0 or ClosingStock <> 0 \", \"var-type\" : \"flag\" , \"display-text\" : \"Hide 0 stock Items\", \"default\": \"\", \"default-state\":true}, {\"var-name\":\"f4\", \"var-value\" : \"query\", \"queryString\": \"OUT\", \"var-type\" : \"flag\" , \"display-text\" : \"Hide Godown Transfer\", \"default\": \"%\", \"default-state\":true}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4,5,6,7], \"Hide\":[0,1],  \"width-list\":[30,20,20,20,20], \"align-list\":[0,1,1,1,1,1], \"print-cols\":[2,3,4,5,6,7], \"stretch\":2}',NULL,NULL),
(26,'GST Report By HSN','Finance','Reports','Finance','select HSN_Code as \'HSN Code\', cast(Taxable_Value as decimal(10,2)) as \'Taxable Value\', Vat_Rate as \'Tax Rate\', cast(max(CGST) as decimal(10,2)) as CGST, cast(Max(SGST) as decimal(10,2)) SGST, cast(Max(IGST) as decimal(10,2)) IGST, cast(Taxable_Value + max(cgst) + max(sgst) + max(igst) as decimal(10,2)) as \'Total\' from ( SELECT HSN_Code as \'HSN Code\', abs(sum(cr_amount - dr_amount)) as Taxable_Value, Vat_Rate, ledger_id, ( case when Ledger_ID like \'0x2x14xOCG%\' then ABS(SUM(Credit_Amount-Debit_Amount)) else 0 end) as CGST, ( case when Ledger_ID like \'0x2x14xOSG%\' then ABS(SUM(Credit_Amount-Debit_Amount)) else 0 end) as SGST, ( case when Ledger_ID like \'0x2x14xOIG%\' then ABS(SUM(Credit_Amount-Debit_Amount)) else 0 end) as IGST From $trans_db.Transaction_Helper trans join $trans_db.transaction_item_helper itemtrans on trans.voucher_id = itemtrans.voucherID  join $master_db.Sales_Inventory_Items item on itemtrans.itemid = item.item_id  where ( (item.Vat_Rate = 5 and (Ledger_ID = \'0x2x14xOCG25\' or ledger_id = \'0x2x14xOSG25\')) OR (item.Vat_Rate = 12 and (Ledger_ID = \'0x2x14xOCG6\' or ledger_id = \'0x2x14xOSG6\')) OR (item.Vat_Rate = 18 and (Ledger_ID = \'0x2x14xOCG9\' or ledger_id = \'0x2x14xOSG9\')) OR (item.Vat_Rate = 28 and (Ledger_ID = \'0x2x14xOCG14\' or ledger_id = \'0x2x14xOSG14\')) ) and voucher_Date >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and voucher_Date <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') group by hsn_code, ledger_id ) A group by HSN_Code','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[1,3,4,5,6], \"Hide\":[], \"width-list\":[30,15,15,15,15,15,15], \"align-list\":[0,1,0,1,0,1,0,1], \"print-cols\":[1,2,3,4,5,6,7], \"stretch\":1}',NULL,NULL),
(27,'Cess Report','Finance','Reports','Finance','SELECT \'V\' as Ind, Voucher_ID as \'Voucher No\', Voucher_Prefix, Voucher_Type, SUM(Credit_Amount-Debit_Amount) as \'Cess Amount\'  From $trans_db.Transaction_Helper where Ledger_ID=\'0x2x14xCess\' and voucher_Date >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and voucher_Date <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') and Voucher_Type=\'SALESVOUCHER\' group by Voucher_ID, Voucher_Prefix','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[4], \"Hide\":[0,2,3],  \"width-list\":[40,20,20,20], \"align-list\":[], \"print-cols\":[1,4], \"stretch\":1}',NULL,NULL),
(28,'Item Movement Detailed By Ledger','Inventory','Reports','Inventory','SELECT \'V\' as Ind, VoucherId, VoucherPrefix, VoucherType, date(VOUCHERDATE) as \'Voucher Date\' , cast(VOUCHERID as Integer) as \'Voucher No\' , VOUCHERTYPE as \'Voucher Type\' ,   CAST(SUM(CR_QTY) AS DECIMAL(10,2)) as \'Outward\' , CAST(SUM(DR_QTY) AS DECIMAL(10,2)) as \'Inward\'  FROM $trans_db.TRANSACTION_ITEM_HELPER WHERE ITEMID = \'$f1\' AND VOUCHERDATE >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND VOUCHERDATE <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') AND (case when To_Location = \'OUT\' then To_Ledger else From_Ledger end ) = \'$f2\' GROUP BY  VOUCHERTYPE, VOUCHERID, VOUCHERPREFIX  ORDER BY 1, VOUCHERTYPE, 2, VOUCHERPREFIX','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"item\"}, {\"var-name\":\"f2\",\"var-value\":\"ledger\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7,8], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7,8]}',NULL,NULL),
(29,'Godownwise Billwise Sales','Inventory','Reports','Inventory','SELECT \'V\' as Ind, VoucherID,  VoucherPrefix, VoucherType, VoucherDate as \'Date\', VoucherID as Voucher, (select ledger_name from $master_db.ledger_master where ledger_id = to_ledger) as Ledger,  (CR_QTY) as Quantity, (Cr_Amount) as Value  FROM $trans_db.transaction_item_helper  Where from_location like \'$f2\' AND VoucherDate >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND VoucherDate <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') and ItemID =\'$f1\'','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"item\"}, {\"var-name\":\"f2\",\"var-value\":\"godown\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7,8], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7,8]}',NULL,NULL),
(30,'Sales Voucher Register','Finance','Registers','SALESVOUCHER','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'SALESVOUCHER\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Sales_Invoice_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(31,'Ledgerwise Transaction Summary','Finance','Reports','Finance','SELECT \'L\' as Ind, Ledger_Id, (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_Id = trans.Ledger_Id) as \'Ledger\',  SUM(Credit_Amount) as \'Credit Amount\', SUM(Debit_Amount) as \'Debit Amount\' FROM $trans_db.Transaction_Helper trans WHERE Voucher_Date >=\'$fromDateTime\' AND Voucher_Date <=\'$toDateTime\' AND Voucher_Type like \'$f1\' GROUP BY Ledger_ID ORDER BY Ledger','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"voucherType\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1], \"width-list\":[30,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL),
(32,'Sales Margin Report','Inventory','Reports','Inventory',' SELECT \'I\' as Ind,Item_ID, item_name as \'Item\',round(Quantity,3) as \'Sales Qty\',round(Subtotal,2) as \'Sales Amount\',round(Std_Cost,2) as \'Std Cost\',round(TotalCost,2) as \'Cost Total\',round(subTotal - Totalcost,2) as \'Margin Amount\',round(COALESCE((COALESCE(SubTotal,0)-COALESCE(TotalCost,0))*100/coalesce(TotalCost,0),0),2) as \'Margin %\' from  (  select inv.item_id, inv.item_name, det.Quantity, det.Subtotal,INV.STD_COST,INV.STD_COST * DET.QUANTITY as TotalCost FROM $master_db.Sales_Inventory_Items inv inner join (select inventory_item_id,sum(quantity) as Quantity,sum(subTotal) as SubTotal from $trans_db.Sales_Invoice_Details where voucher_Date >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') and voucher_Date <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') group by inventory_item_id)det on inv.Item_ID = det.Inventory_Item_ID group by inv.Item_ID) A\r\n',' {\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[4,6,7], \"Hide\":[0,1], \"Key-col\":[1,2], \"width-list\":[20,15,15,15,15,20,20], \"align-list\":[0,1,1,1,1,1,1], \"print-cols\":[2,3,4,5,6,7,8], \"stretch\":2}\r\n',NULL,NULL),
(33,'Datewise Sales Report','Finance','Reports','Finance','SELECT  Date_format(Voucher_Date,\'%d-%m-%Y\') as \'Date\', cast(COALESCE(sum(Gross_Total),0.00) as Decimal(10,2)) As \'Taxable Amount\', cast(COALESCE(SUM(VAT_Amount),0) as decimal(10,2)) as \'Vat Amount\', Cast(COALESCE(SUM(Total),0) as Decimal(10,2)) as \'Total Amount\'  FROM $trans_db.Sales_Invoice_Main WHERE `TimeStamp` >=\'$fromDateTime\' AND `TimeStamp`<=\'$toDateTime\'  GROUP By(Voucher_Date)\r\n','\r\n  {\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[1,2,3], \"Hide\":[], \"Key-col\":[1,2], \"width-list\":[25,25,25,25], \"align-list\":[0,1,1,1], \"print-cols\":[0,1,2,3]}',NULL,NULL),
(34,'Customer List','Finance','Reports','Finance','SELECT DISTINCT \'Phone\' as Ind, cust.phone_number as \'Phone\' ,cust.Name, cust.Address FROM $trans_db.Sales_Invoice_Main tab JOIN $master_db.address_book  cust ON cust.phone_number =tab.POC_Phone where  tab.Voucher_Date>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') and  tab.Voucher_Date<=str_to_date(\'$toDateTime\',\'%Y-%m-%d\') and tab.POC_Phone <> \'\'','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[], \"Hide\":[0],  \"width-list\":[10,10,40,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[1,2,3], \"stretch\":2}','	{\"redirect-to\":[{\"default\":{\"id\":41, \"keyList\":[{\"filter-type\":\"phone\",\"var-name\":\"f1\", \"col-pos\":1}]}}]}\r\n',NULL),
(35,'Deleted Billwise Sales Report','Finance','Reports','Finance','SELECT \'L\' as Ind,ledger_id, Voucher_Date as Date,cast(Voucher_No as unsigned) as Voucher_No,(SELECT Ledger_Name from $master_db.Ledger_Master where Ledger_ID=stable.Ledger_ID) as Ledger,Total as \'Total Amount\', Voucher_Prefix From $trans_db.Sales_Invoice_Main_Deleted stable WHERE ( str_to_Date(concat(stable.Voucher_Date,substr(`TimeStamp`,11,19)),\'%Y-%m-%d %H:%i:%s\')<= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') and str_to_Date(concat(stable.Voucher_Date, substr(`TimeStamp`,11,19)) ,\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\')) order BY cast(Voucher_No as unsigned) desc','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[5], \"Hide\":[0,1,6], \"Key-col\":[1,2], \"width-list\":[10,10,40,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[2,3,4,5]}',NULL,NULL),
(36,'Itemwise Purchase Orders','Inventory','Reports','Inventory','SELECT \'I\' as Ind,inventory_item_id,(select item_name FROM $master_db.Sales_Inventory_Items where item_id = Inventory_Item_ID) as Item,SUM(Quantity) as Quantity FROM (SELECT Inventory_Item_ID,Quantity FROM $trans_db.Purchase_Order_Main main JOIN $trans_db.Purchase_Order_Details det ON main.Voucher_No = det.Voucher_No WHERE main.Voucher_Date <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND main.Voucher_Date >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\')) items GROUP BY Inventory_Item_ID order by 1','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3], \"Hide\":[0,1], \"Key-col\":[1,2], \"width-list\":[80,20], \"align-list\":[0,1], \"print-cols\":[2,3],\"stretch\":2}\r\n',NULL,NULL),
(37,'Notifications','Finance','Reports','Finance','SELECT max(id),  (SELECT Ledger_Name FROM $master_db.Ledger_Master where DbName = FromDBName) as \'From Ledger\',TypeOfData as Type, max(Time_Stamp) as \'Received Time\',  (case when min(Action) = 1001 then \'NEW\' when min(Action) = 1002 then \'UPDATE\' when min(Action) = 1003 then \'DELETE\' end) as Action,  case when TypeOfData = \'Voucher\' then  json_extract(Notification_Data, \'$.Voucher_Type\')  when TypeOfData = \'Inventory Item\' then  json_extract(Notification_Data, \'$.BaseItem.Item_Name\') when TypeOfData = \'Inventory Group\' then  json_extract(Notification_Data, \'$.GroupName\') when TypeOfData = \'Brand\' then  json_extract(Notification_Data, \'$.Brand_Name\') when TypeOfData = \'UOM\' then  json_extract(Notification_Data, \'$.UomName\') when TypeOfData = \'Acknowledgement\' then  concat( json_extract(Notification_Data, \'$.Status\'))  end as Description  FROM ReceiveChannel WHERE Status = 0 GROUP BY Generated_TransactionID',NULL,'{\"Totals\":[], \"Hide\":[0], \"Key-col\":[1,2], \"width-list\":[10,10,40,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7,8], \"stretch\":}\r\n',NULL,NULL),
(38,'Visitors List',NULL,'Reports',NULL,'SELECT substr(`DATEVAL`,1,10) as Date, substr(`DATEVAL`, 12,8) as Time, `NAME` as Name, `PHONENUMBER` as Phone , `ADDRESS` as Address , `TEMPERATURE` as Temperature FROM `visitorsregister` WHERE TIME_STAMP >= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND TIME_STAMP <= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[], \"Hide\":[], \"Key-col\":[1,2], \"width-list\":[10,10,40,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7,8], \"stretch\":}',NULL,NULL),
(39,'Pending Orders','Inventory','Reports','Inventory','SELECT \'V\' as Ind, Voucher_No as \'Voucher No\', Voucher_Prefix,\'SALES ORDER\' as voucher_type, Voucher_Date as \'Booking Date\', Delivery_Date as \'Delivery Date\', POC_Name as \'Customer Name\', Total as \'Total Amount\'  FROM $trans_db.Sales_Order_Main WHERE Delivery_Date <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND Delivery_Date >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND VoucherStatus < 170 ORDER BY Delivery_Date, Voucher_No','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"Key-col\":[1,2], \"width-list\":[20,20,20,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7], \"stretch\":6, \"tabs\":[{ \"tab-name\":\"Orders\", \"tab-pos\":0, \"current-tab\":1}, { \"tab-name\":\"Itemwise\", \"tab-pos\":1, \"current-tab\":0}]}','{\"redirect-to\":[{\"tabs\":[{\"id\":60, \"tab-pos\":1}]}]}',NULL),
(40,'Itemwise Purchase Report','Inventory','Reports','Inventory','SELECT \'I\' as Ind,inventory_item_id,(SELECT ITEM_NAME FROM $master_db.Sales_Inventory_Items WHERE ITEM_ID = INVENTORY_ITEM_ID) AS Item,SUM(QUANTITY) as Qty, SUM(SUBTOTAL) as Amount FROM $trans_db.PURCHASE_INVOICE_DETAILS WHERE VOUCHER_DATE >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND VOUCHER_DATE <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') GROUP BY INVENTORY_ITEM_ID ORDER BY 1','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[4], \"Hide\":[0,1], \"Key-col\":[1,2], \"width-list\":[60,20,20], \"align-list\":[1,0,0], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL),
(41,'Customerwise Itemwise Sales Report','Finance','Reports','Finance','SELECT \'I\' as Ind, INV.Item_ID as ID, INV.Item_Name as ITEM, SALES.Quantity,  SALES.Subtotal from Sales_Inventory_Items as INV LEFT outer JOIN  (SELECT Inventory_Item_ID,SUM(SALES.Quantity ) as Quantity,  SUM(SALES.Subtotal )  as SubTotal  from Sales_Invoice_Details as SALES  JOIN Sales_Invoice_Main main  ON SALES.Voucher_No = main.Voucher_No WHERE str_to_Date(concat(main.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') >=str_to_Date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_Date(concat(main.Voucher_Date, substr(`TimeStamp`, 11,19)) ,\'%Y-%m-%d %H:%i:%s\') <=str_to_Date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND main.POC_Phone like \'$f1\' group by SALES.Inventory_Item_ID ) as SALES on  INV.Item_Id=SALES.Inventory_Item_ID where COALESCE(SALES.Quantity,0)>0','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"phone\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1], \"Key-col\":[1], \"width-list\":[10,10,40,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7,8], \"stretch\":0}',NULL,NULL),
(43,'Payment Voucher Summary','Finance','Reports','Finance','SELECT  \'L\', trans.Ledger_ID,  led.Ledger_Name as \'Ledger\', SUM(Credit_Amount) as \'Cr Amount\',  SUM(Debit_Amount) as \'Dr Amount\' FROM $trans_db.Transaction_Helper trans JOIN $master_db.Ledger_Master led  ON trans.ledger_id = led.ledger_id  WHERE Voucher_Date >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND Voucher_Date <=str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND Voucher_Type = \'PaymentVoucher\' GROUP BY trans.Ledger_ID ORDER BY Ledger','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3,4], \"Hide\":[0,1], \"Key-col\":[1,2], \"width-list\":[30,30], \"align-list\":[0,1], \"print-cols\":[2,3]}',NULL,NULL),
(44,'Receipt Voucher Summary','Finance','Reports','Finance','SELECT  \'L\', trans.Ledger_ID,  led.Ledger_Name as \'Ledger\', SUM(Credit_Amount) as \'Cr Amount\',  SUM(Debit_Amount) as \'Dr Amount\' FROM $trans_db.Transaction_Helper trans JOIN $master_db.Ledger_Master led  ON trans.ledger_id = led.ledger_id  WHERE Voucher_Date >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND Voucher_Date <=str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND Voucher_Type = \'ReceiptVoucher\' GROUP BY trans.Ledger_ID ORDER BY Ledger','\r\n{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}\r\n','{\"Totals\":[3,4], \"Hide\":[0,1], \"Key-col\":[1,2], \"width-list\":[30,30], \"align-list\":[0,1], \"print-cols\":[2,4]}\r\n',NULL,NULL),
(45,'Purchase Voucher Register','Finance','Registers','PURCHASEVOUCHER','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'PURCHASEVOUCHER\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Purchase_Invoice_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(46,'Sales Order Register','Finance','Registers','SALESORDER','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'SALESORDER\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total,  VoucherStatus as \'Status\', POC_Phone as Phone, POC_Name as Name FROM $trans_db.Sales_Order_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,10,10,10,20,20], \"align-list\":[0,0,0,1,1,1,0], \"print-cols\":[4,5,6,7,8,9,10]}',NULL,NULL),
(47,'Purchase Order Register','Finance','Registers','PURCHASEORDER','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'PURCHASEORDER\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Purchase_Order_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(48,'Payment Voucher Register','Finance','Registers','PAYMENTVOUCHER','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'PAYMENTVOUCHER\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Payment_Voucher_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,'[{\"widget-type\":\"QtMaterialFlatButton\", \"Layout\":\"filterLayout\", \"widget-id\":1, \"text\":\"Print Details List\", \"action\":\"printList\", \"widget-align\":\"AlignRight\", \"query\":\"SELECT main.Voucher_Date,  main.Voucher_No , (select ledger_name from $master_db.ledger_master led where led.ledger_id = det.Ledger_ID ) \'Ledger\', ( select ledger_name from ledger_master led where led.ledger_id = main.Ledger_ID ) \'Mode Of Pay\', Dr_Amount  as Amount,  main.Narration  FROM $trans_db.Payment_Voucher_Main main JOIN $trans_db.Payment_Voucher_Details  det ON main.Voucher_No  = det.Voucher_No  AND main.Voucher_Prefix  = det.Voucher_Prefix  where  main.Voucher_Date >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\')  and  main.Voucher_Date <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')  order by 1\"}]'),
(49,'Receipt Voucher Register','Finance','Registers','RECEIPTVOUCHER','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'RECEIPTVOUCHER\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Receipt_Voucher_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(50,'Journal Register','Finance','Registers','JOURNALVOUCHER','SELECT \'V\' ,  som.Voucher_No, som.Voucher_Prefix, \'JOURNALVOUCHER\',  som.Voucher_Date as \'Voucher Date\',  CONCAT(som.Voucher_Prefix, \'-\', som.Voucher_No) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= det.Ledger_Id) Ledger,  det.total  FROM $trans_db.Journal_Voucher_Main som  JOIN (SELECT Voucher_ID, Voucher_Prefix,  Sum(credit_amount) as total, Ledger_Id FROM $trans_db.Transaction_Helper WHERE Voucher_Type = \'JOURNALVOUCHER\' GROUP BY Voucher_ID, Voucher_Type, Voucher_Prefix  ) det ON som.Voucher_No = det.Voucher_ID AND som.Voucher_Prefix = det.Voucher_Prefix WHERE str_to_date(concat(som.Voucher_Date,\' \',CAST(som.`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(som.Voucher_Date,\' \',CAST(som.`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(51,'Delivery Note Register','Inventory','Registers','DELIVERYNOTE','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'DELIVERYNOTE\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Delivery_Note_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(52,'Receipt Note Register','Inventory','Registers','RECEIPTNOTE','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'RECEIPTNOTE\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Receipt_Note_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(53,'Credit Note Register','Finance','Registers','CREDITNOTE','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'CREDITNOTE\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Credit_Note_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(54,'Debit Note Register','Finance','Registers','DEBITNOTE','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'DEBITNOTE\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Debit_Note_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(56,'Wastage Entries','Inventory','Registers','WASTAGEENTRY','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'WASTAGEENTRY\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', Total FROM $trans_db.Wastage_Entry_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30], \"align-list\":[0,0,1], \"print-cols\":[4,5,6]}',NULL,NULL),
(57,'Stock Request/Issue','Inventory','Registers','Stock Request','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'Stock Request\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (select godown_name from $master_db.godown where godown_id = to_location) as \'To Section\' FROM $trans_db.Stock_Request_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`Time_Stamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`Time_Stamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(58,'Stock Journal','Inventory','Registers','STOCKJOURNAL','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'STOCKJOURNAL\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', Total FROM $trans_db.Stock_Journal_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30], \"align-list\":[0,0,1], \"print-cols\":[4,5,6]}',NULL,NULL),
(59,'Current Stock Entry','Inventory','Registers','STOCK','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'STOCK\',  Voucher_Date as \'Voucher Date\', CAST(Voucher_No as int) as \'Voucher No\', Total FROM $trans_db.Stock_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30], \"align-list\":[0,0,1], \"print-cols\":[4,5,6]}',NULL,NULL),
(60,'Pending Orders','Inventory','Reports','Inventory','SELECT \'I\' as Ind, inventory_item_id as ID, (select item_name FROM $master_db.Sales_Inventory_Items where item_id = Inventory_Item_ID) as Item,  SUM(Quantity) as Quantity FROM  ( SELECT Inventory_Item_ID , Quantity FROM $trans_db.Sales_Order_Main main  JOIN $trans_db.Sales_Order_Details det  ON main.Voucher_No = det.Voucher_No WHERE Delivery_Date <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND Delivery_Date >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND VoucherStatus < 170 ) items GROUP BY Inventory_Item_ID','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[3], \"Hide\":[0,1], \"Key-col\":[1,2], \"width-list\":[50,50], \"align-list\":[0,1], \"print-cols\":[2,3], \"stretch\":2, \"tabs\":[{ \"tab-name\":\"Orders\", \"tab-pos\":0, \"current-tab\":0}, { \"tab-name\":\"Itemwise\", \"tab-pos\":1, \"current-tab\":1}]}','{\"redirect-to\":[{\"tabs\":[{\"id\":39, \"tab-pos\":0}]}]}',NULL),
(61,'Datewise Purchase Report','Finance','Reports','Finance','SELECT  Date_format(Voucher_Date,\'%d-%m-%Y\') as \'Date\', cast(COALESCE(sum(Gross_Total),0.00) as Decimal(10,2)) As \'Taxable Amount\', cast(COALESCE(SUM(VAT_Amount),0) as decimal(10,2)) as \'Vat Amount\', Cast(COALESCE(SUM(Total),0) as Decimal(10,2)) as \'Total Amount\'  FROM $trans_db.Purchase_Invoice_Main WHERE `TimeStamp` >=\'$fromDateTime\' AND `TimeStamp`<=\'$toDateTime\'  GROUP By(Voucher_Date)','\r\n  {\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[1,2,3], \"Hide\":[], \"Key-col\":[1,2], \"width-list\":[25,25,25,25], \"align-list\":[0,1,1,1], \"print-cols\":[0,1,2,3]}',NULL,NULL),
(62,'Inventory Groups','Inventory','Masters','G','SELECT \'G\', Group_Id as \'Group Id\', Group_Name as \'Group Name\', (SELECT Group_Name FROM Sales_Inventory_Groups B  WHERE B.Group_Id = A.Parent_ID) as \'Parent Group\', Group_Type as \'Group Type\'  FROM Sales_Inventory_Groups A',NULL,'{ \"Hide\":[0,1], \"width-list\":[30,30,30], \"align-list\":[0,0,0], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL),
(63,'Inventory Items','Inventory','Masters','I','SELECT  \'I\', Item_Id as \'ItemID\' , Item_Name as \'Item\' , Item_Code as \'Code\' , Price as \'Std Rate\' , (Select Brand_Name from Brands WHERE _id= INV.Brand_Id) AS Brand, (SELECT Group_Name from Sales_Inventory_Groups WHERE Group_Id = INV.Group_Id) as \'Group\'  FROM Sales_Inventory_Items INV WHERE 1 ORDER BY Item_Name',NULL,'{ \"Hide\":[0,1,5], \"width-list\":[40,30,30], \"align-list\":[0,0,0], \"print-cols\":[2,3,4,6], \"stretch\":2}',NULL,NULL),
(64,'Units of Measurement','Inventory','Masters','U','SELECT  \'U\', UOM_ID, UOM_Name as \'UOM Name\', UOM_Decimal_Points as \'UOM Decimal Points\', UOM_Symbol \'UOM Symbol\', UOM_Narration as \'UOM Narration\' FROM UOMLIST',NULL,'{ \"Hide\":[0,1], \"width-list\":[40,30,30], \"align-list\":[0,0,0], \"print-cols\":[2,3,4,5], \"stretch\":0}',NULL,NULL),
(65,'Unit Conversions','Inventory','Masters','UC','SELECT  \'U\', UOM_ID, UOM_Name as \'UOM Name\', UOM_Decimal_Points as \'UOM Decimal Points\', UOM_Symbol as \'UOM Symbol\', UOM_Narration as \'UOM Narration\' FROM UOMLIST\r\n',NULL,'{ \"Hide\":[0,1], \"width-list\":[40,30,30], \"align-list\":[0,0,0], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL),
(66,'Price Lists','Inventory','Masters','Pl','SELECT  \'Pl\', Price_List_ID , Price_List_Name \'Price List\', Price_List_Start_Date \'Start Date\', Price_List_End_Date \'End Date\'  FROM Price_Lists',NULL,'{ \"Hide\":[0,1], \"width-list\":[40,30,30], \"align-list\":[0,0,0], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL),
(67,'Godowns','Inventory','Masters','Gd',' Select  \'Gd\', Godown_ID as Godown, Godown_Name as\'Godown Name\', Godown_Location as \'Godown Location\' from GODOWN',NULL,'{ \"Hide\":[0,1], \"width-list\":[50,50], \"align-list\":[0,0], \"print-cols\":[2,3], \"stretch\":0}',NULL,NULL),
(68,'Account Groups','Finance','Masters','A','SELECT  \'A\', Group_Id as \'Group Id\', Group_Name as \'Group Name\', (SELECT Group_Name FROM account_groups B  WHERE B.Group_Id = A.Parent_ID) as \'Parent Group\'  FROM account_groups A ORDER BY _id',NULL,'{ \"Hide\":[0,1], \"width-list\":[50,50], \"align-list\":[0,0], \"print-cols\":[2,3]}',NULL,NULL),
(69,'Ledgers','Finance','Masters','L','SELECT  \'L\', Ledger_ID as \'Ledger Id\', Ledger_Name as \'Ledger Name\', (SELECT Group_Name FROM account_groups WHERE Group_Id = LED.Group_Id) as \'Group\'  FROM Ledger_Master LED order by Ledger_Name',NULL,'{ \"Hide\":[0,1], \"width-list\":[50,50], \"align-list\":[0,0], \"print-cols\":[2,3]}',NULL,NULL),
(70,'Employees','HR','Masters','E','SELECT  \'E\', _id, Name, Designation, Department FROM employee_details order by Name',NULL,'{ \"Hide\":[0,1], \"width-list\":[40,30,30], \"align-list\":[0,0,0], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL),
(71,'Attendance Report','HR','Reports',NULL,'select employee_id,  Employee, worked_days as \'Worked Days\',  total_num_of_Days - worked_days as \'No.of Leaves Taken\',   OverTime from  ( SELECT a.Employee_Id, E.Name as Employee,  sum(case when a.Working_Hours >0 and HalfDay =0 then 1  when a.Working_Hours >0 and HalfDay = 1 then 0.5 else 0 end ) as worked_days ,  case when E.date_of_joining  >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') then datediff(str_to_date(\'$toDateTime\',\'%Y-%m-%d\'), date_of_joining) else  datediff(str_to_date(\'$toDateTime\',\'%Y-%m-%d\'), str_to_date(\'$fromDateTime\',\'%Y-%m-%d\')) end as total_num_of_days,  sum(a.Overtime) as OverTime  FROM Attendance_Details a JOIN Employee_Details E ON A.Employee_Id = E._id  WHERE Working_Day >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') and Working_Day <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') group by Employee_Id) X ','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Hide\":[0,1],  \"width-list\":[30,20,20], \"align-list\":[1,1,1], \"print-cols\":[2,3,4], \"stretch\":0}',NULL,NULL),
(72,'Payslip Report','HR','Reports',NULL,' select \'E\', employee_id,  ( select name from   Employee_Details   where _id = X.employee_id) Employee,  worked_days as \'No of \\n Days Worked\', total_num_of_days as \'Total no of \\n Working days\', basic_salary as \'Basic Salary\', hra \'HRA\', da \'DA\', conveyance \'Conveyance\',  total_num_of_Days - worked_days as \'Total leave taken\',  paid_leave \'Paid leave\',  basic_salary/total_num_of_days*(total_num_of_Days - worked_days - paid_leave) as \'Salary \\n Deducted\' ,  OverTime \'Overtime \\n (hours)\' ,OverTime_Pay \'Overtime Pay\' ,  basic_salary+ da+ hra + conveyance - (basic_salary/total_num_of_days*(total_num_of_Days - worked_days - paid_leave)) + OverTime_Pay as \'Total Salary\' from ( SELECT s.Employee_Id,  sum(case when a.Working_Hours >0 and HalfDay =0 then 1  when a.Working_Hours >0 and HalfDay = 1 then 0.5 else 0 end ) as worked_days ,  case when E.date_of_joining  >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') then datediff(str_to_date(\'$toDateTime\',\'%Y-%m-%d\'), date_of_joining) else  datediff(str_to_date(\'$toDateTime\',\'%Y-%m-%d\'), str_to_date(\'$fromDateTime\',\'%Y-%m-%d\')) end as total_num_of_days,  sum(a.Overtime) as OverTime, sum(a.OverTime) * s.OverTime_Pay  as OverTime_Pay,  s.Basic_Salary, s.HRA, s.DA , s.Conveyance, s.Monthly_Leave as paid_leave   FROM Attendance_Details a JOIN Employee_Details E ON a.Employee_Id = E._id  join Employee_Salary_Details s on a.Employee_Id = s.Employee_ID WHERE Working_Day >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') and Working_Day <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\') group by Employee_Id) X ','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Hide\":[0,1],  \"width-list\":[20,20,20,20,20,20,20,20,20,20,20,20,20], \"align-list\":[0,1,1,1,1,1,1,1,1,1,1,1,1], \"print-cols\":[2,3,4,5,6,7,8,9,10,11,12,13,14], \"stretch\":0}',NULL,NULL),
(73,'Passport Expiry List','HR','Reports',NULL,'SELECT \'E\', _id, Name, Passport_Expiry FROM Employee_Details WHERE DATEDIFF(Passport_Expiry, CURRENT_DATE ) <= $f1','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"Expiry within (months) \"}]}','{\"Hide\":[0,1],  \"width-list\":[30,20], \"align-list\":[0,1], \"print-cols\":[2,3], \"stretch\":2}',NULL,NULL),
(74,'Visa Expiry List','HR','Reports',NULL,'SELECT \'E\', _id, Name, Visa_Expiry FROM Employee_Details WHERE DATEDIFF(Visa_Expiry, CURRENT_DATE ) <= $f1','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"Expiry within (months) \"}]}','{\"Hide\":[0,1],  \"width-list\":[30,20], \"align-list\":[0,1], \"print-cols\":[2,3], \"stretch\":2}',NULL,NULL),
(75,'User Groups','HR','Masters','UG','SELECT \'UG\', _id, Name  from User_Group_Permissions',NULL,'{ \"Hide\":[0,1], \"width-list\":[40,30,30], \"align-list\":[0,0,0], \"print-cols\":[2], \"stretch\":2}',NULL,NULL),
(76,'Terms & Conditions','Finance','Masters','TC','SELECT \'TC\' , _id, Title, Validity FROM terms_and_conditions',NULL,'{ \"Hide\":[0,1], \"width-list\":[50,50], \"align-list\":[0,0], \"print-cols\":[2,3], \"stretch\":2}',NULL,NULL),
(77,'Bank  Reconciliation','Finance','Bank',NULL,'SELECT _id, ( SELECT Ledger_Name FROM Ledger_Master WHERE Ledger_Id = chq.Ledger_ID) as Ledger, ( SELECT Ledger_Name FROM Ledger_Master WHERE Ledger_Id = chq.Our_Bank_Id) as \'Our Bank\', Debit_Amount \'Debit Amount\', Credit_Amount \'Credit Amount\',  CASE WHEN is_Returned = 1 THEN \'Rejected\'  WHEN is_Presented = 1 THEN \'Presented\' END AS \'Current Status\', Issued_On \'Issued On\', Presented_On \'Presented On\',   \'\' as \'Update Status\', \'\' as \'Status Date\'  FROM Cheque_Details chq  WHERE is_Cleared <> 1 AND Issued_On <= str_to_date(\'$toDateTime\',\'%Y-%m-%d\')','{\"dateTime\":[\"toDateTime\"]}','{\"Hide\":[0,1]}',NULL,NULL),
(78,'Work Orders','Inventory','Registers','WORK ORDER','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'WORK ORDER\',  Voucher_Date as \'Voucher Date\',  CONCAT(Voucher_Prefix, \'-\', Voucher_No) as \'WorkOrder No\' ,VoucherStatus as \'Status\' FROM Work_Order_Main som WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')\r\n','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Hide\":[0,1,2,3], \"width-list\":[20,20,20], \"align-list\":[0,0,1], \"print-cols\":[4,5,6]}',NULL,NULL),
(79,'Inventory Item Editor',NULL,'Masters','Editor',NULL,NULL,NULL,NULL,NULL),
(80,'Production Rate Report','Inventory','Reports',NULL,'SELECT  \'I\', ItemID,  (SELECT Item_Name FROM $master_db.Sales_Inventory_Items WHERE Item_Id = ItemID) as \'Item\', SUM(Dr_Qty) as \'Qty\' , SUM(Dr_Qty) /  cast(DATEDIFF(str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\'),str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') ) as Int) as \'Production Rate\'  FROM $trans_db.Transaction_Item_Helper WHERE VoucherDate >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND VoucherDate <=str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\') AND VoucherType = \'Work Order\' GROUP BY ItemID ORDER BY Item','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Hide\":[0,1], \"width-list\":[30,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL),
(81,'Customer Report','Finance','Reports',NULL,'SELECT * from ( SELECT \'V\' as Ind, subq.Voucher_ID, subq.Voucher_Prefix, subq.Voucher_Type, (select ledger_name from $master_db.ledger_master where ledger_id = Against_Ledger) as Ledger,  subq.Voucher_Date as \'Voucher Date\', subq.Voucher_ID as \'Voucher No\', subq.Voucher_Type \'Voucher Type\', case when subq.deb>0 then subq.deb else \'\' end as Debit, case when subq.cred>0 then subq.cred else \'\' end as Credit FROM ( SELECT Against_Ledger, SUM(Credit_Amount-Debit_Amount) as cred, SUM(Debit_Amount-Credit_Amount) as deb,Voucher_Date, Voucher_ID,  Voucher_Type, Voucher_Prefix From Transaction_Helper Where Ledger_ID=\'0x2x15A95\' AND Voucher_Date >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND Voucher_Date  <=str_to_date(\'$toDateTime\',\'%Y-%m-%d\') AND ( case when Voucher_Type = \'SalesVoucher\' then Voucher_ID in  ( SELECT Voucher_No from Sales_Invoice_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'PurchaseVoucher\' then Voucher_ID in  ( SELECT Voucher_No from Purchase_Invoice_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'PaymentVoucher\' then  Voucher_ID in  ( SELECT Voucher_No from Payment_Voucher_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'ReceiptVoucher\' then Voucher_ID in ( SELECT Voucher_No from  Receipt_Voucher_Main Where POC_Phone = \'$f1\') end ) GROUP BY Voucher_ID, Voucher_Type ORDER BY Voucher_Date, Voucher_ID, Voucher_Type ) subq UNION SELECT \'V\' as Ind, so.Voucher_No, so.Voucher_Prefix, \'SalesOrder\', (select ledger_name from $master_db.ledger_master where ledger_id = so.ledger_id) as Ledger,  so.Voucher_Date,  so.Voucher_No, \'SALES ORDER\', cast(so.Total as decimal(10,2)) as Debit, 0 as Credit  FROM Sales_Order_Main so Where POC_Phone = \'$f1\' AND  so.Voucher_Date  >=str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND so.Voucher_Date  <=str_to_date(\'$toDateTime\',\'%Y-%m-%d\') AND so.VoucherStatus  < 170) A order by 1','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"phone\"}],\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[8,9], \"Hide\":[0,1,2,3], \"width-list\":[30,15,15,15,20,20], \"align-list\":[0,0,0,0,1,1], \"print-cols\":[4,5,6,7,8,9], \"stretch\":4, \"additional\":[{\"widget-name\":\"Opening Balance\",\"widget-type\":\"QLabel\", \"value-type\":\"amount\", \"value-from\":\"query\", \"query\":\"SELECT round(coalesce(sum(credit - debit),0),2) from ( SELECT  subq.Voucher_Date, subq.Voucher_ID, subq.Voucher_Type, case when subq.deb>0 then subq.deb else \'\' end as Debit,case when subq.cred>0 then subq.cred else \'\' end as Credit ,subq.Voucher_Prefix FROM ( SELECT Against_Ledger, SUM(Credit_Amount-Debit_Amount) as cred, SUM(Debit_Amount-Credit_Amount)as deb,Voucher_Date, Voucher_ID,  Voucher_Type, Voucher_Prefix From Transaction_Helper Where Ledger_ID=\'0x2x15A95\' AND Voucher_Date < str_to_date(\'$fromDateTime\',\'%Y-%m-%d\') AND ( case when Voucher_Type = \'SalesVoucher\' then Voucher_ID in  ( SELECT Voucher_No from Sales_Invoice_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'PurchaseVoucher\' then Voucher_ID in ( SELECT Voucher_No from Purchase_Invoice_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'PaymentVoucher\' then  Voucher_ID in ( SELECT Voucher_No from Payment_Voucher_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'ReceiptVoucher\' then Voucher_ID in ( SELECT Voucher_No from Receipt_Voucher_Main Where POC_Phone = \'$f1\') end ) GROUP BY Voucher_ID, Voucher_Type ORDER BY Voucher_Date, Voucher_ID, Voucher_Type ) subq UNION SELECT so.Voucher_Date, so.Voucher_No, \'SALES ORDER\', cast(so.Total as decimal(10,2)) as Debit, 0 as Credit , so.Voucher_Prefix  FROM Sales_Order_Main so Where POC_Phone = \'$f1\' AND so.Voucher_Date  <str_to_date(\'$fromDateTime\',\'%Y-%m-%d\')  AND so.VoucherStatus  < 170) A\", \"layout\":\"additionalLay1\", \"alignment\":\"right\"}, {\"widget-name\":\"Closing Balance\", \"widget-type\":\"QLabel\", \"value-type\":\"amount\", \"value-from\":\"query\", \"query\":\"SELECT round(coalesce(sum(credit - debit),0),2) from ( SELECT  subq.Voucher_Date, subq.Voucher_ID, subq.Voucher_Type, case when subq.deb>0 then subq.deb else \'\' end as Debit,case when subq.cred>0 then subq.cred else \'\' end as Credit ,subq.Voucher_Prefix FROM ( SELECT Against_Ledger, SUM(Credit_Amount-Debit_Amount) as cred, SUM(Debit_Amount-Credit_Amount)as deb,Voucher_Date, Voucher_ID,  Voucher_Type, Voucher_Prefix From Transaction_Helper Where Ledger_ID=\'0x2x15A95\' AND Voucher_Date < str_to_date(\'$toDateTime\',\'%Y-%m-%d\') AND( case when Voucher_Type = \'SalesVoucher\' then Voucher_ID in  ( SELECT Voucher_No from Sales_Invoice_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'PurchaseVoucher\' then Voucher_ID in  ( SELECT Voucher_No from Purchase_Invoice_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'PaymentVoucher\' then  Voucher_ID in  ( SELECT Voucher_No from Payment_Voucher_Main Where POC_Phone = \'$f1\') when Voucher_Type = \'ReceiptVoucher\' then Voucher_ID in ( SELECT Voucher_No from Receipt_Voucher_Main Where POC_Phone = \'$f1\') end ) GROUP BY Voucher_ID, Voucher_Type ORDER BY Voucher_Date, Voucher_ID, Voucher_Type ) subq UNION SELECT so.Voucher_Date, so.Voucher_No, \'SALES ORDER\', cast(so.Total as decimal(10,2)) as Debit, 0 as Credit , so.Voucher_Prefix  FROM Sales_Order_Main so Where POC_Phone = \'$f1\' AND so.Voucher_Date  <str_to_date(\'$toDateTime\',\'%Y-%m-%d\')  AND so.VoucherStatus  < 170) A\",  \"layout\":\"additionalLay2\", \"alignment\":\"right\"}]}',NULL,NULL),
(82,'Proforma Register','Finance','Registers','Proforma','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'Proforma\', Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Proforma_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(83,'Contra Voucher Register','Finance','Registers','ContraVoucher','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'Proforma\', Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Contra_Voucher_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20], \"align-list\":[0,0,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(84,'Quotations','Finance','Registers','Quotation','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'Proforma\', Voucher_Date as \'Voucher Date\', CAST(Voucher_No as UNSIGNED) as \'Voucher No\', (SELECT Ledger_Name FROM $master_db.Ledger_Master WHERE Ledger_ID= sim.Ledger_ID) Ledger, Total FROM $trans_db.Qutation_Main sim WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20,20], \"align-list\":[0,1,0,1], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(85,'Itemwise Sales Orders','Inventory','Registers','ItemwiseOrder','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'ItemwiseOrder\', Voucher_Date as \'Voucher Date\', Voucher_No as \'Voucher No\',( SELECT Item_Name from $master_db.Sales_Inventory_Items si WHERE si.Item_Id= soi.Item_ID) as \'Item \',Qty_Total as \'Total Quantity\',(SELECT Name From $master_db.Employee_Details ed WHERE ed._id = soi.Salesman_ID) as \'Salesman\',Total_Amount as \'Total Amount\' FROM $trans_db.Sales_Order_Itemwise soi  WHERE Voucher_Date>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND Voucher_Date<=str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7,9], \"Hide\":[0,1,2,3], \"width-list\":[10,10,20,20,20,20], \"align-list\":[0,0,0,1,0,1], \"print-cols\":[4,5,6,7,8,9],\"stretch\":0}',NULL,NULL),
(86,'Itemwise Purchase Order Entry','Inventory','Registers','ItemwisePurchaseOrde','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'ItemwisePurchaseOrder\',  Voucher_Date as \'Voucher Date\', Voucher_No as \'Voucher No\',( SELECT Item_Name from $master_db.Sales_Inventory_Items si WHERE si.Item_Id= soi.Item_ID) as \'Item \',Qty_Total as \'Total Quantity\',(SELECT Name From $master_db.Employee_Details ed WHERE ed._id = soi.Salesman_ID) as \'Salesman\',Total_Amount as \'Total Amount\' FROM $trans_db.Purchase_Order_Itemwise soi  WHERE Voucher_Date>=str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND Voucher_Date<=str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Totals\":[7,9], \"Hide\":[0,1,2,3], \"width-list\":[20,20,30,20,20,20], \"align-list\":[0,0,0,1,0,1], \"print-cols\":[4,5,6,7,8,9]}',NULL,NULL),
(87,'Brands','Inventory','Masters','B','select \'B\' as Ind, _id , Brand_Name as \'Brand Name\', Brand_description as \'Description\' from $master_db.brands',NULL,'{ \"Hide\":[0,1], \"width-list\":[30,30,30], \"align-list\":[0,0,0], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL),
(88,'Godown Transfer Register','Warehouse','Registers','GodownTransfer','SELECT \'V\' , Voucher_No, Voucher_Prefix, \'GodownTransfer\',  Voucher_Date as \'Voucher Date\',  CONCAT(Voucher_Prefix, \'-\', Voucher_No) as \'Voucher No\' ,(select godown_name from $master_db.godown where godown_id = From_Location ) as \'From Location\', (select godown_name from $master_db.godown where godown_id = To_Location ) as \'To Location\' FROM $trans_db.Godown_Tranfer_Main som WHERE str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') >= str_to_date(\'$fromDateTime\',\'%Y-%m-%d %H:%i:%s\') AND str_to_date(concat(Voucher_Date,\' \',CAST(`TimeStamp` AS TIME)),\'%Y-%m-%d %H:%i:%s\') <= str_to_date(\'$toDateTime\',\'%Y-%m-%d %H:%i:%s\')','{\"dateTime\":[\"fromDateTime\",\"toDateTime\"]}','{\"Hide\":[0,1,2,3], \"width-list\":[20,20,20,20], \"align-list\":[0,0,0,0], \"print-cols\":[4,5,6,7]}',NULL,NULL),
(89,'Purchase Item Quantity Report','Inventory','Reports','Inventory','SELECT \'I\' as Ind, sales_item as Item_ID, (SELECT Item_Name FROM Sales_Inventory_Items where Item_ID = sales_item) AS \'Sales Item\', sales_item_qty AS \'Sales Qty\', Cast(purchase_item_qty AS Decimal(10,2)) AS \'Purchase Qty\'  FROM ingredients WHERE purchase_item = \'$f1\' UNION SELECT \'I\' as Ind, Item_ID,  ITEM_NAME, 1,1 FROM Sales_Inventory_Items Where Item_id = \'$f1\' and isSalesItem = 1','{\"filter by\":[{\"var-name\":\"f1\",\"var-value\":\"item\", \"var-filter\":\"2\"}]}','{\"Totals\":[], \"Hide\":[0,1],  \"width-list\":[40,20,20], \"align-list\":[0,1,1], \"print-cols\":[2,3,4], \"stretch\":2}',NULL,NULL);

--
-- Table structure for table `uom_conversion`
--

CREATE TABLE `uom_conversion` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `baseUnit` varchar(500) NOT NULL,
  `toUnit` varchar(500) NOT NULL,
  `conValue` varchar(50) NOT NULL,
  `itemID` varchar(500) DEFAULT NULL,
  `narration` varchar(5000) DEFAULT NULL,
  `Hidden_row` varchar(50) DEFAULT NULL,
  `barcode` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=256 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `uom_conversion`
--

INSERT INTO `uom_conversion` VALUES
(1,'1','1','1','0x2x1','self conversion',NULL,''),
(2,'1','1','1','0x2x2','self conversion',NULL,''),
(3,'1','1','1','0x2x3','self conversion',NULL,''),
(4,'1','1','1','0x2x4','self conversion',NULL,''),
(5,'1','1','1','0x2x5','self conversion',NULL,''),
(6,'1','1','1','0x2x6','self conversion',NULL,''),
(7,'1','1','1','0x2x7','self conversion',NULL,''),
(8,'1','1','1','0x2x8','self conversion',NULL,''),
(9,'1','1','1','0x2x9','self conversion',NULL,''),
(10,'1','1','1','0x2x10','self conversion',NULL,''),
(11,'1','1','1','0x2x11','self conversion',NULL,''),
(12,'1','1','1','0x2x12','self conversion',NULL,''),
(13,'1','1','1','0x2x13','self conversion',NULL,''),
(14,'1','1','1','0x3x14','self conversion',NULL,''),
(15,'1','1','1','0x3x15','self conversion',NULL,''),
(16,'1','1','1','0x3x16','self conversion',NULL,''),
(17,'1','1','1','0x3x17','self conversion',NULL,''),
(18,'1','1','1','0x3x18','self conversion',NULL,''),
(19,'1','1','1','0x3x19','self conversion',NULL,''),
(20,'1','1','1','0x3x20','self conversion',NULL,''),
(21,'1','1','1','0x3x21','self conversion',NULL,''),
(22,'1','1','1','0x3x22','self conversion',NULL,''),
(23,'1','1','1','0x3x23','self conversion',NULL,''),
(24,'1','1','1','0x3x24','self conversion',NULL,''),
(25,'1','1','1','0x3x25','self conversion',NULL,''),
(26,'1','1','1','0x3x26','self conversion',NULL,''),
(27,'1','1','1','0x3x27','self conversion',NULL,''),
(28,'1','1','1','0x3x28','self conversion',NULL,''),
(29,'1','1','1','0x3x29','self conversion',NULL,''),
(30,'1','1','1','0x3x30','self conversion',NULL,''),
(31,'1','1','1','0x4x31','self conversion',NULL,''),
(32,'1','1','1','0x4x32','self conversion',NULL,''),
(33,'1','1','1','0x4x33','self conversion',NULL,''),
(34,'1','1','1','0x4x34','self conversion',NULL,''),
(35,'1','1','1','0x4x35','self conversion',NULL,''),
(36,'1','1','1','0x4x36','self conversion',NULL,''),
(37,'1','1','1','0x4x37','self conversion',NULL,''),
(38,'1','1','1','0x5x38','self conversion',NULL,''),
(39,'1','1','1','0x5x39','self conversion',NULL,''),
(40,'1','1','1','0x5x40','self conversion',NULL,''),
(41,'1','1','1','0x5x41','self conversion',NULL,''),
(42,'1','1','1','0x5x42','self conversion',NULL,''),
(43,'1','1','1','0x5x43','self conversion',NULL,''),
(44,'1','1','1','0x6x44','self conversion',NULL,''),
(45,'1','1','1','0x6x45','self conversion',NULL,''),
(46,'1','1','1','0x6x46','self conversion',NULL,''),
(47,'1','1','1','0x6x47','self conversion',NULL,''),
(48,'1','1','1','0x6x48','self conversion',NULL,''),
(49,'1','1','1','0x7x49','self conversion',NULL,''),
(50,'1','1','1','0x7x50','self conversion',NULL,''),
(51,'1','1','1','0x7x51','self conversion',NULL,''),
(52,'1','1','1','0x7x52','self conversion',NULL,''),
(53,'1','1','1','0x7x53','self conversion',NULL,''),
(54,'1','1','1','0x7x54','self conversion',NULL,''),
(55,'1','1','1','0x7x55','self conversion',NULL,''),
(56,'1','1','1','0x7x56','self conversion',NULL,''),
(57,'1','1','1','0x7x57','self conversion',NULL,''),
(58,'1','1','1','0x7x58','self conversion',NULL,''),
(59,'1','1','1','0x7x59','self conversion',NULL,''),
(60,'1','1','1','0x7x60','self conversion',NULL,''),
(61,'1','1','1','0x7x61','self conversion',NULL,''),
(62,'1','1','1','0x7x62','self conversion',NULL,''),
(63,'1','1','1','0x7x63','self conversion',NULL,''),
(64,'1','1','1','0x7x64','self conversion',NULL,''),
(65,'1','1','1','0x7x65','self conversion',NULL,''),
(66,'1','1','1','0x7x66','self conversion',NULL,''),
(67,'1','1','1','0x7x67','self conversion',NULL,''),
(68,'1','1','1','0x7x68','self conversion',NULL,''),
(69,'1','1','1','0x7x69','self conversion',NULL,''),
(70,'1','1','1','0x7x70','self conversion',NULL,''),
(71,'1','1','1','0x7x71','self conversion',NULL,''),
(72,'1','1','1','0x7x72','self conversion',NULL,''),
(73,'1','1','1','0x8x73','self conversion',NULL,''),
(74,'1','1','1','0x8x74','self conversion',NULL,''),
(75,'1','1','1','0x8x75','self conversion',NULL,''),
(76,'1','1','1','0x8x76','self conversion',NULL,''),
(77,'1','1','1','0x8x77','self conversion',NULL,''),
(78,'1','1','1','0x8x78','self conversion',NULL,''),
(79,'1','1','1','0x9x79','self conversion',NULL,''),
(80,'1','1','1','0x9x80','self conversion',NULL,''),
(81,'1','1','1','0x9x81','self conversion',NULL,''),
(82,'1','1','1','0x9x82','self conversion',NULL,''),
(83,'1','1','1','0x9x83','self conversion',NULL,''),
(84,'1','1','1','0x9x84','self conversion',NULL,''),
(85,'1','1','1','0x9x85','self conversion',NULL,''),
(86,'1','1','1','0x9x86','self conversion',NULL,''),
(87,'1','1','1','0x9x87','self conversion',NULL,''),
(88,'1','1','1','0x9x88','self conversion',NULL,''),
(89,'1','1','1','0x9x89','self conversion',NULL,''),
(90,'1','1','1','0x9x90','self conversion',NULL,''),
(91,'1','1','1','0x9x91','self conversion',NULL,''),
(92,'1','1','1','0x9x92','self conversion',NULL,''),
(93,'1','1','1','0x9x93','self conversion',NULL,''),
(94,'1','1','1','0x9x94','self conversion',NULL,''),
(95,'1','1','1','0x9x95','self conversion',NULL,''),
(96,'1','1','1','0x9x96','self conversion',NULL,''),
(97,'1','1','1','0x9x97','self conversion',NULL,''),
(98,'1','1','1','0x9x98','self conversion',NULL,''),
(99,'1','1','1','0x9x99','self conversion',NULL,''),
(100,'1','1','1','0x10x100','self conversion',NULL,''),
(101,'1','1','1','0x10x101','self conversion',NULL,''),
(102,'1','1','1','0x10x102','self conversion',NULL,''),
(103,'1','1','1','0x10x103','self conversion',NULL,''),
(104,'1','1','1','0x10x104','self conversion',NULL,''),
(105,'1','1','1','0x10x105','self conversion',NULL,''),
(106,'1','1','1','0x10x106','self conversion',NULL,''),
(107,'1','1','1','0x10x107','self conversion',NULL,''),
(108,'1','1','1','0x10x108','self conversion',NULL,''),
(109,'1','1','1','0x10x109','self conversion',NULL,''),
(110,'1','1','1','0x10x110','self conversion',NULL,''),
(111,'1','1','1','0x10x111','self conversion',NULL,''),
(112,'1','1','1','0x10x112','self conversion',NULL,''),
(113,'1','1','1','0x10x113','self conversion',NULL,''),
(114,'1','1','1','0x10x114','self conversion',NULL,''),
(115,'1','1','1','0x10x115','self conversion',NULL,''),
(116,'1','1','1','0x11x116','self conversion',NULL,''),
(117,'1','1','1','0x11x117','self conversion',NULL,''),
(118,'1','1','1','0x11x118','self conversion',NULL,''),
(119,'1','1','1','0x11x119','self conversion',NULL,''),
(120,'1','1','1','0x11x120','self conversion',NULL,''),
(121,'1','1','1','0x11x121','self conversion',NULL,''),
(122,'1','1','1','0x11x122','self conversion',NULL,''),
(123,'1','1','1','0x11x123','self conversion',NULL,''),
(124,'1','1','1','0x11x124','self conversion',NULL,''),
(125,'1','1','1','0x11x125','self conversion',NULL,''),
(126,'1','1','1','0x11x126','self conversion',NULL,''),
(127,'1','1','1','0x11x127','self conversion',NULL,''),
(128,'1','1','1','0x11x128','self conversion',NULL,''),
(129,'1','1','1','0x11x129','self conversion',NULL,''),
(130,'1','1','1','0x11x130','self conversion',NULL,''),
(131,'1','1','1','0x12x131','self conversion',NULL,''),
(132,'1','1','1','0x12x132','self conversion',NULL,''),
(133,'1','1','1','0x12x133','self conversion',NULL,''),
(134,'1','1','1','0x12x134','self conversion',NULL,''),
(135,'1','1','1','0x12x135','self conversion',NULL,''),
(136,'1','1','1','0x12x136','self conversion',NULL,''),
(137,'1','1','1','0x12x137','self conversion',NULL,''),
(138,'1','1','1','0x12x138','self conversion',NULL,''),
(139,'1','1','1','0x12x139','self conversion',NULL,''),
(140,'1','1','1','0x12x140','self conversion',NULL,''),
(141,'1','1','1','0x12x141','self conversion',NULL,''),
(142,'1','1','1','0x12x142','self conversion',NULL,''),
(143,'1','1','1','0x12x143','self conversion',NULL,''),
(144,'1','1','1','0x12x144','self conversion',NULL,''),
(145,'1','1','1','0x4x145','self conversion',NULL,''),
(146,'1','1','1','0x4x146','self conversion',NULL,''),
(147,'1','1','1','0x4x147','self conversion',NULL,''),
(148,'1','1','1','0x4x148','self conversion',NULL,''),
(149,'1','1','1','0x4x149','self conversion',NULL,''),
(150,'1','1','1','0x4x150','self conversion',NULL,''),
(151,'1','1','1','0x4x151','self conversion',NULL,''),
(152,'1','1','1','0x4x152','self conversion',NULL,''),
(153,'1','1','1','0x4x153','self conversion',NULL,''),
(154,'1','1','1','0x4x154','self conversion',NULL,''),
(155,'1','1','1','0x4x155','self conversion',NULL,''),
(156,'1','1','1','0x4x156','self conversion',NULL,''),
(157,'1','1','1','0x4x157','self conversion',NULL,''),
(158,'1','1','1','0x4x158','self conversion',NULL,''),
(159,'1','1','1','0x4x159','self conversion',NULL,''),
(160,'1','1','1','0x13x160','self conversion',NULL,''),
(161,'1','1','1','0x13x161','self conversion',NULL,''),
(162,'1','1','1','0x13x162','self conversion',NULL,''),
(163,'1','1','1','0x13x163','self conversion',NULL,''),
(164,'1','1','1','0x14x164','self conversion',NULL,''),
(165,'1','1','1','0x14x165','self conversion',NULL,''),
(166,'1','1','1','0x14x166','self conversion',NULL,''),
(167,'1','1','1','0x14x167','self conversion',NULL,''),
(168,'1','1','1','0x14x168','self conversion',NULL,''),
(169,'1','1','1','0x14x169','self conversion',NULL,''),
(170,'1','1','1','0x14x170','self conversion',NULL,'');

--
-- Table structure for table `uomlist`
--

CREATE TABLE `uomlist` (
  `UOM_id` int(11) NOT NULL AUTO_INCREMENT,
  `uom_Name` varchar(200) NOT NULL,
  `uom_symbol` varchar(50) DEFAULT NULL,
  `UOM_decimal_Points` int(11) DEFAULT 0,
  `UOM_Narration` varchar(2000) DEFAULT NULL,
  `timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Modified` timestamp NULL DEFAULT NULL,
  `Hidden_row` varchar(50) DEFAULT NULL,
  `SubUom` longtext DEFAULT NULL,
  PRIMARY KEY (`UOM_id`),
  UNIQUE KEY `UOM_id` (`UOM_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `uomlist`
--

INSERT INTO `uomlist` VALUES
(1,'Number','Nos',0,'','2017-07-31 03:09:32',NULL,NULL,NULL),
(2,'Meter','M',2,'','2017-07-31 03:10:08','2023-03-05 09:52:23',NULL,NULL),
(3,'Gram','GM',2,'','2019-01-12 13:25:30','2023-03-05 09:54:18',NULL,NULL),
(4,'Kilo Gram','KG',2,'','2019-01-12 13:25:49','2023-03-09 16:56:35',NULL,NULL),
(5,'Litre','LTR',2,'','2020-02-08 07:01:12','2023-03-05 09:54:47',NULL,NULL),
(6,'TRAY','TRAY',0,'','2020-02-28 16:56:31','2023-03-05 09:54:39',NULL,NULL),
(7,'Packet','PKT',0,'','2021-06-23 15:42:20','2023-03-05 09:52:43',NULL,NULL),
(8,'Box','BOX',0,'','2023-02-28 13:38:39','2023-03-05 09:52:34',NULL,NULL),
(9,'TIN','TIN',0,'','2023-03-03 17:59:07','2023-03-05 09:55:09',NULL,NULL),
(10,'EXTRA ','',0,'','2024-06-25 08:24:07','2024-06-25 08:24:07',NULL,NULL);

--
-- Table structure for table `user_access_permissions`
--

CREATE TABLE `user_access_permissions` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `User_Group_Id` int(11) DEFAULT NULL,
  `Ui_Id` int(11) DEFAULT NULL,
  `Allow_Create` tinyint(1) DEFAULT NULL,
  `Allow_Read` tinyint(1) DEFAULT NULL,
  `Allow_Update` tinyint(1) DEFAULT NULL,
  `Allow_Delete` tinyint(1) DEFAULT NULL,
  `Allow_Share` tinyint(1) DEFAULT NULL,
  `Extras` longtext DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1391 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `user_access_permissions`
--

INSERT INTO `user_access_permissions` VALUES
(229,6,97,1,1,1,1,1,''),
(230,4,68,1,1,1,1,1,''),
(231,4,1008,1,1,1,1,1,''),
(232,4,69,1,1,1,1,1,''),
(233,4,76,1,1,1,1,1,''),
(234,4,83,1,1,1,1,1,''),
(235,4,53,1,1,1,1,1,''),
(236,4,54,1,1,1,1,1,''),
(237,4,50,1,1,1,1,1,''),
(238,4,48,1,1,1,1,1,''),
(239,4,82,1,1,1,1,1,''),
(240,4,47,1,1,1,1,1,''),
(241,4,45,1,1,1,1,1,''),
(242,4,84,1,1,1,1,1,''),
(243,4,49,1,1,1,1,1,''),
(244,4,46,1,1,1,1,1,''),
(245,4,30,1,1,1,1,1,''),
(246,4,19,1,1,1,1,1,''),
(247,4,1010,1,1,1,1,1,''),
(248,4,91,1,1,1,1,1,''),
(249,4,27,1,1,1,1,1,''),
(250,4,21,1,1,1,1,1,''),
(251,4,34,1,1,1,1,1,''),
(252,4,81,1,1,1,1,1,''),
(253,4,41,1,1,1,1,1,''),
(254,4,61,1,1,1,1,1,''),
(255,4,33,1,1,1,1,1,''),
(256,4,13,1,1,1,1,1,''),
(257,4,35,1,1,1,1,1,''),
(258,4,20,1,1,1,1,1,''),
(259,4,90,1,1,1,1,1,''),
(260,4,17,1,1,1,1,1,''),
(261,4,1009,1,1,1,1,1,''),
(262,4,26,1,1,1,1,1,''),
(263,4,14,1,1,1,1,1,''),
(264,4,31,1,1,1,1,1,''),
(265,4,15,1,1,1,1,1,''),
(266,4,43,1,1,1,1,1,''),
(267,4,44,1,1,1,1,1,''),
(268,4,18,1,1,1,1,1,''),
(269,4,22,1,1,1,1,1,''),
(270,4,92,1,1,1,1,1,''),
(271,4,23,1,1,1,1,1,''),
(272,4,1006,1,1,1,1,1,''),
(273,4,1023,1,1,1,1,1,''),
(274,4,1024,1,1,1,1,1,''),
(275,4,87,1,1,1,1,1,''),
(276,4,67,1,1,1,1,1,''),
(277,4,62,1,1,1,1,1,''),
(278,4,63,1,1,1,1,1,''),
(279,4,66,1,1,1,1,1,''),
(280,4,65,1,1,1,1,1,''),
(281,4,64,1,1,1,1,1,''),
(282,4,59,1,1,1,1,1,''),
(283,4,51,1,1,1,1,1,''),
(284,4,86,1,1,1,1,1,''),
(285,4,85,1,1,1,1,1,''),
(286,4,52,1,1,1,1,1,''),
(287,4,58,1,1,1,1,1,''),
(288,4,57,1,1,1,1,1,''),
(289,4,56,1,1,1,1,1,''),
(290,4,78,1,1,1,1,1,''),
(291,4,1002,1,1,1,1,1,''),
(292,4,1001,1,1,1,1,1,''),
(293,4,29,1,1,1,1,1,''),
(294,4,10,1,1,1,1,1,''),
(295,4,4,1,1,1,1,1,''),
(296,4,1021,1,1,1,1,1,''),
(297,4,7,1,1,1,1,1,''),
(298,4,5,1,1,1,1,1,''),
(299,4,28,1,1,1,1,1,''),
(300,4,8,1,1,1,1,1,''),
(301,4,2,1,1,1,1,1,''),
(302,4,1017,1,1,1,1,1,''),
(303,4,36,1,1,1,1,1,''),
(304,4,40,1,1,1,1,1,''),
(305,4,3,1,1,1,1,1,''),
(306,4,11,1,1,1,1,1,''),
(307,4,6,1,1,1,1,1,''),
(308,4,39,1,1,1,1,1,''),
(309,4,60,1,1,1,1,1,''),
(310,4,80,1,1,1,1,1,''),
(311,4,1004,1,1,1,1,1,''),
(312,4,9,1,1,1,1,1,''),
(313,4,32,1,1,1,1,1,''),
(314,4,1000,1,1,1,1,1,''),
(315,4,12,1,1,1,1,1,''),
(316,4,1003,1,1,1,1,1,''),
(317,4,1020,1,1,1,1,1,''),
(318,4,1018,1,1,1,1,1,''),
(319,4,1019,1,1,1,1,1,''),
(320,4,89,1,1,1,1,1,''),
(321,4,88,1,1,1,1,1,''),
(322,4,97,1,1,1,1,1,''),
(666,0,1008,1,1,0,0,0,''),
(667,0,69,1,1,0,0,0,''),
(668,0,1024,1,1,0,0,0,''),
(669,0,48,1,1,0,0,0,''),
(670,0,47,1,1,0,0,0,''),
(671,0,49,1,1,0,0,0,''),
(672,0,46,1,1,0,0,0,''),
(673,0,30,1,1,0,0,0,''),
(674,0,1037,0,0,0,0,0,''),
(675,0,52,1,1,0,0,0,''),
(676,0,59,1,1,0,0,0,''),
(677,0,88,0,0,0,0,0,''),
(678,0,1023,1,1,0,0,0,''),
(679,0,1029,0,0,0,0,0,''),
(680,0,95,0,0,0,0,0,''),
(681,0,45,1,1,0,0,0,''),
(682,0,22,1,1,0,0,0,''),
(683,0,1027,0,0,0,0,0,''),
(684,0,152,0,0,0,0,0,''),
(685,0,61,1,1,0,0,0,''),
(686,0,19,0,0,0,0,0,''),
(687,0,56,1,1,0,0,0,''),
(688,0,1003,0,0,0,0,0,''),
(689,0,1000,0,0,0,0,0,''),
(690,0,1030,0,0,0,0,0,''),
(691,0,83,1,1,0,0,0,''),
(692,0,50,1,1,0,0,0,''),
(693,0,98,1,1,0,0,0,''),
(694,0,86,1,1,0,0,0,''),
(695,0,85,1,1,0,0,0,''),
(696,0,57,1,1,0,0,0,''),
(697,0,53,1,1,0,0,0,''),
(698,0,36,1,1,0,0,0,''),
(699,0,73,0,1,0,0,0,''),
(1249,1,1027,1,1,1,1,1,''),
(1250,1,68,1,1,1,1,1,''),
(1251,1,1008,1,1,1,1,1,''),
(1252,1,69,1,1,1,1,1,''),
(1253,1,112,1,1,1,1,1,''),
(1254,1,93,1,1,1,1,1,''),
(1255,1,76,1,1,1,1,1,''),
(1256,1,1024,1,1,1,1,1,''),
(1257,1,83,1,1,1,1,1,''),
(1258,1,53,1,1,1,1,1,''),
(1259,1,54,1,1,1,1,1,''),
(1260,1,50,1,1,1,1,1,''),
(1261,1,48,1,1,1,1,1,''),
(1262,1,82,1,1,1,1,1,''),
(1263,1,47,1,1,1,1,1,''),
(1264,1,45,1,1,1,1,1,''),
(1265,1,84,1,1,1,1,1,''),
(1266,1,95,1,1,1,1,1,''),
(1267,1,49,1,1,1,1,1,''),
(1268,1,46,1,1,1,1,1,''),
(1269,1,30,1,1,1,1,1,''),
(1270,1,1030,1,1,1,1,1,''),
(1271,1,1031,1,1,1,1,1,''),
(1272,1,1032,1,1,1,1,1,''),
(1273,1,1025,1,1,1,1,1,''),
(1274,1,19,1,1,1,1,1,''),
(1275,1,1010,1,1,1,1,1,''),
(1276,1,91,1,1,1,1,1,''),
(1277,1,27,1,1,1,1,1,''),
(1278,1,21,1,1,1,1,1,''),
(1279,1,34,1,1,1,1,1,''),
(1280,1,81,1,1,1,1,1,''),
(1281,1,41,1,1,1,1,1,''),
(1282,1,98,1,1,1,1,1,''),
(1283,1,61,1,1,1,1,1,''),
(1284,1,33,1,1,1,1,1,''),
(1285,1,13,1,1,1,1,1,''),
(1286,1,35,1,1,1,1,1,''),
(1287,1,20,1,1,1,1,1,''),
(1288,1,90,1,1,1,1,1,''),
(1289,1,110,1,1,1,1,1,''),
(1290,1,17,1,1,1,1,1,''),
(1291,1,1009,1,1,1,1,1,''),
(1292,1,26,1,1,1,1,1,''),
(1293,1,106,1,1,1,1,1,''),
(1294,1,109,1,1,1,1,1,''),
(1295,1,1037,1,1,1,1,1,''),
(1296,1,14,1,1,1,1,1,''),
(1297,1,151,1,1,1,1,1,''),
(1298,1,31,1,1,1,1,1,''),
(1299,1,108,1,1,1,1,1,''),
(1300,1,15,1,1,1,1,1,''),
(1301,1,43,1,1,1,1,1,''),
(1302,1,1026,1,1,1,1,1,''),
(1303,1,44,1,1,1,1,1,''),
(1304,1,105,1,1,1,1,1,''),
(1305,1,104,1,1,1,1,1,''),
(1306,1,103,1,1,1,1,1,''),
(1307,1,107,1,1,1,1,1,''),
(1308,1,18,1,1,1,1,1,''),
(1309,1,152,1,1,1,1,1,''),
(1310,1,22,1,1,1,1,1,''),
(1311,1,92,1,1,1,1,1,''),
(1312,1,23,1,1,1,1,1,''),
(1313,1,170,1,1,1,1,1,''),
(1314,1,1006,1,1,1,1,1,''),
(1315,1,87,1,1,1,1,1,''),
(1316,1,67,1,1,1,1,1,''),
(1317,1,62,1,1,1,1,1,''),
(1318,1,63,1,1,1,1,1,''),
(1319,1,1036,1,1,1,1,1,''),
(1320,1,164,1,1,1,1,1,''),
(1321,1,66,1,1,1,1,1,''),
(1322,1,65,1,1,1,1,1,''),
(1323,1,64,1,1,1,1,1,''),
(1324,1,59,1,1,1,1,1,''),
(1325,1,51,1,1,1,1,1,''),
(1326,1,86,1,1,1,1,1,''),
(1327,1,85,1,1,1,1,1,''),
(1328,1,52,1,1,1,1,1,''),
(1329,1,58,1,1,1,1,1,''),
(1330,1,57,1,1,1,1,1,''),
(1331,1,56,1,1,1,1,1,''),
(1332,1,78,1,1,1,1,1,''),
(1333,1,1028,1,1,1,1,1,''),
(1334,1,157,1,1,1,1,1,''),
(1335,1,1002,1,1,1,1,1,''),
(1336,1,1001,1,1,1,1,1,''),
(1337,1,29,1,1,1,1,1,''),
(1338,1,10,1,1,1,1,1,''),
(1339,1,4,1,1,1,1,1,''),
(1340,1,1021,1,1,1,1,1,''),
(1341,1,7,1,1,1,1,1,''),
(1342,1,5,1,1,1,1,1,''),
(1343,1,28,1,1,1,1,1,''),
(1344,1,8,1,1,1,1,1,''),
(1345,1,2,1,1,1,1,1,''),
(1346,1,1017,1,1,1,1,1,''),
(1347,1,114,1,1,1,1,1,''),
(1348,1,36,1,1,1,1,1,''),
(1349,1,40,1,1,1,1,1,''),
(1350,1,158,1,1,1,1,1,''),
(1351,1,97,1,1,1,1,1,''),
(1352,1,3,1,1,1,1,1,''),
(1353,1,11,1,1,1,1,1,''),
(1354,1,96,1,1,1,1,1,''),
(1355,1,6,1,1,1,1,1,''),
(1356,1,39,1,1,1,1,1,''),
(1357,1,60,1,1,1,1,1,''),
(1358,1,113,1,1,1,1,1,''),
(1359,1,80,1,1,1,1,1,''),
(1360,1,1004,1,1,1,1,1,''),
(1361,1,9,1,1,1,1,1,''),
(1362,1,32,1,1,1,1,1,''),
(1363,1,1000,1,1,1,1,1,''),
(1364,1,12,1,1,1,1,1,''),
(1365,1,1003,1,1,1,1,1,''),
(1366,1,1020,1,1,1,1,1,''),
(1367,1,1018,1,1,1,1,1,''),
(1368,1,178,1,1,1,1,1,''),
(1369,1,159,1,1,1,1,1,''),
(1370,1,180,1,1,1,1,1,''),
(1371,1,179,1,1,1,1,1,''),
(1372,1,1019,1,1,1,1,1,''),
(1373,1,89,1,1,1,1,1,''),
(1374,1,88,1,1,1,1,1,''),
(1375,1,1007,1,1,1,1,1,''),
(1376,1,70,1,1,1,1,1,''),
(1377,1,75,1,1,1,1,1,''),
(1378,1,71,1,1,1,1,1,''),
(1379,1,73,1,1,1,1,1,''),
(1380,1,72,1,1,1,1,1,''),
(1381,1,74,1,1,1,1,1,''),
(1382,1,1023,1,1,1,1,1,''),
(1383,1,1029,1,1,1,1,1,''),
(1384,1,1005,1,1,1,1,1,''),
(1385,1,38,1,1,1,1,1,''),
(1386,1,250,1,1,1,1,1,''),
(1387,1,5022,1,1,1,1,1,''),
(1388,1,6000,1,1,1,1,1,''),
(1389,1,5019,1,1,1,1,1,''),
(1390,1,5020,1,1,1,1,1,'');

--
-- Table structure for table `user_group_permissions`
--

CREATE TABLE `user_group_permissions` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Name` varchar(100) NOT NULL,
  `Requirements_View` tinyint(4) DEFAULT NULL,
  `Requirements_Add` tinyint(4) DEFAULT NULL,
  `Requirements_Update` tinyint(4) DEFAULT NULL,
  `Requirements_Delete` tinyint(4) DEFAULT NULL,
  `Quotes_View` tinyint(4) DEFAULT NULL,
  `Quotes_Add` tinyint(4) DEFAULT NULL,
  `Quotes_Update` tinyint(4) DEFAULT NULL,
  `Quotes_Delete` tinyint(4) DEFAULT NULL,
  `exportQuote` tinyint(4) DEFAULT NULL,
  `clientApprove` tinyint(4) DEFAULT NULL,
  `managerApprove` tinyint(4) DEFAULT NULL,
  `reviseQuote` tinyint(4) DEFAULT NULL,
  `DraftsMan_View` tinyint(4) DEFAULT NULL,
  `DraftsMan_Add` tinyint(4) DEFAULT NULL,
  `DraftsMan_Update` tinyint(4) DEFAULT NULL,
  `DraftsMan_Delete` tinyint(4) DEFAULT NULL,
  `Sales_Orders_View` tinyint(4) DEFAULT NULL,
  `Sales_Orders_Add` tinyint(4) DEFAULT NULL,
  `Sales_Orders_Update` tinyint(4) DEFAULT NULL,
  `Sales_Orders_Delete` tinyint(4) DEFAULT NULL,
  `Sales_Invoices_View` tinyint(4) DEFAULT NULL,
  `Sales_Invoices_Add` tinyint(4) DEFAULT NULL,
  `Sales_Invoices_Update` tinyint(4) DEFAULT NULL,
  `Sales_Invoices_Delete` tinyint(4) DEFAULT NULL,
  `Purchase_Orders_View` tinyint(4) DEFAULT NULL,
  `Purchase_Orders_Add` tinyint(4) DEFAULT NULL,
  `Purchase_Orders_Update` tinyint(4) DEFAULT NULL,
  `Purchase_Orders_Delete` tinyint(4) DEFAULT NULL,
  `Purchase_Invoices_View` tinyint(4) DEFAULT NULL,
  `Purchase_Invoices_Add` tinyint(4) DEFAULT NULL,
  `Purchase_Invoices_Update` tinyint(4) DEFAULT NULL,
  `Purchase_Invoices_Delete` tinyint(4) DEFAULT NULL,
  `Delivery_Notes_View` tinyint(4) DEFAULT NULL,
  `Delivery_Notes_Add` tinyint(4) DEFAULT NULL,
  `Delivery_Notes_Update` tinyint(4) DEFAULT NULL,
  `Delivery_Notes_Delete` tinyint(4) DEFAULT NULL,
  `Credit_Notes_View` tinyint(4) DEFAULT NULL,
  `Credit_Notes_Add` tinyint(4) DEFAULT NULL,
  `Credit_Notes_Update` tinyint(4) DEFAULT NULL,
  `Credit_Notes_Delete` tinyint(4) DEFAULT NULL,
  `Debit_Notes_View` tinyint(4) DEFAULT NULL,
  `Debit_Notes_Add` tinyint(4) DEFAULT NULL,
  `Debit_Notes_Update` tinyint(4) DEFAULT NULL,
  `Debit_Notes_Delete` tinyint(4) DEFAULT NULL,
  `Receipt_Notes_View` tinyint(4) DEFAULT NULL,
  `Receipt_Notes_Add` tinyint(4) DEFAULT NULL,
  `Receipt_Notes_Update` tinyint(4) DEFAULT NULL,
  `Receipt_Notes_Delete` tinyint(4) DEFAULT NULL,
  `Journals_View` tinyint(4) DEFAULT NULL,
  `Journals_Add` tinyint(4) DEFAULT NULL,
  `Journals_Update` tinyint(4) DEFAULT NULL,
  `Journals_Delete` tinyint(4) DEFAULT NULL,
  `Payments_View` tinyint(4) DEFAULT NULL,
  `Payments_Add` tinyint(4) DEFAULT NULL,
  `Payments_Update` tinyint(4) DEFAULT NULL,
  `Payments_Delete` tinyint(4) DEFAULT NULL,
  `Purchases_View` tinyint(4) DEFAULT NULL,
  `Purchases_Add` tinyint(4) DEFAULT NULL,
  `Purchases_Update` tinyint(4) DEFAULT NULL,
  `Purchases_Delete` tinyint(4) DEFAULT NULL,
  `Receipts_View` tinyint(4) DEFAULT NULL,
  `Receipts_Add` tinyint(4) DEFAULT NULL,
  `Receipts_Update` tinyint(4) DEFAULT NULL,
  `Receipts_Delete` tinyint(4) DEFAULT NULL,
  `Stock_Entries_View` tinyint(4) DEFAULT NULL,
  `Stock_Entries_Add` tinyint(4) DEFAULT NULL,
  `Stock_Entries_Update` tinyint(4) DEFAULT NULL,
  `Stock_Entries_Delete` tinyint(4) DEFAULT NULL,
  `Stock_Journals_View` tinyint(4) DEFAULT NULL,
  `Stock_Journals_Add` tinyint(4) DEFAULT NULL,
  `Stock_Journals_Update` tinyint(4) DEFAULT NULL,
  `Stock_Journals_Delete` tinyint(4) DEFAULT NULL,
  `Material_In_Out_View` tinyint(4) DEFAULT NULL,
  `Material_In_Out_Add` tinyint(4) DEFAULT NULL,
  `Material_In_Out_Update` tinyint(4) DEFAULT NULL,
  `Material_In_Out_Delete` tinyint(4) DEFAULT NULL,
  `Godown_Transfer_View` tinyint(4) DEFAULT NULL,
  `Godown_Transfer_Add` tinyint(4) DEFAULT NULL,
  `Godown_Transfer_Update` tinyint(4) DEFAULT NULL,
  `Godown_Transfer_Delete` tinyint(4) DEFAULT NULL,
  `Account_Groups_View` tinyint(4) DEFAULT NULL,
  `Account_Groups_Add` tinyint(4) DEFAULT NULL,
  `Account_Groups_Update` tinyint(4) DEFAULT NULL,
  `Account_Groups_Delete` tinyint(4) DEFAULT NULL,
  `Ledgers_View` tinyint(4) DEFAULT NULL,
  `Ledgers_Add` tinyint(4) DEFAULT NULL,
  `Ledgers_Update` tinyint(4) DEFAULT NULL,
  `Ledgers_Delete` tinyint(4) DEFAULT NULL,
  `Bank_View` tinyint(4) DEFAULT NULL,
  `Bank_Add` tinyint(4) DEFAULT NULL,
  `Bank_Update` tinyint(4) DEFAULT NULL,
  `Bank_Delete` tinyint(4) DEFAULT NULL,
  `Brands_View` tinyint(4) DEFAULT NULL,
  `Brands_Add` tinyint(4) DEFAULT NULL,
  `Brands_Update` tinyint(4) DEFAULT NULL,
  `Brands_Delete` tinyint(4) DEFAULT NULL,
  `Godowns_View` tinyint(4) DEFAULT NULL,
  `Godowns_Add` tinyint(4) DEFAULT NULL,
  `Godowns_Update` tinyint(4) DEFAULT NULL,
  `Godowns_Delete` tinyint(4) DEFAULT NULL,
  `Properties_View` tinyint(4) DEFAULT NULL,
  `Properties_Add` tinyint(4) DEFAULT NULL,
  `Properties_Update` tinyint(4) DEFAULT NULL,
  `Properties_Delete` tinyint(4) DEFAULT NULL,
  `Sales_Inventory_Groups_View` tinyint(4) DEFAULT NULL,
  `Sales_Inventory_Groups_Add` tinyint(4) DEFAULT NULL,
  `Sales_Inventory_Groups_Update` tinyint(4) DEFAULT NULL,
  `Sales_Inventory_Groups_Delete` tinyint(4) DEFAULT NULL,
  `Sales_Inventory_Items_View` tinyint(4) DEFAULT NULL,
  `Sales_Inventory_Items_Add` tinyint(4) DEFAULT NULL,
  `Sales_Inventory_Items_Update` tinyint(4) DEFAULT NULL,
  `Sales_Inventory_Items_Delete` tinyint(4) DEFAULT NULL,
  `UOM_View` tinyint(4) DEFAULT NULL,
  `UOM_Add` tinyint(4) DEFAULT NULL,
  `UOM_Update` tinyint(4) DEFAULT NULL,
  `UOM_Delete` tinyint(4) DEFAULT NULL,
  `Price_Lists_View` tinyint(4) DEFAULT NULL,
  `Price_Lists_Add` tinyint(4) DEFAULT NULL,
  `Price_Lists_Update` tinyint(4) DEFAULT NULL,
  `Price_Lists_Delete` tinyint(4) DEFAULT NULL,
  `InventoryMasters` tinyint(4) DEFAULT NULL,
  `InventoryTransactions` tinyint(4) DEFAULT NULL,
  `FinanceMasters` tinyint(4) DEFAULT NULL,
  `FinanceTransactions` tinyint(4) DEFAULT NULL,
  `HR` tinyint(4) DEFAULT NULL,
  `Purchases` tinyint(4) DEFAULT NULL,
  `WareHouse` tinyint(4) DEFAULT NULL,
  `HelpDesk` tinyint(4) DEFAULT NULL,
  `Services` tinyint(4) DEFAULT NULL,
  `Finances` tinyint(4) DEFAULT NULL,
  `Inventory` tinyint(4) DEFAULT NULL,
  `Projects` tinyint(4) DEFAULT NULL,
  `Projects_View` tinyint(4) DEFAULT NULL,
  `Projects_Add` tinyint(4) DEFAULT NULL,
  `Projects_Update` tinyint(4) DEFAULT NULL,
  `Projects_Delete` tinyint(4) DEFAULT NULL,
  `Doucuments_View` tinyint(4) DEFAULT NULL,
  `Doucuments_Add` tinyint(4) DEFAULT NULL,
  `Doucuments_Update` tinyint(4) DEFAULT NULL,
  `Doucuments_Delete` tinyint(4) DEFAULT NULL,
  `WorkOrder_View` tinyint(4) DEFAULT NULL,
  `WorkOrder_Add` tinyint(4) DEFAULT NULL,
  `WorkOrder_Update` tinyint(4) DEFAULT NULL,
  `WorkOrder_Delete` tinyint(4) DEFAULT NULL,
  `DraftsExtraDocs` tinyint(4) DEFAULT NULL,
  `DraftStatus` tinyint(4) DEFAULT NULL,
  `MaxDiscountPercent` float DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `user_group_permissions`
--

INSERT INTO `user_group_permissions` VALUES
(0,'2021-07-10 16:55:29','Service boys',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(1,'2017-09-14 18:28:15','Manager',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
(2,'2017-10-16 05:50:24','FM',1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
(3,'2017-10-16 05:51:39','Admin',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-24,4,-4,8,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,NULL,NULL,NULL),
(4,'2019-04-25 12:31:04','MD',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
(6,'2021-07-17 07:09:27','HR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `visitorsregister`
--

CREATE TABLE `visitorsregister` (
  `_ID` int(11) NOT NULL AUTO_INCREMENT,
  `DATEVAL` datetime NOT NULL,
  `PHONENUMBER` varchar(100) DEFAULT NULL,
  `NAME` varchar(500) DEFAULT NULL,
  `ADDRESS` varchar(500) DEFAULT NULL,
  `TEMPERATURE` float DEFAULT NULL,
  `TIME_STAMP` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `visitorsregister`
--


--
-- Table structure for table `voucher_no_seq`
--

CREATE TABLE `voucher_no_seq` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `voucher_type` varchar(100) NOT NULL,
  `voucher_prefix` varchar(100) NOT NULL,
  `voucher_no` varchar(100) NOT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `voucher_type` (`voucher_type`,`voucher_prefix`),
  UNIQUE KEY `voucher_type_2` (`voucher_type`,`voucher_prefix`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `voucher_no_seq`
--

INSERT INTO `voucher_no_seq` VALUES
(1,'SalesVoucher','A','0');

--
-- Table structure for table `wastage_entry_details`
--

CREATE TABLE `wastage_entry_details` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Voucher_Date` date NOT NULL,
  `Inventory_Item_ID` varchar(100) NOT NULL,
  `drQty` float DEFAULT NULL,
  `crQty` float DEFAULT NULL,
  `Price` float NOT NULL,
  `UOM_id` varchar(50) DEFAULT NULL,
  `PriceLevel` varchar(100) DEFAULT NULL,
  `isCompoundItem` tinyint(1) DEFAULT NULL,
  `subItemOff_list_ID` varchar(100) DEFAULT NULL,
  `Discount_Percent` float DEFAULT NULL,
  `Discount_Amount` float DEFAULT NULL,
  `Subtotal` float DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Item_Narration` varchar(2000) DEFAULT NULL,
  `Item_Description` varchar(2000) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `wastage_entry_details`
--


--
-- Table structure for table `wastage_entry_main`
--

CREATE TABLE `wastage_entry_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` tinyint(1) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `wastage_entry_main`
--


--
-- Table structure for table `widget_master`
--

CREATE TABLE `widget_master` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Widget_Id` int(11) NOT NULL,
  `Widget_Name` varchar(100) NOT NULL,
  `Category` varchar(100) NOT NULL,
  `Parent_Widget` int(11) NOT NULL,
  `Widget_Type` varchar(100) NOT NULL,
  `Modules` varchar(200) NOT NULL,
  `Priority` float NOT NULL,
  `isConfiguredInDb` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB AUTO_INCREMENT=198 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `widget_master`
--

INSERT INTO `widget_master` VALUES
(1,1021,'Groupwise Sales Report','Screen',0,'C|Reports','Inventory',3,0),
(2,2,'Itemwise Billwise Sales Report','Screen',0,'C|Reports','Inventory',1.3,1),
(3,3,'Itemwise Transaction Summary','Screen',0,'C|Reports','Inventory',1,1),
(4,4,'Groupwise Purchase Report','Screen',0,'C|Reports','Inventory',0,1),
(5,5,'Item Movement Analysis','Screen',0,'C|Reports','Inventory',8,1),
(6,6,'Negative Stock Report','Screen',0,'C|Reports','Inventory',10,1),
(7,7,'Groupwise Transaction Summary','Screen',0,'C|Reports','Inventory',1.1,1),
(8,8,'Item Movement Summary By Ledger','Screen',0,'C|Reports','Inventory',1.9,1),
(9,9,'Re-Order Report','Screen',0,'C|Reports','Inventory|Purchases',11,1),
(10,10,'Godownwise Sales Report','Screen',0,'C|Reports','Inventory',9,1),
(11,11,'Mode of Servicewise Sales Report','Screen',0,'C|Reports','Inventory',13,1),
(12,12,'Time Based Sales Report','Screen',0,'C|Reports','Inventory',14,1),
(13,13,'Day Book','Screen',0,'C|Reports','Finance',1,1),
(14,14,'Ledger Report','Screen',0,'C|Reports','Finance|Purchases',2,1),
(15,15,'Over-Due Bills By Ledger','Screen',0,'C|Reports','Finance|Purchases',8,1),
(16,1010,'Billwise Sales Report','Screen',0,'C|Reports','Finance',3,0),
(17,17,'Groupwise Outstanding','Screen',0,'C|Reports','Finance',7,1),
(18,18,'Salesman-wise Sales','Screen',0,'C|Reports','Finance',9,1),
(19,19,'Billwise Report By Salesman','Screen',0,'C|Reports','Finance',0,1),
(20,20,'Discount Report','Screen',0,'C|Reports','Finance',10,1),
(21,21,'Complimentary Report','Screen',0,'C|Reports','Finance',11,1),
(22,22,'Shift Report','Screen',0,'C|Reports','Finance',12,1),
(23,23,'Trial Balance','Screen',0,'C|Reports','Finance',19,1),
(24,24,'Itemwise Stock Report By Group And Godown And LPP','Screen',0,'C|Reports','',0,1),
(25,25,'Groupwise Stock Report By Godown And LPP','Screen',0,'C|Reports','',0,1),
(26,26,'GST Report By HSN','Screen',0,'C|Reports','Finance',0,1),
(27,27,'Cess Report','Screen',0,'C|Reports','Finance',0,1),
(28,28,'Item Movement Detailed By Ledger','Screen',0,'C|Reports','Inventory',0,1),
(29,29,'Godownwise Billwise Sales','Screen',0,'C|Reports','Inventory',0,1),
(30,30,'Sales Voucher Register','Screen',0,'B|Registers','Finance',1,1),
(31,31,'Ledgerwise Transaction Summary','Screen',0,'C|Reports','Finance',13,1),
(32,32,'Sales Margin Report','Screen',0,'C|Reports','Inventory',15,1),
(33,33,'Datewise Sales Report','Screen',0,'C|Reports','Finance',14,1),
(34,34,'Customer List','Screen',0,'C|Reports','Finance',15,1),
(35,35,'Deleted Billwise Sales Report','Screen',0,'C|Reports','Finance',0,1),
(36,36,'Itemwise Purchase Orders','Screen',0,'C|Reports','Inventory|Purchases',0,1),
(38,38,'Visitors List','Screen',0,'C|Reports','',0,1),
(39,39,'Pending Orders','Screen',0,'C|Reports','Inventory',16,1),
(40,40,'Itemwise Purchase Report','Screen',0,'C|Reports','Inventory',0,1),
(41,41,'Customerwise Itemwise Sales Report','Screen',0,'C|Reports','Finance',0,1),
(42,43,'Payment Voucher Summary','Screen',0,'C|Reports','Finance',16,1),
(43,44,'Receipt Voucher Summary','Screen',0,'C|Reports','Finance',17,1),
(44,45,'Purchase Voucher Register','Screen',0,'B|Registers','Finance|Purchases',2,1),
(45,46,'Sales Order Register','Screen',0,'B|Registers','Finance',3,1),
(46,47,'Purchase Order Register','Screen',0,'B|Registers','Finance|Purchases|Warehouse',4,1),
(47,48,'Payment Voucher Register','Screen',0,'B|Registers','Finance|Purchases',6,1),
(48,49,'Receipt Voucher Register','Screen',0,'B|Registers','Finance',5,1),
(49,50,'Journal Register','Screen',0,'B|Registers','Finance',7,1),
(50,51,'Delivery Note Register','Screen',0,'B|Registers','Inventory|Warehouse',1,1),
(51,52,'Receipt Note Register','Screen',0,'B|Registers','Inventory|Purchases',2,1),
(52,53,'Credit Note Register','Screen',0,'B|Registers','Finance|Purchases',8,1),
(53,54,'Debit Note Register','Screen',0,'B|Registers','Finance',9,1),
(54,56,'Wastage Entries','Screen',0,'B|Registers','Inventory',7,1),
(55,57,'Stock Request/Issue','Screen',0,'B|Registers','Inventory',6,1),
(56,58,'Stock Journal','Screen',0,'B|Registers','Inventory',3,1),
(57,59,'Current Stock Entry','Screen',0,'B|Registers','Inventory|Warehouse',4,1),
(58,60,'Pending Orders','Screen',0,'C|Reports','Inventory',0,1),
(59,61,'Datewise Purchase Report','Screen',0,'C|Reports','Finance',18,1),
(60,62,'Inventory Groups','Screen',0,'A|Masters','Inventory',2,1),
(61,63,'Inventory Items','Screen',0,'A|Masters','Inventory|Purchases',1,1),
(62,64,'Units of Measurement','Screen',0,'A|Masters','Inventory',3,1),
(63,65,'Unit Conversions','Screen',0,'A|Masters','Inventory',4,1),
(64,66,'Price Lists','Screen',0,'A|Masters','Inventory',5,1),
(65,67,'Godowns','Screen',0,'A|Masters','Inventory|Warehouse',6,1),
(66,68,'Account Groups','Screen',0,'A|Masters','Finance',2,1),
(67,69,'Ledgers','Screen',0,'A|Masters','Finance|Purchases',1,1),
(68,70,'Employees','Screen',0,'A|Masters','HR',1,1),
(69,71,'Attendance Report','Screen',0,'C|Reports','HR',1,1),
(70,72,'Payslip Report','Screen',0,'C|Reports','HR',2,1),
(71,73,'Passport Expiry List','Screen',0,'C|Reports','HR',3,1),
(72,74,'Visa Expiry List','Screen',0,'C|Reports','HR',4,1),
(73,75,'User Groups','Screen',0,'A|Masters','HR',2,1),
(74,76,'Terms & Conditions','Screen',0,'A|Masters','Finance',3,1),
(75,1006,'Bank  Reconciliation','Screen',0,'D|Bank','Finance',1,0),
(76,78,'Work  Orders','Screen',0,'B|Registers','Inventory',5,1),
(77,79,'Inventory Item Editor','Screen',0,'A|Masters','',0,1),
(78,80,'Production Rate Report','Screen',0,'C|Reports','Inventory',12,1),
(79,1000,'Stock Report','Screen',0,'C|Reports','Inventory|WareHouse|Purchases',2,0),
(80,1001,'Debit Note Report','Screen',0,'C|Reports','Inventory',5,0),
(81,1002,'Credit Note Report','Screen',0,'C|Reports','Inventory',6,0),
(82,1003,'Wastage Report','Screen',0,'C|Reports','Inventory',7,0),
(83,1004,'Purchase Report','Screen',0,'C|Reports','Inventory|Purchases',4,0),
(84,1007,'Attendance','Screen',0,'A|Admin','HR',1,0),
(85,1008,'Ledger Opening','Screen',0,'A|Masters','Finance',4,0),
(86,1009,'GST Report','Screen',0,'C|Reports','Finance',12,0),
(87,1011,'Accounts','Screen',0,'D|Dashboards','Dashboard',1,0),
(88,1012,'Items','Screen',0,'D|Dashboards','Dashboard',2,0),
(89,1013,'Customers','Screen',0,'D|Dashboards','Dashboard',3,0),
(90,1014,'Sales','Screen',0,'D|Dashboards','Dashboard',4,0),
(91,1015,'Purchases','Screen',0,'D|Dashboards','Dashboard',5,0),
(92,1016,'Receipts','Screen',0,'D|Dashboards','Dashboard',6,0),
(93,81,'Customer Report','Screen',0,'C|Reports','Finance',4,1),
(94,82,'Proforma Register','Screen',0,'B|Registers','Finance',10,1),
(187,83,'Contra Voucher Register','Screen',0,'B|Registers','Finance',10,1),
(188,84,'Quotations','Screen',0,'B|Registers','Finance',11,1),
(189,85,'Itemwise Sales Order Entry','Screen',0,'B|Registers','Inventory',1,1),
(190,86,'Itemwise Purchase Order Entry','Screen',0,'B|Registers','Inventory',1,1),
(191,1017,'Itemwise Order report','Screen',0,'C|Reports','Inventory',1,0),
(192,87,'Brands','Screen',0,'A|Masters','Inventory',10,1),
(193,88,'Godown Transfer Register','Screen',0,'B|Registers','Warehouse',1,1),
(194,1018,'Godownwise Item Movement','Screen',0,'D|Items','Inventory',3,0),
(195,1019,'Ledgerwise Item Movement','Screen',0,'D|Items','Inventory',2,0),
(196,1020,'Account Groupwise Item Movement','Screen',0,'D|Items','Inventory',1,0),
(197,89,'Purchase Item Quantity Report','Screen',0,'D|Items','Inventory|Purchases',7,1);

--
-- Table structure for table `work_order_detail`
--

CREATE TABLE `work_order_detail` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `WorkOrder_id` varchar(100) DEFAULT NULL,
  `SalesOrder_Id` varchar(100) DEFAULT NULL,
  `requirement_no` varchar(100) DEFAULT NULL,
  `Quantity` int(11) DEFAULT NULL,
  `Price` float DEFAULT NULL,
  `itemID` varchar(100) DEFAULT NULL,
  `SerialNo` varchar(100) DEFAULT NULL,
  `status` varchar(50) DEFAULT NULL,
  `TechnicanID` varchar(50) DEFAULT NULL,
  `CompletedDate` datetime DEFAULT NULL,
  `Expected_Date` date DEFAULT NULL,
  `TimeStamp` datetime NOT NULL DEFAULT current_timestamp(),
  `Remarks` varchar(500) DEFAULT NULL,
  `DN_id` varchar(100) DEFAULT NULL,
  `Voucher_Prefix` varchar(10) DEFAULT NULL,
  `Start_TimeStamp` timestamp NULL DEFAULT NULL,
  `Completion_Timestamp` timestamp NULL DEFAULT NULL,
  `Section` varchar(20) DEFAULT NULL,
  `UOM_Id` varchar(50) DEFAULT NULL,
  `ItemVoucherStatus` int(11) DEFAULT NULL,
  `itemProductionStatus` int(11) DEFAULT NULL,
  `Requirement_ItemID` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `work_order_detail`
--


--
-- Table structure for table `work_order_main`
--

CREATE TABLE `work_order_main` (
  `_id` int(11) NOT NULL AUTO_INCREMENT,
  `Voucher_No` varchar(100) NOT NULL,
  `Voucher_Prefix` varchar(100) NOT NULL,
  `Date_Created` date NOT NULL,
  `Voucher_Date` date NOT NULL,
  `TimeStamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `Last_Updated` datetime(6) DEFAULT current_timestamp(6),
  `Ledger_ID` varchar(100) DEFAULT NULL,
  `Billing_Name` varchar(100) DEFAULT NULL,
  `Total` float NOT NULL,
  `Discount_in_Amount` float DEFAULT NULL,
  `Discount_in_Percent` float DEFAULT NULL,
  `Narration` varchar(2000) DEFAULT NULL,
  `Added_By` varchar(100) DEFAULT NULL,
  `delivery_date` timestamp NULL DEFAULT NULL,
  `Completion_Probability` float DEFAULT NULL,
  `Credit_Period` int(11) DEFAULT NULL,
  `POC_Name` varchar(100) DEFAULT NULL,
  `POC_Phone` varchar(100) DEFAULT NULL,
  `POC_Email` varchar(100) DEFAULT NULL,
  `Project_ID` varchar(100) DEFAULT NULL,
  `Revision_Number` varchar(100) DEFAULT NULL,
  `Converted_To_Sales_Order` varchar(100) DEFAULT NULL,
  `Quotation_Dropped` tinyint(1) DEFAULT NULL,
  `Quotation_Dropped_Reason` varchar(2000) DEFAULT NULL,
  `Requirement_Voucher_No` varchar(100) DEFAULT NULL,
  `Salesman_ID` varchar(100) DEFAULT NULL,
  `PaymentCompleted` varchar(50) DEFAULT NULL,
  `VoucherStatus` varchar(50) DEFAULT NULL,
  `LPO_Ref` varchar(100) DEFAULT NULL,
  `MODE_OF_SERVICE` varchar(10) DEFAULT NULL,
  `Vat_Amount` float DEFAULT NULL,
  `Gross_Total` float DEFAULT NULL,
  `ContactID` int(11) DEFAULT NULL,
  `Reference` varchar(50) DEFAULT NULL,
  `Currency` varchar(10) DEFAULT NULL,
  `Boxes_Count` int(11) DEFAULT NULL,
  `Total_Weight` float DEFAULT NULL,
  `LR_No` varchar(20) DEFAULT NULL,
  `Voucher_No_Display` varchar(20) DEFAULT NULL,
  `Requirement_Voucher_List` longtext DEFAULT NULL,
  `Origin` int(20) DEFAULT NULL,
  `Customer_Expected_Date` date DEFAULT NULL,
  `Round_Off` float DEFAULT NULL,
  `TransactionId` varchar(50) DEFAULT NULL,
  `Section` varchar(100) DEFAULT NULL,
  `Completed_TimeStamp` datetime DEFAULT NULL,
  PRIMARY KEY (`_id`),
  UNIQUE KEY `Voucher_No` (`Voucher_No`,`Voucher_Prefix`),
  UNIQUE KEY `Voucher_No_2` (`Voucher_No`,`Voucher_Prefix`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `work_order_main`
--



