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

START TRANSACTION;



--
-- Database: `gmpsoftwareindia_arna`
--

--
-- Dumping data for table `activity`
--

INSERT INTO `activity` (`id`, `activity_type`, `entry_by`, `entry_date`, `equipment_code`, `location`, `labour_no`, `start_date`, `from_time`, `end_date`, `to_time`, `pressure`, `temperature`, `humidity`, `plant_id`) VALUES
(1, '', 'master', '2023-12-07', 'LAF003', 'sAMPLING', 'SWAPNIL', '2023-12-07', '16:27:00', '2023-12-07', '16:27:00', '20', '20', '40', '87'),
(2, '', 'master', '2023-12-08', 'LAF560', 'Sampling', 'SWAPNIL', '2023-12-08', '15:02:00', '', '00:00:00', '', '', '', '87'),
(3, '', 'master', '2023-12-09', 'LAF560', 'Sampling', 'GANESH ', '2023-12-09', '12:55:00', '', '00:00:00', '', '', '', '87'),
(4, '', 'master', '2023-12-11', '0101', 'Sampling', 'GANESH ', '2023-12-11', '14:04:00', '', '00:00:00', '', '', '', '87'),
(5, '', 'master', '2023-12-12', 'laf-001', 'Testing', 'GANESH ', '2023-12-12', '10:08:00', '', '00:00:00', '', '', '', '87');

--
-- Dumping data for table `additional_term`
--

INSERT INTO `additional_term` (`id`, `plant_id`, `additional_term`, `entry_date`, `status`, `entry_by`) VALUES
(10, 87, 'delivery within 50 days', '2023-12-06', '', 'master'),
(11, 87, 'The payment date and period of time that your client has to pay the total amount owed', '2023-12-06', '', 'master');

--
-- Dumping data for table `analyst_details`
--

INSERT INTO `analyst_details` (`id`, `plant_id`, `dept`, `emp_name`, `emp_id`, `dob`, `mo_no`, `email`, `degree`, `institute`, `study`, `work_exp`, `pre_emp`, `skills`, `courses`, `certificate`, `analytical_tools`, `q_document`, `prepared_by`, `prepared_date`, `review_by`, `review_date`) VALUES
(1, '29', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(2, '29', 'Business D', 'BD001', 'BD001', '1998-08-19', '9678688686', 'fhg@gmail.', '1', '1', '1', '1', '1', '1', '1', '1', '1', 'masterq_do', '1', '0342-02-04', '1', '0235-05-12'),
(3, '29', 'Business D', 'BD001', 'BD001', '1998-08-19', '9678688686', 'fhg@gmail.', '1', '1', '1', '1', '1', '1', '1', '1', '1', 'masterq_do', '1', '0342-02-04', '1', '0235-05-12');

--
-- Dumping data for table `batch_formula_info`
--

INSERT INTO `batch_formula_info` (`id`, `plant_id`, `user_no`, `mfr_no`, `bfr_no`, `product_type`, `product_code`, `unit_formula_batch_weight`, `batch_formula_weight`, `rm_batch_size_unit`, `pm_pack_size`, `pm_pack_unit`, `market_type`, `country_specific`, `country_name`, `packing_type`, `raw_materials`, `packing_materials`, `bfr_type`, `version_no`, `effective_date`, `status`, `entry_by`, `entry_date`, `checked_by`, `checked_date`, `approve_by`, `approve_date`) VALUES
(202, '87', 'gmpdemo1', 'MFR001', 'BFR0001', 'Raw Material', 'PFG4', 0.00, 50.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"100\",\"overages_per\":0,\"qty_overages_qty\":\"100.000000\",\"percent_qty\":\"20.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":100,\"material_code\":\"RM0001166\",\"batch_qty\":\"10.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"200\",\"overages_per\":0,\"qty_overages_qty\":\"200.000000\",\"percent_qty\":\"40.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":200,\"material_code\":\"RM00031\",\"batch_qty\":\"20.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Aluminum Hydroxide\",\"material_Code\":\"RM0001167\",\"grade\":\"IP\",\"qty\":\"200\",\"overages_per\":0,\"qty_overages_qty\":\"200.000000\",\"percent_qty\":\"40.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":200,\"material_code\":\"RM0001167\",\"batch_qty\":\"20.00\"}]', 'null', '', '', '0000-00-00 00:00:00', 'Approve', 'master', '2023-12-11 04:21:49', '', NULL, 'master', '2023-12-11 02:52:04'),
(203, '87', 'gmpdemo1', 'MFR173', 'BFR0002', 'Raw Material', 'PFG6', 0.00, 500.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Calcium Carbonate\",\"material_Code\":\"RM0001170\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001170\",\"batch_qty\":\"250.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Cellulose\",\"material_Code\":\"RM0001172\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001172\",\"batch_qty\":\"250.00\"}]', 'null', '', '', '0000-00-00 00:00:00', 'Approve', 'master', '2023-12-11 06:15:53', '', NULL, 'master', '2023-12-11 04:46:04'),
(204, '87', 'gmpdemo1', 'MFR174', 'BFR0003', 'Raw Material', 'PFG5', 0.00, 400.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"100\",\"overages_per\":0,\"qty_overages_qty\":\"100.000000\",\"percent_qty\":\"25.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":100,\"material_code\":\"RM00031\",\"batch_qty\":\"100.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"200\",\"overages_per\":0,\"qty_overages_qty\":\"200.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":200,\"material_code\":\"RM0001166\",\"batch_qty\":\"200.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Aluminum Hydroxide\",\"material_Code\":\"RM0001167\",\"grade\":\"IP\",\"qty\":\"100\",\"overages_per\":0,\"qty_overages_qty\":\"100.000000\",\"percent_qty\":\"25.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":100,\"material_code\":\"RM0001167\",\"batch_qty\":\"100.00\"}]', 'null', '', '', '0000-00-00 00:00:00', 'Approve', 'master', '2023-12-11 07:24:38', '', NULL, 'master', '2023-12-11 05:54:45'),
(205, '87', 'gmpdemo1', 'MFR175', 'BFR0004', 'Raw Material', 'PFG8', 0.00, 300.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Sodium Alginate test\",\"material_Code\":\"RM0001187\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"Yes\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"Yes\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001187\",\"batch_qty\":\"150.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Microcrystalline Cellulose Powder  test\",\"material_Code\":\"RM0001188\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"Yes\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"Yes\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001188\",\"batch_qty\":\"150.00\"}]', 'null', '', '', '0000-00-00 00:00:00', 'Approve', 'master', '2023-12-11 07:46:12', '', NULL, 'master', '2023-12-11 06:16:17'),
(206, '87', 'gmpdemo1', 'MFR176', 'BFR0005', 'Raw Material', 'PFG7', 0.00, 150.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM00031\",\"batch_qty\":\"75.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001166\",\"batch_qty\":\"75.00\"}]', 'null', '', '', '0000-00-00 00:00:00', 'Approve', 'master', '2023-12-11 08:15:14', '', NULL, 'master', '2023-12-11 06:45:29'),
(207, '87', 'gmpdemo1', 'MFR179', 'BFR0006', 'Raw Material', 'PFG12', 0.00, 120.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM00031\",\"batch_qty\":\"60.00\"}]', 'null', '', '', '0000-00-00 00:00:00', 'Approve', 'master', '2023-12-11 08:43:34', '', NULL, 'master', '2023-12-11 07:25:25'),
(208, '87', 'gmpdemo1', 'MFR180', 'BFR0007', 'Raw Material', 'PFG11', 0.00, 100.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM0001166\",\"batch_qty\":\"50.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Aluminum Hydroxide\",\"material_Code\":\"RM0001167\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM0001167\",\"batch_qty\":\"50.00\"}]', '[{\"id\":\"211\",\"unit_formula_id\":\"181\",\"market_type\":\"Domestic\",\"country_specific\":\"\",\"country_name\":\"\",\"packing_type\":\"Sale\",\"pack_size\":\"20\",\"batch_size\":\"100\",\"unit\":\"KG\",\"packing_materials\":[{\"id\":\"757\",\"unit_formula_dtl_id\":\"211\",\"material_subtype\":\"Packing Material\",\"material_name\":\"Box\",\"qty\":\"100.00\",\"unit_name\":\"Nos\",\"overages\":\"0.00\",\"role\":\"Primary Packing\",\"total_qty\":\"100.00\",\"material_code\":\"PM001183\",\"grade\":\"\",\"gradeName1\":null},{\"id\":\"758\",\"unit_formula_dtl_id\":\"211\",\"material_subtype\":\"Packing Material\",\"material_name\":\"Blister Packs\",\"qty\":\"50.00\",\"unit_name\":\"Nos\",\"overages\":\"0.00\",\"role\":\"Primary Packing\",\"total_qty\":\"50.00\",\"material_code\":\"PM001182\",\"grade\":\"18\",\"gradeName1\":\"USP\"}]}]', '', '', '0000-00-00 00:00:00', 'pending', 'master', '2023-12-11 08:54:59', '', NULL, '', NULL),
(209, '87', 'gmpdemo1', 'MFR182', 'BFR0008', 'Raw Material', 'PFG13', 0.00, 80.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM00031\",\"batch_qty\":\"40.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Aluminum Hydroxide\",\"material_Code\":\"RM0001167\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM0001167\",\"batch_qty\":\"40.00\"}]', 'null', '', '', '0000-00-00 00:00:00', 'Approve', 'master', '2023-12-11 09:16:31', '', NULL, 'master', '2023-12-11 07:46:54'),
(210, '87', 'gmpdemo1', 'MFR184', 'BFR0009', 'Raw Material', 'PFG14', 0.00, 180.00, '', 0.00, '', '', '', '', '', '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM00031\",\"batch_qty\":\"90.00\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Cellulose\",\"material_Code\":\"RM0001172\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"Yes\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"Yes\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM0001172\",\"batch_qty\":\"90.00\"}]', 'null', '', '', '0000-00-00 00:00:00', 'Approve', 'master', '2023-12-11 09:26:45', '', NULL, 'master', '2023-12-11 07:57:05');

--
-- Dumping data for table `batch_materials`
--

INSERT INTO `batch_materials` (`id`, `plant_id`, `material_type`, `pack_size`, `pack_unit`, `mf_batch_size`, `bfr_no`, `material_code`, `overages`, `qty`, `unit`, `grade`, `batch_qty`, `total_qty`, `yeild_contribution`, `role`, `process_step`, `split_into_lots`, `factor`, `strength`, `no`) VALUES
(896, 87, 'Raw Material', 0, '', 0, 'BFR0001', 'RM0001166', 0.00, 100.00, 'KG', 'IP', 10.00, 100.00, 'No', 'Active', '', 'No', '', '', 0),
(897, 87, 'Raw Material', 0, '', 0, 'BFR0001', 'RM00031', 0.00, 200.00, 'KG', 'IP', 20.00, 200.00, 'No', 'Active', '', 'No', '', '', 0),
(898, 87, 'Raw Material', 0, '', 0, 'BFR0001', 'RM0001167', 0.00, 200.00, 'KG', 'IP', 20.00, 200.00, 'No', 'Active', '', 'No', '', '', 0),
(899, 87, 'Raw Material', 0, '', 0, 'BFR0002', 'RM0001170', 0.00, 50.00, 'KG', 'IP', 250.00, 50.00, 'No', 'Active', '', 'No', '', '', 0),
(900, 87, 'Raw Material', 0, '', 0, 'BFR0002', 'RM0001172', 0.00, 50.00, 'KG', 'IP', 250.00, 50.00, 'No', 'Active', '', 'No', '', '', 0),
(901, 87, 'Raw Material', 0, '', 0, 'BFR0003', 'RM00031', 0.00, 100.00, 'KG', 'IP', 100.00, 100.00, 'No', 'Active', '', 'No', '', '', 0),
(902, 87, 'Raw Material', 0, '', 0, 'BFR0003', 'RM0001166', 0.00, 200.00, 'KG', 'IP', 200.00, 200.00, 'No', 'Active', '', 'Yes', '', '', 0),
(903, 87, 'Raw Material', 0, '', 0, 'BFR0003', 'RM0001167', 0.00, 100.00, 'KG', 'IP', 100.00, 100.00, 'No', 'Active', '', 'No', '', '', 0),
(904, 87, 'Raw Material', 0, '', 0, 'BFR0004', 'RM0001187', 0.00, 50.00, 'Mg', 'IP', 150.00, 50.00, 'Yes', 'Binder', '', 'Yes', '', '', 0),
(905, 87, 'Raw Material', 0, '', 0, 'BFR0004', 'RM0001188', 0.00, 50.00, 'Mg', 'IP', 150.00, 50.00, 'Yes', 'Active', '', 'Yes', '', '', 0),
(906, 87, 'Raw Material', 0, '', 0, 'BFR0005', 'RM00031', 0.00, 50.00, 'Mg', 'IP', 75.00, 50.00, 'No', 'Active', '', 'Yes', '', '', 0),
(907, 87, 'Raw Material', 0, '', 0, 'BFR0005', 'RM0001166', 0.00, 50.00, 'Mg', 'IP', 75.00, 50.00, 'No', 'Active', '', 'Yes', '', '', 0),
(908, 87, 'Raw Material', 0, '', 0, 'BFR0006', 'RM00031', 0.00, 10.00, 'Mg', 'IP', 60.00, 10.00, 'No', 'Active', '', 'Yes', '', '', 0),
(909, 87, 'Raw Material', 0, '', 0, 'BFR0007', 'RM0001166', 0.00, 10.00, 'Mg', 'IP', 50.00, 10.00, 'No', 'Binder', '', 'Yes', '', '', 0),
(910, 87, 'Raw Material', 0, '', 0, 'BFR0007', 'RM0001167', 0.00, 10.00, 'Mg', 'IP', 50.00, 10.00, 'No', 'Active', '', 'Yes', '', '', 0),
(911, 87, 'Raw Material', 0, '', 0, 'BFR0008', 'RM00031', 0.00, 10.00, 'Mg', 'IP', 40.00, 10.00, 'No', 'Binder', '', 'Yes', '', '', 0),
(912, 87, 'Raw Material', 0, '', 0, 'BFR0008', 'RM0001167', 0.00, 10.00, 'Mg', 'IP', 40.00, 10.00, 'No', 'Binder', '', 'Yes', '', '', 0),
(913, 87, 'Raw Material', 0, '', 0, 'BFR0009', 'RM00031', 0.00, 10.00, 'Mg', 'IP', 90.00, 10.00, 'No', 'Binder', '', 'Yes', '', '', 0),
(914, 87, 'Raw Material', 0, '', 0, 'BFR0009', 'RM0001172', 0.00, 10.00, 'Mg', 'IP', 90.00, 10.00, 'Yes', 'Binder', '', 'Yes', '', '', 0);

--
-- Dumping data for table `batch_planing_raw_material_hdr`
--

INSERT INTO `batch_planing_raw_material_hdr` (`id`, `batch_plan_id`, `country_name`, `pack_size`, `pack_size_unit`, `pack_batch_size`, `pack_type`, `batch_size`) VALUES
(454, 247, '', '20', 'KG', '', '', '100'),
(455, 247, '', '20', 'KG', '', '', '100'),
(456, 248, '', '20', 'KG', '', '', '300'),
(457, 248, '', '20', 'KG', '', '', '300'),
(458, 249, '', '20', 'KG', '', '', '400'),
(459, 249, '', '20', 'KG', '', '', '400'),
(460, 250, '', '100', 'KG', '', '', '500'),
(461, 250, '', '100', 'KG', '', '', '500'),
(462, 251, '', '20', 'KG', '', '', '400'),
(463, 251, '', '20', 'KG', '', '', '400'),
(464, 252, '', '20', 'KG', '', '', '300'),
(465, 252, '', '20', 'KG', '', '', '300'),
(466, 253, '', '20', 'KG', '', '', '100'),
(467, 253, '', '20', 'KG', '', '', '100'),
(468, 254, '', '20', 'KG', '', '', '300'),
(469, 254, '', '20', 'KG', '', '', '300');

--
-- Dumping data for table `batch_planning`
--

INSERT INTO `batch_planning` (`id`, `plant_id`, `material_type`, `plan_no`, `plan_for`, `plan_based_on`, `plan_type`, `plan_for_market`, `plan_client_name`, `plan_client_code`, `client_po_no`, `client_po_date`, `client_po_qty`, `client_po_unit`, `product_type`, `product_code`, `product_name`, `country_specific`, `pack_multiple_countries`, `grade`, `bfr_no`, `mfr_no`, `batch_size`, `batch_no`, `pack_size`, `pack_unit`, `total_batches`, `dispatch_qty`, `planned_qty`, `qty_can_planned`, `no_of_batches_can_planned`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`) VALUES
(247, '87', 'RM', 'P10001', 'Own', 'Proposed Qty', 'Batch Wise', 'Domestic', '', '', '', '', 0, '', 'Tablet', 'PFG4', 'PFG4', 0, 0, '', 'BFR0001', 'MFR001', 50.00, '', '', '', 1, '', 50.00, 2500.00, 50.00, 'APPROVED', 'master', '2023-12-11', 'master', '2023-12-11'),
(248, '87', 'RM', 'P10248', 'Own', 'Proposed Qty', 'Batch Wise', 'Domestic', '', '', '', '', 0, '', 'Tablet', 'PFG6', 'PFG6', 0, 0, '', 'BFR0002', 'MFR173', 500.00, '', '', '', 1, '', 500.00, 2000.00, 4.00, 'APPROVED', 'master', '2023-12-11', 'master', '2023-12-11'),
(249, '87', 'RM', 'P10249', 'Own', 'Proposed Qty', 'Batch Wise', 'Domestic', '', '', '', '', 0, '', 'Tablet', 'PFG5', 'PFG5', 0, 0, '', 'BFR0003', 'MFR174', 400.00, '', '', '', 1, '', 400.00, 1600.00, 4.00, 'APPROVED', 'master', '2023-12-11', 'master', '2023-12-11'),
(250, '87', 'RM', 'P10250', 'Own', 'Proposed Qty', 'Batch Wise', 'Domestic', '', '', '', '', 0, '', 'Capsule', 'PFG8', 'PFG8', 0, 0, '', 'BFR0004', 'MFR175', 300.00, '', '', '', 2, '', 600.00, 1500.00, 5.00, 'APPROVED', 'master', '2023-12-11', 'master', '2023-12-11'),
(251, '87', 'RM', 'P10251', 'Own', 'Proposed Qty', 'Batch Wise', 'Domestic', '', '', '', '', 0, '', 'Tablet', 'PFG7', 'PFG7', 0, 0, '', 'BFR0005', 'MFR176', 150.00, '', '', '', 1, '', 150.00, 1500.00, 10.00, 'APPROVED', 'master', '2023-12-11', 'master', '2023-12-11'),
(252, '87', 'RM', 'P10252', 'Own', 'Proposed Qty', 'Batch Wise', 'Domestic', '', '', '', '', 0, '', 'Tablet', 'PFG12', 'PFG12', 0, 0, '', 'BFR0006', 'MFR179', 120.00, '', '', '', 1, '', 120.00, 2640.00, 22.00, 'Pending', 'master', '2023-12-11', '', '0000-00-00'),
(253, '87', 'RM', 'P10253', 'Own', 'Proposed Qty', 'Batch Wise', 'Domestic', '', '', '', '', 0, '', 'Tablet', 'PFG13', 'PFG13', 0, 0, '', 'BFR0008', 'MFR182', 80.00, '', '', '', 2, '', 160.00, 2080.00, 26.00, 'APPROVED', 'master', '2023-12-11', 'master', '2023-12-11'),
(254, '87', 'RM', 'P10254', 'Own', 'Proposed Qty', 'Batch Wise', 'Domestic', '', '', '', '', 0, '', 'Capsule', 'PFG14', 'PFG14', 0, 0, '', 'BFR0009', 'MFR184', 180.00, '', '', '', 2, '', 360.00, 1980.00, 11.00, 'APPROVED', 'master', '2023-12-11', 'master', '2023-12-11');

--
-- Dumping data for table `batch_planning_materials`
--

INSERT INTO `batch_planning_materials` (`id`, `plant_id`, `batch_plan_id`, `pm_hdr_id`, `material_type`, `pack_size`, `pack_unit`, `mf_batch_size`, `bfr_no`, `material_code`, `overages`, `qty`, `unit`, `grade`, `batch_qty`, `total_qty`, `plan_qty`, `batches_can_plan`, `shortage_qty`, `disp_id`, `dispensing_status`) VALUES
(1302, 87, 247, 0, 'Raw Material', 0, '', 0, 'BFR0001', 'RM0001166', 0.00, 100.00, 'KG', 'IP', 10.00, 100.00, 10.00, 70.00, 690.00, '2', ''),
(1303, 87, 247, 0, 'Raw Material', 0, '', 0, 'BFR0001', 'RM00031', 0.00, 200.00, 'KG', 'IP', 20.00, 200.00, 20.00, 63.00, 1230.00, '2', ''),
(1304, 87, 247, 0, 'Raw Material', 0, '', 0, 'BFR0001', 'RM0001167', 0.00, 200.00, 'KG', 'IP', 20.00, 200.00, 20.00, 50.00, 980.00, '2', ''),
(1305, 87, 247, 454, 'Packing Material', 20, '', 0, 'BFR0001', 'PM001183', 0.00, 50.00, 'KG', '', 25.00, 50.00, 25.00, 1250.00, 975.00, '0', ''),
(1306, 87, 247, 455, 'Packing Material', 20, '', 0, 'BFR0001', 'PM0031', 0.00, 50.00, 'KG', '18', 25.00, 50.00, 25.00, 1250.00, 975.00, '0', ''),
(1307, 87, 248, 0, 'Raw Material', 0, '', 0, 'BFR0002', 'RM0001170', 0.00, 50.00, 'KG', 'IP', 250.00, 50.00, 250.00, 4.00, 750.00, '2', ''),
(1308, 87, 248, 0, 'Raw Material', 0, '', 0, 'BFR0002', 'RM0001172', 0.00, 50.00, 'KG', 'IP', 250.00, 50.00, 250.00, 4.00, 750.00, '2', ''),
(1309, 87, 248, 456, 'Packing Material', 20, '', 0, 'BFR0002', 'PM001183', 0.00, 500.00, 'KG', '', 833.33, 500.00, 833.33, 3333.33, 166.67, '0', ''),
(1310, 87, 248, 457, 'Packing Material', 20, '', 0, 'BFR0002', 'PM001182', 0.00, 400.00, 'KG', '18', 666.67, 400.00, 666.67, 2666.67, 333.33, '0', ''),
(1311, 87, 249, 0, 'Raw Material', 0, '', 0, 'BFR0003', 'RM00031', 0.00, 100.00, 'KG', 'IP', 100.00, 100.00, 100.00, 13.00, 1200.00, '2', ''),
(1312, 87, 249, 0, 'Raw Material', 0, '', 0, 'BFR0003', 'RM0001166', 0.00, 200.00, 'KG', 'IP', 200.00, 200.00, 200.00, 4.00, 550.00, '2', ''),
(1313, 87, 249, 0, 'Raw Material', 0, '', 0, 'BFR0003', 'RM0001167', 0.00, 100.00, 'KG', 'IP', 100.00, 100.00, 100.00, 11.00, 950.00, '2', ''),
(1314, 87, 249, 458, 'Packing Material', 20, '', 0, 'BFR0003', 'PM001183', 0.00, 50.00, 'KG', '', 50.00, 50.00, 50.00, 200.00, 950.00, '0', ''),
(1315, 87, 249, 459, 'Packing Material', 20, '', 0, 'BFR0003', 'PM0031', 0.00, 50.00, 'KG', '18', 50.00, 50.00, 50.00, 200.00, 950.00, '0', ''),
(1316, 87, 250, 0, 'Raw Material', 0, '', 0, 'BFR0004', 'RM0001187', 0.00, 50.00, 'Mg', 'IP', 150.00, 50.00, 300.00, 5.00, 400.00, '2', ''),
(1317, 87, 250, 0, 'Raw Material', 0, '', 0, 'BFR0004', 'RM0001188', 0.00, 50.00, 'Mg', 'IP', 150.00, 50.00, 300.00, 5.00, 500.00, '2', ''),
(1318, 87, 250, 460, 'Packing Material', 100, '', 0, 'BFR0004', 'PM001182', 2.00, 100.00, 'KG', '18', 61.20, 102.00, 122.40, 0.00, 877.60, '0', ''),
(1319, 87, 250, 461, 'Packing Material', 100, '', 0, 'BFR0004', 'PM0031', 1.00, 100.00, 'KG', '18', 60.60, 101.00, 121.20, 0.00, 878.80, '0', ''),
(1320, 87, 251, 0, 'Raw Material', 0, '', 0, 'BFR0005', 'RM00031', 0.00, 50.00, 'Mg', 'IP', 75.00, 50.00, 75.00, 17.00, 1225.00, '0', ''),
(1321, 87, 251, 0, 'Raw Material', 0, '', 0, 'BFR0005', 'RM0001166', 0.00, 50.00, 'Mg', 'IP', 75.00, 50.00, 75.00, 10.00, 675.00, '0', ''),
(1322, 87, 251, 462, 'Packing Material', 20, '', 0, 'BFR0005', 'PM001183', 0.00, 50.00, 'KG', '', 18.75, 50.00, 18.75, 187.50, 981.25, '0', ''),
(1323, 87, 251, 463, 'Packing Material', 20, '', 0, 'BFR0005', 'PM001182', 0.00, 50.00, 'KG', '18', 18.75, 50.00, 18.75, 187.50, 981.25, '0', ''),
(1324, 87, 252, 0, 'Raw Material', 0, '', 0, 'BFR0006', 'RM00031', 0.00, 10.00, 'Mg', 'IP', 60.00, 10.00, 60.00, 22.00, 1240.00, '0', ''),
(1325, 87, 252, 464, 'Packing Material', 20, '', 0, 'BFR0006', 'PM001183', 0.00, 50.00, 'KG', '', 20.00, 50.00, 20.00, 440.00, 980.00, '0', ''),
(1326, 87, 252, 465, 'Packing Material', 20, '', 0, 'BFR0006', 'PM0031', 0.00, 50.00, 'KG', '18', 20.00, 50.00, 20.00, 440.00, 980.00, '0', ''),
(1327, 87, 253, 0, 'Raw Material', 0, '', 0, 'BFR0008', 'RM00031', 0.00, 10.00, 'Mg', 'IP', 40.00, 10.00, 80.00, 33.00, 1220.00, '0', ''),
(1328, 87, 253, 0, 'Raw Material', 0, '', 0, 'BFR0008', 'RM0001167', 0.00, 10.00, 'Mg', 'IP', 40.00, 10.00, 80.00, 26.00, 970.00, '0', ''),
(1329, 87, 253, 466, 'Packing Material', 20, '', 0, 'BFR0008', 'PM001182', 0.00, 30.00, 'KG', '18', 24.00, 30.00, 48.00, 624.00, 952.00, '0', ''),
(1330, 87, 253, 467, 'Packing Material', 20, '', 0, 'BFR0008', 'PM001183', 0.00, 20.00, 'KG', '', 16.00, 20.00, 32.00, 416.00, 968.00, '0', ''),
(1331, 87, 254, 0, 'Raw Material', 0, '', 0, 'BFR0009', 'RM00031', 0.00, 10.00, 'Mg', 'IP', 90.00, 10.00, 180.00, 14.00, 1120.00, '0', ''),
(1332, 87, 254, 0, 'Raw Material', 0, '', 0, 'BFR0009', 'RM0001172', 0.00, 10.00, 'Mg', 'IP', 90.00, 10.00, 180.00, 11.00, 820.00, '0', ''),
(1333, 87, 254, 468, 'Packing Material', 20, '', 0, 'BFR0009', 'PM001183', 0.00, 50.00, 'KG', '', 30.00, 50.00, 60.00, 330.00, 940.00, '0', ''),
(1334, 87, 254, 469, 'Packing Material', 20, '', 0, 'BFR0009', 'PM001182', 0.00, 50.00, 'KG', '18', 30.00, 50.00, 60.00, 330.00, 940.00, '0', '');

--
-- Dumping data for table `bmr_lineclearance_cheklist`
--

INSERT INTO `bmr_lineclearance_cheklist` (`id`, `plant_id`, `checkpoint`, `remark`) VALUES
(34, 87, 'Visually  check and ensure that the area/equipment are cleaned ', '2'),
(35, 87, 'Ensure the area is free from previous product and unwanted materials', '2'),
(36, 87, 'Ensure the temperature and relative humidity are within the specified limit', '2'),
(37, 87, 'Check the personnel is wearing proper PPE', '2'),
(38, 87, 'Check the present status of label which shows the details of RM', '2'),
(39, 87, 'Ensure that the weighing balances are Verified', '2'),
(40, 87, 'Check the Previous batch Raw Material not on the floor', '2'),
(41, 87, 'Ensure the cleanliness of the container & accessories in  which the dispensed material is to be kept.', '2'),
(42, 87, 'Ensure that the Riser filters Grill are cleaned', '2');

--
-- Dumping data for table `bmr_warehouse_dispensing_checklist`
--

INSERT INTO `bmr_warehouse_dispensing_checklist` (`id`, `plant_id`, `checkpoint`, `remark`) VALUES
(23, 87, 'Ensure that dispensing area & pass box are cleaned properly and there are no traces of previous product/dust', '1'),
(24, 87, 'Ensure that balance being used are calibrated and verified for calibration ', '1'),
(25, 87, 'Check the proper gowning of personnel ', '1'),
(26, 87, 'Check the present status label which shows the detail of Activity', '1'),
(27, 87, 'Check the raw material for the name, material codes, appearance, AR. No, expiry/ retest date etc.', '1'),
(28, 87, 'Ensure the cleanliness of the container in which dispensing is to be done', '1');

--
-- Dumping data for table `calibration`
--

INSERT INTO `calibration` (`id`, `user_no`, `frequency`, `equipment_code`, `weights`, `deviation`, `status`, `entry_by`, `entry_date`, `check_by`, `check_date`, `calibration_status`, `remark`, `plant_id`) VALUES
(1, 'gmpdemo1', 'Daily', 'SIPL/EQ/ST/WB/14', 'null', '', 'approve', 'master', '2023-12-11 12:55:31', '', NULL, '', '', '');

--
-- Dumping data for table `challan`
--

INSERT INTO `challan` (`id`, `inward_no`, `user_no`, `material_type`, `challan_no`, `challan_date`, `vendor_no`, `po_no`, `inward`, `po_date`, `driver_name`, `driver_contact`, `tax_invoice`, `transport`, `transport_company`, `vehicle_no`, `materials`, `gross_total`, `gst_total`, `net_total`, `status`, `entry_by`, `entry_date`, `remark`, `approve_by`, `approve_date`, `receiving_status`, `inward_date`, `inward_type`, `challan_file`, `type`, `plant_id`, `weighing_procedure`, `transport_frieght`, `courier`, `person`, `po`, `is_tanker`, `vehicle_type`, `entry_time`, `dedusting`, `damage`, `next_stage`, `tax_invoice_date`) VALUES
(290, '', 'gmpdemo1', 'Raw Material', 'CN0001', '2023-12-06', 'V10001', 'RM/PURHO/0051/2023-24', '', '2023-12-06', '', '', 'TIN0001', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-06 04:54:31', '', 'master', '2023-12-06 04:55:25', 'pending', '2023-12-06 04:54:31', 'Raw Material', '290Layout format.pdf', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '16:54', '', '', 'GRN_Received', '2023-12-10'),
(291, '', 'gmpdemo1', 'Raw Material', 'CN0002', '2023-12-06', 'V10217', 'RM/PURHO/0052/2023-24', '', '2023-12-06', '', '', 'TIN0002', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-06 05:19:10', '', 'master', '2023-12-06 05:19:46', 'pending', '2023-12-06 05:19:10', 'Raw Material', '291Layout format.pdf', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '17:18', '', '', 'GRN_Received', '2023-12-10'),
(292, '', 'gmpdemo1', 'Raw Material', 'CN0003', '2023-12-07', 'V10218', 'RM/PURHO/0053/2023-24', '', '2023-12-07', '', '', 'TIN0003', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-07 02:36:42', '', 'master', '2023-12-07 02:37:16', 'pending', '2023-12-07 02:36:42', 'Raw Material', '292Layout format.pdf', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '14:36', '', '', 'Weighing_Approved', '2023-12-07'),
(293, '', 'gmpdemo1', 'Raw Material', 'CN0004', '2023-12-07', 'V10219', 'RM/PURHO/0054/2023-24', '', '2023-12-07', '', '', 'TIN0004', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-07 03:15:27', '', 'master', '2023-12-07 03:15:56', 'pending', '2023-12-07 03:15:27', 'Raw Material', '293Sem-VII_PJ_CBCS.pdf', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '15:15', '', '', 'Weighing_Completed', '2023-12-08'),
(294, '', 'gmpdemo1', 'Raw Material', 'CN0005', '2023-12-07', 'V10220', 'RM/PURHO/0055/2023-24', '', '2023-12-07', '', '', 'TIN0005', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-07 04:43:36', '', 'master', '2023-12-07 04:46:57', 'pending', '2023-12-07 04:43:36', 'Raw Material', '294Monthaly Calibration Of Weighing Balance QC-010 (1).pdf', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '16:43', '', '', 'Receiving_Approved', '2023-12-10'),
(295, '', 'gmpdemo1', 'Raw Material', 'CN0006', '2023-12-07', 'V10221', 'RM/PURHO/0056/2023-24', '', '2023-12-07', '', '', 'TIN006', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-07 04:58:45', '', 'master', '2023-12-08 11:41:10', 'pending', '2023-12-07 04:58:45', 'Raw Material', '295Sem-VII_PJ_CBCS.pdf', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '16:58', '', '', 'Receiving_Checking', '2023-12-07'),
(296, '', 'gmpdemo1', 'Raw Material', 'CN0007', '2023-12-08', 'V10223', 'RM/PURHO/0058/2023-24', '', '2023-12-08', 'sahil', '5685965412', 'TIN0007', 'Inhand', '', '', 'null', 0.00, 0.00, 0.00, 'pending', 'master', '2023-12-08 11:46:23', '', '', NULL, 'pending', '2023-12-08 11:46:23', 'Raw Material', '', 'From PO', '87', '', '', '', '', '', 'NO', '', '11:45', '', '', 'Pending', '2023-12-08'),
(297, '', 'gmpdemo1', 'Raw Material', 'CN0013', '2023-12-08', 'V10229', 'RM/PURHO/0059/2023-24', '', '2023-12-08', '', '', 'TIN0013', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-08 02:44:07', '', 'master', '2023-12-08 02:44:44', 'pending', '2023-12-08 02:44:07', 'Raw Material', '297Layout format.pdf', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '14:43', '', '', 'GRN_Received', '2023-12-08'),
(298, '', 'gmpdemo1', 'Raw Material', 'CN0015', '2023-12-09', 'V10230', 'RM/PURHO/00510/2023-24', '', '2023-12-09', '', '', 'TIN0015', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-09 12:08:11', '', 'master', '2023-12-09 12:09:05', 'pending', '2023-12-09 12:08:11', 'Raw Material', '298img20230415_11043363.pdf', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '12:45', '', '', 'GRN_Received', '2023-12-09'),
(299, '', 'gmpdemo1', 'Raw Material', 'CH0568', '2023-12-12', 'V10237', 'RM/PURHO/00511/2023-24', '', '2023-12-12', '', '', '30', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'waiting_for_checking', 'master', '2023-12-12 09:53:48', '', 'master', '2023-12-12 09:54:13', 'pending', '2023-12-12 09:53:48', 'Raw Material', '', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '09:52', '', '', 'Checking', '2024-02-10'),
(300, '', 'gmpdemo1', 'Raw Material', 'CH0389', '2023-12-12', 'V10225', 'RM/PURHO/00512/2023-24', '', '2023-12-12', '', '', '40', 'By Rail', '', '', 'null', 0.00, 0.00, 0.00, 'approve', 'master', '2023-12-12 10:01:50', '', 'master', '2023-12-12 10:02:07', 'pending', '2023-12-12 10:01:50', 'Raw Material', '', 'From PO', '87', 'Inhouse-Weighing', '', '', '', '', 'NO', '', '10:01', '', '', 'GRN_Received', '2024-02-10');

--
-- Dumping data for table `challan_materials`
--

INSERT INTO `challan_materials` (`id`, `user_no`, `document_no`, `inward_no`, `inward_date`, `challan_no`, `material_subtype`, `material_code`, `vendor_type`, `vendor_no`, `manufacturer_no`, `qty`, `unit`, `gst`, `quotation_no`, `quotation_amt`, `rate`, `received_rate`, `diff`, `required_for`, `client_code`, `gross_total`, `gst_total`, `net_total`, `status`, `batches`, `manufacturer`, `container_type`, `cleaning_type`, `challan_qty`, `received_qty`, `pack_size`, `accept_qty`, `containers`, `receiving_details`, `po_status`, `short_qty`, `coa_received`, `container_condition`, `container_seal`, `document_status`, `storage_condition`, `tanker_cleaning`, `vehicle_cleanliness`, `vehicle_condition`, `packing_condition`, `outer_packing`, `received_by`, `receiving_date`, `entry_time_start`, `entry_time_end`, `receiving`, `receiving_no`, `dedusting`, `dedusting_details`, `dedusting_by`, `dedusting_date`, `damage`, `damage_details`, `weighing`, `weighing_details`, `weighing_by`, `balance`, `weighing_date`, `weighing_no`, `receiving_type`, `grn`, `grn_details`, `grn_no`, `retest_grn_no`, `retest_status`, `grn_by`, `grn_date`, `urgency`, `within_days`, `labels`, `mixing`, `coa_status`, `print_status`, `grncheck_by`, `grncheck_date`, `vendor_coa`, `grn_receive_remark`, `grn_remark`, `plant_id`, `dedusting_applicable`, `weighing_bridge`, `weighing_bridgestatus`, `weight`, `qty_status`, `grn_grade`, `weighing_details_bkp`, `correction`, `reject_remark`) VALUES
(273, 'gmpdemo1', 'RM-0002', '', '2023-12-06 04:54:31', 'CN0001', '', 'RM00031', '', '', '', '500.00', 'KG', '0.00', 'Q-0001', '500.00', '500.00', '0.00', 0.00, 'Own', '', '250000.00', '0.00', '237500.00', 'accept', '', '', 'Bag', '', '5.00', '500.00', '0.00', '0.00', 2, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Pollinated Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"20231206170315Layout format.pdf.pdf\",\"received_by\":\"master\",\"received_date\":\"2023-12-06 05:03:15\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-07', '17:03:00', '18:03:00', 'approve', 'REC/22/R/0273', 'approve', '{\"equipment_code\":\"SIPL/EQ/EG/VC/037\",\"operator\":\"1134\",\"vsdate\":\"2023-12-07\",\"vfrom_time\":\"14:54\",\"vto_time\":\"14:54\",\"area_cleaned_by\":\"1134\",\"area_sdate\":\"2023-12-07\",\"area_cleaned_from\":\"14:54\",\"area_cleaned_to\":\"14:55\",\"equip_cleaned_by\":\"1134\",\"equip_sdate\":\"2023-12-07\",\"equip_cleaned_from\":\"14:55\",\"equip_cleaned_to\":\"14:55\",\"id\":\"273\"}', 'master', '2023-12-07', 'no', '', 'approve', '{\"id\":\"273\",\"challan_id\":\"290\",\"balance\":\"SIPL/EQ/ST/WB/01\",\"weight\":[{\"container_no\":\"CN1111\",\"lbgross_weight\":400,\"lbtare_weight\":300,\"lbnet_weight\":100,\"acgross_weight\":400,\"action\":\"Accept\"}],\"checklist\":[],\"check_by\":\"master\",\"check_date\":\"2023-12-07 02:57:02\"}', 'master', 'SIPL/EQ/ST/WB/01', '2023-12-07', 'WTRM-0001', NULL, 'approve', '{\"remark\":\"ok\",\"urgency\":\"Immediate\",\"grn_grade\":[{\"id\":\"16\",\"plant_id\":\"87\",\"user_no\":\"gmpdemo1\",\"grade\":\"IP\",\"phamacopoeia_name\":\"Indian phamacopoeia\",\"status\":\"active\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06\"}],\"id\":\"273\",\"challan_id\":\"290\",\"short_qty\":\"0.00\",\"vendor_no\":\"V10001\",\"material_code\":\"RM00031\",\"unit\":\"KG\",\"accept_qty\":0,\"reject_qty\":0,\"batches\":[{\"id\":\"164\",\"plant_id\":\"87\",\"material_code\":\"RM00031\",\"batch_no\":\"BN0001\",\"ar_no\":\"\",\"grn_no\":\"\",\"sampled_container\":\"\",\"material_condition\":\"\",\"sample_qty\":\"\",\"sampler_id\":\"\",\"seal_check\":\"\",\"status\":\"approve\",\"stop_batch\":\"\",\"mfg_date\":\"2023-12-06\",\"exp_date\":\"2028-10-10\",\"mfg_by\":\"V10001\",\"pack_size\":\"250\",\"total_containers\":\"2\",\"qty_received\":\"500\",\"container_no\":\"\",\"gross_wt\":\"\",\"tare_wt\":\"\",\"remark\":\"0\",\"weight\":[{\"container_no\":\"CN1111\",\"lbgross_weight\":400,\"lbtare_weight\":300,\"lbnet_weight\":100,\"acgross_weight\":400,\"action\":\"Accept\"}],\"challan_no\":\"CN0001\",\"root_container\":\"1\",\"unit\":\"KG\",\"correction\":\" \"}],\"entry_by\":\"master\",\"entry_date\":\"2023-12-07 02:57:43\"}', 'GRN/22/R/0273', '', 'Pending', '', '2023-12-07', 'Immediate', '', 'pending', 'PENDING', '', 'pending', 'master', '2023-12-07', 'NO', 'ok', '', '', 'Yes', '', 'pending', '[{\"container_no\":\"CN1111\",\"lbgross_weight\":400,\"lbtare_weight\":300,\"lbnet_weight\":100,\"acgross_weight\":400,\"action\":\"Accept\"}]', '0', 'IP', '', '', '0'),
(274, 'gmpdemo1', 'RM-0003', '', '2023-12-06 05:19:10', 'CN0002', '', 'RM0001166', '', '', '', '800.00', 'KG', '0.00', 'Q-0002', '500.00', '500.00', '0.00', 0.00, 'Own', '', '400000.00', '0.00', '368000.00', 'accept', '', '', 'Bag', '', '800.00', '800.00', '0.00', '0.00', 2, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Polyethylene Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"20231207151228Sem-VII_PJ_CBCS.pdf.pdf\",\"received_by\":\"master\",\"received_date\":\"2023-12-07 03:12:28\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-08', '00:00:00', '00:00:00', 'approve', 'REC/22/R/0274', 'pending', '', '', NULL, 'no', '', 'approve', '{\"id\":\"274\",\"challan_id\":\"291\",\"balance\":\"SIPL/EQ/ST/WB/01\",\"weight\":[{\"container_no\":\"CN0002\",\"lbgross_weight\":500,\"lbtare_weight\":300,\"lbnet_weight\":200,\"acgross_weight\":500,\"action\":\"Accept\"}],\"checklist\":[],\"check_by\":\"master\",\"check_date\":\"2023-12-08 11:24:45\"}', 'master', 'SIPL/EQ/ST/WB/01', '2023-12-08', 'WTRM-0002', NULL, 'inprocess', '{\"remark\":\"ok\",\"urgency\":\"Immediate\",\"grn_grade\":[{\"id\":\"16\",\"plant_id\":\"87\",\"user_no\":\"gmpdemo1\",\"grade\":\"IP\",\"phamacopoeia_name\":\"Indian phamacopoeia\",\"status\":\"active\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06\"}],\"id\":\"274\",\"challan_id\":\"291\",\"short_qty\":\"0.00\",\"vendor_no\":\"V10217\",\"material_code\":\"RM0001166\",\"unit\":\"KG\",\"accept_qty\":0,\"reject_qty\":0,\"batches\":[{\"id\":\"165\",\"plant_id\":\"\",\"material_code\":\"RM0001166\",\"batch_no\":\"BN0002\",\"ar_no\":\"\",\"grn_no\":\"\",\"sampled_container\":\"\",\"material_condition\":\"\",\"sample_qty\":\"\",\"sampler_id\":\"\",\"seal_check\":\"\",\"status\":\"approve\",\"stop_batch\":\"\",\"mfg_date\":\"2023-12-07\",\"exp_date\":\"2023-12-07\",\"mfg_by\":\"V10217\",\"pack_size\":\"400\",\"total_containers\":\"2\",\"qty_received\":\"800\",\"container_no\":\"\",\"gross_wt\":\"\",\"tare_wt\":\"\",\"remark\":\"0\",\"weight\":[{\"container_no\":\"CN0002\",\"lbgross_weight\":500,\"lbtare_weight\":300,\"lbnet_weight\":200,\"acgross_weight\":500,\"action\":\"Accept\"}],\"challan_no\":\"CN0002\",\"root_container\":\"1\",\"unit\":\"KG\",\"correction\":\"\"}],\"entry_by\":\"master\",\"entry_date\":\"2023-12-08 11:25:05\"}', 'GRN/22/R/0274', '', 'Pending', '', '2023-12-08', 'Immediate', '', 'pending', 'PENDING', '', 'pending', 'master', '2023-12-09', 'YES', 'ok', '', '', 'No', '', 'pending', '[{\"container_no\":\"CN0002\",\"lbgross_weight\":500,\"lbtare_weight\":300,\"lbnet_weight\":200,\"acgross_weight\":500,\"action\":\"Accept\"}]', '0', 'IP', '', '', '0'),
(275, 'gmpdemo1', 'RM-0004', '', '2023-12-07 02:36:42', 'CN0003', '', 'RM0001167', '', '', '', '1000.00', 'KG', '0.00', 'Q-0003', '1000.00', '1000.00', '0.00', 0.00, 'Own', '', '1000000.00', '0.00', '950000.00', 'approve', '', '', 'Bag', '', '1000.00', '1000.00', '0.00', '0.00', 2, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Polyethylene Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"20231208112244Layout format.pdf.pdf\",\"received_by\":\"master\",\"received_date\":\"2023-12-08 11:22:44\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-08', '00:00:00', '00:00:00', 'approve', 'REC/22/R/0275', 'pending', '', '', NULL, 'no', '', 'approve', '{\"id\":\"275\",\"challan_id\":\"292\",\"balance\":\"SIPL/EQ/ST/WB/01\",\"weight\":[{\"container_no\":\"CN0003\",\"lbgross_weight\":800,\"lbtare_weight\":500,\"lbnet_weight\":300,\"acgross_weight\":800,\"action\":\"Accept\"}],\"checklist\":[],\"check_by\":\"master\",\"check_date\":\"2023-12-08 11:27:07\"}', 'master', 'SIPL/EQ/ST/WB/01', '2023-12-08', 'WTRM-0003', NULL, 'pending', '', '', '', 'Pending', '', NULL, '', '', 'pending', 'PENDING', '', 'pending', '', '0000-00-00', '', '', '', '', 'No', '', 'pending', '[{\"container_no\":\"CN0003\",\"lbgross_weight\":800,\"lbtare_weight\":500,\"lbnet_weight\":300,\"acgross_weight\":800,\"action\":\"Accept\"}]', '0', '', '', '', '0'),
(276, 'gmpdemo1', 'RM-0005', '', '2023-12-07 03:15:27', 'CN0004', '', 'RM0001168', '', '', '', '600.00', 'KG', '0.00', 'Q-0004', '800.00', '800.00', '0.00', 0.00, 'Own', '', '480000.00', '0.00', '460800.00', 'inprocess', '', '', 'Bag', '', '600.00', '600.00', '0.00', '0.00', 2, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Gunny Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"20231208112841Layout format.pdf.pdf\",\"received_by\":\"master\",\"received_date\":\"2023-12-08 11:28:41\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-08', '00:00:00', '00:00:00', 'approve', 'REC/22/R/0276', 'pending', '', '', NULL, 'no', '', 'inprocess', '{\"id\":\"276\",\"challan_id\":\"293\",\"balance\":\"SIPL/EQ/ST/WB/01\",\"weight\":[{\"container_no\":\"CN0004\",\"lbgross_weight\":700,\"lbtare_weight\":400,\"lbnet_weight\":300,\"acgross_weight\":700,\"action\":\"Accept\"}],\"checklist\":[]}', 'master', 'SIPL/EQ/ST/WB/01', '2023-12-08', '', NULL, 'pending', '', '', '', 'Pending', '', NULL, '', '', 'pending', 'PENDING', '', 'pending', '', '0000-00-00', '', '', '', '', 'No', '', 'pending', '[{\"container_no\":\"CN0004\",\"lbgross_weight\":700,\"lbtare_weight\":400,\"lbnet_weight\":300,\"acgross_weight\":700,\"action\":\"Accept\"}]', '0', '', '', '', '0'),
(277, 'gmpdemo1', 'RM-0006', '', '2023-12-07 04:43:36', 'CN0005', '', 'RM0001169', '', '', '', '500.00', 'KG', '0.00', 'Q-0005', '700.00', '700.00', '0.00', 0.00, 'Own', '', '350000.00', '0.00', '332500.00', 'inprocess', '', '', 'Bag', '', '500.00', '500.00', '0.00', '0.00', 2, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Polyethylene Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"20231208113135RA_SYLLABUS_NEW (2).pdf.pdf\",\"received_by\":\"master\",\"received_date\":\"2023-12-08 11:31:35\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-08', '00:00:00', '00:00:00', 'approve', 'REC/22/R/0277', 'pending', '', '', NULL, 'no', '', 'pending', '', '', '', NULL, '', NULL, 'pending', '', '', '', 'Pending', '', NULL, '', '', 'pending', 'PENDING', '', 'pending', '', '0000-00-00', '', '', '', '', 'No', '', 'pending', '', '0', '', '', '', '0'),
(278, 'gmpdemo1', '', '', '2023-12-07 04:58:45', 'CN0006', '', 'RM0001170', '', '', '', '700.00', 'KG', '0.00', 'Q-0006', '800.00', '800.00', '0.00', 0.00, 'Own', '', '560000.00', '0.00', '532000.00', 'inprocess', '', '', 'Bag', '', '700.00', '700.00', '0.00', '0.00', 2, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Pollinated Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"20231208114508Sem-VII_PJ_CBCS.pdf.pdf\",\"received_by\":\"master\",\"received_date\":\"2023-12-08 11:45:08\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-08', '00:00:00', '00:00:00', 'inprocess', 'REC/22/R/0278', 'pending', '', '', NULL, 'no', '', 'pending', '', '', '', NULL, '', NULL, 'pending', '', '', '', 'Pending', '', NULL, '', '', 'pending', 'PENDING', '', 'pending', '', '0000-00-00', '', '', '', '', 'No', '', 'pending', '', '0', '', '', '', '0'),
(279, 'gmpdemo1', '', '', '2023-12-08 11:46:23', 'CN0007', '', 'RM0001172', '', '', '', '700.00', 'KG', '0.00', 'Q-0008', '900.00', '900.00', '0.00', 0.00, 'Own', '', '630000.00', '0.00', '585900.00', 'pending', '', '', '', '', '0.00', '0.00', '0.00', '0.00', 0, '', '', '0.00', '', '', '', '', '', '', '', '', '', '', '', NULL, '00:00:00', '00:00:00', 'pending', '', 'pending', '', '', NULL, 'pending', '', 'pending', '', '', '', NULL, '', NULL, 'pending', '', '', '', 'Pending', '', NULL, '', '', 'pending', 'PENDING', '', 'pending', '', '0000-00-00', '', '', '', '', '', '', 'pending', '', '', '', '', '', '0'),
(280, 'gmpdemo1', 'RM-0007', '', '2023-12-08 02:44:07', 'CN0013', '', 'RM0001178', '', '', '', '600.00', 'KG', '0.00', 'Q-0012', '800.00', '800.00', '0.00', 0.00, 'Own', '', '480000.00', '0.00', '460800.00', 'accept', '', '', 'Bag', '', '600.00', '600.00', '0.00', '0.00', 2, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Gunny Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"20231208144647Layout format.pdf.pdf\",\"received_by\":\"master\",\"received_date\":\"2023-12-08 02:46:47\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-08', '00:00:00', '00:00:00', 'approve', 'REC/22/R/0280', 'pending', '', '', NULL, 'no', '', 'approve', '{\"id\":\"280\",\"challan_id\":\"297\",\"balance\":\"SIPL/EQ/ST/WB/01\",\"weight\":[{\"container_no\":\"CN0013\",\"lbgross_weight\":900,\"lbtare_weight\":600,\"lbnet_weight\":300,\"acgross_weight\":900,\"action\":\"Accept\"}],\"checklist\":[],\"check_by\":\"master\",\"check_date\":\"2023-12-08 02:48:55\"}', 'master', 'SIPL/EQ/ST/WB/01', '2023-12-08', 'WTRM-0004', NULL, 'approve', '{\"remark\":\"ok\",\"urgency\":\"WIthin 1 Day\",\"grn_grade\":[{\"id\":\"16\",\"plant_id\":\"87\",\"user_no\":\"gmpdemo1\",\"grade\":\"IP\",\"phamacopoeia_name\":\"Indian phamacopoeia\",\"status\":\"active\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06\"}],\"id\":\"280\",\"challan_id\":\"297\",\"short_qty\":\"0.00\",\"vendor_no\":\"V10229\",\"material_code\":\"RM0001178\",\"unit\":\"KG\",\"accept_qty\":0,\"reject_qty\":0,\"batches\":[{\"id\":\"170\",\"plant_id\":\"\",\"material_code\":\"RM0001178\",\"batch_no\":\"BN0013\",\"ar_no\":\"\",\"grn_no\":\"\",\"sampled_container\":\"\",\"material_condition\":\"\",\"sample_qty\":\"\",\"sampler_id\":\"\",\"seal_check\":\"\",\"status\":\"approve\",\"stop_batch\":\"\",\"mfg_date\":\"2023-12-08\",\"exp_date\":\"2029-10-17\",\"mfg_by\":\"V10229\",\"pack_size\":\"300\",\"total_containers\":\"2\",\"qty_received\":\"600\",\"container_no\":\"\",\"gross_wt\":\"\",\"tare_wt\":\"\",\"remark\":\"0\",\"weight\":[{\"container_no\":\"CN0013\",\"lbgross_weight\":900,\"lbtare_weight\":600,\"lbnet_weight\":300,\"acgross_weight\":900,\"action\":\"Accept\"}],\"challan_no\":\"CN0013\",\"root_container\":\"1\",\"unit\":\"KG\",\"correction\":\"\"}],\"entry_by\":\"master\",\"entry_date\":\"2023-12-08 02:49:22\"}', 'GRN/22/R/0280', '', 'Pending', '', '2023-12-08', 'WIthin 1 Day', '', 'pending', 'PENDING', '', 'pending', 'master', '2023-12-08', 'NO', 'ok', '', '', 'No', '', 'pending', '[{\"container_no\":\"CN0013\",\"lbgross_weight\":900,\"lbtare_weight\":600,\"lbnet_weight\":300,\"acgross_weight\":900,\"action\":\"Accept\"}]', '0', 'IP', '', '', '0'),
(281, 'gmpdemo1', 'RM-0008', '', '2023-12-09 12:08:11', 'CN0015', '', 'RM0001179', '', '', '', '900.00', 'KG', '0.00', 'Q-0013', '600.00', '600.00', '0.00', 0.00, 'Own', '', '540000.00', '0.00', '513000.00', 'accept', '', '', 'Bag', '', '900.00', '900.00', '0.00', '0.00', 3, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Polyethylene Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"20231209121032img20230415_11211857.pdf.pdf\",\"received_by\":\"master\",\"received_date\":\"2023-12-09 12:10:32\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-09', '00:00:00', '00:00:00', 'approve', 'REC/22/R/0281', 'pending', '', '', NULL, 'no', '', 'approve', '{\"id\":\"281\",\"challan_id\":\"298\",\"balance\":\"SIPL/EQ/ST/WB/01\",\"weight\":[{\"container_no\":\"CN0015\",\"lbgross_weight\":600,\"lbtare_weight\":400,\"lbnet_weight\":200,\"acgross_weight\":600,\"action\":\"Accept\"}],\"checklist\":[],\"check_by\":\"master\",\"check_date\":\"2023-12-09 12:11:56\"}', 'master', 'SIPL/EQ/ST/WB/01', '2023-12-09', 'WTRM-0005', NULL, 'approve', '{\"remark\":\"ok\",\"urgency\":\"WIthin 1 Day\",\"grn_grade\":[{\"id\":\"16\",\"plant_id\":\"87\",\"user_no\":\"gmpdemo1\",\"grade\":\"IP\",\"phamacopoeia_name\":\"Indian phamacopoeia\",\"status\":\"active\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06\"}],\"id\":\"281\",\"challan_id\":\"298\",\"short_qty\":\"0.00\",\"vendor_no\":\"V10230\",\"material_code\":\"RM0001179\",\"unit\":\"KG\",\"accept_qty\":0,\"reject_qty\":0,\"batches\":[{\"id\":\"171\",\"plant_id\":\"\",\"material_code\":\"RM0001179\",\"batch_no\":\"BN0015\",\"ar_no\":\"\",\"grn_no\":\"\",\"sampled_container\":\"\",\"material_condition\":\"\",\"sample_qty\":\"\",\"sampler_id\":\"\",\"seal_check\":\"\",\"status\":\"approve\",\"stop_batch\":\"\",\"mfg_date\":\"2023-12-09\",\"exp_date\":\"2029-06-09\",\"mfg_by\":\"V10230\",\"pack_size\":\"300\",\"total_containers\":\"3\",\"qty_received\":\"900\",\"container_no\":\"\",\"gross_wt\":\"\",\"tare_wt\":\"\",\"remark\":\"0\",\"weight\":[{\"container_no\":\"CN0015\",\"lbgross_weight\":600,\"lbtare_weight\":400,\"lbnet_weight\":200,\"acgross_weight\":600,\"action\":\"Accept\"}],\"challan_no\":\"CN0015\",\"root_container\":\"1\",\"unit\":\"KG\",\"correction\":\"\"}],\"entry_by\":\"master\",\"entry_date\":\"2023-12-09 12:12:15\"}', 'GRN/22/R/0281', '', 'Pending', '', '2023-12-09', 'WIthin 1 Day', '', 'pending', 'PENDING', '', 'pending', 'master', '2023-12-09', 'NO', 'ok', '', '', 'No', '', 'pending', '[{\"container_no\":\"CN0015\",\"lbgross_weight\":600,\"lbtare_weight\":400,\"lbnet_weight\":200,\"acgross_weight\":600,\"action\":\"Accept\"}]', '0', 'IP', '', '', '0'),
(282, 'gmpdemo1', '', '', '2023-12-12 09:53:48', 'CH0568', 'Excipient', 'RM0001190', '', '', '', '400.00', 'KG', '0.00', 'Q-0018', '300.00', '300.00', '0.00', 0.00, 'Own', '', '120000.00', '0.00', '115200.00', 'pending', '', '', '', '', '0.00', '0.00', '0.00', '0.00', 0, '', '', '0.00', '', '', '', '', '', '', '', '', '', '', '', NULL, '00:00:00', '00:00:00', 'pending', '', 'pending', '', '', NULL, 'pending', '', 'pending', '', '', '', NULL, '', NULL, 'pending', '', '', '', 'Pending', '', NULL, '', '', 'pending', 'PENDING', '', 'pending', '', '0000-00-00', '', '', '', '', '', '', 'pending', '', '', '', '', '', '0'),
(283, 'gmpdemo1', 'RM-0009', '', '2023-12-12 10:01:50', 'CH0389', 'API', 'RM0001175', '', '', '', '400.00', 'KG', '0.00', 'Q-0010', '750.00', '750.00', '0.00', 0.00, 'Own', '', '300000.00', '0.00', '276000.00', 'accept', '', '', 'Bag', '', '400.00', '400.00', '0.00', '0.00', 4, '{\"pack_size\":null,\"isdamagecontainer\":\"No\",\"damange_remark\":\"\",\"packing_condition\":null,\"outer_packing\":null,\"container_type\":\"Bag\",\"container_subtype\":\"Paper Bag\",\"vehicle_condition\":null,\"coa_received\":\"Yes\",\"coa_file\":\"\",\"received_by\":\"master\",\"received_date\":\"2023-12-12 10:03:18\"}', '', '0.00', 'Yes', '', '', '', '', '', '', '', '', '', 'master', '2023-12-12', '10:03:00', '11:03:00', 'approve', 'REC/22/R/0283', 'pending', '', '', NULL, 'no', '', 'approve', '{\"id\":\"283\",\"challan_id\":\"300\",\"balance\":\"SIPL/EQ/ST/WB/01\",\"weight\":[{\"container_no\":\"3\",\"lbgross_weight\":500,\"lbtare_weight\":100,\"lbnet_weight\":400,\"acgross_weight\":600,\"action\":\"Accept\"}],\"checklist\":[],\"check_by\":\"master\",\"check_date\":\"2023-12-12 10:04:20\"}', 'master', 'SIPL/EQ/ST/WB/01', '2023-12-12', 'WTRM-0006', NULL, 'inprocess', '{\"remark\":\"OK\",\"urgency\":\"Immediate\",\"grn_grade\":[{\"id\":\"16\",\"plant_id\":\"87\",\"user_no\":\"gmpdemo1\",\"grade\":\"IP\",\"phamacopoeia_name\":\"Indian phamacopoeia\",\"status\":\"active\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06\"}],\"id\":\"283\",\"challan_id\":\"300\",\"short_qty\":\"0.00\",\"vendor_no\":\"V10225\",\"material_code\":\"RM0001175\",\"unit\":\"KG\",\"accept_qty\":0,\"reject_qty\":0,\"batches\":[{\"id\":\"172\",\"plant_id\":\"\",\"material_code\":\"RM0001175\",\"batch_no\":\"B0059\",\"ar_no\":\"\",\"grn_no\":\"\",\"sampled_container\":\"\",\"material_condition\":\"\",\"sample_qty\":\"\",\"sampler_id\":\"\",\"seal_check\":\"\",\"status\":\"approve\",\"stop_batch\":\"\",\"mfg_date\":\"2023-12-12\",\"exp_date\":\"2024-03-09\",\"mfg_by\":\"V10225\",\"pack_size\":\"100\",\"total_containers\":\"4\",\"qty_received\":\"400\",\"container_no\":\"\",\"gross_wt\":\"\",\"tare_wt\":\"\",\"remark\":\"0\",\"weight\":[{\"container_no\":\"3\",\"lbgross_weight\":500,\"lbtare_weight\":100,\"lbnet_weight\":400,\"acgross_weight\":600,\"action\":\"Accept\"}],\"challan_no\":\"CH0389\",\"root_container\":\"1\",\"unit\":\"KG\",\"correction\":\"\"}],\"entry_by\":\"master\",\"entry_date\":\"2023-12-12 10:04:35\"}', 'GRN/22/R/0283', '', 'Pending', '', '2023-12-12', 'Immediate', '', 'pending', 'PENDING', '', 'pending', 'master', '2023-12-12', 'NO', 'ok', '', '', 'Yes', '', 'pending', '[{\"container_no\":\"3\",\"lbgross_weight\":500,\"lbtare_weight\":100,\"lbnet_weight\":400,\"acgross_weight\":600,\"action\":\"Accept\"}]', '0', 'IP', '', '', '0');

--
-- Dumping data for table `checklist_transaction`
--

INSERT INTO `checklist_transaction` (`id`, `trans_id`, `chk_id`, `plant_id`, `module`, `form`, `deprt`, `params`, `chk_type`, `chk_value`, `creation_date`, `correction`) VALUES
(221, 'REC/22/R/0273', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-06 06:33:15', ''),
(222, 'REC/22/R/0274', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-07 04:42:28', ''),
(223, 'REC/22/R/0275', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-08 00:52:44', ''),
(224, 'REC/22/R/0276', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-08 00:58:41', ''),
(225, 'REC/22/R/0277', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-08 01:01:35', ''),
(226, 'REC/22/R/0278', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-08 01:15:08', ''),
(227, 'REC/22/R/0280', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-08 04:16:47', ''),
(228, 'REC/22/R/0281', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-09 01:40:32', ''),
(229, 'REC/22/R/0283', 32, 87, 'Receiving', 'Receiving', 'Store', 'Any Objectionable Item', '2', 'Yes', '2023-12-11 23:33:18', '');

--
-- Dumping data for table `chemical`
--

INSERT INTO `chemical` (`id`, `user_no`, `chemical_no`, `chemical_name`, `molecular_wt`, `pack_size`, `cas_name`, `grade`, `make`, `unit`, `gst`, `hsn`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `plant_id`) VALUES
(2, 'gmpdemo1', 'C-0001', 'Plate count agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(3, 'gmpdemo1', 'C-0003', 'MacConkey Agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(4, 'gmpdemo1', 'C-0004', 'Violet Red Bile Agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(5, 'gmpdemo1', 'C-0005', 'Cetrimide agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(6, 'gmpdemo1', 'C-0006', 'Soyabean Casein Digest Medium', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(7, 'gmpdemo1', 'C-0007', 'Potato Dextrose Agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(8, 'gmpdemo1', 'C-0008', 'Rappaport Vassiliadia Salmonella Enrichment Broth', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(9, 'gmpdemo1', 'C-0009', 'Buffered Sodium Chloride', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(10, 'gmpdemo1', 'C-0010', 'Sabouraud Dextrose Agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(11, 'gmpdemo1', 'C-0011', 'Xylose Lysine Deoxycholate Agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(12, 'gmpdemo1', 'C-0012', 'Mannitol Salt Agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(13, 'gmpdemo1', 'C-0013', 'MacConkey Broth', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(14, 'gmpdemo1', 'C-0014', 'Chloramphenicol Yeast Glucose Agar', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(15, 'gmpdemo1', 'C-0015', 'Boric acid powder', 61.83, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(16, 'gmpdemo1', 'C-0016', 'Sodium hydroxide pellets', 40.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(17, 'gmpdemo1', 'C-0017', 'Potassium sulfate ', 174.26, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(18, 'gmpdemo1', 'C-0018', 'Copper sulfate pentahydrate', 249.68, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(19, 'gmpdemo1', 'C-0019', 'Methyl red 0.01% indicator', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(20, 'gmpdemo1', 'C-0020', 'Bromocresol green 0.04%indicator', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(21, 'gmpdemo1', 'C-0021', 'Hydrochloric Acid 0.5N solution ', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(22, 'gmpdemo1', 'C-0022', 'Potassium Chloride solution', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(23, 'gmpdemo1', 'C-0023', 'Sulfuric acid 98%', 98.08, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(24, 'gmpdemo1', 'C-0024', 'Hydrochloric acid 0.1', 0.00, 0.00, '', 'NA', '[]', '', 0.00, '', 'approve', 'master', '2023-05-21', '', NULL, '87'),
(25, 'gmpdemo1', 'C-0025', 'test', 0.00, 0.00, '345345', 'Commecial', '[{\"make\":\"345345\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(26, 'gmpdemo1', 'C-0026', 'test433', 0.00, 0.00, '345345', 'Commecial', '[{\"make\":\"345345\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(27, 'gmpdemo1', 'C-0027', 'fgfgfg', 0.00, 0.00, '345345', 'Commecial', '[{\"make\":\"345345\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(28, 'gmpdemo1', 'C-0028', 'fgfgfg', 0.00, 0.00, '345345', 'Commecial', '[{\"make\":\"345345\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(29, 'gmpdemo1', 'C-0029', 'fgfgfg3', 0.00, 0.00, '345345', 'Commecial', '[{\"make\":\"345345\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(30, 'gmpdemo1', 'C-0030', '12', 12.00, 0.00, '12', 'AR', '[{\"make\":\"12\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(31, 'gmpdemo1', 'C-0031', '12', 12.00, 0.00, '12', 'AR', '[{\"make\":\"12\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(32, 'gmpdemo1', 'C-0032', '12', 12.00, 0.00, '12', 'AR', '[{\"make\":\"12\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(33, 'gmpdemo1', 'C-0033', 'Hydrochloric Acid', 677.00, 0.00, '8788', 'Pharma', '[{\"make\":\"Manufacturing process\"}]', '', 0.00, '', 'approve', 'master', '2023-06-21', '', NULL, '87'),
(34, 'gmpdemo1', 'C-0034', 'Sulfuric acid 98%', 0.00, 0.00, '', 'Pharma', '[{\"make\":\"Merck\"}]', '', 0.00, '', 'approve', 'master', '2023-07-14', '', NULL, '87'),
(35, 'gmpdemo1', 'C-0035', 'Boric acid powder', 0.00, 0.00, '', 'Pharma', '[{\"make\":\"Merck\"}]', '', 0.00, '', 'approve', 'master', '2023-07-15', '', NULL, '87'),
(36, 'gmpdemo1', 'C-0036', 'Potassium sulfate', 0.00, 0.00, '', 'Pharma', '[{\"make\":\"Merck\"}]', '', 0.00, '', 'approve', 'master', '2023-07-15', '', NULL, '87'),
(37, 'gmpdemo1', 'C-0037', 'Copper sulfate Pentahydrate', 0.00, 0.00, '', 'Pharma', '[{\"make\":\"Merck\"}]', '', 0.00, '', 'approve', 'master', '2023-07-15', '', NULL, '87'),
(38, 'gmpdemo1', 'C-0038', 'Sodium hydroxide pellets', 0.00, 0.00, '', 'Pharma', '[{\"make\":\"Merck\"}]', '', 0.00, '', 'approve', 'master', '2023-07-15', '', NULL, '87'),
(39, 'gmpdemo1', 'C-0039', 'Bromocresol green 0.004% indicator', 0.00, 0.00, '', 'Pharma', '[{\"make\":\"Merck\"}]', '', 0.00, '', 'approve', 'master', '2023-07-15', '', NULL, '87'),
(40, 'gmpdemo1', 'C-0040', 'Methyl red 0.01% indicator solution ', 0.00, 0.00, '', 'Pharma', '[{\"make\":\"Merck\"}]', '', 0.00, '', 'approve', 'master', '2023-07-15', '', NULL, '87'),
(41, 'gmpdemo1', 'C-0041', 'test123', 0.50, 0.00, '3333', 'Commecial', '[{\"make\":\" basic substance that is used in or produced by a reaction involving changes to atoms or molecules\"}]', '', 0.00, '', 'approve', 'master', '2023-07-22', '', NULL, '87'),
(42, 'gmpdemo1', 'C-0042', 'Acetic acid', 0.60, 0.00, 'N325', 'Pharma', '[{\"make\":\"The first part of the name is simply the name of the metal element, while the second part of the name changes the ending of the nonmetal compound to ide\"},{\"make\":\"Let us take the chemical compound Al2O3\"},{\"make\":\"The numbers tell us how many atoms of each element are present, but they do not affect the name\"}]', '', 0.00, '', 'approve', 'master', '2023-07-22', '', NULL, '87'),
(43, 'gmpdemo1', 'C-0043', 'Ammonia Solution', 30.00, 0.00, 'CA0332', 'Pharma', '[{\"make\":\"4\"}]', '', 0.00, '', 'approve', 'master', '2023-09-18', '', NULL, '87');

--
-- Dumping data for table `color`
--

INSERT INTO `color` (`id`, `color`, `plant_id`) VALUES
(9, 'RED', ''),
(10, 'Green', ''),
(11, 'yellow', ''),
(12, 'White', '');

--
-- Dumping data for table `department`
--

INSERT INTO `department` (`id`, `user_no`, `department_type`, `department_code`, `department_name`, `department_building`, `status`, `entry_by`, `entry_date`, `plant_id`) VALUES
(1, 'gmpdemo1', 'Non Technical', '1', 'Human Resource', '1', 'active', '', '0000-00-00 00:00:00', '67'),
(2, 'gmpdemo1', 'Technical', '2', 'Quality Control', '1', 'active', '', '0000-00-00 00:00:00', '67'),
(4, 'gmpdemo1', 'Non Technical', '4', 'Account', '', 'active', '', '0000-00-00 00:00:00', '67'),
(5, 'gmpdemo1', 'Non Technical', '5', 'Security', '', 'active', '', '0000-00-00 00:00:00', '67'),
(7, 'gmpdemo1', 'Non Technical', '7', 'Purchase', '', 'active', '', '0000-00-00 00:00:00', '67'),
(9, 'gmpdemo1', 'Technical', '8', 'Quality Assurance', '', 'active', '', '0000-00-00 00:00:00', '67'),
(10, 'gmpdemo1', 'Non Technical', '9', 'Microbiology', '', 'active', '', '0000-00-00 00:00:00', '67'),
(11, 'gmpdemo1', 'Non Technical', '10', 'Engineering', '', 'active', '', '0000-00-00 00:00:00', '67'),
(12, 'gmpdemo1', 'Non Technical', '11', 'Store', '', 'active', '', '0000-00-00 00:00:00', '67'),
(13, 'gmpdemo1', 'Non Technical', '12', 'Packing', '', 'active', '', '0000-00-00 00:00:00', '67'),
(15, 'gmpdemo1', 'Non Technical', '15', 'R & D', '', 'active', '', '0000-00-00 00:00:00', '67'),
(16, 'gmpdemo1', 'Non Technical', '16', 'Marketing', '', 'active', '', '0000-00-00 00:00:00', '67'),
(17, 'gmpdemo1', 'Non Technical', '17', 'Vendor', '', 'active', '', '0000-00-00 00:00:00', '67'),
(18, 'gmpdemo1', 'Non Technical', '18', 'Management', '', 'active', '', '0000-00-00 00:00:00', '67'),
(19, 'gmpdemo1', 'Non Technical', '19', 'Planning', '', 'active', '', '0000-00-00 00:00:00', '67'),
(20, 'gmpdemo1', 'Non Technical', '20', 'Admin', '', 'active', '', '0000-00-00 00:00:00', '67'),
(21, 'gmpdemo1', 'Non Technical', '21', 'IPQA', '', 'active', '', '0000-00-00 00:00:00', '67'),
(23, 'gmpdemo1', 'Non Technical', '23', 'Regulatory', '', 'active', '', '0000-00-00 00:00:00', '67'),
(24, 'gmpdemo1', 'Non Technical', '24', 'EHS', '', 'active', '', '0000-00-00 00:00:00', '67'),
(25, 'gmpdemo1', 'Non Technical', '25', 'Enginering Store', '', 'active', '', '0000-00-00 00:00:00', '67'),
(34, 'gmpdemo1', 'Non Technical', '28', 'Production', '', 'active', '', '0000-00-00 00:00:00', '67'),
(35, 'gmpdemo1', 'Non Technical', '29', 'Business Development', '', 'active', '', '0000-00-00 00:00:00', '67'),
(37, 'gmpdemo1', 'Non Technical', '31', 'F & D', '', 'active', '', '0000-00-00 00:00:00', '67'),
(38, 'gmpdemo1', 'Non Technical', '32', 'Sales', '', 'active', '', '0000-00-00 00:00:00', '67'),
(40, 'gmpdemo1', 'Non Technical', '33', 'IPQC ', '', 'active', '', '0000-00-00 00:00:00', '67');

--
-- Dumping data for table `dispensing_details_hdr`
--

INSERT INTO `dispensing_details_hdr` (`id`, `plant_id`, `qa_checking`, `prod_checking`, `material_code`, `batch_no`, `containers`, `ars`, `gross_total`, `net_total`, `tare_total`, `unit`, `dispensing_room`, `done_by`, `entry_by`, `entry_date`, `lot_id`, `pm_hdr_id`, `status`, `pressure_reading`, `rlaf_start`, `prod_status`, `prod_approved_by`, `prod_approved_date`, `qa_status`, `qa_approved_by`, `qa_approved_date`, `batch_plan_id`, `qty`) VALUES
(1414, 87, 'Yes', 'Yes', 'RM0001166', '', '[{\"qty\":990,\"grn_no\":\"GRN11102\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11102\",\"undertest_qty\":\"\",\"pack_size\":\"200\",\"batch_no\":\"BN11102\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"1000.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1050.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":1000,\"Issue\":0,\"qty_to_dispense\":10,\"next_ar_qty\":0,\"despensedQty\":10,\"net_weight\":10,\"container_type\":\"Loose\",\"container_no\":1,\"tare_wt\":\"5\",\"gross_wt\":15}]', '[{\"qty\":\"1000.00\",\"grn_no\":\"GRN11102\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11102\",\"undertest_qty\":\"\",\"pack_size\":\"200\",\"batch_no\":\"BN11102\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"1000.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1050.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":1000,\"Issue\":0,\"qty_to_dispense\":10,\"next_ar_qty\":0},{\"qty\":\"50.00\",\"grn_no\":\"GRN11105\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11105\",\"undertest_qty\":\"\",\"pack_size\":\"10\",\"batch_no\":\"BN11105\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"50.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1050.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":50,\"Issue\":0,\"qty_to_dispense\":0,\"next_ar_qty\":0}]', 15.00, 10.00, 5.00, '', '', 'master', 'master', '2023-12-11 06:07:46', 1418, 0, 'Pending', '', '00:00:00', 'Approve', 'master', '2023-12-11 04:40:39', 'Approve', 'master', '2023-12-11 04:41:27', '', ''),
(1415, 87, 'Yes', 'Yes', 'RM00031', '', '[{\"qty\":980,\"grn_no\":\"GRN11101\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11101\",\"undertest_qty\":\"\",\"pack_size\":\"200\",\"batch_no\":\"BN11101\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"1000.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1550.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":1000,\"Issue\":0,\"qty_to_dispense\":20,\"next_ar_qty\":0,\"despensedQty\":20,\"net_weight\":20,\"container_type\":\"Loose\",\"container_no\":1,\"tare_wt\":\"10\",\"gross_wt\":30}]', '[{\"qty\":\"1000.00\",\"grn_no\":\"GRN11101\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11101\",\"undertest_qty\":\"\",\"pack_size\":\"200\",\"batch_no\":\"BN11101\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"1000.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1550.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":1000,\"Issue\":0,\"qty_to_dispense\":20,\"next_ar_qty\":0},{\"qty\":\"50.00\",\"grn_no\":\"GRN11104\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11104\",\"undertest_qty\":\"\",\"pack_size\":\"10\",\"batch_no\":\"BN11104\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"50.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1550.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":50,\"Issue\":0,\"qty_to_dispense\":0,\"next_ar_qty\":0}]', 30.00, 20.00, 10.00, '', '', 'master', 'master', '2023-12-11 06:08:03', 1419, 0, 'Pending', '', '00:00:00', 'Approve', 'master', '2023-12-11 04:40:43', 'Approve', 'master', '2023-12-11 04:41:31', '', ''),
(1416, 87, 'Yes', 'Yes', 'RM0001167', '', '[{\"qty\":980,\"grn_no\":\"GRN11103\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11103\",\"undertest_qty\":\"\",\"pack_size\":\"200\",\"batch_no\":\"BN11103\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"1000.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1050.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":1000,\"Issue\":0,\"qty_to_dispense\":20,\"next_ar_qty\":0,\"despensedQty\":20,\"net_weight\":20,\"container_type\":\"Loose\",\"container_no\":1,\"tare_wt\":\"10\",\"gross_wt\":30}]', '[{\"qty\":\"1000.00\",\"grn_no\":\"GRN11103\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11103\",\"undertest_qty\":\"\",\"pack_size\":\"200\",\"batch_no\":\"BN11103\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"1000.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1050.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":1000,\"Issue\":0,\"qty_to_dispense\":20,\"next_ar_qty\":0},{\"qty\":\"50.00\",\"grn_no\":\"GRN11106\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11106\",\"undertest_qty\":\"\",\"pack_size\":\"10\",\"batch_no\":\"BN11106\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"50.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1050.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":50,\"Issue\":0,\"qty_to_dispense\":0,\"next_ar_qty\":0}]', 30.00, 20.00, 10.00, '', '', 'master', 'master', '2023-12-11 06:08:17', 1420, 0, 'Pending', '', '00:00:00', 'Approve', 'master', '2023-12-11 04:40:47', 'Approve', 'master', '2023-12-11 04:41:35', '', ''),
(1417, 87, 'Yes', 'Yes', 'RM0001170', '', '[{\"qty\":750,\"grn_no\":\"GRN11107\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11101\",\"undertest_qty\":\"\",\"pack_size\":\"200\",\"batch_no\":\"BN11107\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"1000.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1000.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":1000,\"Issue\":0,\"qty_to_dispense\":250,\"next_ar_qty\":0,\"despensedQty\":250,\"net_weight\":250,\"container_type\":\"Loose\",\"container_no\":1,\"tare_wt\":\"200\",\"gross_wt\":450}]', '[{\"qty\":\"1000.00\",\"grn_no\":\"GRN11107\",\"grn_date\":\"2023-12-11\",\"ar_no\":\"AR11101\",\"undertest_qty\":\"\",\"pack_size\":\"200\",\"batch_no\":\"BN11107\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"5\",\"loose_Qty\":\"0\",\"dry_qty\":\"1000.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"1000.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":1000,\"Issue\":0,\"qty_to_dispense\":250,\"next_ar_qty\":0}]', 450.00, 250.00, 200.00, '', '', 'master', 'master', '2023-12-11 07:06:53', 1421, 0, 'Pending', '', '00:00:00', 'Pending', '0', '0000-00-00 00:00:00', 'Pending', '0', '0000-00-00 00:00:00', '', ''),
(1418, 87, 'Yes', 'Yes', 'RM0001187', '', '[{\"qty\":623.5,\"grn_no\":\"GRN/85\",\"grn_date\":\"2023-12-05\",\"ar_no\":\"AR-45\",\"undertest_qty\":\"\",\"pack_size\":\"20\",\"batch_no\":\"BN/78\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"35\",\"loose_Qty\":\"0\",\"dry_qty\":\"700.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"700.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":700,\"Issue\":0,\"qty_to_dispense\":76.5,\"next_ar_qty\":0,\"despensedQty\":76.5,\"net_weight\":76.5,\"container_type\":\"Loose\",\"container_no\":1,\"tare_wt\":\"12\",\"gross_wt\":88.5}]', '[{\"qty\":\"700.00\",\"grn_no\":\"GRN/85\",\"grn_date\":\"2023-12-05\",\"ar_no\":\"AR-45\",\"undertest_qty\":\"\",\"pack_size\":\"20\",\"batch_no\":\"BN/78\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"35\",\"loose_Qty\":\"0\",\"dry_qty\":\"700.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"700.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":700,\"Issue\":0,\"qty_to_dispense\":76.5,\"next_ar_qty\":0}]', 88.50, 76.50, 12.00, '', '', 'master', 'master', '2023-12-11 07:55:44', 1423, 0, 'Pending', '', '00:00:00', 'Approve', 'master', '2023-12-11 06:27:46', 'Approve', 'master', '2023-12-11 06:28:17', '', ''),
(1419, 87, 'Yes', 'Yes', 'RM0001188', '', '[{\"qty\":723.5,\"grn_no\":\"GRN/86\",\"grn_date\":\"2023-11-30\",\"ar_no\":\"AR-46\",\"undertest_qty\":\"\",\"pack_size\":\"30\",\"batch_no\":\"BN/79\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"26\",\"loose_Qty\":\"20\",\"dry_qty\":\"800.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"800.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":800,\"Issue\":0,\"qty_to_dispense\":76.5,\"next_ar_qty\":0,\"despensedQty\":76.5,\"net_weight\":76.5,\"container_type\":\"Loose\",\"container_no\":1,\"tare_wt\":\"10\",\"gross_wt\":86.5}]', '[{\"qty\":\"800.00\",\"grn_no\":\"GRN/86\",\"grn_date\":\"2023-11-30\",\"ar_no\":\"AR-46\",\"undertest_qty\":\"\",\"pack_size\":\"30\",\"batch_no\":\"BN/79\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"0.00\",\"intact_containers\":\"26\",\"loose_Qty\":\"20\",\"dry_qty\":\"800.00\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"800.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"0.00\",\"balance_qty\":800,\"Issue\":0,\"qty_to_dispense\":76.5,\"next_ar_qty\":0}]', 86.50, 76.50, 10.00, '', '', 'master', 'master', '2023-12-11 07:56:31', 1424, 0, 'Pending', '', '00:00:00', 'Approve', 'master', '2023-12-11 06:27:49', 'Approve', 'master', '2023-12-11 06:28:20', '', ''),
(1420, 87, 'Yes', 'Yes', 'RM0001187', '', '[{\"qty\":623.5,\"grn_no\":\"GRN/85\",\"grn_date\":\"2023-12-05\",\"ar_no\":\"AR-45\",\"undertest_qty\":\"\",\"pack_size\":\"20\",\"batch_no\":\"BN/78\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"76.50\",\"intact_containers\":\"31\",\"loose_Qty\":\"3.5\",\"dry_qty\":\"623.50\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"700.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"76.50\",\"balance_qty\":623.5,\"Issue\":0,\"qty_to_dispense\":76.5,\"next_ar_qty\":0,\"despensedQty\":76.5,\"net_weight\":76.5,\"container_type\":\"Loose\",\"container_no\":1,\"tare_wt\":\"41\",\"gross_wt\":117.5}]', '[{\"qty\":\"700.00\",\"grn_no\":\"GRN/85\",\"grn_date\":\"2023-12-05\",\"ar_no\":\"AR-45\",\"undertest_qty\":\"\",\"pack_size\":\"20\",\"batch_no\":\"BN/78\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"76.50\",\"intact_containers\":\"31\",\"loose_Qty\":\"3.5\",\"dry_qty\":\"623.50\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"700.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"76.50\",\"balance_qty\":623.5,\"Issue\":0,\"qty_to_dispense\":76.5,\"next_ar_qty\":0}]', 117.50, 76.50, 41.00, '', '', 'master', 'master', '2023-12-11 07:56:39', 1425, 0, 'Pending', '', '00:00:00', 'Approve', 'master', '2023-12-11 06:27:54', 'Approve', 'master', '2023-12-11 06:28:24', '', ''),
(1421, 87, 'Yes', 'Yes', 'RM0001188', '', '[{\"qty\":723.5,\"grn_no\":\"GRN/86\",\"grn_date\":\"2023-11-30\",\"ar_no\":\"AR-46\",\"undertest_qty\":\"\",\"pack_size\":\"30\",\"batch_no\":\"BN/79\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"76.50\",\"intact_containers\":\"24\",\"loose_Qty\":\"3.5\",\"dry_qty\":\"723.50\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"800.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"76.50\",\"balance_qty\":723.5,\"Issue\":0,\"qty_to_dispense\":76.5,\"next_ar_qty\":0,\"despensedQty\":76.5,\"net_weight\":76.5,\"container_type\":\"Loose\",\"container_no\":1,\"tare_wt\":\"42\",\"gross_wt\":118.5}]', '[{\"qty\":\"800.00\",\"grn_no\":\"GRN/86\",\"grn_date\":\"2023-11-30\",\"ar_no\":\"AR-46\",\"undertest_qty\":\"\",\"pack_size\":\"30\",\"batch_no\":\"BN/79\",\"containers\":\"\",\"lod_per\":\"0.00\",\"assay\":\"0.00\",\"issued_qty\":\"76.50\",\"intact_containers\":\"24\",\"loose_Qty\":\"3.5\",\"dry_qty\":\"723.50\",\"pure_qty\":\"0\",\"pure_qtys\":null,\"material_e_factor\":\"0\",\"lod_qty\":null,\"lod_test\":null,\"assay_qty\":null,\"test_assay\":null,\"specification_no\":null,\"qty1\":\"800.00\",\"issue_qty1\":\"0\",\"mmm_qty\":\"76.50\",\"balance_qty\":723.5,\"Issue\":0,\"qty_to_dispense\":76.5,\"next_ar_qty\":0}]', 118.50, 76.50, 42.00, '', '', 'master', 'master', '2023-12-11 07:57:21', 1426, 0, 'Pending', '', '00:00:00', 'Approve', 'master', '2023-12-11 06:27:57', 'Approve', 'master', '2023-12-11 06:28:27', '', '');

--
-- Dumping data for table `dose_units`
--

INSERT INTO `dose_units` (`id`, `plant_id`, `dose_unit_name`, `entry_by`, `entry_date`) VALUES
(11, 87, 'Mg', 'master', '2023-12-11 14:16:25'),
(12, 87, 'Kg', 'master', '2023-12-11 14:16:48'),
(13, 87, 'gm', 'master', '2023-12-11 14:17:15'),
(14, 87, 'Capsule', 'master', '2023-12-11 18:04:33');

--
-- Dumping data for table `emp_rights`
--

INSERT INTO `emp_rights` (`id`, `user_no`, `emp_id`, `department`, `module`, `form_name`, `isuser`, `ischecker`, `isapprover`, `qms_approver`, `dept_head`, `isauditor`, `user_rights`, `additional`, `rights`, `ismail`, `iscontact`, `mail_id`, `contact_no`, `from_date`, `to_date`, `status`, `entry_by`, `entry_date`, `update_by`, `update_date`, `plant_id`) VALUES
(1, 'gmpdemo1', 'master', 'all', '', '', 'Yes', 'Yes', 'Yes', 'Yes', 'Yes', 'Yes', '[{}]', '[]', '', '', '', '', '', '0000-00-00', NULL, 'approve', 'master', '2022-11-28 05:12:09', '', NULL, '67'),
(37, '', '194', 'Management', '', '', 'Yes', 'No', 'Yes', 'No', 'No', 'false', '', '', '', '', '', '', '', '0000-00-00', NULL, 'approve', 'master', '2023-09-23 05:42:49', '', NULL, '67'),
(38, '', 'T_EMP_12', 'Purchase', '', '', 'Yes', 'Yes', 'No', 'Yes', 'No', 'false', '', '', '', '', '', '', '', '0000-00-00', NULL, 'approve', 'master', '2023-11-29 11:59:04', '', NULL, '67');

--
-- Dumping data for table `equipment`
--

INSERT INTO `equipment` (`id`, `user_no`, `plant_id`, `equipment_category`, `equipment_type`, `equipment_code`, `equipment_name`, `make`, `capacity`, `min_capacity`, `max_capacity`, `unit`, `category`, `department`, `section`, `purchase_date`, `installation_date`, `model`, `equipment_sr_no`, `equipment_used`, `e_no1`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `calibration_type`, `preventive_maintenance`, `daily`, `fourthnightly`, `monthly`, `quarterly`, `half_yearly`, `yearly`, `calibration_parameter`, `process`, `preventive`, `from_range`, `from_range_uom`, `to_range`, `to_range_uom`, `reqv_required`, `requalification`, `revalidation`, `plant_name`, `location`, `type`, `calibration_frequency`, `calibration_frequency_inhouse`, `calibration_frequency_external`, `revalidation_frequency`, `split_into`, `weights`, `previous_preventive`, `calibration_required`, `lastcalibration_date`, `inpection_freequency`, `prev_maint_frequency`, `last_inspection_date`, `last_prev_maint_date`, `working_capacity`, `sop_no`, `format_no`, `serial_no`, `assets_status`, `price`) VALUES
(1, 'gmpdemo1', '87', 'New', 'Process Equipment', 'SIPL/EQ/PR/BL500/001', 'Blender 500', '', 550.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-01 17:12:36', '', NULL, 'External', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Blender room 01', '', '', 'null', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '500', 'NA', 'NA', 'NA', 0, ''),
(2, 'gmpdemo1', '87', 'New', 'Process Equipment', 'SIPL/EQ/PR/BL500/002', 'Blender 500', '', 550.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-01 17:13:43', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'location', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '500', 'NA', 'NA', 'NA', 0, ''),
(3, 'gmpdemo1', '87', 'New', 'Process Equipment', 'SIPL/EQ/PR/BL100/003', 'Blender 100', 'NA', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-01 17:17:16', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Blender room 01', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(4, 'gmpdemo1', '87', 'New', 'Process Equipment', 'SIPL/EQ/PR/BL35/004', 'Blender 35', '', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-01 17:18:20', '', NULL, '', '', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Weghing room', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(8, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/ST/WB/01', 'Weighing Balance', 'Sansui', 150.00, '', '', 'Kg', 'Fix', 'Store', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-01 17:34:26', '', NULL, 'External', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', '', '', '', 'null', '[{\"name\":\"Daily Calibration\"}]', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '140', 'NA', 'NA', 'NA', 0, ''),
(9, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/ST/WB/02', 'Weighing Balance', 'NA', 50.00, '', '', 'Kg', 'Fix', 'Store', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-01 17:37:01', '', NULL, 'External', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'location', '', '', 'null', '[{\"name\":\"Daily Calibration\"}]', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '40', 'NA', 'NA', 'NA', 0, ''),
(11, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/ST/WB/03', 'weighing Balance', 'Sansui', 10.00, '', '', 'Kg', 'Fix', 'Store', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-01 17:38:30', '', NULL, 'External', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Sampling room', '', '', 'null', '[{\"name\":\"Daily Calibration\"}]', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '8', 'NA', 'NA', 'NA', 0, ''),
(12, 'gmpdemo1', '87', 'New', 'Packaging', 'SIPL/EQ/PR/CAP/009', 'CAPSULE FILLING MACHINE', '', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-01 17:40:03', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Bottle filling', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(13, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/04', 'Weghing Balance', 'Sansui', 6.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-01 17:45:01', '', NULL, '', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'PFS room', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '4', 'NA', 'NA', 'NA', 0, ''),
(14, 'gmpdemo1', '87', 'New', 'Packaging', 'SIPL/EQ/PR/BS/010', 'BAND SEALER', 'NA', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-01 17:48:35', '', NULL, '', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'PFS room', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(18, 'gmpdemo1', '87', 'New', 'Packaging', 'SIPL/EQ/PR/PFS/011', 'PFS ', 'NA', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-01 17:55:30', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'PFS room', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(19, 'gmpdemo1', '87', 'New', 'Packaging', 'SIPL/EQ/PR/JF/015', 'JAR FILLING', 'NA', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-01 18:11:15', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Bottle filling', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(20, 'gmpdemo1', '87', 'New', 'Packaging', 'SIPL/EQ/PR/FFS/027', 'FORM FILL SEAL ', 'NA', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-01 18:13:04', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'PFS room', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(25, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/05', 'Weighing Balance', 'Sansui', 2.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 10:43:15', '', NULL, 'External', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Weghing room', '', '', 'null', '[{\"name\":\"Daily Calibration\"}]', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '1.5', 'NA', 'NA', 'NA', 0, ''),
(26, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/06', 'Weighing Balance', 'Sansui', 5.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 10:45:23', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Weghing room', '', '', '[{\"name\":\"Daily Calibration\"}]', '[]', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '4.5', 'NA', 'NA', 'NA', 0, ''),
(27, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/07', 'Weighing Balance', 'Sansui', 50.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 10:48:20', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Weghing room', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '45', 'NA', 'NA', 'NA', 0, ''),
(28, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/08', 'Weighing Balance', 'Sansui', 5.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 10:51:11', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'FFS Room', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '4.5', 'NA', 'NA', 'NA', 0, ''),
(29, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/09', 'Weighing Balance', 'Sansui', 5.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 10:52:57', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Bottle filling', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '4.5', 'NA', 'NA', 'NA', 0, ''),
(30, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/10', 'Weighing Balance', 'Sansui', 5.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 10:57:12', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Bottle filling', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '4.5', 'NA', 'NA', 'NA', 0, ''),
(31, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/11', 'Weighing Balance', 'Sansui', 50.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 10:58:38', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Blender room 01', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '45', 'NA', 'NA', 'NA', 0, ''),
(32, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/12', 'Weighing Balance', 'Sansui', 5.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 11:00:20', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'secondary packing area', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '4.5', 'NA', 'NA', 'NA', 0, ''),
(33, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/PR/WB/13', 'Weighing Balance', 'Sansui', 100.00, '', '', 'Kg', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 11:05:04', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'secondary packing area', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '90', 'NA', 'NA', 'NA', 0, ''),
(34, 'gmpdemo1', '87', 'New', 'Process Equipment', 'SIPL/EQ/PR/SFT/005', 'Sifter', 'NA', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-02 16:41:46', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Weghing room', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(35, 'gmpdemo1', '87', 'New', 'Process Equipment', 'SIPL/EQ/PR/SFT48/006', 'Sifter48', 'NA', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-02 16:42:32', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Blender room 01', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(36, 'gmpdemo1', '87', 'New', 'Process Equipment', 'SIPL/EQ/PR/SFT40/007', 'Sifter40', '', 0.00, '', '', '', 'Fix', 'Production', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 16:43:15', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Blender room 02', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'NA', 'NA', 'NA', 0, ''),
(37, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/ST/WB/14', 'Weighing Balance ', 'Sansui', 100.00, '', '', 'Kg', 'Fix', 'Store', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-02 16:54:26', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'PM Storage area', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '90', '', 'NA', 'NA', 0, ''),
(38, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/QC/WB/15', 'Weighing Balance ', 'Sansui', 0.82, '', '', 'Kg', 'Fix', 'Quality Control', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-02 16:55:50', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'location', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '0.6', 'NA', 'NA', 'NA', 0, ''),
(39, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/QC/WB/16', 'Weighing Balance ', 'Sansui', 6.00, '', '', 'Kg', 'Fix', 'Microbiology', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-02 17:00:25', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Micro Lab', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '5', 'NA', 'NA', 'NA', 0, ''),
(40, 'gmpdemo1', '87', 'Existing', 'Balance(Weighing)', 'SIPL/EQ/QC/WB/17', 'Weighing Balance ', 'Sansui', 0.22, '', '', 'gms', 'Fix', 'Quality Control', '', '0000-00-00', '0000-00-00', 'NA', '', NULL, 0, 'approve', 'master', '2023-12-02 17:01:53', '', NULL, 'Both', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'location', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '0.21', '', '', 'NA', 0, ''),
(41, 'gmpdemo1', '87', 'Existing', 'Dust Collector', 'SIPL/EQ/EG/VC/038', 'Vacuum Cleaner (Warehouse)', '', 0.00, '', '', '', 'Fix', 'Store', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-03 10:14:48', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'location', '', '', 'null', 'null', '', '', 'null', '', '', '', '[{\"id\":5,\"particular\":\"Quarterly\",\"checked\":true,\"last_insp_date\":\"\",\"last_prevent_date\":\"\"}]', '[{\"id\":5,\"particular\":\"Quarterly\",\"checked\":true,\"last_insp_date\":\"\",\"last_prevent_date\":\"\"}]', '0000-00-00', '0000-00-00', '', '', 'NA', 'NA', 0, ''),
(42, 'gmpdemo1', '87', 'Existing', 'Dust Collector', 'SIPL/EQ/EG/VC/037', 'Vaccum Cleaner', '', 0.00, '', '', '', 'Fix', 'Store', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-03 10:30:10', '', NULL, '', '', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'location', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', '', 'NA', 'NA', 0, ''),
(43, 'gmpdemo1', '76', 'New', 'LAF', 'laf-001', 'laf 1', '', 0.00, '', '', '', 'Fix', 'Quality Control', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'OBSOLUTE', 'master', '2023-02-16 17:11:45', '', NULL, '', '', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Testing', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(44, 'gmpdemo1', '70', 'Existing', 'LAF', 'LAF005', 'LAF', '', 0.00, '', '', '', 'Fix', 'Quality Control', '', '2023-03-24', '0000-00-00', '', '', NULL, 0, 'OBSOLUTE', 'master', '2023-03-24 12:09:34', '', NULL, '', '', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Sampling', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(45, 'gmpdemo1', '70', 'New', 'LAF', '1222', 'Laf1222', '', 0.00, '', '', '', 'Fix', 'Quality Control', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'OBSOLUTE', 'master', '2023-03-30 10:02:33', '', NULL, '', '', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'Sampling', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(46, 'gmpdemo1', '29', 'New', 'LAF', 'LAF560', 'LAF ID', '45', 0.00, '', '', '', 'Fix', 'Quality Control', '', '2023-06-23', '0000-00-00', '5', '', NULL, 0, 'approve', 'master', '2023-06-23 10:16:00', '', NULL, '', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', 'Requalific', 'Half Annual', '', '', 'Sampling', '', '', 'null', 'null', '', '', 'null', '', 'No', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(47, 'gmpdemo1', '26', 'New', 'LAF', '0101', 'LAF 01', 't9', 0.00, '', '', '', 'Fix', 'Quality Control', '', '2023-06-19', '0000-00-00', '89', '', NULL, 0, 'approve', 'master', '2023-06-23 12:07:37', '', NULL, 'Inhouse', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', 'Revalidati', '', '', '', 'Sampling', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(48, 'gmpdemo1', '29', 'New', 'LAF', 'LAF09', 'Sampling Process', 'Test', 0.00, '', '', '', 'Fix', 'Quality Control', '', '2023-06-23', '0000-00-00', '09', '', NULL, 0, 'approve', 'master', '2023-06-23 18:31:58', '', NULL, 'Inhouse', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', 'Requalific', 'Half Annual', '', '', 'Sampling', '', '', '[{\"name\":\"Weekly\"}]', 'null', '', '', 'null', '', 'Yes', '', '[{\"id\":1,\"particular\":\"Daily \",\"checked\":true,\"last_insp_date\":\"2023-07-17\",\"last_prevent_date\":\"\"}]', '[{\"id\":2,\"particular\":\"Weekly\",\"checked\":true,\"last_insp_date\":\"\",\"last_prevent_date\":\"2023-07-17\"}]', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(49, 'gmpdemo1', '29', 'New', 'LAF', 'LAF ID 003', 'LAF 003', '12', 0.00, '', '', '', 'Fix', 'Quality Control', '', '0000-00-00', '0000-00-00', '2', '', NULL, 0, 'OBSOLUTE', 'master', '2023-09-02 10:33:38', '', NULL, 'Inhouse', '', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', 'Requalific', 'Half Annual', '', '', 'Sampling', '', '', '[{\"name\":\"Daily Calibration\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(50, 'gmpdemo1', '29', 'New', 'LAF', 'LAF0764', 'LAF078', '1', 0.00, '', '', '', 'Fix', 'Quality Control', '', '2023-09-13', '0000-00-00', 'Quality Control', '', NULL, 0, 'approve', 'master', '2023-09-13 14:42:56', '', NULL, 'Inhouse', 'Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', 'Requalific', 'Half Annual', '', '', 'Testing', '', '', '[{\"name\":\"Daily Calibration\"},{\"name\":\"Daily Verification\"}]', 'null', '', '', 'null', '', 'Yes', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(51, 'gmpdemo1', '76', 'Existing', 'LAF', 'LAF003', 'LAF003', 'TEST', 0.00, '', '', '', 'Fix', 'Quality Control', '', '2023-01-31', '2023-02-10', 'TEST', '', NULL, 0, 'OBSOLUTE', 'master', '2023-02-02 18:49:44', '', NULL, '', 'Not Applicable', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'sAMPLING', '', '', 'null', 'null', '', '', 'null', '', 'No', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '', 0, ''),
(200, 'gmpdemo1', '87', 'New', 'Sampling Equipment', 'EC01', 'test', '', 0.00, '', '', '', 'Fix', 'Quality Control', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-07 16:30:58', '', NULL, '', '', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'location', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', '01', '01', '01', 0, ''),
(201, 'gmpdemo1', '87', 'New', 'Engineering', 'test', 'test ', '', 0.00, '', '', '', 'Fix', 'Packing', '', '0000-00-00', '0000-00-00', '', '', NULL, 0, 'approve', 'master', '2023-12-12 10:47:55', '', NULL, '', '', 'false', 'false', 'false', 'false', 'false', 'false', 'pending', '', 'pending', 0.00, '', 0.00, '', '', '', '', '', 'location', '', '', 'null', 'null', '', '', 'null', '', '', '', '', '', '0000-00-00', '0000-00-00', '', 'test', 'test', 'test', 0, '');

--
-- Dumping data for table `equipment_standard_weight`
--

INSERT INTO `equipment_standard_weight` (`id`, `plant_id`, `standard_weight`, `acceptance_criteria_from`, `acceptance_criteria_to`, `equipment_id`, `unit`) VALUES
(1, '87', '', 'test', 'test', '201', 'Li');

--
-- Dumping data for table `general_material`
--

INSERT INTO `general_material` (`id`, `material_sub_type_id`, `user_no`, `general_material_type`, `material_subtype`, `material_code`, `material_name`, `hsn`, `gst`, `gst_id`, `status`, `entry_by`, `entry_date`, `unit`, `lead_time`, `exceed_limit`, `material_type`, `equipment_capacity`, `capacity_unit`, `material_of_construction`, `part_type`, `part_no`, `part_size`, `plant_id`) VALUES
(19, 128, 'gmpdemo1', 'General Material', 'Packing Material', 'GM001', 'TEST23R4', '', 0.00, 0, 'approve', 'master', '2023-12-13', 'KG', '', '', '', '', '', '', '', '', '', '87'),
(20, 128, 'gmpdemo1', 'General Material', 'Packing Material', 'GM020', 'TEST23R4', '', 0.00, 0, 'approve', 'master', '2023-12-13', 'KG', '', '', '', '', '', '', '', '', '', '87');

--
-- Dumping data for table `glassware`
--

INSERT INTO `glassware` (`id`, `user_no`, `glassware_no`, `name`, `capacity`, `unit`, `glassware_class`, `description`, `make`, `gst`, `hsn`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `plant_id`) VALUES
(1, 'gmpdemo1', 'G10001', 'GMO Round Glass Beakers', 20.00, 'liter', 'type A', 'Specifications:\nVolume: 50ml-1000ml\nShape: Round\nColor: Transparent', '', 18.00, '', 'pending', 'master', '2023-05-03 03:44:44', '', NULL, '87'),
(2, 'gmpdemo1', 'G10002', 'Conical flask ', 100.00, 'ml', 'type A', '10 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:16:38', '', NULL, '87'),
(3, 'gmpdemo1', 'G10003', 'Conical flask ', 250.00, 'ml', 'type A', '08 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:17:13', '', NULL, '87'),
(4, 'gmpdemo1', 'G10004', 'Conical flask ', 500.00, 'ml', 'type A', '09 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:18:15', '', NULL, '87'),
(5, 'gmpdemo1', 'G10005', 'Glass bottles', 250.00, 'ml', 'type A', '09 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:19:11', '', NULL, '87'),
(6, 'gmpdemo1', 'G10006', 'Glass bottles', 1000.00, 'ml', 'type A', '01 number', '', 0.00, '', 'pending', 'master', '2023-05-21 10:19:46', '', NULL, '87'),
(7, 'gmpdemo1', 'G10007', 'Glass bottles', 500.00, 'ml', 'type A', '10 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:20:18', '', NULL, '87'),
(8, 'gmpdemo1', 'G10008', 'Beakers', 100.00, 'ml', 'type A', '05 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:20:51', '', NULL, '87'),
(9, 'gmpdemo1', 'G10009', 'Beakers', 150.00, 'ml', 'type A', '03 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:21:22', '', NULL, '87'),
(10, 'gmpdemo1', 'G10010', 'Beaker', 100.00, 'ml', 'type A', '05 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:56:01', '', NULL, '87'),
(11, 'gmpdemo1', 'G10011', 'Beaker ', 150.00, 'ml', 'type A', '03 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:56:27', '', NULL, '87'),
(12, 'gmpdemo1', 'G10012', 'Beakers', 250.00, 'ml', 'type A', '07 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:57:57', '', NULL, '87'),
(13, 'gmpdemo1', 'G10013', 'Beakers', 1000.00, 'ml', 'type A', '02 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:58:24', '', NULL, '87'),
(14, 'gmpdemo1', 'G10014', 'Beakers', 500.00, 'ml', 'type A', '02 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:59:23', '', NULL, '87'),
(15, 'gmpdemo1', 'G10015', 'Beakers', 50.00, 'ml', 'type A', '02 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 10:59:44', '', NULL, '87'),
(16, 'gmpdemo1', 'G10016', 'Measuring cylinder ', 500.00, 'ml', 'type A', '01 number', '', 0.00, '', 'pending', 'master', '2023-05-21 11:00:21', '', NULL, '87'),
(17, 'gmpdemo1', 'G10017', 'Measuring cylinder ', 250.00, 'ml', 'type A', '01 number', '', 0.00, '', 'pending', 'master', '2023-05-21 11:01:26', '', NULL, '87'),
(18, 'gmpdemo1', 'G10018', 'Measuring cylinder ', 250.00, 'ml', 'type A', '01 number', '', 0.00, '', 'pending', 'master', '2023-05-21 11:01:56', '', NULL, '87'),
(19, 'gmpdemo1', 'G10019', 'Measuring cylinder ', 1000.00, 'ml', 'type A', '01 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 11:10:38', '', NULL, '87'),
(20, 'gmpdemo1', 'G10020', 'Measuring cylinder ', 100.00, 'ml', 'type A', '01 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 11:11:05', '', NULL, '87'),
(21, 'gmpdemo1', 'G10021', 'Volumetric flask ', 500.00, 'ml', 'type A', '02 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 11:12:09', '', NULL, '87'),
(22, 'gmpdemo1', 'G10022', 'Volumetric flask ', 250.00, 'ml', 'type A', '02 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 11:12:41', '', NULL, '87'),
(23, 'gmpdemo1', 'G10023', 'Volumetric flask', 100.00, 'ml', 'type A', '09 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 11:13:08', '', NULL, '87'),
(24, 'gmpdemo1', 'G10024', 'Volumetric flask ', 10.00, 'ml', 'type A', '01 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 11:13:37', '', NULL, '87'),
(25, 'gmpdemo1', 'G10025', 'Test tube', 10.00, 'ml', 'type A', '124 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 11:15:30', '', NULL, '87'),
(26, 'gmpdemo1', 'G10026', 'Petri plates', 20.00, 'ml', 'type A', '100 numbers', '', 0.00, '', 'pending', 'master', '2023-05-21 11:16:04', '', NULL, '87'),
(27, 'gmpdemo1', 'G10027', 'Burette ', 50.00, 'ml', 'type A', '', '', 0.00, '', 'pending', 'master', '2023-07-15 04:06:07', '', NULL, '87'),
(28, 'gmpdemo1', 'G10028', 'Burette ', 25.00, 'ml', 'type A', '', '', 0.00, '', 'pending', 'master', '2023-07-15 04:06:22', '', NULL, '87'),
(29, 'gmpdemo1', 'G10029', ' Volumetric flask', 7.00, 'ml', 'type B', 'Not required ', '', 5.00, '1214', 'pending', 'master', '2023-09-18 11:50:40', '', NULL, '87'),
(30, 'gmpdemo1', 'G10030', '', 0.00, '', '', '', '', 0.00, '', 'pending', 'master', '2023-09-29 01:06:20', '', NULL, '87'),
(31, 'gmpdemo1', 'G10031', '', 0.00, '', '', '', '', 0.00, '', 'pending', 'master', '2023-09-29 01:57:53', '', NULL, '87');

--
-- Dumping data for table `grade`
--

INSERT INTO `grade` (`id`, `plant_id`, `user_no`, `grade`, `phamacopoeia_name`, `status`, `entry_by`, `entry_date`) VALUES
(16, '87', 'gmpdemo1', 'IP', 'Indian phamacopoeia', 'active', 'master', '2023-12-06'),
(17, '87', 'gmpdemo1', 'BP', 'British pharmacopia', 'active', 'master', '2023-12-06'),
(18, '87', 'gmpdemo1', 'USP', 'United State Pharmacopoei', 'active', 'master', '2023-12-07');

--
-- Dumping data for table `incident`
--

INSERT INTO `incident` (`id`, `plant_id`, `user_no`, `incident_no`, `department`, `document_type`, `document_no`, `related_to`, `category`, `type`, `classification`, `description`, `immediate_action`, `initiate_by`, `initiate_date`, `investigation`, `impact_assessment`, `other_assessment`, `corrective_action`, `preventive_action`, `customer_notification`, `qa_comment`, `status`, `reject_reason`, `check_by`, `check_date`, `check_remark`, `verify_by`, `verify_date`, `verify_remark`, `approve_by`, `approve_date`, `approve_remark`, `close_by`, `close_date`, `capa`, `capa_no`, `isextension`, `extension_in`, `extension_justification`, `completion_date`, `extension_by`, `extension_date`, `extension_verify_by`, `extension_verify_date`, `evaluate1_by`, `evaluate1_date`, `evaluate1_comment`, `evaluate2_by`, `evaluate2_date`, `evaluate2_comment`, `justification`, `cause`, `affecting_product`, `affecting_equipment`, `product_details`, `equip_details`, `entry_by`, `entry_date`) VALUES
(3, '', 'gmpdemo1', 'INC001', 'master', '', '', 'Process', 'Planned Incident', 'Minor', 'Quality Impacting', 'test', 'test', 'master', '2023-12-12', 'test', '[\"SOP/Formats\"]', 'tests', 'test', 'test', 'Yes', '', 'Checked', '', '', '2023-12-12 04:37:44', '', 'pending', NULL, '', '', NULL, '', '', '0000-00-00 00:00:00', 'no', '', '', '', '', '0000-00-00', '', NULL, '', NULL, '', NULL, '', '', NULL, '', '', '', '', '', '', '', '', '');

--
-- Dumping data for table `incident_comments`
--

INSERT INTO `incident_comments` (`id`, `plant_id`, `user_no`, `incident_no`, `department`, `comment`, `status`, `entry_by`, `entry_date`, `inc_no`) VALUES
(6, '', 'gmpdemo1', 'INC001', 'Production', '', 'pending', '', NULL, 0);

--
-- Dumping data for table `indend_raw`
--

INSERT INTO `indend_raw` (`id`, `plant_id`, `user_no`, `no`, `request_no`, `indend_no`, `material_type`, `material_code`, `material_id`, `req_qty`, `unit`, `requirement`, `purpose`, `expected_vendor`, `required_for`, `client_code`, `status`, `entry_by`, `entry_date`, `department`, `check_by`, `check_date`, `vendor_no`, `quotation_no`, `quotation_amt`, `quotation_per`, `qty`, `gst`, `gross_total`, `gst_total`, `net_total`, `approve_by`, `approve_date`, `material_nature`, `material_subtype`, `vendor_type`, `manufacturer_no`, `specific_vendor`, `exp_date`, `order_qty`, `po_indend`, `other_purpose`, `purchase_type`, `tax_type`) VALUES
(133, '87', 'gmpdemo1', '20231206154357', 'RQ0001', 'RM0001', 'Raw Material', 'RM00031', 1135, 500.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-06 03:43:57', 'Store', '', NULL, 'V10001', 'Q-0001', 500.00, '', 0, 0.00, 250000.00, 0.00, 250000.00, 'master', '2023-12-06 04:07:27', '', 'Excipient', 0, 'Array', '', '0000-00-00', '500', 'Approve', '', 'Local Purchase', 'GST'),
(134, '87', 'gmpdemo1', '20231206171737', 'RQ0002', 'RM0002', 'Raw Material', 'RM0001166', 1136, 800.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-06 05:17:37', 'Store', '', NULL, 'V10217', 'Q-0002', 500.00, '', 0, 0.00, 400000.00, 0.00, 400000.00, 'master', '2023-12-06 05:17:53', '', 'Excipient', 0, 'Array', '', '0000-00-00', '800', 'Approve', '', 'Local Purchase', 'GST'),
(135, '87', 'gmpdemo1', '20231207143234', 'RQ0003', 'RM0003', 'Raw Material', 'RM0001167', 1137, 1000.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-07 02:32:34', 'Store', '', NULL, 'V10218', 'Q-0003', 1000.00, '', 0, 0.00, 1000000.00, 0.00, 1000000.00, 'master', '2023-12-07 02:33:06', '', 'Excipient', 0, 'Array', '', '0000-00-00', '1000', 'Approve', '', 'Local Purchase', 'GST'),
(136, '87', 'gmpdemo1', '20231207144705', 'RQ0004', 'RM0004', 'Raw Material', 'RM0001168', 1138, 600.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-07 02:47:05', 'Store', '', NULL, 'V10219', 'Q-0004', 800.00, '', 0, 0.00, 480000.00, 0.00, 480000.00, 'master', '2023-12-07 02:47:21', '', 'API', 0, 'Array', '', '0000-00-00', '600', 'Approve', '', 'Local Purchase', 'GST'),
(137, '87', 'gmpdemo1', '20231207161807', 'RQ0005', 'RM0005', 'Raw Material', 'RM0001169', 1139, 500.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-07 04:18:07', 'Store', '', NULL, 'V10220', 'Q-0005', 700.00, '', 0, 0.00, 350000.00, 0.00, 350000.00, 'master', '2023-12-07 04:18:32', '', 'API', 0, 'Array', '', '0000-00-00', '500', 'Approve', '', 'Local Purchase', 'GST'),
(138, '87', 'gmpdemo1', '20231207165624', 'RQ0006', 'RM0006', 'Raw Material', 'RM0001170', 1140, 700.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-07 04:56:24', 'Store', '', NULL, 'V10221', 'Q-0006', 800.00, '', 0, 0.00, 560000.00, 0.00, 560000.00, 'master', '2023-12-07 04:56:35', '', 'Excipient', 0, 'Array', '', '0000-00-00', '700', 'Approve', '', 'Local Purchase', 'GST'),
(139, '87', 'gmpdemo1', '20231207170910', 'RQ0007', 'RM0007', 'Raw Material', 'RM0001170', 1140, 900.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-07 05:09:10', 'Store', '', NULL, 'V10221', 'Q-0006', 800.00, '', 0, 0.00, 720000.00, 0.00, 720000.00, 'master', '2023-12-07 05:09:23', '', 'Excipient', 0, 'Array', '', '0000-00-00', '900', 'Approve', '', 'Local Purchase', 'GST'),
(140, '87', 'gmpdemo1', '20231207171728', 'RQ0008', 'RM0008', 'Raw Material', 'RM0001172', 1142, 900.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-07 05:17:28', 'Store', '', NULL, 'V10223', 'Q-0008', 900.00, '', 0, 0.00, 630000.00, 0.00, 630000.00, 'master', '2023-12-07 05:17:52', '', 'Excipient', 0, 'Array', '', '0000-00-00', '700', 'Approve', '', 'Local Purchase', 'GST'),
(141, '87', 'gmpdemo1', '20231207172756', 'RQ0009', 'RM0009', 'Raw Material', 'RM0001173', 1143, 850.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-07 05:27:56', 'Store', '', NULL, 'V10224', 'Q-0009', 600.00, '', 0, 0.00, 510000.00, 0.00, 510000.00, 'master', '2023-12-07 05:28:20', '', 'Excipient', 0, 'Array', '', '0000-00-00', '850', 'pending', '', 'Local Purchase', 'GST'),
(142, '87', 'gmpdemo1', '20231207173956', 'RQ0010', 'RM0014', 'Raw Material', 'RM0001175', 1145, 300.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-07 05:39:56', 'Store', '', NULL, 'V10225', 'Q-0010', 750.00, '', 0, 0.00, 300000.00, 0.00, 300000.00, 'master', '2023-12-12 10:00:10', '', 'API', 0, 'Array', '', '0000-00-00', '400', 'Approve', '', 'Local Purchase', 'GST'),
(143, '87', 'gmpdemo1', '20231208144209', 'RQ0011', 'RM0010', 'Raw Material', 'RM0001178', 1148, 600.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-08 02:42:09', 'Store', '', NULL, 'V10229', 'Q-0012', 800.00, '', 0, 0.00, 480000.00, 0.00, 480000.00, 'master', '2023-12-08 02:42:29', '', 'Excipient', 0, 'Array', '', '0000-00-00', '600', 'Approve', '', 'Local Purchase', 'GST'),
(144, '87', 'gmpdemo1', '20231209120607', 'RQ0012', 'RM0011', 'Raw Material', 'RM0001179', 1149, 900.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-09 12:06:07', 'Store', '', NULL, 'V10230', 'Q-0013', 600.00, '', 0, 0.00, 540000.00, 0.00, 540000.00, 'master', '2023-12-09 12:06:24', '', 'Excipient', 0, 'Array', '', '0000-00-00', '900', 'Approve', '', 'Local Purchase', 'GST'),
(145, '87', 'gmpdemo1', '20231211154348', 'RQ0013', 'RM0012', 'Raw Material', 'RM0001180', 1150, 300.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-11 03:43:48', 'Store', '', NULL, 'V10231', 'Q-0014', 200.00, '', 0, 0.00, 80000.00, 0.00, 80000.00, 'master', '2023-12-11 03:44:11', '', 'API', 0, 'Array', '', '0000-00-00', '400', 'pending', '', 'Local Purchase', 'GST'),
(146, '87', 'gmpdemo1', '20231211182106', 'RQ0014', '', 'Raw Material', 'RM0001189', 1159, 300.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'pending', 'master', '2023-12-11 06:21:06', 'Store', '', NULL, 'V10236', '', 0.00, '', 0, 0.00, 0.00, 0.00, 0.00, '', NULL, '', 'API', 0, 'Array', '', '0000-00-00', '', 'pending', '', 'Local Purchase', 'GST'),
(147, '87', 'gmpdemo1', '20231211183938', 'RQ0015', 'RM0013', 'Raw Material', 'RM0001190', 1160, 300.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-11 06:39:38', 'Store', '', NULL, 'V10237', 'Q-0018', 300.00, '', 0, 0.00, 120000.00, 0.00, 120000.00, 'master', '2023-12-11 06:39:52', '', 'Excipient', 0, 'Array', '', '0000-00-00', '400', 'Approve', '', 'Local Purchase', 'GST'),
(148, '87', 'gmpdemo1', '20231212114634', 'RQ0016', 'RM0015', 'Raw Material', 'RM0001192', 1162, 300.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-12 11:46:34', 'Store', '', NULL, 'V10238', 'Q-0019', 200.00, '', 0, 0.00, 80000.00, 0.00, 80000.00, 'master', '2023-12-12 11:46:50', '', 'Excipient', 0, 'Array', '', '0000-00-00', '400', 'pending', '', 'Local Purchase', 'GST'),
(149, '87', 'gmpdemo1', '20231212163621', 'RQ0017', 'RM0016', 'Raw Material', 'RM0001171', 1141, 20.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'approve', 'master', '2023-12-12 04:36:21', 'Production', '', NULL, 'V10222', 'Q-0007', 600.00, '', 0, 0.00, 60000.00, 0.00, 60000.00, 'master', '2023-12-12 04:53:25', '', 'API', 0, 'Array', '', '0000-00-00', '100', 'pending', '', 'Local Purchase', 'GST'),
(150, '87', 'gmpdemo1', '20231224051138', 'RQ0018', '', 'Raw Material', 'RM0001193', 1163, 200.00, 'KG', 'Urgent', 'Testing', '', 'Own', '', 'pending', 'master', '2023-12-24 05:11:38', 'Production', '', NULL, 'V10232', '', 0.00, '', 0, 0.00, 0.00, 0.00, 0.00, '', NULL, '', 'API', 0, 'Array', '', '0000-00-00', '', 'pending', '', 'Local Purchase', 'GST');

--
-- Dumping data for table `label`
--

INSERT INTO `label` (`id`, `plant_id`, `label_no`, `label_for`, `document_no`, `label_type`, `inward_no`, `material_code`, `batch_no`, `label_count`, `entry_by`, `entry_date`, `reason`, `status`, `challan_no`, `mfg_date`, `exp_date`, `recv_qty`) VALUES
(169, '', 'L10001', 'Receving', '', 'Receving Label', '', 'RM00031', 'BN0001', 2, 'master', '2023-12-06 05:03:15', '', 'pending', 'CN0001', '2023-12-06', '2028-10-10', '500'),
(170, '', 'L10170', 'Receving', '', 'Receving Label', '', 'RM0001166', 'BN0002', 2, 'master', '2023-12-07 03:12:28', '', 'pending', 'CN0002', '2023-12-07', '2023-12-07', '800'),
(171, '', 'L10171', 'Receving', '', 'Receving Label', '', 'RM0001167', 'BN0003', 2, 'master', '2023-12-08 11:22:44', '', 'pending', 'CN0003', '2023-12-08', '2030-09-08', '1000'),
(172, '', 'L10172', 'Receving', '', 'Receving Label', '', 'RM0001168', 'BN0004', 2, 'master', '2023-12-08 11:28:41', '', 'pending', 'CN0004', '2023-12-08', '2023-12-10', '600'),
(173, '', 'L10173', 'Receving', '', 'Receving Label', '', 'RM0001169', 'BN0005', 2, 'master', '2023-12-08 11:31:35', '', 'pending', 'CN0005', '2023-12-08', '2027-06-15', '500'),
(174, '', 'L10174', 'Receving', '', 'Receving Label', '', 'RM0001170', 'BN0006', 2, 'master', '2023-12-08 11:45:08', '', 'pending', 'CN0006', '2023-12-08', '2029-01-30', '700'),
(175, '', 'L10175', 'Receving', '', 'Receving Label', '', 'RM0001178', 'BN0013', 2, 'master', '2023-12-08 02:46:47', '', 'pending', 'CN0013', '2023-12-08', '2029-10-17', '600'),
(176, '', 'L10176', 'Receving', '', 'Receving Label', '', 'RM0001179', 'BN0015', 3, 'master', '2023-12-09 12:10:32', '', 'pending', 'CN0015', '2023-12-09', '2029-06-09', '900'),
(177, '', 'L10177', 'Receving', '', 'Receving Label', '', 'RM0001175', 'B0059', 4, 'master', '2023-12-12 10:03:18', '', 'pending', 'CH0389', '2023-12-12', '2024-03-09', '400');

--
-- Dumping data for table `lineclearance`
--

INSERT INTO `lineclearance` (`id`, `plant_id`, `work_order_id`, `bfr_no`, `mfr_no`, `pleasure_diff_reading`, `laf_eqip_code`, `balance_eqip_code`, `line_clearance_type`, `qc_checkpoints`, `line_clearance_remarks`, `user_no`, `clearance_no`, `department`, `section`, `activity`, `bmr_no`, `stage`, `material_no`, `grn_no`, `batch_no`, `lot_no`, `request_by`, `request_date`, `status`, `accept_remark`, `equipment_id`, `area_cleaned`, `product_traces`, `sanitization_done`, `sanitization_time`, `temperature`, `humidity`, `status_label`, `balance_cleaned`, `checkpoints`, `entry_by`, `entry_date`, `remark`, `cid`, `lc_accept_date`, `lc_accept_by`, `product_code`) VALUES
(73, '87', 80, 'BFR0001', 'MFR001', '20', 'SIPL/EQ/EG/VC/038', 'SIPL/EQ/ST/WB/02', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-001', '', '', '', '', '', 'PFG4', NULL, 'PBN0001', NULL, '', '2023-12-11', 'Approved', 'ok', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '[]', 'master', '2023-12-11 05:48:57', NULL, '', '', '', 'PFG4'),
(74, '87', 81, 'BFR0002', 'MFR173', '20', 'SIPL/EQ/EG/VC/038', 'SIPL/EQ/ST/WB/01', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-074', '', '', '', '', '', 'PFG6', NULL, 'PBN0002', NULL, '', '2023-12-11', 'Approved', 'ok', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '[]', 'master', '2023-12-11 07:01:09', NULL, '', '', '', 'PFG6'),
(75, '87', 82, 'BFR0004', 'MFR175', '2', 'SIPL/EQ/EG/VC/038', 'SIPL/EQ/ST/WB/01', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-075', '', '', '', '', '', 'PFG8', NULL, 'I-PHWM111223', NULL, '', '2023-12-11', 'Approved', 'okk', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '[{\"id\":\"23\",\"plant_id\":\"87\",\"checkpoint\":\"Ensure that dispensing area & pass box are cleaned properly and there are no traces of previous product/dust\",\"remark\":\"1\",\"remarkss\":\"Yes\"},{\"id\":\"24\",\"plant_id\":\"87\",\"checkpoint\":\"Ensure that balance being used are calibrated and verified for calibration \",\"remark\":\"1\",\"remarkss\":\"Yes\"},{\"id\":\"25\",\"plant_id\":\"87\",\"checkpoint\":\"Check the proper gowning of personnel \",\"remark\":\"1\",\"remarkss\":\"Yes\"},{\"id\":\"26\",\"plant_id\":\"87\",\"checkpoint\":\"Check the present status label which shows the detail of Activity\",\"remark\":\"1\",\"remarkss\":\"Yes\"},{\"id\":\"27\",\"plant_id\":\"87\",\"checkpoint\":\"Check the raw material for the name, material codes, appearance, AR. No, expiry/ retest date etc.\",\"remark\":\"1\",\"remarkss\":\"Yes\"},{\"id\":\"28\",\"plant_id\":\"87\",\"checkpoint\":\"Ensure the cleanliness of the container in which dispensing is to be done\",\"remark\":\"1\",\"remarkss\":\"Yes\"}]', 'master', '2023-12-11 07:53:58', NULL, '', '', '', 'PFG8');

--
-- Dumping data for table `master_checklist`
--

INSERT INTO `master_checklist` (`id`, `plant_id`, `heading`, `department`, `form_name`, `module`, `ch_id`, `master_ch_dtl`) VALUES
(33, 87, 'Receiving', 'Store', 'Receiving', 'Receiving', '', '');

--
-- Dumping data for table `master_fg_types`
--

INSERT INTO `master_fg_types` (`id`, `plant_id`, `product_nature`, `dosage_form_type`, `dosage_sizes`, `dosage_shapes`, `fg_sampling_plan`, `fg_sampling_qty`, `fg_control_reserve_type`, `fg_control_sample_criteria`, `dosage_sub_form`, `entered_by`, `entry_date`, `approved_by`, `approved_date`, `status`, `test`) VALUES
(27, 87, 'SOLID', 'Tablet', '\"\"', '\"\"', '', 'Test Specific', 'Applicable', 'Two Times (of single', '[]', 'master', '2023-12-06 12:14:44', '', '0000-00-00 00:00:00', 'Pending', 'null'),
(28, 87, 'SOLID', 'Capsule', '\"\"', '\"\"', '', 'Test Specific', 'Applicable', 'Two Times (of single', '[]', 'master', '2023-12-06 12:15:04', '', '0000-00-00 00:00:00', 'Pending', 'null');

--
-- Dumping data for table `material_issue`
--

INSERT INTO `material_issue` (`id`, `work_order_id`, `plant_id`, `user_no`, `grn_no`, `ar_no`, `material_code`, `batch_no`, `issue_for`, `product_code`, `prod_batch_code`, `qty`, `unit`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `lot`) VALUES
(1935, 81, '87', 'gmpdemo1', 'GRN11107', 'AR11101', 'RM0001170', 'BN11107', 'DISPENSING', 'PFG6', 'PBN0002', 250.00, '', 'pending', 'master', '2023-12-11', '', NULL, '0'),
(1936, 82, '87', 'gmpdemo1', 'GRN/85', 'AR-45', 'RM0001187', 'BN/78', 'DISPENSING', 'PFG8', 'I-PHWM111223', 76.50, '', 'pending', 'master', '2023-12-11', '', NULL, '1'),
(1937, 82, '87', 'gmpdemo1', 'GRN/86', 'AR-46', 'RM0001188', 'BN/79', 'DISPENSING', 'PFG8', 'I-PHWM111223', 76.50, '', 'pending', 'master', '2023-12-11', '', NULL, '1'),
(1938, 82, '87', 'gmpdemo1', 'GRN/85', 'AR-45', 'RM0001187', 'BN/78', 'DISPENSING', 'PFG8', 'I-PHWM111223', 76.50, '', 'pending', 'master', '2023-12-11', '', NULL, ''),
(1939, 82, '87', 'gmpdemo1', 'GRN/86', 'AR-46', 'RM0001188', 'BN/79', 'DISPENSING', 'PFG8', 'I-PHWM111223', 76.50, '', 'pending', 'master', '2023-12-11', '', NULL, '');

--
-- Dumping data for table `material_type`
--

INSERT INTO `material_type` (`id`, `plant_id`, `material_type`, `material_subtype`, `category`, `sampling_criteria`, `sampling_qty`, `control_sample_type`, `control_reserve_criteria`, `retest_type`, `restest_months`, `entry_by`, `entry_date`, `weighing_criteria`, `eng_category`, `Short_Code`, `has_nature_of_material`, `testing_required`, `status`, `approved_by`, `approved_on`) VALUES
(126, '87', 'Raw Material', 'Excipient', '', '10%', 'Test Specific', 'Applicable', 'Two Times (of single anal', 'Applicable', '12', 'master', '2023-12-06 12:13:02', '10%', '', '', b'1', 'No', 'Pending', '', '0000-00-00 00:00:00'),
(127, '87', 'Raw Material', 'API', '', '10%', 'Test Specific', 'Applicable', 'Two Times (of single anal', 'Applicable', '12', 'master', '2023-12-06 12:13:53', '10%', '', '', b'1', 'No', 'Pending', '', '0000-00-00 00:00:00'),
(128, '87', 'Packing Material', 'Packing Material', '', '10%', 'Test Specific', 'Not Applicable', '', 'Not Applicable', '', 'master', '2023-12-11 02:38:56', '10%', '', '', b'1', 'No', 'Pending', '', '0000-00-00 00:00:00');

--
-- Dumping data for table `mfg_work_order_dtl`
--

INSERT INTO `mfg_work_order_dtl` (`id`, `work_order_id`, `pack_size_id`, `material_code`, `grade`, `unit_qty`, `actual_qtyy`, `unit`, `overages`, `total_unit_qty`, `batch_qty`, `batch_overages`, `total_batch_qty`, `lod_status`, `assay_status`, `physical_stock`, `status`, `containers`, `ars`, `operator_name`, `done_by`, `check_by`, `entry_date`, `despensing_status`) VALUES
(1248, 80, 0, 'RM0001166', 'IP', 100.00, '', 'KG', 0.00, 100.00, 10.00, 0.00, 10.00, 'Yes', 'Yes', 'Yes', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1249, 80, 0, 'RM00031', 'IP', 200.00, '', 'KG', 0.00, 200.00, 20.00, 0.00, 20.00, 'Yes', 'Yes', 'Yes', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1250, 80, 0, 'RM0001167', 'IP', 200.00, '', 'KG', 0.00, 200.00, 20.00, 0.00, 20.00, 'Yes', 'Yes', 'Yes', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1251, 80, 0, 'PM001183', '', 50.00, '', 'KG', 0.00, 50.00, 25.00, 0.00, 25.00, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1252, 80, 0, 'PM0031', '18', 50.00, '', 'KG', 0.00, 50.00, 25.00, 0.00, 25.00, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1253, 81, 0, 'RM0001170', 'IP', 50.00, '', 'KG', 0.00, 50.00, 250.00, 0.00, 250.00, 'Yes', 'Yes', 'Yes', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1254, 81, 0, 'RM0001172', 'IP', 50.00, '', 'KG', 0.00, 50.00, 250.00, 0.00, 250.00, 'Yes', 'Yes', 'Yes', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1255, 81, 0, 'PM001183', '', 500.00, '', 'KG', 0.00, 500.00, 833.33, 0.00, 833.33, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1256, 81, 0, 'PM001182', '18', 400.00, '', 'KG', 0.00, 400.00, 666.67, 0.00, 666.67, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1257, 82, 0, 'RM0001187', 'IP', 50.00, '', 'Mg', 0.00, 50.00, 150.00, 2.00, 153.00, 'Yes', 'Yes', 'Yes', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1258, 82, 0, 'RM0001188', 'IP', 50.00, '', 'Mg', 0.00, 50.00, 150.00, 2.00, 153.00, 'Yes', 'Yes', 'Yes', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1259, 82, 0, 'PM001182', '18', 100.00, '', 'KG', 2.00, 102.00, 61.20, 2.00, 62.42, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1260, 82, 0, 'PM0031', '18', 100.00, '', 'KG', 1.00, 101.00, 60.60, 2.00, 61.81, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1261, 83, 0, 'RM00031', 'IP', 10.00, '', 'Mg', 0.00, 10.00, 60.00, 0.00, 60.00, 'Yes', 'Yes', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1262, 83, 0, 'PM001183', '', 50.00, '', 'KG', 0.00, 50.00, 20.00, 0.00, 20.00, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1263, 83, 0, 'PM0031', '18', 50.00, '', 'KG', 0.00, 50.00, 20.00, 0.00, 20.00, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1264, 84, 0, 'RM00031', 'IP', 10.00, '', 'Mg', 0.00, 10.00, 40.00, 0.00, 40.00, 'Yes', 'Yes', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1265, 84, 0, 'RM0001167', 'IP', 10.00, '', 'Mg', 0.00, 10.00, 40.00, 0.00, 40.00, 'Yes', 'Yes', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1266, 84, 0, 'PM001182', '18', 30.00, '', 'KG', 0.00, 30.00, 24.00, 0.00, 24.00, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1267, 84, 0, 'PM001183', '', 20.00, '', 'KG', 0.00, 20.00, 16.00, 0.00, 16.00, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1268, 85, 0, 'RM00031', 'IP', 10.00, '', 'Mg', 0.00, 10.00, 90.00, 0.00, 90.00, 'Yes', 'Yes', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1269, 85, 0, 'RM0001172', 'IP', 10.00, '', 'Mg', 0.00, 10.00, 90.00, 0.00, 90.00, 'Yes', 'Yes', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1270, 85, 0, 'PM001183', '', 50.00, '', 'KG', 0.00, 50.00, 30.00, 0.00, 30.00, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending'),
(1271, 85, 0, 'PM001182', '18', 50.00, '', 'KG', 0.00, 50.00, 30.00, 0.00, 30.00, '', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', 'pending');

--
-- Dumping data for table `mfg_work_order_dtl_pm_lots`
--

INSERT INTO `mfg_work_order_dtl_pm_lots` (`id`, `sp_bmr_sifting_id`, `work_order_id`, `pack_size_id`, `material_code`, `grade`, `unit_qty`, `actual_qtyy`, `unit`, `overages`, `total_unit_qty`, `batch_qty`, `batch_size`, `pack_size`, `batch_overages`, `total_batch_qty`, `lod_status`, `assay_status`, `physical_stock`, `status`, `containers`, `ars`, `operator_name`, `done_by`, `check_by`, `entry_date`, `despensing_status`) VALUES
(28, '0', '4', '', 'PM00231', '5', '', '468', '', '4', '', '52', '300', '', '', '', '', '', '', 'approve', '', '', '', '', '', '2023-06-26 11:16:36', '');

--
-- Dumping data for table `mfg_work_order_hdr`
--

INSERT INTO `mfg_work_order_hdr` (`id`, `material_type`, `plant_id`, `batch_plan_id`, `batch_id`, `work_order_no`, `ebmr_status`, `lod_status`, `assay_status`, `equivalency_status`, `batch_overages`, `overages_percent`, `componsentate_excipients`, `status`, `entry_by`, `entry_date`, `approved_by`, `approved_date`, `pm_approved_by`, `pm_approved_date`, `qa_person`, `qa_date`, `stability`, `stability_reason`, `process_validation`, `hard_copy_issued`, `hard_copy_issued_by`, `ebmr_number`, `batch_number`, `dispense_request_sent_by`, `dispense_request_sent_on`, `dispensing_status`, `rm_store_status`, `pm_store_status`, `rm_store_status_entry_by`, `rm_store_status_entry_date`, `rm_store_remarks`, `pm_store_status_entry_by`, `pm_store_status_entry_date`, `pm_store_remarks`, `rm_store_lc_status`, `rm_dispensing_lc_by`, `rm_dispensing_lc_date`, `rm_qa_dislc_by`, `rm_qa_dislc_date`, `rm_qa_dislc_status`, `pm_store_lc_status`, `pm_dispensing_lc_by`, `pm_dispensing_lc_date`, `pm_qa_dislc_by`, `pm_qa_dislc_date`, `pm_qa_dislc_status`, `no_of_lots`, `calculation_type`, `rm_disp_completed_by`, `rm_disp_completed_date`, `pm_disp_completed_by`, `pm_disp_completed_date`, `rm_received_by`, `rm_received_date`, `rm_receiving_remarks`, `rm_receiving_status`, `stage_completed_by`, `stage_complete_date`, `stage_checked_by`, `stage_checked_date`, `stage_checked_remarks`, `tr_to_packing_dept_by`, `tr_to_packing_dept_date`, `actual_yeild`, `yeild_percentage`, `batch_commence_date`, `batch_complete_date`, `no_of_days`, `allocate_batch_no`, `receiving`, `pm_receive_date`, `pm_receive_by`, `pm_receiving`, `receive_by`, `receive_date`, `bpr_status`, `sampling_intimation`, `qc_intimation`, `qc_sample_qty_packing`, `qc_intimation_raised_by`, `qc_intimation_raised_date`, `qc_sample_qty_packing_date`, `oprpccp1`, `Genral_Instruction`, `Equipments`, `oprpccp2`, `blending`, `sifting`, `bmr_stages`, `bmr_status`, `bmr_start_by`, `bmr_start_date`, `bmr_no`, `raw_qc_intimation`, `raw_qc_sample_qty`, `raw_qc_intimation_raised_by`, `raw_qc_intimation_raised_date`, `raw_qc_sample_qty__date`, `raw_qc_sample_qty_by`, `raw_qc_check_by`, `raw_qc_check_date`, `raw_qc_approve_by`, `raw_qc_approve_date`, `pm_dispensing_status`, `pm_store_disp_date`, `pm_dispense_request_sent_on`, `pm_dispense_request_sent_by`, `fg_sampling_intimation`, `fg_intimation_raised_by`, `fg_intimation_raised_date`, `fg_intimation_receive_by`, `fg_intimation_receive_date`, `qc_sample_qty_by`, `bmr_completed_by`, `mfg_date`, `exp_date`, `coa_checklist_ipqa`) VALUES
(80, 'RM', 87, 247, 1, 'WO0001', 'notaplicable', '', '', '', 'No', 0.00, '', 'approved', 'master', '2023-12-11 05:25:40', 'master', '2023-12-11 03:55:54', '', '', 'master', '2023-12-11 03:57:01', '', '', '', 'No', '', '', 'PBN0001', 'master', '2023-12-11 04:01:42', 'Request Sent', 'Accept', '0', 'master', '2023-12-11 04:17:46', 'ok', '', '0000-00-00 00:00:00', '', 'Approved', 'master', '2023-12-11 04:18:57', 'master', '2023-12-11 04:33:31', 'Approved', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 2, 'LOD Basis', 'master', '2023-12-13 03:04:22', '', '', '', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', 0, 0.00, '0000-00-00', '0000-00-00', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '0', '0', '0', '0', '0', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' ', '0', '', '', '', '0', '', '', '', '', '', '', '', '', '0'),
(81, 'RM', 87, 248, 1, 'WO0002', 'notaplicable', '', '', '', 'No', 0.00, '', 'approved', 'master', '2023-12-11 06:56:40', 'master', '2023-12-11 05:26:49', '', '', 'master', '2023-12-11 05:27:18', '', '', '', 'No', '', '', 'PBN0002', 'master', '2023-12-11 05:27:46', 'Request Sent', 'Accept', '0', 'master', '2023-12-11 05:30:29', 'OK', '', '0000-00-00 00:00:00', '', 'Approved', 'master', '2023-12-11 05:31:09', 'master', '2023-12-11 05:31:33', 'Approved', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 2, 'LOD Basis', '0', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', 0, 0.00, '0000-00-00', '0000-00-00', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '0', '0', '0', '0', '0', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' ', '0', '', '', '', '0', '', '', '', '', '', '', '', '', '0'),
(82, 'RM', 87, 250, 1, 'WO0003', 'applicable', '', '', '', 'Yes', 2.00, '', 'approved', 'master', '2023-12-11 07:48:01', 'master', '2023-12-11 06:18:09', '', '', 'master', '2023-12-11 06:19:01', '', '', '', '', '', '', 'I-PHWM111223', 'master', '2023-12-11 06:19:16', 'Request Sent', 'Accept', '0', 'master', '2023-12-11 06:19:37', 'complete', '', '0000-00-00 00:00:00', '', 'Approved', 'master', '2023-12-11 06:23:58', 'master', '2023-12-11 06:25:13', 'Approved', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 2, 'LOD Basis', 'master', '2023-12-13 03:04:22', '', '', '', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', 0, 0.00, '0000-00-00', '0000-00-00', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '0', '0', '0', '0', '0', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' ', '0', '', '', '', '0', '', '', '', '', '', '', '', '', '0'),
(83, 'RM', 87, 252, 1, 'WO0004', 'notaplicable', '', '', '', 'No', 0.00, '', 'pending', 'master', '2023-12-11 09:02:18', '', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', '', '', '0', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', '', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 1, 'LOD Basis', '0', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', 0, 0.00, '0000-00-00', '0000-00-00', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '0', '0', '0', '0', '0', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' ', '0', '', '', '', '0', '', '', '', '', '', '', '', '', '0'),
(84, 'RM', 87, 253, 1, 'WO0005', 'notaplicable', '', '', '', 'No', 0.00, '', 'approved', 'master', '2023-12-11 09:18:41', 'master', '2023-12-11 07:48:50', '', '', '', '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', '', '', '0', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', '', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 2, 'LOD Basis', '0', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', 0, 0.00, '0000-00-00', '0000-00-00', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '0', '0', '0', '0', '0', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' ', '0', '', '', '', '0', '', '', '', '', '', '', '', '', '0'),
(85, 'RM', 87, 254, 1, 'WO0006', 'notaplicable', '', '', '', 'No', 0.00, '', 'approved', 'master', '2023-12-11 09:28:50', 'master', '2023-12-11 07:59:06', '', '', '', '0000-00-00 00:00:00', '', '', '', '', '', '', '', 'master', '2023-12-11 07:59:22', 'Request Sent', '', '0', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', '', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 'Pending', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 'pending', 2, 'LOD Basis', '0', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', '', '', '0000-00-00 00:00:00', 0, 0.00, '0000-00-00', '0000-00-00', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '0', '0', '0', '0', '0', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' ', '0', '', '', '', '0', '', '', '', '', '', '', '', '', '0');

--
-- Dumping data for table `mst_chlist_dtl`
--

INSERT INTO `mst_chlist_dtl` (`id`, `chklist_id`, `check_point`, `ch_description`, `evl_pr`, `evl_type`, `options`, `qs_dtl`, `update_date`, `date_peparation`, `approved_by`, `entry_by`, `status`) VALUES
(32, 33, 'Any Objectionable Item', 'Not Requried', '2', '', '', '', '2023-12-06 06:31:41', '2023-12-06 06:31:41', '', '', 'active');

--
-- Dumping data for table `mst_vendor_materials`
--

INSERT INTO `mst_vendor_materials` (`id`, `plant_id`, `supplier_code`, `manufacturer_code`, `material_code`, `vendor_material_code`, `entry_by`, `entry_date`) VALUES
(936, 87, '', 'V10001', 'RM00031', 'VC0001', 'master', '2023-12-06 12:29:44'),
(937, 87, '', 'V10217', 'RM0001166', 'VC0002', 'master', '2023-12-06 17:15:16'),
(938, 87, '', 'V10218', 'RM0001167', 'VC0003', 'master', '2023-12-07 14:30:26'),
(939, 87, '', 'V10219', 'RM0001168', 'VC0004', 'master', '2023-12-07 14:44:10'),
(940, 87, '', 'V10220', 'RM0001169', 'VC0005', 'master', '2023-12-07 15:42:26'),
(941, 87, '', 'V10221', 'RM0001170', 'VC0006', 'master', '2023-12-07 16:54:21'),
(942, 87, '', 'V10222', 'RM0001171', 'VC0007', 'master', '2023-12-07 17:04:32'),
(943, 87, '', 'V10223', 'RM0001172', 'VC0008', 'master', '2023-12-07 17:15:47'),
(944, 87, '', 'V10224', 'RM0001173', 'VC0009', 'master', '2023-12-07 17:25:39'),
(945, 87, '', 'V10225', 'RM0001175', 'VC0010', 'master', '2023-12-07 17:35:41'),
(946, 87, '', 'V10226', 'RM0001176', 'VC0011', 'master', '2023-12-07 17:43:56'),
(947, 87, '', '', 'RM0001168', '23232', 'master', '2023-12-08 01:26:11'),
(948, 87, '', '', 'RM0001168', '23232', 'master', '2023-12-08 01:26:11'),
(949, 87, '', '', 'RM0001168', '23232', 'master', '2023-12-08 01:26:11'),
(950, 87, '', 'V10228', 'RM0001168', '23232', 'master', '2023-12-08 01:27:03'),
(951, 87, '', 'V10229', 'RM0001178', 'VC0013', 'master', '2023-12-08 14:38:01'),
(952, 87, '', 'V10230', 'RM0001179', 'VC0015', 'master', '2023-12-09 11:34:09'),
(953, 87, '', 'V10230', 'RM0001179', 'VC0015', 'master', '2023-12-09 11:34:14'),
(954, 87, '', 'V10230', 'RM0001179', 'VC0015', 'master', '2023-12-09 12:04:27'),
(955, 87, '', 'V10231', 'RM0001180', 'VC0123', 'master', '2023-12-11 14:49:46'),
(956, 87, '', 'V10232', 'RM0001170', 'VC0213', 'master', '2023-12-11 16:39:44'),
(957, 87, '', 'V10233', 'RM0001185', 'VC0552', 'master', '2023-12-11 17:21:28'),
(958, 87, '', 'V10233', 'RM0001185', 'VC0259', 'master', '2023-12-11 17:31:20'),
(959, 87, '', 'V10234', 'RM0001185', 'VC0218', 'master', '2023-12-11 17:44:54'),
(960, 87, '', 'V10235', 'RM0001189', 'VC0257', 'master', '2023-12-11 18:09:55'),
(961, 87, '', 'V10236', 'RM0001189', 'VC0895', 'master', '2023-12-11 18:15:23'),
(962, 87, '', 'V10237', 'RM0001190', 'VC0654', 'master', '2023-12-11 18:28:00'),
(963, 87, '', 'V10237', 'RM0001190', 'VC0522', 'master', '2023-12-11 18:37:58'),
(964, 87, '', 'V10238', 'RM0001192', 'VC0254', 'master', '2023-12-12 11:45:18');

--
-- Dumping data for table `pack_size`
--

INSERT INTO `pack_size` (`id`, `plant_id`, `pack_size`, `unit_id`, `entry_by`, `entry_date`, `status`) VALUES
(39, 87, '100', 28, 'master', '2023-12-11 04:17:55', 'Active'),
(40, 87, '200', 31, 'master', '2023-12-11 04:18:02', 'Active'),
(41, 87, '10', 28, 'master', '2023-12-11 04:18:26', 'Active'),
(42, 87, '20', 28, 'master', '2023-12-11 04:19:10', 'Active'),
(43, 87, '20', 31, 'master', '2023-12-11 04:19:17', 'Active');

--
-- Dumping data for table `plan1`
--

INSERT INTO `plan1` (`id`, `plant_id`, `supporting_document`, `department_head_contains`, `approvel_status`, `review_date`, `review_date1`, `department_head`, `prepared_by`, `resource_req`, `strategies_action`, `Criteria_success`, `key_Performance`, `proposed_completion_date`, `initiation_date`, `responsible_department`, `effectiveness_id`, `plan_title`, `effectivenes`, `qa_approval_status`, `comments`, `approval_document`, `verification_status`, `verifyOfficer`, `verifyDate`, `verifyComments`, `plan_headComments`, `plan_head_approval_status`, `plan_head_officer`, `plan_headverifyDate`, `closure_status`, `closure_officer`, `closureDate`, `closureComments`, `verify_closure_comments`, `closure_approval_status`, `closure_approval_officer`, `closure_approval_date`, `verify_closure_approval_comments`, `closure_approval_comments`, `approval_comments`, `approval_final_doc`) VALUES
(1, '29', 'C:fakepathgimg5.png', 'fsd', 'Pending', '2023-12-15', '', 'rgv', 'fdsg', 'gxcv', 'fg', '', 'dsf', '2023-12-15', '2023-12-14', 'sd', 'CAPA/23/002', 'ss', '', 'approve', 'dfsf', '', 'approve', 'master', '2023-12-15', 'bvchb', 'bvhnj', 'approve', 'master', '2023-12-15', 'approve', 'master', '2023-12-15', 'fdh', 'bvchb', 'approve', 'master', '2023-12-15', 'bvchb', 'fdh', 'fd', '');

--
-- Dumping data for table `plant`
--

INSERT INTO `plant` (`id`, `plant_id`, `plant_code`, `client_name`, `plant_name`, `entry_by`, `entry_date`, `status`, `is_corporate`, `plant_full_name`, `plant_full_address`, `gst_no`, `logo_path`, `licence_no`, `copy_type`, `version no`, `licence_date`, `expiry_date`) VALUES
(1, '87', '87', 'Arna Pharma', 'Arna Pharma Pty Ltd.', '', '0000-00-00', 'active', 0, 'Arna Pharma Pty Ltd.', '20, Rodborough Road, Frenchs Forest, NSW - 2086, Australia', 0, 'arna.jpeg', '', '', 0, '0000-00-00', '0000-00-00');

--
-- Dumping data for table `po_material`
--

INSERT INTO `po_material` (`id`, `plant_id`, `user_no`, `po_no`, `po_date`, `material_id`, `gst_id`, `material_code`, `qty`, `unit`, `requirement`, `days`, `quotation`, `required_for`, `client_code`, `vendor_no`, `quotation_no`, `quotation_amt`, `quotation_per`, `disc_per`, `disc_amt`, `gst`, `gross_total`, `tax_total`, `net_total`, `indend_no`, `isreceive`, `po_indend`, `po_type`, `material_status`, `chemical_no`, `delivery_schedule_date`, `descriptions_list`) VALUES
(568, '87', 'gmpdemo1', '313', '0000-00-00 00:00:00', 1135, 0, 'RM00031', 500.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0001', 500.00, '', 5.00, 12500.00, 0.00, 250000.00, 0.00, 237500.00, 'RM0001', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-06', ''),
(569, '87', 'gmpdemo1', '314', '0000-00-00 00:00:00', 1136, 0, 'RM0001166', 800.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0002', 500.00, '', 8.00, 32000.00, 0.00, 400000.00, 0.00, 368000.00, 'RM0002', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-06', ''),
(570, '87', 'gmpdemo1', '315', '0000-00-00 00:00:00', 1137, 0, 'RM0001167', 1000.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0003', 1000.00, '', 5.00, 50000.00, 0.00, 1000000.00, 0.00, 950000.00, 'RM0003', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-07', ''),
(571, '87', 'gmpdemo1', '316', '0000-00-00 00:00:00', 1138, 0, 'RM0001168', 600.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0004', 800.00, '', 4.00, 19200.00, 0.00, 480000.00, 0.00, 460800.00, 'RM0004', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-07', ''),
(572, '87', 'gmpdemo1', '317', '0000-00-00 00:00:00', 1139, 0, 'RM0001169', 500.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0005', 700.00, '', 5.00, 17500.00, 0.00, 350000.00, 0.00, 332500.00, 'RM0005', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-07', ''),
(573, '87', 'gmpdemo1', '318', '0000-00-00 00:00:00', 1140, 0, 'RM0001170', 700.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0006', 800.00, '', 5.00, 28000.00, 0.00, 560000.00, 0.00, 532000.00, 'RM0006', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-07', ''),
(574, '87', 'gmpdemo1', '319', '0000-00-00 00:00:00', 1140, 0, 'RM0001170', 900.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0006', 800.00, '', 6.00, 43200.00, 0.00, 720000.00, 0.00, 676800.00, 'RM0007', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-07', ''),
(575, '87', 'gmpdemo1', '320', '0000-00-00 00:00:00', 1142, 0, 'RM0001172', 700.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0008', 900.00, '', 7.00, 44100.00, 0.00, 630000.00, 0.00, 585900.00, 'RM0008', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-07', ''),
(576, '87', 'gmpdemo1', '321', '0000-00-00 00:00:00', 1148, 0, 'RM0001178', 600.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0012', 800.00, '', 4.00, 19200.00, 0.00, 480000.00, 0.00, 460800.00, 'RM0010', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-08', ''),
(577, '87', 'gmpdemo1', '322', '0000-00-00 00:00:00', 1149, 0, 'RM0001179', 900.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0013', 600.00, '', 5.00, 27000.00, 0.00, 540000.00, 0.00, 513000.00, 'RM0011', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-09', ''),
(578, '87', 'gmpdemo1', '323', '0000-00-00 00:00:00', 1160, 0, 'RM0001190', 400.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0018', 300.00, '', 4.00, 4800.00, 0.00, 120000.00, 0.00, 115200.00, 'RM0013', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-11', ''),
(579, '87', 'gmpdemo1', '324', '0000-00-00 00:00:00', 1145, 0, 'RM0001175', 400.00, 'KG', 'Urgent', 0, '', 'Own', '', '', 'Q-0010', 750.00, '', 8.00, 24000.00, 0.00, 300000.00, 0.00, 276000.00, 'RM0014', 'No', 'Approve', 'Raw Material', 'pending', '', '2023-12-12', '');

--
-- Dumping data for table `product`
--

INSERT INTO `product` (`id`, `user_no`, `plant_id`, `product_code`, `product_code1`, `product_type`, `product_name`, `generic_name`, `grade`, `fssai_number`, `packing_style`, `testing_time`, `retest_period`, `hsn`, `gst`, `category`, `pack_desc`, `tsize`, `storage_condition`, `market`, `mrp`, `manufactured_under`, `manufactured_for`, `product_lic`, `fsc`, `copp`, `photo`, `artwork`, `mopcup_file`, `artwork_file`, `mopcup`, `artwork_status`, `manufactured_type`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `unit`, `rate`, `similar_name`, `copy_from`, `tshape`, `apperance`, `division`, `product_apperance`, `micro`, `type`, `product_nature`, `dosage_type`, `dosage_form`, `dosage_sub_type`, `dosage_size`, `dosage_shape`, `packing_mode`, `label_claim`, `shelf_life`, `min_shelf`, `thera`, `gtin`, `mfg_lic`, `plant`, `sale_type`, `expiry`, `product_group`, `market_group`, `asin_no`, `nrv_value`, `sku_no`, `packing_charges`, `retain_qty`, `retest`, `min_qty`, `mfg_charges`, `max_qty`, `configuration`, `primary_packing`, `primary_subtype`, `ismono`, `primary_qty`, `unit_wt`, `mono_qty`, `outer_qty`, `shipper_qty`, `isouter`, `pack_sizes`, `mrp_list`, `selling_price_list`, `dose_unit_type`, `dose_unit_qty`, `dose_unit_qty_unit`, `each_unit_type`, `punch_tool`, `cp_machine_name`, `change_part`, `conversion_cost`, `packing_cost`, `other_charges`, `fixed_charges`, `design_charges`, `license_charges`, `dossier_charges`, `fixed_analytical_cost`, `dealer_price`, `retailer_margin`, `dealer_margin`, `short_code`, `batch_type`, `packing_type`, `secondary_packing`, `nos_pouch`, `capsule_size`, `mono_cartain`, `master_mono_qty`, `tertiary_packing`, `scoop_add`, `Shrink`, `wad_sealing`, `master_cartain`, `tertiary_packing_data`, `other_description`, `safety_instructions`, `uom`, `alt_uom`, `market_type`, `color_index`, `pka_value`, `qc_lead_time`, `ce_number`, `molecular_formula`, `molecular_weight`, `cas_number`, `brand_generic`, `moq`, `structure_file`, `ce_certificate_file`, `who_copp_file`, `prod_license_file`, `msds_file`) VALUES
(209, 'gmpdemo1', '87', 'PFG4', '', '', 'Glycerol Monooleate ', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 14:19:37', '', NULL, 'Kg', 0.00, '', '', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Tablet', '', '', '', '', '[{\"apperance\":\"ADD NEW\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetaminophen\",\"grade\":\"IP\",\"strength\":50,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"},{\"apperance\":\"Green\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetyl Salicylic\",\"grade\":\"IP\",\"strength\":50,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Liu', 'Strip', '', 'yes', '2', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(210, 'gmpdemo1', '87', 'PFG5', '', '', 'Trospium tablet', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 15:45:39', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Tablet', '', '', '', '', '[{\"apperance\":\"RED\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Ascorbic Powder\",\"grade\":\"IP\",\"strength\":60,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"},{\"apperance\":\"Green\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Ammonium Chloride\",\"grade\":\"IP\",\"strength\":40,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'lui', 'Strip', '', 'yes', '5', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(211, 'gmpdemo1', '87', 'PFG6', '', '', 'test(WEPO)', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 15:47:16', '', NULL, 'Nos', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Tablet', '', '', '', '', '[{\"apperance\":\"yellow\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Calcium Carbonate\",\"grade\":\"IP\",\"strength\":70,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"},{\"apperance\":\"yellow\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Calcium Phosphate\",\"grade\":\"IP\",\"strength\":30,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'lui', 'Bottle', 'Glass', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(212, 'gmpdemo1', '87', 'PFG7', '', '', 'Appetite Stimulant(NVBT)', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 15:48:36', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Tablet', '', '', '', '', '[{\"apperance\":\"yellow\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Cellulose\",\"grade\":\"IP\",\"strength\":20,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"},{\"apperance\":\"Green\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Dextrose\",\"grade\":\"IP\",\"strength\":80,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'ALU', 'Bottle', 'Glass', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(213, 'gmpdemo1', '87', 'PFG8', '', '', 'chlordiazepoxide capsule	', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Nutraceuticals', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 18:03:53', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Capsule', '', '', '', '', '[{\"apperance\":\"Green\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"good prod\",\"material_name\":\"Aluminum Hydroxide\",\"grade\":\"IP\",\"strength\":10,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '12 Months', '', '', '', '', 'In House', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(214, 'gmpdemo1', '87', 'PFG9', '', '', 'Threa Clav-625', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 18:50:07', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Capsule', '', '', '', '', '[{\"apperance\":\"RED\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetaminophen\",\"grade\":\"IP\",\"strength\":50,\"unit\":\"gm\",\"dose_unit_type\":\"Capsule\"},{\"apperance\":\"Green\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetaminophen\",\"grade\":\"IP\",\"strength\":50,\"unit\":\"gm\",\"dose_unit_type\":\"Capsule\"}]', '12 Months', '', '', '', '', 'In House', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(215, 'gmpdemo1', '87', 'PFG10', '', '', 'Tylenol(RTYP)', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 18:57:34', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Capsule', '', '', '', '', '[{\"apperance\":\"RED\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetyl Salicylic\",\"grade\":\"IP\",\"strength\":50,\"unit\":\"gm\",\"dose_unit_type\":\"Capsule\"},{\"apperance\":\"yellow\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetaminophen\",\"grade\":\"IP\",\"strength\":20,\"unit\":\"gm\",\"dose_unit_type\":\"Capsule\"}]', '12 Months', '', '', '', '', 'In House', '', '', '', '', '', '', '', '', '', '', '', '', '', 'ALU', 'Bottle', 'Glass', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(216, 'gmpdemo1', '87', 'PFG11', '', '', 'Fluvoxine CR Tablets', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 19:04:32', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Tablet', '', '', '', '', '[{\"apperance\":\"RED\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetyl Salicylic\",\"grade\":\"IP\",\"strength\":10,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"},{\"apperance\":\"Green\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetyl Salicylic\",\"grade\":\"IP\",\"strength\":20,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '12 Months', '', '', '', '', 'In House', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(217, 'gmpdemo1', '87', 'PFG12', '', '', 'Fluvoxine Tablets', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 19:09:47', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Tablet', '', '', '', '', '[{\"apperance\":\"RED\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetaminophen\",\"grade\":\"IP\",\"strength\":5,\"unit\":\"gm\",\"dose_unit_type\":\"Capsule\"},{\"apperance\":\"yellow\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetyl Salicylic\",\"grade\":\"IP\",\"strength\":20,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '12 Months', '', '', '', '', 'In House', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(218, 'gmpdemo1', '87', 'PFG13', '', '', 'Threa Clav', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 19:18:32', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Tablet', '', '', '', '', '[{\"apperance\":\"RED\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetaminophen\",\"grade\":\"IP\",\"strength\":10,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"},{\"apperance\":\"Green\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetyl Salicylic\",\"grade\":\"IP\",\"strength\":20,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '12 Months', '', '', '', '', 'In House', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(219, 'gmpdemo1', '87', 'PFG14', '', '', 'Appetite Stimulant-A', '', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-11 19:50:59', '', NULL, 'Kg', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Capsule', '', '', '', '', '[{\"apperance\":\"RED\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetaminophen\",\"grade\":\"IP\",\"strength\":20,\"unit\":\"gm\",\"dose_unit_type\":\"Capsule\"},{\"apperance\":\"yellow\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"ok\",\"material_name\":\"Acetyl Salicylic\",\"grade\":\"IP\",\"strength\":20,\"unit\":\"gm\",\"dose_unit_type\":\"gm\"}]', '12 Months', '', '', '', '', 'In House', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'yes', '', '', '', '', '', 'no', '', '', '', 'null', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'FG', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Generic', '', NULL, '', '', '', ''),
(220, 'gmpdemo1', '87', 'PDEV-115', '', '', 'PXS-5505 50mg HPMC Capsules 32s (SP-1002)', 'PXS-5505 50mg HPMC Capsules 32s (SP-1002)', 'IP', '', '', 0.00, 0.00, '', 0.00, 'Pharma', '', '', '', '', 0.00, 'Own', '', '', '', '', '', '[]', '', '', '[]', 'pending', '', 'approve', 'master', '2023-12-20 06:42:10', '', NULL, 'Nos', 0.00, '', 'Similar Brand', '', '', '', '', '', 'Non Regulatory', '', 'SOLID', 'Capsule', '', '', '', '', '[{\"apperance\":\"White\",\"each_unit_type\":\"Dose Unit\",\"other_description\":\"Other description\",\"material_name\":\"PXS-5505\",\"strength\":50,\"unit\":\"mg\",\"dose_unit_type\":\"Capsule\"}]', '24 months', '', '', '', '', 'Contract Manufacturing', '', '', '', '', '', '', '', '', '', '', '', '', '', '32 capsules', 'Bottle', 'HDPE', 'yes', '', '', '', '50', '5', 'yes', '', '', '', 'Capsule', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'DEV-1', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Branded', '', NULL, '', '', '', '');

--
-- Dumping data for table `product_other_information_api`
--

INSERT INTO `product_other_information_api` (`id`, `product_id`, `product_code`, `cas_number`, `structure_file_path`, `molecular_weight`, `molecular_formula`, `storage_condition`, `safety_instructions`, `product_apperance`, `other_description`, `ce_number`, `color_index`, `msds_file_path`, `product_license_path`, `who_copp_path`, `ce_certificate_path`, `qc_lead_time`, `pka_value`, `market_type`, `storage_location`, `material_appearance`, `m_photo`, `artwork`, `shadecard`, `shadecard_file`, `artwork_file`, `artwork_no`) VALUES
(1018, 1135, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1019, 1136, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1020, 1137, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1021, 1138, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1022, 1139, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1023, 1140, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1024, 1141, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1025, 1142, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1026, 1143, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1027, 1144, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1028, 1145, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1029, 1146, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1030, 1147, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1031, 1148, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1032, 1149, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1033, 1150, '', '', '', '', '', 'Store protected from moisture Avoid contact with aluminum preserve in well closed containers ', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Amorphous', '', '', '', '', '', ''),
(1034, 1151, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '[]', '[]', '', '', ''),
(1035, 1152, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '[]', '[]', '', '', ''),
(1036, 1153, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '[]', '[]', '', '', ''),
(1037, 1154, '', '', '', '', '', 'Store protected from moisture Avoid contact with aluminum preserve in well closed containers ', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Amorphous', '', '', '', '', '', ''),
(1038, 1155, '', '', '', '', '', 'Store protected from moisture Avoid contact with aluminum preserve in well closed containers ', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Amorphous', '', '', '', '', '', ''),
(1039, 1156, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1040, 1157, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1041, 1158, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1042, 1159, '', '', '', '', '', 'Store protected from moisture Avoid contact with aluminum preserve in well closed containers ', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Amorphous', '', '', '', '', '', ''),
(1043, 1160, '', '', '', '', '', 'normal ', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Amorphous', '', '', '', '', '', ''),
(1044, 1161, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1045, 1162, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(1046, 1163, '', '', '', '', '', 'Room temperature', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Crystaline', '', '', '', '', '', '');

--
-- Dumping data for table `purchaseorder`
--

INSERT INTO `purchaseorder` (`id`, `plant_id`, `user_no`, `po_type`, `po_no`, `indent_no`, `vendor_no`, `broker_name`, `broker_per`, `discount`, `requirement_days`, `delivery_schedule_date`, `delivery_address`, `gross_total`, `gst_total`, `other_charges`, `net_total`, `terms_conditions`, `isgeneral`, `status`, `entry_by`, `entry_date`, `p_no1`, `is_security_receive`, `remark`, `approve_by`, `approve_date`, `vendor`, `accept_date`, `delivery_type`, `booking_location`, `disc_amt`, `shipping_handling`, `shipping_gst`, `final_total`, `department`, `transport`, `local_transport`, `billcompany_code`, `shipcompany_code`, `email`, `purchase_type`, `currancy`, `currancy_rate`, `term_local_transport`, `Po_Group`, `Fin_Year`, `rounding`, `additional_term`, `gstSplitData`, `narration`, `cancel_hold_date`, `cancel_hold_by`, `cancel_hold_reason`, `invoice`, `in_status`) VALUES
(313, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0051/2023-24', 'RM0001', 'V10001', '', '', 0.00, '', '', '', 250000.00, 0.00, 0.00, 237500.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-06 04:33:26', 0, 'No', 'ok', 'master', '2023-12-06 04:34:44', 'pending', '0000-00-00', '', '', 12500.00, 0.00, 0, 237500.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"133\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(314, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0052/2023-24', 'RM0002', 'V10217', '', '', 0.00, '', '', '', 400000.00, 0.00, 0.00, 368000.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-06 05:18:32', 0, 'No', 'ok', 'master', '2023-12-07 02:52:37', 'pending', '0000-00-00', '', '', 32000.00, 0.00, 0, 368000.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"134\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(315, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0053/2023-24', 'RM0003', 'V10218', '', '', 0.00, '', '', '', 1000000.00, 0.00, 0.00, 950000.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-07 02:35:05', 0, 'No', 'ok', 'master', '2023-12-07 02:35:32', 'pending', '0000-00-00', '', '', 50000.00, 0.00, 0, 950000.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"135\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(316, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0054/2023-24', 'RM0004', 'V10219', '', '', 0.00, '', '', '', 480000.00, 0.00, 0.00, 460800.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-07 02:49:08', 0, 'No', 'ok', 'master', '2023-12-07 02:53:05', 'pending', '0000-00-00', '', '', 19200.00, 0.00, 0, 460800.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"136\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(317, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0055/2023-24', 'RM0005', 'V10220', '', '', 0.00, '', '', '', 350000.00, 0.00, 0.00, 332500.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-07 04:19:58', 0, 'No', 'ok', 'master', '2023-12-07 04:20:09', 'pending', '0000-00-00', '', '', 17500.00, 0.00, 0, 332500.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"137\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(318, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0056/2023-24', 'RM0006', 'V10221', '', '', 0.00, '', '', '', 560000.00, 0.00, 0.00, 532000.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-07 04:57:17', 0, 'No', 'ok', 'master', '2023-12-07 04:57:32', 'pending', '0000-00-00', '', '', 28000.00, 0.00, 0, 532000.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"138\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(319, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0057/2023-24', 'RM0007', 'V10221', '', '', 0.00, '', '', '', 720000.00, 0.00, 0.00, 676800.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-07 05:10:00', 0, 'No', 'ok', 'master', '2023-12-07 05:10:16', 'pending', '0000-00-00', '', '', 43200.00, 0.00, 0, 676800.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"139\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(320, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0058/2023-24', 'RM0008', 'V10223', '', '', 0.00, '', '', '', 630000.00, 0.00, 0.00, 585900.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-07 05:18:24', 0, 'Yes', 'ok', 'master', '2023-12-09 12:07:07', 'pending', '0000-00-00', '', '', 44100.00, 0.00, 0, 585900.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"140\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(321, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/0059/2023-24', 'RM0010', 'V10229', '', '', 0.00, '', '', '', 480000.00, 0.00, 0.00, 460800.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-08 02:43:10', 0, 'No', 'ok', 'master', '2023-12-08 02:43:30', 'pending', '0000-00-00', '', '', 19200.00, 0.00, 0, 460800.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"143\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(322, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/00510/2023-24', 'RM0011', 'V10230', '', '', 0.00, '', '', '', 540000.00, 0.00, 0.00, 513000.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true},{\"id\":\"27\",\"plant_id\":\"\",\"term_heading\":\"Payment terms\",\"term\":\"30 Days\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:29:31\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-09 12:06:54', 0, 'No', 'ok', 'master', '2023-12-09 12:07:16', 'pending', '0000-00-00', '', '', 27000.00, 0.00, 0, 513000.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true},{\"id\":\"11\",\"plant_id\":\"87\",\"additional_term\":\"The payment date and period of time that your client has to pay the total amount owed\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"144\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(323, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/00511/2023-24', 'RM0013', 'V10237', '', '', 0.00, '', '', '', 120000.00, 0.00, 0.00, 115200.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true}]', 'no', 'pending', 'master', '2023-12-11 06:40:37', 0, 'No', NULL, '', '0000-00-00 00:00:00', 'pending', '0000-00-00', '', '', 4800.00, 0.00, 0, 115200.00, '', '', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"147\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0),
(324, '87', 'gmpdemo1', 'Raw Material', 'RM/PURHO/00512/2023-24', 'RM0014', 'V10225', '', '', 0.00, '', '', '', 300000.00, 0.00, 0.00, 276000.00, '[{\"id\":\"26\",\"plant_id\":\"\",\"term_heading\":\"Warranty Related\",\"term\":\"Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.\",\"entry_by\":\"master\",\"entry_date\":\"2023-12-06 16:28:57\",\"status\":\"approve\",\"selected\":true}]', 'no', 'Approved', 'master', '2023-12-12 10:00:59', 0, 'No', 'OK', 'master', '2023-12-12 10:01:15', 'pending', '0000-00-00', '', '', 24000.00, 0.00, 0, 276000.00, '', 'Local Transport', '', 'C0005', 'C0005', '', 'Local Purchase', 'INR', '', '', 'RM', '2002-23', 0.00, '[{\"id\":\"10\",\"plant_id\":\"87\",\"additional_term\":\"delivery within 50 days\",\"entry_date\":\"2023-12-06\",\"status\":\"\",\"entry_by\":\"master\",\"selected\":true}]', '[{\"id\":\"142\",\"percentage\":\"0.00\",\"igst\":0,\"sgst\":0,\"cgst\":0,\"totalGST\":0}]', '', '', '', '', NULL, 0);

--
-- Dumping data for table `qualification_details`
--

INSERT INTO `qualification_details` (`id`, `plant_id`, `dept`, `emp_name`, `emp_id`, `dob`, `mo_no`, `email`, `q_title`, `c_number`, `date_quali`, `isue_authority`, `q_description`, `validity`, `renewal`, `skills`, `q_document`, `org_name`, `sign_authority`, `date_issuance`, `prepared_by`, `prepared_date`, `review_by`, `review_date`) VALUES
(3, '29', 'Business D', 'BD001', 'BD001', '1998-08-19', '9678688686', 'fhg@gmail.', '1', '1', '1', '1', '1', '1', '1', '1', 'masterq_document.png', '1', '1', '3223-02-25', '1', '', '1', '0045-03-04');

--
-- Dumping data for table `quotation_dtl`
--

INSERT INTO `quotation_dtl` (`id`, `quotation_type`, `quotation_hdr_id`, `material_id`, `material_code`, `quotation_amt`, `tax_applicable`, `gst_per`, `pack_size`, `pack_unit`, `quotation_per`) VALUES
(345, 'Local', 290, 1135, 'RM00031', 500.00, 'No', 0, '250', 'KG', 'KG'),
(346, 'Local', 291, 1135, 'RM00031', 3.00, 'No', 0, '200', 'KG', 'KG'),
(347, 'Local', 292, 1135, 'RM00031', 3.00, 'No', 0, '200', 'Mg', 'KG'),
(348, 'Local', 293, 1136, 'RM0001166', 500.00, 'No', 0, '500', 'KG', 'KG'),
(349, 'Local', 294, 1137, 'RM0001167', 1000.00, 'No', 0, '1000', 'KG', 'KG'),
(350, 'Local', 295, 1138, 'RM0001168', 800.00, 'No', 0, '600', 'KG', 'KG'),
(351, 'Local', 296, 1139, 'RM0001169', 700.00, 'No', 0, '600', 'KG', 'KG'),
(352, 'Local', 297, 1139, 'RM0001169', 700.00, 'No', 0, '600', 'KG', 'KG'),
(353, 'Local', 298, 1140, 'RM0001170', 800.00, 'No', 0, '700', 'KG', 'KG'),
(354, 'Local', 299, 1141, 'RM0001171', 600.00, 'No', 0, '900', 'KG', 'KG'),
(355, 'Local', 300, 1142, 'RM0001172', 900.00, 'No', 0, '700', 'KG', 'KG'),
(356, 'Local', 301, 1143, 'RM0001173', 600.00, 'No', 0, '850', 'KG', 'KG'),
(357, 'Local', 302, 1145, 'RM0001175', 750.00, 'No', 0, '300', 'KG', 'KG'),
(358, 'Local', 303, 1146, 'RM0001176', 650.00, 'No', 0, '500', 'KG', 'KG'),
(359, 'Local', 304, 1148, 'RM0001178', 800.00, 'No', 0, '600', 'KG', 'KG'),
(360, 'Local', 305, 1149, 'RM0001179', 600.00, 'No', 0, '900', 'KG', 'KG'),
(361, 'Local', 306, 1150, 'RM0001180', 200.00, 'Yes', 0, '100', 'KG', 'KG'),
(362, 'Local', 307, 1140, 'RM0001170', 300.00, 'Yes', 0, '100', 'KG', 'KG'),
(363, 'Local', 308, 1155, 'RM0001185', 300.00, 'Yes', 0, '100', 'KG', 'KG'),
(364, 'Local', 309, 1159, 'RM0001189', 200.00, 'Yes', 0, '50', 'Mg', 'KG'),
(365, 'Local', 310, 1160, 'RM0001190', 300.00, 'Yes', 0, '60', 'KG', 'KG'),
(366, 'Local', 311, 1162, 'RM0001192', 200.00, 'Yes', 0, '50', 'KG', 'KG'),
(367, 'Local', 312, 1139, 'RM0001169', 100.00, 'Yes', 0, '25', 'KG', 'KG');

--
-- Dumping data for table `quotation_hdr`
--

INSERT INTO `quotation_hdr` (`id`, `plant_id`, `material_type`, `quotation_no`, `vendor_quotation_no`, `vendor_id`, `entry_date`, `entry_by`, `status`, `doc_url`, `approve_by`, `approve_date`) VALUES
(290, 87, 'Raw Material', 'Q-0001', 'QN0001', 216, '2023-12-06 12:49:27', 'master', 'approve', 'quotation-Layout format.pdf', 'master', '2023-12-06 03:41:55'),
(293, 87, 'Raw Material', 'Q-0002', 'QN0002', 217, '2023-12-06 05:16:33', 'master', 'approve', 'quotation-RA_SYLLABUS_NEW (2).pdf', 'master', '2023-12-06 05:16:42'),
(294, 87, 'Raw Material', 'Q-0003', 'QN0003', 218, '2023-12-07 02:31:22', 'master', 'approve', 'quotation-RA_SYLLABUS_NEW (2).pdf', 'master', '2023-12-07 02:31:28'),
(295, 87, 'Raw Material', 'Q-0004', 'QN0004', 219, '2023-12-07 02:44:52', 'master', 'approve', 'quotation-Sem-VII_PJ_CBCS.pdf', 'master', '2023-12-07 02:44:56'),
(296, 87, 'Raw Material', 'Q-0005', 'QN0005', 220, '2023-12-07 04:11:28', 'master', 'approve', 'quotation-RA_SYLLABUS_NEW (2).pdf', 'master', '2023-12-07 04:16:07'),
(298, 87, 'Raw Material', 'Q-0006', 'QN0006', 221, '2023-12-07 04:55:42', 'master', 'approve', 'quotation-Monthaly Calibration Of Weighing Balance QC-010 (1).pdf', 'master', '2023-12-07 04:55:53'),
(299, 87, 'Raw Material', 'Q-0007', 'QN0007', 222, '2023-12-07 05:06:56', 'master', 'approve', 'quotation-Monthaly Calibration Of Weighing Balance QC-010 (1).pdf', 'master', '2023-12-07 05:07:15'),
(300, 87, 'Raw Material', 'Q-0008', 'QC0008', 223, '2023-12-07 05:16:55', 'master', 'approve', 'quotation-Daily Verification Of Weighing Balance QC-010.pdf', 'master', '2023-12-07 05:17:00'),
(301, 87, 'Raw Material', 'Q-0009', 'QN0009', 224, '2023-12-07 05:27:06', 'master', 'approve', 'quotation-Monthaly Calibration Of Weighing Balance QC-010 (1).pdf', 'master', '2023-12-07 05:27:15'),
(302, 87, 'Raw Material', 'Q-0010', 'QN0010', 225, '2023-12-07 05:37:36', 'master', 'approve', 'quotation-Monthaly Calibration Of Weighing Balance QC-010 (1).pdf', 'master', '2023-12-07 05:37:46'),
(303, 87, 'Raw Material', 'Q-0011', 'QN0011', 226, '2023-12-07 05:45:34', 'master', 'pending', 'quotation-Monthaly Calibration Of Weighing Balance QC-010 (1).pdf', '', '0000-00-00 00:00:00'),
(304, 87, 'Raw Material', 'Q-0012', 'QN0013', 229, '2023-12-08 02:39:23', 'master', 'approve', 'quotation-Layout format.pdf', 'master', '2023-12-08 02:40:51'),
(305, 87, 'Raw Material', 'Q-0013', 'QN0015', 230, '2023-12-09 12:05:28', 'master', 'approve', 'quotation-img20230414_12274001.pdf', 'master', '2023-12-09 12:05:34'),
(306, 87, 'Raw Material', 'Q-0014', 'QC0563', 231, '2023-12-11 02:52:01', 'master', 'approve', '', 'master', '2023-12-11 02:52:05'),
(307, 87, 'Raw Material', 'Q-0015', 'QC0520', 232, '2023-12-11 04:40:34', 'master', 'approve', '', 'master', '2023-12-11 04:40:46'),
(308, 87, 'Raw Material', 'Q-0016', 'QC0587', 234, '2023-12-11 05:45:35', 'master', 'pending', '', '', '0000-00-00 00:00:00'),
(309, 87, 'Raw Material', 'Q-0017', 'QC0521', 236, '2023-12-11 06:16:19', 'master', 'approve', '', 'master', '2023-12-11 06:16:33'),
(310, 87, 'Raw Material', 'Q-0018', 'QC0569', 237, '2023-12-11 06:39:04', 'master', 'approve', '', 'master', '2023-12-11 06:39:08'),
(311, 87, 'Raw Material', 'Q-0019', 'QC0232', 238, '2023-12-12 11:45:55', 'master', 'approve', '', 'master', '2023-12-12 11:46:00'),
(312, 87, 'Raw Material', 'Q-0020', '12', 220, '2023-12-24 05:13:52', 'master', 'approve', '', 'master', '2023-12-24 05:14:19');

--
-- Dumping data for table `responsibility`
--

INSERT INTO `responsibility` (`id`, `plant_id`, `dept`, `emp_name`, `emp_id`, `job_title`, `responsibility1`, `responsibility2`, `responsibility3`, `add_responsibility1`, `add_responsibility2`, `add_responsibility3`, `per_metrices1`, `per_metrices2`, `per_metrices3`, `review_by`, `review_date`, `approval_status`, `supporting_doc`) VALUES
(10, '29', 'Account', 'D-0104565', 'D-0104565', '2023-12-16', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2023-12-17', 'Approved', 'mastersupporting_doc');

--
-- Dumping data for table `revision_checklist`
--

INSERT INTO `revision_checklist` (`id`, `plant_id`, `vendor_name`, `vendor_id`, `aprl_chck_id`, `approval_date`, `rev_id`, `rev_date`, `rev_reason`, `revised`, `review_by`, `review_date`, `approval_status`, `supporing_doc`) VALUES
(1, '29', 'Zydus Life', 'V10009', '', '', '1', '2023-12-15', '1', 'true', '', '', 'Pending', '');

--
-- Dumping data for table `sampling`
--

INSERT INTO `sampling` (`id`, `plant_id`, `sampling_no`, `user_no`, `material_code`, `batch_no`, `specification_no`, `containers`, `grn_no`, `grn_date`, `mfg_date`, `exp_date`, `urgency`, `change_unit`, `change_grade`, `change_qty`, `sampling_person`, `allocation_date`, `micro_person`, `alternate_qc_person`, `alternate_micro_person`, `request_by`, `request_date`, `area_status`, `area_details`, `laf_start`, `pressure_difference`, `clearance_status`, `clearance_no`, `sample_status`, `sampling_details`, `status`, `testing_status`, `entry_by`, `entry_date`, `check_by`, `check_date`, `approve_by`, `approve_date`, `batches`, `supplier_no`, `inward_no`, `manufacturer_no`, `received_qty`, `received_unit`, `grn_by`, `undertest_qty`, `laf_stop`, `ar_no`, `checklist`, `balance_qeuipment_code`, `laf_qeuipment_code`, `sampling_start_time`, `sampling_end_time`, `batch_size`, `label`, `sample_qty`, `samplerId`, `remark1`, `retest_status`) VALUES
(258, '87', 'S0001', 'gmpdemo1', 'RM00031', 'BN0001', '', 2.00, 'GRN/22/R/0273', '2023-12-07', '2023-12-06', '2028-10-10', '', '', '', '', '', NULL, '', '', '', '', '0000-00-00 00:00:00', 'pending', '', '', 0, 'pending', '', 'complete', '{\"identication_qty\":\"0\",\"composite_qty\":250,\"reserve_composite\":500,\"additional_qty\":0,\"actual_indentification\":0,\"actual_composite\":500,\"withdrawal_identication\":\"0\",\"withdrawal_composite\":250,\"sample_qty\":\"1\",\"reserve_qty\":250,\"sample_unit\":\"KG\",\"start_time\":\"2023-12-07T11:01:09.951Z\",\"stop_date\":\"2023-12-07T11:01:36.447Z\",\"laf_start_date\":\"2023-12-07T11:01:09.951Z\",\"laf_stop_date\":\"2023-12-07T11:01:38.751Z\",\"lafOtion\":1,\"samplerId\":\"EC01\",\"Remark\":\"ok\",\"undertest_qty\":250,\"container_details\":[{\"container_no\":1,\"per_contener\":\"1\",\"sample_qty\":0,\"reserve_qty\":125,\"total_qty\":\"125.00\",\"unit\":\"KG\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"ok\"},{\"container_no\":2,\"per_contener\":\"1\",\"sample_qty\":0,\"reserve_qty\":125,\"total_qty\":\"125.00\",\"unit\":\"KG\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"ok\"}],\"checklist\":[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}],\"equipment_code\":\"\",\"checkPointData\":[],\"balance_eqip_code\":0,\"laf_eqip_code\":0}', 'active', 'pending', 'master', '2023-12-07', '', NULL, NULL, NULL, '', 'V10001', 0, '', '', '', '', '250', '', 'AR-01', '[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}]', '0', '', '2023-12-07 11:01:10', '2023-12-07 11:01:36', '', '', '250', 'EC01', NULL, 'approve'),
(259, '87', 'S0259', 'gmpdemo1', 'RM0001178', 'BN0013', '', 2.00, 'GRN/22/R/0280', '2023-12-08', '2023-12-08', '2029-10-17', '', '', '', '', '', NULL, '', '', '', '', '0000-00-00 00:00:00', 'pending', '', '', 0, 'pending', '', 'complete', '{\"identication_qty\":\"0\",\"composite_qty\":250,\"reserve_composite\":500,\"additional_qty\":0,\"actual_indentification\":0,\"actual_composite\":500,\"withdrawal_identication\":\"0\",\"withdrawal_composite\":250,\"sample_qty\":\"50\",\"reserve_qty\":250,\"sample_unit\":\"Mg\",\"start_time\":\"2023-12-08T09:37:47.927Z\",\"stop_date\":\"2023-12-08T09:54:33.402Z\",\"laf_start_date\":\"2023-12-08T09:37:47.927Z\",\"laf_stop_date\":\"2023-12-08T09:54:35.890Z\",\"lafOtion\":1,\"samplerId\":\"EC01\",\"Remark\":\"ok\",\"undertest_qty\":250,\"container_details\":[{\"container_no\":1,\"per_contener\":\"50\",\"sample_qty\":0,\"reserve_qty\":125,\"total_qty\":\"125.00\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"ok\"},{\"container_no\":2,\"per_contener\":\"50\",\"sample_qty\":0,\"reserve_qty\":125,\"total_qty\":\"125.00\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"ok\"}],\"checklist\":[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}],\"equipment_code\":\"\",\"checkPointData\":[],\"balance_eqip_code\":0,\"laf_eqip_code\":0}', 'active', 'pending', 'master', '2023-12-08', '', NULL, NULL, NULL, '', 'V10229', 0, '', '', '', '', '250', '', 'AR-02', '[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}]', '0', '', '2023-12-08 09:37:48', '2023-12-08 09:54:33', '', '', '250', 'EC01', NULL, 'approve'),
(260, '87', 'S0260', 'gmpdemo1', 'RM0001179', 'BN0015', '', 3.00, 'GRN/22/R/0281', '2023-12-09', '2023-12-09', '2029-06-09', '', '', '', '', '1016', '2023-12-11', '1017', '1043', '202', '', '0000-00-00 00:00:00', 'complete', '{\"equipment_code\":\"LAF560\",\"cleaning_status\":\"Satisfactory\",\"temp\":\"25\",\"humidity\":\"40\"}', '', 0, 'pending', '', 'complete', '{\"identication_qty\":\"0\",\"composite_qty\":150,\"reserve_composite\":300,\"additional_qty\":0,\"actual_indentification\":0,\"actual_composite\":300,\"withdrawal_identication\":\"0\",\"withdrawal_composite\":100,\"sample_qty\":\"50\",\"reserve_qty\":150,\"sample_unit\":\"Mg\",\"start_time\":\"2023-12-11T07:26:28.221Z\",\"stop_date\":\"2023-12-11T07:27:06.693Z\",\"laf_start_date\":\"2023-12-11T07:26:28.221Z\",\"laf_stop_date\":\"2023-12-11T07:27:11.525Z\",\"lafOtion\":1,\"samplerId\":\"EC01\",\"Remark\":\"ok\",\"undertest_qty\":100,\"container_details\":[{\"container_no\":1,\"per_contener\":\"50\",\"sample_qty\":0,\"reserve_qty\":33.33333333333333570180911920033395290374755859375,\"total_qty\":\"33.33\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"ok\"},{\"container_no\":2,\"per_contener\":\"50\",\"sample_qty\":0,\"reserve_qty\":33.33333333333333570180911920033395290374755859375,\"total_qty\":\"33.33\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"ok\"},{\"container_no\":3,\"per_contener\":\"50\",\"sample_qty\":0,\"reserve_qty\":33.33333333333333570180911920033395290374755859375,\"total_qty\":\"33.33\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"ok\"}],\"checklist\":[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}],\"equipment_code\":\"\",\"checkPointData\":[],\"balance_eqip_code\":0,\"laf_eqip_code\":0}', 'approve', 'active', 'master', '2023-12-11', 'master', '2023-12-11 12:58:02', 'master', '2023-12-11 03:42:55', '\"\"', 'V10230', 0, '', '', '', '', '100', '', 'AR-03', '[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}]', '0', '', '2023-12-11 07:26:28', '2023-12-11 07:27:07', '', '', '100', 'EC01', '', 'approve'),
(261, '87', 'S0261', 'gmpdemo1', 'RM0001166', 'BN0002', '', 2.00, 'GRN/22/R/0274', '2023-12-09', '2023-12-07', '2023-12-07', '', '', '', '', '1016', '2023-12-11', '1017', '1043', '202', '', '0000-00-00 00:00:00', 'complete', '{\"equipment_code\":\"0101\",\"cleaning_status\":\"Satisfactory\",\"temp\":\"25\",\"humidity\":\"40\"}', '', 0, 'pending', '', 'complete', '{\"identication_qty\":\"0\",\"composite_qty\":300,\"reserve_composite\":600,\"additional_qty\":0,\"actual_indentification\":0,\"actual_composite\":600,\"withdrawal_identication\":\"0\",\"withdrawal_composite\":300,\"sample_qty\":\"50\",\"reserve_qty\":300,\"sample_unit\":\"Mg\",\"start_time\":\"2023-12-11T08:35:03.844Z\",\"stop_date\":\"2023-12-11T08:38:02.275Z\",\"laf_start_date\":\"2023-12-11T08:35:03.844Z\",\"laf_stop_date\":\"2023-12-11T08:38:05.163Z\",\"lafOtion\":1,\"samplerId\":\"EC01\",\"Remark\":\"OK\",\"undertest_qty\":300,\"container_details\":[{\"container_no\":1,\"per_contener\":\"50\",\"sample_qty\":0,\"reserve_qty\":150,\"total_qty\":\"150.00\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"OK\"},{\"container_no\":2,\"per_contener\":\"50\",\"sample_qty\":0,\"reserve_qty\":150,\"total_qty\":\"150.00\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"OK\"}],\"checklist\":[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}],\"equipment_code\":\"\",\"checkPointData\":[],\"balance_eqip_code\":0,\"laf_eqip_code\":0}', 'active', 'pending', 'master', '2023-12-11', '', NULL, NULL, NULL, '\"\"', 'V10217', 0, '', '', '', '', '300', '', 'AR-04', '[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}]', '0', '', '2023-12-11 08:35:04', '2023-12-11 08:38:02', '', '', '300', 'EC01', NULL, 'approve'),
(262, '87', 'S0262', 'gmpdemo1', 'RM0001175', 'B0059', '', 4.00, 'GRN/22/R/0283', '2023-12-12', '2023-12-12', '2024-03-09', '', '', '', '', '1016', '2023-12-12', '1016', '1016', '1016', '', '0000-00-00 00:00:00', 'complete', '{\"equipment_code\":\"laf-001\",\"cleaning_status\":\"Satisfactory\",\"temp\":\"25\",\"humidity\":\"35\"}', '', 0, 'pending', '', 'complete', '{\"identication_qty\":\"0\",\"composite_qty\":22,\"reserve_composite\":44,\"additional_qty\":0,\"actual_indentification\":0,\"actual_composite\":44,\"withdrawal_identication\":\"0\",\"withdrawal_composite\":11,\"sample_qty\":\"2\",\"reserve_qty\":22,\"sample_unit\":\"Mg\",\"start_time\":\"2023-12-12T04:41:58.616Z\",\"stop_date\":\"2023-12-12T04:43:30.593Z\",\"laf_start_date\":\"2023-12-12T04:41:58.616Z\",\"laf_stop_date\":\"2023-12-12T04:43:35.136Z\",\"lafOtion\":1,\"samplerId\":\"\",\"Remark\":\"TEST\",\"undertest_qty\":11,\"container_details\":[{\"container_no\":1,\"per_contener\":\"2\",\"sample_qty\":0,\"reserve_qty\":2.75,\"total_qty\":\"2.75\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"OK\"},{\"container_no\":2,\"per_contener\":\"2\",\"sample_qty\":0,\"reserve_qty\":2.75,\"total_qty\":\"2.75\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"OK\"},{\"container_no\":3,\"per_contener\":\"2\",\"sample_qty\":0,\"reserve_qty\":2.75,\"total_qty\":\"2.75\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"OK\"},{\"container_no\":4,\"per_contener\":\"2\",\"sample_qty\":0,\"reserve_qty\":2.75,\"total_qty\":\"2.75\",\"unit\":\"Mg\",\"status\":\"done\",\"remarks\":\"\",\"remark\":\"TEST\"}],\"checklist\":[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}],\"equipment_code\":\"\",\"checkPointData\":[],\"balance_eqip_code\":0,\"laf_eqip_code\":0}', 'active', 'pending', 'master', '2023-12-12', '', NULL, NULL, NULL, '\"\"', 'V10225', 0, '', '', '', '', '11', '', '', '[{\"observation\":\"All are the containers properly segregated?\",\"check\":\"\"},{\"observation\":\"All are the containers properly Labeled (Supplier/Mfg., Approved label, Quarantine Label?\",\"check\":\"\"},{\"observation\":\"Is the information given on Quarantine label as per GRN?\",\"check\":\"\"},{\"observation\":\"Are there any damage/leakage/outer seals intact of the Drums/Containers/Bags?\",\"check\":\"\"},{\"observation\":\"Is sampling area properly cleaned\",\"check\":\"\"},{\"observation\":\"Is there any extraneous material observed on surface of Polybags\",\"check\":\"\"},{\"observation\":\"Are all the Drums/Containers sampled one by one and ls are closed properly after sampling?\",\"check\":\"\"},{\"observation\":\"Whether u201cSampledu201d labels with Container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether u201cSample for Analysisu201d labels with container No. are affix on polybags/Bottles containing sample?\",\"check\":\"\"},{\"observation\":\"Whether the used sampling tools are kept in Polybags and closed properly for transferring it to laboratory for cleaning?\",\"check\":\"\"},{\"observation\":\"Are all the safety precautions have been taken during Sampling?\",\"check\":\"\"},{\"observation\":\"Are all the containers taken for sampling kept back to designated places?\",\"check\":\"\"},{\"observation\":\"Whether tanker number mentioned in tanker receipt intimation is matched with tanker to be sampled?\",\"check\":\"\"},{\"observation\":\"Are the entire compartment sealed of tanker?\",\"check\":\"\"},{\"observation\":\"Is the tanker cleaning record available with tanker?\",\"check\":\"\"}]', '0', '', '2023-12-12 04:41:59', '2023-12-12 04:43:31', '', '', '11', '', NULL, 'approve');

--
-- Dumping data for table `sampling_batches`
--

INSERT INTO `sampling_batches` (`id`, `plant_id`, `material_code`, `batch_no`, `ar_no`, `grn_no`, `sampled_container`, `material_condition`, `sample_qty`, `sampler_id`, `seal_check`, `status`, `stop_batch`, `mfg_date`, `exp_date`, `mfg_by`, `pack_size`, `total_containers`, `qty_received`, `container_no`, `gross_wt`, `tare_wt`, `remark`, `weight`, `challan_no`, `root_container`, `unit`, `correction`, `rejection_remark`, `coa_received`, `coa_files`) VALUES
(164, '87', 'RM00031', 'BN0001', 'AR-01', 'GRN/22/R/0273', '', '', '', '', '', 'approve', '', '2023-12-06', '2028-10-10', 'V10001', '250', '2', '500', '', '', '', 0, '[{\"container_no\":\"CN1111\",\"lbgross_weight\":400,\"lbtare_weight\":300,\"lbnet_weight\":100,\"acgross_weight\":400,\"action\":\"Accept\"}]', 'CN0001', '1', 'KG', ' ', '', '0', ''),
(165, '', 'RM0001166', 'BN0002', '', 'GRN/22/R/0274', '', '', '', '', '', 'approve', '', '2023-12-07', '2023-12-07', 'V10217', '400', '2', '800', '', '', '', 0, '[{\"container_no\":\"CN0002\",\"lbgross_weight\":500,\"lbtare_weight\":300,\"lbnet_weight\":200,\"acgross_weight\":500,\"action\":\"Accept\"}]', 'CN0002', '1', 'KG', '', '', '0', ''),
(166, '', 'RM0001167', 'BN0003', '', '', '', '', '', '', '', 'approve', '', '2023-12-08', '2030-09-08', '', '500', '2', '1000', '', '', '', 0, '[{\"container_no\":\"CN0003\",\"lbgross_weight\":800,\"lbtare_weight\":500,\"lbnet_weight\":300,\"acgross_weight\":800,\"action\":\"Accept\"}]', 'CN0003', '1', 'KG', '', '', '0', ''),
(167, '', 'RM0001168', 'BN0004', '', '', '', '', '', '', '', 'approve', '', '2023-12-08', '2023-12-10', 'V10219', '300', '2', '600', '', '', '', 0, '[{\"container_no\":\"CN0004\",\"lbgross_weight\":700,\"lbtare_weight\":400,\"lbnet_weight\":300,\"acgross_weight\":700,\"action\":\"Accept\"}]', 'CN0004', '1', 'KG', '', '', '0', ''),
(168, '', 'RM0001169', 'BN0005', '', '', '', '', '', '', '', 'pending', '', '2023-12-08', '2027-06-15', 'V10220', '250', '2', '500', '', '', '', 0, '', 'CN0005', '', 'KG', '', '', '0', ''),
(169, '', 'RM0001170', 'BN0006', '', '', '', '', '', '', '', 'pending', '', '2023-12-08', '2029-01-30', 'V10221', '350', '2', '700', '', '', '', 0, '', 'CN0006', '', 'KG', '', '', '0', ''),
(170, '', 'RM0001178', 'BN0013', 'AR-02', 'GRN/22/R/0280', '', '', '', '', '', 'approve', '', '2023-12-08', '2029-10-17', 'V10229', '300', '2', '600', '', '', '', 0, '[{\"container_no\":\"CN0013\",\"lbgross_weight\":900,\"lbtare_weight\":600,\"lbnet_weight\":300,\"acgross_weight\":900,\"action\":\"Accept\"}]', 'CN0013', '1', 'KG', '', '', '0', ''),
(171, '', 'RM0001179', 'BN0015', 'AR-03', 'GRN/22/R/0281', '', '', '', '', '', 'approve', '', '2023-12-09', '2029-06-09', 'V10230', '300', '3', '900', '', '', '', 0, '[{\"container_no\":\"CN0015\",\"lbgross_weight\":600,\"lbtare_weight\":400,\"lbnet_weight\":200,\"acgross_weight\":600,\"action\":\"Accept\"}]', 'CN0015', '1', 'KG', '', '', '0', ''),
(172, '', 'RM0001175', 'B0059', '', '', '', '', '', '', '', 'approve', '', '2023-12-12', '2024-03-09', 'V10225', '100', '4', '400', '', '', '', 0, '[{\"container_no\":\"3\",\"lbgross_weight\":500,\"lbtare_weight\":100,\"lbnet_weight\":400,\"acgross_weight\":600,\"action\":\"Accept\"}]', 'CH0389', '1', 'KG', '', '', '0', '');

--
-- Dumping data for table `section`
--

INSERT INTO `section` (`id`, `plant_id`, `user_no`, `section_name`, `department`, `section_code`, `building_no`, `room_no`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `checkpoints_status`, `checkpoints`, `temp_status`, `min_temp`, `max_temp`, `min_humidity`, `max_humidity`) VALUES
(36, '', 'gmpdemo1', 'Test1', 'Human Resource', 'T1HR', '', '', 'pending', 'master', '2023-12-12 05:27:45', '', '', 'pending', '', 'pending', 0.00, 0.00, 0.00, 0.00);

--
-- Dumping data for table `shelf`
--

INSERT INTO `shelf` (`id`, `plant_id`, `shelf`, `status`) VALUES
(4, '', '12 Months', 'approve'),
(5, '', '24 months', 'approve');

--
-- Dumping data for table `specification`
--

INSERT INTO `specification` (`id`, `plant_id`, `user_no`, `specification_no`, `spec_type`, `material_subtype`, `material_code`, `material_grade`, `chemical_name`, `version_no`, `supersede_no`, `sample_qty`, `micro_qty`, `indentification_qty`, `unit`, `sap_no`, `storage`, `shelf_life`, `retest_period`, `safety_precaution`, `product_code`, `stage`, `reference`, `total_tests`, `status`, `entry_by`, `entry_date`, `check_by`, `check_date`, `approve_by`, `approve_date`, `ismoa`, `moa_no`, `retest`, `review_date`, `review_in_months`, `stability`, `chemical_qty`, `physical_qty`, `special_grade`, `control_sample`, `additional_sample`, `material_nature`, `grade`, `water_type`, `totalsample_qty`, `molecular_formula`, `molecular_weight`, `effective_date`, `cas_name`, `storage_condition`, `sample_applicable`, `primary_reviewed_by`, `primary_review_status`, `primary_review_on`, `secondary_reviewed_by`, `secondary_review_status`, `secondary_review_on`, `qa_review_status`, `qa_review_on`, `qa_reviewed_by`, `spec_status`, `cc_no`) VALUES
(543, '87', 'gmpdemo1', 'RM-0871', 'Raw Material', '', 'RM00031', '', '', '0', 'NA', 'Test Specific', 0.00, '0', '', '', '', '', 0, '', '', '', NULL, NULL, 'approve', 'master', '2023-12-07 03:03:37', '', NULL, 'master', '2023-12-07', 'pending', '', 'pending', '0000-00-00', '', 'pending', '250', '0', 'IP', '500', '0', '', '', '', '250', '', '', '0000-00-00', '', '', '', 'master', 'reviwed', '2023-12-07 03:04:57', 'master', 'reviwed', '2023-12-07 03:05:09', 'reviwed', '2023-12-07 03:05:20', 'master', 'Active', 0),
(544, '87', 'gmpdemo1', 'RM-087544', 'Raw Material', '', 'RM0001178', '', '', '0', 'NA', 'Test Specific', 0.00, '0', '', '', '', '', 0, '', '', '', NULL, NULL, 'approve', 'master', '2023-12-08 02:55:22', '', NULL, 'master', '2023-12-08', 'pending', '', 'pending', '0000-00-00', '', 'pending', '250', '0', 'IP', '500', '0', '', '', '', '250', '', '', '0000-00-00', '', '', '', 'master', 'reviwed', '2023-12-08 02:55:37', 'master', 'reviwed', '2023-12-08 02:55:48', 'reviwed', '2023-12-08 02:55:57', 'master', 'Active', 0),
(545, '87', 'gmpdemo1', 'RM-087545', 'Raw Material', '', 'RM0001179', '', '', '0', 'NA', 'Test Specific', 0.00, '0', '', '', '', '', 0, '', '', '', NULL, NULL, 'approve', 'master', '2023-12-09 12:15:15', '', NULL, 'master', '2023-12-09', 'pending', '', 'pending', '0000-00-00', '', 'pending', '150', '0', 'IP', '300', '0', '', '', '', '150', '', '', '0000-00-00', '', '', '', 'master', 'reviwed', '2023-12-09 12:15:34', 'master', 'reviwed', '2023-12-09 12:15:42', 'reviwed', '2023-12-09 12:15:50', 'master', 'Active', 0),
(546, '87', 'gmpdemo1', 'RM-087546', 'Raw Material', '', 'RM0001166', '', '', '0', 'NA', 'Test Specific', 0.00, '0', '', '', '', '', 0, '', '', '', NULL, NULL, 'pending', 'master', '2023-12-09 02:32:35', '', NULL, NULL, NULL, 'pending', '', 'pending', '0000-00-00', '', 'pending', '300', '0', 'IP', '600', '0', '', '', '', '300', '', '', '0000-00-00', '', '', '', '', 'pending', '0000-00-00 00:00:00', '', 'pending', '0000-00-00 00:00:00', 'pending', '0000-00-00 00:00:00', '', 'Active', 0),
(547, '87', 'gmpdemo1', 'RM-087547', 'Raw Material', '', 'RM0001175', '', '', '0', 'NA', 'Test Specific', 0.00, '0', '', '', '', '', 0, '', '', '', NULL, NULL, 'approve', 'master', '2023-12-12 10:10:55', '', NULL, 'master', '2023-12-12', 'pending', '', 'pending', '0000-00-00', '', 'pending', '22', '0', 'IP', '44', '0', '', '', '', '22', '', '', '0000-00-00', '', '', '', 'master', 'reviwed', '2023-12-12 10:11:06', 'master', 'reviwed', '2023-12-12 10:11:15', 'reviwed', '2023-12-12 10:11:23', 'master', 'Active', 0);

--
-- Dumping data for table `spec_revision`
--

INSERT INTO `spec_revision` (`id`, `plant_id`, `user_no`, `spec_no`, `specification_no`, `version_no`, `change_mode`, `reason`, `effective_date`, `status`) VALUES
(538, '', 'gmpdemo1', 'RM-0871', '01', '01', '01', '01', '2023-12-07', 'pending'),
(539, '', 'gmpdemo1', 'RM-087544', '02', '02', '02', '02', '2023-12-08', 'pending'),
(540, '', 'gmpdemo1', 'RM-087546', '03', '03', '03', 'NA', '2023-12-09', 'pending'),
(541, '', 'gmpdemo1', 'RM-087547', 'AUTO GENERATE', '', 'NA', 'NA', '2023-12-12', 'pending'),
(542, '', 'gmpdemo1', 'RM-087547', '00', '00', '0045', 'TEST', '2023-12-12', 'pending');

--
-- Dumping data for table `spec_tests`
--

INSERT INTO `spec_tests` (`id`, `plant_id`, `user_no`, `specification_no`, `test_type`, `test`, `subtest`, `description`, `reference_type`, `limit_type`, `lower_limit`, `upper_limit`, `lessthan`, `morethan`, `unit`, `limits`, `sample_qty`, `release_stability`, `retest`, `outside_testing`, `stage`, `calculation`, `tm_no`, `status`, `method`, `ismethod`, `method_details`, `for_micro`, `instruments`, `procedures`, `remark`, `conditions`, `reagents`, `solutions`) VALUES
(5449, '87', 'gmpdemo1', 'RM-0871', 'Chemical', 'Assay', 'test1', '100', 'IP', 'Description', '', '', '', '', '', '100', 100.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'active', 'no', '[{\"name\":\"Procedure / method Description\",\"option\":\"procedure\",\"status\":true,\"list\":[]}]', 'No', NULL, '', NULL, NULL, NULL, NULL),
(5450, '87', 'gmpdemo1', 'RM-0871', 'Chemical', 'Assay', 'test2', '50', 'IP', 'Description', '', '', '', '', '', '50', 50.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'active', 'no', '[{\"name\":\"Procedure / method Description\",\"option\":\"procedure\",\"status\":true,\"list\":[]}]', 'No', NULL, '', NULL, NULL, NULL, NULL),
(5451, '87', 'gmpdemo1', 'RM-0871', 'Chemical', 'Assay', 'test3', '100', 'IP', 'Description', '', '', '', '', '', '100', 100.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'active', 'no', '[{\"name\":\"Procedure / method Description\",\"option\":\"procedure\",\"status\":true,\"list\":[]}]', 'No', NULL, '', NULL, NULL, NULL, NULL),
(5452, '87', 'gmpdemo1', 'RM-087544', 'Chemical', 'Assay', 'test1', 'ok', 'IP', 'Description', '', '', '', '', '', 'ok', 100.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'active', 'no', '[{\"name\":\"Procedure / method Description\",\"option\":\"procedure\",\"status\":true,\"list\":[]}]', 'No', NULL, '', NULL, NULL, NULL, NULL),
(5453, '87', 'gmpdemo1', 'RM-087544', 'Chemical', 'Assay', 'test2', 'ok', 'IP', 'Description', '', '', '', '', '', 'ok', 100.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'active', 'no', '[{\"name\":\"Procedure / method Description\",\"option\":\"procedure\",\"status\":true,\"list\":[]}]', 'No', NULL, '', NULL, NULL, NULL, NULL),
(5454, '87', 'gmpdemo1', 'RM-087544', 'Chemical', 'Protein estimation', 'On dry basis', 'ok', 'IP', 'Description', '', '', '', '', '', 'ok', 50.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'active', 'no', '[{\"name\":\"Procedure / method Description\",\"option\":\"procedure\",\"status\":true,\"list\":[]}]', 'No', NULL, '', NULL, NULL, NULL, NULL),
(5455, '87', 'gmpdemo1', 'RM-087545', 'Chemical', 'Assay', 'test1', 'ok', 'IP', 'Description', '', '', '', '', '', 'ok', 50.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'active', 'no', '[{\"name\":\"Procedure / method Description\",\"option\":\"procedure\",\"status\":true,\"list\":[]}]', 'No', NULL, '', NULL, NULL, NULL, NULL),
(5456, '87', 'gmpdemo1', 'RM-087545', 'Chemical', 'Protein estimation', 'On dry basis', 'ok', 'IP', 'Description', '', '', '', '', '', 'ok', 100.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'active', 'no', '[{\"name\":\"Procedure / method Description\",\"option\":\"procedure\",\"status\":true,\"list\":[]}]', 'No', NULL, '', NULL, NULL, NULL, NULL),
(5457, '87', 'gmpdemo1', 'RM-087546', 'Chemical', 'Assay', 'test1', 'ok', 'IP', 'Description', '', '', '', '', '', 'ok', 100.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'pending', 'no', NULL, 'No', NULL, NULL, NULL, NULL, NULL, NULL),
(5458, '87', 'gmpdemo1', 'RM-087546', 'Chemical', 'Protein estimation', 'On dry basis', 'ok', 'IP', 'Description', '', '', '', '', '', 'ok', 100.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'pending', 'no', NULL, 'No', NULL, NULL, NULL, NULL, NULL, NULL),
(5459, '87', 'gmpdemo1', 'RM-087546', 'Chemical', 'Bulk Density ', 'Tapped Density', 'ok', 'IP', 'Description', '', '', '', '', '', 'ok', 100.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'pending', 'no', NULL, 'No', NULL, NULL, NULL, NULL, NULL, NULL),
(5460, '87', 'gmpdemo1', 'RM-087547', 'Chemical', 'Total Ash', '', 'OK', 'IP', 'Description', '', '', '', '', '', 'OK', 2.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'pending', 'no', NULL, 'No', NULL, NULL, NULL, NULL, NULL, NULL),
(5461, '87', 'gmpdemo1', 'RM-087547', 'Chemical', 'Sieve Analysis', 'NA', '', 'IP', 'Range', '10', '15', '', '', 'Mg', '10Mg to 15Mg', 20.00, NULL, 'Not Applicable', 'Not Applicable', NULL, NULL, NULL, 'pending', 'pending', 'no', NULL, 'No', NULL, NULL, NULL, NULL, NULL, NULL);

--
-- Dumping data for table `stock_book`
--

INSERT INTO `stock_book` (`id`, `plant_id`, `user_no`, `inword_no`, `inword_date`, `grn_no`, `ar_no`, `batch_no`, `stock_type`, `vendor_no`, `manufacturer_no`, `material_code`, `qty`, `lod_per`, `unit`, `rate`, `rate_per`, `mfg_date`, `exp_date`, `containers`, `receiving_no`, `grn_date`, `release_date`, `retest_date`, `retest_status`, `assay`, `required_for`, `client_no`, `section`, `rack_no`, `status`, `pack_size`, `tare_wt`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `total_containers`, `undertest_qty`, `approve_qty`, `product_code`) VALUES
(693, '', 'gmpdemo1', '', '0000-00-00', 'GRN/22/R/0273', 'AR-01', 'BN0001', 'Normal', 'V10001', '', 'RM00031', 500.00, 0.00, 'KG', 0.00, '', '2023-12-06', '2028-10-10', '', '', '2023-12-07', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'quarantine', '250', '', 'master', '2023-12-07', '', NULL, '2', '', '', ''),
(694, '', 'gmpdemo1', '', '0000-00-00', 'GRN/22/R/0280', 'AR-02', 'BN0013', 'Normal', 'V10229', '', 'RM0001178', 600.00, 0.00, 'KG', 0.00, '', '2023-12-08', '2029-10-17', '', '', '2023-12-08', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'quarantine', '300', '', 'master', '2023-12-08', '', NULL, '2', '', '', ''),
(695, '', 'gmpdemo1', '', '0000-00-00', 'GRN/22/R/0281', 'AR-03', 'BN0015', 'Normal', 'V10230', '', 'RM0001179', 900.00, 0.00, 'KG', 0.00, '', '2023-12-09', '2029-06-09', '', '', '2023-12-09', '2023-12-11', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '300', '', 'master', '2023-12-09', '', NULL, '3', '100', '', ''),
(696, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11101', 'AR11101', 'BN11101', 'Opening', '', '', 'RM00031', 1000.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2029-06-11', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(697, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11102', 'AR11102', 'BN11102', 'Opening', '', '', 'RM0001166', 1000.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2029-10-16', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(698, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11103', 'AR11103', 'BN11103', 'Opening', '', '', 'RM0001167', 1000.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2030-11-14', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(699, '87', 'gmpdemo1', '', '0000-00-00', 'GRNP11101', 'ARP11101', 'BNP11101', 'Opening', '', '', 'PM0031', 1000.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2030-10-23', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(700, '87', 'gmpdemo1', '', '0000-00-00', 'GRNP11102', 'ARP11102', 'BNP11102', 'Opening', '', '', 'PM001182', 1000.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2029-10-11', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(701, '87', 'gmpdemo1', '', '0000-00-00', 'GRNP11103', 'ARP11103', 'BNP11103', 'Opening', '', '', 'PM001183', 1000.00, 0.00, 'Nos', 0.00, '', '2023-12-12', '2031-07-17', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(702, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11104', 'AR11104', 'BN11104', 'Opening', '', '', 'RM00031', 50.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2027-10-20', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '10', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(703, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11105', 'AR11105', 'BN11105', 'Opening', '', '', 'RM0001166', 50.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2031-10-15', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '10', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(704, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11106', 'AR11106', 'BN11106', 'Opening', '', '', 'RM0001167', 50.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2029-09-11', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '10', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(705, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11107', 'AR11101', 'BN11107', 'Opening', '', '', 'RM0001170', 1000.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2028-10-11', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(706, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11108', 'AR11101', 'BN11108', 'Opening', '', '', 'RM0001171', 1000.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2027-06-16', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(707, '87', 'gmpdemo1', '', '0000-00-00', 'GRN11109', 'AR11109', 'BN11109', 'Opening', '', '', 'RM0001172', 1000.00, 0.00, 'KG', 0.00, '', '2023-12-12', '2029-10-19', '', '', '2023-12-11', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '200', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(708, '87', 'gmpdemo1', '', '0000-00-00', 'GRN/85', 'AR-45', 'BN/78', 'Opening', '', '', 'RM0001187', 700.00, 0.00, 'KG', 0.00, '', '2023-10-31', '2024-03-01', '', '', '2023-12-05', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '20', '', '', '2023-12-11', '', NULL, '', '', '', ''),
(709, '87', 'gmpdemo1', '', '0000-00-00', 'GRN/86', 'AR-46', 'BN/79', 'Opening', '', '', 'RM0001188', 800.00, 0.00, 'KG', 0.00, '', '2023-11-01', '2024-03-07', '', '', '2023-11-30', '0000-00-00', '0000-00-00', 'Pending', 0.00, '', '', '', '', 'Approved', '30', '', '', '2023-12-11', '', NULL, '', '', '', '');

--
-- Dumping data for table `subtest`
--

INSERT INTO `subtest` (`id`, `plant_id`, `user_no`, `classification`, `dosage_form`, `test_type`, `test`, `subtest`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `subtest_no`) VALUES
(1, '', 'gmpdemo1', '', '', 'Chemical', '2- propanol', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(2, '', 'gmpdemo1', '', '', 'Chemical', ' Absence of Asbestos', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(3, '', 'gmpdemo1', '', '', 'Physcial', 'Colour', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(4, '', 'gmpdemo1', '', '', 'Physcial', 'Appearance ', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(5, '', 'gmpdemo1', '', '', 'Physcial', 'Odour', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(6, '', 'gmpdemo1', '', '', 'Physcial', 'Taste', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(8, '', 'gmpdemo1', '', '', 'LOD', 'Moisture ', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(9, '', 'gmpdemo1', '', '', 'Chemical', 'pH 10%', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(10, '', 'gmpdemo1', '', '', 'Physcial', 'Uniform mixing / Blending of powder', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(11, '', 'gmpdemo1', '', '', 'Chemical', 'pH 5% Solution', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(12, '', 'gmpdemo1', '', '', 'Physcial', 'Foreign matter test', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(13, '', 'gmpdemo1', '', '', 'Physcial', 'Aroma of powdered product', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(14, '', 'gmpdemo1', '', '', 'Physcial', 'Aroma after mixing in water ', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(15, '', 'gmpdemo1', '', '', 'Physcial', 'Mixability/solubility', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(16, '', 'gmpdemo1', '', '', 'Physcial', 'Consistency after mixing ', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(17, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve integrity', '10 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(18, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve integrity', '18 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(19, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve integrity', '30 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(20, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve integrity', '44 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(21, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve integrity', '60 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(22, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve integrity', '85 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(23, '', 'gmpdemo1', '', '', 'Physcial', 'Time required for mixing in water', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(24, '', 'gmpdemo1', '', '', 'Physcial', 'Taste after mixing in water ', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(25, '', 'gmpdemo1', '', '', 'Physcial', 'Colour after mixing in water', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(26, '', 'gmpdemo1', '', '', 'Chemical', 'Protein estimation', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(27, '', 'gmpdemo1', '', '', 'Physcial', 'Weight crosscheck', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(28, '', 'gmpdemo1', '', '', 'Physcial', 'Comparison with standard sample', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(29, '', 'gmpdemo1', '', '', 'Chemical', 'Total Ash', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(30, '', 'gmpdemo1', '', '', 'Physcial', 'Labelling ', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(31, '', 'gmpdemo1', '', '', 'Microbiology', 'Total plate count ', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(32, '', 'gmpdemo1', '', '', 'Microbiology', 'Total yeast and mould count', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(33, '', 'gmpdemo1', '', '', 'Microbiology', 'Pathogen test', 'Coliform', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(34, '', 'gmpdemo1', '', '', 'Microbiology', 'Pathogen test', 'Escherichia coli', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(35, '', 'gmpdemo1', '', '', 'Microbiology', 'Pathogen test', 'Salmonella typhii', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(36, '', 'gmpdemo1', '', '', 'Microbiology', 'Pathogen test', 'Staphylococcus aureus', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(37, '', 'gmpdemo1', '', '', 'Microbiology', 'Pathogen test', 'Pseudomonas aeruginosa', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(38, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R2/01 (Batching room)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(39, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R2/02 (Batching room)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(40, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R3/03 (Blender Room 1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(41, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R3/04 (Blender Room 1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(42, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R3/05 (Blender Room 1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(43, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R3/06 (Blender Room 1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(44, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R3/07 (Blender Room 2)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(45, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R3/08 (Blender Room 2)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(46, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R6/09  (Primary packing area 1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(47, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R6/10  (Primary packing area 1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(48, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R6/11  (Primary packing area 1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(49, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R6/12  (Primary packing area 1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(50, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R5/13 (Corridor)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(51, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R7/14 (Primary packing area 2)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(52, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R7/15 (Primary packing area 2)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(53, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R7/16 (Primary packing area 2)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(54, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'SIPL/SAG/R7/17 (Primary packing area 2)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(55, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'Microbiology SIPL/QC/23', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(56, '', 'gmpdemo1', '', '', 'Physcial', 'test1', 'ed', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(57, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'Blender room(B1)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(58, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'Blender room(B2)', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(59, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'Primary Packing', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(60, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'Secondary Packing', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(61, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'PFS Machine Hopper', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(62, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'Nichrome machine Nozzel', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(63, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'Utensils washing room', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(64, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'Nichrome machine Hopper', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(65, '', 'gmpdemo1', '', '', 'Microbiology', 'Rinse analysis', 'Primary packing 1 Hopper', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(66, '', 'gmpdemo1', '', '', 'Microbiology', 'Rinse analysis', 'Primary packing Hopper 2', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(67, '', 'gmpdemo1', '', '', 'Microbiology', 'Rinse analysis', 'Blender room B1', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(68, '', 'gmpdemo1', '', '', 'Microbiology', 'Rinse analysis', 'Blender room 2 B2', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(69, '', 'gmpdemo1', '', '', 'Microbiology', 'Rinse analysis', 'Blender room 1 B3', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(70, '', 'gmpdemo1', '', '', 'Microbiology', 'Finger Dab', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(71, '', 'gmpdemo1', '', '', 'Packing', 'Packing material used', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(72, '', 'gmpdemo1', '', '', 'Physcial', 'Protein estimation', 'On dry basis', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(73, '', 'gmpdemo1', '', '', 'Physcial', 'Protein estimation', 'As it is', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(74, '', 'gmpdemo1', '', '', 'Chemical', 'Protein estimation', 'On dry basis', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(75, '', 'gmpdemo1', '', '', 'Chemical', 'Protein estimation', 'As it as', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(76, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Anaysis ', '85 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(77, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Anaysis ', '60 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(78, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Anaysis ', '44 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(79, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Anaysis ', '30 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(80, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Anaysis ', '18 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(81, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Anaysis ', '10 Mesh', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(82, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk Density ', 'Tapped Density ', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(83, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk Density ', 'Bulk Density ', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(84, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk Density ', 'Tapped Density ', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(85, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk Density ', 'Bulk Density', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(86, '', 'gmpdemo1', '', '', 'Chemical', 'Bulk Density ', 'Tapped Density ', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(87, '', 'gmpdemo1', '', '', 'Chemical', 'Bulk Density ', 'Bulk Density ', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(88, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk density', 'Bulk density', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(89, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk density', 'Bulk density', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(90, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk density', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(91, '', 'gmpdemo1', '', '', 'Microbiology', 'Escherichia Coli', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(92, '', 'gmpdemo1', '', '', 'Microbiology', 'Salmonella', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(93, '', 'gmpdemo1', '', '', 'Microbiology', 'Staphylococcus aureus', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(94, '', 'gmpdemo1', '', '', 'Microbiology', 'Coliform', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(95, '', 'gmpdemo1', '', '', 'Microbiology', 'Pseudomonas aeruginosa', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(96, '', 'gmpdemo1', '', '', 'Chemical', 'pH of 10% solution', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(97, '', 'gmpdemo1', '', '', 'Chemical', 'pH of 5% Solution', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(98, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Analysis', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(99, '', 'gmpdemo1', '', '', 'Chemical', 'test', 'test1', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(100, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve analysis', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(101, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve analysis', '', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(102, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve analysis', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(103, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve analysis', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(104, '', 'gmpdemo1', '', '', 'Packing', 'Weight', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(105, '', 'gmpdemo1', '', '', 'Packing', 'Heigth ', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(106, '', 'gmpdemo1', '', '', 'Packing', 'Width', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(107, '', 'gmpdemo1', '', '', 'Packing', 'Length', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(108, '', 'gmpdemo1', '', '', 'Packing', 'Gross weight of jar without cap', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(109, '', 'gmpdemo1', '', '', 'Packing', 'Jar total height without cap', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(110, '', 'gmpdemo1', '', '', 'Packing', 'Jar total height with cap', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(111, '', 'gmpdemo1', '', '', 'Packing', 'Jar Outer diameter ', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(112, '', 'gmpdemo1', '', '', 'Packing', 'Jar Inner diameter neck', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(113, '', 'gmpdemo1', '', '', 'Packing', 'Jar overflow capacity', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(114, '', 'gmpdemo1', '', '', 'Packing', 'Jar colour', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(115, '', 'gmpdemo1', '', '', 'Packing', 'Cap total height', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(116, '', 'gmpdemo1', '', '', 'Packing', 'Cap ID with thread', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(117, '', 'gmpdemo1', '', '', 'Packing', 'Diameter', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(118, '', 'gmpdemo1', '', '', 'Packing', 'Cap Diameter', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(119, '', 'gmpdemo1', '', '', 'Packing', 'Cap weight', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(120, '', 'gmpdemo1', '', '', 'Packing', 'Cap colour', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(121, '', 'gmpdemo1', '', '', 'Packing', 'Length with handle', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(122, '', 'gmpdemo1', '', '', 'Packing', 'Cup height', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(123, '', 'gmpdemo1', '', '', 'Packing', 'Cup diameter', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(124, '', 'gmpdemo1', '', '', 'Packing', 'Scoop weight', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(125, '', 'gmpdemo1', '', '', 'Packing', 'Scoop colour', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(126, '', 'gmpdemo1', '', '', 'Packing', 'Wall thickness', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(127, '', 'gmpdemo1', '', '', 'Packing', 'Brimful capacity', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(128, '', 'gmpdemo1', '', '', 'Packing', 'Diameter', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(129, '', 'gmpdemo1', '', '', 'Packing', 'Thickness', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(130, '', 'gmpdemo1', '', '', 'Packing', 'Corrugated box', 'External length', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(131, '', 'gmpdemo1', '', '', 'Packing', 'External length', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(132, '', 'gmpdemo1', '', '', 'Packing', 'External width', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(133, '', 'gmpdemo1', '', '', 'Packing', 'External height', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(134, '', 'gmpdemo1', '', '', 'Packing', 'Colour', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(135, '', 'gmpdemo1', '', '', 'Packing', 'Colour', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(136, '', 'gmpdemo1', '', '', 'Packing', 'Closing flap gap', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(137, '', 'gmpdemo1', '', '', 'Packing', 'Number of ply', '3', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(138, '', 'gmpdemo1', '', '', 'Packing', 'Number of ply', '5', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(139, '', 'gmpdemo1', '', '', 'Packing', 'Manufacturing joint type', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(140, '', 'gmpdemo1', '', '', 'Packing', 'Flap bend test ', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(141, '', 'gmpdemo1', '', '', 'Packing', 'Physical damage', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(142, '', 'gmpdemo1', '', '', 'Packing', 'Delamination', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(143, '', 'gmpdemo1', '', '', 'Packing', 'Burrs/ Cuts', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(144, '', 'gmpdemo1', '', '', 'Packing', 'Thickness', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(145, '', 'gmpdemo1', '', '', 'Packing', 'Material grade', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(146, '', 'gmpdemo1', '', '', 'Packing', 'External length ', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(147, '', 'gmpdemo1', '', '', 'Packing', 'Jar neck OD with thread', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(148, '', 'gmpdemo1', '', '', 'Packing', 'Visual defects', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(149, '', 'gmpdemo1', '', '', 'Packing', 'Physical condition', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(150, '', 'gmpdemo1', '', '', 'Packing', 'Lamination', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(151, '', 'gmpdemo1', '', '', 'Packing', 'Shade', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(152, '', 'gmpdemo1', '', '', 'Packing', 'Text matter', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(153, '', 'gmpdemo1', '', '', 'Packing', 'MRP', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(154, '', 'gmpdemo1', '', '', 'Chemical', ' Identification Test', 'Identification IR ', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(155, '', 'gmpdemo1', '', '', 'Water', 'qq', 'qq', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(156, '', 'gmpdemo1', '', '', 'Chemical', 'test', 'test 1', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(157, '', 'gmpdemo1', '', '', 'IPQC', '11111', '111111', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(158, '', 'gmpdemo1', '', '', 'Chemical', ' Identification by IR', ' Identification by IR', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(159, '', 'gmpdemo1', '', '', 'Chemical', ' Identification by IR', ' Identification by IR', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(160, '', 'gmpdemo1', '', '', 'Microbiology', 'Microbiology Limit Pathogens', 'Microbiology Limit Pathogens', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(161, '', 'gmpdemo1', '', '', 'Microbiology', 'Microbiology Limit Pathogens', 'Microbiology Limit Pathogens', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(162, '', 'gmpdemo1', '', '', 'Chemical', ' Identification Test', 'test 3', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(163, '', 'gmpdemo1', '', '', 'Indentification', 'test', 'Protein estimation', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(164, '', 'gmpdemo1', '', '', 'Packing', 'Jar weight', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(165, '', 'gmpdemo1', '', '', 'Packing', 'Jar neck OD with thread', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(166, '', 'gmpdemo1', '', '', 'Packing', 'Cap Total height ', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(167, '', 'gmpdemo1', '', '', 'Packing', 'Cap ID with thread', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(168, '', 'gmpdemo1', '', '', 'Packing', 'Cap Diameter', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(169, '', 'gmpdemo1', '', '', 'Packing', 'Cap weight', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(170, '', 'gmpdemo1', '', '', 'Packing', 'Weight', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(171, '', 'gmpdemo1', '', '', 'Packing', 'Weight of scoop', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(172, '', 'gmpdemo1', '', '', 'Packing', 'Weight of jar ', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(173, '', 'gmpdemo1', '', '', 'Chemical', 'Protein content', 'NA', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST177'),
(174, '', 'gmpdemo1', '', '', 'Chemical', 'Assay', 'test1', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST001'),
(175, '', 'gmpdemo1', '', '', 'Chemical', 'Assay', 'test2', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST175'),
(176, '', 'gmpdemo1', '', '', 'Chemical', 'Assay', 'test3', 'pending', '', '0000-00-00 00:00:00', '', NULL, 'ST176');

--
-- Dumping data for table `terms`
--

INSERT INTO `terms` (`id`, `plant_id`, `term_heading`, `term`, `entry_by`, `entry_date`, `status`) VALUES
(26, '', 'Warranty Related', 'Person who is giving the warranty. You are providing the warranty or the original manufacturer is providing it.', 'master', '2023-12-06 16:28:57', 'approve'),
(27, '', 'Payment terms', '30 Days', 'master', '2023-12-06 16:29:31', 'approve');

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

INSERT INTO `test` (`id`, `test_name`, `user_no`, `classification`, `dosage_form`, `test_type`, `test`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `sample_qty`, `unit`, `test_no`, `plant_id`, `grade`, `maxlead_time`, `minlead_time`) VALUES
(1, '', 'gmpdemo1', '', '', 'Chemical', '2- propanol', 'active', 'master', '2023-05-16 12:26:14', '', NULL, '', '', 'T123', '', '', '', ''),
(2, '', 'gmpdemo1', '', '', 'Chemical', ' Absence of Asbestos', 'active', 'master', '2023-05-16 12:26:25', '', NULL, '', '', 'T123', '', '', '', ''),
(3, '', 'gmpdemo1', '', '', 'Physcial', 'Colour', 'active', 'master', '2023-05-16 12:58:36', '', NULL, '', '', 'T123', '', '', '', ''),
(4, '', 'gmpdemo1', '', '', 'Physcial', 'Appearance ', 'active', 'master', '2023-05-16 13:00:12', '', NULL, '', '', 'T123', '', '', '', ''),
(5, '', 'gmpdemo1', '', '', 'Physcial', 'Odour', 'active', 'master', '2023-05-16 13:00:29', '', NULL, '', '', 'T123', '', '', '', ''),
(6, '', 'gmpdemo1', '', '', 'Physcial', 'Taste', 'active', 'master', '2023-05-16 13:00:45', '', NULL, '', '', 'T123', '', '', '', ''),
(8, '', 'gmpdemo1', '', '', 'LOD', 'Moisture ', 'active', 'master', '2023-05-16 15:01:41', '', NULL, '', '', 'T123', '', '', '', ''),
(9, '', 'gmpdemo1', '', '', 'Chemical', 'pH 10%', 'active', 'master', '2023-05-16 15:02:41', '', NULL, '', '', 'T123', '', '', '', ''),
(10, '', 'gmpdemo1', '', '', 'Physcial', 'Uniform mixing / Blending of powder', 'active', 'master', '2023-05-16 15:07:04', '', NULL, '', '', 'T123', '', '', '', ''),
(11, '', 'gmpdemo1', '', '', 'Chemical', 'pH 5% Solution', 'active', 'master', '2023-05-16 15:14:32', '', NULL, '', '', 'T123', '', '', '', ''),
(12, '', 'gmpdemo1', '', '', 'Physcial', 'Foreign matter test', 'active', 'master', '2023-05-16 15:14:49', '', NULL, '', '', 'T123', '', '', '', ''),
(13, '', 'gmpdemo1', '', '', 'Physcial', 'Aroma of powdered product', 'active', 'master', '2023-05-16 15:15:57', '', NULL, '', '', 'T123', '', '', '', ''),
(14, '', 'gmpdemo1', '', '', 'Physcial', 'Aroma after mixing in water ', 'active', 'master', '2023-05-16 15:23:45', '', NULL, '', '', 'T123', '', '', '', ''),
(15, '', 'gmpdemo1', '', '', 'Physcial', 'Mixability/solubility', 'active', 'master', '2023-05-16 15:24:39', '', NULL, '', '', 'T123', '', '', '', ''),
(16, '', 'gmpdemo1', '', '', 'Physcial', 'Consistency after mixing ', 'active', 'master', '2023-05-16 15:29:53', '', NULL, '', '', 'T123', '', '', '', ''),
(17, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve integrity', 'active', 'master', '2023-05-16 15:33:32', '', NULL, '', '', 'T123', '', '', '', ''),
(18, '', 'gmpdemo1', '', '', 'Physcial', 'Time required for mixing in water', 'active', 'master', '2023-05-16 15:34:07', '', NULL, '', '', 'T123', '', '', '', ''),
(19, '', 'gmpdemo1', '', '', 'Physcial', 'Taste after mixing in water ', 'active', 'master', '2023-05-16 15:38:18', '', NULL, '', '', 'T123', '', '', '', ''),
(20, '', 'gmpdemo1', '', '', 'Physcial', 'Colour after mixing in water', 'active', 'master', '2023-05-16 15:38:42', '', NULL, '', '', 'T123', '', '', '', ''),
(21, '', 'gmpdemo1', '', '', 'Chemical', 'Protein estimation', 'active', 'master', '2023-05-16 15:39:26', '', NULL, '', '', 'T123', '', '', '', ''),
(22, '', 'gmpdemo1', '', '', 'Physcial', 'Weight crosscheck', 'active', 'master', '2023-05-16 15:41:00', '', NULL, '', '', 'T123', '', '', '', ''),
(23, '', 'gmpdemo1', '', '', 'Physcial', 'Comparison with standard sample', 'active', 'master', '2023-05-16 15:41:22', '', NULL, '', '', 'T123', '', '', '', ''),
(24, '', 'gmpdemo1', '', '', 'Chemical', 'Total Ash', 'active', 'master', '2023-05-16 15:42:07', '', NULL, '', '', 'T123', '', '', '', ''),
(25, '', 'gmpdemo1', '', '', 'Physcial', 'Labelling ', 'active', 'master', '2023-05-16 15:43:34', '', NULL, '', '', 'T123', '', '', '', ''),
(26, '', 'gmpdemo1', '', '', 'Microbiology', 'Total plate count ', 'active', 'master', '2023-05-16 15:51:03', '', NULL, '', '', 'T123', '', '', '', ''),
(27, '', 'gmpdemo1', '', '', 'Microbiology', 'Total yeast and mould count', 'active', 'master', '2023-05-16 15:55:25', '', NULL, '', '', 'T123', '', '', '', ''),
(28, '', 'gmpdemo1', '', '', 'Microbiology', 'Pathogen test', 'active', 'master', '2023-05-16 15:58:18', '', NULL, '', '', 'T123', '', '', '', ''),
(29, '', 'gmpdemo1', '', '', 'Microbiology', 'Environment Monitoring ', 'active', 'master', '2023-05-16 16:12:37', '', NULL, '', '', 'T123', '', '', '', ''),
(30, '', 'gmpdemo1', '', '', 'Physcial', 'test1', 'active', 'master', '2023-05-17 12:09:07', '', NULL, '', '', 'T123', '', '', '', ''),
(31, '', 'gmpdemo1', '', '', 'Microbiology', 'swab test Equipment', 'active', 'master', '2023-05-17 12:10:19', '', NULL, '', '', 'T123', '', '', '', ''),
(32, '', 'gmpdemo1', '', '', 'Microbiology', 'Rinse analysis', 'active', 'master', '2023-05-17 12:27:49', '', NULL, '', '', 'T123', '', '', '', ''),
(33, '', 'gmpdemo1', '', '', 'Microbiology', 'Finger Dab', 'active', 'master', '2023-05-17 13:02:37', '', NULL, '', '', 'T123', '', '', '', ''),
(34, '', 'gmpdemo1', '', '', 'Packing', 'Packing material used', 'active', 'master', '2023-05-20 12:20:16', '', NULL, '', '', 'T123', '', '', '', ''),
(35, '', 'gmpdemo1', '', '', 'Physcial', 'Protein estimation', 'active', 'master', '2023-05-31 11:09:50', '', NULL, '', '', 'T123', '', '', '', ''),
(36, '', 'gmpdemo1', '', '', 'Chemical', 'Protein estimation', 'active', 'master', '2023-05-31 11:10:27', '', NULL, '', '', 'T123', '', '', '', ''),
(37, '', 'gmpdemo1', '', '', 'Chemical', 'Assay', 'active', 'master', '2023-06-16 10:29:10', '', NULL, '', '', 'T123', '', '', '', ''),
(38, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Anaysis ', 'active', 'master', '2023-06-16 12:29:28', '', NULL, '', '', 'T123', '', '', '', ''),
(39, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk Density ', 'active', 'master', '2023-06-16 12:55:25', '', NULL, '', '', 'T123', '', '', '', ''),
(40, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk Density ', 'active', 'master', '2023-06-16 13:07:21', '', NULL, '', '', 'T123', '', '', '', ''),
(41, '', 'gmpdemo1', '', '', 'Chemical', 'Bulk Density ', 'active', 'master', '2023-06-16 13:12:19', '', NULL, '', '', 'T123', '', '', '', ''),
(42, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk density', 'active', 'master', '2023-06-16 13:14:31', '', NULL, '', '', 'T123', '', '', '', ''),
(43, '', 'gmpdemo1', '', '', 'Physcial', 'Bulk density', 'active', 'master', '2023-06-16 13:16:35', '', NULL, '', '', 'T123', '', '', '', ''),
(44, '', 'gmpdemo1', '', '', 'Microbiology', 'Escherichia Coli', 'active', 'master', '2023-06-17 10:33:21', '', NULL, '', '', 'T123', '', '', '', ''),
(45, '', 'gmpdemo1', '', '', 'Microbiology', 'Salmonella', 'active', 'master', '2023-06-17 10:34:17', '', NULL, '', '', 'T123', '', '', '', ''),
(46, '', 'gmpdemo1', '', '', 'Microbiology', 'Staphylococcus aureus', 'active', 'master', '2023-06-17 10:34:37', '', NULL, '', '', 'T123', '', '', '', ''),
(47, '', 'gmpdemo1', '', '', 'Microbiology', 'Coliform', 'active', 'master', '2023-06-17 10:34:56', '', NULL, '', '', 'T123', '', '', '', ''),
(48, '', 'gmpdemo1', '', '', 'Microbiology', 'Pseudomonas aeruginosa', 'active', 'master', '2023-06-17 10:35:19', '', NULL, '', '', 'T123', '', '', '', ''),
(49, '', 'gmpdemo1', '', '', 'Chemical', 'pH of 10% solution', 'active', 'master', '2023-06-17 10:44:19', '', NULL, '', '', 'T123', '', '', '', ''),
(50, '', 'gmpdemo1', '', '', 'Chemical', 'pH of 5% Solution', 'active', 'master', '2023-06-17 10:44:38', '', NULL, '', '', 'T123', '', '', '', ''),
(51, '', 'gmpdemo1', '', '', 'Chemical', 'Sieve Analysis', 'active', 'master', '2023-06-17 10:46:37', '', NULL, '', '', 'T123', '', '', '', ''),
(52, '', 'gmpdemo1', '', '', 'Chemical', 'test', 'active', 'master', '2023-07-04 15:59:30', '', NULL, '', '', 'T123', '', '', '', ''),
(53, 'other', 'gmpdemo1', '', '', '', 'Sample Test', 'active', 'master', '2023-07-26 17:28:25', '', NULL, '', '', 'T123', '', '', '', ''),
(54, 'eye_examination', 'gmpdemo1', '', '', '', 'aba', 'active', 'master', '2023-08-01 12:19:37', '', NULL, '', '', 'T123', '', '', '', ''),
(55, 'eye_examination', 'gmpdemo1', '', '', '', 'jh', 'active', 'master', '2023-08-01 12:22:40', '', NULL, '', '', 'T123', '', '', '', ''),
(56, 'genaral_physical', 'gmpdemo1', '', '', '', 'rd', 'active', 'master', '2023-08-01 12:25:18', '', NULL, '', '', 'T123', '', '', '', ''),
(57, 'eye_examination', 'gmpdemo1', '', '', '', 'hhh', 'active', 'master', '2023-08-01 12:35:40', '', NULL, '', '', 'T123', '', '', '', ''),
(58, 'eye_examination', 'gmpdemo1', '', '', '', 'hhh', 'active', 'master', '2023-08-01 12:36:14', '', NULL, '', '', 'T123', '', '', '', ''),
(59, 'eye_examination', 'gmpdemo1', '', '', '', 'jj', 'active', 'master', '2023-08-01 12:54:20', '', NULL, '', '', 'T123', '', '', '', ''),
(60, 'eye_examination', 'gmpdemo1', '', '', '', 'ok', 'active', 'master', '2023-08-01 12:56:15', '', NULL, '', '', 'T123', '', '', '', ''),
(61, 'eye_examination', 'gmpdemo1', '', '', '', 'ohh', 'active', 'master', '2023-08-01 13:09:47', '', NULL, '', '', 'T123', '', '', '', ''),
(62, 'genaral_physical', 'gmpdemo1', '', '', '', 'ohkk', 'active', 'master', '2023-08-01 13:11:30', '', NULL, '', '', 'T123', '', '', '', ''),
(63, 'genaral_physical', 'gmpdemo1', '', '', '', 'ohkk', 'active', 'master', '2023-08-01 13:12:19', '', NULL, '', '', 'T123', '', '', '', ''),
(64, 'genaral_physical', 'gmpdemo1', '', '', '', 'ok', 'active', 'master', '2023-08-01 15:12:35', '', NULL, '', '', 'T123', '', '', '', ''),
(65, 'blood_count', 'gmpdemo1', '', '', '', 'nahhh', 'active', 'master', '2023-08-01 15:15:12', '', NULL, '', '', 'T123', '', '', '', ''),
(66, 'genaral_physical', 'gmpdemo1', '', '', '', 'kk', 'active', 'master', '2023-08-02 11:33:26', '', NULL, '', '', 'T123', '', '', '', ''),
(67, 'genaral_physical', 'gmpdemo1', '', '', '', 'dengue', 'active', 'master', '2023-08-02 12:53:56', '', NULL, '', '', 'T123', '', '', '', ''),
(68, 'genaral_physical', 'gmpdemo1', '', '', '', 'dengue', 'active', 'master', '2023-08-02 12:53:57', '', NULL, '', '', 'T123', '', '', '', ''),
(69, 'genaral_physical', 'gmpdemo1', '', '', '', 'dengue', 'active', 'master', '2023-08-02 14:34:35', '', NULL, '', '', 'T123', '', '', '', ''),
(70, '', 'gmpdemo1', '', '', 'Physcial', 'Sieve analysis', 'active', 'master', '2023-08-02 16:50:49', '', NULL, '', '', 'T123', '', '', '', ''),
(74, '', 'gmpdemo1', '', '', 'Packing', 'Weight', 'active', 'master', '2023-08-28 10:33:32', '', NULL, '', '', 'T123', '', '', '', ''),
(75, '', 'gmpdemo1', '', '', 'Packing', 'Heigth ', 'active', 'master', '2023-08-28 10:33:52', '', NULL, '', '', 'T123', '', '', '', ''),
(76, '', 'gmpdemo1', '', '', 'Packing', 'Width', 'active', 'master', '2023-08-28 10:34:06', '', NULL, '', '', 'T123', '', '', '', ''),
(77, '', 'gmpdemo1', '', '', 'Packing', 'Length', 'active', 'master', '2023-08-28 10:34:23', '', NULL, '', '', 'T123', '', '', '', ''),
(78, '', 'gmpdemo1', '', '', 'Packing', 'Gross weight of jar without cap', 'active', 'master', '2023-08-28 14:17:22', '', NULL, '', '', 'T123', '', '', '', ''),
(79, '', 'gmpdemo1', '', '', 'Packing', 'Jar total height without cap', 'active', 'master', '2023-08-28 14:17:51', '', NULL, '', '', 'T123', '', '', '', ''),
(80, '', 'gmpdemo1', '', '', 'Packing', 'Jar total height with cap', 'active', 'master', '2023-08-28 14:18:15', '', NULL, '', '', 'T123', '', '', '', ''),
(81, '', 'gmpdemo1', '', '', 'Packing', 'Jar Outer diameter ', 'active', 'master', '2023-08-28 14:18:42', '', NULL, '', '', 'T123', '', '', '', ''),
(82, '', 'gmpdemo1', '', '', 'Packing', 'Jar Inner diameter neck', 'active', 'master', '2023-08-28 14:19:24', '', NULL, '', '', 'T123', '', '', '', ''),
(83, '', 'gmpdemo1', '', '', 'Packing', 'Jar overflow capacity', 'active', 'master', '2023-08-28 14:19:46', '', NULL, '', '', 'T123', '', '', '', ''),
(84, '', 'gmpdemo1', '', '', 'Packing', 'Jar colour', 'active', 'master', '2023-08-28 14:20:14', '', NULL, '', '', 'T123', '', '', '', ''),
(85, '', 'gmpdemo1', '', '', 'Packing', 'Cap total height', 'active', 'master', '2023-08-28 14:20:35', '', NULL, '', '', 'T123', '', '', '', ''),
(86, '', 'gmpdemo1', '', '', 'Packing', 'Cap ID with thread', 'active', 'master', '2023-08-28 14:20:55', '', NULL, '', '', 'T123', '', '', '', ''),
(87, '', 'gmpdemo1', '', '', 'Packing', 'Diameter', 'active', 'master', '2023-08-28 14:21:18', '', NULL, '', '', 'T123', '', '', '', ''),
(88, '', 'gmpdemo1', '', '', 'Packing', 'Cap Diameter', 'active', 'master', '2023-08-28 14:21:39', '', NULL, '', '', 'T123', '', '', '', ''),
(89, '', 'gmpdemo1', '', '', 'Packing', 'Cap weight', 'active', 'master', '2023-08-28 14:22:11', '', NULL, '', '', 'T123', '', '', '', ''),
(90, '', 'gmpdemo1', '', '', 'Packing', 'Cap colour', 'active', 'master', '2023-08-28 14:23:03', '', NULL, '', '', 'T123', '', '', '', ''),
(91, '', 'gmpdemo1', '', '', 'Packing', 'Length with handle', 'active', 'master', '2023-08-28 14:57:53', '', NULL, '', '', 'T123', '', '', '', ''),
(92, '', 'gmpdemo1', '', '', 'Packing', 'Cup height', 'active', 'master', '2023-08-28 14:58:07', '', NULL, '', '', 'T123', '', '', '', ''),
(93, '', 'gmpdemo1', '', '', 'Packing', 'Cup diameter', 'active', 'master', '2023-08-28 14:58:26', '', NULL, '', '', 'T123', '', '', '', ''),
(94, '', 'gmpdemo1', '', '', 'Packing', 'Scoop weight', 'active', 'master', '2023-08-28 14:58:51', '', NULL, '', '', 'T123', '', '', '', ''),
(95, '', 'gmpdemo1', '', '', 'Packing', 'Scoop colour', 'active', 'master', '2023-08-28 14:59:08', '', NULL, '', '', 'T123', '', '', '', ''),
(96, '', 'gmpdemo1', '', '', 'Packing', 'Wall thickness', 'active', 'master', '2023-08-28 14:59:22', '', NULL, '', '', 'T123', '', '', '', ''),
(97, '', 'gmpdemo1', '', '', 'Packing', 'Brimful capacity', 'active', 'master', '2023-08-28 14:59:54', '', NULL, '', '', 'T123', '', '', '', ''),
(98, '', 'gmpdemo1', '', '', 'Packing', 'Diameter', 'active', 'master', '2023-08-28 15:13:03', '', NULL, '', '', 'T123', '', '', '', ''),
(99, '', 'gmpdemo1', '', '', 'Packing', 'Thickness', 'active', 'master', '2023-08-28 15:16:21', '', NULL, '', '', 'T123', '', '', '', ''),
(100, '', 'gmpdemo1', '', '', 'Packing', 'Corrugated box', 'active', 'master', '2023-08-30 09:04:14', '', NULL, '', '', 'T123', '', '', '', ''),
(101, '', 'gmpdemo1', '', '', 'Packing', 'External length', 'active', 'master', '2023-08-30 09:04:52', '', NULL, '', '', 'T123', '', '', '', ''),
(102, '', 'gmpdemo1', '', '', 'Packing', 'External width', 'active', 'master', '2023-08-30 09:05:06', '', NULL, '', '', 'T123', '', '', '', ''),
(103, '', 'gmpdemo1', '', '', 'Packing', 'External height', 'active', 'master', '2023-08-30 09:05:23', '', NULL, '', '', 'T123', '', '', '', ''),
(104, '', 'gmpdemo1', '', '', 'Packing', 'Colour', 'active', 'master', '2023-08-30 09:05:36', '', NULL, '', '', 'T123', '', '', '', ''),
(105, '', 'gmpdemo1', '', '', 'Packing', 'Colour', 'active', 'master', '2023-08-30 09:06:28', '', NULL, '', '', 'T123', '', '', '', ''),
(106, '', 'gmpdemo1', '', '', 'Packing', 'Closing flap gap', 'active', 'master', '2023-08-30 09:06:46', '', NULL, '', '', 'T123', '', '', '', ''),
(107, '', 'gmpdemo1', '', '', 'Packing', 'Number of ply', 'active', 'master', '2023-08-30 09:07:10', '', NULL, '', '', 'T123', '', '', '', ''),
(108, '', 'gmpdemo1', '', '', 'Packing', 'Number of ply', 'active', 'master', '2023-08-30 09:07:22', '', NULL, '', '', 'T123', '', '', '', ''),
(109, '', 'gmpdemo1', '', '', 'Packing', 'Manufacturing joint type', 'active', 'master', '2023-08-30 09:07:57', '', NULL, '', '', 'T123', '', '', '', ''),
(110, '', 'gmpdemo1', '', '', 'Packing', 'Flap bend test ', 'active', 'master', '2023-08-30 09:08:21', '', NULL, '', '', 'T123', '', '', '', ''),
(111, '', 'gmpdemo1', '', '', 'Packing', 'Physical damage', 'active', 'master', '2023-08-30 09:08:34', '', NULL, '', '', 'T123', '', '', '', ''),
(112, '', 'gmpdemo1', '', '', 'Packing', 'Delamination', 'active', 'master', '2023-09-05 12:19:44', '', NULL, '', '', 'T123', '', '', '', ''),
(113, '', 'gmpdemo1', '', '', 'Packing', 'Burrs/ Cuts', 'active', 'master', '2023-09-05 12:20:05', '', NULL, '', '', 'T123', '', '', '', ''),
(114, '', 'gmpdemo1', '', '', 'Packing', 'Thickness', 'active', 'master', '2023-09-05 12:20:19', '', NULL, '', '', 'T123', '', '', '', ''),
(115, '', 'gmpdemo1', '', '', 'Packing', 'Material grade', 'active', 'master', '2023-09-06 14:04:14', '', NULL, '', '', 'T123', '', '', '', ''),
(116, '', 'gmpdemo1', '', '', 'Packing', 'External length ', 'active', 'master', '2023-09-08 12:00:44', '', NULL, '', '', 'T123', '', '', '', ''),
(117, '', 'gmpdemo1', '', '', 'Packing', 'Jar neck OD with thread', 'active', 'master', '2023-09-09 10:31:29', '', NULL, '', '', 'T123', '', '', '', ''),
(118, '', 'gmpdemo1', '', '', 'Packing', 'Weight', 'active', 'master', '2023-10-07 12:30:03', '', NULL, '', '', 'T123', '', '', '', ''),
(119, '', 'gmpdemo1', '', '', 'Packing', 'Weight of scoop', 'active', 'master', '2023-10-07 12:30:19', '', NULL, '', '', 'T123', '', '', '', ''),
(120, '', 'gmpdemo1', '', '', 'Packing', 'Weight of jar ', 'active', 'master', '2023-10-07 12:30:48', '', NULL, '', '', 'T123', '', '', '', ''),
(121, '', 'gmpdemo1', '', '', 'Chemical', 'Protein content', 'active', 'master', '2023-10-10 11:04:20', '', NULL, '', '', 'T123', '', '', '', ''),
(122, '', 'gmpdemo1', '', '', 'Chemical', 'Assay', 'active', 'master', '2023-12-07 15:01:15', '', NULL, '', '', 'T001', '', '', '', '');

--
-- Dumping data for table `testing`
--

INSERT INTO `testing` (`id`, `plant_id`, `user_no`, `testing_no`, `sampling_no`, `grn_no`, `ar_no`, `material_code`, `status`, `entry_by`, `entry_date`, `testing_person`, `specification_no`, `material_grade`, `check_by`, `check_date`, `approve_by`, `approve_date`, `t_no1`, `iscoa`, `recheck`, `inward_no`, `sampling_date`, `sampling_by`, `alalysis_start_date`, `alalysis_start_time`, `alalysis_end_date`, `alalysis_end_time`, `is_RDS`, `allocation`) VALUES
(44, '87', 'gmpdemo1', 'SBT-001', 'S0260', 'GRN/22/R/0281', 'AR-03', 'RM0001179', 'Approved', 'master', '2023-12-11', 'done', 'RM-087545', '', 'master', '2023-12-11 04:12:44', 'master', '2023-12-11 04:12:49', 1, 'pending', 'no', '', '0000-00-00', '', '0000-00-00', '00:00:00', '0000-00-00', '00:00:00', 1, '');

--
-- Dumping data for table `testing_tests`
--

INSERT INTO `testing_tests` (`id`, `plant_id`, `testing_date`, `testing_start_time`, `testing_end_time`, `user_no`, `testing_no`, `test`, `subtest`, `description`, `ismethod`, `method_details`, `isoutside`, `person`, `person_alt`, `result`, `remark`, `start_time`, `end_time`, `descriptions`, `status`, `observation`, `fail_status`, `fail_form`, `fail_no`, `correct_result`, `specification_no`, `spec_test_no`, `limits`, `testing_person`, `batch_no`, `grn_no`, `outside_testing`, `lab_no`, `checked_by`, `checked_date`, `checker_remarks`, `checker_action`, `old_result`, `retest_start_date`, `retest_start_time`, `retest_remarks`, `retested_by`, `retest_date`, `incident_oos_no`, `testing_status`, `error`, `release_status`, `spec_test_id`) VALUES
(422, '', '', '', '', 'gmpdemo1', 'SBT-001', 'Assay', 'test1', '\n                                                 ok', 'No', '1', 'No', '', '', '119.70', 'ok', '00:00:00', '16:11:00', '', 'inprocess', '', 'pending', '', '', '', 'RM-087545', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', '', '', 0, '0000-00-00', '00:00:00', '', '', '0000-00-00 00:00:00', '', '', '', '', '5455'),
(423, '', '', '', '', 'gmpdemo1', 'SBT-001', 'Protein estimation', 'On dry basis', '\n                                                 ok', 'No', '1', 'No', '', '', 'ok', 'ok', '00:00:00', '16:12:00', '', 'inprocess', '', 'pending', '', '', '', 'RM-087545', '', '', '', '', '', '', '', '', '0000-00-00 00:00:00', '', '', 0, '0000-00-00', '00:00:00', '', '', '0000-00-00 00:00:00', '', '', '', '', '5456');

--
-- Dumping data for table `test_methods`
--

INSERT INTO `test_methods` (`id`, `test_id`, `spec_test_id`, `chemical_reagents`, `balance`, `equipment_instruments`, `glasswares`, `dilutions`, `calculations`, `standards`, `procedure`, `gc`, `uw`, `volumetric_solutions`, `hplc`, `solution_preparation`, `entry_by`, `entry_on`, `media`, `phases`) VALUES
(864, 5449, 5449, '[{\"id\":\"2\",\"user_no\":\"gmpdemo1\",\"chemical_no\":\"C-0001\",\"chemical_name\":\"Plate count agar\",\"molecular_wt\":\"0.00\",\"pack_size\":\"0.00\",\"cas_name\":\"\",\"grade\":\"NA\",\"make\":[],\"unit\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"approve\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', '[{\"make\":\"Sansui\",\"category\":\"Fix\",\"capacity\":\"0.82\",\"equipment_id\":\"SIPL/EQ/QC/WB/15\",\"equipment_name\":\"Weighing Balance \"}]', '[{\"id\":\"2\",\"user_no\":\"gmpdemo1\",\"glassware_no\":\"G10002\",\"name\":\"Conical flask \",\"capacity\":\"100.00\",\"unit\":\"ml\",\"glassware_class\":\"type A\",\"description\":\"10 numbers\",\"make\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"pending\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21 10:16:38\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', 0, '', 'Method of Analysis / Standard Test Procedure', '', '', '[]', '[]', '', 'master', '2023-12-07 04:47:11', '[]', '[]'),
(865, 5450, 5450, '[{\"id\":\"3\",\"user_no\":\"gmpdemo1\",\"chemical_no\":\"C-0003\",\"chemical_name\":\"MacConkey Agar\",\"molecular_wt\":\"0.00\",\"pack_size\":\"0.00\",\"cas_name\":\"\",\"grade\":\"NA\",\"make\":[],\"unit\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"approve\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', '[{\"make\":\"Sansui\",\"category\":\"Fix\",\"capacity\":\"0.82\",\"equipment_id\":\"SIPL/EQ/QC/WB/15\",\"equipment_name\":\"Weighing Balance \"}]', '[{\"id\":\"8\",\"user_no\":\"gmpdemo1\",\"glassware_no\":\"G10008\",\"name\":\"Beakers\",\"capacity\":\"100.00\",\"unit\":\"ml\",\"glassware_class\":\"type A\",\"description\":\"05 numbers\",\"make\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"pending\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21 10:20:51\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', 0, '', 'Method of Analysis / Standard Test Procedure', '', '', '[]', '[]', '', 'master', '2023-12-07 04:47:34', '[]', '[]'),
(866, 5451, 5451, '[]', '[]', '[{\"make\":\"Sansui\",\"category\":\"Fix\",\"capacity\":\"0.82\",\"equipment_id\":\"SIPL/EQ/QC/WB/15\",\"equipment_name\":\"Weighing Balance \"}]', '[{\"id\":\"16\",\"user_no\":\"gmpdemo1\",\"glassware_no\":\"G10016\",\"name\":\"Measuring cylinder \",\"capacity\":\"500.00\",\"unit\":\"ml\",\"glassware_class\":\"type A\",\"description\":\"01 number\",\"make\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"pending\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21 11:00:21\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', 0, '', 'Method of Analysis / Standard Test Procedure', '', '', '[]', '[]', '', 'master', '2023-12-07 04:47:59', '[]', '[]'),
(867, 5452, 5452, '[{\"id\":\"4\",\"user_no\":\"gmpdemo1\",\"chemical_no\":\"C-0004\",\"chemical_name\":\"Violet Red Bile Agar\",\"molecular_wt\":\"0.00\",\"pack_size\":\"0.00\",\"cas_name\":\"\",\"grade\":\"NA\",\"make\":[],\"unit\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"approve\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', '[{\"make\":\"Sansui\",\"category\":\"Fix\",\"capacity\":\"0.82\",\"equipment_id\":\"SIPL/EQ/QC/WB/15\",\"equipment_name\":\"Weighing Balance \"}]', '[{\"id\":\"3\",\"user_no\":\"gmpdemo1\",\"glassware_no\":\"G10003\",\"name\":\"Conical flask \",\"capacity\":\"250.00\",\"unit\":\"ml\",\"glassware_class\":\"type A\",\"description\":\"08 numbers\",\"make\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"pending\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21 10:17:13\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', 0, '', 'Method of Analysis / Standard Test Procedure', '', '', '[]', '[]', '', 'master', '2023-12-08 04:27:17', '[]', '[]'),
(868, 5453, 5453, '[{\"id\":\"19\",\"user_no\":\"gmpdemo1\",\"chemical_no\":\"C-0019\",\"chemical_name\":\"Methyl red 0.01% indicator\",\"molecular_wt\":\"0.00\",\"pack_size\":\"0.00\",\"cas_name\":\"\",\"grade\":\"NA\",\"make\":[],\"unit\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"approve\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', '[{\"make\":\"Sansui\",\"category\":\"Fix\",\"capacity\":\"0.22\",\"equipment_id\":\"SIPL/EQ/QC/WB/17\",\"equipment_name\":\"Weighing Balance \"}]', '[]', '[]', 0, '', 'Method of Analysis / Standard Test Procedure', '', '', '[]', '[]', '', 'master', '2023-12-08 04:29:12', '[]', '[]'),
(869, 5454, 5454, '[{\"id\":\"8\",\"user_no\":\"gmpdemo1\",\"chemical_no\":\"C-0008\",\"chemical_name\":\"Rappaport Vassiliadia Salmonella Enrichment Broth\",\"molecular_wt\":\"0.00\",\"pack_size\":\"0.00\",\"cas_name\":\"\",\"grade\":\"NA\",\"make\":[],\"unit\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"approve\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', '[{\"make\":\"Test\",\"category\":\"Fix\",\"capacity\":\"0.00\",\"equipment_id\":\"LAF09\",\"equipment_name\":\"Sampling Process\"}]', '[{\"id\":\"18\",\"user_no\":\"gmpdemo1\",\"glassware_no\":\"G10018\",\"name\":\"Measuring cylinder \",\"capacity\":\"250.00\",\"unit\":\"ml\",\"glassware_class\":\"type A\",\"description\":\"01 number\",\"make\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"pending\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21 11:01:56\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', 0, '', 'Method of Analysis / Standard Test Procedure', '', '', '[]', '[]', '', 'master', '2023-12-08 04:29:41', '[]', '[]'),
(870, 5455, 5455, '[{\"id\":\"3\",\"user_no\":\"gmpdemo1\",\"chemical_no\":\"C-0003\",\"chemical_name\":\"MacConkey Agar\",\"molecular_wt\":\"0.00\",\"pack_size\":\"0.00\",\"cas_name\":\"\",\"grade\":\"NA\",\"make\":[],\"unit\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"approve\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', '[{\"make\":\"Sansui\",\"category\":\"Fix\",\"capacity\":\"6.00\",\"equipment_id\":\"SIPL/EQ/QC/WB/16\",\"equipment_name\":\"Weighing Balance \"}]', '[{\"id\":\"4\",\"user_no\":\"gmpdemo1\",\"glassware_no\":\"G10004\",\"name\":\"Conical flask \",\"capacity\":\"500.00\",\"unit\":\"ml\",\"glassware_class\":\"type A\",\"description\":\"09 numbers\",\"make\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"pending\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21 10:18:15\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', 0, '', 'Method of Analysis / Standard Test Procedure', '', '', '[]', '[]', '', 'master', '2023-12-09 01:46:41', '[]', '[]'),
(871, 5456, 5456, '[{\"id\":\"8\",\"user_no\":\"gmpdemo1\",\"chemical_no\":\"C-0008\",\"chemical_name\":\"Rappaport Vassiliadia Salmonella Enrichment Broth\",\"molecular_wt\":\"0.00\",\"pack_size\":\"0.00\",\"cas_name\":\"\",\"grade\":\"NA\",\"make\":[],\"unit\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"approve\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', '[{\"make\":\"45\",\"category\":\"Fix\",\"capacity\":\"0.00\",\"equipment_id\":\"LAF560\",\"equipment_name\":\"LAF ID\"}]', '[{\"id\":\"10\",\"user_no\":\"gmpdemo1\",\"glassware_no\":\"G10010\",\"name\":\"Beaker\",\"capacity\":\"100.00\",\"unit\":\"ml\",\"glassware_class\":\"type A\",\"description\":\"05 numbers\",\"make\":\"\",\"gst\":\"0.00\",\"hsn\":\"\",\"status\":\"pending\",\"entry_by\":\"master\",\"entry_date\":\"2023-05-21 10:56:01\",\"approve_by\":\"\",\"approve_date\":null,\"plant_id\":\"87\"}]', '[]', 0, '', 'Method of Analysis / Standard Test Procedure', '', '', '[]', '[]', '', 'master', '2023-12-09 01:47:08', '[]', '[]');

--
-- Dumping data for table `unit`
--

INSERT INTO `unit` (`id`, `plant_id`, `user_no`, `unit_type`, `unit`, `status`, `entry_by`, `entry_date`, `unit_code`, `description`) VALUES
(28, '87', 'gmpdemo1', '', 'KG', 'pending', 'master', '2023-12-06', '', ''),
(29, '87', 'gmpdemo1', '', 'Mg', 'pending', 'master', '2023-12-06', '', ''),
(30, '87', 'gmpdemo1', '', 'Li', 'pending', 'master', '2023-12-07', '', ''),
(31, '87', 'gmpdemo1', '', 'Nos', 'pending', 'master', '2023-12-07', '', '');

--
-- Dumping data for table `unitformula`
--

INSERT INTO `unitformula` (`id`, `plant_id`, `user_no`, `bom_type`, `master_formula_type`, `product_type`, `mfr_description`, `mfr_no`, `product_code`, `formula_for`, `average_weight`, `raw_materials`, `packing_materials`, `additional_materials`, `instructions`, `abbreviation`, `batch_size`, `unit`, `bmr_checklist`, `version_no`, `status`, `entry_by`, `entry_date`, `checked_by`, `checked_date`, `approve_by`, `approve_date`, `input_qty`, `yield_qty`, `dispatch_qty`, `stages`, `min_per`, `max_per`, `min_output_qty`, `max_output_qty`, `drum_type`, `product_id`, `pm_batch_size`, `pm_pack_size`, `pm_pack_unit`, `average_weight_unit`, `batch_size_unit`, `batch_size_uom`, `dosage_form`, `dose_unit_type`, `revison_history`) VALUES
(172, '87', 'gmpdemo1', '', 'New', 'Tablet', 'abc', 'MFR001', 'PFG4', 'Dose Unit', 500.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"100\",\"overages_per\":0,\"qty_overages_qty\":\"100.000000\",\"percent_qty\":\"20.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":100,\"material_code\":\"RM0001166\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"200\",\"overages_per\":0,\"qty_overages_qty\":\"200.000000\",\"percent_qty\":\"40.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":200,\"material_code\":\"RM00031\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Aluminum Hydroxide\",\"material_Code\":\"RM0001167\",\"grade\":\"IP\",\"qty\":\"200\",\"overages_per\":0,\"qty_overages_qty\":\"200.000000\",\"percent_qty\":\"40.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":200,\"material_code\":\"RM0001167\"}]', '[]', '', '', '', '500', 'gm', '', '', 'approve', 'master', '2023-12-11 02:36:41', 'master', '2023-12-11 02:50:59', 'master', '2023-12-11 02:51:17', '', '', '', 'null', '1', '9', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Tablet', 'gm', '[{\"spec_no\":\"01\",\"ver_no\":\"01\",\"change_mode\":\"01\",\"change_reason\":\"01\",\"effective_date\":\"2023-12-11\"}]'),
(173, '87', 'gmpdemo1', '', 'New', 'Tablet', 'xyz', 'MFR173', 'PFG6', 'Dose Unit', 100.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Calcium Carbonate\",\"material_Code\":\"RM0001170\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001170\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Cellulose\",\"material_Code\":\"RM0001172\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001172\"}]', '[]', '', '', '', '100', 'gm', '', '', 'approve', 'master', '2023-12-11 04:29:53', 'master', '2023-12-11 04:45:03', 'master', '2023-12-11 04:45:16', '', '', '', 'null', '1', '9', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Tablet', 'gm', '[{\"spec_no\":\"RN-02\",\"ver_no\":\"VN-02\",\"change_mode\":\"CCN-02\",\"change_reason\":\"RC-02\",\"effective_date\":\"2023-12-11\"}]'),
(174, '87', 'gmpdemo1', '', 'New', 'Tablet', 'abc', 'MFR174', 'PFG5', 'Dose Unit', 400.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"100\",\"overages_per\":0,\"qty_overages_qty\":\"100.000000\",\"percent_qty\":\"25.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":100,\"material_code\":\"RM00031\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"200\",\"overages_per\":0,\"qty_overages_qty\":\"200.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":200,\"material_code\":\"RM0001166\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Aluminum Hydroxide\",\"material_Code\":\"RM0001167\",\"grade\":\"IP\",\"qty\":\"100\",\"overages_per\":0,\"qty_overages_qty\":\"100.000000\",\"percent_qty\":\"25.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"No\",\"unit\":\"KG\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":100,\"material_code\":\"RM0001167\"}]', '[]', '', '', '', '400', 'gm', '', '', 'approve', 'master', '2023-12-11 05:53:16', 'master', '2023-12-11 05:54:15', 'master', '2023-12-11 05:54:23', '', '', '', 'null', '0', '0', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Tablet', 'gm', '[{\"spec_no\":\"RN-03\",\"ver_no\":\"VN-03\",\"change_mode\":\"0003\",\"change_reason\":\"hgfg\",\"effective_date\":\"2023-12-11\"}]'),
(175, '87', 'gmpdemo1', '', 'New', 'Capsule', 'LULICONAZOLE 1.0% + METHYLPARABEN 0.14% + BENZYL ALCOHOL 1.0%', 'MFR175', 'PFG8', 'Dose Unit', 100.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Sodium Alginate test\",\"material_Code\":\"RM0001187\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"Yes\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"Yes\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001187\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Microcrystalline Cellulose Powder  test\",\"material_Code\":\"RM0001188\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"Yes\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"Yes\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001188\"}]', '[]', '', '', '', '100', 'gm', '', '', 'approve', 'master', '2023-12-11 06:13:42', 'master', '2023-12-11 06:15:37', 'master', '2023-12-11 06:15:43', '', '', '', 'null', '98', '99', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Capsule', 'Capsule', '[{\"spec_no\":\"00\",\"ver_no\":\"00\",\"change_mode\":\"00\",\"change_reason\":\" Reason for change / Rev.Description\",\"effective_date\":\"2023-11-30\"}]'),
(176, '87', 'gmpdemo1', '', 'New', 'Tablet', 'abc', 'MFR176', 'PFG7', 'Dose Unit', 100.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM00031\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"50\",\"overages_per\":0,\"qty_overages_qty\":\"50.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":50,\"material_code\":\"RM0001166\"}]', '[]', '', '', '', '100', 'gm', '', '', 'approve', 'master', '2023-12-11 06:43:33', 'master', '2023-12-11 06:44:28', 'master', '2023-12-11 06:44:40', '', '', '', 'null', '0', '0', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Tablet', 'gm', '[{\"spec_no\":\"RN-03\",\"ver_no\":\"VN-03\",\"change_mode\":\"0003\",\"change_reason\":\"0003\",\"effective_date\":\"2023-12-12\"}]'),
(177, '87', 'gmpdemo1', '', 'New', 'Capsule', 'abc', 'MFR177', 'PFG9', 'Dose Unit', 10.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"5\",\"overages_per\":0,\"qty_overages_qty\":\"5.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":5,\"material_code\":\"RM00031\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"5\",\"overages_per\":0,\"qty_overages_qty\":\"5.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"No\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":5,\"material_code\":\"RM0001166\"}]', '[]', '', '', '', '10', 'gm', '', '', 'approve', 'master', '2023-12-11 06:55:31', 'master', '2023-12-11 07:00:38', '', NULL, '', '', '', 'null', '0', '0', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Capsule', 'Capsule', '[{\"spec_no\":\"RN-00\",\"ver_no\":\"00\",\"change_mode\":\"00\",\"change_reason\":\"NA\",\"effective_date\":\"2023-12-12\"}]'),
(178, '87', 'gmpdemo1', '', 'New', 'Capsule', 'abc', 'MFR178', 'PFG10', 'Dose Unit', 30.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"15\",\"overages_per\":0,\"qty_overages_qty\":\"15.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":15,\"material_code\":\"RM00031\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"15\",\"overages_per\":0,\"qty_overages_qty\":\"15.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":15,\"material_code\":\"RM0001166\"}]', '[]', '', '', '', '30', 'gm', '', '', 'pending', 'master', '2023-12-11 06:59:48', '', '0000-00-00 00:00:00', '', NULL, '', '', '', 'null', '0', '0', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Capsule', 'Capsule', '[{\"spec_no\":\"rN-05\",\"ver_no\":\"VN-05\",\"change_mode\":\"0005\",\"change_reason\":\"asd\",\"effective_date\":\"2023-12-12\"}]'),
(179, '87', 'gmpdemo1', '', 'New', 'Tablet', 'abc', 'MFR179', 'PFG12', 'Dose Unit', 20.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM00031\"}]', '[]', '', '', '', '20', 'gm', '', '', 'approve', 'master', '2023-12-11 07:12:05', 'master', '2023-12-11 07:12:59', 'master', '2023-12-11 07:13:06', '', '', '', 'null', '50', '92', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Tablet', 'gm', '[{\"spec_no\":\"RN-07\",\"ver_no\":\"VN-07\",\"change_mode\":\"0007\",\"change_reason\":\"NA\",\"effective_date\":\"2023-12-12\"}]'),
(181, '87', 'gmpdemo1', '', 'New', 'Tablet', 'abc', 'MFR180', 'PFG11', 'Dose Unit', 20.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetyl Salicylic\",\"material_Code\":\"RM0001166\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM0001166\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Aluminum Hydroxide\",\"material_Code\":\"RM0001167\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Active\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM0001167\"}]', '[]', '', '', '', '20', 'gm', '', '', 'approve', 'master', '2023-12-11 07:23:28', 'master', '2023-12-11 07:24:25', 'master', '2023-12-11 07:24:33', '', '', '', 'null', '0', '0', '', '', '', 0, 0, 0, '', 'gm', 0, 'Nos', 'Tablet', 'gm', '[{\"spec_no\":\"RN-08\",\"ver_no\":\"VN-08\",\"change_mode\":\"0008\",\"change_reason\":\"NA\",\"effective_date\":\"2023-12-12\"}]'),
(183, '87', 'gmpdemo1', '', 'New', 'Tablet', 'abc', 'MFR182', 'PFG13', 'Dose Unit', 20.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM00031\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Aluminum Hydroxide\",\"material_Code\":\"RM0001167\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM0001167\"}]', '[]', '', '', '', '20', 'gm', '', '', 'approve', 'master', '2023-12-11 07:43:50', 'master', '2023-12-11 07:45:10', 'master', '2023-12-11 07:45:30', '', '', '', 'null', '5', '5', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Tablet', 'gm', '[{\"spec_no\":\"RN-11\",\"ver_no\":\"VN-11\",\"change_mode\":\"0011\",\"change_reason\":\"NA\",\"effective_date\":\"2023-12-11\"}]'),
(184, '87', 'gmpdemo1', '', 'New', 'Capsule', 'abc', 'MFR184', 'PFG14', 'Dose Unit', 20.00, '[{\"material_subtype\":\"Excipient\",\"material_name\":\"Acetaminophen\",\"material_Code\":\"RM00031\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"No\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"No\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM00031\"},{\"material_subtype\":\"Excipient\",\"material_name\":\"Cellulose\",\"material_Code\":\"RM0001172\",\"grade\":\"IP\",\"qty\":\"10\",\"overages_per\":0,\"qty_overages_qty\":\"10.000000\",\"percent_qty\":\"50.000000\",\"yeild_contribution\":\"Yes\",\"role\":\"Binder\",\"split_into_lots\":\"Yes\",\"unit\":\"Mg\",\"assay_compensation\":\"Yes\",\"overage_qty\":\"0\",\"total_qty\":10,\"material_code\":\"RM0001172\"}]', '[]', '', '', '', '20', 'gm', '', '', 'approve', 'master', '2023-12-11 07:53:56', 'master', '2023-12-11 07:55:05', 'master', '2023-12-11 07:55:24', '', '', '', 'null', '0', '0', '', '', '', 0, 0, 0, '', 'gm', 0, 'Kg', 'Capsule', 'gm', '[{\"spec_no\":\"RN-12\",\"ver_no\":\"VN-12\",\"change_mode\":\"0012\",\"change_reason\":\"NA\",\"effective_date\":\"2023-12-12\"}]');

--
-- Dumping data for table `unitformula_packing_materials`
--

INSERT INTO `unitformula_packing_materials` (`id`, `unit_formula_dtl_id`, `material_subtype`, `material_name`, `qty`, `unit_name`, `overages`, `role`, `total_qty`, `material_code`, `grade`) VALUES
(741, 203, 'Packing Material', 'Cotton Balls', 50.00, 'KG', 0.00, 'Primary Packing', 50.00, 'PM0031', '18'),
(742, 203, 'Packing Material', 'Box', 50.00, 'Nos', 0.00, 'Primary Packing', 50.00, 'PM001183', ''),
(743, 204, 'Packing Material', 'Blister Packs', 400.00, 'KG', 0.00, 'Primary Packing', 400.00, 'PM001182', '18'),
(744, 204, 'Packing Material', 'Box', 500.00, 'KG', 0.00, 'Primary Packing', 500.00, 'PM001183', ''),
(745, 205, 'Packing Material', 'Cotton Balls', 50.00, 'KG', 0.00, 'Primary Packing', 50.00, 'PM0031', '18'),
(746, 205, 'Packing Material', 'Box', 50.00, 'Nos', 0.00, 'Primary Packing', 50.00, 'PM001183', ''),
(747, 206, 'Packing Material', 'Cotton Balls', 100.00, 'Nos', 1.00, 'Primary Packing', 101.00, 'PM0031', '18'),
(748, 206, 'Packing Material', 'Blister Packs', 100.00, 'KG', 2.00, 'Primary Packing', 102.00, 'PM001182', '18'),
(749, 207, 'Packing Material', 'Blister Packs', 50.00, 'Nos', 0.00, 'Primary Packing', 50.00, 'PM001182', '18'),
(750, 207, 'Packing Material', 'Box', 50.00, 'Nos', 0.00, 'Primary Packing', 50.00, 'PM001183', ''),
(751, 208, 'Packing Material', 'Cotton Balls', 50.00, 'KG', 0.00, 'Primary Packing', 50.00, 'PM0031', '18'),
(752, 208, 'Packing Material', 'Box', 50.00, 'KG', 0.00, 'Primary Packing', 50.00, 'PM001183', ''),
(753, 209, 'Packing Material', 'Box', 30.00, 'Nos', 0.00, 'Primary Packing', 30.00, 'PM001183', ''),
(754, 209, 'Packing Material', 'Blister Packs', 60.00, 'KG', 0.00, 'Primary Packing', 60.00, 'PM001182', '18'),
(755, 210, 'Packing Material', 'Cotton Balls', 50.00, 'KG', 0.00, 'Primary Packing', 50.00, 'PM0031', '18'),
(756, 210, 'Packing Material', 'Box', 50.00, 'Nos', 0.00, 'Primary Packing', 50.00, 'PM001183', ''),
(757, 211, 'Packing Material', 'Box', 100.00, 'Nos', 0.00, 'Primary Packing', 100.00, 'PM001183', ''),
(758, 211, 'Packing Material', 'Blister Packs', 50.00, 'Nos', 0.00, 'Primary Packing', 50.00, 'PM001182', '18'),
(759, 212, 'Packing Material', 'Blister Packs', 30.00, 'KG', 0.00, 'Primary Packing', 30.00, 'PM001182', '18'),
(760, 212, 'Packing Material', 'Box', 20.00, 'Nos', 0.00, 'Primary Packing', 20.00, 'PM001183', ''),
(761, 213, 'Packing Material', 'Box', 20.00, 'Nos', 0.00, 'Primary Packing', 20.00, 'PM001183', ''),
(762, 213, 'Packing Material', 'Blister Packs', 30.00, 'KG', 0.00, 'Primary Packing', 30.00, 'PM001182', '18'),
(763, 214, 'Packing Material', 'Blister Packs', 50.00, 'KG', 0.00, 'Primary Packing', 50.00, 'PM001182', '18'),
(764, 214, 'Packing Material', 'Box', 50.00, 'Nos', 0.00, 'Primary Packing', 50.00, 'PM001183', '');

--
-- Dumping data for table `unitformula_pm_dtl`
--

INSERT INTO `unitformula_pm_dtl` (`id`, `unit_formula_id`, `packing_formula_id`, `market_type`, `country_specific`, `country_name`, `packing_type`, `pack_size`, `batch_size`, `unit`, `packing_materials`, `entry_by`, `entry_date`, `packing_instruction`) VALUES
(203, 172, 0, 'Domestic', '', '', 'Sale', '20', '100', 'KG', '', 'master', '2023-12-11 04:20:36', ''),
(204, 173, 0, 'Domestic', '', '', 'Sale', '20', '300', 'KG', '', 'master', '2023-12-11 06:03:09', ''),
(205, 174, 0, 'Domestic', '', '', 'Sale', '20', '400', 'KG', '', 'master', '2023-12-11 07:23:57', ''),
(206, 175, 0, 'Domestic', '', '', 'Sale', '100', '500', 'KG', '', 'master', '2023-12-11 07:45:31', ''),
(207, 176, 0, 'Domestic', '', '', 'Sale', '20', '400', 'KG', '', 'master', '2023-12-11 08:14:17', ''),
(208, 177, 0, 'Domestic', '', '', 'Sale', '20', '200', 'KG', '', 'master', '2023-12-11 08:26:10', ''),
(209, 178, 0, 'Domestic', '', '', 'Sale', '20', '50', 'KG', '', 'master', '2023-12-11 08:30:31', ''),
(210, 179, 0, 'Domestic', '', '', 'Sale', '20', '300', 'KG', '', 'master', '2023-12-11 08:42:41', ''),
(211, 181, 0, 'Domestic', '', '', 'Sale', '20', '100', 'KG', '', 'master', '2023-12-11 08:54:11', ''),
(212, 182, 0, 'Domestic', '', '', 'Sale', '20', '100', 'KG', '', 'master', '2023-12-11 09:11:09', ''),
(213, 183, 0, 'Domestic', '', '', 'Sale', '20', '100', 'KG', '', 'master', '2023-12-11 09:14:31', ''),
(214, 184, 0, 'Domestic', '', '', 'Sale', '20', '300', 'KG', '', 'master', '2023-12-11 09:24:45', '');

--
-- Dumping data for table `vessel_entry`
--

INSERT INTO `vessel_entry` (`id`, `plant_id`, `user_no`, `co`, `conditions`, `date`, `details_work`, `validity_from`, `validity_to`, `lel`, `location`, `o2`, `co_ppm`, `status`, `H2s_ppm`, `department_from`, `department_to`, `entry_by`, `entry_date`, `check_by`, `check_date`, `approve_by`, `approve_date`, `comment`) VALUES
(1, '', 'gmpdemo1', '', '', '2023-12-11', 'testing', '10:59', '16:05', '', 'Warehouse-2', '', '', 'pending', '', 'Production', 'Engineering', 'master', '2023-12-11 05:29:20', '', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', '');

--
-- Dumping data for table `work_order_batch_lots`
--

INSERT INTO `work_order_batch_lots` (`id`, `plant_id`, `work_order_id`, `lot_no`, `lot_type`, `material_code`, `batch_qty`, `status`, `dispense_recd_status`, `entry_by`, `entry_date`, `checked_by`, `checked_date`) VALUES
(1418, 87, 80, '', 'Common Materials', 'RM0001166', 10.00, 'dispensed', '', 'master', '2023-12-11 05:25:40', '0', '0000-00-00 00:00:00'),
(1419, 87, 80, '', 'Common Materials', 'RM00031', 20.00, 'dispensed', '', 'master', '2023-12-11 05:25:40', '0', '0000-00-00 00:00:00'),
(1420, 87, 80, '', 'Common Materials', 'RM0001167', 20.00, 'dispensed', '', 'master', '2023-12-11 05:25:40', '0', '0000-00-00 00:00:00'),
(1421, 87, 81, '', 'Common Materials', 'RM0001170', 250.00, 'dispensed', '', 'master', '2023-12-11 06:56:40', '0', '0000-00-00 00:00:00'),
(1422, 87, 81, '', 'Common Materials', 'RM0001172', 250.00, 'pending', '', 'master', '2023-12-11 06:56:40', '0', '0000-00-00 00:00:00'),
(1423, 87, 82, '1', 'Lot Materials', 'RM0001187', 76.50, 'dispensed', '', 'master', '2023-12-11 07:48:01', '0', '0000-00-00 00:00:00'),
(1424, 87, 82, '1', 'Lot Materials', 'RM0001188', 76.50, 'dispensed', '', 'master', '2023-12-11 07:48:01', '0', '0000-00-00 00:00:00'),
(1425, 87, 82, '2', 'Lot Materials', 'RM0001187', 76.50, 'dispensed', '', 'master', '2023-12-11 07:48:01', '0', '0000-00-00 00:00:00'),
(1426, 87, 82, '2', 'Lot Materials', 'RM0001188', 76.50, 'dispensed', '', 'master', '2023-12-11 07:48:01', '0', '0000-00-00 00:00:00'),
(1427, 87, 83, '3', 'Lot Materials', 'RM00031', 60.00, 'pending', '', 'master', '2023-12-11 09:02:18', '0', '0000-00-00 00:00:00'),
(1428, 87, 84, '4', 'Lot Materials', 'RM00031', 20.00, 'pending', '', 'master', '2023-12-11 09:18:41', '0', '0000-00-00 00:00:00'),
(1429, 87, 84, '4', 'Lot Materials', 'RM0001167', 20.00, 'pending', '', 'master', '2023-12-11 09:18:41', '0', '0000-00-00 00:00:00'),
(1430, 87, 84, '5', 'Lot Materials', 'RM00031', 20.00, 'pending', '', 'master', '2023-12-11 09:18:41', '0', '0000-00-00 00:00:00'),
(1431, 87, 84, '5', 'Lot Materials', 'RM0001167', 20.00, 'pending', '', 'master', '2023-12-11 09:18:41', '0', '0000-00-00 00:00:00'),
(1432, 87, 85, '6', 'Lot Materials', 'RM00031', 45.00, 'pending', '', 'master', '2023-12-11 09:28:50', '0', '0000-00-00 00:00:00'),
(1433, 87, 85, '6', 'Lot Materials', 'RM0001172', 45.00, 'pending', '', 'master', '2023-12-11 09:28:50', '0', '0000-00-00 00:00:00'),
(1434, 87, 85, '7', 'Lot Materials', 'RM00031', 45.00, 'pending', '', 'master', '2023-12-11 09:28:50', '0', '0000-00-00 00:00:00'),
(1435, 87, 85, '7', 'Lot Materials', 'RM0001172', 45.00, 'pending', '', 'master', '2023-12-11 09:28:50', '0', '0000-00-00 00:00:00');

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

--
-- Structure for view `master_material`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `master_material`  AS SELECT `a`.`plant_id` AS `plant_id`, `a`.`id` AS `id`, `a`.`material_type` AS `material_type`, `a`.`material_subtype` AS `material_subtype`, `a`.`material_nature` AS `material_nature`, `a`.`material_sub_type_id` AS `material_sub_type_id`, `a`.`material_code` AS `material_code`, `a`.`material_name` AS `material_name`, `a`.`hsn` AS `hsn`, `a`.`gst_id` AS `gst_id`, `a`.`status` AS `status`, `a`.`testing_required` AS `testing_required`, `c`.`igst` AS `gst_percent`, `a`.`grade` AS `grade`, `a`.`unit` AS `unit` FROM ((select `a`.`plant_id` AS `plant_id`,`a`.`id` AS `id`,`a`.`material_type` AS `material_type`,`a`.`material_subtype` AS `material_subtype`,`a`.`material_nature` AS `material_nature`,`a`.`material_sub_type_id` AS `material_sub_type_id`,`a`.`material_code` AS `material_code`,`a`.`material_name` AS `material_name`,`a`.`hsn` AS `hsn`,`a`.`gst_id` AS `gst_id`,`a`.`status` AS `status`,`b`.`testing_required` AS `testing_required`,`a`.`grade` AS `grade`,`a`.`unit` AS `unit` from (`material` `a` left join `material_type` `b` on(((`a`.`material_subtype` = `b`.`material_type`) and (`a`.`plant_id` = `b`.`plant_id`)))) union all select `a`.`plant_id` AS `plant_id`,`a`.`id` AS `id`,`b`.`material_type` AS `material_type`,`b`.`material_subtype` AS `material_subtype`,'' AS `material_nature`,`a`.`material_sub_type_id` AS `material_sub_type_id`,`a`.`material_code` AS `material_code`,`a`.`material_name` AS `material_name`,`a`.`hsn` AS `hsn`,`a`.`gst_id` AS `gst_id`,`a`.`status` AS `status`,'' AS `testing_required`,'' AS `grade`,`a`.`unit` AS `unit` from (`general_material` `a` left join `material_type` `b` on(((`a`.`material_subtype` = `b`.`material_type`) and (`a`.`plant_id` = `b`.`plant_id`))))) `a` left join `gst_per` `c` on(((`a`.`gst_id` = `c`.`id`) and (`a`.`plant_id` = `c`.`plant_id`))))union all select `a`.`plant_id` AS `plant_id`,`a`.`id` AS `id`,'Services' AS `material_type`,`a`.`service_type` AS `material_subtype`,'' AS `material_nature`,`a`.`id` AS `material_sub_type_id`,`a`.`service_code` AS `material_code`,`a`.`service_desp` AS `material_name`,`a`.`sac_code` AS `hsn`,0 AS `gst_id`,`a`.`status` AS `status`,'' AS `testing_required`,`a`.`gst_per` AS `gst_percent`,'' AS `grade`,'' AS `unit` from `service` `a` union all select `a`.`plant_id` AS `plant_id`,`a`.`id` AS `id`,'Finish Product' AS `material_type`,`a`.`product_type` AS `material_subtype`,`a`.`product_nature` AS `material_nature`,`a`.`id` AS `material_sub_type_id`,`a`.`product_code` AS `material_code`,concat(`a`.`product_name`,'-',`a`.`grade`) AS `material_name`,`a`.`hsn` AS `hsn`,0 AS `gst_id`,`a`.`status` AS `status`,'' AS `testing_required`,`a`.`gst` AS `gst_percent`,'' AS `grade`,`a`.`unit` AS `unit` from `product` `a` union all select `a`.`plant_id` AS `plant_id`,`a`.`id` AS `id`,'Chemical Material' AS `material_type`,'Chemical Material' AS `material_subtype`,'' AS `material_nature`,`a`.`id` AS `material_sub_type_id`,`a`.`chemical_no` AS `material_code`,`a`.`chemical_name` AS `material_name`,`a`.`hsn` AS `hsn`,0 AS `gst_id`,`a`.`status` AS `status`,'' AS `testing_required`,`a`.`gst` AS `gst_percent`,'' AS `grade`,`a`.`unit` AS `unit` from `chemical` `a` union all select `a`.`plant_id` AS `plant_id`,`a`.`id` AS `id`,'Glassware Material' AS `material_type`,'Glassware Material' AS `material_subtype`,'' AS `material_nature`,`a`.`id` AS `material_sub_type_id`,`a`.`glassware_no` AS `material_code`,`a`.`name` AS `material_name`,`a`.`hsn` AS `hsn`,0 AS `gst_id`,`a`.`status` AS `status`,'' AS `testing_required`,`a`.`gst` AS `gst_percent`,'' AS `grade`,`a`.`unit` AS `unit` from `glassware` `a`  ;

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

--
-- Structure for view `master_material_bkp`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `master_material_bkp`  AS SELECT `a`.`plant_id` AS `plant_id`, `a`.`id` AS `id`, `a`.`material_type` AS `material_type`, `a`.`material_subtype` AS `material_subtype`, `a`.`material_nature` AS `material_nature`, `a`.`material_sub_type_id` AS `material_sub_type_id`, `a`.`material_code` AS `material_code`, `a`.`material_name` AS `material_name`, `a`.`hsn` AS `hsn`, `a`.`gst_id` AS `gst_id`, `a`.`status` AS `status`, `a`.`testing_required` AS `testing_required`, `c`.`igst` AS `gst_percent` FROM ((select `a`.`plant_id` AS `plant_id`,`a`.`id` AS `id`,`b`.`material_type` AS `material_type`,`b`.`material_subtype` AS `material_subtype`,`a`.`material_nature` AS `material_nature`,`a`.`material_sub_type_id` AS `material_sub_type_id`,`a`.`material_code` AS `material_code`,`a`.`material_name` AS `material_name`,`a`.`hsn` AS `hsn`,`a`.`gst_id` AS `gst_id`,`a`.`status` AS `status`,`b`.`testing_required` AS `testing_required` from (`material` `a` left join `material_type` `b` on((`a`.`material_sub_type_id` = `b`.`id`))) union all select `a`.`plant_id` AS `plant_id`,`a`.`id` AS `id`,`b`.`material_type` AS `material_type`,`b`.`material_subtype` AS `material_subtype`,'' AS `material_nature`,`a`.`material_sub_type_id` AS `material_sub_type_id`,`a`.`material_code` AS `material_code`,`a`.`material_name` AS `material_name`,`a`.`hsn` AS `hsn`,`a`.`gst_id` AS `gst_id`,`a`.`status` AS `status`,'' AS `testing_required` from (`general_material` `a` left join `material_type` `b` on((`a`.`material_sub_type_id` = `b`.`id`)))) `a` left join `gmpsoftwareindia_saipro`.`gst_per` `c` on((`a`.`gst_id` = `c`.`id`))) ;

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

--
-- Structure for view `quotation_rates_by_product`
--

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

--
-- Structure for view `stock_view`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `stock_view`  AS SELECT `s`.`id` AS `stock_id`, `cm`.`challan_no` AS `challan_no`, `c`.`challan_date` AS `challan_date`, `cm`.`receiving_no` AS `receiving_no`, `cm`.`receiving_date` AS `receiving_date`, `cm`.`received_qty` AS `received_qty`, `cm`.`receiving` AS `receving_status`, `cm`.`grn` AS `grn_status`, `s`.`grn_no` AS `grn_no`, `s`.`ar_no` AS `ar_no`, `sp`.`sampling_no` AS `sampling_id`, `sp`.`sample_status` AS `sampling_status`, `t`.`testing_no` AS `testing_id`, `t`.`status` AS `testing_status`, `s`.`qty` AS `qty_after_sampling` FROM (((((`stock_book` `s` left join `challan_materials` `cm` on((`s`.`grn_no` = `cm`.`grn_no`))) left join `sampling` `sp` on((`cm`.`grn_no` = `sp`.`grn_no`))) left join `sampling_batches` `sb` on((`sp`.`grn_no` = `sb`.`grn_no`))) left join `testing` `t` on((`sb`.`grn_no` = `t`.`grn_no`))) left join `challan` `c` on((`cm`.`challan_no` = `c`.`challan_no`))) ;

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

--
-- Structure for view `vw_stock_details`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vw_stock_details`  AS SELECT `a`.`plant_id` AS `plant_id`, `a`.`issued_for` AS `issued_for`, `a`.`material_code` AS `material_code`, `a`.`ar_no` AS `ar_no`, `a`.`grn_no` AS `grn_no`, `a`.`batch_no` AS `batch_no`, ifnull(sum(`a`.`issued_Qty`),0) AS `issued_Qty` FROM (select `a`.`plant_id` AS `plant_id`,'Dispensing' AS `issued_for`,`a`.`material_code` AS `material_code`,`a`.`ar_no` AS `ar_no`,`a`.`grn_no` AS `grn_no`,`a`.`batch_no` AS `batch_no`,ifnull(`a`.`qty`,0) AS `issued_Qty` from `material_issue` `a` union all select `a`.`plant_id` AS `plant_id`,'Sampling' AS `issued_for`,`a`.`material_code` AS `material_code`,`a`.`ar_no` AS `ar_no`,`a`.`grn_no` AS `grn_no`,`a`.`batch_no` AS `batch_no`,ifnull(sum(`a`.`undertest_qty`),0) AS `issued_Qty` from `sampling` `a` group by `a`.`plant_id`,`a`.`material_code`,`a`.`ar_no`,`a`.`grn_no`,`a`.`entry_date`,`a`.`batch_no`) AS `a` GROUP BY `a`.`plant_id`, `a`.`issued_for`, `a`.`material_code`, `a`.`ar_no`, `a`.`grn_no`, `a`.`batch_no` ORDER BY `a`.`plant_id` DESC ;

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

--
-- Structure for view `vw_stock_summary`
--
COMMIT;

