-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `mmaonesalasar_db`
--

-- --------------------------------------------------------

--
-- Table structure for table `mm_approval_matrix`
--

CREATE TABLE `mm_approval_matrix` (
  `approver_id` int(11) NOT NULL,
  `section_id` int(11) NOT NULL,
  `section` varchar(250) NOT NULL,
  `department` varchar(250) NOT NULL,
  `department_id` int(11) NOT NULL,
  `approvers_id` varchar(250) NOT NULL,
  `appr_name` varchar(250) NOT NULL,
  `material` varchar(250) NOT NULL,
  `material_id` int(11) NOT NULL,
  `level` varchar(50) NOT NULL,
  `from_amount` int(11) NOT NULL,
  `to_amount` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_approval_matrix`
--

INSERT INTO `mm_approval_matrix` (`approver_id`, `section_id`, `section`, `department`, `department_id`, `approvers_id`, `appr_name`, `material`, `material_id`, `level`, `from_amount`, `to_amount`, `created_by`, `created_date`, `updated_by`, `updated_date`, `is_delete`) VALUES
(1, 1, 'Module 1', '', 0, '29', 'Pritam', '', 0, 'L1', 100, 700, 1, '2024-06-29 11:07:58', 1, '2024-06-29 11:07:58', 1),
(2, 20, 'RFQ ', 'IT0123', 15, '42', 'Bhagyashri D. Patil', 'Plastic Material ', 4, 'L1', 5000, 50000, 1, '2024-07-02 15:51:33', 1, '2024-07-02 15:51:33', 0),
(0, 2, 'Module 123', '19', 0, '', 'yd123', 'Plastic Material ', 1, 'L1', 500000, 1749800, 1, '2024-08-14 09:59:54', 1, '2024-08-14 09:59:54', 1),
(0, 2, 'Module 123', '19', 0, '0', 'yd123', 'Plastic Material ', 1, 'L1', 500000, 1749800, 1, '2024-08-14 11:35:06', 1, '2024-08-14 11:35:06', 1),
(0, 2, 'Module 123', '19', 0, '0', 'yd123', 'Plastic Material ', 1, 'L1', 500000, 1749800, 1, '2024-08-19 10:41:40', 1, '2024-08-19 10:41:40', 1),
(0, 2, 'Module 123', '19', 0, '', 'yd123', 'Plastic Material ', 1, 'L1', 500000, 1749800, 1, '2024-08-22 16:28:19', 1, '2024-08-22 16:28:19', 1),
(0, 1, 'Module 1', 'Bhagyashri ', 22, '', 'Select Approver Name', 'Plastic Material ', 1, 'L1', 50000, 15000, 1, '2024-08-31 10:00:27', 1, '2024-08-31 10:00:27', 1),
(0, 0, 'MOD789', 'Dep789', 29, '', 'Select Approver Name', 'Select Material', 0, 'L1', 20, 40, 1, '2024-09-20 12:12:05', 1, '2024-09-20 12:12:05', 0),
(0, 18, 'RFQ', 'Department123', 19, '44', 'yd123', 'Select Material', 0, 'L1', 50000, 100000, 1, '2024-10-10 17:44:54', 1, '2024-10-10 17:44:54', 0),
(0, 2, 'Module 123', 'Data Analyst', 4, '', 'Select Approver Name', 'Plastic Material ', 1, 'L1', 50000, 50000, 1, '2024-10-17 14:58:07', 1, '2024-10-17 14:58:07', 0),
(0, 2, 'Module 123', 'Accounts', 10, '25', 'Priyanka Kulkarni ', 'demo321', 10, 'L1', 0, 25000, 1, '2024-10-18 17:24:39', 1, '2024-10-18 17:24:39', 0),
(0, 0, 'Select Section', 'Select Department', 0, '', '', 'Select Material', 0, '', 0, 0, 1, '2024-10-19 13:44:43', 1, '2024-10-19 13:44:43', 0),
(0, 0, 'Select Section', 'Select Department', 0, '', '', 'Select Material', 0, '', 0, 0, 1, '2024-10-19 16:36:53', 1, '2024-10-19 16:36:53', 0),
(0, 0, 'Select Section', 'Select Department', 0, '', '', 'Select Material', 0, '', 0, 0, 1, '2024-10-19 16:36:57', 1, '2024-10-19 16:36:57', 0),
(0, 0, 'Select Section', 'Select Department', 0, '', '', 'Select Material', 0, '', 0, 0, 1, '2024-10-21 12:10:23', 1, '2024-10-21 12:10:23', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_commercial_questions`
--

CREATE TABLE `mm_commercial_questions` (
  `rfq_commercial_id` int(11) NOT NULL,
  `rfq_id` int(11) NOT NULL DEFAULT '0',
  `material_id` int(11) NOT NULL DEFAULT '0',
  `rfq_supplier_id` int(11) NOT NULL DEFAULT '0',
  `rfq_tax_id` int(11) NOT NULL DEFAULT '0',
  `rfq_commercial_question` varchar(255) NOT NULL,
  `rfq_tax_values` decimal(10,2) NOT NULL,
  `rfq_commercial_approval_status` int(11) NOT NULL,
  `rfq_commercial_approval_by` int(11) NOT NULL DEFAULT '0',
  `rfq_commercial_approved_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_commercial_questions`
--

INSERT INTO `mm_commercial_questions` (`rfq_commercial_id`, `rfq_id`, `material_id`, `rfq_supplier_id`, `rfq_tax_id`, `rfq_commercial_question`, `rfq_tax_values`, `rfq_commercial_approval_status`, `rfq_commercial_approval_by`, `rfq_commercial_approved_on`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 3, 4, 0, 0, 'Que 111', 0.00, 0, 0, '2024-06-21 12:13:52', 1, '2024-06-21 12:13:52', 0, '2024-06-21 12:13:52', 0),
(2, 3, 4, 0, 0, 'Que 222', 0.00, 0, 0, '2024-06-21 12:13:52', 1, '2024-06-21 12:13:52', 0, '2024-06-21 12:13:52', 0),
(3, 3, 7, 0, 0, 'Questions 33', 0.00, 0, 0, '2024-06-21 12:13:52', 1, '2024-06-21 12:13:52', 0, '2024-06-21 12:13:52', 0),
(4, 3, 7, 0, 0, 'Questions 44', 0.00, 0, 0, '2024-06-21 12:13:52', 1, '2024-06-21 12:13:52', 0, '2024-06-21 12:13:52', 0),
(5, 3, 3, 0, 0, 'Q comm 11', 0.00, 0, 0, '2024-06-21 12:13:52', 1, '2024-06-21 12:13:52', 0, '2024-06-21 12:13:52', 0),
(6, 3, 3, 0, 0, 'Q comm 22', 0.00, 0, 0, '2024-06-21 12:13:52', 1, '2024-06-21 12:13:52', 0, '2024-06-21 12:13:52', 0),
(7, 4, 4, 0, 0, 'pal.w', 0.00, 0, 0, '2024-06-21 12:26:05', 1, '2024-06-21 12:26:05', 0, '2024-06-21 12:26:05', 0),
(8, 4, 4, 0, 0, 'pal.p', 0.00, 0, 0, '2024-06-21 12:26:05', 1, '2024-06-21 12:26:05', 0, '2024-06-21 12:26:05', 0),
(9, 4, 7, 0, 0, 'pl.w', 0.00, 0, 0, '2024-06-21 12:26:05', 1, '2024-06-21 12:26:05', 0, '2024-06-21 12:26:05', 0),
(10, 4, 7, 0, 0, 'pall.ww', 0.00, 0, 0, '2024-06-21 12:26:05', 1, '2024-06-21 12:26:05', 0, '2024-06-21 12:26:05', 0),
(11, 4, 3, 0, 0, 'aaaa', 0.00, 0, 0, '2024-06-21 12:26:05', 1, '2024-06-21 12:26:05', 0, '2024-06-21 12:26:05', 0),
(15, 5, 7, 0, 0, '31', 0.00, 0, 0, '2024-06-21 14:58:22', 1, '2024-06-21 14:58:22', 0, '2024-06-21 14:58:22', 0),
(16, 5, 8, 0, 0, '4', 0.00, 0, 0, '2024-06-21 14:58:22', 1, '2024-06-21 14:58:22', 0, '2024-06-21 14:58:22', 0),
(17, 5, 8, 0, 0, '5', 0.00, 0, 0, '2024-06-21 14:58:22', 1, '2024-06-21 14:58:22', 0, '2024-06-21 14:58:22', 0),
(18, 6, 3, 0, 0, 'testing 13', 0.00, 0, 0, '2024-06-22 23:20:43', 1, '2024-06-22 23:20:43', 0, '2024-06-22 23:20:43', 0),
(19, 6, 3, 0, 0, 'testing 14', 0.00, 0, 0, '2024-06-22 23:20:43', 1, '2024-06-22 23:20:43', 0, '2024-06-22 23:20:43', 0),
(20, 6, 7, 0, 0, 'cc', 0.00, 0, 0, '2024-06-22 23:20:43', 1, '2024-06-22 23:20:43', 0, '2024-06-22 23:20:43', 0),
(21, 6, 7, 0, 0, 'dd', 0.00, 0, 0, '2024-06-22 23:20:43', 1, '2024-06-22 23:20:43', 0, '2024-06-22 23:20:43', 0),
(22, 6, 4, 0, 0, 'ggg', 0.00, 0, 0, '2024-06-22 23:20:43', 1, '2024-06-22 23:20:43', 0, '2024-06-22 23:20:43', 0),
(23, 6, 4, 0, 0, 'hhh', 0.00, 0, 0, '2024-06-22 23:20:43', 1, '2024-06-22 23:20:43', 0, '2024-06-22 23:20:43', 0),
(24, 7, 4, 0, 0, 'cccc', 0.00, 0, 0, '2024-06-24 10:07:49', 1, '2024-06-24 10:07:49', 0, '2024-06-24 10:07:49', 0),
(25, 7, 4, 0, 0, 'dddd', 0.00, 0, 0, '2024-06-24 10:07:49', 1, '2024-06-24 10:07:49', 0, '2024-06-24 10:07:49', 0),
(26, 7, 7, 0, 0, 'gggg', 0.00, 0, 0, '2024-06-24 10:07:49', 1, '2024-06-24 10:07:49', 0, '2024-06-24 10:07:49', 0),
(27, 7, 7, 0, 0, 'hhhh', 0.00, 0, 0, '2024-06-24 10:07:49', 1, '2024-06-24 10:07:49', 0, '2024-06-24 10:07:49', 0),
(28, 7, 3, 0, 0, 'KKKK', 0.00, 0, 0, '2024-06-24 10:07:49', 1, '2024-06-24 10:07:49', 0, '2024-06-24 10:07:49', 0),
(29, 7, 3, 0, 0, 'LLLL', 0.00, 0, 0, '2024-06-24 10:07:49', 1, '2024-06-24 10:07:49', 0, '2024-06-24 10:07:49', 0),
(30, 7, 6, 0, 0, 'QQQQ', 0.00, 0, 0, '2024-06-24 10:07:49', 1, '2024-06-24 10:07:49', 0, '2024-06-24 10:07:49', 0),
(31, 7, 6, 0, 0, 'RRRR', 0.00, 0, 0, '2024-06-24 10:07:49', 1, '2024-06-24 10:07:49', 0, '2024-06-24 10:07:49', 0),
(32, 8, 2, 0, 0, 'cccc', 0.00, 0, 0, '2024-06-25 16:52:43', 1, '2024-06-25 16:52:43', 0, '2024-06-25 16:52:43', 0),
(33, 8, 2, 0, 0, 'dddd', 0.00, 0, 0, '2024-06-25 16:52:43', 1, '2024-06-25 16:52:43', 0, '2024-06-25 16:52:43', 0),
(40, 8, 3, 0, 0, '####', 0.00, 0, 0, '2024-06-26 09:56:24', 1, '2024-06-26 09:56:24', 0, '2024-06-26 09:56:24', 0),
(41, 8, 4, 0, 0, '$$$$', 0.00, 0, 0, '2024-06-26 09:56:24', 1, '2024-06-26 09:56:24', 0, '2024-06-26 09:56:24', 0),
(42, 8, 7, 0, 0, '%%%%', 0.00, 0, 0, '2024-06-26 09:56:24', 1, '2024-06-26 09:56:24', 0, '2024-06-26 09:56:24', 0),
(43, 10, 4, 0, 0, 'cccc', 0.00, 0, 0, '2024-06-26 14:41:45', 1, '2024-06-26 14:41:45', 0, '2024-06-26 14:41:45', 0),
(44, 10, 4, 0, 0, 'dddd', 0.00, 0, 0, '2024-06-26 14:41:45', 1, '2024-06-26 14:41:45', 0, '2024-06-26 14:41:45', 0),
(45, 10, 7, 0, 0, 'iiii', 0.00, 0, 0, '2024-06-26 14:41:45', 1, '2024-06-26 14:41:45', 0, '2024-06-26 14:41:45', 0),
(46, 10, 7, 0, 0, 'jjjj', 0.00, 0, 0, '2024-06-26 14:41:45', 1, '2024-06-26 14:41:45', 0, '2024-06-26 14:41:45', 0),
(47, 10, 2, 0, 0, 'ooo', 0.00, 0, 0, '2024-06-26 14:41:45', 1, '2024-06-26 14:41:45', 0, '2024-06-26 14:41:45', 0),
(48, 10, 2, 0, 0, 'pppp', 0.00, 0, 0, '2024-06-26 14:41:45', 1, '2024-06-26 14:41:45', 0, '2024-06-26 14:41:45', 0),
(49, 10, 3, 0, 0, 'ssss', 0.00, 0, 0, '2024-06-26 14:41:45', 1, '2024-06-26 14:41:45', 0, '2024-06-26 14:41:45', 0),
(50, 10, 3, 0, 0, 'tttt', 0.00, 0, 0, '2024-06-26 14:41:45', 1, '2024-06-26 14:41:45', 0, '2024-06-26 14:41:45', 0),
(51, 11, 4, 0, 0, 'CC', 0.00, 0, 0, '2024-06-27 13:36:27', 1, '2024-06-27 13:36:27', 0, '2024-06-27 13:36:27', 0),
(52, 11, 4, 0, 0, 'DD', 0.00, 0, 0, '2024-06-27 13:36:27', 1, '2024-06-27 13:36:27', 0, '2024-06-27 13:36:27', 0),
(53, 11, 7, 0, 0, 'GG', 0.00, 0, 0, '2024-06-27 13:36:27', 1, '2024-06-27 13:36:27', 0, '2024-06-27 13:36:27', 0),
(54, 11, 7, 0, 0, 'HH', 0.00, 0, 0, '2024-06-27 13:36:27', 1, '2024-06-27 13:36:27', 0, '2024-06-27 13:36:27', 0),
(55, 11, 3, 0, 0, 'MM', 0.00, 0, 0, '2024-06-27 13:36:27', 1, '2024-06-27 13:36:27', 0, '2024-06-27 13:36:27', 0),
(56, 11, 3, 0, 0, 'NN', 0.00, 0, 0, '2024-06-27 13:36:27', 1, '2024-06-27 13:36:27', 0, '2024-06-27 13:36:27', 0),
(57, 12, 4, 0, 0, 'test2', 0.00, 0, 0, '2024-06-28 10:19:07', 1, '2024-06-28 10:19:07', 0, '2024-06-28 10:19:07', 0),
(58, 12, 7, 0, 0, 'demo2', 0.00, 0, 0, '2024-06-28 10:19:07', 1, '2024-06-28 10:19:07', 0, '2024-06-28 10:19:07', 0),
(59, 14, 2, 0, 0, 'single trip price', 0.00, 0, 0, '2024-06-29 12:20:37', 1, '2024-06-29 12:20:37', 0, '2024-06-29 12:20:37', 0),
(60, 14, 2, 0, 0, 'Total price', 0.00, 0, 0, '2024-06-29 12:20:37', 1, '2024-06-29 12:20:37', 0, '2024-06-29 12:20:37', 0),
(61, 14, 3, 0, 0, 'Single trip Price', 0.00, 0, 0, '2024-06-29 12:20:37', 1, '2024-06-29 12:20:37', 0, '2024-06-29 12:20:37', 0),
(62, 14, 3, 0, 0, 'Total price', 0.00, 0, 0, '2024-06-29 12:20:37', 1, '2024-06-29 12:20:37', 0, '2024-06-29 12:20:37', 0),
(63, 14, 3, 0, 0, 'Payment terms', 0.00, 0, 0, '2024-06-29 12:20:37', 1, '2024-06-29 12:20:37', 0, '2024-06-29 12:20:37', 0),
(64, 17, 2, 0, 0, 'b', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(65, 17, 2, 0, 0, 'bb', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(66, 17, 3, 0, 0, 'cd', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(67, 17, 3, 0, 0, 'cddd', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(68, 17, 4, 0, 0, 'gg', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(69, 17, 4, 0, 0, 'ds', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(70, 17, 4, 0, 0, 's', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(71, 17, 7, 0, 0, 'aa', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(72, 17, 7, 0, 0, 'asdf', 0.00, 0, 0, '2024-06-29 17:13:27', 1, '2024-06-29 17:13:27', 0, '2024-06-29 17:13:27', 0),
(73, 21, 4, 0, 0, 'q3', 0.00, 0, 0, '2024-07-01 13:59:09', 1, '2024-07-01 13:59:09', 0, '2024-07-01 13:59:09', 0),
(74, 21, 4, 0, 0, 'q4', 0.00, 0, 0, '2024-07-01 13:59:09', 1, '2024-07-01 13:59:09', 0, '2024-07-01 13:59:09', 0),
(75, 21, 7, 0, 0, 'q6', 0.00, 0, 0, '2024-07-01 13:59:09', 1, '2024-07-01 13:59:09', 0, '2024-07-01 13:59:09', 0),
(76, 22, 2, 0, 0, '4', 0.00, 0, 0, '2024-07-01 18:00:42', 1, '2024-07-01 18:00:42', 0, '2024-07-01 18:00:42', 0),
(77, 22, 2, 0, 0, '5', 0.00, 0, 0, '2024-07-01 18:00:42', 1, '2024-07-01 18:00:42', 0, '2024-07-01 18:00:42', 0),
(78, 24, 4, 0, 0, '3', 0.00, 0, 0, '2024-07-02 12:39:27', 1, '2024-07-02 12:39:27', 0, '2024-07-02 12:39:27', 0),
(79, 24, 4, 0, 0, '4', 0.00, 0, 0, '2024-07-02 12:39:27', 1, '2024-07-02 12:39:27', 0, '2024-07-02 12:39:27', 0),
(80, 24, 2, 0, 0, '7', 0.00, 0, 0, '2024-07-02 12:39:27', 1, '2024-07-02 12:39:27', 0, '2024-07-02 12:39:27', 0),
(81, 24, 2, 0, 0, '8', 0.00, 0, 0, '2024-07-02 12:39:27', 1, '2024-07-02 12:39:27', 0, '2024-07-02 12:39:27', 0),
(82, 24, 3, 0, 0, '11', 0.00, 0, 0, '2024-07-02 12:39:27', 1, '2024-07-02 12:39:27', 0, '2024-07-02 12:39:27', 0),
(83, 24, 3, 0, 0, '12', 0.00, 0, 0, '2024-07-02 12:39:27', 1, '2024-07-02 12:39:27', 0, '2024-07-02 12:39:27', 0),
(84, 25, 4, 0, 0, '3', 0.00, 0, 0, '2024-07-02 16:35:03', 1, '2024-07-02 16:35:03', 0, '2024-07-02 16:35:03', 0),
(85, 25, 4, 0, 0, '4', 0.00, 0, 0, '2024-07-02 16:35:03', 1, '2024-07-02 16:35:03', 0, '2024-07-02 16:35:03', 0),
(86, 25, 2, 0, 0, '7', 0.00, 0, 0, '2024-07-02 16:35:03', 1, '2024-07-02 16:35:03', 0, '2024-07-02 16:35:03', 0),
(87, 25, 2, 0, 0, '8', 0.00, 0, 0, '2024-07-02 16:35:03', 1, '2024-07-02 16:35:03', 0, '2024-07-02 16:35:03', 0),
(88, 25, 3, 0, 0, '11', 0.00, 0, 0, '2024-07-02 16:35:03', 1, '2024-07-02 16:35:03', 0, '2024-07-02 16:35:03', 0),
(89, 25, 3, 0, 0, '12', 0.00, 0, 0, '2024-07-02 16:35:03', 1, '2024-07-02 16:35:03', 0, '2024-07-02 16:35:03', 0),
(90, 25, 4, 0, 0, '15', 0.00, 0, 0, '2024-07-02 16:35:03', 1, '2024-07-02 16:35:03', 0, '2024-07-02 16:35:03', 0),
(91, 25, 4, 0, 0, '16', 0.00, 0, 0, '2024-07-02 16:35:03', 1, '2024-07-02 16:35:03', 0, '2024-07-02 16:35:03', 0),
(92, 26, 4, 0, 0, 'C', 0.00, 0, 0, '2024-07-02 16:57:57', 1, '2024-07-02 16:57:57', 0, '2024-07-02 16:57:57', 0),
(93, 26, 4, 0, 0, 'D', 0.00, 0, 0, '2024-07-02 16:57:57', 1, '2024-07-02 16:57:57', 0, '2024-07-02 16:57:57', 0),
(94, 26, 2, 0, 0, 'G', 0.00, 0, 0, '2024-07-02 16:57:57', 1, '2024-07-02 16:57:57', 0, '2024-07-02 16:57:57', 0),
(95, 26, 2, 0, 0, 'H', 0.00, 0, 0, '2024-07-02 16:57:57', 1, '2024-07-02 16:57:57', 0, '2024-07-02 16:57:57', 0),
(96, 26, 3, 0, 0, 'K', 0.00, 0, 0, '2024-07-02 16:57:57', 1, '2024-07-02 16:57:57', 0, '2024-07-02 16:57:57', 0),
(97, 26, 3, 0, 0, 'L', 0.00, 0, 0, '2024-07-02 16:57:57', 1, '2024-07-02 16:57:57', 0, '2024-07-02 16:57:57', 0),
(98, 28, 2, 0, 0, 'test2', 0.00, 0, 0, '2024-07-03 09:40:02', 1, '2024-07-03 09:40:02', 0, '2024-07-03 09:40:02', 0),
(99, 28, 3, 0, 0, 'demo2', 0.00, 0, 0, '2024-07-03 09:40:02', 1, '2024-07-03 09:40:02', 0, '2024-07-03 09:40:02', 0),
(100, 29, 4, 0, 0, 'C', 0.00, 0, 0, '2024-07-03 10:59:17', 1, '2024-07-03 10:59:17', 0, '2024-07-03 10:59:17', 0),
(101, 29, 4, 0, 0, 'D', 0.00, 0, 0, '2024-07-03 10:59:17', 1, '2024-07-03 10:59:17', 0, '2024-07-03 10:59:17', 0),
(102, 29, 3, 0, 0, 'M', 0.00, 0, 0, '2024-07-03 10:59:17', 1, '2024-07-03 10:59:17', 0, '2024-07-03 10:59:17', 0),
(103, 29, 3, 0, 0, 'N', 0.00, 0, 0, '2024-07-03 10:59:17', 1, '2024-07-03 10:59:17', 0, '2024-07-03 10:59:17', 0),
(104, 29, 2, 0, 0, 'O', 0.00, 0, 0, '2024-07-03 11:01:16', 1, '2024-07-03 11:01:16', 0, '2024-07-03 11:01:16', 0),
(105, 29, 2, 0, 0, 'P', 0.00, 0, 0, '2024-07-03 11:01:16', 1, '2024-07-03 11:01:16', 0, '2024-07-03 11:01:16', 0),
(106, 30, 4, 0, 0, 'c', 0.00, 0, 0, '2024-07-03 11:04:13', 1, '2024-07-03 11:04:13', 0, '2024-07-03 11:04:13', 0),
(107, 30, 4, 0, 0, 'd', 0.00, 0, 0, '2024-07-03 11:04:13', 1, '2024-07-03 11:04:13', 0, '2024-07-03 11:04:13', 0),
(108, 30, 2, 0, 0, 'g', 0.00, 0, 0, '2024-07-03 11:04:13', 1, '2024-07-03 11:04:13', 0, '2024-07-03 11:04:13', 0),
(109, 30, 2, 0, 0, 'h', 0.00, 0, 0, '2024-07-03 11:04:13', 1, '2024-07-03 11:04:13', 0, '2024-07-03 11:04:13', 0),
(110, 31, 4, 0, 0, '3', 0.00, 0, 0, '2024-07-03 11:36:27', 1, '2024-07-03 11:36:27', 0, '2024-07-03 11:36:27', 0),
(111, 31, 4, 0, 0, '4', 0.00, 0, 0, '2024-07-03 11:36:27', 1, '2024-07-03 11:36:27', 0, '2024-07-03 11:36:27', 0),
(112, 31, 2, 0, 0, '7', 0.00, 0, 0, '2024-07-03 11:36:27', 1, '2024-07-03 11:36:27', 0, '2024-07-03 11:36:27', 0),
(113, 31, 2, 0, 0, '8', 0.00, 0, 0, '2024-07-03 11:36:27', 1, '2024-07-03 11:36:27', 0, '2024-07-03 11:36:27', 0),
(114, 31, 3, 0, 0, '11', 0.00, 0, 0, '2024-07-03 11:36:27', 1, '2024-07-03 11:36:27', 0, '2024-07-03 11:36:27', 0),
(115, 31, 3, 0, 0, '12', 0.00, 0, 0, '2024-07-03 11:36:27', 1, '2024-07-03 11:36:27', 0, '2024-07-03 11:36:27', 0),
(120, 33, 2, 0, 0, 'B', 0.00, 0, 0, '2024-07-04 09:31:12', 1, '2024-07-04 09:31:12', 0, '2024-07-04 09:31:12', 0),
(121, 33, 3, 0, 0, 'B2', 0.00, 0, 0, '2024-07-04 09:31:12', 1, '2024-07-04 09:31:12', 0, '2024-07-04 09:31:12', 0),
(122, 34, 4, 0, 0, 'CC', 0.00, 0, 0, '2024-07-04 10:18:33', 1, '2024-07-04 10:18:33', 0, '2024-07-04 10:18:33', 1),
(123, 34, 4, 0, 0, 'DD', 0.00, 0, 0, '2024-07-04 10:18:33', 1, '2024-07-04 10:18:33', 0, '2024-07-04 10:18:33', 1),
(124, 34, 2, 0, 0, 'GG', 0.00, 0, 0, '2024-07-04 10:18:33', 1, '2024-07-04 10:18:33', 0, '2024-07-04 10:18:33', 1),
(125, 34, 2, 0, 0, 'HH', 0.00, 0, 0, '2024-07-04 10:18:33', 1, '2024-07-04 10:18:33', 0, '2024-07-04 10:18:33', 1),
(126, 35, 2, 0, 0, 'question2', 0.00, 0, 0, '2024-07-05 09:39:33', 1, '2024-07-05 09:39:33', 0, '2024-07-05 09:39:33', 1),
(127, 35, 3, 0, 0, 'demo2', 0.00, 0, 0, '2024-07-05 09:39:33', 1, '2024-07-05 09:39:33', 0, '2024-07-05 09:39:33', 1),
(128, 36, 4, 0, 0, 'C', 0.00, 0, 0, '2024-07-05 11:32:48', 1, '2024-07-05 11:32:48', 0, '2024-07-05 11:32:48', 1),
(129, 36, 4, 0, 0, 'D', 0.00, 0, 0, '2024-07-05 11:32:48', 1, '2024-07-05 11:32:48', 0, '2024-07-05 11:32:48', 1),
(130, 36, 2, 0, 0, 'G', 0.00, 0, 0, '2024-07-05 11:32:48', 1, '2024-07-05 11:32:48', 0, '2024-07-05 11:32:48', 1),
(131, 36, 2, 0, 0, 'H', 0.00, 0, 0, '2024-07-05 11:32:48', 1, '2024-07-05 11:32:48', 0, '2024-07-05 11:32:48', 1),
(132, 36, 3, 0, 0, 'K', 0.00, 0, 0, '2024-07-05 11:32:48', 1, '2024-07-05 11:32:48', 0, '2024-07-05 11:32:48', 1),
(133, 36, 3, 0, 0, 'L', 0.00, 0, 0, '2024-07-05 11:32:48', 1, '2024-07-05 11:32:48', 0, '2024-07-05 11:32:48', 1),
(134, 37, 4, 0, 0, 'C', 0.00, 0, 0, '2024-07-05 11:32:54', 1, '2024-07-05 11:32:54', 0, '2024-07-05 11:32:54', 1),
(135, 37, 4, 0, 0, 'D', 0.00, 0, 0, '2024-07-05 11:32:54', 1, '2024-07-05 11:32:54', 0, '2024-07-05 11:32:54', 1),
(136, 37, 2, 0, 0, 'G', 0.00, 0, 0, '2024-07-05 11:32:54', 1, '2024-07-05 11:32:54', 0, '2024-07-05 11:32:54', 1),
(137, 37, 2, 0, 0, 'H', 0.00, 0, 0, '2024-07-05 11:32:54', 1, '2024-07-05 11:32:54', 0, '2024-07-05 11:32:54', 1),
(138, 37, 3, 0, 0, 'K', 0.00, 0, 0, '2024-07-05 11:32:54', 1, '2024-07-05 11:32:54', 0, '2024-07-05 11:32:54', 1),
(139, 37, 3, 0, 0, 'L', 0.00, 0, 0, '2024-07-05 11:32:54', 1, '2024-07-05 11:32:54', 0, '2024-07-05 11:32:54', 1),
(140, 38, 4, 0, 0, 'CCCC', 0.00, 0, 0, '2024-07-05 12:17:49', 1, '2024-07-05 12:17:49', 0, '2024-07-05 12:17:49', 1),
(141, 38, 4, 0, 0, 'DDDD', 0.00, 0, 0, '2024-07-05 12:17:49', 1, '2024-07-05 12:17:49', 0, '2024-07-05 12:17:49', 1),
(142, 38, 3, 0, 0, 'GGGG', 0.00, 0, 0, '2024-07-05 12:17:49', 1, '2024-07-05 12:17:49', 0, '2024-07-05 12:17:49', 1),
(143, 38, 3, 0, 0, 'HHHH', 0.00, 0, 0, '2024-07-05 12:17:49', 1, '2024-07-05 12:17:49', 0, '2024-07-05 12:17:49', 1),
(144, 39, 4, 0, 0, '3', 0.00, 0, 0, '2024-07-05 12:23:54', 1, '2024-07-05 12:23:54', 0, '2024-07-05 12:23:54', 0),
(145, 39, 4, 0, 0, '4', 0.00, 0, 0, '2024-07-05 12:23:54', 1, '2024-07-05 12:23:54', 0, '2024-07-05 12:23:54', 0),
(146, 39, 2, 0, 0, '7', 0.00, 0, 0, '2024-07-05 12:23:54', 1, '2024-07-05 12:23:54', 0, '2024-07-05 12:23:54', 0),
(147, 39, 2, 0, 0, '8', 0.00, 0, 0, '2024-07-05 12:23:54', 1, '2024-07-05 12:23:54', 0, '2024-07-05 12:23:54', 0),
(148, 39, 3, 0, 0, '11', 0.00, 0, 0, '2024-07-05 12:23:54', 1, '2024-07-05 12:23:54', 0, '2024-07-05 12:23:54', 0),
(149, 39, 3, 0, 0, '12', 0.00, 0, 0, '2024-07-05 12:23:54', 1, '2024-07-05 12:23:54', 0, '2024-07-05 12:23:54', 0),
(150, 40, 2, 0, 0, 'eeee', 0.00, 0, 0, '2024-07-05 12:33:54', 1, '2024-07-05 12:33:54', 0, '2024-07-05 12:33:54', 0),
(151, 40, 2, 0, 0, 'ffff', 0.00, 0, 0, '2024-07-05 12:33:54', 1, '2024-07-05 12:33:54', 0, '2024-07-05 12:33:54', 0),
(152, 40, 6, 0, 0, 'gggg', 0.00, 0, 0, '2024-07-05 12:33:54', 1, '2024-07-05 12:33:54', 0, '2024-07-05 12:33:54', 0),
(153, 40, 6, 0, 0, 'hhhh', 0.00, 0, 0, '2024-07-05 12:33:54', 1, '2024-07-05 12:33:54', 0, '2024-07-05 12:33:54', 0),
(154, 41, 2, 0, 0, 'CQ1', 0.00, 0, 0, '2024-07-05 14:32:17', 1, '2024-07-05 14:32:17', 0, '2024-07-05 14:32:17', 0),
(155, 41, 3, 0, 0, 'CQ2', 0.00, 0, 0, '2024-07-05 14:32:17', 1, '2024-07-05 14:32:17', 0, '2024-07-05 14:32:17', 0),
(156, 42, 4, 0, 0, '33', 0.00, 0, 0, '2024-07-05 16:20:01', 1, '2024-07-05 16:20:01', 0, '2024-07-05 16:20:01', 0),
(157, 42, 4, 0, 0, '44', 0.00, 0, 0, '2024-07-05 16:20:01', 1, '2024-07-05 16:20:01', 0, '2024-07-05 16:20:01', 0),
(158, 42, 3, 0, 0, '77', 0.00, 0, 0, '2024-07-05 16:20:01', 1, '2024-07-05 16:20:01', 0, '2024-07-05 16:20:01', 0),
(159, 42, 3, 0, 0, '88', 0.00, 0, 0, '2024-07-05 16:20:01', 1, '2024-07-05 16:20:01', 0, '2024-07-05 16:20:01', 0),
(160, 43, 4, 0, 0, 'DEMO 2', 0.00, 0, 0, '2024-07-05 16:27:39', 1, '2024-07-05 16:27:39', 0, '2024-07-05 16:27:39', 0),
(161, 43, 3, 0, 0, 'DEMO 4', 0.00, 0, 0, '2024-07-05 16:27:39', 1, '2024-07-05 16:27:39', 0, '2024-07-05 16:27:39', 0),
(162, 44, 4, 0, 0, '1', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(163, 44, 4, 0, 0, '2', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(164, 44, 4, 0, 0, '3', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(165, 44, 4, 0, 0, '4', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(166, 44, 2, 0, 0, '15', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(167, 44, 2, 0, 0, '16', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(168, 44, 2, 0, 0, '17', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(169, 44, 3, 0, 0, '3333', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(170, 44, 3, 0, 0, '4444', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(171, 44, 3, 0, 0, '5555', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(172, 44, 3, 0, 0, '6666', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(173, 44, 3, 0, 0, '7777', 0.00, 0, 0, '2024-07-06 12:35:49', 1, '2024-07-06 12:35:49', 0, '2024-07-06 12:35:49', 0),
(174, 74, 2, 0, 0, 'demo1', 0.00, 0, 0, '2024-07-30 16:25:10', 1, '2024-07-30 16:25:10', 0, '2024-07-30 16:25:10', 0),
(175, 74, 3, 0, 0, 'demo2', 0.00, 0, 0, '2024-07-30 16:25:10', 1, '2024-07-30 16:25:10', 0, '2024-07-30 16:25:10', 0),
(176, 76, 2, 0, 0, 'royal', 0.00, 0, 0, '2024-08-08 13:08:57', 1, '2024-08-08 13:08:57', 0, '2024-08-08 13:08:57', 1),
(177, 76, 2, 0, 0, 'royal ji', 0.00, 0, 0, '2024-08-08 13:08:57', 1, '2024-08-08 13:08:57', 0, '2024-08-08 13:08:57', 1),
(180, 78, 4, 0, 0, 'Que2', 0.00, 0, 0, '2024-08-09 10:20:24', 1, '2024-08-09 10:20:24', 0, '2024-08-09 10:20:24', 0),
(181, 79, 2, 0, 0, 'commercial 1', 0.00, 0, 0, '2024-08-09 13:10:43', 1, '2024-08-09 13:10:43', 0, '2024-08-09 13:10:43', 0),
(182, 79, 2, 0, 0, 'Commercial 2', 0.00, 0, 0, '2024-08-09 13:10:43', 1, '2024-08-09 13:10:43', 0, '2024-08-09 13:10:43', 0),
(183, 80, 4, 0, 0, 'dfdhfdfg', 0.00, 0, 0, '2024-08-09 13:35:54', 1, '2024-08-09 13:35:54', 0, '2024-08-09 13:35:54', 0),
(184, 1, 2, 0, 0, 'Que2', 0.00, 0, 0, '2024-08-09 16:02:01', 1, '2024-08-09 16:02:01', 0, '2024-08-09 16:02:01', 0),
(185, 82, 2, 0, 0, 'Q2', 0.00, 0, 0, '2024-08-09 16:13:45', 1, '2024-08-09 16:13:45', 0, '2024-08-09 16:13:45', 0),
(186, 83, 2, 0, 0, 'comm 1', 0.00, 0, 0, '2024-08-09 17:13:09', 1, '2024-08-09 17:13:09', 0, '2024-08-09 17:13:09', 0),
(187, 84, 4, 0, 0, 'Q2', 0.00, 0, 0, '2024-08-09 18:03:57', 1, '2024-08-09 18:03:57', 0, '2024-08-09 18:03:57', 0),
(188, 85, 4, 0, 0, 'Raja', 0.00, 0, 0, '2024-08-12 11:56:35', 1, '2024-08-12 11:56:35', 0, '2024-08-12 11:56:35', 0),
(189, 86, 5, 0, 0, 'Price', 0.00, 0, 0, '2024-08-12 12:01:25', 1, '2024-08-12 12:01:25', 0, '2024-08-12 12:01:25', 0),
(190, 86, 5, 0, 0, 'Additional charges', 0.00, 0, 0, '2024-08-12 12:01:25', 1, '2024-08-12 12:01:25', 0, '2024-08-12 12:01:25', 0),
(191, 87, 1, 0, 0, 'Q2', 0.00, 0, 0, '2024-08-13 11:16:43', 1, '2024-08-13 11:16:43', 0, '2024-08-13 11:16:43', 0),
(192, 1, 8, 0, 0, '3333', 0.00, 0, 0, '2024-08-14 12:04:02', 1, '2024-08-14 12:04:02', 0, '2024-08-14 12:04:02', 0),
(193, 1, 8, 0, 0, '4444', 0.00, 0, 0, '2024-08-14 12:04:02', 1, '2024-08-14 12:04:02', 0, '2024-08-14 12:04:02', 0),
(194, 2, 8, 0, 0, 'H', 0.00, 0, 0, '2024-08-17 11:12:38', 1, '2024-08-17 11:12:38', 0, '2024-08-17 11:12:38', 0),
(195, 2, 8, 0, 0, 'e', 0.00, 0, 0, '2024-08-17 11:12:38', 1, '2024-08-17 11:12:38', 0, '2024-08-17 11:12:38', 0),
(196, 2, 8, 0, 0, 'H', 0.00, 0, 0, '2024-08-17 11:12:38', 1, '2024-08-17 11:12:38', 0, '2024-08-17 11:12:38', 0),
(197, 2, 8, 0, 0, 'e', 0.00, 0, 0, '2024-08-17 11:12:38', 1, '2024-08-17 11:12:38', 0, '2024-08-17 11:12:38', 0),
(198, 2, 8, 0, 0, 'H', 0.00, 0, 0, '2024-08-17 11:12:38', 1, '2024-08-17 11:12:38', 0, '2024-08-17 11:12:38', 0),
(199, 2, 8, 0, 0, 'e', 0.00, 0, 0, '2024-08-17 11:12:38', 1, '2024-08-17 11:12:38', 0, '2024-08-17 11:12:38', 0),
(200, 3, 6, 0, 0, 'H', 0.00, 0, 0, '2024-08-17 11:42:19', 1, '2024-08-17 11:42:19', 0, '2024-08-17 11:42:19', 0),
(201, 3, 6, 0, 0, 'U', 0.00, 0, 0, '2024-08-17 11:42:19', 1, '2024-08-17 11:42:19', 0, '2024-08-17 11:42:19', 0),
(202, 3, 6, 0, 0, 'H', 0.00, 0, 0, '2024-08-17 11:42:19', 1, '2024-08-17 11:42:19', 0, '2024-08-17 11:42:19', 0),
(203, 3, 6, 0, 0, 'U', 0.00, 0, 0, '2024-08-17 11:42:19', 1, '2024-08-17 11:42:19', 0, '2024-08-17 11:42:19', 0),
(364, 4, 5, 0, 0, 'que11', 0.00, 0, 0, '2024-08-17 12:38:37', 1, '2024-08-17 12:38:37', 0, '2024-08-17 12:38:37', 0),
(365, 4, 5, 0, 0, 'que 222', 0.00, 0, 0, '2024-08-17 12:38:37', 1, '2024-08-17 12:38:37', 0, '2024-08-17 12:38:37', 0),
(366, 5, 1, 0, 0, 'CCC', 0.00, 0, 0, '2024-08-17 16:24:47', 1, '2024-08-17 16:24:47', 0, '2024-08-17 16:24:47', 0),
(367, 5, 1, 0, 0, 'DDD', 0.00, 0, 0, '2024-08-17 16:24:47', 1, '2024-08-17 16:24:47', 0, '2024-08-17 16:24:47', 0),
(368, 11, 5, 0, 0, 'test 1', 0.00, 0, 0, '2024-08-19 12:33:03', 1, '2024-08-19 12:33:03', 0, '2024-08-19 12:33:03', 0),
(369, 11, 5, 0, 0, 'test 2', 0.00, 0, 0, '2024-08-19 12:33:03', 1, '2024-08-19 12:33:03', 0, '2024-08-19 12:33:03', 0),
(370, 13, 1, 0, 0, 'CCCCC', 0.00, 0, 0, '2024-08-19 16:13:30', 1, '2024-08-19 16:13:30', 0, '2024-08-19 16:13:30', 0),
(371, 13, 1, 0, 0, 'CCCCC2', 0.00, 0, 0, '2024-08-19 16:13:30', 1, '2024-08-19 16:13:30', 0, '2024-08-19 16:13:30', 0),
(372, 13, 8, 0, 0, 'CCC3', 0.00, 0, 0, '2024-08-19 16:13:30', 1, '2024-08-19 16:13:30', 0, '2024-08-19 16:13:30', 0),
(373, 13, 8, 0, 0, 'CCC4', 0.00, 0, 0, '2024-08-19 16:13:30', 1, '2024-08-19 16:13:30', 0, '2024-08-19 16:13:30', 0),
(374, 13, 5, 0, 0, 'CCC4', 0.00, 0, 0, '2024-08-19 16:13:30', 1, '2024-08-19 16:13:30', 0, '2024-08-19 16:13:30', 0),
(375, 13, 5, 0, 0, 'CCC5', 0.00, 0, 0, '2024-08-19 16:13:30', 1, '2024-08-19 16:13:30', 0, '2024-08-19 16:13:30', 0),
(376, 14, 1, 0, 0, 'Q2', 0.00, 0, 0, '2024-08-21 09:07:33', 1, '2024-08-21 09:07:33', 0, '2024-08-21 09:07:33', 0),
(377, 15, 1, 0, 0, 'C3', 0.00, 0, 0, '2024-08-21 12:00:44', 1, '2024-08-21 12:00:44', 0, '2024-08-21 12:00:44', 0),
(378, 15, 1, 0, 0, 'C4', 0.00, 0, 0, '2024-08-21 12:00:44', 1, '2024-08-21 12:00:44', 0, '2024-08-21 12:00:44', 0),
(379, 15, 6, 0, 0, 'C1', 0.00, 0, 0, '2024-08-21 12:00:44', 1, '2024-08-21 12:00:44', 0, '2024-08-21 12:00:44', 0),
(380, 15, 6, 0, 0, 'C2', 0.00, 0, 0, '2024-08-21 12:00:44', 1, '2024-08-21 12:00:44', 0, '2024-08-21 12:00:44', 0),
(381, 16, 1, 0, 0, 'C', 0.00, 0, 0, '2024-08-21 12:04:32', 1, '2024-08-21 12:04:32', 0, '2024-08-21 12:04:32', 0),
(382, 17, 5, 0, 0, 'Que2', 0.00, 0, 0, '2024-08-21 12:47:49', 1, '2024-08-21 12:47:49', 0, '2024-08-21 12:47:49', 0),
(383, 19, 1, 0, 0, 'Q2', 0.00, 0, 0, '2024-08-21 17:41:00', 1, '2024-08-21 17:41:00', 0, '2024-08-21 17:41:00', 0),
(384, 30, 1, 0, 0, 'Q33', 0.00, 0, 0, '2024-08-30 10:05:50', 1, '2024-08-30 10:05:50', 0, '2024-08-30 10:05:50', 0),
(385, 30, 1, 0, 0, 'Q44', 0.00, 0, 0, '2024-08-30 10:05:50', 1, '2024-08-30 10:05:50', 0, '2024-08-30 10:05:50', 0),
(386, 31, 1, 0, 0, 'C Question 1', 0.00, 0, 0, '2024-08-30 10:33:43', 1, '2024-08-30 10:33:43', 0, '2024-08-30 10:33:43', 0),
(387, 31, 1, 0, 0, 'C Question 2', 0.00, 0, 0, '2024-08-30 10:33:43', 1, '2024-08-30 10:33:43', 0, '2024-08-30 10:33:43', 0),
(388, 32, 2, 0, 0, 'CC33', 0.00, 0, 0, '2024-08-31 11:06:28', 1, '2024-08-31 11:06:28', 0, '2024-08-31 11:06:28', 0),
(389, 32, 2, 0, 0, 'C444', 0.00, 0, 0, '2024-08-31 11:06:28', 1, '2024-08-31 11:06:28', 0, '2024-08-31 11:06:28', 0),
(390, 32, 0, 0, 0, 'CCCCC1', 0.00, 0, 0, '2024-08-31 11:06:28', 1, '2024-08-31 11:06:28', 0, '2024-08-31 11:06:28', 0),
(391, 32, 0, 0, 0, 'CCCC2', 0.00, 0, 0, '2024-08-31 11:06:28', 1, '2024-08-31 11:06:28', 0, '2024-08-31 11:06:28', 0),
(392, 38, 0, 0, 0, 'efgh', 0.00, 0, 0, '2024-08-31 13:38:08', 1, '2024-08-31 13:38:08', 0, '2024-08-31 13:38:08', 1),
(393, 38, 0, 0, 0, 'ewd', 0.00, 0, 0, '2024-08-31 13:38:08', 1, '2024-08-31 13:38:08', 0, '2024-08-31 13:38:08', 1),
(394, 63, 0, 0, 0, 'cc11', 0.00, 0, 0, '2024-09-02 11:26:41', 34, '2024-09-02 11:26:41', 0, '2024-09-02 11:26:41', 0),
(395, 76, 1, 0, 0, 'C1', 0.00, 0, 0, '2024-09-02 18:42:36', 1, '2024-09-02 18:42:36', 0, '2024-09-02 18:42:36', 1),
(396, 76, 6, 0, 0, 'C2', 0.00, 0, 0, '2024-09-02 18:42:36', 1, '2024-09-02 18:42:36', 0, '2024-09-02 18:42:36', 1),
(397, 77, 1, 0, 0, 'C1', 0.00, 0, 0, '2024-09-02 18:42:38', 1, '2024-09-02 18:42:38', 0, '2024-09-02 18:42:38', 0),
(398, 77, 6, 0, 0, 'C2', 0.00, 0, 0, '2024-09-02 18:42:38', 1, '2024-09-02 18:42:38', 0, '2024-09-02 18:42:38', 0),
(401, 77, 2, 0, 0, 'CCC3', 0.00, 0, 0, '2024-09-02 18:51:41', 1, '2024-09-02 18:51:41', 0, '2024-09-02 18:51:41', 0),
(402, 79, 1, 0, 0, 'CQ1', 0.00, 0, 0, '2024-09-03 10:32:32', 1, '2024-09-03 10:32:32', 0, '2024-09-03 10:32:32', 0),
(403, 79, 1, 0, 0, 'CQ2', 0.00, 0, 0, '2024-09-03 10:32:32', 1, '2024-09-03 10:32:32', 0, '2024-09-03 10:32:32', 0),
(404, 79, 4, 0, 0, 'CQ3', 0.00, 0, 0, '2024-09-03 10:32:32', 1, '2024-09-03 10:32:32', 0, '2024-09-03 10:32:32', 0),
(405, 79, 4, 0, 0, 'CQ4', 0.00, 0, 0, '2024-09-03 10:32:32', 1, '2024-09-03 10:32:32', 0, '2024-09-03 10:32:32', 0),
(406, 79, 2, 0, 0, 'CQ5', 0.00, 0, 0, '2024-09-03 10:32:32', 1, '2024-09-03 10:32:32', 0, '2024-09-03 10:32:32', 0),
(407, 79, 2, 0, 0, 'CQ6', 0.00, 0, 0, '2024-09-03 10:32:32', 1, '2024-09-03 10:32:32', 0, '2024-09-03 10:32:32', 0),
(408, 81, 1, 0, 0, 'COMMERCIAL QUESTION 1', 0.00, 0, 0, '2024-09-05 17:53:19', 1, '2024-09-05 17:53:19', 0, '2024-09-05 17:53:19', 0),
(409, 81, 1, 0, 0, 'COMMERCIAL QUESTION 2', 0.00, 0, 0, '2024-09-05 17:53:19', 1, '2024-09-05 17:53:19', 0, '2024-09-05 17:53:19', 0),
(410, 80, 6, 0, 0, 'COMMERCIAL QUESTIONS 11', 0.00, 0, 0, '2024-09-06 09:28:08', 1, '2024-09-06 09:28:08', 0, '2024-09-06 09:28:08', 0),
(411, 80, 6, 0, 0, 'COMMERCIAL QUESTIONS 22', 0.00, 0, 0, '2024-09-06 09:28:08', 1, '2024-09-06 09:28:08', 0, '2024-09-06 09:28:08', 0),
(412, 80, 5, 0, 0, 'COMMERCIAL QUESTIONS 33', 0.00, 0, 0, '2024-09-06 09:28:08', 1, '2024-09-06 09:28:08', 0, '2024-09-06 09:28:08', 0),
(413, 80, 5, 0, 0, 'COMMERCIAL QUESTIONS 44', 0.00, 0, 0, '2024-09-06 09:28:08', 1, '2024-09-06 09:28:08', 0, '2024-09-06 09:28:08', 0),
(414, 81, 5, 0, 0, 'COMMERCIAL QUESTIONS 33', 0.00, 0, 0, '2024-09-06 11:42:40', 1, '2024-09-06 11:42:40', 0, '2024-09-06 11:42:40', 0),
(415, 81, 5, 0, 0, 'COMMERCIAL QUESTIONS 44', 0.00, 0, 0, '2024-09-06 11:42:40', 1, '2024-09-06 11:42:40', 0, '2024-09-06 11:42:40', 0),
(416, 82, 2, 0, 0, 'COMMERCIAL QUESTION 1', 0.00, 0, 0, '2024-09-06 12:48:32', 1, '2024-09-06 12:48:32', 0, '2024-09-06 12:48:32', 0),
(417, 82, 2, 0, 0, 'COMMERCIAL QUESTION 2', 0.00, 0, 0, '2024-09-06 12:48:32', 1, '2024-09-06 12:48:32', 0, '2024-09-06 12:48:32', 0),
(418, 82, 4, 0, 0, 'COMMERCIAL QUESTION 3', 0.00, 0, 0, '2024-09-06 12:48:32', 1, '2024-09-06 12:48:32', 0, '2024-09-06 12:48:32', 0),
(419, 82, 4, 0, 0, 'COMMERCIAL QUESTION 4', 0.00, 0, 0, '2024-09-06 12:48:32', 1, '2024-09-06 12:48:32', 0, '2024-09-06 12:48:32', 0),
(420, 82, 5, 0, 0, 'COMMERCIAL QUESTION 5', 0.00, 0, 0, '2024-09-06 12:48:32', 1, '2024-09-06 12:48:32', 0, '2024-09-06 12:48:32', 0),
(421, 82, 5, 0, 0, ' COMMERCIAL QUESTION 6', 0.00, 0, 0, '2024-09-06 12:48:32', 1, '2024-09-06 12:48:32', 0, '2024-09-06 12:48:32', 0),
(422, 83, 1, 0, 0, 'CQ1', 0.00, 0, 0, '2024-09-06 16:00:01', 1, '2024-09-06 16:00:01', 0, '2024-09-06 16:00:01', 0),
(423, 83, 1, 0, 0, 'CQ2', 0.00, 0, 0, '2024-09-06 16:00:01', 1, '2024-09-06 16:00:01', 0, '2024-09-06 16:00:01', 0),
(424, 83, 4, 0, 0, 'CQ3', 0.00, 0, 0, '2024-09-06 16:00:01', 1, '2024-09-06 16:00:01', 0, '2024-09-06 16:00:01', 0),
(425, 83, 4, 0, 0, 'CQ4', 0.00, 0, 0, '2024-09-06 16:00:01', 1, '2024-09-06 16:00:01', 0, '2024-09-06 16:00:01', 0),
(426, 84, 1, 0, 0, 'COMMERCIAL QUESTIONS 1', 0.00, 0, 0, '2024-09-10 11:49:19', 1, '2024-09-10 11:49:19', 0, '2024-09-10 11:49:19', 0),
(427, 84, 1, 0, 0, 'COMMERCIAL QUESTIONS 2', 0.00, 0, 0, '2024-09-10 11:49:19', 1, '2024-09-10 11:49:19', 0, '2024-09-10 11:49:19', 0),
(428, 84, 6, 0, 0, 'COMMERCIAL QUESTIONS 3', 0.00, 0, 0, '2024-09-10 11:49:19', 1, '2024-09-10 11:49:19', 0, '2024-09-10 11:49:19', 0),
(429, 84, 6, 0, 0, 'COMMERCIAL QUESTIONS 4', 0.00, 0, 0, '2024-09-10 11:49:19', 1, '2024-09-10 11:49:19', 0, '2024-09-10 11:49:19', 0),
(430, 84, 4, 0, 0, 'COMMERCIAL QUESTIONS 5', 0.00, 0, 0, '2024-09-10 11:49:19', 1, '2024-09-10 11:49:19', 0, '2024-09-10 11:49:19', 0),
(431, 84, 4, 0, 0, 'COMMERCIAL QUESTIONS 6', 0.00, 0, 0, '2024-09-10 11:49:19', 1, '2024-09-10 11:49:19', 0, '2024-09-10 11:49:19', 0),
(432, 84, 7, 0, 0, 'COMMERCIAL QUESTIONS 7', 0.00, 0, 0, '2024-09-10 12:24:37', 1, '2024-09-10 12:24:37', 0, '2024-09-10 12:24:37', 0),
(433, 84, 7, 0, 0, 'COMMERCIAL QUESTIONS 8', 0.00, 0, 0, '2024-09-10 12:24:37', 1, '2024-09-10 12:24:37', 0, '2024-09-10 12:24:37', 0),
(434, 85, 4, 0, 0, 'CQ1', 0.00, 0, 0, '2024-09-10 17:14:53', 1, '2024-09-10 17:14:53', 0, '2024-09-10 17:14:53', 0),
(435, 85, 4, 0, 0, 'CQ2', 0.00, 0, 0, '2024-09-10 17:14:53', 1, '2024-09-10 17:14:53', 0, '2024-09-10 17:14:53', 0),
(436, 85, 5, 0, 0, 'CQ3', 0.00, 0, 0, '2024-09-10 17:14:53', 1, '2024-09-10 17:14:53', 0, '2024-09-10 17:14:53', 0),
(437, 85, 5, 0, 0, 'CQ4', 0.00, 0, 0, '2024-09-10 17:14:53', 1, '2024-09-10 17:14:53', 0, '2024-09-10 17:14:53', 0),
(438, 86, 5, 0, 0, 'Total Price', 0.00, 0, 0, '2024-09-11 12:25:29', 1, '2024-09-11 12:25:29', 0, '2024-09-11 12:25:29', 0),
(439, 86, 5, 0, 0, 'Warranty Provided?', 0.00, 0, 0, '2024-09-11 12:25:29', 1, '2024-09-11 12:25:29', 0, '2024-09-11 12:25:29', 0),
(444, 87, 2, 0, 0, 'CQ1', 0.00, 0, 0, '2024-09-16 13:59:46', 1, '2024-09-16 13:59:46', 0, '2024-09-16 13:59:46', 0),
(445, 87, 5, 0, 0, 'CQ2', 0.00, 0, 0, '2024-09-16 13:59:46', 1, '2024-09-16 13:59:46', 0, '2024-09-16 13:59:46', 0),
(446, 89, 4, 0, 0, 'CQ1', 0.00, 0, 0, '2024-09-19 16:30:05', 1, '2024-09-19 16:30:05', 0, '2024-09-19 16:30:05', 0),
(447, 89, 4, 0, 0, 'CQ2', 0.00, 0, 0, '2024-09-19 16:30:05', 1, '2024-09-19 16:30:05', 0, '2024-09-19 16:30:05', 0),
(448, 89, 1, 0, 0, 'CQ3', 0.00, 0, 0, '2024-09-19 16:30:05', 1, '2024-09-19 16:30:05', 0, '2024-09-19 16:30:05', 0),
(449, 89, 1, 0, 0, 'CQ4', 0.00, 0, 0, '2024-09-19 16:30:05', 1, '2024-09-19 16:30:05', 0, '2024-09-19 16:30:05', 0),
(450, 89, 2, 0, 0, 'CQ5', 0.00, 0, 0, '2024-09-19 16:30:05', 1, '2024-09-19 16:30:05', 0, '2024-09-19 16:30:05', 0),
(451, 89, 2, 0, 0, 'CQ6', 0.00, 0, 0, '2024-09-19 16:30:05', 1, '2024-09-19 16:30:05', 0, '2024-09-19 16:30:05', 0),
(452, 90, 5, 0, 0, 'COMMERCIAL QUESTION 1', 0.00, 0, 0, '2024-09-19 16:34:20', 1, '2024-09-19 16:34:20', 0, '2024-09-19 16:34:20', 0),
(453, 90, 5, 0, 0, 'COMMERCIAL QUESTION 2', 0.00, 0, 0, '2024-09-19 16:34:20', 1, '2024-09-19 16:34:20', 0, '2024-09-19 16:34:20', 0),
(454, 90, 1, 0, 0, 'COMMERCIAL QUESTION 3', 0.00, 0, 0, '2024-09-19 16:34:20', 1, '2024-09-19 16:34:20', 0, '2024-09-19 16:34:20', 0),
(455, 90, 1, 0, 0, 'COMMERCIAL QUESTION 4', 0.00, 0, 0, '2024-09-19 16:34:20', 1, '2024-09-19 16:34:20', 0, '2024-09-19 16:34:20', 0),
(456, 91, 11, 0, 0, 'How is the price determined', 0.00, 0, 0, '2024-09-20 12:34:44', 1, '2024-09-20 12:34:44', 0, '2024-09-20 12:34:44', 0),
(457, 91, 11, 0, 0, 'Do you offer any flexibility in payment schedules for larger orders?', 0.00, 0, 0, '2024-09-20 12:34:44', 1, '2024-09-20 12:34:44', 0, '2024-09-20 12:34:44', 0),
(458, 91, 9, 0, 0, 'Who is responsible for transportation, insurance, and handling charges?', 0.00, 0, 0, '2024-09-20 12:34:44', 1, '2024-09-20 12:34:44', 0, '2024-09-20 12:34:44', 0),
(459, 91, 9, 0, 0, 'What are the shipping options, and what are the associated costs', 0.00, 0, 0, '2024-09-20 12:34:44', 1, '2024-09-20 12:34:44', 0, '2024-09-20 12:34:44', 0),
(460, 92, 1, 0, 0, 'C1', 0.00, 0, 0, '2024-09-20 16:45:49', 1, '2024-09-20 16:45:49', 0, '2024-09-20 16:45:49', 0),
(461, 92, 4, 0, 0, 'C2', 0.00, 0, 0, '2024-09-20 16:45:49', 1, '2024-09-20 16:45:49', 0, '2024-09-20 16:45:49', 0),
(462, 105, 1, 0, 0, ',,', 0.00, 0, 0, '2024-10-19 17:53:20', 1, '2024-10-19 17:53:20', 0, '2024-10-19 17:53:20', 0),
(463, 106, 5, 0, 0, 'uu', 0.00, 0, 0, '2024-10-21 18:01:45', 1, '2024-10-21 18:01:45', 0, '2024-10-21 18:01:45', 0),
(464, 107, 5, 0, 0, 'oooo', 0.00, 0, 0, '2024-10-23 14:13:10', 1, '2024-10-23 14:13:10', 0, '2024-10-23 14:13:10', 0),
(465, 108, 1, 0, 0, 'Q4', 0.00, 0, 0, '2024-10-24 17:21:21', 1, '2024-10-24 17:21:21', 0, '2024-10-24 17:21:21', 0),
(466, 108, 1, 0, 0, 'Q5', 0.00, 0, 0, '2024-10-24 17:21:21', 1, '2024-10-24 17:21:21', 0, '2024-10-24 17:21:21', 0),
(467, 108, 2, 0, 0, 'Q8', 0.00, 0, 0, '2024-10-24 17:21:21', 1, '2024-10-24 17:21:21', 0, '2024-10-24 17:21:21', 0),
(468, 108, 2, 0, 0, 'Q9', 0.00, 0, 0, '2024-10-24 17:21:21', 1, '2024-10-24 17:21:21', 0, '2024-10-24 17:21:21', 0),
(469, 109, 4, 0, 0, 'What is the pricing ', 0.00, 0, 0, '2024-10-24 17:29:39', 1, '2024-10-24 17:29:39', 0, '2024-10-24 17:29:39', 0),
(470, 109, 4, 0, 0, 'What warranty do you provide for the metal?', 0.00, 0, 0, '2024-10-24 17:29:39', 1, '2024-10-24 17:29:39', 0, '2024-10-24 17:29:39', 0),
(471, 109, 5, 0, 0, 'What is the pricing structure,', 0.00, 0, 0, '2024-10-24 17:29:39', 1, '2024-10-24 17:29:39', 0, '2024-10-24 17:29:39', 0),
(472, 110, 5, 0, 0, 'fhghghghgh', 0.00, 0, 0, '2024-10-25 17:50:43', 1, '2024-10-25 17:50:43', 0, '2024-10-25 17:50:43', 0),
(473, 110, 4, 0, 0, 'gggghthgt', 0.00, 0, 0, '2024-10-25 17:50:43', 1, '2024-10-25 17:50:43', 0, '2024-10-25 17:50:43', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_company`
--

CREATE TABLE `mm_company` (
  `company_id` int(11) NOT NULL,
  `company_name` text,
  `owner_name` text,
  `address_one` text,
  `address_two` varchar(100) DEFAULT NULL,
  `city` text,
  `state` text,
  `pin_code` int(11) DEFAULT '0',
  `pan_no` varchar(40) DEFAULT NULL,
  `gst_no` varchar(100) DEFAULT NULL,
  `cin` varchar(40) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `contact` int(11) NOT NULL DEFAULT '0',
  `website` varchar(100) DEFAULT NULL,
  `type_of_business` varchar(100) DEFAULT NULL,
  `description_of_company` varchar(200) DEFAULT NULL,
  `no_of_units` int(11) NOT NULL DEFAULT '0',
  `spoc_name` varchar(50) DEFAULT NULL,
  `spoc_mob` int(11) NOT NULL DEFAULT '0',
  `spoc_email` varchar(100) DEFAULT NULL,
  `spoc_designation` varchar(250) NOT NULL,
  `created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` text,
  `updated_date` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
  `updated_by` text,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_company`
--

INSERT INTO `mm_company` (`company_id`, `company_name`, `owner_name`, `address_one`, `address_two`, `city`, `state`, `pin_code`, `pan_no`, `gst_no`, `cin`, `email`, `contact`, `website`, `type_of_business`, `description_of_company`, `no_of_units`, `spoc_name`, `spoc_mob`, `spoc_email`, `spoc_designation`, `created_date`, `created_by`, `updated_date`, `updated_by`, `is_delete`) VALUES
(1, 'Company A  ', 'Larry and sergey ', 'california', 'Palo alto', '', '', 345345, '52525', '424', '23525', 'test@gmail.com', 525252, '', '', '', 0, 'Larry', 2147483647, '', '', '2024-06-12 14:59:03', '', '2024-06-12 14:59:03.168043', NULL, 0),
(3, 'Company B  (BDE)', 'Priyanka ', 'Opal Square IT Park', 'Thane', 'Mumbai', 'Maharashtra', 400604, 'ABCDE1234F', 'ABCD1234567AA', 'AAAAAA', 'salasar_123@gmail.com', 2147483647, 'www.salasar.com', 'Salasar Pvt Ltd.', 'tetsing okm ', 5, 'Priyanka ', 2147483647, 'priyanka.kulkarni@salasarauction.com', 'Tester', '2024-06-12 18:08:02', '', '2024-06-12 18:08:02.546490', '', 0),
(4, 'Bhagyashri PVT LTD (Testing)', 'Bhagyashri Patil', 'Airoli', 'Thane ', 'Mumbai', 'Maharashtra', 400602, 'GFH1122KK', '09AAACH7409R1ZZ', 'sgh24567', 'bhagyashri.patil@salasarauction.com', 2147483647, 'https: mm.aonesalasar.com/', 'Manufacturer', '', 0, 'Bhagyashri Patil', 2147483647, '', '', '2024-06-13 14:02:09', '', '2024-06-13 14:02:09.145333', NULL, 0),
(5, 'Priyanka Kulakrni ', 'Priyanka ', 'Thane', 'Mulund', 'Mumbai', 'Maharashtra', 400604, 'ABCDE1234F', 'ABCD1234567AA11', 'AAAAAABBBB', 'salasar_123@gmail.com', 2147483647, 'www.poojasteels.com', 'Salasar Pvt Ltd.', 'sdgSDgSdgsdg', 111, 'Priyanka ', 2147483647, 'priyanka.kulkarni@salasarauction.com', 'Software Tester', '2024-06-17 12:59:13', '', '2024-06-17 12:59:13.797531', NULL, 0),
(6, 'Trimurthi_Traders', 'Sachin Shinde', 'Thane West , Wagle Estate', 'Thane West , Wagle Estate', 'Thane', 'Maharashtra', 400604, 'PAN0014628', 'GSTN00112', 'CIN009', 'sachinshindepatilroyal007@gmail.com', 2147483647, 'trimurthi.com', 'Dry Fruits', 'Huge Level of Dry Fruits Sale', 10, 'Sachin Shinde', 2147483647, 'sachinshindepatilroyal007@gmail.com', 'CEO', '2024-06-17 17:53:37', '', '2024-06-17 17:53:37.502389', NULL, 0),
(9, 'Neeraj Pvt Ltd', 'Neeraj Chaudhary ', 'Parel ', 'Mumbai ', 'Mumbai ', 'Maharashtra', 400602, 'ABCDE01234FGH', '09AAACH7409R1ZZ', 'sgh24567', 'neeraj.chaudhary@salasarauction.com', 2147483647, 'https: mm.aonesalasar.com/company/masters/Company/index', 'Manufacturer', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 1, 'Bhagyashri Patil', 2147483647, 'bhagyashri.patil@salasarauction.com', 'Test ', '2024-06-29 10:13:41', '', '2024-06-29 10:13:41.544111', '', 0),
(10, 'SURAJ PVT LTD 1', 'Suraj Yadav', 'Opal Square, Thane West, Mumbai ', 'Mumbai 400604 ', 'Mumbai', 'Maharashtra', 400604, 'GFH1122KK', '09AAACH7409R1ZZ', 'sgh24567', 'bhagyashri.patil@salasarauction.com', 2147483647, 'https: mm.aonesalasar.com/', 'Manufacturer', 'Materials management uses inventories and production requirements for planning and control to ensure materials are available as required to meet production schedules. This material planning includes m', 1, 'Suraj Yadav ', 2147483647, 'suraj.yadav@salasarauction.com', 'Test 111', '2024-07-08 12:14:23', '', '2024-07-08 12:14:23.276119', '', 0),
(11, 'demo company', 'Arun nimma', 'sion', 'thane', 'sion', 'maharashtra', 400607, 'Bk54Jk001', 'GST001', 'C001', 'Arun@gmail.com', 2147483647, '', '', '', 0, 'arun ', 2147483647, '', '', '2024-09-02 14:52:23', '', '2024-09-02 14:52:23.273443', '', 0),
(19, 'TESTING COMPANY', 'Demo Person', 'Thane', 'Thane ', 'Mumbai ', 'Maharashtra', 400604, 'ABCDE01234FGH', '09AAACH7409R1ZZ', 'abcd012345e', 'ABCD@salasarauction.com', 1234567890, 'https: mm.aonesalasar.com/', 'Manufacturer', 'aaaaaaaa bbbbbbbbbbbbb ccccccccccc dddddddd', 1, 'Demo Person ', 1234567890, 'ABCD123@gmail.com', 'Test ', '2024-09-25 16:25:45', '', '2024-09-25 16:25:45.610879', NULL, 0),
(20, 'ABC LTD', 'Ashok', 'Plot No 8, 1-2, Vithal Udyognagar, GIDC Main road , Anand, Gujarat 388121', 'Anand Nagar', 'Anand', 'Gujarat', 388121, 'ADZPY125456k', '27AAAJS1679K1ZL', '12541521236411452165', 'purchase@abc.com', 2147483647, '', '', '', 0, ' Askok', 2147483647, '', '', '2024-10-24 09:59:05', '', '2024-10-24 09:59:05.110187', NULL, 0),
(21, 'ABCC pvt ltd', 'Dinesh', 'Near aarey check Naka', 'Anand Nagar', 'Goregaon East', 'Maharashtra', 400065, 'ADZPY125456k', '27AAAJS1679K1ZL', '12541521236411452165', 'Redevelopment@doodhsagar.in', 2147483647, 'https: www.bajajfinserv.in/private-limited-company-explained', 'Steel Plant', 'Manufacturer of steel.', 3, 'Dinesh', 2147483647, 'Dinesh21@gmail.com', 'VP', '2024-12-18 09:59:18', '', '2024-12-18 09:59:18.286050', NULL, 0),
(22, 'Megha', 'Megha', 'Mumbai', 'fgghj', 'Mumbai', 'Maharashtra', 400078, 'DJSHDSJDJS', 'adsdffffsffdfsfd', 'fdsfds', 'megha.saboo@salasarauction.com', 2147483647, '', '', '', 0, 'Megha', 2147483647, '', '', '2025-02-19 16:09:04', '', '2025-02-19 16:09:04.702838', NULL, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_company_budget`
--

CREATE TABLE `mm_company_budget` (
  `company_budget_id` int(11) NOT NULL,
  `company_budget` varchar(100) NOT NULL,
  `financial_year` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_company_budget`
--

INSERT INTO `mm_company_budget` (`company_budget_id`, `company_budget`, `financial_year`) VALUES
(1, '2500000', '2023-2024'),
(2, '1000000', '2024-25'),
(3, '2000000', '2024-25'),
(4, '2000000', '2024-25'),
(5, '3500000', '2024-25'),
(6, '2000000', ''),
(7, '3500000', '2024-25'),
(8, '', ''),
(9, '3500000', '2024-25');

-- --------------------------------------------------------

--
-- Table structure for table `mm_contact_person`
--

CREATE TABLE `mm_contact_person` (
  `contact_person_id` int(11) NOT NULL,
  `cmp_id` int(11) DEFAULT NULL,
  `plant_id` int(11) DEFAULT NULL,
  `c_name` varchar(255) NOT NULL,
  `c_number` varchar(20) NOT NULL,
  `c_email` varchar(100) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_contact_person`
--

INSERT INTO `mm_contact_person` (`contact_person_id`, `cmp_id`, `plant_id`, `c_name`, `c_number`, `c_email`, `created_on`, `created_by`, `updated_on`, `updated_by`, `is_delete`) VALUES
(1, NULL, 1, 'Priyanka', '9987512422', 'priyanka.kulkarni@salasarauction.com', '2024-06-14 09:44:08', 0, '2024-06-14 09:44:08', 1, 1),
(2, 1, 2, 'Bhagyashri', '7887557950', 'bhagyashri.patil@salasarauction.com', '2024-06-14 09:45:09', 0, '2024-06-14 09:45:09', 1, 1),
(3, NULL, 3, 'sasasa', '4354633', 'salasar@gmail.com', '2024-06-14 09:47:12', 0, '2024-06-14 09:47:12', 1, 0),
(4, NULL, NULL, 'Pooja ', '9874652122', 'pooja.vishwakarma@salasarauction.com', '2024-06-14 09:47:28', 1, '2024-06-14 09:47:28', 1, 0),
(7, 1, 6, 'neeraj', '02585463458', 'suraj.yadav@salasarauction.com', '2024-06-14 09:53:58', 0, '2024-06-14 09:53:58', 1, 0),
(8, NULL, 7, 'neeraj', '02585463458', 'suraj.yadav@salasarauction.com', '2024-06-14 09:54:42', 0, '2024-06-14 09:54:42', 1, 1),
(9, NULL, 8, 'yd', '987654321', 'yr@21.com', '2024-06-14 10:04:05', 0, '2024-06-14 10:04:05', 1, 1),
(10, 0, NULL, 'yogesh', '123456789', 'ysd.123@email.com', '2024-06-14 10:05:04', 1, '2024-06-14 10:05:04', 1, 0),
(11, 1, 17, 'Bhagyashri Patil ', '70581026165', 'bhagyashri.patil@salasarauction.com', '2024-06-14 12:18:52', 1, '2024-06-14 12:18:52', 1, 0),
(12, 0, 17, 'test', '5464654654', 'test@gmail.com', '2024-06-14 16:34:15', 0, '2024-06-14 16:34:15', 1, 0),
(13, 0, 18, 'yd', '987654321', 'yd.123@email.com', '2024-06-15 09:36:22', 0, '2024-06-15 09:36:22', 1, 1),
(14, 0, 19, 'Pooja 11', '8574963210', 'pooja.vishwakarma@salasarauction.com', '2024-06-15 15:10:29', 0, '2024-06-15 15:10:29', 1, 0),
(15, 0, NULL, 'Bhagyashri', '09874652130', 'salasar_123@gmail.com', '2024-06-15 15:10:43', 1, '2024-06-15 15:10:43', 0, 0),
(16, 1, NULL, 'DEMO PERSON ', '1234567890', 'demoperson@gmail.com', '2024-06-15 15:11:09', 1, '2024-06-15 15:11:09', 1, 0),
(17, 0, NULL, 'Priyanka 11', '7874652130', 'salasar_123@gmail.com', '2024-06-15 15:52:51', 1, '2024-06-15 15:52:51', 0, 0),
(18, 0, NULL, 'Priyanka ', '09874652130', 'salasar_123@gmail.com', '2024-06-17 09:43:23', 1, '2024-06-17 09:43:23', 0, 0),
(19, 0, NULL, 'Sam', '94742834088', 'sam56712000@gmail.com', '2024-06-17 11:59:43', 1, '2024-06-17 11:59:43', 0, 1),
(20, 1, NULL, 'Sachin', '9834130012', 'sachinshindepatilroyal007@gmail.com', '2024-06-17 12:05:48', 1, '2024-06-17 12:05:48', 1, 0),
(21, 1, NULL, 'Paul Wolker', '897843213465', 'john45@gmail.com', '2024-06-17 12:21:28', 1, '2024-06-17 12:21:28', 1, 1),
(22, 1, NULL, 'Pooja 232435', '09874652130', 'tuth3@gmail.com', '2024-06-17 12:45:44', 1, '2024-06-17 12:45:44', 1, 1),
(23, 0, NULL, 'erwerw', '9654857874', 'salasar_1993@gmail.com', '2024-06-17 12:46:32', 1, '2024-06-17 12:46:32', 0, 0),
(24, 0, NULL, 'zsfgdzfh', '09874652130', 'prgfhdfgd12@gmail.com', '2024-06-17 12:46:49', 1, '2024-06-17 12:46:49', 0, 0),
(25, 0, 20, 'Sachin', '9834130012', 'sachinshindepatilroyal007@gmail.com', '2024-06-17 17:58:06', 0, '2024-06-17 17:58:06', 1, 0),
(26, 0, 21, 'Pooja 11324', 'setgsretw', 'srgtsrdf', '2024-06-18 17:25:43', 0, '2024-06-18 17:25:43', 1, 0),
(27, 0, 22, 'Pooja 232435', '09874652130', 'tuth3@gmail.com', '2024-06-18 17:27:08', 0, '2024-06-18 17:27:08', 1, 0),
(28, 0, 23, 'Mukesh', '458452156', 'mukesh345@gmail.com', '2024-06-18 18:40:05', 0, '2024-06-18 18:40:05', 1, 0),
(29, 0, 24, 'dasdas', 'asdasd', 'asdasdas', '2024-06-18 18:55:14', 1, '2024-06-18 18:55:14', 0, 0),
(30, 1, 25, 'Sam', '456521456', 'sam456@gmail.com', '2024-06-19 11:13:24', 1, '2024-06-19 11:13:24', 0, 0),
(31, 6, 26, 'Mohan', '7845213654', 'mohan456@gmail.com', '2024-06-19 11:15:59', 26, '2024-06-19 11:15:59', 0, 0),
(44, 1, 1, 'Sachin Shinde', '9834130012', 'sachinshindepatilroyal007@gmail.com', '2024-06-25 14:14:36', 1, '2024-06-25 14:14:36', 0, 1),
(45, 1, 2, 'Jerry', '8080737805', 'sachinshindepatilroyal007@gmail.com', '2024-06-25 14:15:16', 1, '2024-06-25 14:15:16', 0, 1),
(46, 1, 3, 'Ben', '8978987679', 'ben345@gmail.com', '2024-06-26 16:07:21', 1, '2024-06-26 16:07:21', 0, 0),
(47, 1, 4, 'Bhagyashri Patil', '7887557950', 'bhagyashri.patil@salasarauction.com', '2024-06-29 12:01:01', 1, '2024-06-29 12:01:01', 0, 0),
(48, 1, 5, 'Priyanka Kulkarni ', '7887557950', 'priyanka.kulkarni @salasarauction.com', '2024-06-29 12:37:20', 1, '2024-06-29 12:37:20', 0, 0),
(55, 0, 5, 'Bhagyashri Patil', '7887557950', 'bhagyashri.patil@salasarauction.com', '2024-07-01 13:21:37', 1, '2024-07-01 13:21:37', 0, 1),
(57, 1, 6, 'Bhagyashri Patil ', '7887557950 ', 'bhagyashri.patil@salasarauction.com ', '2024-07-08 12:18:35', 1, '2024-07-08 12:18:35', 0, 0),
(58, 1, 6, 'Suraj Yadav ', '12345678910 ', 'suraj.yadav@salasarauction.com', '2024-07-08 12:19:31', 1, '2024-07-08 12:19:31', 1, 0),
(59, 0, 11, 'Bhagyashri Patil ', '70581026165', 'bhagyashri.patil@salasarauction.com', '2024-08-14 10:04:40', 1, '2024-08-14 10:04:40', 1, 1),
(60, 0, 11, 'Bhagyashri Patil ', '70581026165', 'bhagyashri.patil@salasarauction.com', '2024-08-14 10:05:14', 1, '2024-08-14 10:05:14', 1, 1),
(61, 0, 11, 'Bhagyashri Patil ', '70581026165', 'bhagyashri.patil@salasarauction.com', '2024-08-22 12:26:31', 1, '2024-08-22 12:26:31', 1, 1),
(62, 0, 11, 'Bhagyashri Patil ', '70581026165', 'bhagyashri.patil@salasarauction.com', '2024-08-30 09:42:50', 1, '2024-08-30 09:42:50', 1, 1),
(63, 0, 11, 'Bhagyashri Patil ', '70581026165', 'bhagyashri.patil@salasarauction.com', '2024-08-31 10:09:18', 1, '2024-08-31 10:09:18', 1, 1),
(64, 0, 11, 'Bhagyashri Patil ', '70581026165', 'bhagyashri.patil@salasarauction.com', '2024-09-02 14:53:24', 1, '2024-09-02 14:53:24', 1, 1),
(65, 1, 12, 'yd', '987654321', 'yd.123@email.com', '2024-09-20 11:42:28', 1, '2024-09-20 11:42:28', 0, 1),
(66, 1, 13, 'test 321', '9638525622', 'AAAA@gmail.com', '2024-09-20 13:47:30', 1, '2024-09-20 13:47:30', 0, 1),
(67, 4, 14, 'Yash Desai', '12345667899', 'YD1234@gmail.com', '2024-09-23 13:28:49', 3, '2024-09-23 13:28:49', 0, 1),
(68, 4, 15, '121212', '1121212', 'Yash@salasarauction.com', '2024-09-23 14:40:00', 1, '2024-09-23 14:40:00', 0, 1),
(70, 1, 16, 'DEMO PERSON ', '1234567890', 'demoperson@gmail.com', '2024-09-25 17:52:18', 1, '2024-09-25 17:52:18', 0, 0),
(106, 0, 16, 'DEMO PERSON 2', '7777888899', 'demoperson2@gmail.com', '2024-09-25 18:03:29', 1, '2024-09-25 18:03:29', 0, 0),
(107, 1, 17, 'Megha Saboo', '07400050342', 'megha.saboo@salasarauction.com', '2025-02-19 16:10:16', 1, '2025-02-19 16:10:16', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_currency`
--

CREATE TABLE `mm_currency` (
  `currency_id` int(11) NOT NULL,
  `currency_code` varchar(500) DEFAULT NULL,
  `currency_name` varchar(500) DEFAULT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_currency`
--

INSERT INTO `mm_currency` (`currency_id`, `currency_code`, `currency_name`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, '4001', 'INR', 1, '2024-05-04 14:40:26', 0, '2024-05-04 14:40:26', 0),
(3, '4002', 'USD', 1, '2024-05-04 16:05:19', 0, '2024-05-04 16:05:19', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_department`
--

CREATE TABLE `mm_department` (
  `department_id` int(11) NOT NULL,
  `plant_id` varchar(255) NOT NULL,
  `division_code` varchar(255) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `sub_division_code` varchar(255) NOT NULL,
  `department_code` varchar(255) NOT NULL,
  `department_name` varchar(255) NOT NULL,
  `department_budget` varchar(100) NOT NULL,
  `otb_budget` int(11) NOT NULL,
  `otb_budget_percentage` varchar(11) NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_department`
--

INSERT INTO `mm_department` (`department_id`, `plant_id`, `division_code`, `cmp_id`, `sub_division_code`, `department_code`, `department_name`, `department_budget`, `otb_budget`, `otb_budget_percentage`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, '1', '1', 1, '1', 'DEPT001', 'Special Unit', '5000', 0, '', 1, '2024-06-28 17:28:16', 0, '2024-06-28 17:28:16', 1),
(2, '1', '1', 1, '1', 'DEPT002', 'Special Unit Army', '', 0, '', 1, '2024-06-28 17:28:34', 0, '2024-06-28 17:28:34', 1),
(3, 'PLT002', '3', 1, '5', 'DEPT001', 'IT', '1000', 0, '', 1, '2024-06-28 17:29:40', 0, '2024-06-28 17:29:40', 0),
(4, 'PLT002', '3', 1, '5', 'DEPT002', 'Data Analyst', '2000', 0, '', 1, '2024-06-28 17:30:03', 0, '2024-06-28 17:30:03', 0),
(5, '1', '1', 1, '1', 'DEPT003', 'IT', '', 0, '', 1, '2024-06-28 17:30:24', 0, '2024-06-28 17:30:24', 1),
(6, '1', '2', 1, '3', 'DEPT001', 'Spacex', '5000', 0, '', 1, '2024-06-28 17:32:31', 0, '2024-06-28 17:32:31', 1),
(7, '1', '2', 1, '3', 'DEPT002', 'HR', '', 0, '', 1, '2024-06-28 17:33:33', 0, '2024-06-28 17:33:33', 0),
(8, '1', '6', 1, '9', 'Caller', 'Caller', '', 0, '', 1, '2024-06-28 17:34:39', 0, '2024-06-28 17:34:39', 0),
(9, '1', '6', 1, '9', 'Sales', 'Sales', '', 0, '', 1, '2024-06-28 17:35:38', 0, '2024-06-28 17:35:38', 0),
(10, '3', '4', 1, '6', 'Accounts', 'Accounts', '', 0, '', 1, '2024-06-28 17:37:12', 0, '2024-06-28 17:37:12', 0),
(11, '3', '4', 1, '6', 'Finance', 'Finance', '', 0, '', 1, '2024-06-28 17:37:32', 0, '2024-06-28 17:37:32', 0),
(12, '3', '4', 1, '7', 'king001', 'CR7', '', 0, '', 1, '2024-06-28 17:38:07', 0, '2024-06-28 17:38:07', 0),
(13, '3', '5', 1, '4', 'Heros', 'Heros', '10000', 0, '', 1, '2024-06-28 17:39:01', 0, '2024-06-28 17:39:01', 0),
(14, '3', '5', 1, '8', 'DEPT009', 'IT', '', 0, '', 1, '2024-06-28 17:40:37', 0, '2024-06-28 17:40:37', 0),
(15, '4', '7', 1, '10', 'Dept0123', 'IT0123', '4000', 0, '', 1, '2024-06-29 12:36:44', 0, '2024-06-29 12:36:44', 0),
(16, '4', '7', 1, '10', 'DEPT1122', 'NERUL ', '0', 0, '', 1, '2024-07-01 09:53:38', 0, '2024-07-01 09:53:38', 0),
(17, '6', '8', 1, '12', 'Dept001', 'Hibiscus', '', 0, '', 1, '2024-07-08 13:34:15', 0, '2024-07-08 13:34:15', 0),
(18, '6', '8', 1, '12', 'Dept002', 'Lily', '', 0, '', 1, '2024-07-08 13:34:44', 0, '2024-07-08 13:34:44', 0),
(19, '8', '0', 1, '13', 'Dep123', 'Department123', '1', 0, '', 1, '2024-08-14 10:07:06', 0, '2024-08-14 10:07:06', 0),
(20, '8', '0', 1, '13', 'DEPT1122', 'Hibiscus', '1', 0, '', 1, '2024-08-19 13:28:17', 0, '2024-08-19 13:28:17', 0),
(21, 'PLT010', '0', 1, '13', 'DEPT123', 'Bhagyashri ', '', 0, '', 1, '2024-08-30 11:30:51', 0, '2024-08-30 11:30:51', 0),
(22, 'PLT001', 'DIV00015353', 1, 'SUBD0001234', 'Dept00123', 'Bhagyashri ', '', 0, '', 1, '2024-08-30 12:37:40', 0, '2024-08-30 12:37:40', 0),
(23, 'PLT010', 'DIV00015353', 1, 'demo 1', 'DEPT 1', 'DEPT 1', '', 0, '', 1, '2024-08-30 14:13:04', 0, '2024-08-30 14:13:04', 0),
(24, 'PLT010', 'DIV00015353', 1, 'Subdivison0123', 'DEPARTMENT ', 'DEPARTMENT ', '', 0, '', 1, '2024-08-30 14:13:51', 0, '2024-08-30 14:13:51', 1),
(25, 'PLT010', 'DIV00015353', 1, 'demo 1', 'TESTING ', 'TESTING 1', '', 0, '', 1, '2024-08-30 14:14:23', 0, '2024-08-30 14:14:23', 0),
(26, 'PLT010', 'DIV00015353', 1, 'Testing 1234', 'DEPT1122', 'Hibiscus', '', 0, '', 1, '2024-08-30 17:53:03', 0, '2024-08-30 17:53:03', 0),
(27, 'PLT011', 'DIV011', 1, 'SUB 011', 'Dept 011', 'Testing 011', '', 0, '', 1, '2024-08-31 10:15:42', 0, '2024-08-31 10:15:42', 1),
(28, 'PLT011', 'DIV001111', 1, 'Subdivison001111', 'DEPARTMENT001111', 'DEPARTMENT', '', 0, '', 1, '2024-08-31 16:41:05', 0, '2024-08-31 16:41:05', 0),
(29, 'PLT012', 'Div789', 1, 'SubDiv789', 'Dep789', 'Dep789', '', 0, '', 1, '2024-09-20 11:43:44', 0, '2024-09-20 11:43:44', 0),
(30, 'PLT016', 'DID0010', 1, 'SD0010', 'Dpart0010', 'DpartTesting ', '', 0, '', 1, '2024-09-25 16:08:01', 0, '2024-09-25 16:08:01', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_department_budget`
--

CREATE TABLE `mm_department_budget` (
  `mm_department_budget_id` int(11) NOT NULL,
  `plant_id` int(11) DEFAULT NULL,
  `division_id` int(11) DEFAULT NULL,
  `sub_division_id` int(11) DEFAULT NULL,
  `department_id` int(11) DEFAULT NULL,
  `budget` varchar(20) DEFAULT NULL,
  `utilized` varchar(20) DEFAULT NULL,
  `free` varchar(30) DEFAULT NULL,
  `freezed` varchar(20) DEFAULT NULL,
  `surplus/deficit` varchar(30) DEFAULT NULL,
  `subdivision_budget` varchar(30) DEFAULT NULL,
  `available_budget` varchar(30) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) DEFAULT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) DEFAULT NULL,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_designation`
--

CREATE TABLE `mm_designation` (
  `designation_id` int(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `designation` varchar(255) NOT NULL,
  `department` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_designation`
--

INSERT INTO `mm_designation` (`designation_id`, `cmp_id`, `designation`, `department`, `description`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 0, 'Testrer', '1', 'Testing SW', 1, '2024-06-14 09:57:46', 1, '2024-06-14 09:57:46', 0),
(2, 0, 'PR exe', '5', 'testing', 1, '2024-06-14 10:21:01', 0, '2024-06-14 10:21:01', 1),
(3, 0, 'Developer', '1', 'Development', 1, '2024-06-14 13:36:27', 0, '2024-06-14 13:36:27', 0),
(4, 0, 'PR exe 1', '6', 'testing', 1, '2024-06-15 09:45:57', 0, '2024-06-15 09:45:57', 0),
(5, 0, 'PR exe 2', '7', 'testing', 1, '2024-06-15 09:46:20', 0, '2024-06-15 09:46:20', 0),
(6, 0, 'PR App 3', '8', 'testing', 1, '2024-06-15 09:46:34', 0, '2024-06-15 09:46:34', 0),
(8, 0, 'tester', '10', 'testing 112323', 1, '2024-06-15 16:10:56', 0, '2024-06-15 16:10:56', 0),
(9, 0, 'IT TL123', '10', 'Testing IT TL', 1, '2024-06-15 16:33:32', 1, '2024-06-15 16:33:32', 0),
(10, 0, 'tester', '2', 'w4trwet', 1, '2024-06-17 15:16:35', 0, '2024-06-17 15:16:35', 1),
(11, 0, 'TL', '6', 'sgshbcbcv', 1, '2024-06-17 15:16:44', 0, '2024-06-17 15:16:44', 1),
(12, 0, 'CEO', '11', 'Own Empire', 1, '2024-06-17 18:09:47', 0, '2024-06-17 18:09:47', 1),
(13, 0, 'PR exe123', '13', 'testing', 1, '2024-06-24 10:36:29', 0, '2024-06-24 10:36:29', 0),
(27, 0, 'RFQ exe 04', '9', 'testing', 1, '2024-06-15 09:46:59', 0, '2024-06-15 09:46:59', 0),
(28, 1, 'DEMO TEST ', '2', 'testing', 1, '2024-06-25 17:15:04', 1, '2024-06-25 17:15:04', 0),
(29, 1, 'TESTER 2', '25', 'demo ', 1, '2024-06-29 13:11:14', 1, '2024-06-29 13:11:14', 0),
(30, 1, 'DEMO TEST ', '17', 'demo ', 1, '2024-07-08 13:38:11', 1, '2024-07-08 13:38:11', 1),
(31, 1, 'PR exe123', '19', 'testingg', 1, '2024-08-14 10:19:45', 0, '2024-08-14 10:19:45', 0),
(32, 1, 'RFQ exe', '19', 'jabba', 1, '2024-08-22 12:41:48', 0, '2024-08-22 12:41:48', 0),
(33, 1, 'RFQ exe', '19', 'test', 1, '2024-08-22 12:55:43', 0, '2024-08-22 12:55:43', 0),
(34, 1, 'PO EXWE', '15', 'testing', 1, '2024-08-22 13:00:03', 0, '2024-08-22 13:00:03', 0),
(35, 1, 'P2P exe', '29', 'Test', 1, '2024-09-20 11:44:37', 0, '2024-09-20 11:44:37', 0),
(36, 1, 'TESTER', '22', 'bhagyashri ', 1, '2024-09-27 13:10:58', 0, '2024-09-27 13:10:58', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_division`
--

CREATE TABLE `mm_division` (
  `division_id` int(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `plant_code` varchar(255) NOT NULL,
  `division_code` varchar(255) NOT NULL,
  `division_name` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_division`
--

INSERT INTO `mm_division` (`division_id`, `cmp_id`, `plant_code`, `division_code`, `division_name`, `description`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 1, '1', 'Bumbai_888', 'Mumbai007', 'Mumbai', 1, '2024-06-25 15:26:02', 1, '2024-06-25 15:26:02', 1),
(2, 1, '1', 'Mulund008', 'Mulund008', 'Mulund0080000', 1, '2024-06-25 15:26:26', 1, '2024-06-25 15:26:26', 1),
(3, 1, 'PLT002', 'Thane009', 'Thane', 'Thane', 1, '2024-06-25 15:26:50', 0, '2024-06-25 15:26:50', 0),
(4, 1, '3', 'DIV57', 'S1', 'S1', 1, '2024-06-26 16:07:53', 0, '2024-06-26 16:07:53', 0),
(5, 1, '3', 'DIV508', 'Boutique', 'butique', 1, '2024-06-26 16:08:29', 0, '2024-06-26 16:08:29', 0),
(6, 1, '1', 'Nashik__009', 'Nashik', 'Nashik', 1, '2024-06-28 11:07:12', 0, '2024-06-28 11:07:12', 0),
(7, 1, '4', 'DIV0123', 'Navi Mumbai ', 'Demo Test', 1, '2024-06-29 12:23:35', 0, '2024-06-29 12:23:35', 0),
(8, 1, '10', 'div02345', 'DEMO ', 'Demo Test', 1, '2024-07-08 12:22:35', 1, '2024-07-08 12:22:35', 0),
(9, 1, '8', 'Div123', 'Division123', 'test', 1, '2024-08-14 10:06:03', 0, '2024-08-14 10:06:03', 1),
(10, 1, '9', 'Div456', 'Division456', 'Div456', 1, '2024-08-22 12:27:52', 0, '2024-08-22 12:27:52', 1),
(11, 1, '8', 'div02', 'dividion1', '', 1, '2024-08-26 10:14:11', 0, '2024-08-26 10:14:11', 1),
(12, 1, '10', 'DIV0001', ' Indian lotus', 'Demo Test', 1, '2024-08-30 09:43:27', 0, '2024-08-30 09:43:27', 1),
(13, 1, '9', 'div02345', ' Indian lotus', 'Nelumbo nucifera, also known as sacred lotus, Indian lotus, or simply lotus, is one of two extant species of aquatic plant in the family Nelumbonaceae.', 1, '2024-08-30 09:44:43', 0, '2024-08-30 09:44:43', 0),
(14, 1, 'PLT010', 'DIV00015353', 'Navi Mumbai ', 'Nelumbo nucifera, also known as sacred lotus, Indian lotus, or simply lotus, is one of two extant species of aquatic plant in the family Nelumbonaceae.', 1, '2024-08-30 11:14:52', 0, '2024-08-30 11:14:52', 0),
(15, 1, 'PLT011', 'DIV011', 'Testing 011', 'Testing 011', 1, '2024-08-31 10:10:00', 1, '2024-08-31 10:10:00', 0),
(24, 1, 'PLT011', 'DIV00111123r3fr3', 'D Division', 'D Division', 1, '2024-08-31 15:17:38', 1, '2024-08-31 15:17:38', 1),
(25, 1, 'PLT012', 'Div789', 'Div789', 'Div789', 1, '2024-09-20 11:42:54', 0, '2024-09-20 11:42:54', 0),
(26, 1, 'PLT012', 'demo321', 'demo321', 'demo321', 1, '2024-09-20 13:37:28', 0, '2024-09-20 13:37:28', 0),
(27, 1, 'PLT013', 'thane division', 'divisiobn thane', 'demo321', 1, '2024-09-20 13:48:33', 0, '2024-09-20 13:48:33', 0),
(28, 1, 'PLT016', 'DID0010', 'Testing0010', 'Testing0010', 1, '2024-09-25 16:02:35', 1, '2024-09-25 16:02:35', 0),
(29, 1, '17', '1', 'Procurement', 'Procurement', 1, '2025-02-19 16:11:51', 0, '2025-02-19 16:11:51', 0),
(30, 1, '17', '1', 'Procurement', 'Procurement', 1, '2025-02-19 16:12:40', 0, '2025-02-19 16:12:40', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_division_budget`
--

CREATE TABLE `mm_division_budget` (
  `mm_division_budget_id` int(11) NOT NULL,
  `plant_id` varchar(50) DEFAULT NULL,
  `division_id` varchar(50) DEFAULT NULL,
  `cmp_id` int(11) NOT NULL,
  `budget` varchar(100) DEFAULT NULL,
  `utilized` varchar(40) DEFAULT NULL,
  `free` varchar(40) DEFAULT NULL,
  `freezed` varchar(11) DEFAULT NULL,
  `surplus/deficit` varchar(30) DEFAULT NULL,
  `plant_budget` varchar(30) DEFAULT NULL,
  `available_budget` varchar(30) DEFAULT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) DEFAULT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) DEFAULT NULL,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_division_budget`
--

INSERT INTO `mm_division_budget` (`mm_division_budget_id`, `plant_id`, `division_id`, `cmp_id`, `budget`, `utilized`, `free`, `freezed`, `surplus/deficit`, `plant_budget`, `available_budget`, `created_on`, `created_by`, `updated_on`, `updated_by`, `is_delete`) VALUES
(1, '12', 'undefined', 1, '5000', NULL, NULL, NULL, NULL, '', '', '2024-09-20 12:00:37', 1, '2024-09-20 12:00:37', 1, 1),
(2, '16', 'undefined', 1, '50000', NULL, NULL, NULL, NULL, '200000', '200000', '2024-09-26 09:58:24', 1, '2024-09-26 09:58:24', NULL, 0),
(3, '16', 'undefined', 1, '50000', NULL, NULL, NULL, NULL, '200000', '200000', '2024-09-26 09:58:25', 1, '2024-09-26 09:58:25', NULL, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_employee_permissions`
--

CREATE TABLE `mm_employee_permissions` (
  `employee_permission_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `module_id` varchar(11) NOT NULL,
  `sub_module_id` varchar(11) NOT NULL,
  `permission_id` varchar(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_employee_permissions`
--

INSERT INTO `mm_employee_permissions` (`employee_permission_id`, `employee_id`, `module_id`, `sub_module_id`, `permission_id`, `cmp_id`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 1, '3', '3', '3', 0, 1, '2024-06-14 10:23:27', 0, '2024-06-14 10:23:27', 0),
(2, 18, '3', '3', '3', 0, 1, '2024-06-14 10:25:25', 0, '2024-06-14 10:25:25', 0),
(3, 19, '1', '1', '1,2', 0, 1, '2024-06-14 11:02:16', 0, '2024-06-14 11:02:16', 0),
(4, 20, '1,2,3', '1,2,3', '1,2,3', 0, 1, '2024-06-14 11:05:23', 0, '2024-06-14 11:05:23', 0),
(5, 21, '3', '3', '3', 0, 1, '2024-06-14 17:21:59', 0, '2024-06-14 17:21:59', 0),
(6, 22, '2', '2', '2', 0, 1, '2024-06-14 17:26:28', 0, '2024-06-14 17:26:28', 0),
(7, 23, '2', '2', '2', 0, 1, '2024-06-14 17:27:29', 0, '2024-06-14 17:27:29', 0),
(8, 24, '3', '3', '7', 0, 1, '2024-06-15 09:50:00', 0, '2024-06-15 09:50:00', 0),
(9, 25, '5', '5', '5', 0, 1, '2024-06-15 16:11:59', 0, '2024-06-15 16:11:59', 0),
(10, 26, '3', '3', '7', 0, 1, '2024-06-17 18:12:46', 0, '2024-06-17 18:12:46', 0),
(11, 27, '3', '3', '7', 0, 1, '2024-06-18 12:16:57', 0, '2024-06-18 12:16:57', 0),
(12, 28, '3', '3', '7', 0, 1, '2024-06-19 13:52:53', 0, '2024-06-19 13:52:53', 0),
(13, 29, '3', '3', '7', 0, 1, '2024-06-24 15:22:06', 0, '2024-06-24 15:22:06', 0),
(14, 30, '3', '3', '3,7', 0, 1, '2024-06-24 16:58:31', 0, '2024-06-24 16:58:31', 0),
(15, 31, '9', '10', '11', 0, 1, '2024-06-24 17:04:46', 0, '2024-06-24 17:04:46', 0),
(16, 32, '3', '3', '3', 0, 1, '2024-06-24 17:59:19', 0, '2024-06-24 17:59:19', 0),
(17, 33, '2,3,4', '2,3,8', '2,3,7', 0, 1, '2024-06-24 18:12:08', 0, '2024-06-24 18:12:08', 0),
(18, 34, '2,3', '2,3', '2,3', 0, 1, '2024-06-24 18:13:08', 0, '2024-06-24 18:13:08', 0),
(19, 35, '3', '3', '7', 0, 1, '2024-06-24 18:31:48', 0, '2024-06-24 18:31:48', 0),
(20, 36, '2', '2', '2', 0, 1, '2024-06-24 18:33:44', 0, '2024-06-24 18:33:44', 0),
(21, 37, '3', '3', '7', 0, 1, '2024-06-24 18:35:47', 0, '2024-06-24 18:35:47', 0),
(22, 39, '3', '3', '7', 1, 1, '2024-06-25 13:15:06', 0, '2024-06-25 13:15:06', 0),
(23, 40, '16', '13', '15', 1, 1, '2024-06-26 17:19:15', 0, '2024-06-26 17:19:15', 0),
(24, 41, '20', '17', '17', 1, 1, '2024-06-29 14:00:06', 0, '2024-06-29 14:00:06', 0),
(25, 42, '20', '17', '17', 1, 1, '2024-06-29 14:01:02', 0, '2024-06-29 14:01:02', 0),
(26, 43, '19', '16', '16', 1, 1, '2024-07-08 13:44:24', 0, '2024-07-08 13:44:24', 0),
(27, 0, '0', '0', '0', 1, 1, '2024-08-14 10:30:33', 0, '2024-08-14 10:30:33', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_financial_document`
--

CREATE TABLE `mm_financial_document` (
  `financial_document_id` int(11) NOT NULL,
  `financial_document_number` varchar(255) NOT NULL,
  `grn_id` int(11) DEFAULT NULL,
  `grn_no` varchar(50) DEFAULT NULL,
  `grn_suppilier_id` int(11) NOT NULL,
  `grn_date` datetime DEFAULT NULL,
  `po_no` varchar(50) DEFAULT NULL,
  `delivery_date` datetime DEFAULT NULL,
  `vendor_code` varchar(255) NOT NULL,
  `grn_from` varchar(100) DEFAULT NULL,
  `grn_to` varchar(100) DEFAULT NULL,
  `plant_code` varchar(255) NOT NULL,
  `ge_no` varchar(50) DEFAULT NULL,
  `bill_no` varchar(50) DEFAULT NULL,
  `challan_no` varchar(50) DEFAULT NULL,
  `challan_qty` decimal(10,2) DEFAULT NULL,
  `lr_no` varchar(50) DEFAULT NULL,
  `transporter` varchar(100) DEFAULT NULL,
  `vehicle_no` varchar(50) DEFAULT NULL,
  `Fin_docu_taxes` text NOT NULL,
  `findoc_prepared_by` varchar(255) NOT NULL,
  `grn_prepared_by` varchar(100) DEFAULT NULL,
  `inspected_by` varchar(100) DEFAULT NULL,
  `hod` varchar(100) DEFAULT NULL,
  `account_manager` varchar(100) DEFAULT NULL,
  `status` enum('P','A','R','RE') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved,\r\nR=Reject,\r\n\r\n',
  `created_by` int(11) DEFAULT NULL,
  `company_id` int(11) DEFAULT NULL,
  `created_on` datetime DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) DEFAULT NULL,
  `updated_on` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_financial_document`
--

INSERT INTO `mm_financial_document` (`financial_document_id`, `financial_document_number`, `grn_id`, `grn_no`, `grn_suppilier_id`, `grn_date`, `po_no`, `delivery_date`, `vendor_code`, `grn_from`, `grn_to`, `plant_code`, `ge_no`, `bill_no`, `challan_no`, `challan_qty`, `lr_no`, `transporter`, `vehicle_no`, `Fin_docu_taxes`, `findoc_prepared_by`, `grn_prepared_by`, `inspected_by`, `hod`, `account_manager`, `status`, `created_by`, `company_id`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 'FD-001', 1, 'GRN01', 3, '2024-09-10 09:54:12', '41-0002', '2024-09-10 12:00:00', 'VE-0004', 'shree pvt ltd', 'Google', 'PLT001', 'GE-001', 'Bill-001', 'CHL-001', 0.00, 'LR-001', 'Suraj YAdav', 'MH04 1234', '[{\"name\":\"CGST\",\"percentage\":\"5\"},{\"name\":\"GST\",\"percentage\":\"10\"},{\"name\":\"SGST\",\"percentage\":\"8\"}]', 'sanket', 'sanket', 'sanket', 'Yash', 'Arun', 'A', 1, 1, '2024-09-20 12:42:09', NULL, '2024-09-20 12:59:58', 0),
(2, 'FD-002', 1, 'GRN01', 3, '2024-09-13 13:40:53', '41-0001', '2024-09-13 12:00:00', 'VE-0004', 'shree pvt ltd', 'Google', 'PLT001', '01', '01', '01', 0.00, '01', 'Sachin', 'MH001142', '[{\"name\":\"GST\",\"percentage\":\"12\"},{\"name\":\"INCOME TAX\",\"percentage\":\"5\"}]', 'Admin', 'Admin', 'Admin', 'Yash', 'Arun', 'A', 1, 1, '2024-09-20 13:10:58', NULL, '2024-09-20 13:17:47', 0),
(3, 'FD-003', 5, 'GRN05', 3, '2024-09-20 12:53:36', '41-0001', '2024-10-10 12:00:00', 'VE-0004', 'shree pvt ltd', 'Google', 'PLT001', '12', '0006', '0006', 0.00, '0006', 'ABC', 'MH43BJ1233', '[{\"name\":\"GST\",\"percentage\":\"12\"},{\"name\":\"INCOME TAX\",\"percentage\":\"5\"}]', 'Admin', 'Admin', 'Admin', 'Yash', 'Arun', 'A', 1, 1, '2024-09-20 13:30:27', NULL, '2024-09-20 13:30:37', 0),
(4, 'FD-004', 1, 'GRN01', 3, '2024-09-13 13:40:53', '41-0001', '2024-09-13 12:00:00', 'VE-0004', 'shree pvt ltd', 'Google', 'PLT001', '01', '01', '01', 0.00, '01', 'Sachin', 'MH001142', '[{\"name\":\"GST\",\"percentage\":\"12\"},{\"name\":\"INCOME TAX\",\"percentage\":\"5\"}]', 'Admin', 'Admin', 'Admin', 'Yash', 'Arun', 'A', 1, 1, '2024-09-20 15:28:38', NULL, '2024-09-20 15:29:04', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_financial_document_approvals`
--

CREATE TABLE `mm_financial_document_approvals` (
  `financial_document_approval_id` int(11) NOT NULL,
  `financial_document_id` int(11) NOT NULL,
  `approval_status` enum('P','A','R','RE') NOT NULL COMMENT 'P=Pending, \r\nA=Approved,\r\nR=Reject,\r\nRE=Revise',
  `status_reason` text NOT NULL,
  `status_by` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_financial_document_approvals`
--

INSERT INTO `mm_financial_document_approvals` (`financial_document_approval_id`, `financial_document_id`, `approval_status`, `status_reason`, `status_by`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, 2, 'A', '', 1, 1, '2024-09-17 12:34:50', 0, '2024-09-17 12:34:50', 0, 1),
(2, 3, 'A', '', 1, 1, '2024-09-19 15:29:07', 0, '2024-09-19 15:29:07', 0, 1),
(3, 4, 'A', '', 1, 1, '2024-09-20 12:57:57', 0, '2024-09-20 12:57:57', 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `mm_financial_document_materials`
--

CREATE TABLE `mm_financial_document_materials` (
  `financial_document_material_id` int(11) NOT NULL,
  `financial_document_id` int(11) DEFAULT NULL,
  `material` varchar(255) NOT NULL,
  `po_qty` decimal(10,2) DEFAULT NULL,
  `received_qty` decimal(10,2) DEFAULT NULL,
  `accepted_qty` decimal(10,2) DEFAULT NULL,
  `access_qty` decimal(10,2) DEFAULT NULL,
  `short_qty` decimal(10,2) DEFAULT NULL,
  `rejected_qty` decimal(10,2) DEFAULT NULL,
  `rate` decimal(10,2) DEFAULT NULL,
  `discount` decimal(10,2) DEFAULT NULL,
  `total_value` decimal(15,2) DEFAULT NULL,
  `other_value1` decimal(10,2) NOT NULL,
  `other_value2` decimal(10,2) NOT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) DEFAULT '0',
  `company_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_financial_document_materials`
--

INSERT INTO `mm_financial_document_materials` (`financial_document_material_id`, `financial_document_id`, `material`, `po_qty`, `received_qty`, `accepted_qty`, `access_qty`, `short_qty`, `rejected_qty`, `rate`, `discount`, `total_value`, `other_value1`, `other_value2`, `created_by`, `created_at`, `updated_at`, `is_delete`, `company_id`) VALUES
(1, 1, 'steel', 70.00, 20.00, 10.00, 10.00, -10.00, 10.00, 900.00, 10.00, 8950.00, 20.00, 30.00, 1, '2024-09-20 07:12:09', '2024-09-20 07:12:09', 0, 1),
(2, 1, 'steel1', 80.00, 30.00, 50.00, 20.00, -20.00, -20.00, 200.00, 10.00, 9550.00, 20.00, 30.00, 1, '2024-09-20 07:12:09', '2024-09-20 07:12:09', 0, 1),
(3, 2, 'Plastic Material', 50.00, 40.00, 40.00, -50.00, 50.00, 0.00, 900.00, 10.00, 35602.00, 1.00, 1.00, 1, '2024-09-20 07:40:58', '2024-09-20 07:40:58', 0, 1),
(4, 3, 'Plastic Material', 50.00, 50.00, 45.00, 0.00, 0.00, 5.00, 900.00, 10.00, 40350.00, 200.00, 100.00, 1, '2024-09-20 08:00:27', '2024-09-20 08:00:27', 0, 1),
(5, 4, 'Plastic Material', 50.00, 40.00, 40.00, -50.00, 50.00, 0.00, 900.00, 0.00, 0.00, 0.00, 0.00, 1, '2024-09-20 09:58:38', '2024-09-20 09:58:38', 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `mm_grn`
--

CREATE TABLE `mm_grn` (
  `grn_id` int(11) NOT NULL,
  `grn_no` varchar(255) NOT NULL,
  `po_id` varchar(255) NOT NULL,
  `grn_date_time` datetime NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `supplier` varchar(255) NOT NULL,
  `address` varchar(255) NOT NULL,
  `ge_no` varchar(255) NOT NULL,
  `ge_date` date DEFAULT NULL,
  `bill_no` varchar(255) NOT NULL,
  `bill_date` date DEFAULT NULL,
  `challan_no` varchar(255) NOT NULL,
  `challan_date` date DEFAULT NULL,
  `lr_no` varchar(255) NOT NULL,
  `lr_date` date DEFAULT NULL,
  `transporter_name` varchar(255) NOT NULL,
  `transporter_contact` varchar(20) NOT NULL,
  `vehicle_no` varchar(255) NOT NULL,
  `delivery_date_time` datetime NOT NULL,
  `quality_assurance_code` varchar(255) NOT NULL,
  `supporting_docs` varchar(200) NOT NULL,
  `delivery_rating` int(11) NOT NULL DEFAULT '0',
  `behaviour_rating` int(11) NOT NULL DEFAULT '0',
  `quality_rating` int(11) NOT NULL DEFAULT '0',
  `overall_experience_rating` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_grn`
--

INSERT INTO `mm_grn` (`grn_id`, `grn_no`, `po_id`, `grn_date_time`, `supplier_id`, `supplier`, `address`, `ge_no`, `ge_date`, `bill_no`, `bill_date`, `challan_no`, `challan_date`, `lr_no`, `lr_date`, `transporter_name`, `transporter_contact`, `vehicle_no`, `delivery_date_time`, `quality_assurance_code`, `supporting_docs`, `delivery_rating`, `behaviour_rating`, `quality_rating`, `overall_experience_rating`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 'GRN01', '1', '2024-09-13 13:40:53', 3, 'shree pvt ltd', '', '01', '2024-09-12', '01', '2024-09-13', '01', '2024-09-14', '01', '2024-09-13', 'Sachin', '8080737805', 'MH001142', '2024-09-13 12:00:00', 'KI001', '', 4, 1, 5, 4, 1, '2024-09-13 13:41:45', 1, '2024-09-13 13:42:06', 0),
(2, 'GRN02', '2', '2024-09-13 13:42:25', 1, 'Test Company', '', '04', '2024-09-12', '02', '2024-09-13', '02', '2024-09-14', '02', '2024-09-15', 'Loaders', '8080737805', 'MH001142', '2024-09-13 12:00:00', 'KI002', '33.pdf', 4, 4, 2, 5, 1, '2024-09-13 13:43:36', 1, '2024-09-19 15:21:25', 0),
(3, 'GRN03', '1', '2024-09-16 12:25:17', 3, 'shree pvt ltd', '', 'ABCD0011', '2024-09-16', '01234', '2024-09-16', '70', '2024-09-16', '70', '2024-09-16', 'Trimurthi Traders', '8080737805', 'MH001142', '2024-09-16 12:00:00', '01', 'DEMO Proposal.pdf', 3, 3, 3, 3, 1, '2024-09-16 12:28:18', 0, '2024-09-16 12:28:18', 0),
(4, 'GRN04', '2', '2024-09-19 15:17:09', 1, 'Test Company', '', '123456', '2024-09-19', 'BILLN1234', '2024-09-20', '7022', '2024-09-19', '702', '2024-09-19', ' demo test ', '7887557950', 'MH19JD2056', '2024-09-19 12:00:00', '01123', 'Proposal.pdf', 4, 4, 4, 3, 1, '2024-09-19 15:19:33', 0, '2024-09-19 15:19:33', 0),
(5, 'GRN05', '1', '2024-09-20 12:53:36', 3, 'shree pvt ltd', '', '12', '0000-00-00', '0006', '2024-10-10', '0006', '2024-10-10', '0006', '2024-10-10', 'ABC', '12345467890', 'MH43BJ1233', '2024-10-10 12:00:00', '10.001', ' ', 4, 4, 5, 4, 1, '2024-09-20 12:55:43', 0, '2024-09-20 12:55:43', 0),
(6, 'GRN06', '6', '2024-09-20 13:17:48', 1, 'Test Company', '', '12', '2024-09-11', '00060', '2024-09-10', '0006', '2024-09-24', '0006', '2024-09-20', 'ABC', '12345467890', 'MH43BJ1233', '2024-09-20 12:00:00', '10.001', ' ', 4, 4, 4, 4, 1, '2024-09-20 13:19:24', 0, '2024-09-20 13:19:24', 0),
(7, 'GRN07', '6', '2024-09-20 13:21:39', 1, 'Test Company', '', '07', '2024-09-19', '00070', '2024-09-18', '01', '2024-09-19', '02', '2024-09-20', 'Trimurthi Loaders', '9823405340', '02', '2024-09-20 12:00:00', 'KI', ' ', 4, 4, 5, 5, 1, '2024-09-20 13:22:47', 0, '2024-09-20 13:22:47', 0),
(8, 'GRN08', '7', '2024-09-20 13:30:05', 1, 'Test Company', '', '07', '2024-09-19', '00080', '2024-09-20', '01', '2024-09-21', '02', '0000-00-00', 'Trimurthi Loaders', '9823405340', '02', '2024-09-20 12:00:00', 'KI', ' ', 4, 4, 5, 4, 1, '2024-09-20 13:31:10', 0, '2024-09-20 13:31:10', 0),
(9, 'GRN09', '9', '2024-09-20 13:39:48', 9, 'abc test', '', '07', '2024-09-13', '00090', '2024-09-20', '01', '2024-09-21', '02', '2024-09-20', 'Trimurthi Loaders', '9823405340', '02', '2024-09-20 12:00:00', 'KI', ' ', 4, 4, 5, 4, 1, '2024-09-20 13:40:25', 0, '2024-09-20 13:40:25', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_grn_approved`
--

CREATE TABLE `mm_grn_approved` (
  `approved_id` int(11) NOT NULL,
  `grn_id` int(11) NOT NULL,
  `status` enum('accept','reject','revise') NOT NULL,
  `reason` varchar(100) NOT NULL,
  `approved_by` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_grn_approved`
--

INSERT INTO `mm_grn_approved` (`approved_id`, `grn_id`, `status`, `reason`, `approved_by`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(1, 1, '', '', '', 0, '2024-09-13 13:44:03', 0, '2024-09-13 13:44:03'),
(2, 3, 'accept', '', 'Admin', 1, '2024-09-16 12:29:14', 0, '2024-09-16 12:29:14'),
(3, 4, 'accept', '', 'Admin', 1, '2024-09-19 15:20:08', 0, '2024-09-19 15:20:08'),
(4, 5, 'accept', '', 'Admin', 1, '2024-09-20 12:56:05', 0, '2024-09-20 12:56:05'),
(5, 8, 'accept', '', 'Admin', 1, '2024-09-20 13:32:38', 0, '2024-09-20 13:32:38');

-- --------------------------------------------------------

--
-- Table structure for table `mm_grn_inspected_materials`
--

CREATE TABLE `mm_grn_inspected_materials` (
  `inspected_mat_id` int(11) NOT NULL,
  `grn_id` int(11) NOT NULL,
  `inspect_id` int(11) NOT NULL,
  `po_id` int(11) NOT NULL,
  `grn_no` varchar(100) NOT NULL,
  `po_no` varchar(100) NOT NULL,
  `material_code` varchar(100) NOT NULL,
  `mat_id` int(11) NOT NULL,
  `short_desc` varchar(255) NOT NULL,
  `unit` varchar(100) NOT NULL,
  `challan_qty` decimal(10,2) NOT NULL,
  `received_qty` decimal(10,2) NOT NULL,
  `short_qty` decimal(10,2) NOT NULL,
  `excess_qty` decimal(10,2) NOT NULL,
  `accepted_qty` decimal(10,2) NOT NULL,
  `rejected_qty` decimal(10,2) NOT NULL,
  `blc` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_grn_inspected_materials`
--

INSERT INTO `mm_grn_inspected_materials` (`inspected_mat_id`, `grn_id`, `inspect_id`, `po_id`, `grn_no`, `po_no`, `material_code`, `mat_id`, `short_desc`, `unit`, `challan_qty`, `received_qty`, `short_qty`, `excess_qty`, `accepted_qty`, `rejected_qty`, `blc`, `created_by`, `created_on`, `is_delete`) VALUES
(1, 1, 1, 1, 'GRN01', '41-0001', 'M001', 1, 'Plastic Material ', 'KG', 90.00, 40.00, 50.00, -50.00, 40.00, 0.00, 'BLC1', 1, '2024-09-13 13:44:03', 0),
(2, 3, 3, 1, 'GRN03', '41-0001', 'M001', 1, 'Plastic Material ', 'KG', 40.00, 40.00, 0.00, 0.00, 35.00, 5.00, 'BLC1', 1, '2024-09-16 12:29:14', 0),
(3, 4, 4, 2, 'GRN04', '41-0002', 'M001', 1, 'Plastic Material ', 'KG', 90.00, 90.00, 0.00, 0.00, 90.00, 0.00, 'BLC1', 1, '2024-09-19 15:20:08', 0),
(4, 4, 4, 2, 'GRN04', '41-0002', 'M002', 2, 'test ', 'kg', 90.00, 90.00, 0.00, 0.00, 80.00, 10.00, 'BLC2', 1, '2024-09-19 15:20:08', 0),
(5, 5, 5, 1, 'GRN05', '41-0001', 'M001', 1, 'Plastic Material ', 'KG', 50.00, 50.00, 0.00, 0.00, 45.00, 5.00, 'BLC1', 1, '2024-09-20 12:56:05', 0),
(6, 8, 8, 7, 'GRN08', '41-0007', 'M004', 114, 'Brass Scrab ', 'KG', 40.00, 40.00, 0.00, 0.00, 80.00, -40.00, 'BLC1', 1, '2024-09-20 13:32:38', 0),
(7, 8, 8, 7, 'GRN08', '41-0007', 'M001', 115, 'Plastic Material ', 'KG', 50.00, 50.00, 0.00, 0.00, 70.00, -20.00, 'BLC2', 1, '2024-09-20 13:32:38', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_grn_inspection`
--

CREATE TABLE `mm_grn_inspection` (
  `inspection_id` int(11) NOT NULL,
  `grn_id` int(11) NOT NULL,
  `po_id` int(11) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `supplier` varchar(255) NOT NULL,
  `status` enum('Pending','Done') NOT NULL DEFAULT 'Pending',
  `send_for_approval` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_grn_inspection`
--

INSERT INTO `mm_grn_inspection` (`inspection_id`, `grn_id`, `po_id`, `supplier_id`, `supplier`, `status`, `send_for_approval`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(1, 1, 1, 3, 'shree pvt ltd', 'Done', 'Y', 1, '2024-09-13 13:41:45', 0, '2024-09-13 13:41:45'),
(2, 2, 2, 1, 'Test Company', 'Pending', 'N', 1, '2024-09-13 13:43:36', 0, '2024-09-13 13:43:36'),
(3, 3, 1, 3, 'shree pvt ltd', 'Done', 'Y', 1, '2024-09-16 12:28:18', 0, '2024-09-16 12:28:18'),
(4, 4, 2, 1, 'Test Company', 'Done', 'Y', 1, '2024-09-19 15:19:33', 0, '2024-09-19 15:19:33'),
(5, 5, 1, 3, 'shree pvt ltd', 'Done', 'Y', 1, '2024-09-20 12:55:43', 0, '2024-09-20 12:55:43'),
(6, 6, 6, 1, 'Test Company', 'Pending', 'N', 1, '2024-09-20 13:19:24', 0, '2024-09-20 13:19:24'),
(7, 7, 6, 1, 'Test Company', 'Pending', 'N', 1, '2024-09-20 13:22:47', 0, '2024-09-20 13:22:47'),
(8, 8, 7, 1, 'Test Company', 'Done', 'Y', 1, '2024-09-20 13:31:10', 0, '2024-09-20 13:31:10'),
(9, 9, 9, 9, 'abc test', 'Pending', 'N', 1, '2024-09-20 13:40:25', 0, '2024-09-20 13:40:25');

-- --------------------------------------------------------

--
-- Table structure for table `mm_grn_materials`
--

CREATE TABLE `mm_grn_materials` (
  `grn_mat_id` int(11) NOT NULL,
  `grn_id` int(11) NOT NULL,
  `mat_id` int(11) NOT NULL,
  `received_qty` decimal(10,2) NOT NULL,
  `challan_qty` decimal(10,2) NOT NULL,
  `accepted_qty` decimal(10,2) NOT NULL,
  `pending_qty` decimal(10,2) NOT NULL,
  `po_qty` decimal(10,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_grn_materials`
--

INSERT INTO `mm_grn_materials` (`grn_mat_id`, `grn_id`, `mat_id`, `received_qty`, `challan_qty`, `accepted_qty`, `pending_qty`, `po_qty`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 1, 1, 40.00, 90.00, 40.00, 10.00, 50.00, 1, '2024-09-13 13:41:45', 1, '2024-09-13 13:41:45', 0),
(2, 2, 1, 90.00, 90.00, 0.00, 10.00, 100.00, 1, '2024-09-13 13:43:36', 1, '2024-09-13 13:43:36', 0),
(3, 2, 2, 80.00, 80.00, 0.00, 20.00, 100.00, 1, '2024-09-13 13:43:36', 1, '2024-09-13 13:43:36', 0),
(4, 3, 1, 40.00, 40.00, 35.00, 10.00, 50.00, 1, '2024-09-16 12:28:18', 0, '2024-09-16 12:28:18', 0),
(5, 4, 1, 90.00, 90.00, 90.00, 10.00, 100.00, 1, '2024-09-19 15:19:33', 0, '2024-09-19 15:19:33', 0),
(6, 4, 2, 90.00, 90.00, 80.00, 10.00, 100.00, 1, '2024-09-19 15:19:33', 0, '2024-09-19 15:19:33', 0),
(7, 5, 1, 50.00, 50.00, 45.00, 0.00, 50.00, 1, '2024-09-20 12:55:43', 0, '2024-09-20 12:55:43', 0),
(8, 6, 116, 0.00, 0.00, 0.00, 10.00, 10.00, 1, '2024-09-20 13:19:24', 0, '2024-09-20 13:19:24', 0),
(9, 7, 116, 90.00, 90.00, 0.00, -80.00, 10.00, 1, '2024-09-20 13:22:47', 0, '2024-09-20 13:22:47', 0),
(10, 8, 114, 40.00, 40.00, 80.00, 160.00, 200.00, 1, '2024-09-20 13:31:10', 0, '2024-09-20 13:31:10', 0),
(11, 8, 115, 50.00, 50.00, 70.00, 150.00, 200.00, 1, '2024-09-20 13:31:10', 0, '2024-09-20 13:31:10', 0),
(12, 9, 4, 80.00, 90.00, 0.00, -40.00, 40.00, 1, '2024-09-20 13:40:25', 0, '2024-09-20 13:40:25', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_grn_sended`
--

CREATE TABLE `mm_grn_sended` (
  `grn_sended_id` int(11) NOT NULL,
  `grn_id` int(11) NOT NULL,
  `grn_sended` enum('Y','N') NOT NULL,
  `grn_sended_by` int(11) NOT NULL,
  `grn_sended_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_grn_sended`
--

INSERT INTO `mm_grn_sended` (`grn_sended_id`, `grn_id`, `grn_sended`, `grn_sended_by`, `grn_sended_on`) VALUES
(1, 3, 'Y', 1, '2024-09-16 12:33:53'),
(2, 4, 'Y', 1, '2024-09-19 15:21:57');

-- --------------------------------------------------------

--
-- Table structure for table `mm_inventory_flow`
--

CREATE TABLE `mm_inventory_flow` (
  `inventory_id` int(11) NOT NULL,
  `material_id` int(11) NOT NULL,
  `material` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `unit` varchar(255) NOT NULL,
  `opening_bal` int(11) NOT NULL,
  `used_qty` int(11) NOT NULL DEFAULT '0',
  `bin_location` varchar(255) NOT NULL,
  `usage_description` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_inventory_flow`
--

INSERT INTO `mm_inventory_flow` (`inventory_id`, `material_id`, `material`, `description`, `unit`, `opening_bal`, `used_qty`, `bin_location`, `usage_description`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 4, 'Plastic Material ', 'plastic Scrab ', 'MT', 0, 50, 'Airoli,Thane, Mumbai ', 'Demo 11', 1, '2024-06-19 12:08:30', 1, '2024-06-19 12:08:30', 0),
(2, 5, 'demo Material', 'DEMO 111', 'Kg', 30000, 333, 'Section 2, warehouse 1 ', 'Test', 1, '2024-06-19 12:09:15', 1, '2024-07-01 14:17:09', 0),
(3, 3, 'Brass', 'Brass description', 'KG', 80000, 7000, 'thane', 'Test', 1, '2024-06-19 12:13:42', 1, '2024-06-19 12:14:09', 0),
(6, 28, 'Queendom', 'Queen', 'MT', 60000, 25000, 'Mumbai', 'Test', 1, '2024-07-01 14:20:28', 1, '2024-07-01 14:20:28', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_inventory_flow_logs`
--

CREATE TABLE `mm_inventory_flow_logs` (
  `log_id` int(11) NOT NULL,
  `operation_type` varchar(50) NOT NULL,
  `data` text NOT NULL,
  `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_inventory_flow_logs`
--

INSERT INTO `mm_inventory_flow_logs` (`log_id`, `operation_type`, `data`, `date`) VALUES
(1, 'Add', '{\"material_id\":\"4\",\"material\":\"Plastic Material \",\"description\":\"plastic Scrab \",\"unit\":\"MT\",\"opening_bal\":\"0\",\"bin_location\":\"Airoli,Thane, Mumbai \",\"used_qty\":\"50\",\"usage_description\":\"Demo 11\",\"created_by\":\"1\",\"updated_by\":\"1\"}', '2024-06-19 12:08:30'),
(2, 'Add', '{\"material_id\":\"2\",\"material\":\"demo Material\",\"description\":\"DEMO 111\",\"unit\":\"Kg\",\"opening_bal\":\"32323\",\"bin_location\":\"Section 2, warehouse 1 \",\"used_qty\":\"333\",\"usage_description\":\"Test\",\"created_by\":\"1\",\"updated_by\":\"1\"}', '2024-06-19 12:09:15'),
(3, 'Edit', '{\"material\":\"demo Material\",\"description\":\"DEMO 111\",\"unit\":\"Kg\",\"opening_bal\":\"32320\",\"bin_location\":\"Section 2, warehouse 1 \",\"used_qty\":\"333\",\"usage_description\":\"Test\",\"updated_on\":\"2024-06-19 12:11:49\"}', '2024-06-19 12:11:49'),
(4, 'Add', '{\"material_id\":\"3\",\"material\":\"Brass\",\"description\":\"Brass description\",\"unit\":\"KG\",\"opening_bal\":\"8000\",\"bin_location\":\"thane\",\"used_qty\":\"7000\",\"usage_description\":\"Test\",\"created_by\":\"1\",\"updated_by\":\"1\"}', '2024-06-19 12:13:42'),
(5, 'Edit', '{\"material\":\"Brass\",\"description\":\"Brass description\",\"unit\":\"KG\",\"opening_bal\":\"80000\",\"bin_location\":\"thane\",\"used_qty\":\"7000\",\"usage_description\":\"Test\",\"updated_on\":\"2024-06-19 12:14:09\"}', '2024-06-19 12:14:09'),
(6, 'Add', '{\"material_id\":\"7\",\"material\":\"demo Material 342\",\"description\":\"test\",\"unit\":\"MT\",\"opening_bal\":\"700\",\"bin_location\":\"Section 2, warehouse 1 \",\"used_qty\":\"500\",\"usage_description\":\"Test4\",\"created_by\":\"1\",\"updated_by\":\"1\"}', '2024-06-19 12:18:51'),
(7, 'Add', '{\"material_id\":\"7\",\"material\":\"demo Material 342\",\"description\":\"test\",\"unit\":\"MT\",\"opening_bal\":\"100\",\"bin_location\":\"Section 2, warehouse 1 \",\"used_qty\":\"10\",\"usage_description\":\"test\",\"created_by\":\"1\",\"updated_by\":\"1\"}', '2024-06-24 11:20:10'),
(8, 'Edit', '{\"material\":\"demo Material\",\"description\":\"DEMO 111\",\"unit\":\"Kg\",\"opening_bal\":\"30000\",\"bin_location\":\"Section 2, warehouse 1 \",\"used_qty\":\"333\",\"usage_description\":\"Test\",\"updated_on\":\"2024-07-01 14:17:09\"}', '2024-07-01 14:17:09'),
(9, 'Add', '{\"material_id\":\"28\",\"material\":\"Queendom\",\"description\":\"Queen\",\"unit\":\"MT\",\"opening_bal\":\"60000\",\"bin_location\":\"Mumbai\",\"used_qty\":\"25000\",\"usage_description\":\"Test\",\"created_by\":\"1\",\"updated_by\":\"1\"}', '2024-07-01 14:20:28');

-- --------------------------------------------------------

--
-- Table structure for table `mm_inventory_grn`
--

CREATE TABLE `mm_inventory_grn` (
  `grn_id` int(11) NOT NULL,
  `grn_no` varchar(255) NOT NULL,
  `purchase_order_no` varchar(255) NOT NULL,
  `grn_date_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `supplier_id` int(11) NOT NULL,
  `supplier` varchar(255) NOT NULL,
  `address` varchar(255) NOT NULL,
  `ge_no` varchar(255) NOT NULL,
  `bill_no` varchar(255) NOT NULL,
  `challan_no` varchar(255) NOT NULL,
  `lr_no` varchar(255) NOT NULL,
  `transporter_name` varchar(255) NOT NULL,
  `transporter_contact` varchar(20) NOT NULL,
  `bin_location` varchar(255) NOT NULL,
  `vehicle_no` varchar(255) NOT NULL,
  `rate` varchar(255) NOT NULL,
  `discount` int(11) NOT NULL,
  `delivery_date_time` datetime NOT NULL,
  `material_id` int(11) NOT NULL,
  `item_code` varchar(255) NOT NULL,
  `item_description` text NOT NULL,
  `uom` varchar(50) NOT NULL,
  `challan_qty` int(11) NOT NULL,
  `received_qty` int(11) NOT NULL,
  `purchase_order_qty` int(11) NOT NULL,
  `short_qty` int(11) NOT NULL,
  `exceed_qty` int(11) NOT NULL,
  `rejected_qty` int(11) NOT NULL,
  `accepted_qty` int(11) NOT NULL,
  `value_accepted_qty` int(11) NOT NULL,
  `inspection_required` enum('Yes','No') NOT NULL DEFAULT 'No',
  `quality_assurance_code` varchar(255) NOT NULL,
  `supporting_docs` varchar(200) NOT NULL,
  `delivery_rating` int(11) NOT NULL DEFAULT '0',
  `behaviour_rating` int(11) NOT NULL DEFAULT '0',
  `quality_rating` int(11) NOT NULL DEFAULT '0',
  `overall_experience_rating` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_inventory_grn`
--

INSERT INTO `mm_inventory_grn` (`grn_id`, `grn_no`, `purchase_order_no`, `grn_date_time`, `supplier_id`, `supplier`, `address`, `ge_no`, `bill_no`, `challan_no`, `lr_no`, `transporter_name`, `transporter_contact`, `bin_location`, `vehicle_no`, `rate`, `discount`, `delivery_date_time`, `material_id`, `item_code`, `item_description`, `uom`, `challan_qty`, `received_qty`, `purchase_order_qty`, `short_qty`, `exceed_qty`, `rejected_qty`, `accepted_qty`, `value_accepted_qty`, `inspection_required`, `quality_assurance_code`, `supporting_docs`, `delivery_rating`, `behaviour_rating`, `quality_rating`, `overall_experience_rating`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 'GRN01', '1', '2024-06-21 06:52:21', 3, 'abc pvt ltd', 'mumbai', '90', '01', '70', '70', 'Trimurthi Traders', '8080737805', '90', 'MH001142', '4.00', 80, '2024-06-22 12:00:00', 5, 'M001', 'plastic Scrab ', 'MT', 90, 80, 60, 0, 20, 90, 70, 280, 'Yes', '01', ' ', 4, 4, 5, 5, 1, '2024-06-21 12:23:06', 1, '2024-06-21 12:23:06', 0),
(2, 'GRN02', '2', '2024-06-21 06:53:08', 15, 'sdfdfvdf', 'Thane west , Mumbai ', '03', '90', '90', '03', 'Trimurthi Traders', '8080737805', 'WareHouse 4 , Section D', 'MH001144', '7.00', 10, '2024-06-22 12:00:00', 1, 'M002', 'DEMO 111', 'Kg', 90, 90, 60, 0, 30, 20, 90, 630, 'Yes', '04', ' ', 2, 3, 4, 5, 1, '2024-06-21 12:23:57', 1, '2024-06-21 12:23:57', 0),
(3, 'GRN03', '3', '2024-06-28 12:30:13', 9, 'yd', 'dsbsde', 'ABCD0011', 'BILLNO11', '70', '70', 'Trimurthi Traders', '8080737805', 'thane', 'MH001142', '9090.00', 50, '2024-06-29 11:00:00', 4, 'M001', 'plastic Scrab ', 'MT', 600, 500, 100, 0, 400, 40, 460, 4181400, 'Yes', '0123456', 'DownloadReport (3).pdf', 4, 4, 4, 4, 1, '2024-06-28 18:02:24', 1, '2024-06-28 18:02:24', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_invoice`
--

CREATE TABLE `mm_invoice` (
  `invoice_id` int(11) NOT NULL,
  `po_no` varchar(255) NOT NULL,
  `grn_no` varchar(255) NOT NULL,
  `invoice_no` varchar(100) NOT NULL,
  `supplier_name` varchar(100) NOT NULL,
  `email_id` varchar(100) NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `gst` decimal(10,2) NOT NULL,
  `other_taxes` decimal(10,2) NOT NULL,
  `handling_cost` decimal(10,2) NOT NULL,
  `transport_cost` decimal(10,2) NOT NULL,
  `total_cost` decimal(10,2) NOT NULL,
  `date` date NOT NULL,
  `raised_by` varchar(20) NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_invoice`
--

INSERT INTO `mm_invoice` (`invoice_id`, `po_no`, `grn_no`, `invoice_no`, `supplier_name`, `email_id`, `price`, `gst`, `other_taxes`, `handling_cost`, `transport_cost`, `total_cost`, `date`, `raised_by`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 'PO-PLT-002', 'GRN02', 'INV-2024-001', 'Supplier A', 'supplierA@example.com', 1000.00, 50.00, 20.00, 10.00, 15.00, 1095.00, '2024-05-22', 'John Doe', 1, '2024-05-22 13:49:40', 1, '2024-05-22 13:49:40', 0),
(2, 'PO-PLT-001', 'GRN01', 'INV-2024-002', 'Supplier B', 'supplierB@example.com', 1500.00, 75.00, 30.00, 12.00, 20.00, 1637.00, '2024-05-23', 'Jane Smith', 1, '2024-05-22 13:49:40', 1, '2024-05-22 13:49:40', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_invoices`
--

CREATE TABLE `mm_invoices` (
  `invoice_id` int(11) NOT NULL,
  `po_id` int(11) NOT NULL,
  `invoice_number` varchar(255) NOT NULL,
  `invoice_date` date NOT NULL,
  `additional_charges` decimal(10,2) NOT NULL,
  `mat_sub_total` decimal(10,2) NOT NULL,
  `tax_sub_total` decimal(10,2) NOT NULL,
  `grand_total` decimal(10,2) NOT NULL,
  `status` enum('P','A','R','RE') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved,\r\nR=Reject,\r\nRE=Revise',
  `closed_invoice` enum('Yes','No') NOT NULL DEFAULT 'No',
  `invoice_send` enum('Yes','No') NOT NULL DEFAULT 'No',
  `invoice_send_by` int(11) DEFAULT NULL,
  `invoice_send_date` datetime DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_invoices`
--

INSERT INTO `mm_invoices` (`invoice_id`, `po_id`, `invoice_number`, `invoice_date`, `additional_charges`, `mat_sub_total`, `tax_sub_total`, `grand_total`, `status`, `closed_invoice`, `invoice_send`, `invoice_send_by`, `invoice_send_date`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, 1, 'INV001', '2024-09-06', 30.00, 45000.00, 7650.00, 52680.00, 'A', 'Yes', 'Yes', 1, '2024-09-06 10:14:18', 1, '2024-09-06 10:12:54', 1, '2024-09-06 10:14:32', 0, 0),
(2, 1, 'INV001', '2024-09-06', 100.00, 45000.00, 7650.00, 52750.00, 'A', 'Yes', 'Yes', 26, '2024-09-06 14:47:24', 26, '2024-09-06 14:45:55', 0, '2024-09-06 14:49:08', 0, 0),
(3, 2, 'INV003', '2024-09-06', 1000.00, 300000.00, 60000.00, 361000.00, 'A', 'Yes', 'No', NULL, NULL, 26, '2024-09-06 14:51:17', 0, '2024-09-20 09:57:35', 0, 0),
(4, 5, 'Inv123', '2024-09-20', 0.00, 3000000.00, 1140000.00, 4140000.00, 'P', 'No', 'No', NULL, NULL, 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(5, 5, 'Inv123', '2024-09-20', 0.00, 3000000.00, 1140000.00, 4140000.00, 'P', 'No', 'No', NULL, NULL, 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(6, 6, 'INV0006', '2024-09-20', 500.00, 135000.00, 13500.00, 149000.00, 'A', 'No', 'Yes', 1, '2024-09-20 12:59:40', 1, '2024-09-20 12:59:11', 0, '2024-09-20 12:59:40', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_invoices_approval`
--

CREATE TABLE `mm_invoices_approval` (
  `approved_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `status` enum('P','A','R','RE') NOT NULL DEFAULT 'P',
  `status_reason` varchar(100) NOT NULL,
  `approved_by` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) DEFAULT NULL,
  `updated_on` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_invoices_approval`
--

INSERT INTO `mm_invoices_approval` (`approved_id`, `invoice_id`, `status`, `status_reason`, `approved_by`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(1, 1, 'A', '', '1', 1, '2024-09-06 10:13:51', NULL, '2024-09-06 10:13:51'),
(2, 2, 'A', '', '26', 26, '2024-09-06 14:47:03', NULL, '2024-09-06 14:47:03'),
(3, 3, 'A', '', '1', 1, '2024-09-20 09:56:10', NULL, '2024-09-20 09:56:10'),
(4, 6, 'A', '', '1', 1, '2024-09-20 12:59:18', NULL, '2024-09-20 12:59:18');

-- --------------------------------------------------------

--
-- Table structure for table `mm_invoices_company_approvals`
--

CREATE TABLE `mm_invoices_company_approvals` (
  `mm_invoices_company_approvals_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `status` enum('P','A','R') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved,\r\nR=Reject',
  `status_reason` text NOT NULL,
  `status_by` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_invoices_company_approvals`
--

INSERT INTO `mm_invoices_company_approvals` (`mm_invoices_company_approvals_id`, `invoice_id`, `status`, `status_reason`, `status_by`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, 1, 'A', '', 1, 1, '2024-09-06 10:58:29', 0, NULL, 0, 1),
(2, 2, 'A', 'TEST ', 1, 1, '2024-09-06 14:47:49', 0, '2024-09-06 14:48:09', 0, 1),
(3, 6, 'A', '', 1, 1, '2024-09-20 13:00:06', 0, NULL, 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `mm_invoices_materials`
--

CREATE TABLE `mm_invoices_materials` (
  `mm_invoice_material_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `company` varchar(255) NOT NULL,
  `material_name` varchar(255) DEFAULT NULL,
  `mat_quantity` varchar(255) NOT NULL,
  `mat_unit` varchar(255) NOT NULL,
  `mat_unit_price` decimal(10,2) NOT NULL,
  `mat_sub_total` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_invoices_materials`
--

INSERT INTO `mm_invoices_materials` (`mm_invoice_material_id`, `invoice_id`, `company`, `material_name`, `mat_quantity`, `mat_unit`, `mat_unit_price`, `mat_sub_total`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, 1, 'Google', 'Plastic Material ', '50', 'KG', 900.00, '', 1, '2024-09-06 10:12:54', 1, '2024-09-06 10:13:30', 0, 0),
(2, 2, 'Google', 'Plastic Material ', '50', 'KG', 900.00, '', 26, '2024-09-06 14:45:55', 0, '2024-09-06 14:45:55', 0, 0),
(3, 3, 'Google', 'Plastic Material ', '100', 'KG', 1000.00, '', 26, '2024-09-06 14:51:17', 0, '2024-09-06 14:51:17', 0, 0),
(4, 3, 'Google', 'test ', '100', 'kg', 2000.00, '', 26, '2024-09-06 14:51:17', 0, '2024-09-06 14:51:17', 0, 0),
(5, 4, 'Google', '', '200', 'LTR ', 6000.00, '', 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(6, 4, 'Google', '', '200', 'KG', 6000.00, '', 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(7, 4, 'Google', '', '100', 'kg', 6000.00, '', 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(8, 5, 'Google', '', '200', 'LTR ', 6000.00, '', 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(9, 5, 'Google', '', '200', 'KG', 6000.00, '', 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(10, 5, 'Google', '', '100', 'kg', 6000.00, '', 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(11, 6, 'Google', '', '10', 'Ton', 13500.00, '', 1, '2024-09-20 12:59:11', 0, '2024-09-20 12:59:11', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_invoices_taxes`
--

CREATE TABLE `mm_invoices_taxes` (
  `mm_invoices_taxes_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `taxes` varchar(255) NOT NULL,
  `percent` varchar(255) NOT NULL,
  `tax_amount` decimal(10,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_invoices_taxes`
--

INSERT INTO `mm_invoices_taxes` (`mm_invoices_taxes_id`, `invoice_id`, `taxes`, `percent`, `tax_amount`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, 1, 'INCOME TAX', '5', 2250.00, 1, '2024-09-06 10:12:54', 1, '2024-09-06 10:13:30', 0, 0),
(2, 1, 'INCOME TAX', '5', 2250.00, 1, '2024-09-06 10:12:54', 1, '2024-09-06 10:13:30', 0, 0),
(3, 2, 'INCOME TAX', '5', 2250.00, 26, '2024-09-06 14:45:55', 0, '2024-09-06 14:45:55', 0, 0),
(4, 2, 'GST ', '12', 5400.00, 26, '2024-09-06 14:45:55', 0, '2024-09-06 14:45:55', 0, 0),
(5, 3, 'demo tax 342', '15', 45000.00, 26, '2024-09-06 14:51:17', 0, '2024-09-06 14:51:17', 0, 0),
(6, 3, 'INCOME TAX', '5', 15000.00, 26, '2024-09-06 14:51:17', 0, '2024-09-06 14:51:17', 0, 0),
(7, 4, 'demo tax 342', '15', 450000.00, 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(8, 4, 'INCOME TAX', '5', 150000.00, 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(9, 4, 'demo tax123', '18', 540000.00, 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(10, 5, 'demo tax 342', '15', 450000.00, 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(11, 5, 'INCOME TAX', '5', 150000.00, 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(12, 5, 'demo tax123', '18', 540000.00, 1, '2024-09-20 09:55:17', 0, '2024-09-20 09:55:17', 0, 0),
(13, 6, 'demo tax789', '10', 13500.00, 1, '2024-09-20 12:59:11', 0, '2024-09-20 12:59:11', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_invoice_approved`
--

CREATE TABLE `mm_invoice_approved` (
  `approved_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `status` enum('accept','reject','revise') NOT NULL,
  `status_reason` varchar(100) NOT NULL,
  `approved_by` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) DEFAULT NULL,
  `updated_on` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_invoice_closed`
--

CREATE TABLE `mm_invoice_closed` (
  `invoice_closed_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `utr_no` int(11) NOT NULL,
  `closed_by` int(11) NOT NULL,
  `closed_date` datetime NOT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_invoice_closed`
--

INSERT INTO `mm_invoice_closed` (`invoice_closed_id`, `invoice_id`, `utr_no`, `closed_by`, `closed_date`, `created_by`, `created_date`, `is_delete`, `company_id`) VALUES
(1, 1, 555, 1, '2024-09-06 10:11:00', 1, '2024-09-06 10:14:32', 0, 0),
(2, 2, 0, 26, '2024-09-06 14:50:00', 26, '2024-09-06 14:49:08', 0, 0),
(3, 3, 12344, 1, '2024-09-20 09:55:00', 1, '2024-09-20 09:57:35', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_materials`
--

CREATE TABLE `mm_materials` (
  `material_id` int(11) NOT NULL,
  `plant_code` varchar(255) NOT NULL,
  `material_code` varchar(255) NOT NULL,
  `material_name` varchar(255) NOT NULL,
  `title` text NOT NULL,
  `brief_description` text NOT NULL,
  `technical_description` text NOT NULL,
  `commercial_description` text NOT NULL,
  `unit_code` varchar(100) NOT NULL,
  `average_price` varchar(100) NOT NULL,
  `bin_location` text NOT NULL,
  `preservation_code` varchar(100) NOT NULL,
  `category` varchar(255) NOT NULL,
  `hsn_code` varchar(255) NOT NULL,
  `minimum_balance` varchar(40) NOT NULL,
  `quantity` varchar(250) NOT NULL,
  `reorder_level` varchar(40) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_materials`
--

INSERT INTO `mm_materials` (`material_id`, `plant_code`, `material_code`, `material_name`, `title`, `brief_description`, `technical_description`, `commercial_description`, `unit_code`, `average_price`, `bin_location`, `preservation_code`, `category`, `hsn_code`, `minimum_balance`, `quantity`, `reorder_level`, `cmp_id`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 'PLT001', 'M001', 'Plastic Material ', 'Plastic Material ', 'plastic Scrab ', '', '', 'KG', '1000', 'Thane Mumbai ', 'nvj200', 'vital', 'hghb87890', '2000', '23', 'l1', 1, 1, '2024-08-12 14:06:57', 1, '2024-08-12 14:06:57', 0),
(2, 'PLT003', 'M002', 'test ', 'test ', 'scrab', '', '', 'kg', '5000', 'airoli ', 'abcd', 'vital', 'btghtg', '2000', '100', 'advcv', 1, 1, '2024-08-13 10:56:22', 0, '2024-08-13 10:56:22', 0),
(4, 'PLT010,PLT001,PLT001,PLT010,PLT001,PLT001', 'M003', 'ACID', 'acid ', ' A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', '', '', 'KG,LTR ', '5000', 'united kingdom,Thane Mumbai ,Thane Mumbai ,united kingdom,Thane Mumbai ,Thane Mumbai ', 'PRC123', '', 'HSN0123', '5000', '1000', 'REO0123', 1, 1, '2024-08-13 13:41:23', 1, '2024-08-13 13:41:23', 0),
(5, 'PLT002,PLT001', 'M004', 'Brass', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '', '', 'Gm,KG', '5000', 'Navi Mumbai,Thane Mumbai ', 'PREC123456', 'essential', 'HSN123456', '2000', '1000', 'REL123456', 1, 1, '2024-08-13 13:53:27', 0, '2024-08-13 13:53:27', 0),
(6, 'PLT001', 'M005', 'Plastic Material ', 'Plastic Material ', 'Plastic is a material consisting of a wide range of synthetic or semi-synthetic organic compounds that are malleable and, therefore, can be molded into solid objects. Plasticity is the general property of all materials that involves permanent deformation without breaking.', '', '', 'KG ', '50000', 'Thane Mumbai ', 'PRESC87890', 'desirable', 'HSNC87890', '2000', '1000', '5000', 1, 1, '2024-08-13 14:07:10', 0, '2024-08-13 14:07:10', 0),
(7, 'PLT006,PLT006,PLT009,PLT008,PLT003', 'M006', 'Copper', 'Copperrrrrrrrrrrrrrrrrrrrr', 'ok', '', '', 'MT,Kg,Ton', '7000', 'Section 2, warehouse 3,Section 2, warehouse 3,Thane Mumbai ', 'PREC87890', '', 'HSNC87890', '2000', '500', '1000', 1, 1, '2024-08-13 14:26:00', 1, '2024-08-13 14:26:00', 0),
(8, 'PLT006,PLT006,PLT008', 'MAT08', 'no need', 'Steel123', 'ok', '', '', 'Ton,Ton,MT,Kg', '1000', 'Section 4, warehouse 1 ,Section 4, warehouse 1 ,Section 2, warehouse 1 ', '00', '', '0001.01.01', '200', 'no need', '80', 1, 1, '2024-08-14 11:20:28', 0, '2024-08-14 11:20:28', 0),
(9, 'PLT006,PLT006,PLT009,PLT008', 'MAT09', 'Nikalo wwwwww', 'Jabba456', 'ok ok ', '', '', 'MT,MT,Kg,Ton', '1500', 'Section 2, warehouse 3,Section 2, warehouse 3', 'Khulla Rakh', '', '0001.01.01', '200', '0', '100', 1, 1, '2024-08-22 13:13:06', 1, '2024-08-22 13:13:06', 1),
(10, 'PLT001,PLT003', 'MAT010', 'demo321', '', 'demo321', '', '', '54,54,52', '3000', 'mumbai,mumbai', 'P001', '3', 'Hsn001', '5000', '', '5', 1, 1, '2024-08-31 14:37:08', 0, '2024-08-31 14:37:08', 1),
(11, 'PLT009,PLT012', 'MAT011', 'demo Material 789', '', '789', '', '', 'Kg,Ton,MT', '15000', 'Section 2, warehouse 9,Section 2, warehouse 1 ', 'no need', '29', '0001.01.01', '200', '', '100', 1, 1, '2024-09-20 11:53:46', 0, '2024-09-20 11:53:46', 0),
(12, 'PLT016', 'MAT012', 'Steel ', '', 'Steel is the world s most important engineering and construction material.', '', '', 'Ton,KG', '3000', 'Thane ', 'Pcode120001', '30', 'MAT120001', '5000', '', '1000', 1, 1, '2024-09-25 16:35:37', 0, '2024-09-25 16:35:37', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_material_category`
--

CREATE TABLE `mm_material_category` (
  `material_category_id` int(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `category_name` varchar(40) DEFAULT NULL,
  `description` varchar(40) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL,
  `created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `updated_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_material_category`
--

INSERT INTO `mm_material_category` (`material_category_id`, `cmp_id`, `category_name`, `description`, `status`, `created_date`, `created_by`, `updated_date`, `updated_by`, `is_delete`) VALUES
(31, 1, ' Metals', 'iron, cast iron, steel, and carbon steel', 'active', '2024-09-25 17:41:38', 1, '2024-09-25 17:41:38', 1, 0),
(32, 1, 'Composite material', 'the mixture of multiple materials', 'active', '2024-09-25 17:42:22', 1, '2024-09-25 17:42:22', 1, 0),
(33, 1, 'Glass', 'materials are hard, brittle, and noncrys', 'active', '2024-09-25 17:43:08', 1, '2024-09-25 17:43:08', 1, 0),
(34, 1, 'Wood', 'Wood is a composite material ', 'active', '2024-09-25 17:43:36', 1, '2024-09-25 17:43:36', 1, 0),
(35, 1, 'Plastic', 'Thermoplastics are heated and then mould', 'active', '2024-09-25 17:44:15', 1, '2024-09-25 17:44:15', 0, 0),
(36, 1, 'Alloys', 'a mixture of chemical elements', 'active', '2024-09-25 17:45:03', 1, '2024-09-25 17:45:03', 1, 0),
(37, 1, 'Metal12', 'dd', 'active', '2024-10-10 17:28:19', 1, '2024-10-10 17:28:19', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_material_consumed`
--

CREATE TABLE `mm_material_consumed` (
  `mm_material_consumed_id` int(11) NOT NULL,
  `material_id` int(11) NOT NULL,
  `mat_qty` int(11) NOT NULL,
  `mat_description` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_material_consumed`
--

INSERT INTO `mm_material_consumed` (`mm_material_consumed_id`, `material_id`, `mat_qty`, `mat_description`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 2, 30, 'test', 1, '2024-09-09 16:27:22', 0, '2024-09-09 16:27:22', 0),
(2, 1, 10, 'demo test', 1, '2024-09-09 16:28:00', 0, '2024-09-09 16:28:00', 0),
(3, 1, 30, 'demo test', 1, '2024-09-09 17:32:55', 0, '2024-09-09 17:32:55', 0),
(4, 3, 50, 'test', 1, '2024-09-09 17:36:56', 0, '2024-09-09 17:36:56', 0),
(5, 1, 20, 'demo test', 1, '2024-09-11 11:16:47', 0, '2024-09-11 11:16:47', 0),
(6, 1, 23, 'Plastic Material Description', 1, '2024-09-16 11:47:53', 0, '2024-09-16 11:47:53', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_payments_terms`
--

CREATE TABLE `mm_payments_terms` (
  `payment_terms_id` int(11) NOT NULL,
  `payment_terms` text NOT NULL,
  `status` varchar(255) NOT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) DEFAULT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `company_id` int(11) NOT NULL,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_payments_terms`
--

INSERT INTO `mm_payments_terms` (`payment_terms_id`, `payment_terms`, `status`, `created_by`, `created_on`, `updated_by`, `updated_on`, `company_id`, `is_delete`) VALUES
(1, 'Payment in advance', 'active', 1, '2024-07-31 09:48:42', 1, '2024-09-19 18:30:16', 1, 0),
(2, '2%/10 Net 30 days', 'active', 1, '2024-08-22 16:25:43', 1, '2024-09-20 16:58:55', 1, 1),
(3, 'Net 30 days', 'active', 1, '2024-09-04 16:23:49', 1, '2024-09-19 18:29:10', 1, 0),
(11, 'Cash on delivery', 'active', 1, '2024-09-19 18:30:31', NULL, '2024-09-19 18:30:31', 1, 0),
(12, 'Due upon receipttttt', 'active', 1, '2024-09-19 18:30:44', 1, '2024-09-20 12:11:08', 1, 1),
(13, '50-502252', 'active', 1, '2024-09-20 12:10:52', 1, '2024-09-20 16:59:33', 1, 0),
(14, 'ABC', 'active', 1, '2024-09-20 16:59:56', NULL, '2024-09-20 16:59:56', 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_permissions`
--

CREATE TABLE `mm_permissions` (
  `permission_id` int(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `module` varchar(40) NOT NULL,
  `sub_module` varchar(40) NOT NULL,
  `permissions` varchar(255) NOT NULL,
  `department` varchar(255) NOT NULL,
  `designation` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_permissions`
--

INSERT INTO `mm_permissions` (`permission_id`, `cmp_id`, `module`, `sub_module`, `permissions`, `department`, `designation`, `description`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 0, '1', '1', 'Permission 1', '1', '1', 'test', 1, '2024-06-14 10:01:25', 0, '2024-06-14 10:01:25', 1),
(2, 0, '2', '2', 'Permission 1', '1', '1', 'test2', 1, '2024-06-14 10:01:38', 0, '2024-06-14 10:01:38', 0),
(3, 0, '3', '3', 'AEDA', '5', '2', 'testing', 1, '2024-06-14 10:23:13', 1, '2024-06-14 10:23:13', 0),
(4, 0, '1', '1', 'IT', '1', '3', 'development', 1, '2024-06-14 13:51:04', 0, '2024-06-14 13:51:04', 0),
(5, 0, '5', '5', 'add demo ', '1', '1', 'fvdfvdf', 1, '2024-06-14 18:24:34', 0, '2024-06-14 18:24:34', 0),
(6, 0, '5', '5', 'DELETE', '1', '1', 'FBFGNB', 1, '2024-06-14 18:25:11', 0, '2024-06-14 18:25:11', 1),
(7, 0, '3', '3', 'AED', '6', '4', 'Test', 1, '2024-06-15 09:48:09', 1, '2024-06-15 09:48:09', 0),
(8, 0, '6', '6', 'All Permission', '10', '9', 'testing demo IT TL', 1, '2024-06-15 16:35:05', 0, '2024-06-15 16:35:05', 0),
(9, 0, '2', '7', 'dghdzfh', '5', '2', 'sgxfhdfhdf', 1, '2024-06-17 15:17:01', 0, '2024-06-17 15:17:01', 1),
(10, 0, '2', '2', 'sgsdg', '8', '6', 'fncfhdfh456', 1, '2024-06-17 15:17:11', 1, '2024-06-17 15:17:11', 1),
(11, 0, '9', '10', 'AED', '13', '13', '123', 1, '2024-06-24 10:36:58', 0, '2024-06-24 10:36:58', 0),
(12, 1, '5', '5', 'ops', '6', '--Select Designation--', 'description', 1, '2024-06-25 17:51:46', 1, '2024-06-25 17:51:46', 1),
(13, 1, '1', '11', 'asdda', '2', '28', 'dasdas', 1, '2024-06-26 14:17:15', 0, '2024-06-26 14:17:15', 0),
(14, 1, '16', '13', 'Lab', '2', '28', 'fsdfsdf', 1, '2024-06-26 17:16:01', 0, '2024-06-26 17:16:01', 0),
(15, 1, '16', '13', 'Staff Head', '2', '28', 'adadasd', 1, '2024-06-26 17:16:26', 0, '2024-06-26 17:16:26', 0),
(16, 1, '19', '16', 'All Permissions ', '17', '30', 'Testing ', 1, '2024-06-29 13:35:30', 1, '2024-06-29 13:35:30', 0),
(17, 1, '18', '2', 'add edit delete', '22', '36', 'demo test', 1, '2024-06-29 13:52:35', 1, '2024-06-29 13:52:35', 0),
(18, 1, '0', '0', 'Add, Edit, Delete', '19', '0', 'teeessttt', 1, '2024-08-14 10:24:15', 0, '2024-08-14 10:24:15', 0),
(19, 1, '0', '0', 'Approve, Reject, Revise', '19', '0', 'habibi', 1, '2024-08-22 12:42:55', 0, '2024-08-22 12:42:55', 0),
(20, 1, '0', '0', 'AED', '29', '0', 'test', 1, '2024-09-20 11:46:36', 0, '2024-09-20 11:46:36', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_permission_module`
--

CREATE TABLE `mm_permission_module` (
  `permission_module_id` int(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `module` varchar(40) NOT NULL,
  `description` text NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_permission_module`
--

INSERT INTO `mm_permission_module` (`permission_module_id`, `cmp_id`, `module`, `description`, `created_on`, `created_by`, `updated_on`, `updated_by`, `is_delete`) VALUES
(1, 1, 'Module 1', 'test', '2024-06-14 10:00:11', 1, '2024-06-14 10:00:11', 0, 1),
(2, 1, 'Module 123', 'testing ', '2024-06-14 10:00:25', 1, '2024-06-14 10:00:25', 1, 1),
(3, 1, 'PR', 'Purchase Requization', '2024-06-14 10:22:22', 1, '2024-06-14 10:22:22', 1, 0),
(4, 1, 'OPS', 'Operations', '2024-06-14 13:15:40', 1, '2024-06-14 13:15:40', 0, 0),
(5, 1, 'demo0000000000000000000000000', 'ffgbfg', '2024-06-14 18:23:37', 1, '2024-06-14 18:23:37', 1, 1),
(6, 1, 'Module 11', 'Module 11', '2024-06-15 16:29:01', 1, '2024-06-15 16:29:01', 0, 0),
(7, 1, 'ftyhxdty', 'dxtuyxdtu', '2024-06-17 15:15:52', 1, '2024-06-17 15:15:52', 0, 1),
(8, 1, 'rdgerh', 'gnxcvb', '2024-06-17 15:15:56', 1, '2024-06-17 15:15:56', 0, 1),
(9, 1, 'PR123', '123', '2024-06-24 10:35:12', 1, '2024-06-24 10:35:12', 1, 0),
(15, 1, 'mm', 'module', '2024-06-25 16:23:42', 1, '2024-06-25 16:23:42', 0, 0),
(16, 1, 'Inventry', 'Inventry Management', '2024-06-26 17:08:13', 1, '2024-06-26 17:08:13', 0, 0),
(17, 1, 'PO', 'PO module\r\n', '2024-06-26 17:08:27', 1, '2024-06-26 17:08:27', 0, 0),
(18, 1, 'RFQ', 'RFQ module', '2024-06-26 17:08:39', 1, '2024-06-26 17:08:39', 0, 0),
(19, 1, 'PR', 'test ', '2024-06-29 13:17:56', 1, '2024-06-29 13:17:56', 0, 0),
(20, 1, 'RFQ ', 'sfdsfds', '2024-06-29 13:50:04', 1, '2024-06-29 13:50:04', 0, 0),
(21, 1, 'RFQ ', 'sfdsfds', '2024-06-29 13:50:05', 1, '2024-06-29 13:50:05', 0, 1),
(22, 1, 'RFQ ', 'sfdsfds', '2024-06-29 13:50:24', 1, '2024-06-29 13:50:24', 0, 1),
(0, 1, 'PR123', 'testttiiinggg', '2024-08-14 10:21:10', 1, '2024-08-14 10:21:10', 0, 0),
(0, 1, 'RFQ456', 'jabba', '2024-08-22 12:39:58', 1, '2024-08-22 12:39:58', 0, 0),
(0, 1, 'MOD789', 'MOD789', '2024-09-20 11:45:59', 1, '2024-09-20 11:45:59', 0, 0),
(0, 1, 'test 27-09-24', 'test 27-09-24', '2024-09-27 13:38:16', 1, '2024-09-27 13:38:16', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_permission_submodule`
--

CREATE TABLE `mm_permission_submodule` (
  `permission_sub_module_id` int(11) NOT NULL,
  `permission_module_id` int(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `sub_module` varchar(40) NOT NULL,
  `description` text NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_permission_submodule`
--

INSERT INTO `mm_permission_submodule` (`permission_sub_module_id`, `permission_module_id`, `cmp_id`, `sub_module`, `description`, `created_on`, `created_by`, `updated_on`, `updated_by`, `is_delete`) VALUES
(1, 1, 1, 'Priyanka601', 'Demo Test', '2024-06-14 10:00:47', 1, '2024-06-14 10:00:47', 0, 1),
(2, 18, 1, 'Priyanka403', 'admin test', '2024-06-14 10:01:04', 1, '2024-06-14 10:01:04', 1, 0),
(3, 3, 1, 'A,E,D,A', 'PR DESC', '2024-06-14 10:22:44', 1, '2024-06-14 10:22:44', 1, 0),
(4, 1, 1, 'Sub module 1', 'sub module description', '2024-06-14 13:26:19', 1, '2024-06-14 13:26:19', 0, 0),
(5, 5, 1, 'demo add', ' xcv bfg', '2024-06-14 18:23:53', 1, '2024-06-14 18:23:53', 0, 0),
(6, 6, 1, 'SUB Module 11', 'SUB Module 11', '2024-06-15 16:31:44', 1, '2024-06-15 16:31:44', 0, 0),
(7, 2, 1, 'rgrg', 'rghreterdf', '2024-06-17 15:16:12', 1, '2024-06-17 15:16:12', 0, 0),
(8, 4, 1, 'dghzdfh', 'dfghdzfh', '2024-06-17 15:16:16', 1, '2024-06-17 15:16:16', 0, 0),
(9, 7, 1, 'srhdr', 'hfhdzfh', '2024-06-17 15:16:20', 1, '2024-06-17 15:16:20', 0, 0),
(10, 9, 1, 'SPR123', '123\r\n', '2024-06-24 10:36:09', 1, '2024-06-24 10:36:09', 0, 0),
(11, 1, 1, 'Accocoation', 'DEScriptio111', '2024-06-25 16:51:48', 1, '2024-06-25 16:51:48', 1, 1),
(12, 16, 1, 'HSN', 'HSN code', '2024-06-26 17:10:41', 1, '2024-06-26 17:10:41', 0, 0),
(13, 16, 1, 'GRN ', 'GRN code', '2024-06-26 17:10:55', 1, '2024-06-26 17:10:55', 0, 0),
(14, 16, 1, 'inventrygll', 'inventry description', '2024-06-26 17:11:32', 1, '2024-06-26 17:11:32', 0, 0),
(15, 17, 1, 'PO sub module', 'description sub module', '2024-06-26 17:14:56', 1, '2024-06-26 17:14:56', 0, 0),
(16, 19, 1, 'EFGH', 'EFGH ', '2024-06-29 13:20:07', 1, '2024-06-29 13:20:07', 0, 0),
(17, 20, 1, 'RFQ 1', 'bcvbcvb ', '2024-06-29 13:50:59', 1, '2024-06-29 13:50:59', 0, 0),
(0, 0, 1, 'PRX123', 'testttri', '2024-08-14 10:22:17', 1, '2024-08-14 10:22:17', 0, 0),
(0, 0, 1, 'RFQapprove456', 'dabba', '2024-08-22 12:41:19', 1, '2024-08-22 12:41:19', 0, 0),
(0, 0, 1, 'SubMod789', 'SubMod789', '2024-09-20 11:46:14', 1, '2024-09-20 11:46:14', 0, 0),
(0, 0, 1, 'testing 27-09-24', 'testing 27-09-24', '2024-09-27 13:39:55', 1, '2024-09-27 13:39:55', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_plants`
--

CREATE TABLE `mm_plants` (
  `plant_id` int(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `plant_code` varchar(255) NOT NULL,
  `plant_name` varchar(255) NOT NULL,
  `location_one` text NOT NULL,
  `location_two` text NOT NULL,
  `location_three` text NOT NULL,
  `description` text NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_plants`
--

INSERT INTO `mm_plants` (`plant_id`, `cmp_id`, `plant_code`, `plant_name`, `location_one`, `location_two`, `location_three`, `description`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 1, 'PLT001', 'Pune', 'Wagle Estate', 'Thane West, Maharashtra', '400604', 'Iron', 1, '2024-06-25 14:14:36', 0, '2024-06-25 14:14:36', 1),
(2, 1, 'PLT002', 'Mumbai', 'Mulund', 'Mumbai,Maharashtra', '890797v FWEFFWFFVF', 'Ironnnnnnnnnnnnnnn', 1, '2024-06-25 14:15:16', 1, '2024-06-25 14:15:16', 1),
(3, 1, 'PLT003', 'Reliance', 'Bandra', 'Worli', '400708', 'Steel plant', 1, '2024-06-26 16:07:21', 0, '2024-06-26 16:07:21', 0),
(4, 1, 'PLT004', 'Navi mumbai  ', 'Vashi', 'Navi mumbai ', '726392', 'Demo Test ', 1, '2024-06-29 12:01:01', 0, '2024-06-29 12:01:01', 0),
(5, 1, 'PLT005', 'Navi mumbai ', 'Dombivali', 'Navi mumbai ', '799033', 'dasas', 1, '2024-06-29 12:37:20', 0, '2024-06-29 12:37:20', 0),
(6, 1, 'PLT006', 'LOTUS 1', 'Opal Square, Thane West, Mumbai ', 'Mumbai 400604', 'Maharashtra,India', 'lotus', 1, '2024-07-08 12:18:35', 1, '2024-07-08 12:18:35', 0),
(7, 1, 'PLT007', 'ROSE ', 'Lundun', 'united kingdom', 'united kingdom', 'demo 1', 1, '2024-08-14 10:04:40', 1, '2024-08-14 10:04:40', 1),
(8, 1, 'PLT008', 'Demoyd', '1', '2', '3', 'testing', 1, '2024-08-14 10:05:14', 0, '2024-08-14 10:05:14', 0),
(9, 1, 'PLT009', 'Demoyd456', '4', '5', '6', 'testing', 1, '2024-08-22 12:26:31', 0, '2024-08-22 12:26:31', 0),
(10, 1, 'PLT010', 'united kingdom', 'united kingdom', 'united kingdom', 'Flitton', 'Bhagyashri ', 1, '2024-08-30 09:42:50', 0, '2024-08-30 09:42:50', 0),
(11, 1, 'PLT011', 'MUMBAI 12123423235', 'Thane ', 'Thane 1', 'Mumbai ', 'Testing ', 1, '2024-08-31 10:09:18', 1, '2024-08-31 10:09:18', 1),
(12, 1, 'PLT012', 'Demoyd789', '1', '2', '3', 'testing', 1, '2024-09-20 11:42:28', 0, '2024-09-20 11:42:28', 1),
(13, 1, 'PLT013', 'Thane', 'demo add 1', 'demo add 2', 'demo add 3', 'test321', 1, '2024-09-20 13:47:30', 0, '2024-09-20 13:47:30', 0),
(14, 4, 'PLT014', 'Navi mumbai', 'mumbai', 'Navi mumbai, ', 'mumbai, 600704', 'PLT014, Navi mumbai', 3, '2024-09-23 13:28:49', 0, '2024-09-23 13:28:49', 0),
(15, 4, 'PLT015', 'wwwwwwwwwwwww', 'sssssssssssssss', 'aaaaaaaaaaaaaaaa', 'a112121', 'demo 1', 1, '2024-09-23 14:40:00', 0, '2024-09-23 14:40:00', 0),
(16, 1, 'PLT016', 'PLANT 001', 'THANE', 'THANE WEST', 'Mumbai', 'TESTING', 12, '2024-09-25 14:28:23', 1, '2024-09-25 14:28:23', 0),
(17, 1, 'PLT017', 'Mumbai', '', 'Mumbai', 'Mumbai', 'sfsfsd', 1, '2025-02-19 16:10:16', 0, '2025-02-19 16:10:16', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_plant_budget`
--

CREATE TABLE `mm_plant_budget` (
  `plant_budget_id` int(11) NOT NULL,
  `plant_id` int(11) NOT NULL,
  `cmp_id` int(11) NOT NULL,
  `plant_code` varchar(100) NOT NULL,
  `plant_budget` varchar(100) NOT NULL,
  `company_budget` varchar(100) NOT NULL,
  `available_budget` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_plant_budget`
--

INSERT INTO `mm_plant_budget` (`plant_budget_id`, `plant_id`, `cmp_id`, `plant_code`, `plant_budget`, `company_budget`, `available_budget`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 1, 0, 'PLT001', '800000', '3500000', '3500000', 0, '2024-06-25 15:29:49', 0, '2024-06-25 15:29:49', 0),
(2, 8, 0, 'PLT008', '25000', '3500000', '100000', 0, '2024-08-14 11:45:27', 0, '2024-08-14 11:45:27', 0),
(3, 9, 0, 'PLT009', '150000', '3500000', '175000', 0, '2024-08-22 16:03:16', 0, '2024-08-22 16:03:16', 0),
(4, 10, 0, 'PLT010', '50000', '3500000', '2125000', 0, '2024-08-30 17:54:21', 0, '2024-08-30 17:54:21', 0),
(5, 11, 0, 'PLT011', '100000', '3500000', '2075000', 0, '2024-08-31 11:09:04', 0, '2024-08-31 11:09:04', 0),
(6, 11, 0, '11', '80000', '3500000', '1975000', 0, '2024-08-31 14:14:21', 0, '2024-08-31 14:14:21', 0),
(7, 12, 0, '12', '100000', '3500000', '2075000', 0, '2024-09-20 11:58:07', 0, '2024-09-20 11:58:07', 0),
(8, 16, 0, 'PLT016', '200000', '3500000', '2195000', 0, '2024-09-25 18:06:02', 0, '2024-09-25 18:06:02', 0),
(9, 2, 0, '2', '100000', '3500000', '1995000', 0, '2024-10-10 17:33:11', 0, '2024-10-10 17:33:11', 0),
(10, 3, 0, '3', '50000', '3500000', '1895000', 0, '2024-10-23 14:01:30', 0, '2024-10-23 14:01:30', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_po_approvals`
--

CREATE TABLE `mm_po_approvals` (
  `po_approval_id` int(11) NOT NULL,
  `po_id` int(11) NOT NULL,
  `approval_status` enum('P','A','R','RE') NOT NULL DEFAULT 'P' COMMENT 'P=Pending,A=Approved, R=Reject',
  `approval_remarks` text NOT NULL,
  `approved_by` int(11) NOT NULL,
  `approved_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_po_approvals`
--

INSERT INTO `mm_po_approvals` (`po_approval_id`, `po_id`, `approval_status`, `approval_remarks`, `approved_by`, `approved_date`, `created_by`, `created_on`, `updated_by`, `updated_on`, `company_id`) VALUES
(1, 1, 'A', '123', 1, '2024-06-14 16:48:06', 1, '0000-00-00 00:00:00', 0, '2024-07-01 16:26:21', 1),
(2, 3, 'A', '', 1, '2024-06-15 10:48:02', 1, '0000-00-00 00:00:00', 0, '2024-06-15 10:48:02', 1),
(3, 4, 'A', '1233', 1, '2024-06-15 10:56:20', 1, '0000-00-00 00:00:00', 0, '2024-06-29 12:37:49', 1),
(4, 5, 'A', 'test', 1, '2024-06-15 11:01:08', 1, '0000-00-00 00:00:00', 0, '2024-06-15 11:02:26', 1),
(5, 7, 'A', '', 1, '2024-06-17 18:10:59', 1, '0000-00-00 00:00:00', 0, '2024-06-17 18:10:59', 1),
(6, 2, 'A', '', 1, '2024-06-28 17:51:36', 1, '0000-00-00 00:00:00', 0, '2024-06-28 17:51:36', 1),
(7, 6, 'A', '', 1, '2024-07-06 17:40:19', 1, '0000-00-00 00:00:00', 0, '2024-07-06 17:40:19', 1),
(0, 0, 'A', '', 1, '2024-08-21 13:17:59', 1, '0000-00-00 00:00:00', 0, '2024-08-21 13:17:59', 1),
(0, 8, 'A', '', 1, '2024-09-20 13:36:04', 1, '0000-00-00 00:00:00', 0, '2024-09-20 13:36:04', 1),
(0, 9, 'A', '', 1, '2024-09-20 13:37:44', 1, '0000-00-00 00:00:00', 0, '2024-09-20 13:37:44', 1),
(0, 10, 'A', '', 1, '2024-09-20 14:03:59', 1, '0000-00-00 00:00:00', 0, '2024-09-20 14:03:59', 1),
(0, 12, 'A', '', 1, '2024-10-21 18:21:41', 1, '0000-00-00 00:00:00', 0, '2024-10-21 18:21:41', 1),
(0, 13, 'A', '', 1, '2024-10-25 18:07:39', 1, '0000-00-00 00:00:00', 0, '2024-10-25 18:07:39', 1);

-- --------------------------------------------------------

--
-- Table structure for table `mm_po_invoice`
--

CREATE TABLE `mm_po_invoice` (
  `po_invoice_id` int(11) NOT NULL,
  `po_number` varchar(255) NOT NULL,
  `grn_id` int(11) NOT NULL,
  `grn_number` varchar(255) NOT NULL,
  `invoice_number` varchar(255) NOT NULL,
  `supplier_bill_no` varchar(255) NOT NULL,
  `grn_date` date NOT NULL,
  `invoice_qty` varchar(255) NOT NULL,
  `uom` varchar(100) NOT NULL,
  `currency` varchar(255) NOT NULL,
  `taxes` varchar(255) NOT NULL,
  `status` enum('P','A','R','RE') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved,\r\nR=Reject,\r\nRE=Revise',
  `closed_invoice` enum('Yes','No') NOT NULL DEFAULT 'No',
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_po_invoice`
--

INSERT INTO `mm_po_invoice` (`po_invoice_id`, `po_number`, `grn_id`, `grn_number`, `invoice_number`, `supplier_bill_no`, `grn_date`, `invoice_qty`, `uom`, `currency`, `taxes`, `status`, `closed_invoice`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, '2', 5, 'GRN05', 'INV-2024-001', 'BillNO-2024-001', '2024-05-29', '70', 'MT', '3220', 'GST,SalesTax,VAT', 'A', 'Yes', 2, '2024-06-03 09:48:13', 2, '2024-06-20 13:18:09', 1, 0),
(2, '1', 2, 'GRN02', 'INV-2024-002', 'BillNO-2024-002', '2024-05-27', '30', 'MT', '840', 'SalesTax', 'R', 'No', 2, '2024-06-03 09:48:25', 2, '2024-06-13 10:18:03', 1, 0),
(3, '2', 3, 'GRN03', 'INV-2024-003', 'BillNO-2024-003', '2024-05-28', '70', 'MT', '3325', 'SalesTax', 'A', 'Yes', 2, '2024-06-03 09:48:42', 0, '2024-06-13 10:24:54', 0, 0),
(4, '1', 4, 'GRN04', 'INV-2024-004', 'BillNO-2024-004', '2024-05-28', '200', 'MT', '7200', 'SalesTax,CorporateTax', 'A', 'Yes', 2, '2024-06-03 09:48:57', 0, '2024-06-15 16:35:25', 0, 0),
(5, '1', 2, 'GRN02', 'INV-2024-005', 'BillNO-2024-005', '2024-05-27', '30', 'MT', '840', '', 'A', 'No', 2, '2024-06-05 18:16:42', 0, '2024-06-13 10:17:33', 0, 4);

-- --------------------------------------------------------

--
-- Table structure for table `mm_po_invoice_approvals`
--

CREATE TABLE `mm_po_invoice_approvals` (
  `invoice_approval_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `status` enum('P','A','R','RE') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved,\r\nR=Reject,\r\nRE=Revise',
  `status_reason` text,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_po_invoice_approvals`
--

INSERT INTO `mm_po_invoice_approvals` (`invoice_approval_id`, `invoice_id`, `status`, `status_reason`, `created_by`, `created_on`, `is_delete`, `company_id`) VALUES
(1, 1, 'A', NULL, 2, '2024-06-03 10:20:01', 0, 0),
(2, 2, 'R', 'rejected', 2, '2024-06-03 10:22:05', 0, 0),
(3, 3, 'A', NULL, 2, '2024-06-03 10:25:08', 0, 0),
(4, 4, 'A', NULL, 1, '2024-06-03 10:28:00', 0, 0),
(5, 5, 'A', NULL, 2, '2024-06-13 10:17:33', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_po_invoice_closed`
--

CREATE TABLE `mm_po_invoice_closed` (
  `invoice_closed_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `utr_no` int(11) NOT NULL,
  `closed_by` int(11) NOT NULL,
  `closed_date` datetime NOT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_po_invoice_closed`
--

INSERT INTO `mm_po_invoice_closed` (`invoice_closed_id`, `invoice_id`, `utr_no`, `closed_by`, `closed_date`, `created_by`, `created_date`, `is_delete`, `company_id`) VALUES
(1, 1, 555, 1, '2024-06-12 16:39:00', 2, '2024-06-11 16:39:10', 0, 0),
(2, 3, 666, 3, '2024-06-14 10:24:00', 2, '2024-06-13 10:24:54', 0, 0),
(3, 4, 0, 4, '2024-06-15 16:30:00', 1, '2024-06-15 16:35:25', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_po_masters`
--

CREATE TABLE `mm_po_masters` (
  `po_id` int(11) NOT NULL,
  `po_type` varchar(255) NOT NULL,
  `po_number` varchar(255) NOT NULL,
  `order_date` date NOT NULL,
  `delivery_date` date NOT NULL,
  `rfq_number` varchar(255) DEFAULT NULL,
  `purchase_proposal_no` varchar(255) DEFAULT NULL,
  `po_value` varchar(255) NOT NULL,
  `period_of_supply` varchar(255) NOT NULL,
  `additional_value` varchar(255) NOT NULL,
  `payment_terms` varchar(255) NOT NULL,
  `tax` varchar(255) NOT NULL,
  `total_value` varchar(255) NOT NULL,
  `rate_contract_validity` date DEFAULT NULL,
  `comments` text,
  `quality_standards` varchar(255) DEFAULT NULL,
  `Attachment` varchar(255) NOT NULL,
  `approve_status` enum('P','A','R','RE') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved,\r\nR=Reject,\r\nRE=Revise',
  `approve_status_remark` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_po_masters`
--

INSERT INTO `mm_po_masters` (`po_id`, `po_type`, `po_number`, `order_date`, `delivery_date`, `rfq_number`, `purchase_proposal_no`, `po_value`, `period_of_supply`, `additional_value`, `payment_terms`, `tax`, `total_value`, `rate_contract_validity`, `comments`, `quality_standards`, `Attachment`, `approve_status`, `approve_status_remark`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, 'direct', '41-0001', '2024-09-06', '2024-09-07', NULL, NULL, '45000', '20', '7650', '2', '5,11', '52650', NULL, '', '', '41-0001_materials.xlsx', 'A', '', 1, '2024-09-06 10:09:32', 0, '2024-09-06 10:10:03', 0, 1),
(2, 'direct', '41-0002', '2024-09-06', '2024-09-10', NULL, NULL, '300000', '2', '60000', '1', '4,5', '360000', NULL, '', '', '', 'A', '', 1, '2024-09-06 12:56:26', 0, '2024-09-06 12:57:01', 0, 1),
(3, 'rfq', '41-0003', '2024-09-16', '2024-09-21', '87', '66', '55000000', '10', '20900000', '1', '4,5,7', '75900000', NULL, '', '', '41-0003_RFQ_documents (18).zip', 'A', '', 1, '2024-09-16 16:51:58', 0, '2024-09-16 16:52:04', 0, 1),
(4, 'direct', '41-0004', '2024-09-19', '2024-09-21', NULL, NULL, '200000', '2', '76000', '1', '4,5,7', '276000', NULL, '', '', '', 'A', '', 1, '2024-09-19 17:48:49', 0, '2024-09-19 17:49:15', 0, 1),
(5, 'rfq', '41-0005', '2024-09-19', '2024-09-21', '89', '72', '3000000', '10', '1140000', '1', '4,5,7', '4140000', NULL, '', '', '', 'A', '', 1, '2024-09-19 18:01:35', 0, '2024-09-19 18:01:41', 0, 1),
(6, 'rfq', '41-0006', '2024-09-20', '2024-10-11', '91', '73', '135000', '150', '13500', '13', '14', '148500', NULL, '', '', '', 'A', '', 1, '2024-09-20 12:47:27', 0, '2024-09-20 12:47:50', 0, 1),
(7, 'rfq', '41-0007', '2024-09-20', '2024-09-21', '90', '68', '2000000', '20', '300000', '1', '4', '2300000', NULL, '', '', '', 'A', '', 1, '2024-09-20 13:28:18', 0, '2024-09-20 13:28:24', 0, 1),
(8, 'rfq', '41-0008', '2024-09-20', '2024-09-21', '90', '68', '2000000', '20', '300000', '1', '4', '2300000', NULL, '', '', '', 'A', '', 1, '2024-09-20 13:35:57', 0, '2024-09-20 13:36:04', 0, 1),
(9, 'direct', '41-0009', '2024-09-20', '2024-09-21', NULL, NULL, '3600', '10', '540', '3', '4', '4140', NULL, '', '', '', 'A', '', 1, '2024-09-20 13:37:39', 0, '2024-09-20 13:37:44', 0, 1),
(10, 'rfq', '41-0010', '2024-09-20', '2024-09-21', '91', '', '560000', '150', '84000', '1', '4', '644000', NULL, '', '', '', 'A', '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:59', 0, 1),
(11, 'rfq', '41-0011', '2024-10-21', '2024-10-22', '42', '15', '0', '23', '0', '11', '5', '0', NULL, '', '', '', 'P', '', 1, '2024-10-21 18:21:00', 0, '2024-10-21 18:21:00', 0, 1),
(12, 'rfq', '41-0012', '2024-10-21', '2024-10-22', '42', '15', '450', '23', '22.5', '11', '5', '472.5', NULL, '', '', '', 'A', '', 1, '2024-10-21 18:21:34', 0, '2024-10-21 18:21:41', 0, 1),
(13, 'rate', '41-0013', '2024-10-26', '0000-00-00', '5', '61', '2500', '10', '300', '1', '11', '2800', '2024-11-26', '', '', '', 'A', '', 1, '2024-10-25 18:07:08', 0, '2024-10-25 18:07:39', 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `mm_po_materials`
--

CREATE TABLE `mm_po_materials` (
  `po_material_id` int(11) NOT NULL,
  `po_id` int(11) NOT NULL,
  `po_parent_code` varchar(255) NOT NULL,
  `po_material_code` varchar(255) DEFAULT NULL,
  `rfq_material_relation_id` int(11) NOT NULL DEFAULT '0',
  `material_id` int(11) NOT NULL,
  `material_code` varchar(255) NOT NULL,
  `short_desc` text NOT NULL,
  `long_desc` text NOT NULL,
  `quantity` varchar(255) NOT NULL,
  `unit` varchar(255) NOT NULL,
  `unit_price` varchar(255) NOT NULL,
  `plant` varchar(255) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `mat_attachment` varchar(255) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_po_materials`
--

INSERT INTO `mm_po_materials` (`po_material_id`, `po_id`, `po_parent_code`, `po_material_code`, `rfq_material_relation_id`, `material_id`, `material_code`, `short_desc`, `long_desc`, `quantity`, `unit`, `unit_price`, `plant`, `supplier_id`, `mat_attachment`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, 1, '41-0001', '41-0001-01', 0, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '50', 'KG', '900', '1', 3, '41-0001-01_Monthly review_IT Development_suraj.xlsx', 1, '2024-09-06 10:09:32', 0, '2024-09-06 10:09:32', 0, 1),
(2, 2, '41-0002', '41-0002-01', 0, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1', 1, '', 1, '2024-09-06 12:56:26', 1, '2024-09-06 12:56:54', 0, 1),
(3, 2, '41-0002', '41-0002-02', 0, 2, 'M002', 'test ', 'scrab', '100', 'kg', '2000', '1', 1, '', 1, '2024-09-06 12:56:26', 1, '2024-09-06 12:56:54', 0, 1),
(4, 3, '41-0003', '41-0003-109', 109, 109, 'M002', 'test ', 'scrab', '100', 'kg', '50000', '1', 1, '', 1, '2024-09-16 16:51:58', 0, '2024-09-16 16:51:58', 0, 1),
(5, 3, '41-0003', '41-0003-110', 110, 110, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '1000', 'KG', '50000', '1', 1, '', 1, '2024-09-16 16:51:58', 0, '2024-09-16 16:51:58', 0, 1),
(6, 4, '41-0004', '41-0004-01', 0, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1', 3, '41-0004-01_download.jpeg', 1, '2024-09-19 17:48:49', 0, '2024-09-19 17:48:49', 0, 1),
(7, 4, '41-0004', '41-0004-02', 0, 2, 'M002', 'test ', 'scrab', '100', 'kg', '1000', '1', 3, '41-0004-02_passbook.jpeg', 1, '2024-09-19 17:48:49', 0, '2024-09-19 17:48:49', 0, 1),
(8, 5, '41-0005', '41-0005-111', 111, 111, 'M003', 'acid ', ' Some acids made by the body, such as gastric acid, can help organs work the way they should.', '200', 'LTR ', '6000', '1', 9, '', 1, '2024-09-19 18:01:35', 0, '2024-09-19 18:01:35', 0, 1),
(9, 5, '41-0005', '41-0005-112', 112, 112, 'M001', 'Plastic Material ', 'plastic Scrab ', '200', 'KG', '6000', '1', 9, '', 1, '2024-09-19 18:01:35', 0, '2024-09-19 18:01:35', 0, 1),
(10, 5, '41-0005', '41-0005-113', 113, 113, 'M002', 'test ', 'scrab', '100', 'kg', '6000', '3', 9, '', 1, '2024-09-19 18:01:35', 0, '2024-09-19 18:01:35', 0, 1),
(11, 6, '41-0006', '41-0006-116', 116, 116, 'MAT011', '', '789', '10', 'Ton', '13500', '1', 1, '', 1, '2024-09-20 12:47:27', 0, '2024-09-20 12:47:27', 0, 1),
(12, 7, '41-0007', '41-0007-114', 114, 114, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '200', 'KG', '5000', '1', 1, '', 1, '2024-09-20 13:28:18', 0, '2024-09-20 13:28:18', 0, 1),
(13, 7, '41-0007', '41-0007-115', 115, 115, 'M001', 'Plastic Material ', 'plastic Scrab ', '200', 'KG', '5000', '1', 1, '', 1, '2024-09-20 13:28:18', 0, '2024-09-20 13:28:18', 0, 1),
(14, 8, '41-0008', '41-0008-114', 114, 114, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '200', 'KG', '5000', '1', 1, '', 1, '2024-09-20 13:35:57', 0, '2024-09-20 13:35:57', 0, 1),
(15, 8, '41-0008', '41-0008-115', 115, 115, 'M001', 'Plastic Material ', 'plastic Scrab ', '200', 'KG', '5000', '1', 1, '', 1, '2024-09-20 13:35:57', 0, '2024-09-20 13:35:57', 0, 1),
(16, 9, '41-0009', '41-0009-04', 0, 4, 'M003', 'acid ', ' A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', '40', 'KG', '90', '6', 9, '', 1, '2024-09-20 13:37:39', 0, '2024-09-20 13:37:39', 0, 1),
(17, 10, '41-0010', '41-0010-11-01', 116, 11, 'MAT011', '', '789', '10', 'Ton', '14000.00', '1', 1, '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 1),
(18, 10, '41-0010', '41-0010-09-01', 117, 9, 'MAT09', 'Jabba456', 'ok ok ', '0', 'MT,MT,Kg,Ton', '0.00', '6', 1, '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 1),
(19, 10, '41-0010', '41-0010-11-02', 116, 11, 'MAT011', '', '789', '10', 'Ton', '14000.00', '1', 25, '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 1),
(20, 10, '41-0010', '41-0010-09-02', 117, 9, 'MAT09', 'Jabba456', 'ok ok ', '0', 'MT,MT,Kg,Ton', '0.00', '6', 25, '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 1),
(21, 10, '41-0010', '41-0010-11-03', 116, 11, 'MAT011', '', '789', '10', 'Ton', '14000.00', '1', 1, '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 1),
(22, 10, '41-0010', '41-0010-09-03', 117, 9, 'MAT09', 'Jabba456', 'ok ok ', '0', 'MT,MT,Kg,Ton', '0.00', '6', 1, '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 1),
(23, 10, '41-0010', '41-0010-11-04', 116, 11, 'MAT011', '', '789', '10', 'Ton', '14000.00', '1', 2, '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 1),
(24, 10, '41-0010', '41-0010-09-04', 117, 9, 'MAT09', 'Jabba456', 'ok ok ', '0', 'MT,MT,Kg,Ton', '0.00', '6', 2, '', 1, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 1),
(25, 11, '41-0011', '41-0011-00', 0, 0, 'm', '', '', '', '', '', '', 0, '', 1, '2024-10-21 18:21:00', 0, '2024-10-21 18:21:00', 0, 1),
(26, 12, '41-0012', '41-0012-04', 0, 4, 'M003', 'acid ', ' A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', '45', 'KG', '10', '12', 1, '', 1, '2024-10-21 18:21:34', 0, '2024-10-21 18:21:34', 0, 1),
(27, 13, '41-0013', '41-0013-05', 0, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '50', 'KG', '50', '10', 0, '', 1, '2024-10-25 18:07:08', 0, '2024-10-25 18:07:08', 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `mm_po_supplier_suggestion`
--

CREATE TABLE `mm_po_supplier_suggestion` (
  `po_supplier_suggestion_id` int(11) NOT NULL,
  `po_id` int(11) NOT NULL,
  `po_material_code` varchar(255) NOT NULL,
  `material_id` int(11) NOT NULL,
  `material_code` varchar(255) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_po_supplier_suggestion`
--

INSERT INTO `mm_po_supplier_suggestion` (`po_supplier_suggestion_id`, `po_id`, `po_material_code`, `material_id`, `material_code`, `supplier_id`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`, `company_id`) VALUES
(1, 1, '41-0001-01', 1, 'M001', 3, 0, '2024-09-06 10:09:32', 0, '2024-09-06 10:09:32', 0, 0),
(2, 2, '41-0002-01', 1, 'M001', 1, 0, '2024-09-06 12:56:26', 0, '2024-09-06 12:56:54', 0, 0),
(3, 2, '41-0002-02', 2, 'M002', 1, 0, '2024-09-06 12:56:26', 0, '2024-09-06 12:56:54', 0, 0),
(4, 3, '41-0003-109', 109, 'M002', 1, 0, '2024-09-16 16:51:58', 0, '2024-09-16 16:51:58', 0, 0),
(5, 3, '41-0003-110', 110, 'M004', 1, 0, '2024-09-16 16:51:58', 0, '2024-09-16 16:51:58', 0, 0),
(6, 4, '41-0004-01', 1, 'M001', 3, 0, '2024-09-19 17:48:49', 0, '2024-09-19 17:48:49', 0, 0),
(7, 4, '41-0004-02', 2, 'M002', 3, 0, '2024-09-19 17:48:49', 0, '2024-09-19 17:48:49', 0, 0),
(8, 5, '41-0005-111', 111, 'M003', 9, 0, '2024-09-19 18:01:35', 0, '2024-09-19 18:01:35', 0, 0),
(9, 5, '41-0005-112', 112, 'M001', 9, 0, '2024-09-19 18:01:35', 0, '2024-09-19 18:01:35', 0, 0),
(10, 5, '41-0005-113', 113, 'M002', 9, 0, '2024-09-19 18:01:35', 0, '2024-09-19 18:01:35', 0, 0),
(11, 6, '41-0006-116', 116, 'MAT011', 1, 0, '2024-09-20 12:47:27', 0, '2024-09-20 12:47:27', 0, 0),
(12, 7, '41-0007-114', 114, 'M004', 1, 0, '2024-09-20 13:28:18', 0, '2024-09-20 13:28:18', 0, 0),
(13, 7, '41-0007-115', 115, 'M001', 1, 0, '2024-09-20 13:28:18', 0, '2024-09-20 13:28:18', 0, 0),
(14, 8, '41-0008-114', 114, 'M004', 1, 0, '2024-09-20 13:35:57', 0, '2024-09-20 13:35:57', 0, 0),
(15, 8, '41-0008-115', 115, 'M001', 1, 0, '2024-09-20 13:35:57', 0, '2024-09-20 13:35:57', 0, 0),
(16, 9, '41-0009-04', 4, 'M003', 9, 0, '2024-09-20 13:37:39', 0, '2024-09-20 13:37:39', 0, 0),
(17, 10, '41-0010-11-01', 11, 'MAT011', 1, 0, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 0),
(18, 10, '41-0010-09-01', 9, 'MAT09', 1, 0, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 0),
(19, 10, '41-0010-11-02', 11, 'MAT011', 25, 0, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 0),
(20, 10, '41-0010-09-02', 9, 'MAT09', 25, 0, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 0),
(21, 10, '41-0010-11-03', 11, 'MAT011', 1, 0, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 0),
(22, 10, '41-0010-09-03', 9, 'MAT09', 1, 0, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 0),
(23, 10, '41-0010-11-04', 11, 'MAT011', 2, 0, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 0),
(24, 10, '41-0010-09-04', 9, 'MAT09', 2, 0, '2024-09-20 14:03:54', 0, '2024-09-20 14:03:54', 0, 0),
(25, 11, '41-0011-00', 0, 'm', 0, 0, '2024-10-21 18:21:00', 0, '2024-10-21 18:21:00', 0, 0),
(26, 12, '41-0012-04', 4, 'M003', 1, 0, '2024-10-21 18:21:34', 0, '2024-10-21 18:21:34', 0, 0),
(27, 13, '41-0013-05', 5, 'M004', 0, 0, '2024-10-25 18:07:08', 0, '2024-10-25 18:07:08', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_pr_allocated`
--

CREATE TABLE `mm_pr_allocated` (
  `pr_allocated_id` int(11) NOT NULL,
  `pr_id` varchar(255) NOT NULL,
  `allocated_to` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_pr_allocated`
--

INSERT INTO `mm_pr_allocated` (`pr_allocated_id`, `pr_id`, `allocated_to`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, '1', 16, 1, '2024-08-08 11:53:16', 0, '2024-08-08 11:53:16', 0),
(2, '4,3,2', 16, 1, '2024-08-09 10:54:27', 0, '2024-08-09 10:54:27', 0),
(3, '2,1', 16, 1, '2024-08-13 15:18:54', 0, '2024-08-13 15:18:54', 0),
(4, '3', 1, 1, '2024-08-14 11:44:22', 0, '2024-08-14 11:44:22', 0),
(5, '4', 1, 1, '2024-08-17 10:31:16', 0, '2024-08-17 10:31:16', 0),
(6, '7', 1, 1, '2024-08-19 10:48:29', 0, '2024-08-19 10:48:29', 0),
(7, '8', 1, 1, '2024-08-19 15:55:45', 0, '2024-08-19 15:55:45', 0),
(8, '14', 16, 1, '2024-09-03 09:46:20', 0, '2024-09-03 09:46:20', 0),
(9, '22', 27, 1, '2024-10-10 17:49:04', 0, '2024-10-10 17:49:04', 0),
(10, '23', 1, 1, '2024-10-21 17:56:44', 0, '2024-10-21 17:56:44', 0),
(11, '25', 16, 1, '2024-10-25 17:42:28', 0, '2024-10-25 17:42:28', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_pr_approvals`
--

CREATE TABLE `mm_pr_approvals` (
  `pr_approval_id` int(11) NOT NULL,
  `pr_id` int(11) NOT NULL,
  `approval_status` enum('P','A','R','RE') NOT NULL DEFAULT 'P' COMMENT 'P=Pending,A=Approved, R=Reject',
  `approval_remarks` text NOT NULL,
  `approved_by` int(11) NOT NULL,
  `approved_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_pr_approvals`
--

INSERT INTO `mm_pr_approvals` (`pr_approval_id`, `pr_id`, `approval_status`, `approval_remarks`, `approved_by`, `approved_date`, `created_by`, `created_on`, `updated_by`) VALUES
(1, 1, 'A', '', 1, '2024-08-08 11:52:19', 1, '2024-08-08 11:52:19', 0),
(2, 2, 'A', 'rejeted', 1, '2024-08-08 13:07:23', 1, '2024-08-08 13:07:23', 0),
(3, 3, 'A', '', 1, '2024-08-08 13:15:18', 1, '2024-08-08 13:15:18', 0),
(4, 4, 'A', '', 1, '2024-08-09 10:53:32', 1, '2024-08-09 10:53:32', 0),
(5, 5, 'A', 'dhbsdhcjfsdhnjchsnd jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj', 1, '2024-08-09 11:51:56', 1, '2024-08-09 11:51:56', 0),
(6, 7, 'A', 'M001 qty is 1500', 1, '2024-08-09 15:59:56', 1, '2024-08-09 15:59:56', 0),
(7, 8, 'A', '', 1, '2024-08-09 16:12:20', 1, '2024-08-09 16:12:20', 0),
(8, 9, 'A', '', 1, '2024-08-09 17:09:09', 1, '2024-08-09 17:09:09', 0),
(9, 10, 'A', '', 1, '2024-08-09 18:01:24', 1, '2024-08-09 18:01:24', 0),
(10, 6, 'A', '', 1, '2024-08-12 10:53:58', 1, '2024-08-12 10:53:58', 0),
(11, 11, 'A', '', 1, '2024-08-12 10:59:39', 1, '2024-08-12 10:59:39', 0),
(12, 12, 'A', '', 1, '2024-08-12 11:02:03', 1, '2024-08-12 11:02:03', 0),
(13, 14, 'A', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', 1, '2024-08-13 11:14:31', 1, '2024-08-13 11:14:31', 0),
(14, 13, 'A', '', 1, '2024-08-30 10:30:52', 1, '2024-08-30 10:30:52', 0),
(15, 15, 'A', '', 1, '2024-09-03 18:13:42', 1, '2024-09-03 18:13:42', 0),
(16, 16, 'A', '', 1, '2024-09-05 17:06:04', 1, '2024-09-05 17:06:04', 0),
(17, 17, 'A', '', 1, '2024-09-05 17:27:04', 1, '2024-09-05 17:27:04', 0),
(18, 18, 'A', '', 1, '2024-09-06 12:43:59', 1, '2024-09-06 12:43:59', 0),
(19, 19, 'A', '', 1, '2024-09-10 11:23:57', 1, '2024-09-10 11:23:57', 0),
(20, 20, 'A', '', 1, '2024-09-19 16:23:26', 1, '2024-09-19 16:23:26', 0),
(21, 21, 'A', '', 1, '2024-09-20 12:27:28', 1, '2024-09-20 12:27:28', 0),
(22, 22, 'A', '', 1, '2024-10-10 17:48:39', 1, '2024-10-10 17:48:39', 0),
(23, 23, 'A', '', 1, '2024-10-21 17:56:05', 1, '2024-10-21 17:56:05', 0),
(24, 24, 'A', '', 1, '2024-10-24 17:18:55', 1, '2024-10-24 17:18:55', 0),
(25, 25, 'A', '', 1, '2024-10-25 17:42:00', 1, '2024-10-25 17:42:00', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_pr_master`
--

CREATE TABLE `mm_pr_master` (
  `pr_id` int(11) NOT NULL,
  `pr_number` varchar(255) NOT NULL,
  `type_of_requisition` varchar(255) NOT NULL,
  `project_name` varchar(255) NOT NULL,
  `project_code` varchar(255) NOT NULL,
  `pr_budget` varchar(255) NOT NULL,
  `pr_stock_availability` varchar(255) NOT NULL,
  `pr_plant_code` varchar(255) NOT NULL,
  `pr_division_code` varchar(255) NOT NULL,
  `pr_department_code` varchar(255) NOT NULL,
  `pr_delivery_date` date DEFAULT NULL,
  `pr_comment` text NOT NULL,
  `pr_allocate_to` int(11) DEFAULT NULL,
  `employee_id` int(11) NOT NULL,
  `approve_status` enum('P','A','R','RE') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved, R=Reject,\r\nRE= Revise',
  `approve_status_remark` varchar(255) NOT NULL,
  `send_pr` enum('Yes','No') NOT NULL DEFAULT 'No',
  `department_id` int(11) NOT NULL,
  `pr_freezed` enum('Yes','No') NOT NULL DEFAULT 'No',
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_pr_master`
--

INSERT INTO `mm_pr_master` (`pr_id`, `pr_number`, `type_of_requisition`, `project_name`, `project_code`, `pr_budget`, `pr_stock_availability`, `pr_plant_code`, `pr_division_code`, `pr_department_code`, `pr_delivery_date`, `pr_comment`, `pr_allocate_to`, `employee_id`, `approve_status`, `approve_status_remark`, `send_pr`, `department_id`, `pr_freezed`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 'PR-A0001', 'MR', 'MM (Material Management) ', 'PC123', '5000', '', '1', '1', '1 ', '2024-08-13', 'testing ', 16, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-13 15:09:14', 0, '2024-08-14 11:41:53', 1),
(2, 'PR-A0002', 'MR', 'MM (Material Management) ', 'PRC001', '1000', '', '1', '', '', '2024-08-13', 'testing ', 16, 1, 'A', 'rejeted', 'No', 5, 'No', 1, '2024-08-13 15:18:17', 0, '2025-02-19 16:23:29', 0),
(3, 'PR-A0003', 'MR', 'Demo', 'Demo0001', '1000', '', '8', '0', '19 ', '2024-09-27', 'CASCscscs', 1, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-14 11:41:18', 0, '2024-08-14 11:44:22', 0),
(4, 'PR-A0004', 'MR', 'Demo123', 'Demo000123', '0.1', '', '8', '0', '19 ', '2024-08-31', 'zzzz', 1, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-17 10:28:20', 0, '2024-08-17 10:31:16', 0),
(5, 'PR-A0005', 'MR', 'test1234', 'PC123', '1000', '', '1', '', '', '2024-08-17', 'sdsdfsdfsdf', NULL, 1, 'A', 'dhbsdhcjfsdhnjchsnd jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj', 'No', 5, 'No', 1, '2024-08-17 11:50:15', 0, '2024-09-10 11:28:02', 0),
(6, 'PR-A0006', 'MR', 'test1234', 'PC123', '1000', '', '2', '3', '3 ', '2024-08-17', 'scdsdcfdsf', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-17 12:32:44', 0, '2024-08-17 12:34:00', 0),
(7, 'PR-A0007', 'MR', 'Demo456', 'Demo456', '0.133', '', '8', '0', '19 ', '2024-08-31', 'test', 1, 1, 'A', 'M001 qty is 1500', 'No', 5, 'No', 1, '2024-08-19 10:45:23', 0, '2024-08-19 10:48:29', 0),
(8, 'PR-A0008', 'SR', 'test1234', 'PC123', '1000', '', '1', '2', '6 ', '2024-08-19', 'test ', 1, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-19 15:54:19', 0, '2024-08-19 15:55:45', 0),
(9, 'PR-A0009', 'MR', 'TEST 2108024', 'PC123', '1000', '', '1', '2', '', '2024-08-21', 'test ', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-21 11:56:00', 0, '2024-08-21 11:56:06', 0),
(10, 'PR-A0010', 'MR', 'demo 555', 'test', '1000', '', '1', '2', '6 ', '2024-08-21', 'test', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-21 12:44:47', 0, '2024-08-21 12:45:24', 0),
(11, 'PR-A0011', 'MR', 'demo', 'P001', '700', '', '1', '2', '6 ', '2024-08-21', 'test', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-21 17:30:24', 0, '2024-09-06 12:44:55', 0),
(12, 'PR-A0012', 'MR', 'test1234', 'PC123', '10000', '', '10', '8', '18 ', '2024-08-30', 'delivery ', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-30 10:01:25', 0, '2024-09-20 12:27:18', 1),
(13, 'PR-A0013', 'SR', 'Testing 1', '123456', '2000', '', '10', '8', '17 ', '2024-08-30', 'testing ', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-08-30 10:30:46', 0, '2024-08-30 10:30:52', 0),
(14, 'PR-A0014', 'SR', 'Test0001', 'PC0001', '100000', '', '10', '8', '17 ', '2024-09-04', 'DEMO TEST', 16, 1, 'A', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially ben', 'No', 5, 'No', 1, '2024-09-03 09:44:18', 0, '2024-09-03 09:46:20', 0),
(15, 'PR-A0015', 'MR', 'test1234', 'PC123', '20000', '', '1', '6', '8 ', '2024-09-10', 'demo ', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-09-03 18:13:36', 0, '2024-09-03 18:13:42', 0),
(16, 'PR-A0016', 'MR', 'Demo123', 'Demo3420', '1200', '', '10', '8', '17 ', '2024-09-27', '', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-09-05 17:05:40', 0, '2024-09-05 17:06:04', 0),
(17, 'PR-A0017', 'MR', 'Testing ', '123456', '2000', '', '1', '6', '8 ', '2024-09-05', 'testing', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-09-05 17:26:53', 0, '2024-09-05 17:27:04', 0),
(18, 'PR-A0018', 'MR', 'Bhagyashri Test ', 'PC12345', '100000', '', '3', '4', '10 ', '2024-09-10', 'Bhagyashri Test ', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-09-06 12:43:19', 0, '2024-09-06 12:43:59', 0),
(19, 'PR-A0019', 'MR', 'Testing10/09/2024', 'PC10/09/2024', '200000', '', '10', '8', '17 ', '2024-09-10', 'Testing10/09/2024', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-09-10 11:23:50', 0, '2024-09-10 11:23:57', 0),
(20, 'PR-A0020', 'MR', 'Project 1', 'Project0123', '100000', '', '10', '8', '18 ', '2024-09-19', 'TEST0123', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-09-19 16:22:55', 0, '2024-09-19 16:23:26', 0),
(21, 'PR-A0021', 'MR', 'Demo789', 'Demo789', '15000', '', '1', '6', '9 ', '2024-10-11', 'test789', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-09-20 12:26:48', 0, '2024-09-20 12:27:28', 0),
(22, 'PR-A0022', 'MR', 'demo1', 'demo1', '10000', '', '1', '6', '9 ', '2024-10-31', 'test', 27, 1, 'A', '', 'No', 5, 'No', 1, '2024-10-10 17:48:14', 0, '2024-10-10 17:49:04', 0),
(23, 'PR-A0023', 'MR', 'demo1', 'demo1', '10000', '', '1', '6', '9 ', '2024-10-23', 'nn', 1, 1, 'A', '', 'No', 5, 'No', 1, '2024-10-21 17:55:36', 0, '2024-10-21 17:56:44', 0),
(24, 'PR-A0024', 'MR', '12345', 'PC123', '100000', '', '1', '6', '9 ', '2024-10-28', 'Test', NULL, 1, 'A', '', 'No', 5, 'No', 1, '2024-10-24 17:18:47', 0, '2024-10-24 17:18:55', 0),
(25, 'PR-A0025', 'MR', '', '001', '1000000', '', '1', '6', '9 ', '2024-10-31', 'adsaxz', 16, 1, 'A', '', 'No', 5, 'No', 1, '2024-10-25 17:41:42', 0, '2024-10-25 17:42:28', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_pr_materials`
--

CREATE TABLE `mm_pr_materials` (
  `pr_material_id` int(11) NOT NULL,
  `pr_id` int(11) NOT NULL,
  `material_id` int(11) NOT NULL,
  `material_code` varchar(255) NOT NULL,
  `short_desc` text NOT NULL,
  `long_desc` text NOT NULL,
  `quantity` varchar(255) NOT NULL,
  `unit` varchar(255) NOT NULL,
  `unit_price` varchar(255) NOT NULL,
  `reference_rate` varchar(255) NOT NULL,
  `mat_stock_availability` varchar(255) DEFAULT NULL,
  `mat_attachment` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_pr_materials`
--

INSERT INTO `mm_pr_materials` (`pr_material_id`, `pr_id`, `material_id`, `material_code`, `short_desc`, `long_desc`, `quantity`, `unit`, `unit_price`, `reference_rate`, `mat_stock_availability`, `mat_attachment`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 1, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '100', '1000', '', '', 0, '2024-08-13 15:14:00', 1, '2024-08-13 15:14:00', 0),
(2, 1, 2, 'M002', 'test ', 'scrab', '200', 'kg', '100', '5000', '', '', 0, '2024-08-13 15:14:00', 1, '2024-08-13 15:14:00', 0),
(3, 2, 4, 'M003', 'acid ', 'A-sid A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', '100', 'LTR ', '1000', '5000', '410', '', 1, '2024-08-13 15:18:17', 1, '2024-08-17 10:31:39', 0),
(4, 2, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '100', 'KG', '100', '5000', '29737', 'Salasar Auction.pdf', 1, '2024-08-13 15:18:17', 1, '2024-08-20 12:24:21', 0),
(5, 3, 8, 'MAT08', 'Steel123', 'ok', '500', 'MT', '999', '1000', '', '', 1, '2024-08-14 11:41:18', 0, '2024-08-14 11:41:18', 0),
(6, 4, 8, 'MAT08', 'Steel123', 'ok', '10', 'Ton', '999', '1000', '', '', 1, '2024-08-17 10:28:20', 0, '2024-08-17 10:28:20', 0),
(7, 4, 6, 'M005', 'Plastic Material ', 'Plastic is a material consisting of a wide range of synthetic or semi-synthetic organic compounds that are malleable and, therefore, can be molded into solid objects. Plasticity is the general property of all materials that involves permanent deformation without breaking.', '1000', 'KG ', '45000', '50000', '', '', 1, '2024-08-17 10:28:20', 0, '2024-08-17 10:28:20', 0),
(8, 5, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1000', '', 'PR-A0005_SupporTticket(2024-08-16).xlsx', 1, '2024-08-17 11:50:15', 1, '2024-09-10 11:27:51', 0),
(9, 6, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '100', 'KG', '1', '5000', '29737', '', 1, '2024-08-17 12:32:44', 1, '2024-08-17 12:33:54', 0),
(10, 7, 8, 'MAT08', 'Steel123', 'ok', '100', 'Ton', '999', '1000', '', 'PR-A0007_WhatsApp Image 2024-06-29 at 9.57.44 AM (1) (1).jpeg', 1, '2024-08-19 10:45:23', 1, '2024-08-19 10:47:55', 0),
(11, 7, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '1500', 'KG', '1100', '1000', '', '', 1, '2024-08-19 10:45:23', 1, '2024-08-19 10:47:55', 0),
(12, 8, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1', '1000', '', 'PR-A0008_ticket.png', 1, '2024-08-19 15:54:19', 0, '2024-08-19 15:54:19', 0),
(13, 8, 8, 'MAT08', 'Steel123', 'ok', '100', 'Ton', '1', '1000', '', 'PR-A0008_Screenshot 2024-08-16 123711.png', 1, '2024-08-19 15:54:19', 0, '2024-08-19 15:54:19', 0),
(14, 9, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1000', '', 'PR-A0009_ticket.png', 1, '2024-08-21 11:56:00', 0, '2024-08-21 11:56:00', 0),
(15, 9, 4, 'M003', 'acid ', 'A-sid A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', '200', 'LTR ', '3000', '5000', '410', 'PR-A0009_Screenshot 2024-08-19.png', 1, '2024-08-21 11:56:00', 0, '2024-08-21 11:56:00', 0),
(16, 10, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '60', 'Gm', '100', '5000', '29737', 'PR-A0010_Salasar Auction.pdf', 1, '2024-08-21 12:44:47', 1, '2024-08-21 12:45:17', 0),
(17, 10, 4, 'M003', 'acid ', 'A-sid A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', '70', 'LTR ', '200', '5000', '410', 'PR-A0010_new 42.py', 1, '2024-08-21 12:44:47', 1, '2024-08-21 12:45:17', 0),
(18, 11, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '70', 'KG', '800', '1000', '', 'PR-A0011_vehicle_master (1).sql', 1, '2024-08-21 17:30:24', 0, '2024-08-21 17:30:24', 0),
(19, 12, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '1000', 'KG', '100', '1000', '', 'PR-A0012_sampleAucDetails.xls', 1, '2024-08-30 10:01:25', 0, '2024-08-30 10:01:25', 0),
(20, 13, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '1000', 'KG', '1000', '1000', '', 'PR-A0013_sampleAucDetails.xls', 1, '2024-08-30 10:30:46', 0, '2024-08-30 10:30:46', 0),
(21, 13, 2, 'M002', 'test ', 'scrab', '1000', 'kg', '1000', '5000', '', 'PR-A0013_sampleBuyers.xls', 1, '2024-08-30 10:30:46', 0, '2024-08-30 10:30:46', 0),
(22, 13, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '1000', 'KG', '1000', '5000', '29737', 'PR-A0013_Company Wise Auction Report (2024-08-29) (1).xls', 1, '2024-08-30 10:30:46', 0, '2024-08-30 10:30:46', 0),
(23, 14, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1000', '', 'PR-A0014_profile.pdf', 1, '2024-09-03 09:44:18', 1, '2024-09-03 09:45:33', 0),
(24, 14, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '200', 'Gm', '4500', '5000', '29737', 'PR-A0014_sampleBuyers (1).xls', 1, '2024-09-03 09:44:18', 1, '2024-09-03 09:45:33', 0),
(25, 15, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1000', '', '', 1, '2024-09-03 18:13:36', 0, '2024-09-03 18:13:36', 0),
(26, 15, 4, 'M003', 'acid ', ' Some acids made by the body, such as gastric acid, can help organs work the way they should.', '100', 'LTR ', '4500', '5000', '410', '', 1, '2024-09-03 18:13:36', 0, '2024-09-03 18:13:36', 0),
(27, 16, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '6', 'KG', '10', '1000', '', '', 1, '2024-09-05 17:05:40', 0, '2024-09-05 17:05:40', 0),
(28, 17, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1000', '', '', 1, '2024-09-05 17:26:53', 0, '2024-09-05 17:26:53', 0),
(29, 17, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '100', 'KG', '2000', '5000', '29737', '', 1, '2024-09-05 17:26:53', 0, '2024-09-05 17:26:53', 0),
(30, 18, 4, 'M003', 'acid ', ' Some acids made by the body, such as gastric acid, can help organs work the way they should.', '100', 'KG', '1000', '5000', '410', '', 1, '2024-09-06 12:43:19', 1, '2024-09-06 12:43:52', 0),
(31, 18, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '100', 'KG', '1000', '5000', '29737', '', 1, '2024-09-06 12:43:19', 1, '2024-09-06 12:43:52', 0),
(32, 18, 2, 'M002', 'test ', 'scrab', '100', 'kg', '1000', '5000', '', '', 1, '2024-09-06 12:43:19', 1, '2024-09-06 12:43:52', 0),
(33, 19, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1000', '', '', 1, '2024-09-10 11:23:50', 0, '2024-09-10 11:23:50', 0),
(34, 19, 6, 'M005', 'Plastic Material ', 'Plastic is a material consisting of a wide range of synthetic or semi-synthetic organic compounds that are malleable and, therefore, can be molded into solid objects. Plasticity is the general property of all materials that involves permanent deformation without breaking.', '200', 'KG ', '2000', '50000', '', '', 1, '2024-09-10 11:23:50', 0, '2024-09-10 11:23:50', 0),
(35, 5, 2, 'M002', 'test ', 'scrab', '100', 'kg', '1000', '5000', '', 'sampleAucDetails.xls', 0, '2024-09-10 11:27:51', 1, '2024-09-10 11:27:51', 0),
(36, 5, 4, 'M003', 'acid ', ' Some acids made by the body, such as gastric acid, can help organs work the way they should.', '200', 'LTR ', '2000', '5000', '410', 'materials.xlsx', 0, '2024-09-10 11:27:51', 1, '2024-09-10 11:27:51', 0),
(37, 5, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '200', 'KG', '2000', '5000', '29737', 'sampleAucDetails (2).xls', 0, '2024-09-10 11:27:51', 1, '2024-09-10 11:27:51', 0),
(38, 20, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1000', '', '', 1, '2024-09-19 16:22:55', 0, '2024-09-19 16:22:55', 0),
(39, 20, 2, 'M002', 'test ', 'scrab', '100', 'kg', '1000', '5000', '', '', 1, '2024-09-19 16:22:55', 0, '2024-09-19 16:22:55', 0),
(40, 20, 4, 'M003', 'acid ', ' A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', '200', 'KG', '2000', '5000', '410', '', 1, '2024-09-19 16:22:55', 0, '2024-09-19 16:22:55', 0),
(41, 20, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '200', 'KG', '2000', '5000', '29737', '', 1, '2024-09-19 16:22:55', 0, '2024-09-19 16:22:55', 0),
(42, 21, 11, 'MAT011', '', '789', '10', 'Ton', '14000', '15000', '', '', 1, '2024-09-20 12:26:48', 0, '2024-09-20 12:26:48', 0),
(43, 22, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '950', '1000', '', '', 1, '2024-10-10 17:48:14', 0, '2024-10-10 17:48:14', 0),
(44, 23, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '50', 'KG', '52', '5000', '29737', '', 1, '2024-10-21 17:55:36', 0, '2024-10-21 17:55:36', 0),
(45, 24, 1, 'M001', 'Plastic Material ', 'plastic Scrab ', '100', 'KG', '1000', '1000', '', '', 1, '2024-10-24 17:18:47', 0, '2024-10-24 17:18:47', 0),
(46, 24, 2, 'M002', 'test ', 'scrab', '200', 'kg', '4500', '5000', '', '', 1, '2024-10-24 17:18:47', 0, '2024-10-24 17:18:47', 0),
(47, 24, 4, 'M003', 'acid ', ' A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', '300', 'LTR ', '5200', '5000', '410', '', 1, '2024-10-24 17:18:47', 0, '2024-10-24 17:18:47', 0),
(48, 24, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '400', 'KG', '5000', '5000', '29737', '', 1, '2024-10-24 17:18:47', 0, '2024-10-24 17:18:47', 0),
(49, 25, 5, 'M004', 'Brass Scrab ', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', '50', 'KG', '50', '5000', '29737', '', 1, '2024-10-25 17:41:42', 0, '2024-10-25 17:41:42', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_pr_supplier_suggestion`
--

CREATE TABLE `mm_pr_supplier_suggestion` (
  `supplier_suggestion_id` int(11) NOT NULL,
  `pr_id` int(11) NOT NULL,
  `material_id` int(11) NOT NULL,
  `material_code` varchar(255) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_pr_supplier_suggestion`
--

INSERT INTO `mm_pr_supplier_suggestion` (`supplier_suggestion_id`, `pr_id`, `material_id`, `material_code`, `supplier_id`, `created_by`, `created_on`, `updated_by`, `is_delete`) VALUES
(1, 1, 1, 'M001', 9, 0, '2024-08-13 15:14:00', 0, 0),
(2, 1, 1, 'M001', 3, 0, '2024-08-13 15:14:00', 0, 0),
(3, 1, 1, 'M001', 1, 0, '2024-08-13 15:14:00', 0, 0),
(4, 1, 2, 'M002', 9, 0, '2024-08-13 15:14:00', 0, 0),
(5, 1, 2, 'M002', 3, 0, '2024-08-13 15:14:00', 0, 0),
(6, 1, 2, 'M002', 1, 0, '2024-08-13 15:14:00', 0, 0),
(7, 2, 4, 'M003', 3, 0, '2024-08-13 15:18:17', 0, 0),
(8, 2, 4, 'M003', 9, 0, '2024-08-13 15:18:17', 0, 0),
(9, 2, 4, 'M003', 1, 0, '2024-08-13 15:18:17', 0, 0),
(10, 2, 5, 'M004', 1, 0, '2024-08-13 15:18:17', 0, 0),
(11, 3, 8, 'MAT08', 25, 0, '2024-08-14 11:41:18', 0, 0),
(12, 3, 8, 'MAT08', 1, 0, '2024-08-14 11:41:18', 0, 0),
(13, 4, 8, 'MAT08', 25, 0, '2024-08-17 10:28:20', 0, 0),
(14, 4, 8, 'MAT08', 1, 0, '2024-08-17 10:28:20', 0, 0),
(15, 5, 1, 'M001', 9, 0, '2024-08-17 11:50:15', 0, 0),
(16, 5, 1, 'M001', 3, 0, '2024-08-17 11:50:15', 0, 0),
(17, 5, 1, 'M001', 2, 0, '2024-08-17 11:50:15', 0, 0),
(18, 5, 1, 'M001', 1, 0, '2024-08-17 11:50:15', 0, 0),
(19, 5, 1, 'M001', 22, 0, '2024-08-17 11:50:15', 0, 0),
(20, 5, 1, 'M001', 23, 0, '2024-08-17 11:50:15', 0, 0),
(21, 6, 5, 'M004', 1, 0, '2024-08-17 12:32:44', 0, 0),
(22, 7, 8, 'MAT08', 25, 0, '2024-08-19 10:45:23', 0, 0),
(23, 7, 8, 'MAT08', 1, 0, '2024-08-19 10:45:23', 0, 0),
(24, 7, 1, 'M001', 9, 0, '2024-08-19 10:45:23', 0, 0),
(25, 7, 1, 'M001', 3, 0, '2024-08-19 10:45:23', 0, 0),
(26, 7, 1, 'M001', 1, 0, '2024-08-19 10:45:23', 0, 0),
(27, 7, 1, 'M001', 22, 0, '2024-08-19 10:45:23', 0, 0),
(28, 8, 1, 'M001', 9, 0, '2024-08-19 15:54:19', 0, 0),
(29, 8, 1, 'M001', 3, 0, '2024-08-19 15:54:19', 0, 0),
(30, 8, 1, 'M001', 2, 0, '2024-08-19 15:54:19', 0, 0),
(31, 8, 1, 'M001', 1, 0, '2024-08-19 15:54:19', 0, 0),
(32, 8, 8, 'MAT08', 25, 0, '2024-08-19 15:54:19', 0, 0),
(33, 8, 8, 'MAT08', 1, 0, '2024-08-19 15:54:19', 0, 0),
(34, 9, 1, 'M001', 9, 0, '2024-08-21 11:56:00', 0, 0),
(35, 9, 1, 'M001', 3, 0, '2024-08-21 11:56:00', 0, 0),
(36, 9, 1, 'M001', 2, 0, '2024-08-21 11:56:00', 0, 0),
(37, 9, 1, 'M001', 1, 0, '2024-08-21 11:56:00', 0, 0),
(38, 9, 1, 'M001', 22, 0, '2024-08-21 11:56:00', 0, 0),
(39, 9, 1, 'M001', 23, 0, '2024-08-21 11:56:00', 0, 0),
(40, 9, 4, 'M003', 3, 0, '2024-08-21 11:56:00', 0, 0),
(41, 9, 4, 'M003', 9, 0, '2024-08-21 11:56:00', 0, 0),
(42, 9, 4, 'M003', 1, 0, '2024-08-21 11:56:00', 0, 0),
(43, 10, 5, 'M004', 1, 0, '2024-08-21 12:44:47', 0, 0),
(44, 10, 4, 'M003', 3, 0, '2024-08-21 12:44:47', 0, 0),
(45, 11, 1, 'M001', 2, 0, '2024-08-21 17:30:24', 0, 0),
(46, 12, 1, 'M001', 9, 0, '2024-08-30 10:01:25', 0, 0),
(47, 12, 1, 'M001', 3, 0, '2024-08-30 10:01:25', 0, 0),
(48, 12, 1, 'M001', 2, 0, '2024-08-30 10:01:25', 0, 0),
(49, 13, 1, 'M001', 9, 0, '2024-08-30 10:30:46', 0, 0),
(50, 13, 1, 'M001', 3, 0, '2024-08-30 10:30:46', 0, 0),
(51, 13, 1, 'M001', 2, 0, '2024-08-30 10:30:46', 0, 0),
(52, 13, 2, 'M002', 9, 0, '2024-08-30 10:30:46', 0, 0),
(53, 13, 2, 'M002', 3, 0, '2024-08-30 10:30:46', 0, 0),
(54, 13, 2, 'M002', 1, 0, '2024-08-30 10:30:46', 0, 0),
(55, 13, 5, 'M004', 1, 0, '2024-08-30 10:30:46', 0, 0),
(56, 14, 1, 'M001', 9, 0, '2024-09-03 09:44:18', 0, 0),
(57, 14, 1, 'M001', 3, 0, '2024-09-03 09:44:18', 0, 0),
(58, 14, 1, 'M001', 2, 0, '2024-09-03 09:44:18', 0, 0),
(59, 14, 1, 'M001', 1, 0, '2024-09-03 09:44:18', 0, 0),
(60, 14, 1, 'M001', 22, 0, '2024-09-03 09:44:18', 0, 0),
(61, 14, 1, 'M001', 23, 0, '2024-09-03 09:44:18', 0, 0),
(62, 14, 5, 'M004', 1, 0, '2024-09-03 09:44:18', 0, 0),
(63, 15, 1, 'M001', 9, 0, '2024-09-03 18:13:36', 0, 0),
(64, 15, 1, 'M001', 3, 0, '2024-09-03 18:13:36', 0, 0),
(65, 15, 1, 'M001', 2, 0, '2024-09-03 18:13:36', 0, 0),
(66, 15, 1, 'M001', 1, 0, '2024-09-03 18:13:36', 0, 0),
(67, 15, 4, 'M003', 3, 0, '2024-09-03 18:13:36', 0, 0),
(68, 15, 4, 'M003', 9, 0, '2024-09-03 18:13:36', 0, 0),
(69, 15, 4, 'M003', 1, 0, '2024-09-03 18:13:36', 0, 0),
(70, 16, 1, 'M001', 1, 0, '2024-09-05 17:05:40', 0, 0),
(71, 17, 1, 'M001', 9, 0, '2024-09-05 17:26:53', 0, 0),
(72, 17, 1, 'M001', 3, 0, '2024-09-05 17:26:53', 0, 0),
(73, 17, 1, 'M001', 2, 0, '2024-09-05 17:26:53', 0, 0),
(74, 17, 1, 'M001', 1, 0, '2024-09-05 17:26:53', 0, 0),
(75, 17, 5, 'M004', 1, 0, '2024-09-05 17:26:53', 0, 0),
(76, 17, 5, 'M004', 25, 0, '2024-09-05 17:26:53', 0, 0),
(77, 18, 4, 'M003', 3, 0, '2024-09-06 12:43:19', 0, 0),
(78, 18, 4, 'M003', 9, 0, '2024-09-06 12:43:19', 0, 0),
(79, 18, 4, 'M003', 1, 0, '2024-09-06 12:43:19', 0, 0),
(80, 18, 4, 'M003', 25, 0, '2024-09-06 12:43:19', 0, 0),
(81, 18, 5, 'M004', 1, 0, '2024-09-06 12:43:19', 0, 0),
(82, 18, 5, 'M004', 25, 0, '2024-09-06 12:43:19', 0, 0),
(83, 18, 2, 'M002', 9, 0, '2024-09-06 12:43:19', 0, 0),
(84, 18, 2, 'M002', 3, 0, '2024-09-06 12:43:19', 0, 0),
(85, 18, 2, 'M002', 1, 0, '2024-09-06 12:43:19', 0, 0),
(86, 18, 2, 'M002', 25, 0, '2024-09-06 12:43:19', 0, 0),
(87, 18, 2, 'M002', 9, 0, '2024-09-06 12:43:52', 0, 0),
(88, 19, 1, 'M001', 3, 0, '2024-09-10 11:23:50', 0, 0),
(89, 19, 1, 'M001', 23, 0, '2024-09-10 11:23:50', 0, 0),
(90, 19, 1, 'M001', 1, 0, '2024-09-10 11:23:50', 0, 0),
(91, 19, 1, 'M001', 25, 0, '2024-09-10 11:23:50', 0, 0),
(92, 19, 6, 'M005', 25, 0, '2024-09-10 11:23:50', 0, 0),
(93, 19, 6, 'M005', 23, 0, '2024-09-10 11:23:50', 0, 0),
(94, 19, 6, 'M005', 16, 0, '2024-09-10 11:23:50', 0, 0),
(95, 19, 6, 'M005', 3, 0, '2024-09-10 11:23:50', 0, 0),
(96, 5, 1, 'M001', 1, 0, '2024-09-10 11:27:51', 0, 0),
(97, 5, 2, 'M002', 9, 0, '2024-09-10 11:27:51', 0, 0),
(98, 5, 2, 'M002', 3, 0, '2024-09-10 11:27:51', 0, 0),
(99, 5, 2, 'M002', 1, 0, '2024-09-10 11:27:51', 0, 0),
(100, 5, 2, 'M002', 25, 0, '2024-09-10 11:27:51', 0, 0),
(101, 5, 4, 'M003', 3, 0, '2024-09-10 11:27:51', 0, 0),
(102, 5, 4, 'M003', 9, 0, '2024-09-10 11:27:51', 0, 0),
(103, 5, 4, 'M003', 1, 0, '2024-09-10 11:27:51', 0, 0),
(104, 5, 4, 'M003', 25, 0, '2024-09-10 11:27:51', 0, 0),
(105, 5, 5, 'M004', 1, 0, '2024-09-10 11:27:51', 0, 0),
(106, 5, 5, 'M004', 25, 0, '2024-09-10 11:27:51', 0, 0),
(107, 20, 1, 'M001', 9, 0, '2024-09-19 16:22:55', 0, 0),
(108, 20, 1, 'M001', 3, 0, '2024-09-19 16:22:55', 0, 0),
(109, 20, 1, 'M001', 2, 0, '2024-09-19 16:22:55', 0, 0),
(110, 20, 1, 'M001', 1, 0, '2024-09-19 16:22:55', 0, 0),
(111, 20, 1, 'M001', 22, 0, '2024-09-19 16:22:55', 0, 0),
(112, 20, 1, 'M001', 23, 0, '2024-09-19 16:22:55', 0, 0),
(113, 20, 1, 'M001', 1, 0, '2024-09-19 16:22:55', 0, 0),
(114, 20, 1, 'M001', 25, 0, '2024-09-19 16:22:55', 0, 0),
(115, 20, 2, 'M002', 9, 0, '2024-09-19 16:22:55', 0, 0),
(116, 20, 2, 'M002', 3, 0, '2024-09-19 16:22:55', 0, 0),
(117, 20, 2, 'M002', 1, 0, '2024-09-19 16:22:55', 0, 0),
(118, 20, 2, 'M002', 25, 0, '2024-09-19 16:22:55', 0, 0),
(119, 20, 4, 'M003', 3, 0, '2024-09-19 16:22:55', 0, 0),
(120, 20, 4, 'M003', 9, 0, '2024-09-19 16:22:55', 0, 0),
(121, 20, 4, 'M003', 1, 0, '2024-09-19 16:22:55', 0, 0),
(122, 20, 4, 'M003', 25, 0, '2024-09-19 16:22:55', 0, 0),
(123, 20, 5, 'M004', 1, 0, '2024-09-19 16:22:55', 0, 0),
(124, 20, 5, 'M004', 25, 0, '2024-09-19 16:22:55', 0, 0),
(125, 21, 11, 'MAT011', 1, 0, '2024-09-20 12:26:48', 0, 0),
(126, 21, 11, 'MAT011', 2, 0, '2024-09-20 12:26:48', 0, 0),
(127, 21, 11, 'MAT011', 25, 0, '2024-09-20 12:26:48', 0, 0),
(128, 22, 1, 'M001', 3, 0, '2024-10-10 17:48:14', 0, 0),
(129, 22, 1, 'M001', 1, 0, '2024-10-10 17:48:14', 0, 0),
(130, 22, 1, 'M001', 22, 0, '2024-10-10 17:48:14', 0, 0),
(131, 23, 5, 'M004', 1, 0, '2024-10-21 17:55:36', 0, 0),
(132, 23, 5, 'M004', 25, 0, '2024-10-21 17:55:36', 0, 0),
(133, 24, 1, 'M001', 9, 0, '2024-10-24 17:18:47', 0, 0),
(134, 24, 1, 'M001', 3, 0, '2024-10-24 17:18:47', 0, 0),
(135, 24, 1, 'M001', 2, 0, '2024-10-24 17:18:47', 0, 0),
(136, 24, 1, 'M001', 1, 0, '2024-10-24 17:18:47', 0, 0),
(137, 24, 1, 'M001', 22, 0, '2024-10-24 17:18:47', 0, 0),
(138, 24, 2, 'M002', 3, 0, '2024-10-24 17:18:47', 0, 0),
(139, 24, 2, 'M002', 1, 0, '2024-10-24 17:18:47', 0, 0),
(140, 24, 2, 'M002', 25, 0, '2024-10-24 17:18:47', 0, 0),
(141, 24, 4, 'M003', 3, 0, '2024-10-24 17:18:47', 0, 0),
(142, 24, 4, 'M003', 9, 0, '2024-10-24 17:18:47', 0, 0),
(143, 24, 4, 'M003', 1, 0, '2024-10-24 17:18:47', 0, 0),
(144, 24, 4, 'M003', 25, 0, '2024-10-24 17:18:47', 0, 0),
(145, 24, 5, 'M004', 1, 0, '2024-10-24 17:18:47', 0, 0),
(146, 24, 5, 'M004', 25, 0, '2024-10-24 17:18:47', 0, 0),
(147, 25, 5, 'M004', 1, 0, '2024-10-25 17:41:42', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_puchase_order_direct`
--

CREATE TABLE `mm_puchase_order_direct` (
  `purchase_order_direct_id` int(11) NOT NULL,
  `order_date` date NOT NULL,
  `order_time` time NOT NULL,
  `delivery_date` date NOT NULL,
  `delivery_time` time NOT NULL,
  `period_of_supply` varchar(255) NOT NULL,
  `payment_terms` varchar(255) NOT NULL,
  `purchase_order_value` varchar(255) NOT NULL,
  `additional_value` varchar(100) NOT NULL,
  `total_value` varchar(100) NOT NULL,
  `material_code` varchar(100) NOT NULL,
  `short_description` text NOT NULL,
  `long_description` text NOT NULL,
  `quantity` varchar(100) NOT NULL,
  `unit` varchar(100) NOT NULL,
  `plant` varchar(100) NOT NULL,
  `supplier_name` varchar(100) NOT NULL,
  `budget` varchar(100) NOT NULL,
  `status` enum('P','A','R') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved, R=Reject',
  `document` varchar(255) NOT NULL,
  `approved_by` int(11) NOT NULL DEFAULT '0',
  `approval_date` date NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_puchase_order_rate_contract`
--

CREATE TABLE `mm_puchase_order_rate_contract` (
  `purchase_order_rc_id` int(11) NOT NULL,
  `purchase_order_type` varchar(100) NOT NULL,
  `purchase_order_number` varchar(100) NOT NULL,
  `rfq_number` varchar(100) NOT NULL,
  `purchase_proposal_no` varchar(100) NOT NULL,
  `period_of_supply` varchar(100) NOT NULL,
  `payment_terms` varchar(100) NOT NULL,
  `quality_standard` varchar(100) NOT NULL,
  `order_date` date NOT NULL,
  `order_time` time NOT NULL,
  `rate_contract_validity` datetime NOT NULL,
  `delivery_date` date NOT NULL,
  `delivery_time` time NOT NULL,
  `purchase_order_value` varchar(100) NOT NULL,
  `additional_value` varchar(255) NOT NULL,
  `total_value` varchar(255) NOT NULL,
  `comments` varchar(255) NOT NULL,
  `material` varchar(255) NOT NULL,
  `material_code` varchar(100) NOT NULL,
  `short_description` text NOT NULL,
  `long_description` text NOT NULL,
  `quantity` varchar(255) NOT NULL,
  `unit` text NOT NULL,
  `plant` varchar(255) NOT NULL,
  `supplier_name` varchar(255) NOT NULL,
  `budget` varchar(255) NOT NULL,
  `status` enum('P','A','R') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved, R=Reject',
  `approved_by` int(11) NOT NULL DEFAULT '0',
  `document` varchar(255) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_purchase_order_material_details`
--

CREATE TABLE `mm_purchase_order_material_details` (
  `material_id` int(11) NOT NULL,
  `material_code` varchar(255) NOT NULL,
  `short_description` text NOT NULL,
  `long_description` text NOT NULL,
  `quantity` varchar(255) NOT NULL,
  `unit` text NOT NULL,
  `plant` varchar(255) NOT NULL,
  `supplier` varchar(255) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_purchase_order_rfq`
--

CREATE TABLE `mm_purchase_order_rfq` (
  `purchase_order_rfq_id` int(11) NOT NULL,
  `purchase_order_type` varchar(100) NOT NULL,
  `order_date` date NOT NULL,
  `order_time` time NOT NULL,
  `delivery_date` date NOT NULL,
  `delivery_time` time NOT NULL,
  `purchase_proposal_number` varchar(255) NOT NULL,
  `purchase_order_value` varchar(255) NOT NULL,
  `period_of_supply` varchar(100) NOT NULL,
  `additional_value` varchar(255) NOT NULL,
  `payment_terms` varchar(255) NOT NULL,
  `total_value` varchar(255) NOT NULL,
  `material_code` varchar(100) NOT NULL,
  `short_description` text NOT NULL,
  `long_description` text NOT NULL,
  `quantity` varchar(255) NOT NULL,
  `unit` varchar(255) NOT NULL,
  `plant` varchar(100) NOT NULL,
  `supplier` varchar(255) NOT NULL,
  `budget` varchar(255) NOT NULL,
  `status` enum('P','A','R') NOT NULL DEFAULT 'P' COMMENT 'P=Pending, A=Approved, R=Reject',
  `document` varchar(255) NOT NULL,
  `approved_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_ra_auc_t_c`
--

CREATE TABLE `mm_ra_auc_t_c` (
  `rev_t_c_id` int(11) NOT NULL,
  `rev_auction_id` varchar(255) NOT NULL,
  `supplier_id` int(11) NOT NULL DEFAULT '0',
  `t_c` enum('0','1') NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_ra_lot_bid_details`
--

CREATE TABLE `mm_ra_lot_bid_details` (
  `bid_id` int(11) NOT NULL,
  `rev_auc_id` int(11) NOT NULL,
  `lot_id` int(11) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `bid_quantity` int(11) NOT NULL,
  `bid_unit` varchar(50) NOT NULL,
  `bid_amt` decimal(10,2) NOT NULL,
  `bid_date` date NOT NULL,
  `bid_time` time NOT NULL,
  `bidder_ip` varchar(50) NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_ra_materials`
--

CREATE TABLE `mm_ra_materials` (
  `ra_mat_id` int(11) NOT NULL,
  `ra_rev_aucid` int(11) NOT NULL,
  `ra_pr_id` int(11) NOT NULL,
  `ra_rfq_id` int(11) NOT NULL,
  `ra_supplier_name` varchar(255) NOT NULL,
  `ra_supplier_id` int(11) NOT NULL,
  `ra_mat_code` varchar(10) NOT NULL,
  `ra_mat_name` varchar(255) NOT NULL,
  `ra_description` varchar(255) NOT NULL,
  `ra_quantity` int(11) NOT NULL DEFAULT '0',
  `ra_bid_quantity` int(11) NOT NULL DEFAULT '0',
  `ra_unit` varchar(50) NOT NULL,
  `ra_amt` decimal(10,2) NOT NULL DEFAULT '0.00',
  `ra_start_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `ra_min_decr` decimal(10,2) NOT NULL DEFAULT '0.00',
  `ra_plant` varchar(50) NOT NULL,
  `ra_lot_id` int(11) DEFAULT NULL,
  `club` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_ra_rfq`
--

CREATE TABLE `mm_ra_rfq` (
  `ra_rfq_rev_id` int(11) NOT NULL,
  `ra_rfq_number` varchar(20) NOT NULL DEFAULT '',
  `ra_rfq_start_date` date DEFAULT NULL,
  `ra_rfq_start_time` time NOT NULL,
  `ra_rfq_end_date` date DEFAULT NULL,
  `ra_rfq_end_time` time NOT NULL,
  `ra_rfq_company_id` int(11) NOT NULL DEFAULT '0',
  `ra_rfq_pr_id` int(11) NOT NULL DEFAULT '0',
  `ra_rfq_material_id` int(11) NOT NULL DEFAULT '0',
  `ra_rfq_currency` enum('INR','USD','EUR') NOT NULL DEFAULT 'INR',
  `ra_rfq_quote_by` int(11) NOT NULL DEFAULT '0',
  `ra_rfq_show_l1_bid` tinyint(1) NOT NULL DEFAULT '0',
  `ra_rfq_show_bidder_name` tinyint(1) NOT NULL DEFAULT '0',
  `ra_rfq_show_partbid_accepted` tinyint(1) NOT NULL DEFAULT '0',
  `ra_rfq_show_competitors_name` tinyint(1) NOT NULL DEFAULT '0',
  `ra_rfq_supplier_id` int(11) NOT NULL DEFAULT '0',
  `ra_rfq_sale_no` varchar(20) NOT NULL,
  `ra_rfq_auction_type` varchar(20) NOT NULL DEFAULT 'REVERSE',
  `ra_rfq_terms_n_conditions` varchar(255) DEFAULT '',
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `mm_reverse_auction`
--

CREATE TABLE `mm_reverse_auction` (
  `rev_auc_id` int(11) NOT NULL,
  `rev_auction_type` varchar(11) DEFAULT NULL,
  `quote_type` varchar(3) NOT NULL,
  `rfq_type` varchar(1) NOT NULL,
  `rev_sale_no` varchar(25) NOT NULL,
  `rfq_no` int(11) NOT NULL,
  `rank` int(11) NOT NULL,
  `start_date` date NOT NULL,
  `start_time` time NOT NULL,
  `end_date` date NOT NULL,
  `end_time` time NOT NULL,
  `currency` int(11) NOT NULL DEFAULT '0',
  `quote_by` int(11) NOT NULL,
  `show_l1_bid` varchar(1) NOT NULL DEFAULT 'N',
  `show_bidder_name` varchar(1) NOT NULL DEFAULT 'N',
  `part_bid_accepted` varchar(1) NOT NULL DEFAULT 'N',
  `show_competitor_name` varchar(1) NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `created_date` date NOT NULL,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_reverse_auction`
--

INSERT INTO `mm_reverse_auction` (`rev_auc_id`, `rev_auction_type`, `quote_type`, `rfq_type`, `rev_sale_no`, `rfq_no`, `rank`, `start_date`, `start_time`, `end_date`, `end_time`, `currency`, `quote_by`, `show_l1_bid`, `show_bidder_name`, `part_bid_accepted`, `show_competitor_name`, `created_by`, `created_date`, `updated_by`, `updated_date`, `is_delete`) VALUES
(1, 'Reverse', 'rev', ' ', 'R-24-1', 0, 0, '2024-09-13', '09:30:00', '2024-09-30', '18:30:00', 1, 0, 'Y', 'Y', 'N', 'N', 1, '2024-09-13', 0, '2024-09-13 09:04:40', 0),
(2, 'Reverse', 'rev', ' ', 'R-24-2', 0, 0, '2024-09-13', '09:30:00', '2024-09-16', '18:30:00', 1, 0, 'Y', 'N', 'N', 'N', 1, '2024-09-13', 0, '2024-09-13 09:20:29', 0),
(3, 'Reverse', 'rev', 'N', 'R-24-3', 81, 0, '2024-09-13', '09:30:00', '2024-09-16', '18:30:00', 1, 0, 'Y', 'Y', 'N', 'N', 1, '2024-09-13', 0, '2024-09-13 09:22:43', 0),
(4, 'Reverse', 'rev', 'N', 'R-24-4', 89, 0, '2024-09-19', '09:30:00', '2024-09-21', '23:00:00', 1, 0, 'Y', 'Y', 'N', 'N', 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(5, 'rank', 'rev', 'R', 'R-24-5', 90, 5, '2024-09-19', '09:30:00', '2024-09-21', '23:00:00', 1, 0, 'Y', 'Y', 'N', 'N', 1, '2024-09-19', 0, '2024-09-19 11:59:57', 0),
(6, 'Reverse', 'rev', ' ', 'R-24-6', 0, 0, '2024-09-19', '09:30:00', '2024-09-21', '23:00:00', 1, 0, 'Y', 'Y', 'N', 'N', 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(7, 'rank', 'rev', ' ', 'R-24-7', 1, 4, '2024-09-19', '09:30:00', '2024-09-21', '23:00:00', 1, 0, 'Y', 'Y', 'N', 'N', 1, '2024-09-19', 0, '2024-09-19 12:10:37', 0),
(8, 'Reverse', 'rev', 'N', 'R-24-8', 91, 0, '2024-09-19', '00:00:00', '2024-09-22', '00:00:00', 1, 1, 'Y', 'Y', 'N', 'N', 1, '2024-09-20', 0, '2024-09-20 07:31:30', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_rev_auc_bid_details`
--

CREATE TABLE `mm_rev_auc_bid_details` (
  `rev_auc_bid_id` int(11) NOT NULL,
  `rev_auc_id` int(11) NOT NULL,
  `rfq_id` int(11) NOT NULL DEFAULT '0',
  `supplier_id` int(11) NOT NULL,
  `lot_id` int(11) NOT NULL,
  `amount` decimal(12,3) NOT NULL,
  `bid_quantity` int(11) NOT NULL,
  `bid_unit` varchar(255) NOT NULL,
  `bid_date` date NOT NULL,
  `bid_time` time NOT NULL,
  `ip` varchar(20) NOT NULL DEFAULT 'NA',
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_rev_auc_bid_details`
--

INSERT INTO `mm_rev_auc_bid_details` (`rev_auc_bid_id`, `rev_auc_id`, `rfq_id`, `supplier_id`, `lot_id`, `amount`, `bid_quantity`, `bid_unit`, `bid_date`, `bid_time`, `ip`, `created_by`, `created_date`, `updated_by`, `updated_date`, `is_delete`) VALUES
(1, 7, 0, 3, 0, 4900.000, 1, 'KG', '2024-09-20', '12:40:34', '122.179.137.173', 3, '2024-09-20 12:40:34', 3, '2024-09-20 12:40:34', 0),
(2, 1, 0, 1, 0, 1000.000, 1, 'LTR', '2024-09-28', '17:04:06', '202.88.210.37', 1, '2024-09-28 17:04:06', 1, '2024-09-28 17:04:06', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_rev_auc_lots`
--

CREATE TABLE `mm_rev_auc_lots` (
  `rev_lot_id` int(11) NOT NULL,
  `rev_auc_id` int(11) NOT NULL,
  `mat_code` varchar(255) NOT NULL,
  `mat_name` varchar(225) NOT NULL,
  `club_material` varchar(100) DEFAULT NULL,
  `description` text NOT NULL,
  `qty` int(11) NOT NULL,
  `bid_qty` int(11) NOT NULL,
  `unit` varchar(50) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `start_price` decimal(10,2) NOT NULL,
  `min_decr` int(11) NOT NULL,
  `plant` varchar(225) NOT NULL DEFAULT 'NA',
  `lot_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_date` datetime(6) NOT NULL,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_rev_auc_lots`
--

INSERT INTO `mm_rev_auc_lots` (`rev_lot_id`, `rev_auc_id`, `mat_code`, `mat_name`, `club_material`, `description`, `qty`, `bid_qty`, `unit`, `amount`, `start_price`, `min_decr`, `plant`, `lot_id`, `created_by`, `created_date`, `updated_by`, `updated_date`, `is_delete`) VALUES
(1, 1, 'M001', 'ACID', '', ' A chemical that gives off hydrogen ions in water and forms salts by combining with certain metals. Acids have a sour taste and turn certain dyes red. Some acids made by the body, such as gastric acid, can help organs work the way they should.', 100, 1, 'LTR ', 1000.00, 5000.00, 100, '1', 0, 1, '2024-09-13 14:34:40.000000', 0, '2024-09-13 09:04:40', 0),
(2, 1, 'M002', 'test ', '', 'scrab', 100, 1, 'kg', 1000.00, 5000.00, 100, '1', 0, 1, '2024-09-13 14:34:40.000000', 0, '2024-09-13 09:04:40', 0),
(3, 2, 'M001', 'Plastic Material ', '', 'plastic Scrab ', 100, 1, 'KG', 1000.00, 5000.00, 100, '10', 0, 1, '2024-09-13 14:50:29.000000', 0, '2024-09-13 09:20:29', 0),
(4, 2, 'M005', 'Plastic Material ', '', 'Plastic is a material consisting of a wide range of synthetic or semi-synthetic organic compounds that are malleable and, therefore, can be molded into solid objects. Plasticity is the general property of all materials that involves permanent deformation without breaking.', 200, 1, 'KG ', 2000.00, 5000.00, 100, '10', 0, 1, '2024-09-13 14:50:29.000000', 0, '2024-09-13 09:20:29', 0),
(5, 3, 'M001', 'Brass', '', 'Brass Scrab ', 1000, 1, 'KG', 0.00, 5000.00, 100, 'PLT001', 0, 1, '2024-09-13 14:52:43.000000', 0, '2024-09-13 09:22:43', 0),
(6, 3, 'M004', 'Plastic Material ', '', 'Plastic Material ', 100, 1, 'KG', 0.00, 5000.00, 100, 'PLT001', 0, 1, '2024-09-13 14:52:43.000000', 0, '2024-09-13 09:22:43', 0),
(7, 4, 'M003', 'ACID', '', 'acid ', 200, 200, 'LTR ', 0.00, 5000.00, 100, 'PLT001', 0, 1, '2024-09-19 17:24:07.000000', 0, '2024-09-19 11:54:07', 0),
(8, 4, 'M001', 'Plastic Material ', '', 'Plastic Material ', 200, 200, 'KG', 0.00, 5000.00, 100, 'PLT001', 0, 1, '2024-09-19 17:24:07.000000', 0, '2024-09-19 11:54:07', 0),
(9, 4, 'M002', 'test ', '', 'test ', 100, 100, 'kg', 0.00, 5000.00, 100, 'PLT003', 0, 1, '2024-09-19 17:24:07.000000', 0, '2024-09-19 11:54:07', 0),
(10, 5, 'M004', 'Brass', '', 'Brass Scrab ', 200, 1, 'KG', 0.00, 5000.00, 100, 'PLT001', 0, 1, '2024-09-19 17:29:57.000000', 0, '2024-09-19 11:59:57', 0),
(11, 5, 'M001', 'Plastic Material ', '', 'Plastic Material ', 200, 1, 'KG', 0.00, 5000.00, 100, 'PLT001', 0, 1, '2024-09-19 17:29:57.000000', 0, '2024-09-19 11:59:57', 0),
(12, 6, 'M001', 'Plastic Material ', '', 'plastic Scrab ', 100, 1, 'KG', 1000.00, 5000.00, 100, '1', 0, 1, '2024-09-19 17:34:21.000000', 0, '2024-09-19 12:04:21', 0),
(13, 6, 'M002', 'test ', '', 'scrab', 100, 1, 'kg', 1000.00, 5000.00, 100, '1', 0, 1, '2024-09-19 17:34:21.000000', 0, '2024-09-19 12:04:21', 0),
(14, 6, 'M003', 'ACID', '', ' Some acids made by the body, such as gastric acid, can help organs work the way they should.', 200, 1, 'LTR ', 2000.00, 5000.00, 100, '1', 0, 1, '2024-09-19 17:34:21.000000', 0, '2024-09-19 12:04:21', 0),
(15, 6, 'M004', 'Brass', '', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', 200, 1, 'KG', 2000.00, 5000.00, 100, '1', 0, 1, '2024-09-19 17:34:21.000000', 0, '2024-09-19 12:04:21', 0),
(16, 7, 'M001', 'Plastic Material ', '', 'plastic Scrab ', 100, 1, 'KG', 1000.00, 5000.00, 100, '1', 0, 1, '2024-09-19 17:40:37.000000', 0, '2024-09-19 12:10:37', 0),
(17, 7, 'M004', 'Brass', '', 'In particular, brass scrap is a versatile alloy that most metal recyclers are happy to see come into the facility. Brass can be found in many facets of our daily lives. Whether it s used for aesthetic decor or mechanical applications, it is especially beneficial due to its strength and durability.', 100, 1, 'KG', 2000.00, 5000.00, 100, '1', 0, 1, '2024-09-19 17:40:37.000000', 0, '2024-09-19 12:10:37', 0),
(18, 8, 'MAT011', 'demo Material 789', '', '', 10, 1, 'Ton', 0.00, 13000.00, 100, 'PLT001', 0, 1, '2024-09-20 13:01:30.000000', 0, '2024-09-20 07:31:30', 0),
(19, 8, 'MAT09', 'Nikalo wwwwww', '', 'Jabba456', 0, 0, 'MT,MT,Kg,Ton', 0.00, 0.00, 0, 'PLT006', 0, 1, '2024-09-20 13:01:30.000000', 0, '2024-09-20 07:31:30', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_rev_auc_sup`
--

CREATE TABLE `mm_rev_auc_sup` (
  `rev_auc_sup_id` int(11) NOT NULL,
  `rev_auc_id` int(11) NOT NULL,
  `rev_auc_mat_id` int(11) NOT NULL,
  `lot_id` int(11) NOT NULL,
  `sup_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `created_date` date NOT NULL,
  `updated_by` int(11) NOT NULL DEFAULT '0',
  `updated_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_rev_auc_sup`
--

INSERT INTO `mm_rev_auc_sup` (`rev_auc_sup_id`, `rev_auc_id`, `rev_auc_mat_id`, `lot_id`, `sup_id`, `created_by`, `created_date`, `updated_by`, `updated_date`, `is_delete`) VALUES
(1, 1, 1, 0, 9, 1, '2024-09-13', 0, '2024-09-13 09:04:40', 0),
(2, 1, 1, 0, 3, 1, '2024-09-13', 0, '2024-09-13 09:04:40', 0),
(3, 1, 2, 0, 9, 1, '2024-09-13', 0, '2024-09-13 09:04:40', 0),
(4, 1, 2, 0, 3, 1, '2024-09-13', 0, '2024-09-13 09:04:40', 0),
(5, 2, 3, 0, 3, 1, '2024-09-13', 0, '2024-09-13 09:20:29', 0),
(6, 2, 4, 0, 3, 1, '2024-09-13', 0, '2024-09-13 09:20:29', 0),
(7, 3, 5, 0, 3, 1, '2024-09-13', 0, '2024-09-13 09:22:43', 0),
(8, 3, 5, 0, 25, 1, '2024-09-13', 0, '2024-09-13 09:22:43', 0),
(9, 3, 6, 0, 16, 1, '2024-09-13', 0, '2024-09-13 09:22:43', 0),
(10, 3, 6, 0, 22, 1, '2024-09-13', 0, '2024-09-13 09:22:43', 0),
(11, 3, 6, 0, 23, 1, '2024-09-13', 0, '2024-09-13 09:22:43', 0),
(12, 3, 6, 0, 1, 1, '2024-09-13', 0, '2024-09-13 09:22:43', 0),
(13, 4, 7, 0, 9, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(14, 4, 7, 0, 3, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(15, 4, 7, 0, 2, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(16, 4, 7, 0, 1, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(17, 4, 7, 0, 27, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(18, 4, 7, 0, 25, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(19, 4, 8, 0, 16, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(20, 4, 8, 0, 22, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(21, 4, 8, 0, 23, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(22, 4, 8, 0, 1, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(23, 4, 8, 0, 25, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(24, 4, 9, 0, 9, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(25, 4, 9, 0, 3, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(26, 4, 9, 0, 1, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(27, 4, 9, 0, 27, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(28, 4, 9, 0, 16, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(29, 4, 9, 0, 25, 1, '2024-09-19', 0, '2024-09-19 11:54:07', 0),
(30, 5, 10, 0, 3, 1, '2024-09-19', 0, '2024-09-19 11:59:57', 0),
(31, 5, 10, 0, 25, 1, '2024-09-19', 0, '2024-09-19 11:59:57', 0),
(32, 5, 11, 0, 16, 1, '2024-09-19', 0, '2024-09-19 11:59:57', 0),
(33, 5, 11, 0, 22, 1, '2024-09-19', 0, '2024-09-19 11:59:57', 0),
(34, 5, 11, 0, 23, 1, '2024-09-19', 0, '2024-09-19 11:59:57', 0),
(35, 5, 11, 0, 1, 1, '2024-09-19', 0, '2024-09-19 11:59:57', 0),
(36, 5, 11, 0, 25, 1, '2024-09-19', 0, '2024-09-19 11:59:57', 0),
(37, 6, 12, 0, 9, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(38, 6, 12, 0, 3, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(39, 6, 12, 0, 2, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(40, 6, 12, 0, 1, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(41, 6, 12, 0, 22, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(42, 6, 12, 0, 23, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(43, 6, 12, 0, 1, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(44, 6, 13, 0, 9, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(45, 6, 13, 0, 3, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(46, 6, 13, 0, 1, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(47, 6, 13, 0, 25, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(48, 6, 14, 0, 3, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(49, 6, 14, 0, 9, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(50, 6, 14, 0, 1, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(51, 6, 14, 0, 25, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(52, 6, 15, 0, 1, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(53, 6, 15, 0, 25, 1, '2024-09-19', 0, '2024-09-19 12:04:21', 0),
(54, 7, 16, 0, 9, 1, '2024-09-19', 0, '2024-09-19 12:10:37', 0),
(55, 7, 16, 0, 3, 1, '2024-09-19', 0, '2024-09-19 12:10:37', 0),
(56, 7, 16, 0, 2, 1, '2024-09-19', 0, '2024-09-19 12:10:37', 0),
(59, 7, 17, 0, 25, 1, '2024-09-19', 0, '2024-09-19 12:10:37', 0),
(60, 7, 16, 0, 1, 1, '2024-09-20', 0, '2024-09-20 04:31:16', 0),
(61, 7, 16, 0, 1, 1, '2024-09-20', 0, '2024-09-20 04:31:16', 0),
(62, 8, 18, 0, 1, 1, '2024-09-20', 0, '2024-09-20 07:31:30', 0),
(63, 8, 18, 0, 2, 1, '2024-09-20', 0, '2024-09-20 07:31:30', 0),
(64, 8, 19, 0, 0, 1, '2024-09-20', 0, '2024-09-20 07:31:30', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mm_rfq`
--

CREATE TABLE `mm_rfq` (
  `rfq_id` int(11) NOT NULL,
  `quote_type` enum('RFQ','AUCTION') NOT NULL,
  `rfq_type` enum('N','RC') NOT NULL,
  `rfq_number` varchar(35) NOT NULL,
  `price_basis` varchar(50) NOT NULL,
  `bid_type` varchar(10) NOT NULL,
  `emd` decimal(10,2) NOT NULL,
  `tax_id` varchar(255) NOT NULL,
  `guarantee` varchar(50) NOT NULL,
  `period_supply` varchar(10) DEFAULT NULL,
  `project_code` varchar(11) NOT NULL,
  `start_date` date DEFAULT NULL,
  `start_time` time NOT NULL,
  `end_date` date DEFAULT NULL,
  `end_time` time NOT NULL,
  `lockquntildate` date DEFAULT NULL,
  `lockquntiltime` time NOT NULL,
  `particulars` varchar(250) DEFAULT NULL,
  `terms_n_conditions_document` varchar(250) NOT NULL,
  `description` text,
  `document` varchar(250) DEFAULT NULL,
  `pr_id` varchar(255) NOT NULL,
  `material_id` int(11) NOT NULL DEFAULT '0',
  `collect_technical_bid` tinyint(1) NOT NULL DEFAULT '0',
  `collect_commercial_bid` tinyint(1) NOT NULL DEFAULT '0',
  `collect_rfq_response` tinyint(1) NOT NULL DEFAULT '0',
  `collect_other_document` tinyint(1) NOT NULL DEFAULT '0',
  `partial_acceptance_tc` tinyint(1) NOT NULL DEFAULT '0',
  `currency_id` int(11) DEFAULT '0',
  `rank` tinyint(1) NOT NULL DEFAULT '0',
  `rfq_status` enum('A','R','P','RE') NOT NULL DEFAULT 'P',
  `rfq_approved_by` int(11) NOT NULL DEFAULT '0',
  `rfq_approved_on` datetime DEFAULT NULL,
  `rfq_status_reason` varchar(255) NOT NULL DEFAULT '',
  `rfq_comment` varchar(255) NOT NULL DEFAULT '',
  `technical_mandatory` tinyint(1) DEFAULT NULL,
  `commercial_mandatory` tinyint(1) NOT NULL DEFAULT '0',
  `open_rfq` tinyint(1) NOT NULL,
  `bypass_technical_approval` tinyint(1) NOT NULL,
  `negotiation` tinyint(1) NOT NULL,
  `delivery_schedule` varchar(20) NOT NULL DEFAULT '',
  `payment_terms` varchar(20) NOT NULL DEFAULT '',
  `quantity` int(11) DEFAULT NULL,
  `company_id` int(11) NOT NULL DEFAULT '0',
  `supplier_id` int(11) NOT NULL,
  `convert_to_ra` tinyint(1) NOT NULL DEFAULT '0',
  `technical_approver` int(11) NOT NULL DEFAULT '0',
  `commercial_approver` int(11) NOT NULL DEFAULT '0',
  `includes_transportation` tinyint(1) NOT NULL DEFAULT '0',
  `other_taxes` varchar(11) DEFAULT NULL,
  `view_color` int(1) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT NULL,
  `created_on` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT '0',
  `updated_on` datetime DEFAULT CURRENT_TIMESTAMP,
  `is_delete` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mm_rfq`
--

INSERT INTO `mm_rfq` (`rfq_id`, `quote_type`, `rfq_type`, `rfq_number`, `price_basis`, `bid_type`, `emd`, `tax_id`, `guarantee`, `period_supply`, `project_code`, `start_date`, `start_time`, `end_date`, `end_time`, `lockquntildate`, `lockquntiltime`, `particulars`, `terms_n_conditions_document`, `description`, `document`, `pr_id`, `material_id`, `collect_technical_bid`, `collect_commercial_bid`, `collect_rfq_response`, `collect_other_document`, `partial_acceptance_tc`, `currency_id`, `rank`, `rfq_status`, `rfq_approved_by`, `rfq_approved_on`, `rfq_status_reason`, `rfq_comment`, `technical_mandatory`, `commercial_mandatory`, `open_rfq`, `bypass_technical_approval`, `negotiation`, `delivery_schedule`, `payment_terms`, `quantity`, `company_id`, `supplier_id`, `convert_to_ra`, `technical_approver`, `commercial_approver`, `includes_transportation`, `other_taxes`, `view_color`, `created_by`, `created_on`, `updated_by`, `updated_on`, `is_delete`) VALUES
(1, 'RFQ', 'N', 'RFQ-1', 'freight', 'part', 0.00, '12', '', '500', 'Demo0001', '2024-08-16', '00:00:00', '2024-08-30', '00:00:00', '2024-08-31', '00:00:00', 'testing', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-14 12:08:40', '', '', NULL, 0, 1, 1, 1, '', '22', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-14 12:04:02', 1, '2024-08-14 12:08:30', 0),
(2, 'RFQ', 'N', 'RFQ-2', 'forward_charges', 'single', 0.00, '12', '', '111', 'Demo000123', '2024-08-15', '00:00:00', '2024-08-22', '00:00:00', '2024-08-19', '00:00:00', 'Procurement of \"mshchf89fhf u9u\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-17 11:14:28', '', '', NULL, 0, 1, 1, 1, '', '30 advance baki baad', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-17 11:12:38', 1, '2024-08-17 11:12:38', 0),
(3, 'RFQ', 'N', 'RFQ-3', 'forward_charges', 'single', 0.00, '7', '', '220', 'Demo3420', '2024-08-15', '00:00:00', '2024-08-27', '00:00:00', '2024-08-19', '00:00:00', 'Procurement of ', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-17 15:33:28', '', '', NULL, 0, 1, 1, 1, '', '50 abhi, 50 baad mei', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-17 11:42:19', 1, '2024-08-19 09:16:52', 0),
(4, 'RFQ', 'N', 'RFQ-4', 'price_basis', 'single', 0.00, '4', '', '10', 'PC123', '2024-08-17', '12:32:00', '2024-08-17', '23:30:00', '2024-08-17', '00:00:00', 'default', 'PurchaseProposal_PP-PLT001-DEPT001-0028.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-17 12:42:03', '', '', NULL, 0, 1, 1, 1, '', '11111', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-17 12:38:37', 1, '2024-08-17 12:41:17', 0),
(5, 'RFQ', 'RC', 'RFQ-5', 'price_basis', 'single', 7000.00, '5', '1', '10', 'pc001', '2024-08-17', '07:20:00', '2024-08-17', '23:20:00', '2024-08-17', '22:20:00', 'default', 'download (2).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-17 16:25:10', '', '', NULL, 0, 1, 1, 1, '10 days', 'after po', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-17 16:24:47', 1, '2024-08-17 16:27:36', 0),
(6, 'RFQ', 'RC', 'RFQ-6', 'packing_charges', '', 5000.00, '', '5', '150', 'Demo456', '2024-08-17', '00:00:00', '2024-08-22', '00:00:00', '2024-08-19', '00:00:00', 'Procurement of Plastic  Steel', '4925.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '20 days', '50 abhi , 50 nantr', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-19 10:58:30', 1, '2024-08-19 10:58:30', 1),
(7, 'RFQ', 'RC', 'RFQ-7', 'packing_charges', '', 5000.00, '', '5', '150', 'Demo456', '2024-08-17', '00:00:00', '2024-08-22', '00:00:00', '2024-08-19', '00:00:00', 'Procurement of Plastic  Steel', '4925.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '20 days', '50 abhi , 50 nantr', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-19 10:58:35', 1, '2024-08-19 10:58:35', 0),
(8, 'RFQ', 'RC', 'RFQ-8', 'packing_charges', '', 5000.00, '', '5', '150', 'Demo456', '2024-08-17', '00:00:00', '2024-08-22', '00:00:00', '2024-08-19', '00:00:00', 'Procurement of Plastic  Steel', '4925.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '20 days', '50 abhi , 50 nantr', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-19 10:58:46', 1, '2024-08-19 10:58:46', 0),
(9, 'RFQ', 'RC', 'RFQ-9', 'packing_charges', '', 5000.00, '', '5', '150', 'Demo456', '2024-08-17', '00:00:00', '2024-08-22', '00:00:00', '2024-08-19', '00:00:00', 'Procurement of Plastic  Steel', '4925.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '20 days', '50 abhi , 50 nantr', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-19 10:58:55', 1, '2024-08-19 10:58:55', 0),
(10, 'RFQ', 'RC', 'RFQ-10', 'packing_charges', '', 5000.00, '', '5', '150', 'Demo456', '2024-08-17', '00:00:00', '2024-08-22', '00:00:00', '2024-08-19', '00:00:00', 'Procurement of Plastic  Steel', '4925.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-19 11:04:56', '', '', NULL, 0, 1, 1, 1, '20 days', '50 abhi , 50 nantr', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-19 10:59:08', 1, '2024-08-19 12:27:39', 0),
(11, 'RFQ', 'RC', 'RFQ-11', 'price_basis', 'single', 7000.00, '', '1', '10', 'PC123', '2024-08-19', '12:27:00', '2024-08-20', '00:27:00', '2024-08-19', '22:30:00', 'default', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '10 days', '1111', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-19 12:33:03', 1, '2024-08-19 12:33:03', 0),
(12, 'RFQ', 'N', 'RFQ-12', 'price_basis', 'single', 0.00, '', '', '2', '', '2024-08-19', '13:34:00', '2024-08-21', '13:35:00', '2024-08-21', '13:35:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-19 13:38:03', 1, '2024-08-19 13:38:03', 0),
(13, 'RFQ', 'N', 'RFQ-13', 'price_basis', 'single', 0.00, '4', '', '10', 'PC123', '2024-08-19', '10:00:00', '2024-08-20', '23:00:00', '2024-08-19', '23:00:00', 'default ', 'DownloadResponse (3).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-19 16:44:46', '', '', NULL, 0, 1, 1, 1, '', 'hjdfndf', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-19 16:13:30', 1, '2024-08-19 16:44:03', 0),
(14, 'RFQ', 'N', 'RFQ-14', 'price_basis', 'single', 0.00, '5', '', '5', 'test', '2024-08-21', '09:03:00', '2024-08-23', '09:03:00', '2024-08-21', '09:03:00', 'Test 1', 'Salasar Auction.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-21 09:07:49', '', '', NULL, 0, 1, 1, 1, '', 'cash', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-21 09:07:33', 1, '2024-08-21 09:07:33', 0),
(15, 'RFQ', 'N', 'RFQ-15', 'price_basis', 'single', 0.00, '4', '', '10', 'PC123', '2024-08-21', '10:54:00', '2024-08-23', '23:54:00', '2024-08-23', '11:54:00', 'default', 'download (2).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', 'eweweww', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-21 12:00:44', 1, '2024-08-21 12:00:44', 0),
(16, 'RFQ', 'N', 'RFQ-16', 'price_basis', 'single', 0.00, '4', '', '10', 'PRC22', '2024-08-21', '11:59:00', '2024-08-21', '23:59:00', '2024-08-21', '22:59:00', 'Bid all', 'download (2).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-21 12:07:58', '', '', NULL, 0, 1, 1, 1, '', '11111', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-21 12:04:32', 1, '2024-08-21 12:04:32', 0),
(17, 'RFQ', 'N', 'RFQ-17', 'price_basis', 'single', 0.00, '5', '', '5', 'P002', '2024-08-21', '12:43:00', '2024-08-23', '12:43:00', '2024-08-21', '12:44:00', 'improvement', 'PRs.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-21 12:48:02', '', '', NULL, 0, 1, 1, 1, '', 'cash', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-21 12:47:49', 1, '2024-08-21 12:50:48', 0),
(18, 'RFQ', 'N', 'RFQ-18', 'packing_charges', 'single', 0.00, '10,11', '', '2', '', '2024-08-21', '16:33:00', '2024-08-23', '17:34:00', '0000-00-00', '00:00:00', 'test', 'download.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-21 17:21:52', '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-21 16:34:51', 1, '2024-08-21 16:34:51', 0),
(19, 'RFQ', 'N', 'RFQ-19', 'packing_charges', 'single', 0.00, '5', '', '8', 'P001', '2024-08-21', '17:37:00', '2024-08-22', '17:37:00', '2024-08-21', '17:37:00', 'test', 'commercialresponse (1).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-21 17:41:08', '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-21 17:41:00', 1, '2024-08-23 12:44:10', 0),
(20, '', '', 'RFQ-20', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-23 10:28:55', 1, '2024-08-23 10:28:55', 0),
(21, '', '', 'RFQ-21', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-23 12:12:48', 1, '2024-08-23 12:12:48', 0),
(22, '', '', 'RFQ-22', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-23 12:25:45', 1, '2024-08-23 12:25:45', 0),
(23, '', '', 'RFQ-23', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-23 12:49:52', 1, '2024-08-23 12:49:52', 0),
(24, '', '', 'RFQ-24', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-23 13:20:22', 1, '2024-08-23 13:20:22', 0),
(25, '', '', 'RFQ-25', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-23 13:21:55', 1, '2024-08-23 13:21:55', 0),
(26, '', '', 'RFQ-26', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-23 13:23:41', 1, '2024-08-23 13:23:41', 0),
(27, '', '', 'RFQ-27', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-23 13:25:46', 1, '2024-08-23 13:25:46', 0),
(28, '', '', 'RFQ-28', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-23 13:26:31', 1, '2024-08-23 13:26:31', 0),
(29, '', '', 'RFQ-29', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-23 13:29:59', 1, '2024-08-23 13:29:59', 0),
(30, 'RFQ', 'N', 'RFQ-30', 'price_basis', 'single', 0.00, '4,5,7', '', '10', 'PC123', '2024-08-30', '09:00:00', '2024-08-31', '22:00:00', '2024-08-30', '22:00:00', 'default', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-31 12:31:24', '', '', NULL, 0, 1, 1, 1, '', '9', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-30 10:05:50', 1, '2024-08-30 17:22:05', 0),
(31, 'RFQ', 'RC', 'RFQ-31', 'forward_charges', 'single', 7000.00, '', '2', '10', 'PrC1234', '2024-08-30', '10:30:00', '2024-08-31', '22:30:00', '2024-08-31', '21:30:00', 'default', 'DownloadResponse (3).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'RE', 1, '2024-08-30 17:20:47', 'demo test ', '', NULL, 0, 1, 1, 1, '15 DAYS ', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-30 10:33:43', 1, '2024-08-31 12:32:00', 0),
(32, 'RFQ', 'N', 'RFQ-32', 'price_basis', 'single', 0.00, '5,7', '', '10', 'PC123', '2024-08-31', '10:00:00', '2024-08-31', '22:00:00', '2024-08-31', '21:00:00', 'DEMO TEST', 'profile.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-08-31 11:06:47', '', '', NULL, 0, 1, 1, 1, '', '9', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-31 11:06:28', 1, '2024-08-31 11:06:28', 0),
(33, 'RFQ', 'N', 'RFQ-33', 'packing_charges', 'single', 0.00, '5,7', '', '2', 'p001', '2024-08-31', '09:31:00', '2024-08-31', '11:30:00', '2024-08-31', '10:30:00', 'particulars', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 11:31:49', 1, '2024-08-31 13:29:51', 0),
(34, 'RFQ', 'N', 'RFQ-34', 'price_basis', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 13:22:08', 1, '2024-08-31 13:27:45', 1),
(35, 'RFQ', 'N', 'RFQ-35', 'packing_charges', '', 0.00, '', '', '2', '', '2024-08-31', '00:00:00', '2024-09-03', '00:00:00', '2024-09-03', '00:00:00', 'demo', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 13:34:36', 1, '2024-08-31 13:34:36', 1),
(36, 'RFQ', 'N', 'RFQ-36', 'packing_charges', '', 0.00, '', '', '2', '', '2024-08-31', '00:00:00', '2024-09-03', '00:00:00', '2024-09-03', '00:00:00', 'demo', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 13:37:02', 1, '2024-08-31 13:37:02', 1),
(37, 'RFQ', 'N', 'RFQ-37', 'packing_charges', '', 0.00, '', '', '2', '', '2024-08-31', '00:00:00', '2024-09-03', '00:00:00', '2024-09-03', '00:00:00', 'demo', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 13:38:01', 1, '2024-08-31 13:38:01', 1),
(38, 'RFQ', 'N', 'RFQ-38', 'packing_charges', '', 0.00, '', '', '2', '', '2024-08-31', '00:00:00', '2024-09-03', '00:00:00', '2024-09-03', '00:00:00', 'demo', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 13:38:08', 1, '2024-08-31 13:58:49', 1),
(39, 'RFQ', 'N', 'RFQ-39', 'price_basis', 'single', 0.00, '5', '', '3', 'Y001', '2024-08-31', '15:58:00', '2024-08-31', '19:58:00', '2024-08-31', '18:59:00', 'particulars', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 14:02:26', 1, '2024-08-31 14:02:26', 0),
(40, 'RFQ', 'N', 'RFQ-40', 'price_basis', 'single', 0.00, '5', '', '3', 'Y001', '2024-08-31', '15:58:00', '2024-08-31', '19:58:00', '2024-08-31', '18:59:00', 'particulars', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-31 14:02:42', 1, '2024-08-31 14:02:42', 0),
(41, 'RFQ', 'N', 'RFQ-41', 'packing_charges', 'single', 0.00, '', '', '', 'Y001', '2024-08-31', '14:20:00', '2024-08-31', '20:20:00', '2024-08-31', '20:20:00', 'sss', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 14:23:51', 1, '2024-08-31 14:23:51', 0),
(42, 'RFQ', 'N', 'RFQ-42', 'packing_charges', 'single', 0.00, '', '', '', 'Y001', '2024-08-31', '14:20:00', '2024-08-31', '20:20:00', '2024-08-31', '20:20:00', 'sss', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 14:24:27', 1, '2024-08-31 14:24:27', 0),
(43, 'RFQ', 'N', 'RFQ-43', 'packing_charges', 'single', 0.00, '', '', '', 'Y001', '2024-08-31', '14:20:00', '2024-08-31', '20:20:00', '2024-08-31', '20:20:00', 'sss', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 14:24:44', 1, '2024-08-31 14:24:44', 0),
(44, 'RFQ', 'N', 'RFQ-44', 'packing_charges', 'single', 0.00, '', '', '', 'Y001', '2024-08-31', '14:20:00', '2024-08-31', '20:20:00', '2024-08-31', '20:20:00', 'sss', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 14:27:28', 1, '2024-08-31 14:27:28', 0),
(45, 'RFQ', 'N', 'RFQ-45', 'price_basis', 'single', 0.00, '7', '', '3', 'p001', '2024-08-31', '15:42:00', '2024-08-31', '21:42:00', '2024-08-31', '17:42:00', 'testing', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 15:46:57', 1, '2024-08-31 15:46:57', 0),
(46, 'RFQ', 'N', 'RFQ-46', 'price_basis', 'single', 0.00, '7', '', '3', 'p001', '2024-08-31', '15:42:00', '2024-08-31', '21:42:00', '2024-08-31', '17:42:00', 'testing', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 15:48:21', 1, '2024-08-31 15:48:21', 0),
(47, 'RFQ', 'N', 'RFQ-47', 'price_basis', 'single', 0.00, '7', '', '3', 'p001', '2024-08-31', '15:42:00', '2024-08-31', '21:42:00', '2024-08-31', '17:42:00', 'testing', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 15:50:04', 1, '2024-08-31 15:50:04', 0),
(48, 'RFQ', 'N', 'RFQ-48', 'price_basis', 'single', 0.00, '7', '', '3', 'p001', '2024-08-31', '15:42:00', '2024-08-31', '21:42:00', '2024-08-31', '17:42:00', 'testing', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 15:54:49', 1, '2024-08-31 15:54:49', 0),
(49, 'RFQ', 'N', 'RFQ-49', 'forward_charges', 'single', 0.00, '', '', '2', '5', '2024-08-31', '00:00:00', '2024-09-04', '00:00:00', '2024-09-04', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:02:27', 1, '2024-08-31 16:02:27', 0),
(50, 'RFQ', 'N', 'RFQ-50', 'freight', 'single', 0.00, '12', '', '5', 'y5', '2024-08-31', '00:00:00', '2024-09-04', '00:00:00', '2024-09-04', '00:00:00', 'testing', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:07:04', 1, '2024-08-31 16:07:04', 0),
(51, 'RFQ', 'N', 'RFQ-51', '', '', 0.00, '', '', '', '', '2024-08-31', '00:00:00', '2024-09-05', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:11:50', 1, '2024-08-31 16:11:50', 0),
(52, 'RFQ', 'N', 'RFQ-52', '', '', 0.00, '', '', '', '', '2024-08-31', '00:00:00', '2024-09-05', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:14:39', 1, '2024-08-31 16:14:39', 0),
(53, 'RFQ', 'N', 'RFQ-53', '', '', 0.00, '', '', '', '', '2024-08-31', '00:00:00', '2024-09-05', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:15:24', 1, '2024-08-31 16:15:24', 0),
(54, 'RFQ', 'N', 'RFQ-54', '', '', 0.00, '', '', '', '', '2024-08-31', '00:00:00', '2024-09-05', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:16:00', 1, '2024-08-31 16:16:00', 0),
(55, 'RFQ', 'N', 'RFQ-55', '', '', 0.00, '', '', '', '', '2024-08-31', '00:00:00', '2024-09-05', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:16:51', 1, '2024-08-31 16:16:51', 0),
(56, 'RFQ', 'N', 'RFQ-56', 'packing_charges', 'single', 0.00, '5', '', '4', 'Y001', '2024-08-31', '16:51:00', '2024-08-31', '20:51:00', '2024-08-31', '18:52:00', 'sss', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:55:17', 1, '2024-08-31 16:55:17', 0),
(57, 'RFQ', 'N', 'RFQ-57', 'packing_charges', 'single', 0.00, '5', '', '4', 'Y001', '2024-08-31', '16:51:00', '2024-08-31', '20:51:00', '2024-08-31', '18:52:00', 'sss', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 16:55:47', 1, '2024-08-31 17:52:00', 0),
(58, 'RFQ', 'N', 'RFQ-58', 'price_basis', 'part', 0.00, '5,7,11,12', '', '10', 'PC123', '2024-08-31', '17:00:00', '2024-09-01', '22:00:00', '2024-09-01', '22:00:00', 'DEMO TEST', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 18:08:26', 1, '2024-08-31 18:08:26', 0),
(59, 'RFQ', 'N', 'RFQ-59', 'price_basis', 'part', 0.00, '5,7,11,12', '', '10', 'PC123', '2024-08-31', '17:00:00', '2024-09-01', '22:00:00', '2024-09-01', '22:00:00', 'DEMO TEST', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 18:08:31', 1, '2024-08-31 18:11:12', 0),
(60, 'RFQ', 'N', 'RFQ-60', 'forward_charges', 'single', 0.00, '11', '', '3', 'Y001', '2024-08-31', '18:23:00', '2024-08-31', '21:23:00', '2024-08-31', '19:23:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-08-31 18:27:00', 1, '2024-08-31 18:27:00', 0),
(61, '', '', 'RFQ-61', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 18:35:19', 1, '2024-08-31 18:48:05', 0),
(62, 'RFQ', 'N', 'RFQ-62', 'packing_charges', 'single', 0.00, '7', '', '3', 'Y001', '2024-08-31', '19:47:00', '2024-08-31', '23:51:00', '2024-08-31', '21:48:00', 'test', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-08-31 18:51:05', 1, '2024-08-31 18:51:05', 0),
(63, 'RFQ', 'N', 'RFQ-63', 'price_basis', 'single', 0.00, '7,12', '', '10', 'PrC1234', '2024-09-02', '09:25:00', '2024-09-03', '23:45:00', '2024-09-03', '23:25:00', 'Bid all', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 34, '2024-09-02 11:27:13', '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 34, '2024-09-02 11:26:41', 1, '2024-09-02 14:05:19', 0),
(64, 'RFQ', 'N', 'RFQ-64', 'price_basis', 'single', 0.00, '7', '', '3', 'Y001', '2024-09-02', '12:06:00', '2024-09-02', '18:06:00', '2024-09-02', '15:06:00', 'demo', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 12:09:25', 1, '2024-09-02 12:09:25', 0),
(65, 'RFQ', 'N', 'RFQ-65', 'packing_charges', 'single', 0.00, '5', '', '34', 'Y001', '2024-09-02', '13:17:00', '2024-09-02', '18:17:00', '2024-09-02', '15:17:00', 'sss', 'Enhancements in Bidder Registration.docx', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 12:21:41', 1, '2024-09-02 13:15:12', 0),
(66, 'RFQ', 'N', 'RFQ-66', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 15:46:14', 1, '2024-09-02 15:46:14', 0),
(67, 'RFQ', 'N', 'RFQ-67', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 15:47:16', 1, '2024-09-02 15:47:16', 0),
(68, 'RFQ', 'N', 'RFQ-68', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 15:51:31', 1, '2024-09-02 15:51:31', 0),
(69, 'RFQ', 'N', 'RFQ-69', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 15:52:11', 1, '2024-09-02 16:31:25', 0),
(70, 'RFQ', 'N', 'RFQ-70', '', '', 0.00, '', '', '', '', '2024-09-02', '00:00:00', '2024-09-16', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 16:34:00', 1, '2024-09-02 17:38:38', 0),
(71, 'RFQ', 'N', 'RFQ-71', 'price_basis', 'single', 0.00, '7', '', '4', 'ABC123', '2024-09-02', '17:40:00', '2024-09-02', '23:40:00', '2024-09-02', '20:40:00', 'test', 'GHI--3L_Salasar.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 17:40:57', 1, '2024-09-02 17:40:57', 0),
(72, 'RFQ', '', 'RFQ-72', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 17:43:46', 1, '2024-09-02 17:43:46', 0),
(73, 'RFQ', '', 'RFQ-73', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 17:46:29', 1, '2024-09-02 17:46:29', 0),
(74, 'RFQ', '', 'RFQ-74', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 17:47:15', 1, '2024-09-02 17:57:17', 0),
(75, 'RFQ', '', 'RFQ-75', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 17:59:01', 1, '2024-09-02 18:47:23', 0),
(76, 'RFQ', 'N', 'RFQ-76', 'packing_charges', 'part', 0.00, '5', '', '1', '123456', '2024-09-02', '18:36:00', '2024-09-03', '23:40:00', '2024-09-03', '18:36:00', 'default', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '9', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 18:42:36', 1, '2024-09-02 18:42:36', 1),
(77, 'RFQ', 'N', 'RFQ-77', 'packing_charges', 'part', 0.00, '5', '', '1', '123456', '2024-09-02', '18:36:00', '2024-09-03', '23:40:00', '2024-09-03', '18:36:00', 'default', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '9', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 18:42:38', 1, '2024-09-02 18:51:41', 0),
(78, 'RFQ', 'N', 'RFQ-78', 'price_basis', 'single', 0.00, '12', '', '3', 'yy', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', 'hh', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '7', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-02 22:45:38', 1, '2024-09-02 22:54:09', 0),
(79, 'RFQ', 'N', 'RFQ-79', 'price_basis', 'single', 0.00, '4,5,7,11,12,13', '', '10', 'PC001', '2024-09-03', '10:00:00', '2024-09-06', '23:15:00', '2024-09-06', '23:10:00', 'default', 'DownloadedFile (1).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-06 12:57:04', '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-03 10:32:32', 1, '2024-09-06 09:52:22', 0),
(80, 'RFQ', 'RC', 'RFQ-80', 'packing_charges', 'part', 7000.00, '', '2', '10', 'PC123', '2024-09-03', '09:30:00', '2024-09-06', '23:45:00', '2024-09-06', '23:30:00', 'default', 'profile.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-03 14:42:41', '', '', NULL, 0, 1, 1, 1, '10 days', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-03 11:43:13', 1, '2024-09-06 09:37:18', 0),
(81, 'RFQ', 'N', 'RFQ-81', 'price_basis', 'single', 0.00, '5,7,11', '', '10', '00012', '2024-09-05', '09:30:00', '2024-09-07', '23:50:00', '2024-09-07', '22:50:00', 'default', 'GRN_BILL (3).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-06 11:43:47', '', '', NULL, 0, 1, 1, 1, '', '2', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-05 17:53:19', 1, '2024-09-06 11:42:40', 0),
(82, 'RFQ', 'N', 'RFQ-82', 'forward_charges', 'part', 0.00, '4,5,7', '', '10', 'PC12345', '2024-09-06', '09:45:00', '2024-09-10', '22:45:00', '2024-09-09', '22:45:00', 'default', 'invoice_Details_Report (2).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-06 12:49:27', '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-06 12:48:32', 1, '2024-09-06 12:49:07', 0),
(83, 'RFQ', 'N', 'RFQ-83', 'packing_charges', 'single', 0.00, '4,11,13', '', '100', 'Demo0001', '2024-09-05', '00:00:00', '2024-09-13', '00:00:00', '2024-09-12', '00:00:00', 'Procurement of ', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-06 16:01:07', '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-06 12:53:50', 1, '2024-09-06 16:00:00', 0),
(84, 'RFQ', 'N', 'RFQ-84', '', 'single', 0.00, '4,5,7,11', '', '10', 'PC10/09/202', '2024-09-10', '10:30:00', '2024-09-11', '23:30:00', '2024-09-11', '23:59:00', 'default', 'invoice_Details_Report (2).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-10 12:27:38', '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-10 11:49:19', 1, '2024-09-10 12:27:33', 0),
(85, 'RFQ', 'RC', 'RFQ-85', 'price_basis', 'single', 7000.00, '', '1', '10', 'PC123', '2024-09-10', '07:10:00', '2024-09-11', '23:30:00', '2024-09-11', '23:15:00', 'sub', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-10 17:16:10', '', '', NULL, 0, 1, 1, 1, '10 days', '2', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-10 17:14:53', 1, '2024-09-10 17:15:55', 0),
(86, 'RFQ', 'RC', 'RFQ-86', 'price_basis', 'single', 7000.00, '', '1', '10', 'PC0000001', '2024-09-11', '10:20:00', '2024-09-12', '23:45:00', '2024-09-12', '23:20:00', 'DEMO TEST', 'download (2).pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-11 12:27:12', '', '', NULL, 0, 1, 1, 1, '10 days', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-11 12:25:29', 1, '2024-09-11 12:26:49', 0),
(87, 'RFQ', 'N', 'RFQ-87', 'price_basis', 'single', 0.00, '4,5,7', '', '10', '123456', '2024-09-16', '09:45:00', '2024-09-19', '22:50:00', '2024-09-19', '22:45:00', 'default', 'Hindalco mahan Normal 9-8-2024.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-16 14:03:37', '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-16 13:59:46', 1, '2024-09-18 15:31:34', 0),
(88, '', '', 'RFQ-88', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-09-18 10:00:09', 1, '2024-09-18 10:00:09', 0),
(89, 'RFQ', 'N', 'RFQ-89', 'price_basis', 'single', 0.00, '4,5', '', '10', 'project 123', '2024-09-19', '16:22:00', '2024-09-21', '16:22:00', '2024-09-21', '16:00:00', 'default', 'profile.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-19 16:35:32', 'TEST', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-19 16:30:04', 1, '2024-09-19 16:30:04', 0),
(90, 'RFQ', 'RC', 'RFQ-90', 'price_basis', 'part', 10000.00, '', '1', '20', 'PC123', '2024-09-19', '16:20:00', '2024-09-21', '16:30:00', '2024-09-21', '16:20:00', 'DEMOTEST', 'Proposal.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-19 16:34:43', '', '', NULL, 0, 1, 1, 1, '15 DAYS ', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-19 16:34:20', 1, '2024-09-19 16:34:20', 0),
(91, 'RFQ', 'N', 'RFQ-91', 'forward_charges', 'single', 0.00, '14', '', '150', 'Demo789', '2024-09-18', '00:00:00', '2024-09-28', '00:00:00', '0000-00-00', '00:00:00', 'Procurement of MAT11', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-20 12:35:08', '', '', NULL, 0, 1, 1, 1, '', '13', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-20 12:34:44', 1, '2024-09-20 12:34:44', 0),
(92, 'RFQ', 'N', 'RFQ-92', 'price_basis', 'single', 0.00, '5,11', '', '55', 'test', '2024-09-20', '16:41:00', '2024-09-20', '16:42:00', '2024-09-20', '16:42:00', 'Test 1', 'Salasar Auction.pdf', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-09-20 16:46:15', '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-20 16:45:49', 1, '2024-09-20 16:45:49', 0),
(93, 'RFQ', 'N', 'RFQ-93', 'forward_charges', '', 0.00, '12,13', '', '', '', '2024-10-09', '00:00:00', '2024-10-09', '22:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-10-09 12:44:07', '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-09-24 17:16:26', 1, '2024-10-09 12:44:01', 0),
(94, 'RFQ', 'N', 'RFQ-94', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:06:53', 1, '2024-10-10 18:06:53', 0),
(95, 'RFQ', 'N', 'RFQ-95', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:06:55', 1, '2024-10-10 18:06:55', 0),
(96, 'RFQ', 'N', 'RFQ-96', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:06:57', 1, '2024-10-10 18:06:57', 0),
(97, 'RFQ', 'N', 'RFQ-97', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:06:57', 1, '2024-10-10 18:06:57', 0),
(98, 'RFQ', 'N', 'RFQ-98', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:06:58', 1, '2024-10-10 18:06:58', 0),
(99, 'RFQ', 'N', 'RFQ-99', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:06:59', 1, '2024-10-10 18:06:59', 0),
(100, 'RFQ', 'N', 'RFQ-100', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:06:59', 1, '2024-10-10 18:06:59', 0),
(101, 'RFQ', 'N', 'RFQ-101', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:07:01', 1, '2024-10-10 18:07:01', 0),
(102, 'RFQ', 'N', 'RFQ-102', 'packing_charges', 'single', 0.00, '4,11,12', '', '100', 'demo1', '2024-10-09', '00:00:00', '2024-10-11', '00:00:00', '2024-10-17', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-10 18:07:01', 1, '2024-10-10 18:07:01', 0),
(103, 'RFQ', 'N', 'RFQ-103', 'packing_charges', '', 0.00, '11,13', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '3', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-19 17:45:19', 1, '2024-10-19 17:45:19', 0),
(104, 'RFQ', 'N', 'RFQ-104', 'packing_charges', '', 0.00, '11,13', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '3', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-19 17:45:22', 1, '2024-10-19 17:45:22', 0),
(105, 'RFQ', 'N', 'RFQ-105', 'price_basis', 'single', 0.00, '11', '', '55', 'test', '2024-10-19', '00:00:00', '2024-10-20', '00:00:00', '2024-10-19', '00:00:00', 'tesrt', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-10-19 17:53:45', '', '', NULL, 0, 1, 1, 1, '', '3', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-10-19 17:53:20', 1, '2024-10-19 17:53:20', 0),
(106, 'RFQ', 'N', 'RFQ-106', 'packing_charges', 'single', 0.00, '11', '', '5', 'demo1', '2024-10-18', '00:00:00', '2024-11-22', '00:00:00', '0000-00-00', '00:00:00', 'Procurement of \"Metal\"', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-10-21 18:02:18', '', '', NULL, 0, 1, 1, 1, '', '11', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-10-21 18:01:45', 1, '2024-10-21 18:01:45', 0),
(107, '', 'N', 'RFQ-107', 'packing_charges', 'single', 0.00, '11', '', '1', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', 'RA', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-10-23 14:13:44', '', '', NULL, 0, 1, 1, 1, '', '3', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-10-23 14:13:10', 1, '2024-10-23 14:13:10', 0),
(108, 'RFQ', 'N', 'RFQ-108', 'packing_charges', 'single', 0.00, '11,15', '', '100', 'PC123', '2024-10-23', '00:00:00', '2024-10-26', '00:00:00', '0000-00-00', '00:00:00', 'Demo Procurement', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-10-24 17:21:35', '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2024-10-24 17:21:21', 1, '2024-10-24 17:21:21', 0),
(109, 'RFQ', 'N', 'RFQ-109', 'forward_charges', 'single', 0.00, '11', '', '0', 'PC123', '2024-10-23', '00:00:00', '2024-10-26', '00:00:00', '0000-00-00', '00:00:00', 'DEMO TEST', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-10-24 17:29:52', '', '', NULL, 0, 1, 1, 1, '', '1', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-10-24 17:29:39', 1, '2024-10-24 17:29:39', 0),
(110, 'RFQ', 'N', 'RFQ-110', 'packing_charges', 'single', 0.00, '11', '', '90', '0001', '2024-10-26', '17:46:00', '2024-10-27', '19:46:00', '2024-10-26', '00:00:00', 'abc', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'A', 1, '2024-10-25 17:51:20', '', '', NULL, 0, 1, 1, 1, '', '11', NULL, 0, 0, 0, 42, 34, 0, NULL, 1, 1, '2024-10-25 17:50:43', 1, '2024-10-25 17:50:43', 0),
(111, '', '', 'RFQ-111', '', '', 0.00, '', '', '', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', '', '', '', NULL, '', 0, 1, 1, 1, 1, 1, 1, 1, 'P', 0, NULL, '', '', NULL, 0, 1, 1, 1, '', '', NULL, 0, 0, 0, 42, 34, 0, NULL, 0, 1, '2025-02-19 16:29:04', 1, '2025-02-19 16:29:04', 0);

-- --------------------------------------------------------

--
