-- Table structure for table `erp_mas_issue_type`
--

CREATE TABLE `erp_mas_issue_type` (
  `id` int(11) NOT NULL,
  `type_name` varchar(100) NOT NULL,
  `ledger_id` int(11) NOT NULL,
  `type_code` varchar(10) NOT NULL,
  `product_type` enum('M','O','N') NOT NULL DEFAULT 'N' COMMENT 'M-Machine,O-OIl,N-None',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `is_default` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_issue_type`
--

INSERT INTO `erp_mas_issue_type` (`id`, `type_name`, `ledger_id`, `type_code`, `product_type`, `isActive`, `is_default`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'Trial-Oil', 164, 'TO', 'O', 'Y', 'N', 1, '2024-06-28 03:42:59', 0, '0000-00-00 00:00:00'),
(2, 'Sales-Oil', 229, 'SO', 'O', 'Y', 'Y', 1, '2024-07-01 09:28:23', 0, '0000-00-00 00:00:00'),
(3, 'Contract-Oil', 288, 'CO', 'O', 'Y', 'N', 1, '2024-06-28 03:53:43', 0, '0000-00-00 00:00:00'),
(5, 'Trial', 0, 'TM', 'M', 'Y', 'N', 1, '2024-07-01 09:57:04', 0, '0000-00-00 00:00:00'),
(6, 'Contract', 0, 'CM', 'M', 'Y', 'N', 1, '2024-07-01 09:57:22', 0, '0000-00-00 00:00:00'),
(7, 'Sales -Machine', 0, 'SM', 'M', 'Y', 'Y', 1, '2024-07-01 09:57:42', 0, '0000-00-00 00:00:00'),
(8, 'None', 0, 'NONE', 'N', 'Y', 'N', 1, '2024-07-01 10:05:02', 0, '0000-00-00 00:00:00'),
(9, 'Damaged', 0, 'DM', 'N', 'Y', 'N', 1, '2024-07-01 12:10:00', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_landed_cost_items`
--

CREATE TABLE `erp_mas_landed_cost_items` (
  `id` int(11) NOT NULL,
  `account_id` int(11) NOT NULL DEFAULT 0 COMMENT 'fin_accont_id',
  `subledger_id` int(11) DEFAULT 0,
  `item_type` int(11) NOT NULL COMMENT '1-Addition, 2- Deduction',
  `item_name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_landed_cost_items`
--

INSERT INTO `erp_mas_landed_cost_items` (`id`, `account_id`, `subledger_id`, `item_type`, `item_name`, `description`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 198, 4784, 1, 'www', '', 'Y', 1, '2020-10-05 10:00:00', 1, '2020-10-05 10:00:00');

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

--
-- Table structure for table `erp_mas_location`
--

CREATE TABLE `erp_mas_location` (
  `id` int(11) NOT NULL,
  `location_name` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_mas_maintainance`
--

CREATE TABLE `erp_mas_maintainance` (
  `id` int(11) NOT NULL,
  `maintainance_type` varchar(50) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_maintainance`
--

INSERT INTO `erp_mas_maintainance` (`id`, `maintainance_type`, `isActive`, `isDefault`, `created_date_time`, `created_by`, `updated_date_time`, `updated_by`) VALUES
(1, 'Oil Change', 'Y', 'Y', '2025-07-31 10:31:12', 1, '0000-00-00 00:00:00', 0),
(2, 'Brake Fluid Check/Top-up', 'Y', 'N', '2025-07-31 10:32:05', 1, '0000-00-00 00:00:00', 0),
(3, 'Air Filter Replacement', 'Y', 'N', '2025-07-31 12:49:37', 1, '0000-00-00 00:00:00', 0),
(4, 'Fuel Filter Replacement', 'Y', 'N', '2025-07-31 12:49:44', 1, '0000-00-00 00:00:00', 0),
(5, 'Brake Pad Replacement', 'Y', 'N', '2025-07-31 12:49:51', 1, '0000-00-00 00:00:00', 0),
(6, 'Coolant/Antifreeze Check', 'Y', 'N', '2025-07-31 12:50:11', 1, '0000-00-00 00:00:00', 0),
(7, 'Battery Replacement/Service', 'Y', 'N', '2025-07-31 12:50:19', 1, '0000-00-00 00:00:00', 0),
(8, 'Wheel Alignment', 'Y', 'N', '2025-07-31 12:50:29', 1, '0000-00-00 00:00:00', 0),
(9, 'Engine Tune-up', 'Y', 'N', '2025-07-31 12:50:37', 1, '0000-00-00 00:00:00', 0),
(10, 'Timing Belt Replacement', 'Y', 'N', '2025-07-31 12:51:00', 1, '0000-00-00 00:00:00', 0),
(11, 'Drive Belt Replacement', 'Y', 'N', '2025-07-31 12:51:09', 1, '0000-00-00 00:00:00', 0),
(12, 'Lights/Bulb Replacement', 'Y', 'N', '2025-07-31 12:51:17', 1, '0000-00-00 00:00:00', 0),
(13, 'AC Service', 'Y', 'N', '2025-07-31 12:51:34', 1, '0000-00-00 00:00:00', 0),
(14, 'Wiper Blade Replacement', 'Y', 'N', '2025-07-31 12:51:37', 1, '0000-00-00 00:00:00', 0),
(15, 'Clutch Inspection/Replacement', 'Y', 'N', '2025-07-31 12:51:48', 1, '0000-00-00 00:00:00', 0),
(16, 'Suspension Check', 'Y', 'N', '2025-07-31 12:51:59', 1, '0000-00-00 00:00:00', 0),
(17, 'Tire Replacement', 'Y', 'N', '2025-07-31 12:52:25', 1, '0000-00-00 00:00:00', 0),
(18, 'Wheel Balancing', 'Y', 'N', '2025-07-31 12:52:32', 1, '0000-00-00 00:00:00', 0);

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

--
-- Table structure for table `erp_mas_maintainance_service`
--

CREATE TABLE `erp_mas_maintainance_service` (
  `id` int(11) NOT NULL,
  `garage_name` varchar(100) NOT NULL,
  `vehicle_name` varchar(50) NOT NULL,
  `planned_date` datetime NOT NULL,
  `odometer_reading` int(11) NOT NULL,
  `estimated_cost` decimal(15,2) NOT NULL,
  `total_cost` float NOT NULL,
  `service_status` varchar(50) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `sheduled_date_time` datetime NOT NULL,
  `maintainance_master_id` int(11) NOT NULL,
  `current_employee_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_mas_module`
--

CREATE TABLE `erp_mas_module` (
  `id` int(11) NOT NULL,
  `module` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `is_default` enum('N','Y') NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_module`
--

INSERT INTO `erp_mas_module` (`id`, `module`, `isActive`, `is_default`, `created_by`, `created_date_time`) VALUES
(1, 'Purchase', 'Y', 'N', 1, '2025-12-11 07:33:48'),
(2, 'Sales', 'Y', 'N', 8, '2025-12-11 10:19:47'),
(4, 'Inventory', 'Y', 'N', 1, '2025-12-19 05:43:41'),
(5, 'Assembly', 'Y', 'N', 1, '2025-12-19 05:43:49'),
(6, 'Reports', 'Y', 'N', 1, '2025-12-19 05:43:55'),
(7, 'MIS', 'Y', 'N', 1, '2025-12-19 05:49:06'),
(8, 'Admin', 'Y', 'N', 1, '2025-12-19 05:49:15'),
(9, 'Masters', 'Y', 'N', 1, '2025-12-19 05:49:20'),
(10, 'Fleet', 'Y', 'N', 1, '2025-12-19 05:49:27'),
(11, 'Fixed Asset', 'Y', 'N', 1, '2025-12-19 05:49:33');

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

--
-- Table structure for table `erp_mas_module_settings`
--

CREATE TABLE `erp_mas_module_settings` (
  `id` int(11) NOT NULL,
  `erp_module_name` varchar(100) NOT NULL,
  `grant_access` int(10) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_module_settings`
--

INSERT INTO `erp_mas_module_settings` (`id`, `erp_module_name`, `grant_access`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'HR', 1, 'Y', 8, '2025-06-16 05:36:26', 0, '0000-00-00 00:00:00'),
(2, 'Accounts', 1, 'Y', 1, '2025-06-17 03:25:50', 0, '0000-00-00 00:00:00'),
(3, 'Production', 0, 'Y', 1, '2025-06-17 03:26:03', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_notification`
--

CREATE TABLE `erp_mas_notification` (
  `id` int(11) NOT NULL,
  `event_id` int(11) NOT NULL,
  `event_name` varchar(255) NOT NULL,
  `mail_required` enum('Y','N') NOT NULL DEFAULT 'N',
  `mail_users` varchar(500) NOT NULL,
  `mail_cc` text NOT NULL,
  `sms_required` enum('Y','N') NOT NULL DEFAULT 'N',
  `sms_users` varchar(500) NOT NULL,
  `sms_mobile_number_cc` text NOT NULL,
  `notification_required` enum('Y','N') NOT NULL DEFAULT 'N',
  `notification_users` varchar(500) NOT NULL,
  `mail_content` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_notification`
--

INSERT INTO `erp_mas_notification` (`id`, `event_id`, `event_name`, `mail_required`, `mail_users`, `mail_cc`, `sms_required`, `sms_users`, `sms_mobile_number_cc`, `notification_required`, `notification_users`, `mail_content`) VALUES
(1, 1, '', 'N', '', '', 'N', '', '', 'Y', '', ''),
(2, 2, '', 'Y', '28', '', 'Y', '28,35', '', 'Y', '40', ''),
(3, 3, '', 'N', '', '', 'N', '', '', 'N', '1', ''),
(4, 4, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(5, 5, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(6, 6, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(7, 7, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(8, 8, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(9, 9, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(10, 10, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(11, 11, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(12, 12, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(13, 13, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(14, 14, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(15, 15, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(16, 16, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(17, 17, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(18, 18, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(19, 19, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(20, 20, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(21, 21, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(22, 22, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(23, 23, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(24, 24, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(25, 25, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(26, 26, '', 'N', '', '', 'N', '', '', 'Y', '1', ''),
(27, 27, '', 'N', '', '', 'N', '', '', 'Y', '1', '');

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

--
-- Table structure for table `erp_mas_notification_type`
--

CREATE TABLE `erp_mas_notification_type` (
  `id` int(11) NOT NULL,
  `type_name` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `is_default` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_notification_type`
--

INSERT INTO `erp_mas_notification_type` (`id`, `type_name`, `isActive`, `is_default`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Purchase Requsition', 'Y', 'N', 1, 0, '2025-07-01 01:05:12', '0000-00-00 00:00:00'),
(2, 'Leads', 'Y', 'N', 1, 0, '2025-07-01 01:08:06', '0000-00-00 00:00:00'),
(3, 'Purchase Order', 'Y', 'Y', 1, 0, '2025-07-01 01:08:19', '0000-00-00 00:00:00'),
(4, 'Quotations', 'Y', 'N', 8, 0, '2025-07-01 01:33:18', '0000-00-00 00:00:00'),
(5, 'Sales Orders', 'Y', 'N', 8, 0, '2025-07-01 01:33:26', '0000-00-00 00:00:00'),
(6, 'Delivery', 'Y', 'N', 8, 0, '2025-07-01 01:33:34', '0000-00-00 00:00:00'),
(7, 'Invoice', 'Y', 'N', 8, 0, '2025-07-01 01:33:43', '0000-00-00 00:00:00'),
(8, 'Material Receipt', 'Y', 'N', 8, 0, '2025-07-01 01:33:51', '0000-00-00 00:00:00'),
(9, 'Quality Check', 'Y', 'N', 8, 0, '2025-07-01 01:34:02', '0000-00-00 00:00:00'),
(10, 'Purchase Invoice', 'Y', 'N', 8, 0, '2025-07-01 01:34:13', '0000-00-00 00:00:00'),
(11, 'Credit Note', 'Y', 'N', 8, 0, '2025-07-01 01:34:21', '0000-00-00 00:00:00'),
(12, 'Debit Note', 'Y', 'N', 8, 0, '2025-07-01 01:34:25', '0000-00-00 00:00:00'),
(13, 'Production Order', 'Y', 'N', 8, 0, '2025-07-01 01:34:31', '0000-00-00 00:00:00'),
(14, 'Goods Issue', 'Y', 'N', 8, 0, '2025-07-01 01:34:38', '0000-00-00 00:00:00'),
(15, 'Goods Receipt', 'Y', 'N', 8, 0, '2025-07-01 01:34:45', '0000-00-00 00:00:00'),
(16, 'Receipts', 'Y', 'N', 8, 0, '2025-07-01 01:34:54', '0000-00-00 00:00:00'),
(17, 'Payments', 'Y', 'N', 8, 0, '2025-07-01 01:34:59', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_outlet`
--

CREATE TABLE `erp_mas_outlet` (
  `id` int(11) NOT NULL,
  `outlet_name` varchar(255) NOT NULL,
  `current_invoice_no` int(11) NOT NULL,
  `abbrevation` varchar(5) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `isBaseOutlet` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_mas_payment_term`
--

CREATE TABLE `erp_mas_payment_term` (
  `id` int(11) NOT NULL,
  `payment_code` varchar(255) NOT NULL,
  `payment_terms` text NOT NULL,
  `no_of_days` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isBasePaymentTerm` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `payment_type` enum('CA','CR') NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_payment_term`
--

INSERT INTO `erp_mas_payment_term` (`id`, `payment_code`, `payment_terms`, `no_of_days`, `isActive`, `isBasePaymentTerm`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`, `payment_type`) VALUES
(1, 'CR1', 'Credit', 30, 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00', 'CA'),
(2, 'CR2', 'Cash on Delivery', 0, 'Y', 'Y', 1, 1, '2024-01-01 06:00:00', '2025-04-30 04:50:04', 'CA'),
(3, 'A1', '50% in Advance & 50% after completion', 0, 'Y', 'N', 2, 0, '2024-02-04 06:34:39', '0000-00-00 00:00:00', 'CA'),
(4, '', '30 days PDC ', 30, 'Y', 'N', 1, 1, '2025-04-29 11:16:14', '2025-04-29 11:16:51', 'CA'),
(5, '', '60 days PDC', 60, 'Y', 'N', 1, 1, '2025-04-29 11:16:30', '2025-04-29 11:17:02', 'CA'),
(6, '', 'As Agreed', 0, 'Y', 'N', 1, 0, '2025-04-29 11:37:40', '0000-00-00 00:00:00', 'CA'),
(7, '', 'Payment in Phases', 0, 'Y', 'N', 1, 0, '2025-04-29 01:00:13', '0000-00-00 00:00:00', 'CA'),
(8, '', '15 Days', 15, 'Y', 'N', 1, 0, '2025-04-29 01:00:13', '0000-00-00 00:00:00', 'CA'),
(9, '', '45 Days', 45, 'Y', 'N', 1, 0, '2025-04-29 01:00:13', '0000-00-00 00:00:00', 'CA'),
(11, '', '90 Days', 90, 'Y', 'N', 1, 0, '2025-07-16 04:44:05', '0000-00-00 00:00:00', 'CA');

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

--
-- Table structure for table `erp_mas_probability`
--

CREATE TABLE `erp_mas_probability` (
  `id` int(11) NOT NULL,
  `probability` float NOT NULL,
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_probability`
--

INSERT INTO `erp_mas_probability` (`id`, `probability`, `isDefault`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 10, 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(2, 20, 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(3, 30, 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(4, 40, 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(5, 50, 'Y', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(6, 60, 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(7, 90, 'N', 'Y', 2, 0, '2024-01-03 04:42:05', '0000-00-00 00:00:00'),
(8, 75, 'N', 'N', 2, 0, '2024-01-19 11:40:26', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_project_1`
--

CREATE TABLE `erp_mas_project_1` (
  `id` int(11) NOT NULL,
  `master_name` varchar(100) NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `isMasterBase` enum('Y','N') NOT NULL,
  `master_type` varchar(10) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_datetime` date NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_datetime` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_project_1`
--

INSERT INTO `erp_mas_project_1` (`id`, `master_name`, `isActive`, `isMasterBase`, `master_type`, `created_by`, `created_datetime`, `updated_by`, `updated_datetime`) VALUES
(1, 'Flight Case', 'Y', 'N', '8', 0, '0000-00-00', 0, '0000-00-00'),
(2, 'Crate', 'Y', 'N', '9', 0, '0000-00-00', 0, '0000-00-00'),
(3, 'SKB Case', 'Y', 'N', '10', 8, '2025-05-07', 0, '0000-00-00'),
(4, 'Foam', 'Y', 'N', '11', 8, '2025-05-07', 0, '0000-00-00'),
(5, 'Metal', 'Y', 'Y', '12', 8, '2025-05-07', 0, '0000-00-00'),
(6, 'Lid Format', 'Y', 'N', '7', 8, '2025-05-07', 0, '0000-00-00'),
(7, 'Quote Type', 'Y', 'N', '1', 8, '2025-05-07', 0, '0000-00-00'),
(8, 'Category', 'Y', 'N', '4', 8, '2025-05-07', 0, '0000-00-00'),
(9, 'Mode', 'Y', 'N', '2', 8, '2025-05-07', 0, '0000-00-00'),
(10, 'Priority', 'Y', 'N', '3', 8, '2025-05-07', 0, '0000-00-00'),
(11, 'Time Slot', 'Y', 'N', '5', 8, '2025-05-07', 0, '0000-00-00'),
(12, 'Equipment', 'Y', 'N', '6', 0, '0000-00-00', 0, '0000-00-00'),
(13, 'Apparel Shield', 'Y', 'N', '', 8, '2025-05-26', 0, '0000-00-00');

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

--
-- Table structure for table `erp_mas_project_2`
--

CREATE TABLE `erp_mas_project_2` (
  `id` int(11) NOT NULL,
  `master1_id` int(11) NOT NULL,
  `master2_name` varchar(100) NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `is_base_master` enum('Y','N') NOT NULL,
  `master_type` varchar(10) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` date NOT NULL,
  `updated_datetime` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_project_2`
--

INSERT INTO `erp_mas_project_2` (`id`, `master1_id`, `master2_name`, `isActive`, `is_base_master`, `master_type`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 7, 'Budget', 'Y', 'N', '', 1, 0, '2025-05-07', '0000-00-00'),
(2, 7, 'Comp', 'Y', 'N', '', 1, 0, '2025-05-07', '0000-00-00'),
(3, 8, 'New', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(4, 8, 'Repair', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(5, 9, 'E-Mail', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(6, 9, 'Phone', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(7, 9, 'Walk-In', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(8, 9, 'Site Visit', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(9, 9, 'Whatsapp', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(10, 10, 'Normal', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(11, 10, 'Exp Free', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(12, 10, 'Exp Paid', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(13, 11, 'AM', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(14, 11, 'PM', 'Y', 'N', '', 8, 0, '2025-05-07', '0000-00-00'),
(15, 6, 'Hinged', 'Y', 'N', '1', 8, 0, '2025-05-07', '0000-00-00'),
(16, 6, 'Removable', 'Y', 'N', '2', 8, 0, '2025-05-07', '0000-00-00'),
(17, 6, 'Front + Rear', 'Y', 'N', '3', 8, 0, '2025-05-07', '0000-00-00'),
(18, 6, '3 Lids', 'Y', 'N', '4', 8, 0, '2025-05-07', '0000-00-00'),
(19, 6, 'Tray / Split', 'Y', 'N', '5', 8, 0, '2025-05-07', '0000-00-00'),
(20, 1, 'Exterior', 'Y', 'N', '1', 8, 0, '2025-05-07', '0000-00-00'),
(21, 1, 'Material', 'Y', 'N', '2', 8, 0, '2025-05-07', '0000-00-00'),
(22, 1, 'Thickness', 'Y', 'N', '3', 8, 0, '2025-05-07', '0000-00-00'),
(23, 1, 'Color', 'Y', 'N', '4', 8, 0, '2025-05-07', '0000-00-00'),
(24, 1, 'Logo', 'Y', 'N', '5', 8, 0, '2025-05-07', '0000-00-00'),
(25, 1, 'Interior', 'Y', 'N', '6', 8, 0, '2025-05-07', '0000-00-00'),
(26, 1, 'Wheels', 'Y', 'N', '7', 8, 0, '2025-05-07', '0000-00-00'),
(34, 2, 'Exterior', 'Y', 'N', '1', 8, 0, '2025-05-07', '0000-00-00'),
(35, 2, 'Material', 'Y', 'N', '2', 8, 0, '2025-05-07', '0000-00-00'),
(36, 2, 'Thickness', 'Y', 'N', '3', 8, 0, '2025-05-07', '0000-00-00'),
(37, 2, 'Color', 'Y', 'N', '4', 8, 0, '2025-05-07', '0000-00-00'),
(38, 2, 'Logo', 'Y', 'N', '5', 8, 0, '2025-05-07', '0000-00-00'),
(39, 2, 'Interior', 'Y', 'N', '6', 8, 0, '2025-05-07', '0000-00-00'),
(40, 2, 'Wheels', 'Y', 'N', '7', 8, 0, '2025-05-07', '0000-00-00'),
(41, 4, 'Exterior', 'Y', 'N', '1', 8, 0, '2025-05-07', '0000-00-00'),
(42, 4, 'Material', 'Y', 'N', '2', 8, 0, '2025-05-07', '0000-00-00'),
(43, 4, 'Thickness', 'Y', 'N', '3', 8, 0, '2025-05-07', '0000-00-00'),
(44, 4, 'Color', 'Y', 'N', '4', 8, 0, '2025-05-07', '0000-00-00'),
(45, 4, 'Logo', 'Y', 'N', '5', 8, 0, '2025-05-07', '0000-00-00'),
(46, 4, 'Interior', 'Y', 'N', '6', 8, 0, '2025-05-07', '0000-00-00'),
(48, 3, 'Interior', 'Y', 'N', '4', 8, 0, '2025-05-07', '0000-00-00'),
(49, 3, 'Exterior', 'Y', 'N', '1', 8, 0, '2025-05-07', '0000-00-00'),
(50, 3, 'Material', 'Y', 'N', '2', 8, 0, '2025-05-07', '0000-00-00'),
(52, 3, 'Color', 'Y', 'N', '3', 8, 0, '2025-05-07', '0000-00-00'),
(54, 3, 'Wheels', 'Y', 'N', '5', 8, 0, '2025-05-07', '0000-00-00'),
(55, 5, 'Exterior', 'Y', 'N', '1', 8, 0, '2025-05-07', '0000-00-00'),
(56, 5, 'Material', 'Y', 'N', '2', 8, 0, '2025-05-07', '0000-00-00'),
(57, 5, 'Thickness', 'Y', 'N', '3', 8, 0, '2025-05-07', '0000-00-00'),
(58, 5, 'Color', 'Y', 'N', '4', 8, 0, '2025-05-07', '0000-00-00'),
(62, 1, 'XX1', 'Y', 'N', '8', 8, 0, '2025-05-07', '0000-00-00'),
(63, 2, 'XX', 'Y', 'N', '8', 8, 0, '2025-05-07', '0000-00-00'),
(64, 12, 'Standard', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(65, 12, 'Shock Mounted', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(66, 12, 'Foam Suspended', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(67, 12, 'L Racking', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(68, 12, 'U Racking', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(69, 12, 'Label Dish', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(70, 12, 'Stacking', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(71, 12, 'Ventillation', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(72, 12, 'Accessories', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(73, 12, 'Custom', 'Y', 'N', '', 8, 0, '2025-05-08', '0000-00-00'),
(74, 13, 'Hangars', 'Y', 'N', '', 8, 0, '2025-05-26', '0000-00-00');

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

--
-- Table structure for table `erp_mas_project_3`
--

CREATE TABLE `erp_mas_project_3` (
  `id` int(11) NOT NULL,
  `master1_id` int(11) NOT NULL,
  `master2_id` int(11) NOT NULL,
  `master3_name` varchar(100) NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `is_base_master` enum('Y','N') NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` date NOT NULL,
  `updated_datetime` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_project_3`
--

INSERT INTO `erp_mas_project_3` (`id`, `master1_id`, `master2_id`, `master3_name`, `isActive`, `is_base_master`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 1, 20, 'Black Dyed', 'Y', 'N', 1, 0, '2025-05-07', '0000-00-00'),
(2, 1, 20, 'Yellow Stained', 'Y', 'N', 1, 0, '2025-05-07', '0000-00-00'),
(3, 1, 20, 'LAMINATED (HPL)', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(4, 1, 20, 'STUCCO', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(5, 1, 20, 'Aluminium', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(6, 1, 20, 'Powder Coated', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(7, 1, 21, 'Birch', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(8, 1, 21, 'Commercial', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(9, 1, 21, 'Flightpanel', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(10, 1, 21, 'White Wood', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(11, 1, 21, 'Others', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(12, 1, 22, '6MM', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(13, 1, 22, '7MM', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(14, 1, 22, '9MM', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(15, 1, 22, '10MM', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(16, 1, 22, '12MM', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(17, 1, 22, '18MM', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(18, 1, 23, 'Black', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(19, 1, 23, 'Dual Color', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(20, 1, 23, 'Custom', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(21, 1, 24, 'Laser- White', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(22, 1, 24, 'Lase- Other', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(23, 1, 24, 'Screen Print', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(24, 1, 24, 'Vinyl Print', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(25, 1, 24, 'Outsourced', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(26, 1, 25, 'Black Dyed', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(27, 1, 25, 'Foam Lined', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(28, 1, 25, 'Carpet Lined', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(29, 1, 25, 'Laminated', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(30, 1, 25, 'Custom', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(31, 1, 26, 'No Wheels', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(32, 1, 26, 'Swivel - 4\"', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(33, 1, 26, 'Braked- 4\"', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(34, 1, 26, 'Fixed- 4\"', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(35, 1, 26, 'Rec - Corner', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(36, 1, 26, 'Rec - Center', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(37, 2, 34, 'RAL Paint', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(38, 2, 34, 'Black Dyed', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(39, 2, 34, 'Yellow Stained', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(40, 2, 34, 'Raw', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(41, 2, 34, 'Lacquered', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(42, 2, 35, 'Birch', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(43, 2, 35, 'Commercial', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(44, 2, 39, 'Lacquered', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(45, 2, 39, 'Raw', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(46, 2, 39, 'Custom', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(47, 2, 39, 'Metal Work', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(48, 2, 39, 'Outsourced', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(49, 2, 38, 'Laser - Black', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(50, 2, 38, 'Stencil Paint', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(51, 2, 37, 'Ral Paint', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(52, 2, 37, 'Black Dyed', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(53, 2, 37, 'Yellow Stained', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(54, 2, 37, 'Raw', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(55, 2, 37, 'Lacquered', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(56, 2, 36, '9mm', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(57, 3, 49, 'I - Series', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(58, 3, 49, 'R- Series', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(59, 3, 49, 'Soft Racks', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(60, 3, 49, 'Roto Racks', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(61, 3, 49, 'Shock Racks', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(62, 3, 50, 'MIL STD Shock				', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(63, 3, 50, 'Racks', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(64, 3, 50, 'Speciality Racks				', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(65, 3, 50, 'Accessories', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(66, 3, 52, 'Black', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(67, 3, 52, 'Olive Green', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(68, 3, 52, 'Desert Tan', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(69, 3, 52, 'Custom', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(71, 3, 48, 'Empty', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(72, 3, 48, 'Cubed', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(73, 3, 48, 'Think Tank', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(74, 3, 48, 'Custom', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(75, 3, 54, 'Yes', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(76, 3, 54, 'No', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(77, 4, 41, 'PVC Top Coat				', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(78, 4, 41, 'Dual Colour', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(79, 4, 41, 'Special Request', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(80, 4, 42, 'LD18 Ester', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(81, 4, 42, 'LD29 Egg Box', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(82, 4, 42, 'LD33 Acoustic', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(83, 4, 42, 'LD45 Other', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(84, 4, 43, 'Range', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(85, 4, 43, '5mm-200mm			', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(86, 4, 44, 'Black', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(87, 4, 44, 'Dual Colour', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(88, 4, 44, 'Other', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(89, 4, 45, 'Laser', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(90, 4, 45, 'Other', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(91, 4, 46, 'Pocketing C/O					', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(92, 4, 46, 'Through C/O					', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(93, 4, 46, 'PVC', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(94, 5, 55, 'Powder Coated', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(95, 5, 55, 'Mill Finish', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(96, 5, 55, 'Anodized', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(97, 5, 55, 'Galvanized', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(98, 2, 35, 'Others', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(99, 2, 36, '18mm', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(100, 2, 36, '27mm', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(101, 2, 36, '36mm', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(102, 2, 36, '54mm', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(103, 2, 40, 'No Wheels', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(104, 2, 40, 'Swivel - 4\"', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(105, 2, 40, 'Braked - 4\"', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(106, 2, 40, 'Pallet FT - Wood', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(107, 2, 40, 'Pallet FT - ALU', 'Y', 'N', 8, 0, '2025-05-07', '0000-00-00'),
(108, 5, 56, 'Aluminium', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(109, 5, 56, 'Mild Steel', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(110, 5, 56, 'Anodized', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(111, 5, 56, 'Galvanized', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(112, 5, 57, '2 MM', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(113, 5, 57, '3MM', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(114, 5, 57, '5MM', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(115, 5, 57, 'Others', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(116, 5, 58, 'Black', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(117, 5, 58, 'RAL Code', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(118, 5, 58, 'Others', 'Y', 'N', 8, 0, '2025-05-08', '0000-00-00'),
(119, 13, 74, 'For Sizes', 'Y', 'N', 8, 0, '2025-05-26', '0000-00-00');

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

--
-- Table structure for table `erp_mas_project_classification`
--

CREATE TABLE `erp_mas_project_classification` (
  `id` int(11) NOT NULL,
  `project_classification` varchar(255) NOT NULL,
  `is_active` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_project_classification`
--

INSERT INTO `erp_mas_project_classification` (`id`, `project_classification`, `is_active`, `created_by`, `created_date_time`) VALUES
(1, 'Default', 'Y', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_quotation_close_reason`
--

CREATE TABLE `erp_mas_quotation_close_reason` (
  `id` int(11) NOT NULL,
  `reason` text NOT NULL,
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_quotation_close_reason`
--

INSERT INTO `erp_mas_quotation_close_reason` (`id`, `reason`, `isDefault`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Lost order due to lower price from Competition.', 'N', 'Y', 1, 1, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(2, 'Competing brand supplied', 'Y', 'Y', 1, 1, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(3, 'Stock not available.', 'N', 'Y', 1, 1, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(4, 'Payment terms.', 'N', 'Y', 1, 1, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(5, 'Project cancelled.', 'N', 'Y', 1, 1, '2020-10-05 10:00:00', '2020-10-05 10:00:00');

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

--
-- Table structure for table `erp_mas_quotation_validity`
--

CREATE TABLE `erp_mas_quotation_validity` (
  `ld` int(11) NOT NULL DEFAULT 0,
  `quatation_validity` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_quotation_validity`
--

INSERT INTO `erp_mas_quotation_validity` (`ld`, `quatation_validity`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 7, 'Y', 0, 0, '2020-05-10 10:00:00', '2020-05-10 10:00:00');

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

--
-- Table structure for table `erp_mas_quotes_status`
--

CREATE TABLE `erp_mas_quotes_status` (
  `id` int(11) NOT NULL,
  `status` varchar(255) NOT NULL,
  `status_code` varchar(2) NOT NULL,
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_quotes_status`
--

INSERT INTO `erp_mas_quotes_status` (`id`, `status`, `status_code`, `isDefault`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'Open', 'Y', 'N', 'Y', 1, '2023-10-24 02:36:11', 0, '0000-00-00 00:00:00'),
(2, 'Order', 'O', 'N', 'Y', 1, '2023-10-24 02:36:30', 0, '0000-00-00 00:00:00'),
(3, 'Closed', 'C', 'N', 'Y', 1, '2023-10-24 02:37:34', 0, '0000-00-00 00:00:00'),
(6, 'Waiting for Work Permit', '5', 'N', 'Y', 6, '2023-10-27 03:37:12', 0, '0000-00-00 00:00:00'),
(5, 'Under Process ', '5', 'N', 'Y', 6, '2023-10-24 03:02:29', 0, '0000-00-00 00:00:00'),
(10, 'Open', 'Y', 'N', 'Y', 2, '2023-12-15 02:35:13', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_sales_group`
--

CREATE TABLE `erp_mas_sales_group` (
  `id` int(11) NOT NULL,
  `group_name` varchar(255) NOT NULL,
  `type` enum('S','R','P','SR') NOT NULL DEFAULT 'S',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `is_base_sales` enum('Y','N') NOT NULL DEFAULT 'N',
  `group_code` varchar(10) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_sales_group`
--

INSERT INTO `erp_mas_sales_group` (`id`, `group_name`, `type`, `isActive`, `is_base_sales`, `group_code`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Sales', 'S', 'Y', 'Y', '', 8, 0, '2025-12-18 08:12:22', '0000-00-00 00:00:00'),
(2, 'Service', 'S', 'Y', 'N', '', 8, 0, '2025-12-18 08:12:30', '0000-00-00 00:00:00'),
(3, 'Projects', 'S', 'Y', 'N', '', 8, 0, '2025-12-18 08:12:36', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_services`
--

CREATE TABLE `erp_mas_services` (
  `id` int(11) NOT NULL,
  `code` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_services`
--

INSERT INTO `erp_mas_services` (`id`, `code`, `name`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'S1', 'Refilling', 'Y', 0, '2025-11-05 14:08:24', 0, '2025-11-05 14:08:24'),
(2, 'S2', 'Machine Issue', 'Y', 0, '2025-11-05 14:08:24', 0, '2025-11-05 14:08:24'),
(3, 'S3', 'Maintenance & Service ', 'Y', 0, '2025-11-05 14:08:24', 0, '2025-11-05 14:08:24'),
(4, 'S4', 'Fragrance Change', 'Y', 0, '2025-11-05 14:08:24', 0, '2025-11-05 14:08:24');

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

--
-- Table structure for table `erp_mas_shipping`
--

CREATE TABLE `erp_mas_shipping` (
  `id` int(11) NOT NULL,
  `via` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isBaseShippingTerm` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_shipping`
--

INSERT INTO `erp_mas_shipping` (`id`, `via`, `description`, `isActive`, `isBaseShippingTerm`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Cargo', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(2, 'Own Transport', '', 'Y', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(3, 'Air', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(4, 'Road', 'Road', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(5, 'Sea', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(6, 'Own Truck', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(7, 'Rail', '', 'Y', 'N', 1, 0, '2025-04-30 12:50:20', '0000-00-00 00:00:00'),
(8, 'Company Vehicle', '', 'Y', 'N', 8, 0, '2025-05-26 07:51:49', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_source_of_lead`
--

CREATE TABLE `erp_mas_source_of_lead` (
  `id` int(11) NOT NULL,
  `source_of_lead` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_source_of_lead`
--

INSERT INTO `erp_mas_source_of_lead` (`id`, `source_of_lead`, `isActive`, `isDefault`) VALUES
(1, 'Facebook', 'Y', 'N'),
(2, 'Social Media Marketing', 'Y', 'N'),
(3, 'News Paper', 'Y', 'N'),
(4, 'Word of Mouth', 'Y', 'N');

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

--
-- Table structure for table `erp_mas_status`
--

CREATE TABLE `erp_mas_status` (
  `id` int(11) NOT NULL,
  `status_name` varchar(255) NOT NULL,
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_datetime` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_datetime` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `erp_mas_status`
--

INSERT INTO `erp_mas_status` (`id`, `status_name`, `isDefault`, `isActive`, `created_datetime`, `created_by`, `updated_by`, `updated_datetime`) VALUES
(1, 'Open', 'N', 'Y', '2025-07-17', 1, 0, '0000-00-00'),
(2, 'Not reachable', 'N', 'Y', '2025-07-17', 1, 0, '0000-00-00'),
(3, 'FollowUp Calls', 'N', 'Y', '2025-07-17', 1, 0, '0000-00-00'),
(4, 'Send Profile', 'N', 'Y', '2025-07-17', 1, 0, '0000-00-00'),
(5, 'Meet in Person', 'N', 'Y', '2025-07-17', 1, 0, '0000-00-00'),
(6, 'Closed', 'N', 'Y', '2025-07-17', 1, 0, '0000-00-00'),
(7, 'Others', 'N', 'Y', '2025-07-17', 1, 0, '0000-00-00');

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

--
-- Table structure for table `erp_mas_sub_module`
--

CREATE TABLE `erp_mas_sub_module` (
  `id` int(11) NOT NULL,
  `module_id` int(11) NOT NULL,
  `sub_module` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `is_default` enum('N','Y') NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_sub_module`
--

INSERT INTO `erp_mas_sub_module` (`id`, `module_id`, `sub_module`, `isActive`, `is_default`, `created_by`, `created_date_time`) VALUES
(1, 1, 'Purchase Enquiry', 'Y', 'Y', 1, '2025-12-11 07:33:48'),
(2, 1, 'Purchase Order', 'Y', 'N', 1, '2025-12-11 05:57:56'),
(3, 1, 'Material Receipt', 'Y', 'N', 1, '2025-12-11 05:58:33'),
(4, 1, 'Quality Check', 'Y', 'N', 1, '2025-12-11 05:58:33'),
(5, 1, 'Purchase Invoice', 'Y', 'N', 1, '2025-12-11 05:59:57'),
(6, 1, 'New', 'N', 'N', 8, '2025-12-11 11:06:07'),
(7, 2, 'Sales Order', 'Y', 'N', 1, '2025-12-11 08:06:56'),
(8, 2, 'Leads', 'Y', 'N', 8, '2025-12-11 01:44:28'),
(9, 2, 'Sales Quotation', 'Y', 'N', 8, '2025-12-11 01:44:39'),
(10, 2, 'Delivery Notes', 'Y', 'N', 8, '2025-12-11 01:45:18'),
(11, 2, 'Sales Invoice', 'Y', 'N', 8, '2025-12-11 01:45:29'),
(12, 2, 'Sales Return', 'Y', 'N', 8, '2025-12-11 01:45:59'),
(13, 9, 'Features', 'Y', 'N', 1, '2025-12-19 05:50:52');

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

--
-- Table structure for table `erp_mas_supplier_types`
--

CREATE TABLE `erp_mas_supplier_types` (
  `id` int(11) NOT NULL,
  `supplier_type` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_supplier_types`
--

INSERT INTO `erp_mas_supplier_types` (`id`, `supplier_type`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Local Suppliers', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(2, 'Foreign Suppliers', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(3, 'Shipping Agents', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(4, 'Inside Suppliers', 'Y', 2, 0, '2024-01-19 12:06:55', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_terms_and_conditions`
--

CREATE TABLE `erp_mas_terms_and_conditions` (
  `id` int(11) NOT NULL,
  `term_name` varchar(250) NOT NULL,
  `terms` text NOT NULL,
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `terms_type` enum('Q','O','DN','IN','PO','MR','PI','SR','PR','G') NOT NULL DEFAULT 'G' COMMENT 'Q=>QUOTATION,O=>ORDER, DN=>DELIVERY NOTE,IN=>INVOICE,PO=>PURCHASE ORDER,MR=>MATERIAL RECEIPT,PI=>PURCHASE INVOICE,SR=>SALES RETURN,PR=>PURCHASE RETURN,G=>GENERAL',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_terms_and_conditions`
--

INSERT INTO `erp_mas_terms_and_conditions` (`id`, `term_name`, `terms`, `isDefault`, `terms_type`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Sales', 'Sales Terms and Conditions come here', 'N', 'G', 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(2, 'Purchase', 'Purchase Terms and Conditions come here only\r\n', 'Y', 'G', 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(3, 'Logistics', 'Logistics Terms and Conditions come here', 'N', 'G', 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_user_group`
--

CREATE TABLE `erp_mas_user_group` (
  `id` int(11) NOT NULL,
  `parent_id` bigint(20) NOT NULL,
  `group_name` varchar(255) NOT NULL,
  `permissions` text NOT NULL,
  `hr_permissions` text NOT NULL,
  `qtn_approval_val_limit` decimal(25,2) NOT NULL,
  `order_approval_val_limit` decimal(25,2) NOT NULL,
  `purchase_order_approval_val_limit` decimal(25,2) NOT NULL,
  `min_profit_percentage` decimal(15,2) NOT NULL,
  `personal_tab_permission` text NOT NULL,
  `nominee_tab_permission` text NOT NULL,
  `contact_tab_permission` text NOT NULL,
  `document_tab_permission` text NOT NULL,
  `assets_tab_permission` text NOT NULL,
  `snapshot_tab_permission` text NOT NULL,
  `salary_tab_permission` text NOT NULL,
  `loan_tab_permission` text NOT NULL,
  `bank_tab_permission` text NOT NULL,
  `eos_tab_permission` text NOT NULL,
  `leave_tab_permission` text NOT NULL,
  `other_tab_permission` text NOT NULL,
  `inout_doc_tab_permission` text NOT NULL,
  `issue_doc_tab_permission` text NOT NULL,
  `training_tab_permission` text NOT NULL,
  `notes_tab_permission` text NOT NULL,
  `level_tab_permission` text NOT NULL,
  `qualification_tab_permission` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `is_salesman` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_user_group`
--

INSERT INTO `erp_mas_user_group` (`id`, `parent_id`, `group_name`, `permissions`, `hr_permissions`, `qtn_approval_val_limit`, `order_approval_val_limit`, `purchase_order_approval_val_limit`, `min_profit_percentage`, `personal_tab_permission`, `nominee_tab_permission`, `contact_tab_permission`, `document_tab_permission`, `assets_tab_permission`, `snapshot_tab_permission`, `salary_tab_permission`, `loan_tab_permission`, `bank_tab_permission`, `eos_tab_permission`, `leave_tab_permission`, `other_tab_permission`, `inout_doc_tab_permission`, `issue_doc_tab_permission`, `training_tab_permission`, `notes_tab_permission`, `level_tab_permission`, `qualification_tab_permission`, `isActive`, `is_salesman`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 0, 'Admin', '{\"checkall\":1,\"mis_menu_view\":1,\"favourites_menu_view\":1,\"sales_menu_view\":1,\"service_menu_view\":1,\"maintenance_menu_view\":1,\"purchase_menu_view\":1,\"inventory_menu_view\":1,\"production_menu_view\":1,\"accounts_menu_view\":1,\"hr_menu_view\":1,\"project_menu_view\":1,\"fleet_menu_view\":1,\"fixed_asset_menu_view\":1,\"reports_mainmenu_view\":1,\"masters_menu_view\":1,\"admin_menu_view\":1,\"notification_menu_add\":1,\"notification_menu_view\":1,\"dash_check_all\":1,\"dashboard_view\":1,\"mis_dashboard_view\":1,\"dashboard_leads_view\":1,\"dashboard_quote_view\":1,\"dashboard_order_view\":1,\"dashboard_invoice_view\":1,\"dashboard_mgt_view\":1,\"calendar_view\":1,\"activity_activity_add\":1,\"mas_activity-master_edit\":1,\"activity_activity_view\":1,\"activity_lead_owner_add\":1,\"activity_lead_owner_edit\":1,\"activity_lead_owner\":1,\"floating_menu_view\":1,\"at_a_glance_menu_view\":1,\"at_a_glance_general\":1,\"at_a_glance_sales\":1,\"at_a_glance_purchase\":1,\"at_a_glance_production\":1,\"at_a_glance_info\":1,\"at_a_glance_finance\":1,\"at_a_glance_inventory\":1,\"at_a_glance_cockpit_view\":1,\"at_a_glance_employee\":1,\"sales_check_all\":1,\"customer_add\":1,\"customer_edit\":1,\"customer_view\":1,\"view_all_customer_activity\":1,\"customer_delete\":1,\"customer_download\":1,\"customer_upload_document\":1,\"customer_delete_document\":1,\"customer_activity\":1,\"lead_add\":1,\"lead_edit\":1,\"lead_view\":1,\"lead_view_all\":1,\"lead_delete\":1,\"lead_pdf\":1,\"lead_convert\":1,\"lead_document_upload\":1,\"lead_document\":1,\"lead_activity\":1,\"quotes_add\":1,\"quotes_edit\":1,\"quotes_view\":1,\"quotes_view_all\":1,\"quotes_delete\":1,\"quotes_pdf\":1,\"quotes_convert\":1,\"quotes_approve\":1,\"quotes_document_upload\":1,\"quotes_document\":1,\"quotes_copy\":1,\"quotes_activity\":1,\"order_add\":1,\"order_edit\":1,\"order_performa_invoice\":1,\"order_view\":1,\"order_view_all\":1,\"order_delete\":1,\"order_pdf\":1,\"order_performa_pdf\":1,\"order_convert\":1,\"order_document_upload\":1,\"order_document\":1,\"order_copy\":1,\"order_activity\":1,\"delivery_add\":1,\"delivery_edit\":1,\"delivery_view\":1,\"delivery_view_all\":1,\"delivery_delete\":1,\"delivery_pdf\":1,\"delivery_convert\":1,\"delivery_activity\":1,\"invoice_add\":1,\"invoice_edit\":1,\"change_payment_type\":1,\"invoice_view\":1,\"invoice_view_all\":1,\"allow_delete_document\":1,\"invoice_print\":1,\"invoice_upload_document\":1,\"invoice_document\":1,\"invoice_activity\":1,\"credit_add\":1,\"creditnote_creditdate\":1,\"credit_view\":1,\"credit_view_all\":1,\"credit_pdf\":1,\"credit_convert\":1,\"return_activity\":1,\"sales_deliverytracker_view\":1,\"sales_receipttracker_view\":1,\"avail_qty_app\":1,\"show_warehouse_all\":1,\"service_check_all\":1,\"service_lead_add\":1,\"service_lead_edit\":1,\"service_lead_view\":1,\"service_lead_view_all\":1,\"service_lead_delete\":1,\"service_lead_pdf\":1,\"service_lead_convert\":1,\"service_lead_document_upload\":1,\"service_lead_document\":1,\"service_lead_activity\":1,\"service_contract_add\":1,\"service_contract_edit\":1,\"service_contract_view\":1,\"service_contract_view_all\":1,\"service_contract_delete\":1,\"service_contract_pdf\":1,\"service_contract_convert\":1,\"service_contract_approve\":1,\"service_contract_document_upload\":1,\"service_contract_document\":1,\"service_contract_copy\":1,\"service_contract_activity\":1,\"service_trial_add\":1,\"service_trial_edit\":1,\"service_trial_view\":1,\"service_trial_view_all\":1,\"service_trial_delete\":1,\"service_trial_pdf\":1,\"service_trial_convert\":1,\"service_trial_approve\":1,\"service_trial_document_upload\":1,\"service_trial_document\":1,\"service_trial_copy\":1,\"service_trial_activity\":1,\"service_order_add\":1,\"service_order_edit\":1,\"service_order_performa_invoice\":1,\"service_order_view\":1,\"service_order_view_all\":1,\"service_order_delete\":1,\"service_order_pdf\":1,\"service_order_performa_pdf\":1,\"service_order_convert\":1,\"service_order_document_upload\":1,\"service_order_document\":1,\"service_order_copy\":1,\"service_order_activity\":1,\"service_invoice_add\":1,\"service_invoice_edit\":1,\"service_invoice_view\":1,\"service_invoice_view_all\":1,\"service_invoice_print\":1,\"service_invoice_upload_document\":1,\"service_invoice_document\":1,\"service_invoice_activity\":1,\"service_credit_add\":1,\"service_credit_view\":1,\"service_credit_view_all\":1,\"service_credit_pdf\":1,\"service_credit_convert\":1,\"service_return_activity\":1,\"service_avail_qty_app\":1,\"service_show_warehouse_all\":1,\"maintenance_check_all\":1,\"jb_add\":1,\"jb_edit\":1,\"jb_view\":1,\"jb_print\":1,\"machine_issue_add\":1,\"machine_issue_edit\":1,\"machine_issue_view\":1,\"machine_issue_return\":1,\"schedule_maintenance_add\":1,\"schedule_maintenance_edit\":1,\"schedule_maintenance_view\":1,\"schedule_maintenance_print\":1,\"customer_visit_view\":1,\"customer_visit_print\":1,\"job_order_add\":1,\"job_order_edit\":1,\"job_order_view\":1,\"job_order_convert\":1,\"job_order_cancel\":1,\"planned_maintenance_add\":1,\"planned_maintenance_edit\":1,\"planned_maintenance_view\":1,\"planned_maintenance_convert\":1,\"job_order_request_item\":1,\"job_order_issue_item\":1,\"job_order_allotment\":1,\"fm_snag_add\":1,\"fm_snag_edit\":1,\"fm_snag_view\":1,\"fm_snag_convert\":1,\"materials_list_issue\":1,\"materials_list_view\":1,\"inv_check_all\":1,\"stock_add\":1,\"stock_view\":1,\"stock_edit\":1,\"stock_value_view\":1,\"inv_mov_issue_add\":1,\"mov_issue_view\":1,\"inv_mov_issue_edit\":1,\"inv_mov_issue_print\":1,\"inv_issues_post_to_finance\":1,\"inv_mov_issue_convert\":1,\"inv_mov_receipt_add\":1,\"mov_receipt_view\":1,\"mov_receipt_edit\":1,\"inv_mov_receipt_print\":1,\"receipts_post_to_finance\":1,\"direct_transfer_add\":1,\"direct_transfer_view\":1,\"direct_transfer_edit\":1,\"direct_transfer_print\":1,\"direct_transfer_excel\":1,\"direct_transfer_convert\":1,\"view_sales_price\":1,\"edit_selling_price\":1,\"prod_check_all\":1,\"prod_bill_add\":1,\"prod_bill_view\":1,\"prod_bill_edit\":1,\"mat_bill_print\":1,\"prod_bill_convert\":1,\"prod_po_add\":1,\"prod_po_view\":1,\"prod_po_edit_new\":1,\"prod_po_approve\":1,\"prod_po_print\":1,\"prod_po_convert\":1,\"prod_mov_issue_add\":1,\"prod_gi_view\":1,\"prod_mov_issue_edit\":1,\"prod_gi_issue_print\":1,\"prod_mov_issue_convert\":1,\"prod_gr_mov_receipt_add\":1,\"prod_gr_view\":1,\"prod_gr_mov_receipt_print\":1,\"prod_gr_receipts_post_to_finance\":1,\"purchase_check_all\":1,\"vendor_add\":1,\"vendor_edit\":1,\"vendor_view\":1,\"vendor_doc_upload\":1,\"vendor_doc_download\":1,\"vendor_doc_delete\":1,\"requisition_add\":1,\"requisition_edit\":1,\"requisition_view\":1,\"requisition_cancel\":1,\"requisition_pdf\":1,\"requisition_convert_enq\":1,\"requisition_convert_po\":1,\"requisition_approve\":1,\"requisition_activity\":1,\"enquiry_add\":1,\"enquiry_edit\":1,\"enquiry_view\":1,\"enquiry_pdf\":1,\"enquiry_convert\":1,\"enquiry_activity\":1,\"enquiry_doc_upload\":1,\"enquiry_doc_delete\":1,\"purchase_order_add\":1,\"purchase_order_edit\":1,\"purchase_order_view\":1,\"purchase_order_view_context_menu\":1,\"purchase_order_pdf\":1,\"purchase_order_convert\":1,\"purchase_order_approve1\":1,\"PO_activity\":1,\"PO_doc_upload\":1,\"PO_doc_download\":1,\"PO_doc_delete\":1,\"purchase_material_edit\":1,\"purchase_material_view\":1,\"purchase_material_print\":1,\"purchase_material_convert\":1,\"PM_activity\":1,\"purchase_qc_edit\":1,\"purchase_qc_view\":1,\"purchase_qc_convert\":1,\"QC_activity\":1,\"purchase_invoice_edit\":1,\"purchase_invoice_view\":1,\"purchase_invoice_pdf\":1,\"PI_activity\":1,\"PI_doc_upload\":1,\"PI_landing_cost\":1,\"pur_debitnote_add\":1,\"pur_debitnote_view\":1,\"pur_debitnote_pdf\":1,\"pur_debitnote_pckin_convert\":1,\"PR_activity\":1,\"pur_deliverytrack_edit\":1,\"pur_deliverytrack_view\":1,\"pur_deliverytrack_convert\":1,\"pur_receipttrack_edit\":1,\"pur_receipttrack_view\":1,\"pur_receipttrack_convert\":1,\"fixed_asset_register_add\":1,\"fixed_asset_register_edit\":1,\"fixed_asset_register_view\":1,\"fixed_asset_register_covert_sold\":1,\"fixed_asset_register_covert_scrap\":1,\"fixed_asset_register_post\":1,\"fixed_asset_register_unpost\":1,\"depreciation_add\":1,\"depreciation_edit\":1,\"depreciation_view\":1,\"aggregate_view\":1,\"finance_check_all\":1,\"finance_voucher_view\":1,\"finance_voucher_add\":1,\"finance_voucher_import\":1,\"finance_voucher_delete\":1,\"finance_post_voucher\":1,\"finance_unpost_voucher\":1,\"finance_print_voucher\":1,\"finance_print_cheque\":1,\"finance_allocation_view\":1,\"finance_allocation_add\":1,\"finance_allocation_delete\":1,\"finance_print_allocation\":1,\"finance_reconciliation_view\":1,\"finance_reconciliation_add\":1,\"finance_chq_add\":1,\"finance_general_ledger\":1,\"ledger_summary\":1,\"balance_sheet\":1,\"statements\":1,\"aging\":1,\"subledger_report\":1,\"cashflow_report\":1,\"cashflow_finance_report\":1,\"profit_reports\":1,\"sales_vs_cogs\":1,\"restrict_brands\":1,\"trial_balance\":1,\"vat_report\":1,\"masters_finance\":1,\"admin_finance\":1,\"finance_security_cheque_view\":1,\"finance_security_cheque_add\":1,\"finance_security_cheque_delete\":1,\"finance_security_cheque_report\":1,\"vehicle_finance_report\":1,\"mas_inv_emi_view\":1,\"mas_inv_emi_add\":1,\"mas_inv_emicategory_view\":1,\"mas_inv_emicategory_add\":1,\"mas_inv_emicategory_delete\":1,\"cheque_collection_view\":1,\"cheque_collection_add\":1,\"cheque_collection_upload\":1,\"cheque_collection_edit\":1,\"account_check_all\":1,\"account_menu_view\":1,\"acc_vouchers_menu_view\":1,\"acc_vouchers_add\":1,\"acc_vouchers_edit\":1,\"acc_vouchers_delete\":1,\"acc_vouchers_post\":1,\"acc_vouchers_unpost\":1,\"acc_vouchers_print\":1,\"acc_print_cheque\":1,\"acc_import_menu_view\":1,\"acc_voucher_uploaddoc\":1,\"acc_copy_voucher\":1,\"acc_voucher_export_excel\":1,\"acc_new_payment_add\":1,\"acc_new_receipt_add\":1,\"acc_voucher_post_unpost\":1,\"acc_voucher_upload\":1,\"acc_allocation_menu_view\":1,\"acc_allocation_delete\":1,\"acc_allocation_print\":1,\"acc_cheques_management_menu_view\":1,\"acc_reconciliation_menu_view\":1,\"acc_reconciliation_history_menu_view\":1,\"acc_reconciliation_history_add\":1,\"acc_reconciliation_history_delete\":1,\"acc_reconciliation_history_print\":1,\"acc_ledgers_menu_view\":1,\"acc_ledgers_add\":1,\"acc_ledgers_edit\":1,\"acc_ledgers_delete\":1,\"acc_subLedger_type_menu_view\":1,\"acc_subLedger_type_add\":1,\"acc_subLedger_type_edit\":1,\"acc_subLedgers_menu_view\":1,\"acc_subLedgers_add\":1,\"acc_subLedgers_edit\":1,\"acc_subLedgers_delete\":1,\"acc_audit_close_menu_view\":1,\"acc_audit_close_add\":1,\"acc_audit_close_delete\":1,\"acc_final_audit_close_menu_view\":1,\"acc_final_audit_close_add\":1,\"acc_final_audit_close_delete\":1,\"acc_mapping_menu_view\":1,\"acc_voucher_types_menu_view\":1,\"acc_voucher_types_add\":1,\"acc_voucher_types_edit\":1,\"acc_synchronize_subledgers_menu_view\":1,\"acc_payment_mode_menu_view\":1,\"acc_payment_mode_add\":1,\"acc_payment_mode_edit\":1,\"acc_general_settings_view\":1,\"acc_audit_log_view\":1,\"admin_check_all\":1,\"admin_users_add\":1,\"admin_users_edit\":1,\"users_mis_accessible_branches_edit\":1,\"admin_users_delete\":1,\"admin_users_view\":1,\"admin_users_block\":1,\"admin_usergroup_add\":1,\"admin_usergroup_edit\":1,\"admin_usergroup_delete\":1,\"admin_usergroup_view\":1,\"auditlog_view\":1,\"show_level_all\":1,\"report_check_all\":1,\"report_sale_lead_view\":1,\"report_sale_lead_view_download\":1,\"report_sale_quotes_view\":1,\"report_sale_quotes_download\":1,\"report_sale_order_view\":1,\"report_sale_order_download\":1,\"report_sale_delivery_view\":1,\"report_sale_delivery_download\":1,\"report_sale_invoice_view\":1,\"report_sale_invoice_download\":1,\"report_sale_creditnote_view\":1,\"report_sale_creditnote_download\":1,\"report_sale_datewisesales_view\":1,\"report_sale_datewisesales_download\":1,\"report_sale_daybook_view\":1,\"report_sale_daybook_download\":1,\"report_sale_delivertoinvoice_view\":1,\"report_sale_delivertoinvoice_download\":1,\"report_sale_grossprofit_view\":1,\"report_sale_grossprofit_download\":1,\"report_sale_ordertodeliver_view\":1,\"report_sale_ordertodeliver_download\":1,\"sales_items_by_brand\":1,\"sales_items_by_brand_download\":1,\"report_sale_netsales_view\":1,\"report_sale_netsales_download\":1,\"job_order_report_view\":1,\"job_order_report_download\":1,\"report_customerlist_view\":1,\"report_customerlist_download\":1,\"report_customercontact_view\":1,\"report_customercontact_download\":1,\"report_vendorlist_view\":1,\"report_vendorlist_download\":1,\"report_vendorcontact_view\":1,\"report_vendorcontact_download\":1,\"report_sales_payment_terms\":1,\"report_sales_payment_download\":1,\"report_activity_view\":1,\"report_activity_download\":1,\"report_currentstock_view\":1,\"current_stock_report_download\":1,\"report_directtransfer_view\":1,\"direct_transfer_report_download\":1,\"report_inv_stock_transn_view\":1,\"inv_stock_transaction_report_download\":1,\"report_inv_transdetail_view\":1,\"inv_transaction_detail_report_download\":1,\"report_inv_warehouse_stock\":1,\"report_inventorydetailedlist\":1,\"report_inventorydetailedlist_download\":1,\"report_stockmovementreport_view\":1,\"report_stockmovementreport_view_download\":1,\"report_zerobasecostpriceproduct_view\":1,\"acc_reports_menu_view\":1,\"acc_trialbalance_report_menu\":1,\"acc_trial_balance_detailed_report_menu\":1,\"acc_profitloss_report_menu\":1,\"acc_profitloss_detailed_report_menu\":1,\"acc_balance_report_menu\":1,\"acc_balance_detailed_report_menu\":1,\"acc_generalledger_reportsummary_menu\":1,\"acc_generalledger_report_menu\":1,\"acc_ledger_report_menu\":1,\"acc_ledgersummary_report_menu\":1,\"acc_subledgerdetail_report_menu\":1,\"acc_customerstatement_report_menu\":1,\"acc_customerstatement_ason_date_report_menu\":1,\"acc_customerstatement_consolidated_report_menu\":1,\"acc_customerstatement_pdc_report_menu\":1,\"acc_vendorstatement_report_menu\":1,\"acc_vendorstatement_ason_date_report_menu\":1,\"acc_vendorstatement_pdc_report_menu\":1,\"acc_receivableaging_report_menu\":1,\"acc_payableaging_report_menu\":1,\"acc_vat_summary_report_menu\":1,\"acc_vat_register_report_menu\":1,\"report_purchaseorder_view\":1,\"purchase_order_report_download\":1,\"report_purchasemr_view\":1,\"report_purchasemr_download\":1,\"report_pendingorder_view\":1,\"report_pendingorder_download\":1,\"report_purchaseinvoice_view\":1,\"report_purchaseinvoice_download\":1,\"report_purchasedebit_view\":1,\"report_purchasedebit_download\":1,\"report_purchaseitemsordr_view\":1,\"report_netpurchase_view\":1,\"report_netpurchase_download\":1,\"ass_production_summary_list\":1,\"ass_production_consumption_list\":1,\"ass_out_of_stock_list\":1,\"fleet_vechicle_list\":1,\"fleet_vechicle_list_download\":1,\"fleet_vechicle_service_list\":1,\"fleet_vechicle_service_list_download\":1,\"fleet_vechicle_allotment_list\":1,\"fleet_vechicle_allotment_download\":1,\"mas_check_all\":1,\"bank_add\":1,\"bank_edit\":1,\"bank_view\":1,\"bank_disable\":1,\"currency_add\":1,\"currency_edit\":1,\"currency_view\":1,\"currency_disable\":1,\"paymentterm_add\":1,\"paymentterm_edit\":1,\"paymentterm_view\":1,\"paymentterm_disable\":1,\"footer_items_add\":1,\"footer_items_edit\":1,\"footer_items_view\":1,\"footer_items_disable\":1,\"mas_warehouse_add\":1,\"mas_warehouse_edit\":1,\"mas_warehouse_view\":1,\"mas_warehouse_disable\":1,\"mas_inv_brand_add\":1,\"mas_inv_brand_edit\":1,\"mas_inv_brand_view\":1,\"mas_inv_brand_disable\":1,\"mas_inv_rack_add\":1,\"mas_inv_rack_edit\":1,\"mas_inv_rack_view\":1,\"mas_inv_rack_disable\":1,\"mas_inv_bin_add\":1,\"mas_inv_bin_edit\":1,\"mas_inv_bin_view\":1,\"mas_inv_bin_disable\":1,\"mas_inv_unit_add\":1,\"mas_inv_unit_edit\":1,\"mas_inv_unit_view\":1,\"mas_inv_unit_disable\":1,\"inventory_generic_name_add\":1,\"inventory_generic_name_edit\":1,\"inventory_generic_name_view\":1,\"inventory_generic_name_disable\":1,\"mas_tax_add\":1,\"mas_tax_edit\":1,\"mas_tax_view\":1,\"mas_tax_disable\":1,\"mas_item_type_add\":1,\"mas_item_type_edit\":1,\"mas_item_type_view\":1,\"mas_item_type_disable\":1,\"change_upload_sales_pricing_group_add\":1,\"change_upload_sales_pricing_group_edit\":1,\"mas_inventoryuploadpricinggroup_view\":1,\"sales_master_salegroup_add\":1,\"sales_master_salegroup_edit\":1,\"sales_master_salegroup_view\":1,\"sales_master_salegroup_disable\":1,\"cus_master_industry_add\":1,\"cus_master_industry_edit\":1,\"cus_master_industry_view\":1,\"cus_master_industry_disable\":1,\"mas_quotation_close_reason_add\":1,\"mas_quotation_close_reason_edit\":1,\"mas_quotation_close_reason_view\":1,\"mas_quotation_close_reason_disable\":1,\"termsandcondition_add\":1,\"termsandcondition_edit\":1,\"termsandcondition_view\":1,\"termsandcondition_disable\":1,\"ai_dashboard_add\":1,\"ai_dashboard_edit\":1,\"ai_dashboard_view\":1,\"ai_dashboard_disable\":1,\"sales_master_notification_add\":1,\"sales_master_notification_edit\":1,\"notification_view\":1,\"sales_master_notification_disable\":1,\"sales_master_sourceoflead_add\":1,\"sales_master_sourceoflead_edit\":1,\"source_of_lead_view\":1,\"sales_master_sourceoflead_disable\":1,\"sales_master_status_add\":1,\"sales_master_status_edit\":1,\"status_view\":1,\"sales_master_status_disable\":1,\"mas_modules_add\":1,\"mas_modules_edit\":1,\"mas_modules_view\":1,\"mas_modules_disable\":1,\"mas_submodules_add\":1,\"mas_submodules_edit\":1,\"mas_submodules_view\":1,\"mas_submodules_disable\":1,\"master_country_add\":1,\"master_country_edit\":1,\"master_country_view\":1,\"master_country_disable\":1,\"master_inco_term_add\":1,\"master_inco_term_edit\":1,\"master_inco_term_view\":1,\"master_inco_term_disable\":1,\"shipping_method_add\":1,\"shipping_method_edit\":1,\"shipping_method_view\":1,\"shipping_method_disable\":1,\"mas_doc_type_add\":1,\"mas_doc_type_edit\":1,\"mas_doc_type_view\":1,\"mas_doc_type_disable\":1,\"fixed_asset_master_add\":1,\"fixed_asset_master_edit\":1,\"fixed_asset_master_view\":1,\"company_setting_master_add\":1,\"company_setting_master_edit\":1,\"company_setting_master_view\":1,\"sales_master_service_add\":1,\"sales_master_service_edit\":1,\"sales_master_service_view\":1,\"sales_master_service_disable\":1,\"projects_mas_task_category_add\":1,\"projects_mas_task_category_edit\":1,\"projects_mas_task_category_view\":1,\"projects_mas_task_category_disable\":1,\"projects_mas_task_subcategory_add\":1,\"projects_mas_task_subcategory_edit\":1,\"projects_mas_task_subcategory_view\":1,\"projects_mas_task_subcategory_disable\":1,\"projects_mas_external_labour_add\":1,\"projects_mas_external_labour_edit\":1,\"projects_mas_external_labour_view\":1,\"projects_mas_external_labour_disable\":1,\"projects_masster1_add\":1,\"projects_masster1_edit\":1,\"projects_masster1_view\":1,\"projects_masster1_block\":1,\"projects_master2_add\":1,\"projects_master2_edit\":1,\"projects_master2_view\":1,\"projects_master2_block\":1,\"projects_masster3_add\":1,\"projects_masster3_edit\":1,\"projects_masster3_view\":1,\"projects_masster3_block\":1,\"project_check_all\":1,\"add_project\":1,\"edit_project\":1,\"view_project_menu\":1,\"requisition_project_menu\":1,\"PO_project_menu\":1,\"MI_project_menu\":1,\"print_project_menu_new\":1,\"project_work_time_admin_menu\":1,\"project_work_time_admin_view\":1,\"project_work_time_view_menu\":1,\"project_work_time_view_view\":1,\"fleet_check_all\":1,\"sales_master_masvehicle_add\":1,\"sales_master_vehicle_edit\":1,\"view_sales_master_vehicle\":1,\"sales_master_vehicle_disable\":1,\"sales_master_vehicle_print\":1,\"sales_master_masvehicle_upload\":1,\"master_masmaintainance_add\":1,\"master_maintainance_edit\":1,\"view_master_maintainance\":1,\"master_maintainance_disable\":1,\"master_masservicestatus_add\":1,\"master_masservicestatus_edit\":1,\"view_master_masservicestatus\":1,\"master_masservicestatus_disable\":1,\"master_veh_maintainance_add\":1,\"master_veh_maintainance_edit\":1,\"view_master_veh_maintainance\":1,\"master_veh_maintainance_disable\":1,\"master_veh_maintainance_print\":1,\"master_veh_allotment_add\":1,\"vehicle_allotment_edit\":1,\"view_master_veh_allotment\":1,\"profit_calculation_check_all\":1,\"profit_calculation_view\":1,\"show_different_cost_pricing\":1,\"view_all_files\":1,\"approve_below_minimum_profit\":1,\"profit_settings_view\":1,\"profit_settings_add\":1,\"profit_settings_edit\":1,\"profit_settings_delete\":1}', '{\"hr_checkall\":1,\"hr_menu_check_all\":1,\"hr_whole_menu\":1,\"hr_dashboard_as_default_menu\":1,\"hr_notification_menu\":1,\"hr_mis_menu\":1,\"hr_dashboard_menu\":1,\"hr_calendar_menu\":1,\"hr_graph_menu\":1,\"hr_analysis_menu\":1,\"hr_representation_menu\":1,\"hr_employee_menu\":1,\"hr_emp_details_menu\":1,\"hr_emp_attendance_menu\":1,\"hr_empatt_biometric_exclude_menu\":1,\"hr_empatt_shift_menu\":1,\"hr_empatt_uploadattendance_menu\":1,\"hr_empatt_daily_att_menu\":1,\"hr_empatt_add_emp_att_menu\":1,\"hr_empatt_monthly_att_menu\":1,\"hr_empatt_att_list_menu\":1,\"hr_attendance_current_date_menu\":1,\"hr_attendance_excuse_menu\":1,\"hr_emp_recruitmnt_menu\":1,\"hr_emp_main_appraisal_menu\":1,\"hr_emp_appraisal_menu\":1,\"hr_emp_leave_menu\":1,\"hr_empleave_leavedetails_menu\":1,\"hr_empleave_addreduceleave_menu\":1,\"hr_empleave_leavebalance_menu\":1,\"hr_empleave_settlemnt_menu\":1,\"hr_empleave_settlemntlist_menu\":1,\"hr_empleave_encash_menu\":1,\"hr_empleavemigration_leavedetails_menu\":1,\"hr_emp_loan_menu\":1,\"hr_emp_request_menu\":1,\"hr_emprequest_docmnt_menu\":1,\"hr_emprequest_resigntn_menu\":1,\"hr_emprequest_meeting_menu\":1,\"hr_emprequest_complaint_menu\":1,\"hr_emp_eos_menu\":1,\"hr_empeos_settlement_menu\":1,\"hr_empeos_clearance_menu\":1,\"hr_empeos_gratuity_list_menu\":1,\"hr_off_boarding_menu\":1,\"hr_training_menu\":1,\"hr_emp_training_details\":1,\"hr_emp_training_matrix\":1,\"hr_emp_ticket_menu\":1,\"hr_emp_family_ticket_menu\":1,\"hr_emp_ticket_encash_menu\":1,\"hr_emp_add_ticket_menu\":1,\"hr_emp_organization_chart_menu\":1,\"hr_payroll_menu\":1,\"hr_payroll_payments_menu\":1,\"hr_payroll_salcalc_menu\":1,\"hr_salary_component_menu\":1,\"hr_payroll_sallist_menu\":1,\"hr_payroll_salary_payment_menu\":1,\"hr_payroll_cash_menu\":1,\"hr_payroll_cheque_menu\":1,\"hr_payroll_siffile_menu\":1,\"hr_payroll_exchange_menu\":1,\"hr_payroll_bank_menu\":1,\"hr_payroll_saladvance_menu\":1,\"hr_payroll_salslippreview_menu\":1,\"hr_payroll_salslip_menu\":1,\"hr_payroll_salary_transfer_file_menu\":1,\"hr_payroll_salary_checking_menu\":1,\"hr_payroll_disable_ess_salary_slip_menu\":1,\"hr_overtime_sheet_menu\":1,\"hr_overtime_sheet_upload_menu\":1,\"hr_overtime_sheet_update_menu\":1,\"hr_settings_menu\":1,\"hr_changes_menu\":1,\"hr_settings_resetusernamepass_menu\":1,\"hr_settings_initial_password_menu\":1,\"hr_settings_change_branch_menu\":1,\"hr_settings_change_department_menu\":1,\"hr_settings_change_designation_menu\":1,\"hr_settings_addreportmanager_menu\":1,\"hr_settings_addattendancemanager_menu\":1,\"hr_settings_addweekend_menu\":1,\"hr_settings_addovertime_menu\":1,\"hr_settings_addbiometricno_menu\":1,\"hr_settings_adddsalarytransfer_menu\":1,\"hr_settings_addsalarycalculation_menu\":1,\"hr_settings_addthreshold_menu\":1,\"hr_settings_changebankdetails_menu\":1,\"hr_settings_changedob_menu\":1,\"hr_settings_changedoj_menu\":1,\"hr_settings_marital_status_menu\":1,\"hr_settings_change_pension_menu\":1,\"hr_settings_change_team_menu\":1,\"hr_settings_nationality_menu\":1,\"hr_settings_contracttype_menu\":1,\"hr_settings_attend_manager_menu\":1,\"hr_settings_report_manager_menu\":1,\"hr_settings_pdf_menu\":1,\"hr_settings_mail_menu\":1,\"hr_others_menu\":1,\"hr_emp_assigncompanywps_menu\":1,\"hr_catalogue_menu\":1,\"hr_others_circular_menu\":1,\"hr_others_incircular_menu\":1,\"hr_others_outcircular_menu\":1,\"hr_employee_document_expiry_menu\":1,\"hr_others_employee_expire_document_menu\":1,\"hr_others_depandant_document_expire_menu\":1,\"hr_emprequest_exp_menu\":1,\"hr_expense_menu\":1,\"hr_emp_notification_menu\":1,\"hr_emp_notes_menu\":1,\"hr_emp_noticeofconduct_menu\":1,\"hr_calendar_notification_menu\":1,\"hr_emp_product_purchase_menu\":1,\"hr_template_view\":1,\"hr_empployee_device_view\":1,\"hr_approve_hierarcy_menu\":1,\"hr_hierarcy_level_menu\":1,\"hr_hierarcy_level_same_menu\":1,\"hr_hierarcy_level_change_menu\":1,\"hr_hierarcy_report_menu\":1,\"hr_room_menu\":1,\"hr_room_setting_menu\":1,\"hr_bedspace_menu\":1,\"hr_room_allocation_menu\":1,\"hr_reports_menu\":1,\"hr_master_menu\":1,\"hr_master_general_menu\":1,\"hr_master_appraisal_menu\":1,\"hr_master_appraisal_department_menu\":1,\"hr_master_appraisal_type_menu\":1,\"hr_master_appraisal_question_menu\":1,\"hr_master_app_menu\":1,\"hr_master_scheme_level_menu\":1,\"hr_master_color_scheme_menu\":1,\"hr_master_country_menu\":1,\"hr_master_general_depatmnt_menu\":1,\"hr_master_general_desgn_menu\":1,\"hr_master_empexpense_menu\":1,\"hr_master_general_emppanelpermission_menu\":1,\"hr_master_grade_menu\":1,\"hr_master_general_holiday_menu\":1,\"hr_master_product_menu\":1,\"hr_master_recruit_menu\":1,\"hr_master_dept_rect\":1,\"hr_master_questions\":1,\"hr_master_onboard_add\":1,\"hr_master_offboard_add\":1,\"hr_master_general_settings_menu\":1,\"hr_master_teamname_menu\":1,\"hr_master_course_menu\":1,\"hr_master_finance_menu\":1,\"hr_master_bank_menu\":1,\"hr_master_currency_menu\":1,\"hr_master_expense_menu\":1,\"hr_master_eos_menu\":1,\"hr_master_eos_clearance_menu\":1,\"hr_master_eos_gratuity_menu\":1,\"hr_master_eos_payment_menu\":1,\"hr_master_salary_menu\":1,\"hr_master_sal_type_menu\":1,\"hr_master_sal_lockmonth_menu\":1,\"hr_master_sal_datesetting_menu\":1,\"hr_master_contract_menu\":1,\"hr_master_doc_menu\":1,\"hr_master_company_doc_menu\":1,\"hr_master_doc_type_menu\":1,\"hr_master_doc_expiry_menu\":1,\"hr_master_inout_doc_menu\":1,\"hr_master_general_certificate_menu\":1,\"hr_master_jobcontract_menu\":1,\"hr_master_settings_menu\":1,\"hr_master_attendance_format_menu\":1,\"hr_master_asset_menu\":1,\"hr_master_asset_details_menu\":1,\"hr_master_branch_menu\":1,\"hr_master_geo_location_menu\":1,\"hr_master_geocode_menu\":1,\"hr_master_leave_type_menu\":1,\"hr_master_noticeperiod_menu\":1,\"hr_master_sal_overtimetype_menu\":1,\"hr_master_sal_pensionsetting_menu\":1,\"hr_master_relation_menu\":1,\"hr_master_shifttimings_menu\":1,\"hr_master_sig_auth_menu\":1,\"hr_master_companywps_menu\":1,\"hr_admin_menu\":1,\"hr_admin_company_menu\":1,\"dashboard_check_all\":1,\"hrdash_document_expiry\":1,\"hrdash_company_document_expiry\":1,\"hrdash_daily_attendance\":1,\"hrdash_employee_leaves\":1,\"hrdash_birthdays\":1,\"hrdash_Leave_Approved\":1,\"mis_check_all\":1,\"hrmis_representation_view\":1,\"hrmis_employee_representation\":1,\"hrmis_employee_representation_month\":1,\"hrmis_document_health\":1,\"hrmis_salary_represention\":1,\"hrmis_employee_analysis\":1,\"hrmis_leave_analysis\":1,\"hrmis_salary_analysis\":1,\"hrmis_attendance_analysis\":1,\"hrmis_work_analysis\":1,\"snapshot_check_all\":1,\"hr_dashboard_analysis_menu_employee\":1,\"hr_dashboard_analysis_menu_salary\":1,\"hr_dashboard_analysis_menu_salary_increment\":1,\"hr_dashboard_analysis_menu_salary_advance\":1,\"hr_dashboard_analysis_menu_monthly_pay\":1,\"hr_dashboard_analysis_menu_allowance_change\":1,\"hr_dashboard_analysis_menu_attendance\":1,\"hr_dashboard_analysis_menu_attendance_subtype\":1,\"hr_dashboard_analysis_menu_leave_subtype\":1,\"hr_dashboard_analysis_menu_punctuality\":1,\"hr_dashboard_analysis_menu_absent_details\":1,\"hr_dashboard_analysis_menu_assets\":1,\"hr_dashboard_analysis_menu_documents\":1,\"hr_dashboard_analysis_menu_leave\":1,\"hr_dashboard_analysis_menu_leave_history\":1,\"hr_dashboard_analysis_menu_leave_balance\":1,\"hr_dashboard_analysis_menu_disciplinary_action\":1,\"hr_dashboard_analysis_menu_daily_vist\":1,\"hr_dashboard_analysis_menu_monthly_payable_salary_datails\":1,\"hr_dashboard_analysis_menu_salary_datails\":1,\"employee_check_all\":1,\"hr_employee_details_add\":1,\"hr_employee_details_edit\":1,\"hr_employee_details_view\":1,\"hr_employee_details_block_unblock\":1,\"hr_employee_details_upload\":1,\"hr_snapshot_tab\":1,\"hr_employee_send_password\":1,\"hr_att_biometric_exclude_list_add\":1,\"hr_att_biometric_exclude_list_delete\":1,\"hr_att_employee_shift_add\":1,\"hr_att_employee_shift_edit\":1,\"hr_att_employee_shift_view\":1,\"hr_att_employee_shift_delete\":1,\"hr_att_employee_shift_upload\":1,\"hr_emp_attendance_list_edit\":1,\"hr_emp_att_overtime_edit\":1,\"hr_attendance_excuse_add\":1,\"hr_attendance_excuse_view\":1,\"hr_attendance_excuse_delete\":1,\"hr_attendance_excuse_approve\":1,\"hr_attendance_admin_excuse_approve\":1,\"hr_employee_recruitment_add\":1,\"hr_employee_recruitment_edit\":1,\"hr_employee_recruitment_view\":1,\"hr_employee_recruitment_delete\":1,\"hr_recruitment_print\":1,\"hr_recruitment_convert\":1,\"hr_recruitment_send\":1,\"appraisal_add\":1,\"hr_employee_appraisal_edit\":1,\"hr_employee_appraisal_view\":1,\"hr_employee_appraisal_delete\":1,\"hr_employee_appraisal_print\":1,\"hr_employee_appraisal_approve\":1,\"hr_emp_leave_details_add\":1,\"hr_emp_leave_details_edit\":1,\"hr_emp_leave_details_view\":1,\"hr_emp_leave_hierarchy_view\":1,\"hr_emp_leave_details_cancel\":1,\"hr_emp_leave_details_download\":1,\"hr_emp_leave_details_print\":1,\"hr_emp_leave_details_approve\":1,\"hr_emp_leave_details_copy\":1,\"hr_emp_admin_leave_details_approve\":1,\"leave_encashment_add\":1,\"hr_emp_leave_encashment_view\":1,\"hr_emp_leave_encashment_download\":1,\"hr_emp_leave_encashment_approve\":1,\"hr_emp_admin_leave_encashment_approve\":1,\"hr_emp_leave_settlement_add\":1,\"hr_emp_leave_settlement_approve\":1,\"hr_leave_settlement_list_print\":1,\"hr_emp_leave_migration_add\":1,\"hr_emp_leave_migration_view\":1,\"hr_emp_leave_migration_cancel\":1,\"hr_emp_leave_migration_download\":1,\"hr_employee_loan_add\":1,\"hr_employee_loan_edit\":1,\"hr_employee_loan_view\":1,\"hr_emp_loan_hierarchy_view\":1,\"hr_employee_loan_delete\":1,\"hr_employee_loan_approve_print\":1,\"hr_employee_loan_pay\":1,\"hr_employee_loan_approvereject\":1,\"hr_emp_admin_loan_details_approve\":1,\"hr_emp_document_request_add\":1,\"hr_emp_document_request_view\":1,\"hr_emp_document_request_delete\":1,\"hr_emp_document_request_print\":1,\"hr_emp_document_request_approve\":1,\"hr_emp_document_admin_request_approve\":1,\"hr_emp_resignation_request_add\":1,\"hr_emp_resignation_request_view\":1,\"hr_emp_resignation_request_approve\":1,\"hr_emp_resignation_admin_request_approve\":1,\"hr_emp_meeting_requests_add\":1,\"hr_emp_meeting_requests_view\":1,\"hr_emp_meeting_requests_delete\":1,\"hr_emp_complaint_requests_add\":1,\"hr_emp_complaint_requests_view\":1,\"hr_emp_complaint_requests_delete\":1,\"hr_emp_eos_settlement_add\":1,\"hr_emp_eos_settlement_view\":1,\"hr_emp_eos_settlement_delete\":1,\"hr_emp_eos_settlement_upload\":1,\"hr_emp_eos_settlement_download\":1,\"hr_emp_eos_settlement_print\":1,\"hr_emp_eos_settlement_edit\":1,\"hr_empeos_clearance_view\":1,\"hr_empeos_clearance_delete\":1,\"hr_empeos_clearance_print\":1,\"hr_gratuity_list_print\":1,\"hr_off_boarding_add\":1,\"hr_off_boarding_edit\":1,\"hr_employee_training_add\":1,\"hr_employee_training_edit\":1,\"hr_employee_training_delete\":1,\"hr_employee_training_download\":1,\"hr_employee_training_send\":1,\"hr_employee_ticket_add\":1,\"hr_employee_ticket_view\":1,\"hr_employee_ticket_download\":1,\"hr_employee_ticket_print\":1,\"hr_employee_ticket_approve\":1,\"hr_family_ticket_add\":1,\"hr_family_ticket_view\":1,\"hr_family_ticket_approve\":1,\"hr_employee_ticket_encash_add\":1,\"hr_employee_ticket_encash_view\":1,\"hr_employee_ticket_encash_download\":1,\"hr_employee_ticket_encash_print\":1,\"hr_employee_ticket_encash_approve\":1,\"hr_employee_ticket_encash_admin_approve\":1,\"hr_employee_documents_upload\":1,\"hr_employee_leave_upload\":1,\"hr_emp_snapshot_tab\":1,\"hr_personal_tab\":1,\"hr_qualification_tab\":1,\"hr_nominee_tab\":1,\"hr_contact_tab\":1,\"hr_document_tab\":1,\"hr_asset_tab\":1,\"hr_leave_tab\":1,\"hr_empleave_salary_tab\":1,\"hr_empleave_bank_tab\":1,\"hr_empleave_loan_tab\":1,\"hr_empleave_eos_tab\":1,\"hr_other_tab\":1,\"hr_inout_tab\":1,\"hr_issued_tab\":1,\"hr_training_tab\":1,\"hr_notes_tab\":1,\"hr_level_tab\":1,\"payroll_check_all\":1,\"hr_payroll_payments_add\":1,\"hr_salary_calculate\":1,\"hr_salary_edit\":1,\"hr_salary_view\":1,\"hr_salary_rollback\":1,\"hr_salary_lock\":1,\"hr_salary_unlock\":1,\"hr_salary_component_view\":1,\"hr_salary_component_delete\":1,\"hr_salary_component_upload\":1,\"hr_salary_component_download\":1,\"hr_payroll_sif_file_add\":1,\"hr_payroll_sif_file_delete\":1,\"hr_payroll_sif_file_print\":1,\"hr_payroll_sif_file_download\":1,\"hr_payroll_sif_file_post\":1,\"hr_payroll_sif_file_unpost\":1,\"hr_payroll_salary_advance_add\":1,\"hr_payroll_salary_advance_edit\":1,\"hr_payroll_salary_advance_view\":1,\"hr_payroll_salary_advance_delete\":1,\"hr_payroll_salary_advance_payment\":1,\"hr_payroll_salary_advance_download\":1,\"hr_payroll_salary_advance_approve\":1,\"hr_payroll_admin_salary_advance_details_approve\":1,\"hr_employee_salary_upload\":1,\"hr_payroll_salary_transfer_file_download\":1,\"hr_master_branch_salary_slip_view_edit\":1,\"hr_salary_block_unblock\":1,\"hr_overtime_sheet_add\":1,\"hr_upload_overtimesheet_edit\":1,\"hr_upload_overtimesheet_view\":1,\"hr_upload_overtimesheet_delete\":1,\"payroll_checker_check_all\":1,\"payroll_checker_summary\":1,\"payroll_checker_leave\":1,\"payroll_checker_loan\":1,\"payroll_checker_salary_advance\":1,\"payroll_checker_expense\":1,\"payroll_checker_payments\":1,\"payroll_checker_overtime\":1,\"payroll_checker_mol_id\":1,\"payroll_checker_iban\":1,\"payroll_checker_bank\":1,\"payroll_checker_wps\":1,\"payroll_checker_branch\":1,\"payroll_checker_pension\":1,\"payroll_checker_absent_list\":1,\"payroll_checker_flexitime_list\":1,\"payroll_checker_zero_salary\":1,\"payroll_checker_salary_comp\":1,\"hrsettings_check_all\":1,\"hr_mail_setting_add\":1,\"hr_mail_setting_edit\":1,\"hr_mail_setting_enable\":1,\"others_check_all\":1,\"hr_catalogue_add\":1,\"hr_catalogue_edit\":1,\"hr_catalogue_delete\":1,\"hr_catalogue_download\":1,\"hr_payroll_indoor_circular_add\":1,\"hr_payroll_indoor_circular_edit\":1,\"hr_payroll_indoor_circular_delete\":1,\"hr_payroll_outdoor_circular_add\":1,\"hr_payroll_outdoor_circular_edit\":1,\"hr_payroll_outdoor_circular_delete\":1,\"hr_emp_expense_request_add\":1,\"hr_emp_expense_edit\":1,\"hr_emp_expense_request_view\":1,\"hr_emp_expense_hierarchy_view\":1,\"hr_emp_expense_delete\":1,\"hr_emp_expense_request_download\":1,\"hr_emp_expense_request_print\":1,\"hr_emp_expense_request_approve\":1,\"hr_emp_expense_request_verify\":1,\"hr_emp_expense_request_copy\":1,\"hr_emp_expense_admin_details_approve\":1,\"hr_expense_add\":1,\"hr_expense_edit\":1,\"hr_expense_delete\":1,\"hr_master_device_edit\":1,\"hr_master_device_disable\":1,\"hr_employee_notification_add\":1,\"hr_employee_notification_edit\":1,\"hr_employee_notification_delete\":1,\"hr_notes_add\":1,\"hr_notes_edit\":1,\"hr_notes_view\":1,\"hr_notes_delete\":1,\"hr_notice_conduct_add\":1,\"hr_notice_conduct_edit\":1,\"hr_notice_conduct_upload\":1,\"hr_notice_conduct_download\":1,\"hr_notice_conduct_print\":1,\"hr_notification_add\":1,\"hr_notification_edit\":1,\"hr_notification_delete\":1,\"hr_emp_product_purchase_add\":1,\"hr_emp_product_purchase_view\":1,\"hr_emp_product_purchase_cancel\":1,\"hr_emp_product_purchase_approve\":1,\"hr_template_add\":1,\"hr_template_edit\":1,\"hr_template_delete\":1,\"hr_template_download\":1,\"hr_master_general_roomsetting_add\":1,\"hr_master_general_roomsetting_edit\":1,\"hr_bedspace_add\":1,\"hr_bedspace_edit\":1,\"hr_room_allocation_add\":1,\"hr_room_allocation_edit\":1,\"hr_room_allocation_delete\":1,\"hrreports_check_all\":1,\"hr_other_report_attendance_menu\":1,\"hr_other_att_attendance_list\":1,\"hr_other_att_datewise_attendance_list\":1,\"hr_emp_report_business_meeting_details\":1,\"hr_other_att_monthly_attendance_list\":1,\"hr_other_att_overtime_list\":1,\"hr_emp_report_punch_history_list\":1,\"hr_emp_report_not_punch_list\":1,\"hr_other_att_wrk_hours\":1,\"hr_emp_report_menu\":1,\"hr_emp_report_emp_appraisal_list\":1,\"hr_emp_report_emp_appraisal_list_individual\":1,\"hr_emp_report_emp_asset_list\":1,\"hr_emp_report_emp_level_list\":1,\"hr_emp_report_emp_bank_details_list\":1,\"hr_emp_report_blocked_emp_list\":1,\"hr_emp_report_emp_branch_details\":1,\"hr_emp_report_emp_consolidate_list\":1,\"hr_emp_report_emp_dept_list\":1,\"hr_emp_report_emp_dept_hierarchylist\":1,\"hr_emp_report_emp_desgn_list\":1,\"hr_emp_report_emp_doc_details\":1,\"hr_emp_report_emp_doc_list\":1,\"hr_emp_report_emp_list\":1,\"hr_emp_report_emp_quali_list\":1,\"hr_emp_report_emp_settings_list\":1,\"hr_emp_report_emp_eos\":1,\"hr_emp_report_emp_eos_clearance\":1,\"hr_emp_report_expense\":1,\"hr_emp_report_emp_exp_doc_list\":1,\"hr_emp_report_hierarchy\":1,\"hr_other_com_inout_documnt\":1,\"hr_emp_report_emp_loan\":1,\"hr_emp_report_emp_new_hire\":1,\"hr_emp_report_emp_nominee_list\":1,\"hr_emp_report_emp_probationary\":1,\"hr_emp_report_emp_purchase\":1,\"hr_emp_report_emp_recruitment\":1,\"hr_emp_report_emp_resignation\":1,\"hr_emp_report_emp_team_list\":1,\"hr_emp_report_emp_training\":1,\"hr_emp_report_training_plan\":1,\"hr_emp_report_weekend\":1,\"hr_other_report_company_menu\":1,\"hr_other_com_branch\":1,\"hr_company_doc_report\":1,\"hr_other_report_salary_menu\":1,\"hr_emp_report_emp_salary\":1,\"hr_other_sal_advance_list\":1,\"hr_other_sal_befor_lock\":1,\"hr_other_sal_increment_list\":1,\"hr_other_sal_slip\":1,\"hr_master_monthly_report\":1,\"hr_other_report_leave_menu\":1,\"hr_other_leave_add_ded\":1,\"hr_other_leave_balance\":1,\"hr_leave_encashment_report\":1,\"hr_other_leave_emp_leave_list\":1,\"hr_leave_ledger_report\":1,\"hr_other_leave_yearly_report\":1,\"hr_other_report_ticket_menu\":1,\"hr_emp_report_emp_tkt\":1,\"hr_emp_report_ledger\":1,\"hr_emp_report_emp_encash\":1,\"hr_emp_report_entitlement\":1,\"hrmasters_check_all\":1,\"hr_master_appraisal_department_add\":1,\"hr_master_appraisal_department_edit\":1,\"hr_master_appraisal_department_disable\":1,\"hr_master_appraisaltype_add\":1,\"hr_master_appraisaltype_edit\":1,\"hr_master_appraisal_weightage_edit\":1,\"hr_master_appraisaltype_disable\":1,\"hr_master_questions_add\":1,\"hr_master_questions_edit\":1,\"hr_master_questions_disable\":1,\"hr_master_scheme_level_add\":1,\"hr_master_scheme_level_edit\":1,\"hr_master_scheme_level_disable\":1,\"hr_master_calendar_color_add\":1,\"hr_master_calendar_color_edit\":1,\"hr_master_country_add\":1,\"hr_master_country_edit\":1,\"hr_master_country_disable\":1,\"hr_master_general_depatmnt_add\":1,\"hr_master_general_depatmnt_edit\":1,\"hr_master_general_depatmnt_disable\":1,\"hr_master_general_departmnt_upload\":1,\"hr_master_general_desgn_add\":1,\"hr_master_general_desgn_edit\":1,\"hr_master_general_desgn_disable\":1,\"hr_master_general_desgn_upload\":1,\"hr_master_grade_add\":1,\"hr_master_grade_edit\":1,\"hr_master_grade_disable\":1,\"hr_master_general_holiday_add\":1,\"hr_master_general_holiday_edit\":1,\"hr_master_general_holiday_disable\":1,\"hr_master_employeeexpense_add\":1,\"hr_master_employeeexpense_edit\":1,\"hr_master_employeeexpense_disable\":1,\"hr_employee_panel_permission_edit\":1,\"hrmasproduct_add\":1,\"hrmasproduct_edit\":1,\"hrmasproduct_disable\":1,\"hrmasproduct_upload\":1,\"hr_master_question_type_add\":1,\"hr_master_question_type_edit\":1,\"hr_master_question_type_disable\":1,\"hr_master_teamname_add\":1,\"hr_master_teamname_edit\":1,\"hr_master_teamname_disable\":1,\"hr_master_course_add\":1,\"hr_master_course_edit\":1,\"hr_master_course_disable\":1,\"hr_bank_add\":1,\"hr_bank_edit\":1,\"hr_bank_disable\":1,\"hr_currency_add\":1,\"hr_currency_edit\":1,\"hr_currency_disable\":1,\"hr_master_sal_type_add\":1,\"hr_master_sal_type_edit\":1,\"hr_master_sal_type_disable\":1,\"hr_master_sal_lockmonth_add\":1,\"hr_master_sal_lockmonth_edit\":1,\"hr_master_sal_datesetting_add\":1,\"hr_master_sal_datesetting_edit\":1,\"hr_master_expense_add\":1,\"hr_master_expense_edit\":1,\"hr_master_expense_disable\":1,\"hr_master_eos_clearance_add\":1,\"hr_master_eos_clearance_edit\":1,\"hr_master_eos_clearance_disable\":1,\"hr_master_eos_gratuity_add\":1,\"hr_master_eos_gratuity_edit\":1,\"hr_master_eos_gratuity_view\":1,\"hr_master_eos_gratuity_disable\":1,\"hr_master_eos_payment_add\":1,\"hr_master_eos_payment_edit\":1,\"hr_master_eos_payment_disable\":1,\"hr_master_company_doc_add\":1,\"hr_master_company_doc_download\":1,\"hr_master_doc_type_add\":1,\"hr_master_doc_type_edit\":1,\"hr_master_doc_type_disable\":1,\"hr_master_doc_expiry_add\":1,\"hr_master_doc_expiry_edit\":1,\"hr_master_doc_expiry_delete\":1,\"hr_master_inout_doc_add\":1,\"hr_master_inout_doc_edit\":1,\"hr_master_inout_doc_disable\":1,\"hr_master_general_certificate_add\":1,\"hr_master_general_certificate_edit\":1,\"hr_master_general_certificate_inactive\":1,\"hr_master_jobcontract_add\":1,\"hr_master_jobcontract_edit\":1,\"hr_master_jobcontract_disable\":1,\"hr_master_asset_add\":1,\"hr_master_asset_edit\":1,\"hr_master_asset_disable\":1,\"hr_master_asset_upload\":1,\"hr_master_asset_details_add\":1,\"hr_master_asset_details_edit\":1,\"hr_master_asset_details_disable\":1,\"hr_master_asset_details_upload\":1,\"hr_master_attendance_format_add\":1,\"hr_master_attendance_format_edit\":1,\"hr_master_branch_edit\":1,\"hr_master_branch_disable\":1,\"hr_master_geolocation_add\":1,\"hr_master_geolocation_edit\":1,\"hr_master_geolocation_disable\":1,\"hr_master_geocode_add\":1,\"hr_master_geocode_edit\":1,\"hr_master_geocode_disable\":1,\"hr_master_leave_type_add\":1,\"hr_master_leave_type_edit\":1,\"hr_master_leave_type_disable\":1,\"hr_master_noticeperiod_add\":1,\"hr_master_noticeperiod_edit\":1,\"hr_master_noticeperiod_disable\":1,\"hr_master_sal_overtimetype_add\":1,\"hr_master_sal_overtimetype_edit\":1,\"hr_master_sal_overtimetype_disable\":1,\"hr_master_sal_pensionsetting_add\":1,\"hr_master_sal_pensionsetting_edit\":1,\"hr_master_sal_pensionsetting_disable\":1,\"hr_master_relation_type_add\":1,\"hr_master_relation_type_edit\":1,\"hr_master_relation_type_disable\":1,\"hr_master_shifttimings_add\":1,\"hr_master_shifttimings_edit\":1,\"hr_master_shifttimings_disable\":1,\"hr_master_signature_add\":1,\"hr_master_signature_edit\":1,\"hr_master_signature_disable\":1,\"admin_check_all\":1,\"admin_users_view\":1,\"admin_users_add\":1,\"admin_users_edit\":1,\"admin_users_delete\":1,\"admin_users_block\":1,\"admin_usergroup_view\":1,\"admin_usergroup_add\":1,\"admin_usergroup_edit\":1,\"admin_usergroup_delete\":1,\"confidential_check_all\":1,\"hr_employee_code_update\":1}', 0.00, 0.00, 0.00, 0.00, '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '', '1', '1', '1', 'Y', 'Y', 1, 1, '2020-10-05 10:00:00', '2020-10-05 10:00:00');
INSERT INTO `erp_mas_user_group` (`id`, `parent_id`, `group_name`, `permissions`, `hr_permissions`, `qtn_approval_val_limit`, `order_approval_val_limit`, `purchase_order_approval_val_limit`, `min_profit_percentage`, `personal_tab_permission`, `nominee_tab_permission`, `contact_tab_permission`, `document_tab_permission`, `assets_tab_permission`, `snapshot_tab_permission`, `salary_tab_permission`, `loan_tab_permission`, `bank_tab_permission`, `eos_tab_permission`, `leave_tab_permission`, `other_tab_permission`, `inout_doc_tab_permission`, `issue_doc_tab_permission`, `training_tab_permission`, `notes_tab_permission`, `level_tab_permission`, `qualification_tab_permission`, `isActive`, `is_salesman`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(3, 2, 'HR Department', '{\"sales_menu_view\":1,\"hr_menu_view\":1,\"reports_mainmenu_view\":1,\"sales_check_all\":1,\"customer_add\":1,\"customer_edit\":1,\"customer_view\":1,\"view_all_customer_activity\":1,\"customer_delete\":1,\"customer_download\":1,\"customer_upload_document\":1,\"customer_delete_document\":1,\"customer_activity\":1,\"lead_add\":1,\"lead_edit\":1,\"lead_view\":1,\"lead_view_all\":1,\"lead_delete\":1,\"lead_pdf\":1,\"lead_convert\":1,\"lead_document_upload\":1,\"lead_document\":1,\"lead_activity\":1,\"quotes_add\":1,\"quotes_edit\":1,\"quotes_view\":1,\"quotes_view_all\":1,\"quotes_delete\":1,\"quotes_pdf\":1,\"quotes_convert\":1,\"quotes_approve\":1,\"quotes_document_upload\":1,\"quotes_document\":1,\"quotes_copy\":1,\"quotes_activity\":1,\"order_add\":1,\"order_edit\":1,\"order_performa_invoice\":1,\"order_view\":1,\"order_view_all\":1,\"order_delete\":1,\"order_pdf\":1,\"order_performa_pdf\":1,\"order_convert\":1,\"order_document_upload\":1,\"order_document\":1,\"order_copy\":1,\"order_activity\":1,\"delivery_add\":1,\"delivery_edit\":1,\"delivery_view\":1,\"delivery_view_all\":1,\"delivery_delete\":1,\"delivery_pdf\":1,\"delivery_convert\":1,\"delivery_activity\":1,\"invoice_add\":1,\"invoice_edit\":1,\"change_payment_type\":1,\"invoice_view\":1,\"invoice_view_all\":1,\"invoice_print\":1,\"invoice_upload_document\":1,\"invoice_document\":1,\"invoice_activity\":1,\"credit_add\":1,\"credit_view\":1,\"credit_view_all\":1,\"credit_pdf\":1,\"credit_convert\":1,\"return_activity\":1,\"sales_deliverytracker_view\":1,\"sales_receipttracker_view\":1,\"avail_qty_app\":1,\"show_warehouse_all\":1}', '{\"hr_checkall\":1,\"hr_menu_check_all\":1,\"hr_whole_menu\":1,\"hr_dashboard_as_default_menu\":1,\"hr_notification_menu\":1,\"hr_mis_menu\":1,\"hr_dashboard_menu\":1,\"hr_calendar_menu\":1,\"hr_graph_menu\":1,\"hr_analysis_menu\":1,\"hr_representation_menu\":1,\"hr_employee_menu\":1,\"hr_emp_details_menu\":1,\"hr_emp_attendance_menu\":1,\"hr_empatt_biometric_exclude_menu\":1,\"hr_empatt_shift_menu\":1,\"hr_empatt_uploadattendance_menu\":1,\"hr_empatt_daily_att_menu\":1,\"hr_empatt_add_emp_att_menu\":1,\"hr_empatt_monthly_att_menu\":1,\"hr_empatt_att_list_menu\":1,\"hr_empatt_late_notice_menu\":1,\"hr_attendance_excuse_menu\":1,\"hr_attendance_current_date_menu\":1,\"hr_emp_recruitmnt_menu\":1,\"hr_emp_main_appraisal_menu\":1,\"hr_emp_appraisal_questions_menu\":1,\"hr_emp_appraisal_menu\":1,\"hr_emp_leave_menu\":1,\"hr_empleave_leavedetails_menu\":1,\"hr_empleave_addreduceleave_menu\":1,\"hr_empleave_leavebalance_menu\":1,\"hr_empleave_settlemnt_menu\":1,\"hr_empleave_settlemntlist_menu\":1,\"hr_empleave_encash_menu\":1,\"hr_empleavemigration_leavedetails_menu\":1,\"hr_emp_loan_menu\":1,\"hr_emp_request_menu\":1,\"hr_emprequest_docmnt_menu\":1,\"hr_emprequest_resigntn_menu\":1,\"hr_emprequest_meeting_menu\":1,\"hr_emprequest_complaint_menu\":1,\"hr_emp_eos_menu\":1,\"hr_empeos_settlement_menu\":1,\"hr_empeos_gratuity_list_menu\":1,\"hr_off_boarding_menu\":1,\"hr_training_menu\":1,\"hr_emp_training_details\":1,\"hr_emp_training_matrix\":1,\"hr_emp_ticket_menu\":1,\"hr_emp_family_ticket_menu\":1,\"hr_emp_ticket_encash_menu\":1,\"hr_emp_add_ticket_menu\":1,\"hr_payroll_menu\":1,\"hr_payroll_payments_menu\":1,\"hr_payroll_salcalc_menu\":1,\"hr_salary_component_menu\":1,\"hr_payroll_sallist_menu\":1,\"hr_payroll_salary_payment_menu\":1,\"hr_payroll_cash_menu\":1,\"hr_payroll_cheque_menu\":1,\"hr_payroll_siffile_menu\":1,\"hr_payroll_exchange_menu\":1,\"hr_payroll_bank_menu\":1,\"hr_payroll_saladvance_menu\":1,\"hr_payroll_salslippreview_menu\":1,\"hr_payroll_salslip_menu\":1,\"hr_payroll_salary_transfer_file_menu\":1,\"hr_payroll_disable_ess_salary_slip_menu\":1,\"hr_overtime_sheet_menu\":1,\"hr_overtime_sheet_upload_menu\":1,\"hr_overtime_sheet_update_menu\":1,\"hr_settings_menu\":1,\"hr_changes_menu\":1,\"hr_settings_resetusernamepass_menu\":1,\"hr_settings_initial_password_menu\":1,\"hr_settings_change_branch_menu\":1,\"hr_settings_change_department_menu\":1,\"hr_settings_change_designation_menu\":1,\"hr_settings_addreportmanager_menu\":1,\"hr_settings_addattendancemanager_menu\":1,\"hr_settings_addweekend_menu\":1,\"hr_settings_addovertime_menu\":1,\"hr_settings_addbiometricno_menu\":1,\"hr_settings_adddsalarytransfer_menu\":1,\"hr_settings_addsalarycalculation_menu\":1,\"hr_settings_addthreshold_menu\":1,\"hr_settings_changebankdetails_menu\":1,\"hr_settings_changedob_menu\":1,\"hr_settings_changedoj_menu\":1,\"hr_settings_marital_status_menu\":1,\"hr_settings_change_team_menu\":1,\"hr_settings_nationality_menu\":1,\"hr_settings_contracttype_menu\":1,\"hr_settings_attend_manager_menu\":1,\"hr_settings_report_manager_menu\":1,\"hr_settings_pdf_menu\":1,\"hr_settings_mail_menu\":1,\"hr_others_menu\":1,\"hr_emp_assigncompanywps_menu\":1,\"hr_catalogue_menu\":1,\"hr_others_circular_menu\":1,\"hr_others_incircular_menu\":1,\"hr_others_outcircular_menu\":1,\"hr_emprequest_exp_menu\":1,\"hr_expense_menu\":1,\"hr_emp_notification_menu\":1,\"hr_incentive_menu\":1,\"hr_target_menu\":1,\"hr_emp_notes_menu\":1,\"hr_emp_noticeofconduct_menu\":1,\"hr_calendar_notification_menu\":1,\"hr_template_view\":1,\"hr_empployee_device_view\":1,\"hr_approve_hierarcy_menu\":1,\"hr_hierarcy_level_menu\":1,\"hr_hierarcy_level_same_menu\":1,\"hr_hierarcy_report_menu\":1,\"hr_room_menu\":1,\"hr_room_setting_menu\":1,\"hr_bedspace_menu\":1,\"hr_room_allocation_menu\":1,\"hr_reports_menu\":1,\"hr_master_menu\":1,\"hr_master_general_menu\":1,\"hr_master_appraisal_menu\":1,\"hr_master_appraisal_type_menu\":1,\"hr_master_appraisal_question_menu\":1,\"hr_master_app_menu\":1,\"hr_master_color_scheme_menu\":1,\"hr_master_country_menu\":1,\"hr_master_general_depatmnt_menu\":1,\"hr_master_general_desgn_menu\":1,\"hr_master_empexpense_menu\":1,\"hr_master_general_emppanelpermission_menu\":1,\"hr_master_grade_menu\":1,\"hr_master_general_holiday_menu\":1,\"hr_master_product_menu\":1,\"hr_master_recruit_menu\":1,\"hr_master_dept_rect\":1,\"hr_master_questions\":1,\"hr_master_onboard_add\":1,\"hr_master_offboard_add\":1,\"hr_master_general_settings_menu\":1,\"hr_master_teamname_menu\":1,\"hr_master_course_menu\":1,\"hr_master_finance_menu\":1,\"hr_master_bank_menu\":1,\"hr_master_currency_menu\":1,\"hr_master_expense_menu\":1,\"hr_master_eos_menu\":1,\"hr_master_eos_clearance_menu\":1,\"hr_master_eos_gratuity_menu\":1,\"hr_master_eos_payment_menu\":1,\"hr_master_incentive\":1,\"hr_master_salary_menu\":1,\"hr_master_sal_type_menu\":1,\"hr_master_sal_lockmonth_menu\":1,\"hr_master_sal_datesetting_menu\":1,\"hr_master_contract_menu\":1,\"hr_master_doc_menu\":1,\"hr_master_company_doc_menu\":1,\"hr_master_doc_type_menu\":1,\"hr_master_doc_expiry_menu\":1,\"hr_master_inout_doc_menu\":1,\"hr_master_general_certificate_menu\":1,\"hr_master_jobcontract_menu\":1,\"hr_master_settings_menu\":1,\"hr_master_attendance_format_menu\":1,\"hr_master_asset_menu\":1,\"hr_master_asset_details_menu\":1,\"hr_master_branch_menu\":1,\"hr_master_business_menu\":1,\"hr_master_geocode_menu\":1,\"hr_master_leave_type_menu\":1,\"hr_master_noticeperiod_menu\":1,\"hr_master_sal_overtimetype_menu\":1,\"hr_master_sal_pensionsetting_menu\":1,\"hr_master_relation_menu\":1,\"hr_master_shifttimings_menu\":1,\"hr_master_sig_auth_menu\":1,\"hr_master_companywps_menu\":1,\"hr_admin_menu\":1,\"hr_admin_company_menu\":1,\"dashboard_check_all\":1,\"hrdash_document_expiry\":1,\"hrdash_company_document_expiry\":1,\"hrdash_daily_attendance\":1,\"hrdash_employee_leaves\":1,\"hrdash_birthdays\":1,\"hrdash_Leave_Approved\":1,\"snapshot_check_all\":1,\"hr_dashboard_analysis_menu_employee\":1,\"hr_dashboard_analysis_menu_salary\":1,\"hr_dashboard_analysis_menu_salary_increment\":1,\"hr_dashboard_analysis_menu_salary_advance\":1,\"hr_dashboard_analysis_menu_monthly_pay\":1,\"hr_dashboard_analysis_menu_allowance_change\":1,\"hr_dashboard_analysis_menu_attendance\":1,\"hr_dashboard_analysis_menu_attendance_subtype\":1,\"hr_dashboard_analysis_menu_leave_subtype\":1,\"hr_dashboard_analysis_menu_punctuality\":1,\"hr_dashboard_analysis_menu_absent_details\":1,\"hr_dashboard_analysis_menu_assets\":1,\"hr_dashboard_analysis_menu_documents\":1,\"hr_dashboard_analysis_menu_leave\":1,\"hr_dashboard_analysis_menu_leave_history\":1,\"hr_dashboard_analysis_menu_leave_balance\":1,\"hr_dashboard_analysis_menu_disciplinary_action\":1,\"hr_dashboard_analysis_menu_daily_vist\":1,\"hr_dashboard_analysis_menu_monthly_payable_salary_datails\":1,\"hr_dashboard_analysis_menu_salary_datails\":1,\"employee_check_all\":1,\"hr_employee_details_add\":1,\"hr_employee_details_edit\":1,\"hr_employee_details_view\":1,\"hr_employee_details_block_unblock\":1,\"hr_employee_details_upload\":1,\"hr_snapshot_tab\":1,\"hr_employee_send_password\":1,\"hr_att_biometric_exclude_list_add\":1,\"hr_att_biometric_exclude_list_delete\":1,\"hr_att_employee_shift_add\":1,\"hr_att_employee_shift_edit\":1,\"hr_att_employee_shift_view\":1,\"hr_att_employee_shift_delete\":1,\"hr_att_employee_shift_upload\":1,\"hr_emp_attendance_list_edit\":1,\"hr_emp_att_overtime_edit\":1,\"hr_emp_att_late_notice_issue\":1,\"hr_attendance_excuse_add\":1,\"hr_attendance_excuse_view\":1,\"hr_attendance_excuse_delete\":1,\"hr_attendance_excuse_approve\":1,\"hr_attendance_admin_excuse_approve\":1,\"hr_employee_recruitment_add\":1,\"hr_employee_recruitment_edit\":1,\"hr_employee_recruitment_view\":1,\"hr_employee_recruitment_delete\":1,\"hr_recruitment_print\":1,\"hr_recruitment_convert\":1,\"hr_recruitment_send\":1,\"appraisal_questions_add\":1,\"hr_employee_appraisal_questions_edit\":1,\"hr_employee_appraisal_questions_view\":1,\"hr_employee_appraisal_questions_delete\":1,\"hr_employee_appraisal_questions_print\":1,\"hr_employee_appraisal_questions_approve\":1,\"appraisal_add\":1,\"hr_employee_appraisal_edit\":1,\"hr_employee_appraisal_view\":1,\"hr_employee_appraisal_delete\":1,\"hr_employee_appraisal_print\":1,\"hr_employee_appraisal_approve\":1,\"hr_emp_leave_details_add\":1,\"hr_emp_leave_details_edit\":1,\"hr_emp_leave_details_view\":1,\"hr_emp_leave_details_cancel\":1,\"hr_emp_leave_details_download\":1,\"hr_emp_leave_details_print\":1,\"hr_emp_leave_details_approve\":1,\"hr_emp_leave_details_copy\":1,\"hr_emp_admin_leave_details_approve\":1,\"leave_encashment_add\":1,\"hr_emp_leave_encashment_view\":1,\"hr_emp_leave_encashment_download\":1,\"hr_emp_leave_encashment_approve\":1,\"hr_emp_leave_settlement_add\":1,\"hr_emp_leave_settlement_approve\":1,\"hr_leave_settlement_list_print\":1,\"hr_emp_leave_migration_add\":1,\"hr_emp_leave_migration_view\":1,\"hr_emp_leave_migration_cancel\":1,\"hr_emp_leave_migration_download\":1,\"hr_employee_loan_add\":1,\"hr_employee_loan_edit\":1,\"hr_employee_loan_view\":1,\"hr_employee_loan_delete\":1,\"hr_employee_loan_approve_print\":1,\"hr_employee_loan_pay\":1,\"hr_employee_loan_approvereject\":1,\"hr_emp_admin_loan_details_approve\":1,\"hr_emp_document_request_add\":1,\"hr_emp_document_request_view\":1,\"hr_emp_document_request_delete\":1,\"hr_emp_document_request_print\":1,\"hr_emp_document_request_approve\":1,\"hr_emp_document_admin_request_approve\":1,\"hr_emp_resignation_request_add\":1,\"hr_emp_resignation_request_view\":1,\"hr_emp_resignation_request_approve\":1,\"hr_emp_resignation_admin_request_approve\":1,\"hr_emp_meeting_requests_add\":1,\"hr_emp_meeting_requests_view\":1,\"hr_emp_meeting_requests_delete\":1,\"hr_emp_complaint_requests_add\":1,\"hr_emp_complaint_requests_view\":1,\"hr_emp_complaint_requests_delete\":1,\"hr_emp_eos_settlement_add\":1,\"hr_emp_eos_settlement_view\":1,\"hr_emp_eos_settlement_delete\":1,\"hr_emp_eos_settlement_upload\":1,\"hr_emp_eos_settlement_download\":1,\"hr_emp_eos_settlement_print\":1,\"hr_emp_eos_settlement_edit\":1,\"hr_gratuity_list_print\":1,\"hr_off_boarding_add\":1,\"hr_off_boarding_edit\":1,\"hr_employee_training_add\":1,\"hr_employee_training_edit\":1,\"hr_employee_training_delete\":1,\"hr_employee_training_download\":1,\"hr_employee_training_send\":1,\"hr_employee_ticket_add\":1,\"hr_employee_ticket_view\":1,\"hr_employee_ticket_download\":1,\"hr_employee_ticket_print\":1,\"hr_employee_ticket_approve\":1,\"hr_family_ticket_add\":1,\"hr_family_ticket_view\":1,\"hr_family_ticket_approve\":1,\"hr_employee_ticket_encash_add\":1,\"hr_employee_ticket_encash_view\":1,\"hr_employee_ticket_encash_download\":1,\"hr_employee_ticket_encash_print\":1,\"hr_employee_ticket_encash_approve\":1,\"hr_employee_ticket_encash_admin_approve\":1,\"hr_employee_documents_upload\":1,\"hr_employee_leave_upload\":1,\"hr_emp_snapshot_tab\":1,\"hr_personal_tab\":1,\"hr_qualification_tab\":1,\"hr_nominee_tab\":1,\"hr_contact_tab\":1,\"hr_document_tab\":1,\"hr_asset_tab\":1,\"hr_leave_tab\":1,\"hr_empleave_salary_tab\":1,\"hr_empleave_bank_tab\":1,\"hr_empleave_loan_tab\":1,\"hr_empleave_eos_tab\":1,\"hr_other_tab\":1,\"hr_inout_tab\":1,\"hr_issued_tab\":1,\"hr_training_tab\":1,\"hr_notes_tab\":1,\"hr_level_tab\":1,\"payroll_check_all\":1,\"hr_payroll_payments_add\":1,\"hr_salary_calculate\":1,\"hr_salary_edit\":1,\"hr_salary_view\":1,\"hr_salary_rollback\":1,\"hr_salary_lock\":1,\"hr_salary_unlock\":1,\"hr_salary_component_view\":1,\"hr_salary_component_delete\":1,\"hr_salary_component_upload\":1,\"hr_salary_component_download\":1,\"hr_payroll_sif_file_add\":1,\"hr_payroll_sif_file_delete\":1,\"hr_payroll_sif_file_print\":1,\"hr_payroll_sif_file_download\":1,\"hr_payroll_sif_file_post\":1,\"hr_payroll_sif_file_unpost\":1,\"hr_payroll_salary_advance_add\":1,\"hr_payroll_salary_advance_edit\":1,\"hr_payroll_salary_advance_view\":1,\"hr_payroll_salary_advance_delete\":1,\"hr_payroll_salary_advance_payment\":1,\"hr_payroll_salary_advance_download\":1,\"hr_payroll_salary_advance_approve\":1,\"hr_payroll_admin_salary_advance_details_approve\":1,\"hr_employee_salary_upload\":1,\"hr_payroll_salary_transfer_file_download\":1,\"hr_master_branch_salary_slip_view_edit\":1,\"hr_salary_block_unblock\":1,\"hr_overtime_sheet_add\":1,\"hr_upload_overtimesheet_edit\":1,\"hr_upload_overtimesheet_view\":1,\"hr_upload_overtimesheet_delete\":1,\"hrsettings_check_all\":1,\"hr_mail_setting_add\":1,\"hr_mail_setting_edit\":1,\"hr_mail_setting_enable\":1,\"others_check_all\":1,\"hr_catalogue_add\":1,\"hr_catalogue_edit\":1,\"hr_catalogue_delete\":1,\"hr_catalogue_download\":1,\"hr_payroll_indoor_circular_add\":1,\"hr_payroll_indoor_circular_edit\":1,\"hr_payroll_indoor_circular_delete\":1,\"hr_payroll_outdoor_circular_add\":1,\"hr_payroll_outdoor_circular_edit\":1,\"hr_payroll_outdoor_circular_delete\":1,\"hr_emp_expense_request_add\":1,\"hr_emp_expense_edit\":1,\"hr_emp_expense_request_view\":1,\"hr_emp_expense_delete\":1,\"hr_emp_expense_request_download\":1,\"hr_emp_expense_request_print\":1,\"hr_emp_expense_request_approve\":1,\"hr_emp_expense_request_verify\":1,\"hr_emp_expense_request_copy\":1,\"hr_emp_expense_admin_details_approve\":1,\"hr_expense_add\":1,\"hr_expense_edit\":1,\"hr_expense_delete\":1,\"hr_master_device_edit\":1,\"hr_master_device_disable\":1,\"hr_employee_notification_add\":1,\"hr_employee_notification_edit\":1,\"hr_employee_notification_delete\":1,\"hr_incentive_add\":1,\"hr_incentive_edit\":1,\"hr_incentive_delete\":1,\"hr_notes_add\":1,\"hr_notes_view\":1,\"hr_notes_delete\":1,\"hr_notice_conduct_add\":1,\"hr_notice_conduct_edit\":1,\"hr_notice_conduct_upload\":1,\"hr_notice_conduct_download\":1,\"hr_notice_conduct_print\":1,\"hr_notification_add\":1,\"hr_notification_edit\":1,\"hr_notification_delete\":1,\"hr_template_add\":1,\"hr_template_edit\":1,\"hr_template_delete\":1,\"hr_template_download\":1,\"hr_master_general_roomsetting_add\":1,\"hr_master_general_roomsetting_edit\":1,\"hr_bedspace_add\":1,\"hr_bedspace_edit\":1,\"hr_room_allocation_add\":1,\"hr_room_allocation_edit\":1,\"hr_room_allocation_delete\":1,\"hrreports_check_all\":1,\"hr_other_report_attendance_menu\":1,\"hr_other_att_attendance_list\":1,\"hr_other_att_datewise_attendance_list\":1,\"hr_emp_report_business_meeting_details\":1,\"hr_other_att_monthly_attendance_list\":1,\"hr_other_att_overtime_list\":1,\"hr_emp_report_punch_history_list\":1,\"hr_other_att_wrk_hours\":1,\"hr_emp_report_menu\":1,\"hr_emp_report_emp_appraisal_list\":1,\"hr_emp_report_emp_appraisal_list_individual\":1,\"hr_emp_report_emp_asset_list\":1,\"hr_emp_report_emp_bank_details_list\":1,\"hr_emp_report_blocked_emp_list\":1,\"hr_emp_report_emp_branch_details\":1,\"hr_emp_report_emp_consolidate_list\":1,\"hr_emp_report_emp_dept_list\":1,\"hr_emp_report_emp_desgn_list\":1,\"hr_emp_report_emp_doc_details\":1,\"hr_emp_report_emp_doc_list\":1,\"hr_emp_report_emp_list\":1,\"hr_emp_report_emp_quali_list\":1,\"hr_emp_report_emp_settings_list\":1,\"hr_emp_report_emp_eos\":1,\"hr_emp_report_expense\":1,\"hr_emp_report_emp_exp_doc_list\":1,\"hr_emp_report_hierarchy\":1,\"hr_other_com_inout_documnt\":1,\"hr_emp_report_emp_loan\":1,\"hr_emp_report_emp_new_hire\":1,\"hr_emp_report_emp_nominee_list\":1,\"hr_emp_report_emp_probationary\":1,\"hr_emp_report_emp_recruitment\":1,\"hr_emp_report_emp_team_list\":1,\"hr_emp_report_emp_training\":1,\"hr_emp_report_training_plan\":1,\"hr_other_report_company_menu\":1,\"hr_other_com_branch\":1,\"hr_company_doc_report\":1,\"hr_other_report_salary_menu\":1,\"hr_emp_report_emp_salary\":1,\"hr_other_sal_advance_list\":1,\"hr_other_sal_befor_lock\":1,\"hr_other_sal_increment_list\":1,\"hr_other_sal_slip\":1,\"hr_master_monthly_report\":1,\"hr_other_report_leave_menu\":1,\"hr_other_leave_add_ded\":1,\"hr_other_leave_balance\":1,\"hr_leave_encashment_report\":1,\"hr_other_leave_emp_leave_list\":1,\"hr_leave_ledger_report\":1,\"hr_other_leave_yearly_report\":1,\"hr_other_report_ticket_menu\":1,\"hr_emp_report_emp_tkt\":1,\"hr_emp_report_emp_encash\":1,\"hr_emp_report_entitlement\":1,\"hrmasters_check_all\":1,\"hr_master_appraisal_department_add\":1,\"hr_master_appraisal_department_edit\":1,\"hr_master_appraisal_department_disable\":1,\"hr_master_appraisaltype_add\":1,\"hr_master_appraisaltype_edit\":1,\"hr_master_appraisal_weightage_edit\":1,\"hr_master_appraisaltype_disable\":1,\"hr_master_questions_add\":1,\"hr_master_questions_edit\":1,\"hr_master_questions_disable\":1,\"hr_master_calendar_color_add\":1,\"hr_master_calendar_color_edit\":1,\"hr_master_country_add\":1,\"hr_master_country_edit\":1,\"hr_master_country_disable\":1,\"hr_master_general_depatmnt_add\":1,\"hr_master_general_depatmnt_edit\":1,\"hr_master_general_depatmnt_disable\":1,\"hr_master_general_departmnt_upload\":1,\"hr_master_general_desgn_add\":1,\"hr_master_general_desgn_edit\":1,\"hr_master_general_desgn_disable\":1,\"hr_master_general_desgn_upload\":1,\"hr_master_grade_add\":1,\"hr_master_grade_edit\":1,\"hr_master_grade_disable\":1,\"hr_master_general_holiday_add\":1,\"hr_master_general_holiday_edit\":1,\"hr_master_general_holiday_disable\":1,\"hr_master_employeeexpense_add\":1,\"hr_master_employeeexpense_edit\":1,\"hr_master_employeeexpense_disable\":1,\"hrmasproduct_add\":1,\"hrmasproduct_edit\":1,\"hrmasproduct_disable\":1,\"hrmasproduct_upload\":1,\"hr_master_question_type_add\":1,\"hr_master_question_type_edit\":1,\"hr_master_question_type_disable\":1,\"hr_master_teamname_add\":1,\"hr_master_teamname_edit\":1,\"hr_master_teamname_disable\":1,\"hr_master_course_add\":1,\"hr_master_course_edit\":1,\"hr_master_course_disable\":1,\"hr_bank_add\":1,\"hr_bank_edit\":1,\"hr_bank_disable\":1,\"hr_currency_add\":1,\"hr_currency_edit\":1,\"hr_currency_disable\":1,\"hr_master_sal_type_add\":1,\"hr_master_sal_type_edit\":1,\"hr_master_sal_type_disable\":1,\"hr_master_sal_lockmonth_add\":1,\"hr_master_sal_lockmonth_edit\":1,\"hr_master_sal_datesetting_add\":1,\"hr_master_sal_datesetting_edit\":1,\"hr_master_expense_add\":1,\"hr_master_expense_edit\":1,\"hr_master_expense_disable\":1,\"hr_master_eos_clearance_add\":1,\"hr_master_eos_clearance_edit\":1,\"hr_master_eos_clearance_disable\":1,\"hr_master_eos_gratuity_add\":1,\"hr_master_eos_gratuity_edit\":1,\"hr_master_eos_gratuity_view\":1,\"hr_master_eos_gratuity_disable\":1,\"hr_master_eos_payment_add\":1,\"hr_master_eos_payment_edit\":1,\"hr_master_eos_payment_disable\":1,\"hr_master_company_doc_add\":1,\"hr_master_company_doc_download\":1,\"hr_master_doc_type_add\":1,\"hr_master_doc_type_edit\":1,\"hr_master_doc_type_disable\":1,\"hr_master_doc_expiry_add\":1,\"hr_master_doc_expiry_edit\":1,\"hr_master_doc_expiry_delete\":1,\"hr_master_inout_doc_add\":1,\"hr_master_inout_doc_edit\":1,\"hr_master_inout_doc_disable\":1,\"hr_master_general_certificate_add\":1,\"hr_master_general_certificate_edit\":1,\"hr_master_general_certificate_inactive\":1,\"hr_master_jobcontract_add\":1,\"hr_master_jobcontract_edit\":1,\"hr_master_jobcontract_disable\":1,\"hr_master_asset_add\":1,\"hr_master_asset_edit\":1,\"hr_master_asset_disable\":1,\"hr_master_asset_upload\":1,\"hr_master_asset_details_add\":1,\"hr_master_asset_details_edit\":1,\"hr_master_asset_details_disable\":1,\"hr_master_asset_details_upload\":1,\"hr_master_branch_edit\":1,\"hr_master_branch_disable\":1,\"hr_master_business_add\":1,\"hr_master_business_edit\":1,\"hr_master_business_disable\":1,\"hr_master_geocode_add\":1,\"hr_master_geocode_edit\":1,\"hr_master_geocode_disable\":1,\"hr_master_leave_type_add\":1,\"hr_master_leave_type_edit\":1,\"hr_master_leave_type_disable\":1,\"hr_master_noticeperiod_add\":1,\"hr_master_noticeperiod_edit\":1,\"hr_master_noticeperiod_disable\":1,\"hr_master_sal_overtimetype_add\":1,\"hr_master_sal_overtimetype_edit\":1,\"hr_master_sal_overtimetype_disable\":1,\"hr_master_sal_pensionsetting_add\":1,\"hr_master_sal_pensionsetting_edit\":1,\"hr_master_sal_pensionsetting_disable\":1,\"hr_master_relation_type_add\":1,\"hr_master_relation_type_edit\":1,\"hr_master_relation_type_disable\":1,\"hr_master_shifttimings_add\":1,\"hr_master_shifttimings_edit\":1,\"hr_master_shifttimings_disable\":1,\"hr_master_signature_add\":1,\"hr_master_signature_edit\":1,\"hr_master_signature_disable\":1,\"confidential_check_all\":1,\"hr_employee_code_update\":1}', 0.00, 0.00, 0.00, 0.00, '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', 'Y', '', 1, 0, '2020-10-09 08:57:50', '0000-00-00 00:00:00'),
(8, 0, 'Sales Department', '{\"checkall\":1,\"mis_menu_view\":1,\"favourites_menu_view\":1,\"sales_menu_view\":1,\"service_menu_view\":1,\"maintenance_menu_view\":1,\"purchase_menu_view\":1,\"inventory_menu_view\":1,\"production_menu_view\":1,\"accounts_menu_view\":1,\"hr_menu_view\":1,\"project_menu_view\":1,\"fleet_menu_view\":1,\"fixed_asset_menu_view\":1,\"reports_mainmenu_view\":1,\"masters_menu_view\":1,\"admin_menu_view\":1,\"notification_menu_view\":1,\"dash_check_all\":1,\"dashboard_view\":1,\"mis_dashboard_view\":1,\"dashboard_leads_view\":1,\"dashboard_quote_view\":1,\"dashboard_order_view\":1,\"dashboard_invoice_view\":1,\"dashboard_mgt_view\":1,\"calendar_view\":1,\"activity_activity_add\":1,\"mas_activity-master_edit\":1,\"activity_activity_view\":1,\"activity_lead_owner_add\":1,\"activity_lead_owner_edit\":1,\"activity_lead_owner\":1,\"floating_menu_view\":1,\"at_a_glance_menu_view\":1,\"at_a_glance_general\":1,\"at_a_glance_sales\":1,\"at_a_glance_purchase\":1,\"at_a_glance_production\":1,\"at_a_glance_info\":1,\"at_a_glance_finance\":1,\"at_a_glance_inventory\":1,\"at_a_glance_cockpit_view\":1,\"at_a_glance_employee\":1,\"sales_check_all\":1,\"customer_add\":1,\"customer_edit\":1,\"customer_view\":1,\"view_all_customer_activity\":1,\"customer_delete\":1,\"customer_download\":1,\"customer_upload_document\":1,\"customer_delete_document\":1,\"customer_activity\":1,\"lead_add\":1,\"lead_edit\":1,\"lead_view\":1,\"lead_view_all\":1,\"lead_delete\":1,\"lead_pdf\":1,\"lead_convert\":1,\"lead_document_upload\":1,\"lead_document\":1,\"lead_activity\":1,\"quotes_add\":1,\"quotes_edit\":1,\"quotes_view\":1,\"quotes_view_all\":1,\"quotes_delete\":1,\"quotes_pdf\":1,\"quotes_convert\":1,\"quotes_approve\":1,\"quotes_document_upload\":1,\"quotes_document\":1,\"quotes_copy\":1,\"quotes_activity\":1,\"order_add\":1,\"order_edit\":1,\"order_performa_invoice\":1,\"order_view\":1,\"order_view_all\":1,\"order_delete\":1,\"order_pdf\":1,\"order_performa_pdf\":1,\"order_convert\":1,\"order_document_upload\":1,\"order_document\":1,\"order_copy\":1,\"order_activity\":1,\"delivery_add\":1,\"delivery_edit\":1,\"delivery_view\":1,\"delivery_view_all\":1,\"delivery_delete\":1,\"delivery_pdf\":1,\"delivery_convert\":1,\"delivery_activity\":1,\"invoice_add\":1,\"invoice_edit\":1,\"change_payment_type\":1,\"invoice_view\":1,\"invoice_view_all\":1,\"allow_delete_document\":1,\"invoice_print\":1,\"invoice_upload_document\":1,\"invoice_document\":1,\"invoice_activity\":1,\"credit_add\":1,\"creditnote_creditdate\":1,\"credit_view\":1,\"credit_view_all\":1,\"credit_pdf\":1,\"credit_convert\":1,\"return_activity\":1,\"sales_deliverytracker_view\":1,\"sales_receipttracker_view\":1,\"avail_qty_app\":1,\"show_warehouse_all\":1,\"service_check_all\":1,\"service_lead_add\":1,\"service_lead_edit\":1,\"service_lead_view\":1,\"service_lead_view_all\":1,\"service_lead_delete\":1,\"service_lead_pdf\":1,\"service_lead_convert\":1,\"service_lead_document_upload\":1,\"service_lead_document\":1,\"service_lead_activity\":1,\"service_contract_add\":1,\"service_contract_edit\":1,\"service_contract_view\":1,\"service_contract_view_all\":1,\"service_contract_delete\":1,\"service_contract_pdf\":1,\"service_contract_convert\":1,\"service_contract_approve\":1,\"service_contract_document_upload\":1,\"service_contract_document\":1,\"service_contract_copy\":1,\"service_contract_activity\":1,\"service_trial_add\":1,\"service_trial_edit\":1,\"service_trial_view\":1,\"service_trial_view_all\":1,\"service_trial_delete\":1,\"service_trial_pdf\":1,\"service_trial_convert\":1,\"service_trial_approve\":1,\"service_trial_document_upload\":1,\"service_trial_document\":1,\"service_trial_copy\":1,\"service_trial_activity\":1,\"service_order_add\":1,\"service_order_edit\":1,\"service_order_performa_invoice\":1,\"service_order_view\":1,\"service_order_view_all\":1,\"service_order_delete\":1,\"service_order_pdf\":1,\"service_order_performa_pdf\":1,\"service_order_convert\":1,\"service_order_document_upload\":1,\"service_order_document\":1,\"service_order_copy\":1,\"service_order_activity\":1,\"service_invoice_add\":1,\"service_invoice_edit\":1,\"service_invoice_view\":1,\"service_invoice_view_all\":1,\"service_invoice_print\":1,\"service_invoice_upload_document\":1,\"service_invoice_document\":1,\"service_invoice_activity\":1,\"service_credit_add\":1,\"service_credit_view\":1,\"service_credit_view_all\":1,\"service_credit_pdf\":1,\"service_credit_convert\":1,\"service_return_activity\":1,\"service_deliverytracker_view\":1,\"service_receipttracker_view\":1,\"service_avail_qty_app\":1,\"service_show_warehouse_all\":1,\"maintenance_check_all\":1,\"jb_add\":1,\"jb_edit\":1,\"jb_view\":1,\"jb_print\":1,\"machine_issue_add\":1,\"machine_issue_edit\":1,\"machine_issue_view\":1,\"machine_issue_return\":1,\"schedule_maintenance_add\":1,\"schedule_maintenance_edit\":1,\"schedule_maintenance_view\":1,\"schedule_maintenance_print\":1,\"customer_visit_view\":1,\"customer_visit_print\":1,\"job_order_add\":1,\"job_order_edit\":1,\"job_order_view\":1,\"job_order_convert\":1,\"job_order_cancel\":1,\"planned_maintenance_add\":1,\"planned_maintenance_edit\":1,\"planned_maintenance_view\":1,\"planned_maintenance_convert\":1,\"job_order_request_item\":1,\"job_order_issue_item\":1,\"job_order_allotment\":1,\"fm_snag_add\":1,\"fm_snag_edit\":1,\"fm_snag_view\":1,\"fm_snag_convert\":1,\"materials_list_issue\":1,\"materials_list_view\":1,\"inv_check_all\":1,\"stock_add\":1,\"stock_view\":1,\"stock_edit\":1,\"stock_value_view\":1,\"inv_mov_issue_add\":1,\"mov_issue_view\":1,\"inv_mov_issue_edit\":1,\"inv_mov_issue_print\":1,\"inv_issues_post_to_finance\":1,\"inv_mov_issue_convert\":1,\"inv_mov_receipt_add\":1,\"mov_receipt_view\":1,\"mov_receipt_edit\":1,\"inv_mov_receipt_print\":1,\"receipts_post_to_finance\":1,\"direct_transfer_add\":1,\"direct_transfer_view\":1,\"direct_transfer_edit\":1,\"direct_transfer_print\":1,\"direct_transfer_excel\":1,\"direct_transfer_convert\":1,\"view_sales_price\":1,\"edit_selling_price\":1,\"prod_check_all\":1,\"prod_bill_add\":1,\"prod_bill_view\":1,\"prod_bill_edit\":1,\"mat_bill_print\":1,\"prod_bill_convert\":1,\"prod_po_add\":1,\"prod_po_view\":1,\"prod_po_edit_new\":1,\"prod_po_approve\":1,\"prod_po_print\":1,\"prod_po_convert\":1,\"prod_mov_issue_add\":1,\"prod_gi_view\":1,\"prod_mov_issue_edit\":1,\"prod_gi_issue_print\":1,\"prod_mov_issue_convert\":1,\"prod_gr_mov_receipt_add\":1,\"prod_gr_view\":1,\"prod_gr_mov_receipt_print\":1,\"prod_gr_receipts_post_to_finance\":1,\"purchase_check_all\":1,\"vendor_add\":1,\"vendor_edit\":1,\"vendor_view\":1,\"vendor_doc_upload\":1,\"vendor_doc_download\":1,\"vendor_doc_delete\":1,\"requisition_add\":1,\"requisition_edit\":1,\"requisition_view\":1,\"requisition_cancel\":1,\"requisition_pdf\":1,\"requisition_convert_enq\":1,\"requisition_convert_po\":1,\"requisition_approve\":1,\"requisition_activity\":1,\"enquiry_add\":1,\"enquiry_edit\":1,\"enquiry_view\":1,\"enquiry_pdf\":1,\"enquiry_convert\":1,\"enquiry_activity\":1,\"enquiry_doc_upload\":1,\"enquiry_doc_delete\":1,\"purchase_order_add\":1,\"purchase_order_edit\":1,\"purchase_order_view\":1,\"purchase_order_view_context_menu\":1,\"purchase_order_pdf\":1,\"purchase_order_convert\":1,\"purchase_order_approve1\":1,\"PO_activity\":1,\"PO_doc_upload\":1,\"PO_doc_download\":1,\"PO_doc_delete\":1,\"purchase_material_edit\":1,\"purchase_material_view\":1,\"purchase_material_print\":1,\"purchase_material_convert\":1,\"PM_activity\":1,\"purchase_qc_edit\":1,\"purchase_qc_view\":1,\"purchase_qc_convert\":1,\"QC_activity\":1,\"purchase_invoice_edit\":1,\"purchase_invoice_view\":1,\"purchase_invoice_pdf\":1,\"PI_activity\":1,\"PI_doc_upload\":1,\"PI_landing_cost\":1,\"pur_debitnote_add\":1,\"pur_debitnote_view\":1,\"pur_debitnote_pdf\":1,\"pur_debitnote_pckin_convert\":1,\"PR_activity\":1,\"pur_deliverytrack_edit\":1,\"pur_deliverytrack_view\":1,\"pur_deliverytrack_convert\":1,\"pur_receipttrack_edit\":1,\"pur_receipttrack_view\":1,\"pur_receipttrack_convert\":1,\"fixed_asset_register_add\":1,\"fixed_asset_register_edit\":1,\"fixed_asset_register_view\":1,\"fixed_asset_register_covert_sold\":1,\"fixed_asset_register_covert_scrap\":1,\"fixed_asset_register_post\":1,\"fixed_asset_register_unpost\":1,\"depreciation_add\":1,\"depreciation_edit\":1,\"depreciation_view\":1,\"aggregate_view\":1,\"finance_check_all\":1,\"finance_voucher_view\":1,\"finance_voucher_add\":1,\"finance_voucher_import\":1,\"finance_voucher_delete\":1,\"finance_post_voucher\":1,\"finance_unpost_voucher\":1,\"finance_print_voucher\":1,\"finance_print_cheque\":1,\"finance_allocation_view\":1,\"finance_allocation_add\":1,\"finance_allocation_delete\":1,\"finance_print_allocation\":1,\"finance_reconciliation_view\":1,\"finance_reconciliation_add\":1,\"finance_chq_add\":1,\"finance_general_ledger\":1,\"ledger_summary\":1,\"balance_sheet\":1,\"statements\":1,\"aging\":1,\"subledger_report\":1,\"cashflow_report\":1,\"cashflow_finance_report\":1,\"profit_reports\":1,\"sales_vs_cogs\":1,\"restrict_brands\":1,\"trial_balance\":1,\"vat_report\":1,\"masters_finance\":1,\"admin_finance\":1,\"finance_security_cheque_view\":1,\"finance_security_cheque_add\":1,\"finance_security_cheque_delete\":1,\"finance_security_cheque_report\":1,\"vehicle_finance_report\":1,\"mas_inv_emi_view\":1,\"mas_inv_emi_add\":1,\"mas_inv_emicategory_view\":1,\"mas_inv_emicategory_add\":1,\"mas_inv_emicategory_delete\":1,\"cheque_collection_view\":1,\"cheque_collection_add\":1,\"cheque_collection_upload\":1,\"cheque_collection_edit\":1,\"account_check_all\":1,\"account_menu_view\":1,\"acc_vouchers_menu_view\":1,\"acc_vouchers_add\":1,\"acc_vouchers_edit\":1,\"acc_vouchers_delete\":1,\"acc_vouchers_post\":1,\"acc_vouchers_unpost\":1,\"acc_vouchers_print\":1,\"acc_print_cheque\":1,\"acc_allocation_menu_view\":1,\"acc_allocation_add\":1,\"acc_allocation_delete\":1,\"acc_allocation_print\":1,\"acc_reconciliation_history_menu_view\":1,\"acc_reconciliation_history_add\":1,\"acc_reconciliation_history_delete\":1,\"acc_reconciliation_history_print\":1,\"acc_ledgers_menu_view\":1,\"acc_ledgers_add\":1,\"acc_ledgers_edit\":1,\"acc_ledgers_delete\":1,\"acc_subLedger_type_menu_view\":1,\"acc_subLedger_type_add\":1,\"acc_subLedger_type_edit\":1,\"acc_subLedgers_menu_view\":1,\"acc_subLedgers_add\":1,\"acc_subLedgers_edit\":1,\"acc_subLedgers_delete\":1,\"acc_voucher_types_menu_view\":1,\"acc_voucher_types_add\":1,\"acc_voucher_types_edit\":1,\"acc_audit_close_menu_view\":1,\"acc_audit_close_add\":1,\"acc_audit_close_delete\":1,\"acc_final_audit_close_menu_view\":1,\"acc_final_audit_close_add\":1,\"acc_final_audit_close_delete\":1,\"acc_mapping_menu_view\":1,\"acc_synchronize_subledgers_menu_view\":1,\"acc_masters_menu_view\":1,\"acc_cheques_menu_view\":1,\"acc_cheques_management_menu_view\":1,\"acc_change_cleared_cheque_menu_view\":1,\"acc_resubmit_bounced_cheque_menu_view\":1,\"acc_resubmit_return_bounced_cheque_menu_view\":1,\"acc_reconciliation_menu_view\":1,\"sales_post_to_finance\":1,\"purchase_post_to_finance\":1,\"issues_post_to_finance\":1,\"Inv_receipts_post_to_finance\":1,\"admin_check_all\":1,\"admin_users_add\":1,\"admin_users_edit\":1,\"users_mis_accessible_branches_edit\":1,\"admin_users_delete\":1,\"admin_users_view\":1,\"admin_users_block\":1,\"admin_usergroup_add\":1,\"admin_usergroup_edit\":1,\"admin_usergroup_delete\":1,\"admin_usergroup_view\":1,\"auditlog_view\":1,\"show_level_all\":1,\"admin_company_settings_add\":1,\"admin_company_settings_edit\":1,\"admin_company_settings_delete\":1,\"admin_company_settings_view\":1,\"report_check_all\":1,\"report_sale_lead_view\":1,\"report_sale_lead_view_download\":1,\"report_sale_quotes_view\":1,\"report_sale_quotes_download\":1,\"report_sale_order_view\":1,\"report_sale_order_download\":1,\"report_sale_delivery_view\":1,\"report_sale_delivery_download\":1,\"report_sale_invoice_view\":1,\"report_sale_invoice_download\":1,\"report_sale_creditnote_view\":1,\"report_sale_creditnote_download\":1,\"report_sale_datewisesales_view\":1,\"report_sale_datewisesales_download\":1,\"report_sale_daybook_view\":1,\"report_sale_daybook_download\":1,\"report_sale_delivertoinvoice_view\":1,\"report_sale_delivertoinvoice_download\":1,\"report_sale_grossprofit_view\":1,\"report_sale_grossprofit_download\":1,\"report_sale_ordertodeliver_view\":1,\"report_sale_ordertodeliver_download\":1,\"sales_items_by_brand\":1,\"sales_items_by_brand_download\":1,\"report_sale_netsales_view\":1,\"report_sale_netsales_download\":1,\"job_order_report_view\":1,\"job_order_report_download\":1,\"report_customerlist_view\":1,\"report_customerlist_download\":1,\"report_customercontact_view\":1,\"report_customercontact_download\":1,\"report_vendorlist_view\":1,\"report_vendorlist_download\":1,\"report_vendorcontact_view\":1,\"report_vendorcontact_download\":1,\"report_sales_payment_terms\":1,\"report_sales_payment_download\":1,\"report_activity_view\":1,\"report_activity_download\":1,\"report_currentstock_view\":1,\"current_stock_report_download\":1,\"report_directtransfer_view\":1,\"direct_transfer_report_download\":1,\"report_inv_stock_transn_view\":1,\"inv_stock_transaction_report_download\":1,\"report_inv_transdetail_view\":1,\"inv_transaction_detail_report_download\":1,\"report_inv_warehouse_stock\":1,\"report_inventorydetailedlist\":1,\"report_inventorydetailedlist_download\":1,\"report_stockmovementreport_view\":1,\"report_stockmovementreport_view_download\":1,\"report_zerobasecostpriceproduct_view\":1,\"acc_reports_menu_view\":1,\"acc_balance_report_menu\":1,\"acc_balance_detailed_report_menu\":1,\"acc_customerstatement_consolidated_report_menu\":1,\"acc_customerstatement_pdc_report_menu\":1,\"acc_customerstatement_report_menu\":1,\"acc_customerstatement_ason_date_report_menu\":1,\"acc_generalledger_report_menu\":1,\"acc_ledger_report_menu\":1,\"acc_ledgersummary_report_menu\":1,\"acc_payableaging_report_menu\":1,\"acc_profitloss_report_menu\":1,\"acc_profitloss_detailed_report_menu\":1,\"acc_receivableaging_report_menu\":1,\"acc_subledgerdetail_report_menu\":1,\"acc_trialbalance_report_menu\":1,\"acc_trial_balance_detailed_report_menu\":1,\"acc_vat_register_report_menu\":1,\"acc_vat_summary_report_menu\":1,\"acc_vendorstatement_pdc_report_menu\":1,\"acc_vendorstatement_report_menu\":1,\"acc_vendorstatement_ason_date_report_menu\":1,\"report_purchaseorder_view\":1,\"purchase_order_report_download\":1,\"report_purchasemr_view\":1,\"report_purchasemr_download\":1,\"report_pendingorder_view\":1,\"report_pendingorder_download\":1,\"report_purchaseinvoice_view\":1,\"report_purchaseinvoice_download\":1,\"report_purchasedebit_view\":1,\"report_purchasedebit_download\":1,\"report_purchaseitemsordr_view\":1,\"report_netpurchase_view\":1,\"report_netpurchase_download\":1,\"ass_production_summary_list\":1,\"ass_production_consumption_list\":1,\"ass_out_of_stock_list\":1,\"fleet_vechicle_list\":1,\"fleet_vechicle_list_download\":1,\"fleet_vechicle_service_list\":1,\"fleet_vechicle_service_list_download\":1,\"fleet_vechicle_allotment_list\":1,\"fleet_vechicle_allotment_download\":1,\"mas_check_all\":1,\"bank_add\":1,\"bank_edit\":1,\"bank_view\":1,\"bank_disable\":1,\"currency_add\":1,\"currency_edit\":1,\"currency_view\":1,\"currency_disable\":1,\"paymentterm_add\":1,\"paymentterm_edit\":1,\"paymentterm_view\":1,\"paymentterm_disable\":1,\"mas_warehouse_add\":1,\"mas_warehouse_edit\":1,\"mas_warehouse_view\":1,\"mas_warehouse_disable\":1,\"mas_inv_brand_add\":1,\"mas_inv_brand_edit\":1,\"mas_inv_brand_view\":1,\"mas_inv_brand_disable\":1,\"mas_inv_rack_add\":1,\"mas_inv_rack_edit\":1,\"mas_inv_rack_view\":1,\"mas_inv_rack_disable\":1,\"mas_inv_bin_add\":1,\"mas_inv_bin_edit\":1,\"mas_inv_bin_view\":1,\"mas_inv_bin_disable\":1,\"mas_inv_unit_add\":1,\"mas_inv_unit_edit\":1,\"mas_inv_unit_view\":1,\"mas_inv_unit_disable\":1,\"inventory_generic_name_add\":1,\"inventory_generic_name_edit\":1,\"inventory_generic_name_view\":1,\"inventory_generic_name_disable\":1,\"mas_tax_add\":1,\"mas_tax_edit\":1,\"mas_tax_view\":1,\"mas_tax_disable\":1,\"mas_item_type_add\":1,\"mas_item_type_edit\":1,\"mas_item_type_view\":1,\"mas_item_type_disable\":1,\"sales_master_salegroup_add\":1,\"sales_master_salegroup_edit\":1,\"sales_master_salegroup_view\":1,\"sales_master_salegroup_disable\":1,\"cus_master_industry_add\":1,\"cus_master_industry_edit\":1,\"cus_master_industry_view\":1,\"cus_master_industry_disable\":1,\"mas_quotation_close_reason_add\":1,\"mas_quotation_close_reason_edit\":1,\"mas_quotation_close_reason_view\":1,\"mas_quotation_close_reason_disable\":1,\"termsandcondition_add\":1,\"termsandcondition_edit\":1,\"termsandcondition_view\":1,\"termsandcondition_disable\":1,\"ai_dashboard_add\":1,\"ai_dashboard_edit\":1,\"ai_dashboard_view\":1,\"ai_dashboard_disable\":1,\"workspace_add\":1,\"workspace_edit\":1,\"workspace_view\":1,\"workspace_disable\":1,\"sales_master_notification_add\":1,\"sales_master_notification_edit\":1,\"notification_view\":1,\"sales_master_notification_disable\":1,\"master_country_add\":1,\"master_country_edit\":1,\"master_country_view\":1,\"master_country_disable\":1,\"master_inco_term_add\":1,\"master_inco_term_edit\":1,\"master_inco_term_view\":1,\"master_inco_term_disable\":1,\"shipping_method_add\":1,\"shipping_method_edit\":1,\"shipping_method_view\":1,\"shipping_method_disable\":1,\"mas_doc_type_add\":1,\"mas_doc_type_edit\":1,\"mas_doc_type_view\":1,\"mas_doc_type_disable\":1,\"fixed_asset_master_add\":1,\"fixed_asset_master_edit\":1,\"fixed_asset_master_view\":1,\"sales_master_service_add\":1,\"sales_master_service_edit\":1,\"sales_master_service_view\":1,\"sales_master_service_disable\":1,\"projects_mas_task_category_add\":1,\"projects_mas_task_category_edit\":1,\"projects_mas_task_category_view\":1,\"projects_mas_task_category_disable\":1,\"projects_mas_task_subcategory_add\":1,\"projects_mas_task_subcategory_edit\":1,\"projects_mas_task_subcategory_view\":1,\"projects_mas_task_subcategory_disable\":1,\"projects_mas_external_labour_add\":1,\"projects_mas_external_labour_edit\":1,\"projects_mas_external_labour_view\":1,\"projects_mas_external_labour_disable\":1,\"projects_masster1_add\":1,\"projects_masster1_edit\":1,\"projects_masster1_view\":1,\"projects_masster1_block\":1,\"projects_master2_add\":1,\"projects_master2_edit\":1,\"projects_master2_view\":1,\"projects_master2_block\":1,\"projects_masster3_add\":1,\"projects_masster3_edit\":1,\"projects_masster3_view\":1,\"projects_masster3_block\":1,\"project_check_all\":1,\"add_project\":1,\"edit_project\":1,\"view_project_menu\":1,\"requisition_project_menu\":1,\"PO_project_menu\":1,\"MI_project_menu\":1,\"print_project_menu_new\":1,\"project_work_time_admin_menu\":1,\"project_work_time_admin_view\":1,\"project_work_time_view_menu\":1,\"project_work_time_view_view\":1,\"fleet_check_all\":1,\"sales_master_masvehicle_add\":1,\"sales_master_vehicle_edit\":1,\"view_sales_master_vehicle\":1,\"sales_master_vehicle_disable\":1,\"sales_master_vehicle_print\":1,\"sales_master_masvehicle_upload\":1,\"master_masmaintainance_add\":1,\"master_maintainance_edit\":1,\"view_master_maintainance\":1,\"master_maintainance_disable\":1,\"master_masservicestatus_add\":1,\"master_masservicestatus_edit\":1,\"view_master_masservicestatus\":1,\"master_masservicestatus_disable\":1,\"master_veh_maintainance_add\":1,\"master_veh_maintainance_edit\":1,\"view_master_veh_maintainance\":1,\"master_veh_maintainance_disable\":1,\"master_veh_maintainance_print\":1,\"master_veh_allotment_add\":1,\"vehicle_allotment_edit\":1,\"view_master_veh_allotment\":1,\"profit_calculation_check_all\":1,\"profit_calculation_view\":1,\"show_different_cost_pricing\":1,\"view_all_files\":1,\"approve_below_minimum_profit\":1,\"profit_settings_view\":1,\"profit_settings_add\":1,\"profit_settings_edit\":1,\"profit_settings_delete\":1}', '{}', 0.00, 0.00, 0.00, 0.00, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Y', '', 6, 0, '2022-12-31 10:08:07', '0000-00-00 00:00:00');
INSERT INTO `erp_mas_user_group` (`id`, `parent_id`, `group_name`, `permissions`, `hr_permissions`, `qtn_approval_val_limit`, `order_approval_val_limit`, `purchase_order_approval_val_limit`, `min_profit_percentage`, `personal_tab_permission`, `nominee_tab_permission`, `contact_tab_permission`, `document_tab_permission`, `assets_tab_permission`, `snapshot_tab_permission`, `salary_tab_permission`, `loan_tab_permission`, `bank_tab_permission`, `eos_tab_permission`, `leave_tab_permission`, `other_tab_permission`, `inout_doc_tab_permission`, `issue_doc_tab_permission`, `training_tab_permission`, `notes_tab_permission`, `level_tab_permission`, `qualification_tab_permission`, `isActive`, `is_salesman`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(16, 0, 'Employee', '{\"checkall\":1,\"favourites_menu_view\":1,\"sales_menu_view\":1,\"purchase_menu_view\":1,\"inventory_menu_view\":1,\"accounts_menu_view\":1,\"hr_menu_view\":1,\"project_menu_view\":1,\"reports_mainmenu_view\":1,\"masters_menu_view\":1,\"admin_menu_view\":1,\"dash_check_all\":1,\"dashboard_view\":1,\"mis_dashboard_view\":1,\"dashboard_leads_view\":1,\"dashboard_quote_view\":1,\"dashboard_order_view\":1,\"dashboard_invoice_view\":1,\"calendar_view\":1,\"activity_activity_add\":1,\"mas_activity-master_edit\":1,\"activity_activity_view\":1,\"activity_lead_owner_add\":1,\"activity_lead_owner_edit\":1,\"activity_lead_owner\":1,\"sales_check_all\":1,\"customer_add\":1,\"customer_edit\":1,\"customer_view\":1,\"view_all_customer_activity\":1,\"customer_delete\":1,\"customer_download\":1,\"lead_add\":1,\"lead_edit\":1,\"lead_view\":1,\"lead_view_all\":1,\"lead_pdf\":1,\"lead_convert\":1,\"lead_document\":1,\"quotes_add\":1,\"quotes_edit\":1,\"quotes_view\":1,\"quotes_view_all\":1,\"quotes_delete\":1,\"quotes_pdf\":1,\"quotes_convert\":1,\"quotes_approve\":1,\"quotes_copy\":1,\"order_add\":1,\"order_edit\":1,\"order_view\":1,\"order_view_all\":1,\"order_delete\":1,\"order_pdf\":1,\"order_performa_pdf\":1,\"order_convert\":1,\"order_approve_level1\":1,\"order_approve_level2\":1,\"order_document\":1,\"delivery_add\":1,\"delivery_edit\":1,\"delivery_view\":1,\"delivery_view_all\":1,\"delivery_delete\":1,\"delivery_pdf\":1,\"delivery_convert\":1,\"delivery_document\":1,\"invoice_add\":1,\"invoice_edit\":1,\"change_payment_type\":1,\"invoice_view\":1,\"invoice_view_all\":1,\"allow_delete_document\":1,\"invoice_print\":1,\"invoice_document\":1,\"invoice_upload_document\":1,\"credit_add\":1,\"creditnote_creditdate\":1,\"credit_view\":1,\"credit_view_all\":1,\"credit_pdf\":1,\"credit_convert\":1,\"credit_document\":1,\"sales_deliverytracker_view\":1,\"sales_receipttracker_view\":1,\"avail_qty_app\":1,\"show_warehouse_all\":1,\"job_order_add\":1,\"job_order_edit\":1,\"job_order_view\":1,\"job_order_convert\":1,\"job_order_cancel\":1,\"planned_maintenance_add\":1,\"planned_maintenance_edit\":1,\"planned_maintenance_view\":1,\"planned_maintenance_convert\":1,\"job_order_request_item\":1,\"job_order_issue_item\":1,\"job_order_allotment\":1,\"fm_snag_add\":1,\"fm_snag_edit\":1,\"fm_snag_view\":1,\"fm_snag_convert\":1,\"materials_list_issue\":1,\"materials_list_view\":1,\"inv_check_all\":1,\"stock_view\":1,\"stock_add\":1,\"stock_edit\":1,\"stock_value_view\":1,\"mov_issue_view\":1,\"mov_issue_add\":1,\"mov_issue_print\":1,\"mov_issue_edit\":1,\"mov_issue_convert\":1,\"mov_receipt_view\":1,\"mov_receipt_add\":1,\"mov_receipt_print\":1,\"mov_receipt_edit\":1,\"direct_transfer_view\":1,\"direct_transfer_print\":1,\"direct_transfer_add\":1,\"direct_transfer_excel\":1,\"direct_transfer_edit\":1,\"direct_transfer_convert\":1,\"view_sales_price\":1,\"edit_selling_price\":1,\"purchase_check_all\":1,\"vendor_add\":1,\"vendor_edit\":1,\"vendor_view\":1,\"requisition_add\":1,\"requisition_edit\":1,\"requisition_view\":1,\"requisition_pdf\":1,\"requisition_convert_enq\":1,\"requisition_convert_po\":1,\"enquiry_add\":1,\"enquiry_edit\":1,\"enquiry_view\":1,\"enquiry_pdf\":1,\"enquiry_convert\":1,\"purchase_order_add\":1,\"purchase_order_edit\":1,\"purchase_order_view\":1,\"purchase_order_view_context_menu\":1,\"purchase_order_pdf\":1,\"purchase_order_convert\":1,\"purchase_order_approve1\":1,\"purchase_material_edit\":1,\"purchase_material_view\":1,\"purchase_material_print\":1,\"purchase_material_convert\":1,\"purchase_qc_edit\":1,\"purchase_qc_view\":1,\"purchase_qc_convert\":1,\"purchase_invoice_edit\":1,\"purchase_invoice_view\":1,\"purchase_invoice_pdf\":1,\"pur_debitnote_add\":1,\"pur_debitnote_view\":1,\"pur_debitnote_pdf\":1,\"pur_debitnote_pckin_convert\":1,\"pur_deliverytrack_edit\":1,\"pur_deliverytrack_view\":1,\"pur_deliverytrack_convert\":1,\"pur_receipttrack_edit\":1,\"pur_receipttrack_view\":1,\"pur_receipttrack_convert\":1,\"finance_check_all\":1,\"finance_voucher_view\":1,\"finance_voucher_add\":1,\"finance_voucher_import\":1,\"finance_voucher_delete\":1,\"finance_post_voucher\":1,\"finance_unpost_voucher\":1,\"finance_print_voucher\":1,\"finance_print_cheque\":1,\"finance_allocation_view\":1,\"finance_allocation_add\":1,\"finance_allocation_delete\":1,\"finance_print_allocation\":1,\"finance_reconciliation_view\":1,\"finance_reconciliation_add\":1,\"finance_chq_add\":1,\"finance_general_ledger\":1,\"ledger_summary\":1,\"balance_sheet\":1,\"statements\":1,\"aging\":1,\"subledger_report\":1,\"cashflow_report\":1,\"cashflow_finance_report\":1,\"profit_reports\":1,\"sales_vs_cogs\":1,\"restrict_brands\":1,\"trial_balance\":1,\"vat_report\":1,\"masters_finance\":1,\"admin_finance\":1,\"finance_security_cheque_view\":1,\"finance_security_cheque_add\":1,\"finance_security_cheque_delete\":1,\"finance_security_cheque_report\":1,\"vehicle_finance_report\":1,\"mas_inv_emi_view\":1,\"mas_inv_emi_add\":1,\"mas_inv_emicategory_view\":1,\"mas_inv_emicategory_add\":1,\"mas_inv_emicategory_delete\":1,\"cheque_collection_view\":1,\"cheque_collection_add\":1,\"cheque_collection_upload\":1,\"cheque_collection_edit\":1,\"account_check_all\":1,\"account_menu_view\":1,\"acc_vouchers_menu_view\":1,\"acc_vouchers_add\":1,\"acc_vouchers_edit\":1,\"acc_vouchers_delete\":1,\"acc_vouchers_post\":1,\"acc_vouchers_unpost\":1,\"acc_vouchers_print\":1,\"acc_print_cheque\":1,\"acc_allocation_menu_view\":1,\"acc_allocation_add\":1,\"acc_allocation_delete\":1,\"acc_allocation_print\":1,\"acc_reconciliation_history_menu_view\":1,\"acc_reconciliation_history_add\":1,\"acc_reconciliation_history_delete\":1,\"acc_reconciliation_history_print\":1,\"acc_ledgers_menu_view\":1,\"acc_ledgers_add\":1,\"acc_ledgers_edit\":1,\"acc_ledgers_delete\":1,\"acc_subLedger_type_menu_view\":1,\"acc_subLedger_type_add\":1,\"acc_subLedger_type_edit\":1,\"acc_subLedgers_menu_view\":1,\"acc_subLedgers_add\":1,\"acc_subLedgers_edit\":1,\"acc_subLedgers_delete\":1,\"acc_voucher_types_menu_view\":1,\"acc_voucher_types_add\":1,\"acc_voucher_types_edit\":1,\"acc_audit_close_menu_view\":1,\"acc_audit_close_add\":1,\"acc_audit_close_delete\":1,\"acc_final_audit_close_menu_view\":1,\"acc_final_audit_close_add\":1,\"acc_final_audit_close_delete\":1,\"acc_mapping_menu_view\":1,\"acc_synchronize_subledgers_menu_view\":1,\"acc_masters_menu_view\":1,\"acc_cheques_menu_view\":1,\"acc_cheques_management_menu_view\":1,\"acc_change_cleared_cheque_menu_view\":1,\"acc_resubmit_bounced_cheque_menu_view\":1,\"acc_resubmit_return_bounced_cheque_menu_view\":1,\"acc_reconciliation_menu_view\":1,\"sales_post_to_finance\":1,\"purchase_post_to_finance\":1,\"issues_post_to_finance\":1,\"receipts_post_to_finance\":1,\"acc_reports_menu_view\":1,\"acc_trialbalance_report_menu\":1,\"acc_profitloss_report_menu\":1,\"acc_balance_report_menu\":1,\"acc_generalledger_report_menu\":1,\"acc_ledger_report_menu\":1,\"acc_customerstatement_report_menu\":1,\"acc_vendorstatement_report_menu\":1,\"acc_receivableaging_report_menu\":1,\"acc_payableaging_report_menu\":1,\"acc_vat_report_menu\":1,\"acc_vat_summary_report_menu\":1,\"acc_vat_register_report_menu\":1,\"acc_subledgerdetail_report_menu\":1,\"acc_ledgersummary_report_menu\":1,\"acc_customerstatement_ason_date_report_menu\":1,\"acc_customerstatement_consolidated_report_menu\":1,\"acc_customerstatement_pdc_report_menu\":1,\"acc_vendorstatement_ason_date_report_menu\":1,\"acc_vendorstatement_pdc_report_menu\":1,\"acc_profitloss_detailed_report_menu\":1,\"acc_balance_detailed_report_menu\":1,\"admin_check_all\":1,\"admin_users_add\":1,\"admin_users_edit\":1,\"users_mis_accessible_branches_edit\":1,\"admin_users_delete\":1,\"admin_users_view\":1,\"admin_users_block\":1,\"admin_usergroup_add\":1,\"admin_usergroup_edit\":1,\"admin_usergroup_delete\":1,\"admin_usergroup_view\":1,\"auditlog_view\":1,\"show_level_all\":1,\"report_check_all\":1,\"report_sale_lead_view\":1,\"report_sale_lead_view_download\":1,\"report_sale_quotes_view\":1,\"report_sale_quotes_download\":1,\"report_sale_order_view\":1,\"report_sale_order_download\":1,\"report_sale_delivery_view\":1,\"report_sale_delivery_download\":1,\"report_sale_invoice_view\":1,\"report_sale_invoice_download\":1,\"report_sale_creditnote_view\":1,\"report_sale_creditnote_download\":1,\"report_sale_datewisesales_view\":1,\"report_sale_datewisesales_download\":1,\"report_sale_daybook_view\":1,\"report_sale_daybook_download\":1,\"report_sale_delivertoinvoice_view\":1,\"report_sale_delivertoinvoice_download\":1,\"report_sale_grossprofit_view\":1,\"report_sale_grossprofit_download\":1,\"report_sale_ordertodeliver_view\":1,\"report_sale_ordertodeliver_download\":1,\"sales_items_by_brand\":1,\"sales_items_by_brand_download\":1,\"report_sale_netsales_view\":1,\"report_sale_netsales_download\":1,\"job_order_report_view\":1,\"job_order_report_download\":1,\"report_customerlist_view\":1,\"report_customerlist_download\":1,\"report_customercontact_view\":1,\"report_customercontact_download\":1,\"report_vendorlist_view\":1,\"report_vendorlist_download\":1,\"report_vendorcontact_view\":1,\"report_vendorcontact_download\":1,\"report_activity_view\":1,\"report_activity_download\":1,\"report_currentstock_view\":1,\"report_directtransfer_view\":1,\"report_mov_summary_view\":1,\"report_inv_stock_transn_view\":1,\"report_inv_transdetail_view\":1,\"report_inv_warehouse_stock\":1,\"report_fin_gl_view\":1,\"report_fin_stmnt_view\":1,\"report_fin_ledgersummary_view\":1,\"report_fin_ageing_view\":1,\"report_fin_daybook_view\":1,\"report_fin_vat_view\":1,\"report_fin_vatsummary_view\":1,\"report_fin_trialbal_view\":1,\"sales_finance_report_view\":1,\"report_fin_profitloss_view\":1,\"report_purchaseorder_view\":1,\"report_purchasemr_view\":1,\"report_pendingorder_view\":1,\"report_purchaseinvoice_view\":1,\"report_purchasedebit_view\":1,\"report_purchaseitemsordr_view\":1,\"report_netpurchase_view\":1,\"mas_check_all\":1,\"bank_add\":1,\"bank_edit\":1,\"bank_view\":1,\"bank_disable\":1,\"currency_add\":1,\"currency_edit\":1,\"currency_view\":1,\"currency_disable\":1,\"paymentterm_add\":1,\"paymentterm_edit\":1,\"paymentterm_view\":1,\"paymentterm_disable\":1,\"mas_warehouse_add\":1,\"mas_warehouse_edit\":1,\"mas_warehouse_view\":1,\"mas_warehouse_disable\":1,\"mas_inv_brand_add\":1,\"mas_inv_brand_edit\":1,\"mas_inv_brand_view\":1,\"mas_inv_brand_disable\":1,\"mas_inv_rack_add\":1,\"mas_inv_rack_edit\":1,\"mas_inv_rack_view\":1,\"mas_inv_rack_disable\":1,\"mas_inv_bin_add\":1,\"mas_inv_bin_edit\":1,\"mas_inv_bin_view\":1,\"mas_inv_bin_disable\":1,\"mas_inv_unit_add\":1,\"mas_inv_unit_edit\":1,\"mas_inv_unit_view\":1,\"mas_inv_unit_disable\":1,\"inventory_generic_name_add\":1,\"inventory_generic_name_edit\":1,\"inventory_generic_name_view\":1,\"inventory_generic_name_disable\":1,\"mas_tax_add\":1,\"mas_tax_edit\":1,\"mas_tax_view\":1,\"mas_tax_disable\":1,\"sales_master_salegroup_add\":1,\"sales_master_salegroup_edit\":1,\"sales_master_salegroup_view\":1,\"sales_master_salegroup_disable\":1,\"cus_master_industry_add\":1,\"cus_master_industry_edit\":1,\"cus_master_industry_view\":1,\"cus_master_industry_disable\":1,\"termsandcondition_add\":1,\"termsandcondition_edit\":1,\"termsandcondition_view\":1,\"termsandcondition_disable\":1,\"master_country_add\":1,\"master_country_edit\":1,\"master_country_view\":1,\"master_country_disable\":1,\"shipping_method_add\":1,\"shipping_method_edit\":1,\"shipping_method_view\":1,\"shipping_method_disable\":1,\"mas_doc_type_add\":1,\"mas_doc_type_edit\":1,\"mas_doc_type_view\":1,\"mas_doc_type_disable\":1,\"projects_mas_task_category_add\":1,\"projects_mas_task_category_edit\":1,\"projects_mas_task_category_view\":1,\"projects_mas_task_category_disable\":1,\"projects_mas_task_subcategory_add\":1,\"projects_mas_task_subcategory_edit\":1,\"projects_mas_task_subcategory_view\":1,\"projects_mas_task_subcategory_disable\":1,\"projects_mas_external_labour_add\":1,\"projects_mas_external_labour_edit\":1,\"projects_mas_external_labour_view\":1,\"projects_mas_external_labour_disable\":1,\"projects_masster1_add\":1,\"projects_masster1_edit\":1,\"projects_masster1_view\":1,\"projects_masster1_block\":1,\"projects_master2_add\":1,\"projects_master2_edit\":1,\"projects_master2_view\":1,\"projects_master2_block\":1,\"projects_masster3_add\":1,\"projects_masster3_edit\":1,\"projects_masster3_view\":1,\"projects_masster3_block\":1,\"project_check_all\":1,\"add_project_menu\":1,\"edit_project_menu\":1,\"view_project_menu\":1,\"requisition_project_menu\":1,\"project_work_time_admin_menu\":1,\"project_work_time_view_menu\":1,\"profit_calculation_check_all\":1,\"profit_calculation_view\":1,\"show_different_cost_pricing\":1,\"view_all_files\":1,\"approve_below_minimum_profit\":1,\"profit_settings_view\":1,\"profit_settings_add\":1,\"profit_settings_edit\":1,\"profit_settings_delete\":1}', '{}', 0.00, 0.00, 0.00, 0.00, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Y', '', 2, 0, '2023-11-07 08:05:22', '0000-00-00 00:00:00'),
(32, 0, 'Accounts', '{\"checkall\":1,\"sales_menu_view\":1,\"purchase_menu_view\":1,\"inventory_menu_view\":1,\"accounts_menu_view\":1,\"masters_menu_view\":1,\"admin_menu_view\":1,\"notification_menu_view\":1,\"dash_check_all\":1,\"dashboard_view\":1,\"mis_dashboard_view\":1,\"dashboard_leads_view\":1,\"dashboard_quote_view\":1,\"dashboard_order_view\":1,\"dashboard_invoice_view\":1,\"calendar_view\":1,\"activity_activity_add\":1,\"mas_activity-master_edit\":1,\"activity_activity_view\":1,\"activity_lead_owner_add\":1,\"activity_lead_owner_edit\":1,\"activity_lead_owner\":1,\"sales_check_all\":1,\"customer_add\":1,\"customer_edit\":1,\"customer_view\":1,\"view_all_customer_activity\":1,\"customer_delete\":1,\"customer_download\":1,\"lead_add\":1,\"lead_edit\":1,\"lead_view\":1,\"lead_view_all\":1,\"lead_pdf\":1,\"lead_convert\":1,\"lead_document\":1,\"quotes_add\":1,\"quotes_edit\":1,\"quotes_view\":1,\"quotes_view_all\":1,\"quotes_delete\":1,\"quotes_pdf\":1,\"quotes_convert\":1,\"quotes_approve\":1,\"quotes_copy\":1,\"order_add\":1,\"order_edit\":1,\"order_view\":1,\"order_view_all\":1,\"order_delete\":1,\"order_pdf\":1,\"order_performa_pdf\":1,\"order_convert\":1,\"order_document\":1,\"delivery_add\":1,\"delivery_edit\":1,\"delivery_view\":1,\"delivery_view_all\":1,\"delivery_delete\":1,\"delivery_pdf\":1,\"delivery_convert\":1,\"invoice_add\":1,\"invoice_edit\":1,\"change_payment_type\":1,\"invoice_view\":1,\"invoice_view_all\":1,\"allow_delete_document\":1,\"invoice_print\":1,\"invoice_upload_document\":1,\"invoice_document\":1,\"credit_add\":1,\"creditnote_creditdate\":1,\"credit_view\":1,\"credit_view_all\":1,\"credit_pdf\":1,\"credit_convert\":1,\"sales_deliverytracker_view\":1,\"sales_receipttracker_view\":1,\"avail_qty_app\":1,\"show_warehouse_all\":1,\"job_order_add\":1,\"job_order_edit\":1,\"job_order_view\":1,\"job_order_convert\":1,\"job_order_cancel\":1,\"planned_maintenance_add\":1,\"planned_maintenance_edit\":1,\"planned_maintenance_view\":1,\"planned_maintenance_convert\":1,\"job_order_request_item\":1,\"job_order_issue_item\":1,\"job_order_allotment\":1,\"fm_snag_add\":1,\"fm_snag_edit\":1,\"fm_snag_view\":1,\"fm_snag_convert\":1,\"materials_list_issue\":1,\"materials_list_view\":1,\"inv_check_all\":1,\"stock_add\":1,\"stock_edit\":1,\"stock_value_view\":1,\"mov_receipt_view\":1,\"mov_receipt_edit\":1,\"receipts_post_to_finance\":1,\"direct_transfer_add\":1,\"direct_transfer_view\":1,\"direct_transfer_edit\":1,\"direct_transfer_print\":1,\"direct_transfer_excel\":1,\"direct_transfer_convert\":1,\"view_sales_price\":1,\"edit_selling_price\":1,\"prod_check_all\":1,\"prod_bill_add\":1,\"prod_bill_view\":1,\"prod_bill_edit\":1,\"prod_po_add\":1,\"prod_po_view\":1,\"prod_po_edit_new\":1,\"prod_po_print\":1,\"prod_gi_view\":1,\"prod_gr_view\":1,\"purchase_check_all\":1,\"vendor_add\":1,\"vendor_edit\":1,\"vendor_view\":1,\"requisition_add\":1,\"requisition_edit\":1,\"requisition_view\":1,\"requisition_pdf\":1,\"requisition_convert_enq\":1,\"requisition_convert_po\":1,\"enquiry_add\":1,\"enquiry_edit\":1,\"enquiry_view\":1,\"enquiry_pdf\":1,\"enquiry_convert\":1,\"purchase_order_add\":1,\"purchase_order_edit\":1,\"purchase_order_view\":1,\"purchase_order_view_context_menu\":1,\"purchase_order_pdf\":1,\"purchase_order_convert\":1,\"purchase_order_approve1\":1,\"purchase_material_edit\":1,\"purchase_material_view\":1,\"purchase_material_print\":1,\"purchase_material_convert\":1,\"purchase_qc_edit\":1,\"purchase_qc_view\":1,\"purchase_qc_convert\":1,\"purchase_invoice_edit\":1,\"purchase_invoice_view\":1,\"purchase_invoice_pdf\":1,\"pur_debitnote_add\":1,\"pur_debitnote_view\":1,\"pur_debitnote_pdf\":1,\"pur_debitnote_pckin_convert\":1,\"pur_deliverytrack_edit\":1,\"pur_deliverytrack_view\":1,\"pur_deliverytrack_convert\":1,\"pur_receipttrack_edit\":1,\"pur_receipttrack_view\":1,\"pur_receipttrack_convert\":1,\"finance_check_all\":1,\"finance_voucher_view\":1,\"finance_voucher_add\":1,\"finance_voucher_import\":1,\"finance_voucher_delete\":1,\"finance_post_voucher\":1,\"finance_unpost_voucher\":1,\"finance_print_voucher\":1,\"finance_print_cheque\":1,\"finance_allocation_view\":1,\"finance_allocation_add\":1,\"finance_allocation_delete\":1,\"finance_print_allocation\":1,\"finance_reconciliation_view\":1,\"finance_reconciliation_add\":1,\"finance_chq_add\":1,\"finance_general_ledger\":1,\"ledger_summary\":1,\"balance_sheet\":1,\"statements\":1,\"aging\":1,\"subledger_report\":1,\"cashflow_report\":1,\"cashflow_finance_report\":1,\"profit_reports\":1,\"sales_vs_cogs\":1,\"restrict_brands\":1,\"trial_balance\":1,\"vat_report\":1,\"masters_finance\":1,\"admin_finance\":1,\"finance_security_cheque_view\":1,\"finance_security_cheque_add\":1,\"finance_security_cheque_delete\":1,\"finance_security_cheque_report\":1,\"vehicle_finance_report\":1,\"mas_inv_emi_view\":1,\"mas_inv_emi_add\":1,\"mas_inv_emicategory_view\":1,\"mas_inv_emicategory_add\":1,\"mas_inv_emicategory_delete\":1,\"cheque_collection_view\":1,\"cheque_collection_add\":1,\"cheque_collection_upload\":1,\"cheque_collection_edit\":1,\"account_check_all\":1,\"account_menu_view\":1,\"acc_vouchers_menu_view\":1,\"acc_vouchers_add\":1,\"acc_vouchers_edit\":1,\"acc_vouchers_delete\":1,\"acc_vouchers_post\":1,\"acc_vouchers_unpost\":1,\"acc_vouchers_print\":1,\"acc_print_cheque\":1,\"acc_allocation_menu_view\":1,\"acc_allocation_add\":1,\"acc_allocation_delete\":1,\"acc_allocation_print\":1,\"acc_reconciliation_history_menu_view\":1,\"acc_reconciliation_history_add\":1,\"acc_reconciliation_history_delete\":1,\"acc_reconciliation_history_print\":1,\"acc_ledgers_menu_view\":1,\"acc_ledgers_add\":1,\"acc_ledgers_edit\":1,\"acc_ledgers_delete\":1,\"acc_subLedger_type_menu_view\":1,\"acc_subLedger_type_add\":1,\"acc_subLedger_type_edit\":1,\"acc_subLedgers_menu_view\":1,\"acc_subLedgers_add\":1,\"acc_subLedgers_edit\":1,\"acc_subLedgers_delete\":1,\"acc_voucher_types_menu_view\":1,\"acc_voucher_types_add\":1,\"acc_voucher_types_edit\":1,\"acc_audit_close_menu_view\":1,\"acc_audit_close_add\":1,\"acc_audit_close_delete\":1,\"acc_final_audit_close_menu_view\":1,\"acc_final_audit_close_add\":1,\"acc_final_audit_close_delete\":1,\"acc_mapping_menu_view\":1,\"acc_synchronize_subledgers_menu_view\":1,\"acc_masters_menu_view\":1,\"acc_cheques_menu_view\":1,\"acc_cheques_management_menu_view\":1,\"acc_change_cleared_cheque_menu_view\":1,\"acc_resubmit_bounced_cheque_menu_view\":1,\"acc_resubmit_return_bounced_cheque_menu_view\":1,\"acc_reconciliation_menu_view\":1,\"sales_post_to_finance\":1,\"purchase_post_to_finance\":1,\"issues_post_to_finance\":1,\"admin_check_all\":1,\"admin_users_add\":1,\"admin_users_edit\":1,\"users_mis_accessible_branches_edit\":1,\"admin_users_delete\":1,\"admin_users_view\":1,\"admin_users_block\":1,\"admin_usergroup_add\":1,\"admin_usergroup_edit\":1,\"admin_usergroup_delete\":1,\"admin_usergroup_view\":1,\"auditlog_view\":1,\"show_level_all\":1,\"report_check_all\":1,\"report_sale_lead_view\":1,\"report_sale_lead_view_download\":1,\"report_sale_quotes_view\":1,\"report_sale_quotes_download\":1,\"report_sale_order_view\":1,\"report_sale_order_download\":1,\"report_sale_delivery_view\":1,\"report_sale_delivery_download\":1,\"report_sale_invoice_view\":1,\"report_sale_invoice_download\":1,\"report_sale_creditnote_view\":1,\"report_sale_creditnote_download\":1,\"report_sale_datewisesales_view\":1,\"report_sale_datewisesales_download\":1,\"report_sale_daybook_view\":1,\"report_sale_daybook_download\":1,\"report_sale_delivertoinvoice_view\":1,\"report_sale_delivertoinvoice_download\":1,\"report_sale_grossprofit_view\":1,\"report_sale_grossprofit_download\":1,\"report_sale_ordertodeliver_view\":1,\"report_sale_ordertodeliver_download\":1,\"sales_items_by_brand\":1,\"sales_items_by_brand_download\":1,\"report_sale_netsales_view\":1,\"report_sale_netsales_download\":1,\"job_order_report_view\":1,\"job_order_report_download\":1,\"report_customerlist_view\":1,\"report_customerlist_download\":1,\"report_customercontact_view\":1,\"report_customercontact_download\":1,\"report_vendorlist_view\":1,\"report_vendorlist_download\":1,\"report_vendorcontact_view\":1,\"report_vendorcontact_download\":1,\"report_activity_view\":1,\"report_activity_download\":1,\"report_currentstock_view\":1,\"report_directtransfer_view\":1,\"report_inv_stock_transn_view\":1,\"report_inv_transdetail_view\":1,\"report_inv_warehouse_stock\":1,\"acc_reports_menu_view\":1,\"acc_balance_report_menu\":1,\"acc_balance_detailed_report_menu\":1,\"acc_customerstatement_consolidated_report_menu\":1,\"acc_customerstatement_pdc_report_menu\":1,\"acc_customerstatement_report_menu\":1,\"acc_customerstatement_ason_date_report_menu\":1,\"acc_generalledger_report_menu\":1,\"acc_ledger_report_menu\":1,\"acc_ledgersummary_report_menu\":1,\"acc_payableaging_report_menu\":1,\"acc_profitloss_report_menu\":1,\"acc_profitloss_detailed_report_menu\":1,\"acc_receivableaging_report_menu\":1,\"acc_subledgerdetail_report_menu\":1,\"acc_trialbalance_report_menu\":1,\"acc_vat_register_report_menu\":1,\"acc_vat_summary_report_menu\":1,\"acc_vendorstatement_pdc_report_menu\":1,\"acc_vendorstatement_report_menu\":1,\"acc_vendorstatement_ason_date_report_menu\":1,\"report_purchaseorder_view\":1,\"report_purchasemr_view\":1,\"report_pendingorder_view\":1,\"report_purchaseinvoice_view\":1,\"report_purchasedebit_view\":1,\"report_purchaseitemsordr_view\":1,\"report_netpurchase_view\":1,\"mas_check_all\":1,\"bank_add\":1,\"bank_edit\":1,\"bank_view\":1,\"bank_disable\":1,\"currency_add\":1,\"currency_edit\":1,\"currency_view\":1,\"currency_disable\":1,\"paymentterm_add\":1,\"paymentterm_edit\":1,\"paymentterm_view\":1,\"paymentterm_disable\":1,\"mas_warehouse_add\":1,\"mas_warehouse_edit\":1,\"mas_warehouse_view\":1,\"mas_warehouse_disable\":1,\"mas_inv_brand_add\":1,\"mas_inv_brand_edit\":1,\"mas_inv_brand_view\":1,\"mas_inv_brand_disable\":1,\"mas_inv_rack_add\":1,\"mas_inv_rack_edit\":1,\"mas_inv_rack_view\":1,\"mas_inv_rack_disable\":1,\"mas_inv_bin_add\":1,\"mas_inv_bin_edit\":1,\"mas_inv_bin_view\":1,\"mas_inv_bin_disable\":1,\"mas_inv_unit_add\":1,\"mas_inv_unit_edit\":1,\"mas_inv_unit_view\":1,\"mas_inv_unit_disable\":1,\"inventory_generic_name_add\":1,\"inventory_generic_name_edit\":1,\"inventory_generic_name_view\":1,\"inventory_generic_name_disable\":1,\"mas_tax_add\":1,\"mas_tax_edit\":1,\"mas_tax_view\":1,\"mas_tax_disable\":1,\"sales_master_salegroup_add\":1,\"sales_master_salegroup_edit\":1,\"sales_master_salegroup_view\":1,\"sales_master_salegroup_disable\":1,\"cus_master_industry_add\":1,\"cus_master_industry_edit\":1,\"cus_master_industry_view\":1,\"cus_master_industry_disable\":1,\"termsandcondition_add\":1,\"termsandcondition_edit\":1,\"termsandcondition_view\":1,\"termsandcondition_disable\":1,\"master_country_add\":1,\"master_country_edit\":1,\"master_country_view\":1,\"master_country_disable\":1,\"master_inco_term_add\":1,\"master_inco_term_edit\":1,\"master_inco_term_view\":1,\"master_inco_term_disable\":1,\"shipping_method_add\":1,\"shipping_method_edit\":1,\"shipping_method_view\":1,\"shipping_method_disable\":1,\"mas_doc_type_add\":1,\"mas_doc_type_edit\":1,\"mas_doc_type_view\":1,\"mas_doc_type_disable\":1,\"projects_mas_task_category_add\":1,\"projects_mas_task_category_edit\":1,\"projects_mas_task_category_view\":1,\"projects_mas_task_category_disable\":1,\"projects_mas_task_subcategory_add\":1,\"projects_mas_task_subcategory_edit\":1,\"projects_mas_task_subcategory_view\":1,\"projects_mas_task_subcategory_disable\":1,\"projects_mas_external_labour_add\":1,\"projects_mas_external_labour_edit\":1,\"projects_mas_external_labour_view\":1,\"projects_mas_external_labour_disable\":1,\"project_check_all\":1,\"view_project_menu\":1,\"requisition_project_menu\":1,\"project_work_time_admin_menu\":1,\"project_work_time_view_menu\":1,\"profit_calculation_check_all\":1,\"profit_calculation_view\":1,\"show_different_cost_pricing\":1,\"view_all_files\":1,\"approve_below_minimum_profit\":1,\"profit_settings_view\":1,\"profit_settings_add\":1,\"profit_settings_edit\":1,\"profit_settings_delete\":1}', '{}', 0.00, 0.00, 0.00, 0.00, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Y', 'N', 8, 0, '2025-05-07 11:02:52', '0000-00-00 00:00:00'),
(34, 0, 'Bluesky', '{\"checkall\":1,\"mis_menu_view\":1,\"favourites_menu_view\":1,\"sales_menu_view\":1,\"service_menu_view\":1,\"maintenance_menu_view\":1,\"purchase_menu_view\":1,\"inventory_menu_view\":1,\"production_menu_view\":1,\"accounts_menu_view\":1,\"hr_menu_view\":1,\"project_menu_view\":1,\"fleet_menu_view\":1,\"fixed_asset_menu_view\":1,\"reports_mainmenu_view\":1,\"masters_menu_view\":1,\"admin_menu_view\":1,\"notification_menu_add\":1,\"notification_menu_view\":1,\"dash_check_all\":1,\"dashboard_view\":1,\"mis_dashboard_view\":1,\"dashboard_leads_view\":1,\"dashboard_quote_view\":1,\"dashboard_order_view\":1,\"dashboard_invoice_view\":1,\"dashboard_mgt_view\":1,\"calendar_view\":1,\"activity_activity_add\":1,\"mas_activity-master_edit\":1,\"activity_activity_view\":1,\"activity_lead_owner_add\":1,\"activity_lead_owner_edit\":1,\"activity_lead_owner\":1,\"floating_menu_view\":1,\"at_a_glance_menu_view\":1,\"at_a_glance_general\":1,\"at_a_glance_sales\":1,\"at_a_glance_purchase\":1,\"at_a_glance_production\":1,\"at_a_glance_info\":1,\"at_a_glance_finance\":1,\"at_a_glance_inventory\":1,\"at_a_glance_cockpit_view\":1,\"at_a_glance_employee\":1,\"sales_check_all\":1,\"customer_add\":1,\"customer_edit\":1,\"customer_view\":1,\"view_all_customer_activity\":1,\"customer_delete\":1,\"customer_download\":1,\"customer_upload_document\":1,\"customer_delete_document\":1,\"customer_activity\":1,\"lead_add\":1,\"lead_edit\":1,\"lead_view\":1,\"lead_view_all\":1,\"lead_delete\":1,\"lead_pdf\":1,\"lead_convert\":1,\"lead_document_upload\":1,\"lead_document\":1,\"lead_activity\":1,\"quotes_add\":1,\"quotes_edit\":1,\"quotes_view\":1,\"quotes_view_all\":1,\"quotes_delete\":1,\"quotes_pdf\":1,\"quotes_convert\":1,\"quotes_approve\":1,\"quotes_document_upload\":1,\"quotes_document\":1,\"quotes_copy\":1,\"quotes_activity\":1,\"order_add\":1,\"order_edit\":1,\"order_performa_invoice\":1,\"order_view\":1,\"order_view_all\":1,\"order_delete\":1,\"order_pdf\":1,\"order_performa_pdf\":1,\"order_convert\":1,\"order_document_upload\":1,\"order_document\":1,\"order_copy\":1,\"order_activity\":1,\"delivery_add\":1,\"delivery_edit\":1,\"delivery_view\":1,\"delivery_view_all\":1,\"delivery_delete\":1,\"delivery_pdf\":1,\"delivery_convert\":1,\"delivery_activity\":1,\"invoice_add\":1,\"invoice_edit\":1,\"change_payment_type\":1,\"invoice_view\":1,\"invoice_view_all\":1,\"allow_delete_document\":1,\"invoice_print\":1,\"invoice_upload_document\":1,\"invoice_document\":1,\"invoice_activity\":1,\"credit_add\":1,\"creditnote_creditdate\":1,\"credit_view\":1,\"credit_view_all\":1,\"credit_pdf\":1,\"credit_convert\":1,\"return_activity\":1,\"sales_deliverytracker_view\":1,\"sales_receipttracker_view\":1,\"avail_qty_app\":1,\"show_warehouse_all\":1,\"service_check_all\":1,\"service_lead_add\":1,\"service_lead_edit\":1,\"service_lead_view\":1,\"service_lead_view_all\":1,\"service_lead_delete\":1,\"service_lead_pdf\":1,\"service_lead_convert\":1,\"service_lead_document_upload\":1,\"service_lead_document\":1,\"service_lead_activity\":1,\"service_contract_add\":1,\"service_contract_edit\":1,\"service_contract_view\":1,\"service_contract_view_all\":1,\"service_contract_delete\":1,\"service_contract_pdf\":1,\"service_contract_convert\":1,\"service_contract_approve\":1,\"service_contract_document_upload\":1,\"service_contract_document\":1,\"service_contract_copy\":1,\"service_contract_activity\":1,\"service_trial_add\":1,\"service_trial_edit\":1,\"service_trial_view\":1,\"service_trial_view_all\":1,\"service_trial_delete\":1,\"service_trial_pdf\":1,\"service_trial_convert\":1,\"service_trial_approve\":1,\"service_trial_document_upload\":1,\"service_trial_document\":1,\"service_trial_copy\":1,\"service_trial_activity\":1,\"service_order_add\":1,\"service_order_edit\":1,\"service_order_performa_invoice\":1,\"service_order_view\":1,\"service_order_view_all\":1,\"service_order_delete\":1,\"service_order_pdf\":1,\"service_order_performa_pdf\":1,\"service_order_convert\":1,\"service_order_document_upload\":1,\"service_order_document\":1,\"service_order_copy\":1,\"service_order_activity\":1,\"service_invoice_add\":1,\"service_invoice_edit\":1,\"service_invoice_view\":1,\"service_invoice_view_all\":1,\"service_invoice_print\":1,\"service_invoice_upload_document\":1,\"service_invoice_document\":1,\"service_invoice_activity\":1,\"service_credit_add\":1,\"service_credit_view\":1,\"service_credit_view_all\":1,\"service_credit_pdf\":1,\"service_credit_convert\":1,\"service_return_activity\":1,\"service_avail_qty_app\":1,\"service_show_warehouse_all\":1,\"maintenance_check_all\":1,\"jb_add\":1,\"jb_edit\":1,\"jb_view\":1,\"jb_print\":1,\"machine_issue_add\":1,\"machine_issue_edit\":1,\"machine_issue_view\":1,\"machine_issue_return\":1,\"schedule_maintenance_add\":1,\"schedule_maintenance_edit\":1,\"schedule_maintenance_view\":1,\"schedule_maintenance_print\":1,\"customer_visit_view\":1,\"customer_visit_print\":1,\"job_order_add\":1,\"job_order_edit\":1,\"job_order_view\":1,\"job_order_convert\":1,\"job_order_cancel\":1,\"planned_maintenance_add\":1,\"planned_maintenance_edit\":1,\"planned_maintenance_view\":1,\"planned_maintenance_convert\":1,\"job_order_request_item\":1,\"job_order_issue_item\":1,\"job_order_allotment\":1,\"fm_snag_add\":1,\"fm_snag_edit\":1,\"fm_snag_view\":1,\"fm_snag_convert\":1,\"materials_list_issue\":1,\"materials_list_view\":1,\"inv_check_all\":1,\"stock_add\":1,\"stock_view\":1,\"stock_edit\":1,\"stock_value_view\":1,\"inv_mov_issue_add\":1,\"mov_issue_view\":1,\"inv_mov_issue_edit\":1,\"inv_mov_issue_print\":1,\"inv_issues_post_to_finance\":1,\"inv_mov_issue_convert\":1,\"inv_mov_receipt_add\":1,\"mov_receipt_view\":1,\"mov_receipt_edit\":1,\"inv_mov_receipt_print\":1,\"receipts_post_to_finance\":1,\"direct_transfer_add\":1,\"direct_transfer_view\":1,\"direct_transfer_edit\":1,\"direct_transfer_print\":1,\"direct_transfer_excel\":1,\"direct_transfer_convert\":1,\"view_sales_price\":1,\"edit_selling_price\":1,\"prod_check_all\":1,\"prod_bill_add\":1,\"prod_bill_view\":1,\"prod_bill_edit\":1,\"mat_bill_print\":1,\"prod_bill_convert\":1,\"prod_po_add\":1,\"prod_po_view\":1,\"prod_po_edit_new\":1,\"prod_po_approve\":1,\"prod_po_print\":1,\"prod_po_convert\":1,\"prod_mov_issue_add\":1,\"prod_gi_view\":1,\"prod_mov_issue_edit\":1,\"prod_gi_issue_print\":1,\"prod_mov_issue_convert\":1,\"prod_gr_mov_receipt_add\":1,\"prod_gr_view\":1,\"prod_gr_mov_receipt_print\":1,\"prod_gr_receipts_post_to_finance\":1,\"purchase_check_all\":1,\"vendor_add\":1,\"vendor_edit\":1,\"vendor_view\":1,\"vendor_doc_upload\":1,\"vendor_doc_download\":1,\"vendor_doc_delete\":1,\"requisition_add\":1,\"requisition_edit\":1,\"requisition_view\":1,\"requisition_cancel\":1,\"requisition_pdf\":1,\"requisition_convert_enq\":1,\"requisition_convert_po\":1,\"requisition_approve\":1,\"requisition_activity\":1,\"enquiry_add\":1,\"enquiry_edit\":1,\"enquiry_view\":1,\"enquiry_pdf\":1,\"enquiry_convert\":1,\"enquiry_activity\":1,\"enquiry_doc_upload\":1,\"enquiry_doc_delete\":1,\"purchase_order_add\":1,\"purchase_order_edit\":1,\"purchase_order_view\":1,\"purchase_order_view_context_menu\":1,\"purchase_order_pdf\":1,\"purchase_order_convert\":1,\"purchase_order_approve1\":1,\"PO_activity\":1,\"PO_doc_upload\":1,\"PO_doc_download\":1,\"PO_doc_delete\":1,\"purchase_material_edit\":1,\"purchase_material_view\":1,\"purchase_material_print\":1,\"purchase_material_convert\":1,\"PM_activity\":1,\"purchase_qc_edit\":1,\"purchase_qc_view\":1,\"purchase_qc_convert\":1,\"QC_activity\":1,\"purchase_invoice_edit\":1,\"purchase_invoice_view\":1,\"purchase_invoice_pdf\":1,\"PI_activity\":1,\"PI_doc_upload\":1,\"PI_landing_cost\":1,\"pur_debitnote_add\":1,\"pur_debitnote_view\":1,\"pur_debitnote_pdf\":1,\"pur_debitnote_pckin_convert\":1,\"PR_activity\":1,\"pur_deliverytrack_edit\":1,\"pur_deliverytrack_view\":1,\"pur_deliverytrack_convert\":1,\"pur_receipttrack_edit\":1,\"pur_receipttrack_view\":1,\"pur_receipttrack_convert\":1,\"fixed_asset_register_add\":1,\"fixed_asset_register_edit\":1,\"fixed_asset_register_view\":1,\"fixed_asset_register_covert_sold\":1,\"fixed_asset_register_covert_scrap\":1,\"fixed_asset_register_post\":1,\"fixed_asset_register_unpost\":1,\"depreciation_add\":1,\"depreciation_edit\":1,\"depreciation_view\":1,\"aggregate_view\":1,\"finance_check_all\":1,\"finance_voucher_view\":1,\"finance_voucher_add\":1,\"finance_voucher_import\":1,\"finance_voucher_delete\":1,\"finance_post_voucher\":1,\"finance_unpost_voucher\":1,\"finance_print_voucher\":1,\"finance_print_cheque\":1,\"finance_allocation_view\":1,\"finance_allocation_add\":1,\"finance_allocation_delete\":1,\"finance_print_allocation\":1,\"finance_reconciliation_view\":1,\"finance_reconciliation_add\":1,\"finance_chq_add\":1,\"finance_general_ledger\":1,\"ledger_summary\":1,\"balance_sheet\":1,\"statements\":1,\"aging\":1,\"subledger_report\":1,\"cashflow_report\":1,\"cashflow_finance_report\":1,\"profit_reports\":1,\"sales_vs_cogs\":1,\"restrict_brands\":1,\"trial_balance\":1,\"vat_report\":1,\"masters_finance\":1,\"admin_finance\":1,\"finance_security_cheque_view\":1,\"finance_security_cheque_add\":1,\"finance_security_cheque_delete\":1,\"finance_security_cheque_report\":1,\"vehicle_finance_report\":1,\"mas_inv_emi_view\":1,\"mas_inv_emi_add\":1,\"mas_inv_emicategory_view\":1,\"mas_inv_emicategory_add\":1,\"mas_inv_emicategory_delete\":1,\"cheque_collection_view\":1,\"cheque_collection_add\":1,\"cheque_collection_upload\":1,\"cheque_collection_edit\":1,\"account_check_all\":1,\"account_menu_view\":1,\"acc_vouchers_menu_view\":1,\"acc_vouchers_add\":1,\"acc_vouchers_edit\":1,\"acc_vouchers_delete\":1,\"acc_vouchers_post\":1,\"acc_vouchers_unpost\":1,\"acc_vouchers_print\":1,\"acc_print_cheque\":1,\"acc_allocation_menu_view\":1,\"acc_allocation_delete\":1,\"acc_allocation_print\":1,\"acc_cheques_management_menu_view\":1,\"acc_reconciliation_menu_view\":1,\"acc_reconciliation_history_menu_view\":1,\"acc_reconciliation_history_add\":1,\"acc_reconciliation_history_delete\":1,\"acc_reconciliation_history_print\":1,\"acc_ledgers_menu_view\":1,\"acc_ledgers_add\":1,\"acc_ledgers_edit\":1,\"acc_ledgers_delete\":1,\"acc_subLedger_type_menu_view\":1,\"acc_subLedger_type_add\":1,\"acc_subLedger_type_edit\":1,\"acc_subLedgers_menu_view\":1,\"acc_subLedgers_add\":1,\"acc_subLedgers_edit\":1,\"acc_subLedgers_delete\":1,\"acc_audit_close_menu_view\":1,\"acc_audit_close_add\":1,\"acc_audit_close_delete\":1,\"acc_final_audit_close_menu_view\":1,\"acc_final_audit_close_add\":1,\"acc_final_audit_close_delete\":1,\"acc_mapping_menu_view\":1,\"acc_voucher_types_menu_view\":1,\"acc_voucher_types_add\":1,\"acc_voucher_types_edit\":1,\"acc_synchronize_subledgers_menu_view\":1,\"admin_check_all\":1,\"admin_users_add\":1,\"admin_users_edit\":1,\"users_mis_accessible_branches_edit\":1,\"admin_users_delete\":1,\"admin_users_view\":1,\"admin_users_block\":1,\"admin_usergroup_add\":1,\"admin_usergroup_edit\":1,\"admin_usergroup_delete\":1,\"admin_usergroup_view\":1,\"auditlog_view\":1,\"show_level_all\":1,\"report_check_all\":1,\"report_sale_lead_view\":1,\"report_sale_lead_view_download\":1,\"report_sale_quotes_view\":1,\"report_sale_quotes_download\":1,\"report_sale_order_view\":1,\"report_sale_order_download\":1,\"report_sale_delivery_view\":1,\"report_sale_delivery_download\":1,\"report_sale_invoice_view\":1,\"report_sale_invoice_download\":1,\"report_sale_creditnote_view\":1,\"report_sale_creditnote_download\":1,\"report_sale_datewisesales_view\":1,\"report_sale_datewisesales_download\":1,\"report_sale_daybook_view\":1,\"report_sale_daybook_download\":1,\"report_sale_delivertoinvoice_view\":1,\"report_sale_delivertoinvoice_download\":1,\"report_sale_grossprofit_view\":1,\"report_sale_grossprofit_download\":1,\"report_sale_ordertodeliver_view\":1,\"report_sale_ordertodeliver_download\":1,\"sales_items_by_brand\":1,\"sales_items_by_brand_download\":1,\"report_sale_netsales_view\":1,\"report_sale_netsales_download\":1,\"job_order_report_view\":1,\"job_order_report_download\":1,\"report_customerlist_view\":1,\"report_customerlist_download\":1,\"report_customercontact_view\":1,\"report_customercontact_download\":1,\"report_vendorlist_view\":1,\"report_vendorlist_download\":1,\"report_vendorcontact_view\":1,\"report_vendorcontact_download\":1,\"report_sales_payment_terms\":1,\"report_sales_payment_download\":1,\"report_activity_view\":1,\"report_activity_download\":1,\"report_currentstock_view\":1,\"current_stock_report_download\":1,\"report_directtransfer_view\":1,\"direct_transfer_report_download\":1,\"report_inv_stock_transn_view\":1,\"inv_stock_transaction_report_download\":1,\"report_inv_transdetail_view\":1,\"inv_transaction_detail_report_download\":1,\"report_inv_warehouse_stock\":1,\"report_inventorydetailedlist\":1,\"report_inventorydetailedlist_download\":1,\"report_stockmovementreport_view\":1,\"report_stockmovementreport_view_download\":1,\"report_zerobasecostpriceproduct_view\":1,\"acc_reports_menu_view\":1,\"acc_trialbalance_report_menu\":1,\"acc_trial_balance_detailed_report_menu\":1,\"acc_profitloss_report_menu\":1,\"acc_profitloss_detailed_report_menu\":1,\"acc_balance_report_menu\":1,\"acc_balance_detailed_report_menu\":1,\"acc_generalledger_report_menu\":1,\"acc_ledger_report_menu\":1,\"acc_ledgersummary_report_menu\":1,\"acc_subledgerdetail_report_menu\":1,\"acc_customerstatement_report_menu\":1,\"acc_customerstatement_ason_date_report_menu\":1,\"acc_customerstatement_consolidated_report_menu\":1,\"acc_customerstatement_pdc_report_menu\":1,\"acc_vendorstatement_report_menu\":1,\"acc_vendorstatement_ason_date_report_menu\":1,\"acc_vendorstatement_pdc_report_menu\":1,\"acc_receivableaging_report_menu\":1,\"acc_payableaging_report_menu\":1,\"acc_vat_summary_report_menu\":1,\"acc_vat_register_report_menu\":1,\"report_purchaseorder_view\":1,\"purchase_order_report_download\":1,\"report_purchasemr_view\":1,\"report_purchasemr_download\":1,\"report_pendingorder_view\":1,\"report_pendingorder_download\":1,\"report_purchaseinvoice_view\":1,\"report_purchaseinvoice_download\":1,\"report_purchasedebit_view\":1,\"report_purchasedebit_download\":1,\"report_purchaseitemsordr_view\":1,\"report_netpurchase_view\":1,\"report_netpurchase_download\":1,\"ass_production_summary_list\":1,\"ass_production_consumption_list\":1,\"ass_out_of_stock_list\":1,\"fleet_vechicle_list\":1,\"fleet_vechicle_list_download\":1,\"fleet_vechicle_service_list\":1,\"fleet_vechicle_service_list_download\":1,\"fleet_vechicle_allotment_list\":1,\"fleet_vechicle_allotment_download\":1,\"mas_check_all\":1,\"bank_add\":1,\"bank_edit\":1,\"bank_view\":1,\"bank_disable\":1,\"currency_add\":1,\"currency_edit\":1,\"currency_view\":1,\"currency_disable\":1,\"paymentterm_add\":1,\"paymentterm_edit\":1,\"paymentterm_view\":1,\"paymentterm_disable\":1,\"mas_warehouse_add\":1,\"mas_warehouse_edit\":1,\"mas_warehouse_view\":1,\"mas_warehouse_disable\":1,\"mas_inv_brand_add\":1,\"mas_inv_brand_edit\":1,\"mas_inv_brand_view\":1,\"mas_inv_brand_disable\":1,\"mas_inv_rack_add\":1,\"mas_inv_rack_edit\":1,\"mas_inv_rack_view\":1,\"mas_inv_rack_disable\":1,\"mas_inv_bin_add\":1,\"mas_inv_bin_edit\":1,\"mas_inv_bin_view\":1,\"mas_inv_bin_disable\":1,\"mas_inv_unit_add\":1,\"mas_inv_unit_edit\":1,\"mas_inv_unit_view\":1,\"mas_inv_unit_disable\":1,\"inventory_generic_name_add\":1,\"inventory_generic_name_edit\":1,\"inventory_generic_name_view\":1,\"inventory_generic_name_disable\":1,\"mas_tax_add\":1,\"mas_tax_edit\":1,\"mas_tax_view\":1,\"mas_tax_disable\":1,\"mas_item_type_add\":1,\"mas_item_type_edit\":1,\"mas_item_type_view\":1,\"mas_item_type_disable\":1,\"sales_master_salegroup_add\":1,\"sales_master_salegroup_edit\":1,\"sales_master_salegroup_view\":1,\"sales_master_salegroup_disable\":1,\"cus_master_industry_add\":1,\"cus_master_industry_edit\":1,\"cus_master_industry_view\":1,\"cus_master_industry_disable\":1,\"mas_quotation_close_reason_add\":1,\"mas_quotation_close_reason_edit\":1,\"mas_quotation_close_reason_view\":1,\"mas_quotation_close_reason_disable\":1,\"termsandcondition_add\":1,\"termsandcondition_edit\":1,\"termsandcondition_view\":1,\"termsandcondition_disable\":1,\"ai_dashboard_add\":1,\"ai_dashboard_edit\":1,\"ai_dashboard_view\":1,\"ai_dashboard_disable\":1,\"sales_master_notification_add\":1,\"sales_master_notification_edit\":1,\"notification_view\":1,\"sales_master_notification_disable\":1,\"master_country_add\":1,\"master_country_edit\":1,\"master_country_view\":1,\"master_country_disable\":1,\"master_inco_term_add\":1,\"master_inco_term_edit\":1,\"master_inco_term_view\":1,\"master_inco_term_disable\":1,\"shipping_method_add\":1,\"shipping_method_edit\":1,\"shipping_method_view\":1,\"shipping_method_disable\":1,\"mas_doc_type_add\":1,\"mas_doc_type_edit\":1,\"mas_doc_type_view\":1,\"mas_doc_type_disable\":1,\"fixed_asset_master_add\":1,\"fixed_asset_master_edit\":1,\"fixed_asset_master_view\":1,\"sales_master_service_add\":1,\"sales_master_service_edit\":1,\"sales_master_service_view\":1,\"sales_master_service_disable\":1,\"projects_mas_task_category_add\":1,\"projects_mas_task_category_edit\":1,\"projects_mas_task_category_view\":1,\"projects_mas_task_category_disable\":1,\"projects_mas_task_subcategory_add\":1,\"projects_mas_task_subcategory_edit\":1,\"projects_mas_task_subcategory_view\":1,\"projects_mas_task_subcategory_disable\":1,\"projects_mas_external_labour_add\":1,\"projects_mas_external_labour_edit\":1,\"projects_mas_external_labour_view\":1,\"projects_mas_external_labour_disable\":1,\"projects_masster1_add\":1,\"projects_masster1_edit\":1,\"projects_masster1_view\":1,\"projects_masster1_block\":1,\"projects_master2_add\":1,\"projects_master2_edit\":1,\"projects_master2_view\":1,\"projects_master2_block\":1,\"projects_masster3_add\":1,\"projects_masster3_edit\":1,\"projects_masster3_view\":1,\"projects_masster3_block\":1,\"project_check_all\":1,\"add_project\":1,\"edit_project\":1,\"view_project_menu\":1,\"requisition_project_menu\":1,\"PO_project_menu\":1,\"MI_project_menu\":1,\"print_project_menu_new\":1,\"project_work_time_admin_menu\":1,\"project_work_time_admin_view\":1,\"project_work_time_view_menu\":1,\"project_work_time_view_view\":1,\"fleet_check_all\":1,\"sales_master_masvehicle_add\":1,\"sales_master_vehicle_edit\":1,\"view_sales_master_vehicle\":1,\"sales_master_vehicle_disable\":1,\"sales_master_vehicle_print\":1,\"sales_master_masvehicle_upload\":1,\"master_masmaintainance_add\":1,\"master_maintainance_edit\":1,\"view_master_maintainance\":1,\"master_maintainance_disable\":1,\"master_masservicestatus_add\":1,\"master_masservicestatus_edit\":1,\"view_master_masservicestatus\":1,\"master_masservicestatus_disable\":1,\"master_veh_maintainance_add\":1,\"master_veh_maintainance_edit\":1,\"view_master_veh_maintainance\":1,\"master_veh_maintainance_disable\":1,\"master_veh_maintainance_print\":1,\"master_veh_allotment_add\":1,\"vehicle_allotment_edit\":1,\"view_master_veh_allotment\":1,\"profit_calculation_check_all\":1,\"profit_calculation_view\":1,\"show_different_cost_pricing\":1,\"view_all_files\":1,\"approve_below_minimum_profit\":1,\"profit_settings_view\":1,\"profit_settings_add\":1,\"profit_settings_edit\":1,\"profit_settings_delete\":1}', '[]', 0.00, 0.00, 0.00, 0.00, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Y', 'N', 1, 0, '2025-06-25 12:53:36', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_vehicle`
--

CREATE TABLE `erp_mas_vehicle` (
  `id` int(11) NOT NULL,
  `vehicle_id` int(11) NOT NULL,
  `vehicle_make` varchar(150) NOT NULL,
  `vehicle_vin_no` varchar(100) NOT NULL,
  `hasPermit` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `permit_expiry_date` date NOT NULL,
  `pollution_expiry_date` date NOT NULL,
  `registration_expiry_date` date NOT NULL,
  `fuel_type` varchar(50) NOT NULL,
  `insurance_validity_date` date NOT NULL,
  `manufacturing_year` int(11) NOT NULL,
  `vehicle_model` varchar(150) NOT NULL,
  `registered_state` varchar(150) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `lic_plate_no` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_mas_vehicle_backuo_22_!2_25`
--

CREATE TABLE `erp_mas_vehicle_backuo_22_!2_25` (
  `id` int(11) NOT NULL,
  `vehicle_id` int(11) NOT NULL,
  `vehicle_make` varchar(150) NOT NULL,
  `vehicle_vin_no` varchar(100) NOT NULL,
  `hasPermit` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `permit_expiry_date` date NOT NULL,
  `pollution_expiry_date` date NOT NULL,
  `registration_expiry_date` date NOT NULL,
  `fuel_type` varchar(50) NOT NULL,
  `insurance_validity_date` date NOT NULL,
  `manufacturing_year` int(11) NOT NULL,
  `vehicle_model` varchar(150) NOT NULL,
  `registered_state` varchar(150) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `lic_plate_no` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_vehicle_backuo_22_!2_25`
--

INSERT INTO `erp_mas_vehicle_backuo_22_!2_25` (`id`, `vehicle_id`, `vehicle_make`, `vehicle_vin_no`, `hasPermit`, `created_date_time`, `created_by`, `updated_date_time`, `updated_by`, `permit_expiry_date`, `pollution_expiry_date`, `registration_expiry_date`, `fuel_type`, `insurance_validity_date`, `manufacturing_year`, `vehicle_model`, `registered_state`, `isActive`, `lic_plate_no`) VALUES
(1, 103, 'Maruthi', 'AB67YHNFJ8LIUYY', 'Y', '2025-07-31 09:19:17', 1, '2025-08-04 10:20:01', 1, '2025-08-01', '2025-08-01', '2025-08-01', 'Petrol', '2025-09-01', 2014, 'Swift', 'Kerala', 'Y', 'BOM-7254'),
(2, 101, 'Maruthi', 'VR45FGNFJ8J7XC', 'Y', '2025-07-31 09:19:39', 1, '2025-08-04 10:19:05', 1, '2025-08-01', '2025-08-01', '2025-08-01', 'Diesel', '2031-05-02', 2008, 'Baleno', 'New York', 'Y', 'TRV-7254'),
(3, 102, 'Thomas ', 'RS78KK8K67NWQ', 'Y', '2025-07-31 02:31:38', 1, '0000-00-00 00:00:00', 0, '2025-08-01', '2025-08-01', '2025-08-01', 'Diesel', '2026-09-10', 2018, 'Saf-T-Liner C2', 'North Carolina', 'Y', 'ST-78-268'),
(4, 104, 'Jeep', 'MBG78HGFC9MJH', 'Y', '2025-07-31 02:33:58', 1, '0000-00-00 00:00:00', 0, '2025-08-01', '2025-08-01', '2025-08-01', 'Petrol', '2026-07-24', 2021, 'Wrangler', 'Delhi', 'Y', 'DL-07-AV-4569'),
(5, 100, 'Hyundai ', 'VDVN78JTFJH57XC', 'Y', '2025-07-31 03:38:31', 1, '2025-09-23 10:18:04', 13, '2027-04-02', '2026-01-09', '2025-11-06', 'Gas', '2025-08-10', 2010, 'Alcazar', '', 'Y', 'ABY-9048');

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

--
-- Table structure for table `erp_mas_vehicle_service_status`
--

CREATE TABLE `erp_mas_vehicle_service_status` (
  `id` int(11) NOT NULL,
  `status_type` varchar(100) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_vehicle_service_status`
--

INSERT INTO `erp_mas_vehicle_service_status` (`id`, `status_type`, `isActive`, `isDefault`, `created_date_time`, `created_by`, `updated_date_time`, `updated_by`) VALUES
(1, 'Scheduled', 'Y', 'Y', '2025-08-01 15:58:23', 1, '2025-08-01 16:06:36', 1),
(2, 'Called / Notified	', 'Y', 'N', '2025-08-01 15:58:39', 1, '0000-00-00 00:00:00', 0),
(3, 'Vehicle Received', 'Y', 'N', '2025-08-01 15:59:00', 1, '0000-00-00 00:00:00', 0),
(4, 'Inspection Started	', 'Y', 'N', '2025-08-01 15:59:13', 1, '0000-00-00 00:00:00', 0),
(5, 'Waiting for Approval', 'Y', 'N', '2025-08-01 15:59:24', 1, '0000-00-00 00:00:00', 0),
(6, 'Work In Progress', 'Y', 'N', '2025-08-01 15:59:35', 1, '0000-00-00 00:00:00', 0),
(7, 'Parts Pending', 'Y', 'N', '2025-08-01 15:59:54', 1, '0000-00-00 00:00:00', 0),
(8, 'Test Drive / QA', 'Y', 'N', '2025-08-01 16:00:04', 1, '0000-00-00 00:00:00', 0),
(9, 'Ready for Delivery', 'Y', 'N', '2025-08-01 16:00:14', 1, '0000-00-00 00:00:00', 0),
(10, 'Delivered', 'Y', 'N', '2025-08-01 16:00:24', 1, '0000-00-00 00:00:00', 0),
(11, 'On Hold', 'Y', 'N', '2025-08-01 16:00:33', 1, '0000-00-00 00:00:00', 0),
(12, 'Cancelled', 'Y', 'N', '2025-08-01 16:00:43', 1, '2025-08-29 11:55:27', 1),
(13, 'Closed / Completed', 'Y', 'N', '2025-08-01 16:00:53', 1, '0000-00-00 00:00:00', 0);

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

--
-- Table structure for table `erp_meeting`
--

CREATE TABLE `erp_meeting` (
  `id` int(11) NOT NULL,
  `type` varchar(500) NOT NULL,
  `type_id` int(11) NOT NULL,
  `venue` varchar(500) NOT NULL,
  `country_id` varchar(255) NOT NULL,
  `location_id` varchar(255) NOT NULL,
  `meeting_date` date NOT NULL,
  `meeting_time` time NOT NULL,
  `meeting_title` varchar(500) NOT NULL,
  `conducted_by` varchar(255) NOT NULL,
  `notify` varchar(1000) NOT NULL,
  `attendees` varchar(255) NOT NULL,
  `others` text NOT NULL,
  `filename` varchar(100) NOT NULL,
  `isMeeting` enum('Y','N') NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_meeting_activity`
--

CREATE TABLE `erp_meeting_activity` (
  `id` int(11) NOT NULL,
  `meeting_id` int(11) NOT NULL,
  `transation_id` int(11) NOT NULL,
  `callback` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `notes` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_meeting_transaction`
--

CREATE TABLE `erp_meeting_transaction` (
  `id` int(11) NOT NULL,
  `meeting_id` int(11) NOT NULL,
  `serial_no` varchar(255) NOT NULL,
  `heading` varchar(500) NOT NULL,
  `meeting_details` text NOT NULL,
  `action_taken` text NOT NULL,
  `closing_date` date NOT NULL,
  `closed_on` date NOT NULL,
  `complete_status` int(11) NOT NULL,
  `person` int(11) NOT NULL,
  `other_email` varchar(500) NOT NULL,
  `filename` varchar(500) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_meeting_type`
--

CREATE TABLE `erp_meeting_type` (
  `id` int(11) NOT NULL,
  `type_name` varchar(100) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_messaging`
--

CREATE TABLE `erp_messaging` (
  `id` bigint(20) NOT NULL,
  `message_from` int(11) NOT NULL,
  `send_datetime` datetime NOT NULL,
  `comments` text NOT NULL,
  `type` enum('PO','SO','OT','') NOT NULL,
  `order_id` bigint(20) NOT NULL,
  `message_to` int(11) NOT NULL,
  `received_datetime` datetime NOT NULL,
  `received` enum('Y','N','','') NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_models`
--

CREATE TABLE `erp_models` (
  `id` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `isActive` enum('Y','N') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_models`
--

INSERT INTO `erp_models` (`id`, `name`, `isActive`) VALUES
(1, 'Activity', 'Y'),
(2, 'ActivityProspects', 'Y'),
(3, 'AdvancePayment', 'Y'),
(4, 'AllocatedMaterial', 'Y'),
(5, 'ApprovalHistory', 'Y'),
(6, 'ApprovalLevelDetails', 'Y'),
(7, 'ApprovalLevelGeneral', 'Y'),
(8, 'AttendanceManager', 'Y'),
(9, 'AuditLog', 'Y'),
(10, 'BiometricExclude', 'Y'),
(11, 'BrandSalesTarget', 'Y'),
(12, 'ChangeRackBin', 'Y'),
(13, 'CheckinList', 'Y'),
(14, 'CompanyCircular', 'Y'),
(15, 'CompanyDocument', 'Y'),
(16, 'CompanyInprocessDocument', 'Y'),
(17, 'ComplaintSuggestion', 'Y'),
(18, 'CoreController', 'Y'),
(19, 'CostPriceGroup', 'Y'),
(20, 'CostPriceGroupName', 'Y'),
(21, 'Creditnote', 'Y'),
(22, 'CreditnoteAddition', 'Y'),
(23, 'CreditnoteDeduction', 'Y'),
(24, 'CreditnoteItem', 'Y'),
(25, 'Customer', 'Y'),
(26, 'Customer02-04-20', 'Y'),
(27, 'CustomerContact', 'Y'),
(28, 'CustomerDocs', 'Y'),
(29, 'CustomerPricingGroup', 'Y'),
(30, 'CustomerShippingDetails', 'Y'),
(31, 'CustomerTemp', 'Y'),
(32, 'CustomerWithoutContacts', 'Y'),
(33, 'CustomerWithoutShipping', 'Y'),
(34, 'DamagedStore', 'Y'),
(35, 'DamagedStoreDetails', 'Y'),
(36, 'DamagedStoreMaterialDetails', 'Y'),
(37, 'Dashboard', 'Y'),
(38, 'DeliveryNote', 'Y'),
(39, 'DeliveryNoteItem', 'Y'),
(40, 'DemoItemDetails', 'Y'),
(41, 'DemoItemDetailsReturn', 'Y'),
(42, 'DemoItemGeneral', 'Y'),
(43, 'DisplayText', 'Y'),
(44, 'Document', 'Y'),
(45, 'DocumentSettings', 'Y'),
(46, 'DocumentpdfSettings', 'Y'),
(47, 'EmiCategory', 'Y'),
(48, 'Employee', 'Y'),
(49, 'EmployeeAsset', 'Y'),
(50, 'EmployeeAttendance', 'Y'),
(51, 'EmployeeAttendanceWarning', 'Y'),
(52, 'EmployeeBranch', 'Y'),
(53, 'EmployeeBrandSalaryPercent', 'Y'),
(54, 'EmployeeCertificate', 'Y'),
(55, 'EmployeeDependants', 'Y'),
(56, 'EmployeeDocuments', 'Y'),
(57, 'EmployeeEOS', 'Y'),
(58, 'EmployeeEOSDetails', 'Y'),
(59, 'EmployeeEosClearanceDetails', 'Y'),
(60, 'EmployeeExpense', 'Y'),
(61, 'EmployeeExpenseDetails', 'Y'),
(62, 'EmployeeInoutDocument', 'Y'),
(63, 'EmployeeLeave', 'Y'),
(64, 'EmployeeLeaveDetail', 'Y'),
(65, 'EmployeeLeaveEncashment', 'Y'),
(66, 'EmployeeLeaveExcuse', 'Y'),
(67, 'EmployeeLeaveLedger', 'Y'),
(68, 'EmployeeLeavesettlement', 'Y'),
(69, 'EmployeeLoan', 'Y'),
(70, 'EmployeeLoanDetail', 'Y'),
(71, 'EmployeeNotes', 'Y'),
(72, 'EmployeeNoticeConduct', 'Y'),
(73, 'EmployeePayment', 'Y'),
(74, 'EmployeePension', 'Y'),
(75, 'EmployeeResignation', 'Y'),
(76, 'EmployeeSalary', 'Y'),
(77, 'EmployeeSalaryAdvance', 'Y'),
(78, 'EmployeeSalaryAdvancePayment', 'Y'),
(79, 'EmployeeShift', 'Y'),
(80, 'EmployeeTicket', 'Y'),
(81, 'EmployeeTicketEncashment', 'Y'),
(82, 'EmployeeTicketEntitlement', 'Y'),
(83, 'EmployeewpsCompany', 'Y'),
(84, 'EosGratuityDetails', 'Y'),
(85, 'FileNotes', 'Y'),
(86, 'FinanceEmi', 'Y'),
(87, 'FinanceEmiInstallment', 'Y'),
(88, 'FinanceEmiType', 'Y'),
(89, 'Grossprofit', 'Y'),
(90, 'HrAppraisal', 'Y'),
(91, 'HrEmployeeDocumentExpiry', 'Y'),
(92, 'HrEmployeeInprocessDocument', 'Y'),
(93, 'HrGenerelSettings', 'Y'),
(94, 'HrMasAppraisal', 'Y'),
(95, 'HrNotification', 'Y'),
(96, 'HrRecruitment', 'Y'),
(97, 'HrRecruitmentNote', 'Y'),
(98, 'InventoryBatchSplitHistory', 'Y'),
(99, 'InventoryBatchSplitHistoryDetail', 'Y'),
(100, 'InventoryDirectTransfer', 'Y'),
(101, 'InventoryDirectTransferItem', 'Y'),
(102, 'InventoryDirectTransferItemDetails', 'Y'),
(103, 'InventoryGoodsIssue', 'Y'),
(104, 'InventoryGoodsIssueItem', 'Y'),
(105, 'InventoryGoodsReceipt', 'Y'),
(106, 'InventoryGoodsReceiptItem', 'Y'),
(107, 'InventoryInDirectTransferItemDetails', 'Y'),
(108, 'InventoryIndirectReceived', 'Y'),
(109, 'InventoryIndirectReceivedItems', 'Y'),
(110, 'InventoryIndirectTransfer', 'Y'),
(111, 'InventoryIndirectTransferItem', 'Y'),
(112, 'InventoryKit', 'Y'),
(113, 'InventoryKitItems', 'Y'),
(114, 'InventoryUploadedStock', 'Y'),
(115, 'Invoice', 'Y'),
(116, 'InvoiceAddition', 'Y'),
(117, 'InvoiceDeduction', 'Y'),
(118, 'InvoiceItem', 'Y'),
(119, 'IssueMaterialDetails', 'Y'),
(120, 'Lead', 'Y'),
(121, 'Lead02-04-2020', 'Y'),
(122, 'LeaveRoaster', 'Y'),
(123, 'Loan', 'Y'),
(124, 'LoginForm', 'Y'),
(125, 'MailEvents', 'Y'),
(126, 'MailSettings', 'Y'),
(127, 'MailStatus', 'Y'),
(128, 'MasApprovalSetting', 'Y'),
(129, 'MasApproveLevel', 'Y'),
(130, 'MasApproveSetting', 'Y'),
(131, 'MasBank', 'Y'),
(132, 'MasCategoryFirstLevel', 'Y'),
(133, 'MasCategorySecondLevel', 'Y'),
(134, 'MasCertificate', 'Y'),
(135, 'MasCompany', 'Y'),
(136, 'MasCompanyBankDetails', 'Y'),
(137, 'MasCompanyBranch', 'Y'),
(138, 'MasCompanyBranchBankDetails', 'Y'),
(139, 'MasCompanyBranchSponsor', 'Y'),
(140, 'MasCompanySettings', 'Y'),
(141, 'MasCompanyTermsConditions', 'Y'),
(142, 'MasCompanyType', 'Y'),
(143, 'MasCompanyWpsDetails', 'Y'),
(144, 'MasCountry', 'Y'),
(145, 'MasCurrency', 'Y'),
(146, 'MasDepartment', 'Y'),
(147, 'MasDesignation', 'Y'),
(148, 'MasDocument', 'Y'),
(149, 'MasEOSClearance', 'Y'),
(150, 'MasEmiratesList', 'Y'),
(151, 'MasExpiryStatus', 'Y'),
(152, 'MasFooterItems', 'Y'),
(153, 'MasGeneric', 'Y'),
(154, 'MasGratuity', 'Y'),
(155, 'MasHoliday', 'Y'),
(156, 'MasIndustry', 'Y'),
(157, 'MasInoutDocument', 'Y'),
(158, 'MasInvBin', 'Y'),
(159, 'MasInvRack', 'Y'),
(160, 'MasInvStatus', 'Y'),
(161, 'MasInvTax', 'Y'),
(162, 'MasInvUnit', 'Y'),
(163, 'MasInventoryWarehouse', 'Y'),
(164, 'MasInvoiceType', 'Y'),
(165, 'MasLandedCostItems', 'Y'),
(166, 'MasLeave', 'Y'),
(167, 'MasNoticeperiod', 'Y'),
(168, 'MasNotification', 'Y'),
(169, 'MasNumberSettings', 'Y'),
(170, 'MasOverTime', 'Y'),
(171, 'MasPaymentTerm', 'Y'),
(172, 'MasPension', 'Y'),
(173, 'MasProbability', 'Y'),
(174, 'MasQuotationCloseReason', 'Y'),
(175, 'MasRelation', 'Y'),
(176, 'MasSalarytype', 'Y'),
(177, 'MasSalesGroup', 'Y'),
(178, 'MasSetting', 'Y'),
(179, 'MasSettingsLogin', 'Y'),
(180, 'MasShift', 'Y'),
(181, 'MasShipping', 'Y'),
(182, 'MasSourceOfLead', 'Y'),
(183, 'MasTermsAndConditions', 'Y'),
(184, 'MasUserGroup', 'Y'),
(185, 'MasterCompanySettings', 'Y'),
(186, 'MasterFile', 'Y'),
(187, 'MasterMailDetail', 'Y'),
(188, 'MasterSalaryLock', 'Y'),
(189, 'MasterSalaryProcedure', 'Y'),
(190, 'MasterSettings', 'Y'),
(191, 'MaterialMovementIssue', 'Y'),
(192, 'Meeting', 'Y'),
(193, 'MeetingActivity', 'Y'),
(194, 'MeetingTransaction', 'Y'),
(195, 'Messaging', 'Y'),
(196, 'MonthlyGratuity', 'Y'),
(197, 'MonthlySalarySif', 'Y'),
(198, 'MonthlySalarySifDetails', 'Y'),
(199, 'MtomTransfer', 'Y'),
(200, 'MtomTransferDetails', 'Y'),
(201, 'Notification', 'Y'),
(202, 'NotificationEvents', 'Y'),
(203, 'OpeningBalance', 'Y'),
(204, 'Order', 'Y'),
(205, 'OrderAddition', 'Y'),
(206, 'OrderDeduction', 'Y'),
(207, 'OrderHistory', 'Y'),
(208, 'OrderItem', 'Y'),
(209, 'OwnerBankDetails', 'Y'),
(210, 'PackagingList', 'Y'),
(211, 'PriceGroupProductRelation', 'Y'),
(212, 'PriceList', 'Y'),
(213, 'PricingGroup', 'Y'),
(214, 'ProLocChangeRackBin', 'Y'),
(215, 'ProductClass', 'Y'),
(216, 'ProductLocation', 'Y'),
(217, 'ProductLocationDetails', 'Y'),
(218, 'ProductLocationDetails31-03-2020', 'Y'),
(219, 'ProductionBillofmaterial', 'Y'),
(220, 'ProductionBillofmaterialItem', 'Y'),
(221, 'ProductionGoodsIssue', 'Y'),
(222, 'ProductionGoodsIssueItem', 'Y'),
(223, 'ProductionGoodsIssueItemDetails', 'Y'),
(224, 'ProductionGoodsIssueReturnItem', 'Y'),
(225, 'ProductionGoodsReceipt', 'Y'),
(226, 'ProductionGoodsReceiptAddition', 'Y'),
(227, 'ProductionGoodsReceiptDeduction', 'Y'),
(228, 'ProductionGoodsReceiptItem', 'Y'),
(229, 'ProductionOrder', 'Y'),
(230, 'ProductionOrderItem', 'Y'),
(231, 'ProfitCalc', 'Y'),
(232, 'ProfitCalcExtra', 'Y'),
(233, 'ProfitCalcInternal', 'Y'),
(234, 'ProfitCalcItem', 'Y'),
(235, 'ProfitCalcItemInternal', 'Y'),
(236, 'ProfitSettings', 'Y'),
(237, 'Project', 'Y'),
(238, 'ProspectContact', 'Y'),
(239, 'ProspectDocs', 'Y'),
(240, 'ProspectShippingDetails', 'Y'),
(241, 'Prospects', 'Y'),
(242, 'ProspectsActivityMaster', 'Y'),
(243, 'PurchasingAnalysis', 'Y'),
(244, 'PurchasingDebitNoteAddition', 'Y'),
(245, 'PurchasingDebitNoteDeduction', 'Y'),
(246, 'PurchasingDebitNoteIssueItem', 'Y'),
(247, 'PurchasingEnquiry', 'Y'),
(248, 'PurchasingEnquiryItem', 'Y'),
(249, 'PurchasingEnquiryItemDetails', 'Y'),
(250, 'PurchasingEnquiryNonStockItem', 'Y'),
(251, 'PurchasingEnquiryNonStockItemtemp', 'Y'),
(252, 'PurchasingEnquiryStockItem', 'Y'),
(253, 'PurchasingEnquiryStockItemtemp', 'Y'),
(254, 'PurchasingEnquirytemp', 'Y'),
(255, 'PurchasingInvoice', 'Y'),
(256, 'PurchasingInvoiceAddition', 'Y'),
(257, 'PurchasingInvoiceDeduction', 'Y'),
(258, 'PurchasingInvoiceItem', 'Y'),
(259, 'PurchasingInvoiceLandedCost', 'Y'),
(260, 'PurchasingMaterialreceipt', 'Y'),
(261, 'PurchasingMaterialreceiptItem', 'Y'),
(262, 'PurchasingOrder', 'Y'),
(263, 'PurchasingOrderAddition', 'Y'),
(264, 'PurchasingOrderDeduction', 'Y'),
(265, 'PurchasingOrderNonStockItem', 'Y'),
(266, 'PurchasingOrderNonstockAdditions', 'Y'),
(267, 'PurchasingOrderNonstockDeductions', 'Y'),
(268, 'PurchasingOrderStockItem', 'Y'),
(269, 'PurchasingOrderStockItemtemp', 'Y'),
(270, 'PurchasingOrdertemp', 'Y'),
(271, 'PurchasingRequisition', 'Y'),
(272, 'PurchasingRequisitionNonStockItem', 'Y'),
(273, 'PurchasingRequisitionStockItem', 'Y'),
(274, 'Purchasingdebitnote', 'Y'),
(275, 'PurchasingdebitnoteItem', 'Y'),
(276, 'Quotes', 'Y'),
(277, 'QuotesAddition', 'Y'),
(278, 'QuotesDeduction', 'Y'),
(279, 'QuotesItem', 'Y'),
(280, 'RME_Repair', 'Y'),
(281, 'ReportingManager', 'Y'),
(282, 'RoomAllocation', 'Y'),
(283, 'RoomBedspace', 'Y'),
(284, 'RoomSetting', 'Y'),
(285, 'RoomSettingDetails', 'Y'),
(286, 'SalaryProcessing', 'Y'),
(287, 'SalarySlip', 'Y'),
(288, 'SalarySlipDetails', 'Y'),
(289, 'SalarySlipLeavedetails', 'Y'),
(290, 'SalesManTarget', 'Y'),
(291, 'SalesPriceGroup', 'Y'),
(292, 'SalesPriceGroupBrandClassMaster', 'Y'),
(293, 'SalesPriceGroupBrandclass', 'Y'),
(294, 'SalesPriceGroupBrandorclassMaster', 'Y'),
(295, 'SalesPriceGroupName', 'Y'),
(296, 'SalesSettings', 'Y'),
(297, 'SalesTargetMaster', 'Y'),
(298, 'SerialnoChangeHistory', 'Y'),
(299, 'SerialnoChangeHistoryDetails', 'Y'),
(300, 'ServiceStore', 'Y'),
(301, 'ServiceStoreDetails', 'Y'),
(302, 'ServiceStoreMaterialDetails', 'Y'),
(303, 'StockBalancingTable', 'Y'),
(304, 'StockDiff', 'Y'),
(305, 'StockLedger', 'Y'),
(306, 'StockUpdater', 'Y'),
(307, 'Store', 'Y'),
(308, 'Subledger', 'Y'),
(309, 'TitleMaster', 'Y'),
(310, 'TrackingDetails', 'Y'),
(311, 'TrackingFile', 'Y'),
(312, 'TriggerDetails', 'Y'),
(313, 'Triggerpoints', 'Y'),
(314, 'Triggers', 'Y'),
(315, 'Unit', 'Y'),
(316, 'UnitOfMeasurement', 'Y'),
(317, 'UploadInventory', 'Y'),
(318, 'UploadPriceList', 'Y'),
(319, 'UploadPriceListHeader', 'Y'),
(320, 'User', 'Y'),
(321, 'UsergroupPermission', 'Y'),
(322, 'Vendor', 'Y'),
(323, 'VendorContact', 'Y'),
(324, 'VendorShippingDetails', 'Y'),
(325, 'VouchersController', 'Y'),
(326, 'WorkingHours', 'Y'),
(327, 'events', 'Y'),
(328, 'token\n', 'Y');

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

--
-- Table structure for table `erp_opening_balance`
--

CREATE TABLE `erp_opening_balance` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `rack` int(11) NOT NULL,
  `bin` int(11) NOT NULL,
  `opening_quantity` decimal(15,3) NOT NULL,
  `serial_no` varchar(255) NOT NULL,
  `batch_no` varchar(255) NOT NULL,
  `expiry` date NOT NULL,
  `rate` decimal(15,3) NOT NULL,
  `total_value` decimal(15,2) NOT NULL,
  `updated` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_opening_cash`
--

CREATE TABLE `erp_opening_cash` (
  `id` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `opening_date` date NOT NULL,
  `opening_cash` decimal(10,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_order`
--

CREATE TABLE `erp_order` (
  `id` bigint(20) NOT NULL,
  `file_id` int(11) NOT NULL,
  `quotes_id` int(11) NOT NULL,
  `file_title` varchar(255) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `lead_owner_id` int(11) NOT NULL,
  `order_date` date NOT NULL,
  `delivery_date` date NOT NULL,
  `sales_group_id` int(11) NOT NULL,
  `payment_terms_id` int(11) NOT NULL,
  `currency_id` int(11) NOT NULL,
  `exchange_rate` decimal(15,2) NOT NULL,
  `lpo` varchar(255) NOT NULL,
  `lpo_date` date NOT NULL,
  `shipping_by` varchar(255) NOT NULL,
  `billing_address` text NOT NULL,
  `shipping_city` int(11) NOT NULL,
  `shipping_address` text NOT NULL,
  `reference` varchar(255) NOT NULL,
  `notes` text NOT NULL,
  `others` varchar(255) NOT NULL,
  `convert_status` enum('Y','N') NOT NULL,
  `status` int(11) NOT NULL,
  `terms_id` int(11) NOT NULL COMMENT 'primary key to masterms ',
  `terms_and_conditions` text NOT NULL,
  `grand_total` decimal(15,2) NOT NULL,
  `total_tax_amount` decimal(15,2) NOT NULL,
  `invoice_type_id` int(11) NOT NULL COMMENT 'refer from crm_mas_invoice_type id',
  `remarks` text NOT NULL,
  `level1_approved_by` int(11) NOT NULL,
  `level1_approved_time` datetime NOT NULL,
  `level2_approved_by` int(11) NOT NULL,
  `level2_approved_time` datetime NOT NULL,
  `level3_approved_by` int(11) NOT NULL,
  `level3_approved_time` datetime NOT NULL,
  `total_discount_percentage` decimal(15,2) NOT NULL,
  `total_discount_amount` decimal(15,2) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `order_type` enum('sales','service') NOT NULL DEFAULT 'sales',
  `project_id` int(11) NOT NULL,
  `ticket_id` int(11) NOT NULL,
  `job_order_id` int(11) NOT NULL,
  `inco_term_id` int(11) NOT NULL,
  `production_status` enum('Y','N') NOT NULL DEFAULT 'N',
  `contract_no` varchar(100) NOT NULL,
  `contract_start_date` date NOT NULL,
  `contract_end_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_order`
--

INSERT INTO `erp_order` (`id`, `file_id`, `quotes_id`, `file_title`, `customer_id`, `contact_id`, `lead_owner_id`, `order_date`, `delivery_date`, `sales_group_id`, `payment_terms_id`, `currency_id`, `exchange_rate`, `lpo`, `lpo_date`, `shipping_by`, `billing_address`, `shipping_city`, `shipping_address`, `reference`, `notes`, `others`, `convert_status`, `status`, `terms_id`, `terms_and_conditions`, `grand_total`, `total_tax_amount`, `invoice_type_id`, `remarks`, `level1_approved_by`, `level1_approved_time`, `level2_approved_by`, `level2_approved_time`, `level3_approved_by`, `level3_approved_time`, `total_discount_percentage`, `total_discount_amount`, `isActive`, `order_type`, `project_id`, `ticket_id`, `job_order_id`, `inco_term_id`, `production_status`, `contract_no`, `contract_start_date`, `contract_end_date`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(20001, 1005, 1, '', 1001, 1, 2, '2025-12-19', '2025-12-22', 1, 2, 1, 1.00, '45554', '2025-12-19', '2', 'United Arab Emirates', 0, '', '', '', '', 'Y', 0, 1, 'Sales Terms and Conditions come here', 1101100.00, 50050.00, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 0, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 0, '2025-12-19 08:13:29', '0000-00-00 00:00:00'),
(20002, 1009, 10003, '', 1002, 2, 2, '2025-12-19', '2025-12-22', 1, 2, 1, 1.00, 'LPo1', '2025-12-19', '2', 'P.O Box : 87954\r\nBuilding 1\r\nIndustrial Area 2\r\nSharjah, United Arab Emirates', 0, '', '', '', '', 'Y', 0, 1, 'Sales Terms and Conditions come here\r\nMore Conditions can be entered in T&C Master also', 12747.00, 607.00, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 25001, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 2, '2025-12-19 10:19:07', '2025-12-19 11:32:50'),
(20003, 1008, 10002, '', 1001, 1, 2, '2025-12-19', '2025-12-22', 1, 2, 1, 1.00, '21231', '2025-12-19', '2', 'Building 870\r\nBusiness Bay\r\nP.O Box 58974\r\nDubai , United Arab Emirates', 0, '', '', '', '', 'Y', 0, 1, 'Sales Terms and Conditions come here\r\nMore Conditions can be entered in T&C Master also', 18469.50, 879.50, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 0, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 0, '2025-12-19 12:08:21', '0000-00-00 00:00:00'),
(20004, 1016, 10004, '', 1001, 1, 2, '2025-12-19', '2025-12-22', 1, 2, 1, 1.00, 'LPO1', '2025-12-19', '2', 'Building 870\r\nBusiness Bay\r\nP.O Box 58974\r\nDubai , United Arab Emirates', 0, '', '', '', '', 'Y', 0, 1, 'Sales Terms and Conditions come here', 10752.00, 512.00, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 25001, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 2, '2025-12-19 12:13:45', '2025-12-19 12:14:05'),
(20005, 1032, 0, '', 1001, 1, 2, '2025-12-19', '2025-12-22', 1, 2, 1, 1.00, '11', '2025-12-19', '2', 'Building 870\r\nBusiness Bay\r\nPO Box : 58974\r\nDubai\r\nUnited Arab Emirates', 0, '', '', '', '', 'Y', 0, 0, '', 1060.50, 50.50, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 0, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 2, '2025-12-19 15:48:56', '2025-12-19 15:49:39'),
(20006, 1033, 0, '', 1001, 1, 2, '2025-12-19', '2025-12-22', 1, 2, 1, 1.00, '11', '2025-12-19', '2', 'Building 870\r\nBusiness Bay\r\nPO Box : 58974\r\nDubai\r\nUnited Arab Emirates', 0, '', '', '', '', 'Y', 0, 0, '', 1060.50, 50.50, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 0, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 0, '2025-12-19 15:57:54', '0000-00-00 00:00:00'),
(20007, 1035, 10005, '', 1001, 1, 2, '2025-12-20', '2025-12-23', 1, 2, 1, 1.00, 'l', '2025-12-20', '2', 'P.O Box : 58974\r\nBuilding 870\r\nBusiness Bay\r\nDubai, United Arab Emirates', 0, '', '', '', '', 'Y', 0, 1, 'Sales Terms and Conditions come here', 4882.50, 232.50, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 0, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 0, '2025-12-20 09:29:09', '0000-00-00 00:00:00'),
(20008, 1037, 10006, '', 1001, 1, 2, '2025-12-20', '2025-12-23', 1, 2, 1, 1.00, '12', '2025-12-20', '2', 'PO Box 58974\r\nBuilding 870\r\nBusiness Bay\r\nDubai, United Arab Emirates', 1, 'Custmer One\r\nPO Box : 58974\r\nBuilding 870\r\nBusiness Bay\r\nDubai, United Arab Emirates', '', '', '', 'Y', 0, 1, 'Sales Terms and Conditions come here\r\nNext Line', 5827.50, 277.50, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 0, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 2, '2025-12-20 13:30:31', '2025-12-20 13:54:25'),
(20009, 1039, 10006, '', 1002, 2, 2, '2025-12-20', '2025-12-23', 1, 2, 1, 1.00, '12', '2025-12-20', '2', 'Building 1\r\nIndustrial Area 2\r\nPO Box : 87954\r\nSharjah\r\nUnited Arab Emirates', 1, 'Custmer One\r\nPO Box : 58974\r\nBuilding 870\r\nBusiness Bay\r\nDubai, United Arab Emirates', '', '', '', 'Y', 0, 1, 'Sales Terms and Conditions come here\r\nNext Line', 7190.00, 340.00, 1, '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0.00, 0.00, 'Y', 'sales', 0, 0, 0, 1, 'N', '0', '0000-00-00', '0000-00-00', 2, 0, '2025-12-20 14:16:05', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_order_addition`
--

CREATE TABLE `erp_order_addition` (
  `id` bigint(20) NOT NULL,
  `order_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,2) NOT NULL,
  `particular_vat_percent` decimal(15,3) NOT NULL,
  `particular_vat` decimal(15,3) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_order_addition`
--

INSERT INTO `erp_order_addition` (`id`, `order_id`, `particular`, `particular_value`, `calculated_value`, `particular_vat_percent`, `particular_vat`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(5, 20002, '13', '100', 100.00, 5.000, 5.000, 2, 2, '2025-12-19 11:32:50', '2025-12-19 11:32:50'),
(6, 20003, '1', '100', 100.00, 5.000, 5.000, 2, 2, '2025-12-19 12:08:21', '2025-12-19 12:08:21'),
(9, 20004, '13', '100', 100.00, 5.000, 5.000, 2, 2, '2025-12-19 12:14:05', '2025-12-19 12:14:05'),
(12, 20005, '13', '20', 20.00, 5.000, 1.000, 2, 2, '2025-12-19 03:49:39', '2025-12-19 03:49:39'),
(13, 20006, '13', '20', 20.00, 5.000, 1.000, 2, 2, '2025-12-19 03:57:54', '2025-12-19 03:57:54'),
(14, 20007, '8', '100', 100.00, 5.000, 5.000, 2, 2, '2025-12-20 09:29:09', '2025-12-20 09:29:09'),
(16, 20008, '5', '100', 100.00, 5.000, 5.000, 2, 2, '2025-12-20 01:54:25', '2025-12-20 01:54:25'),
(17, 20009, '5', '100', 100.00, 0.000, 0.000, 2, 2, '2025-12-20 02:16:05', '2025-12-20 02:16:05');

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

--
-- Table structure for table `erp_order_contract_item`
--

CREATE TABLE `erp_order_contract_item` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `brand_class_id` int(11) NOT NULL,
  `unit_id` int(11) NOT NULL,
  `quantity` decimal(15,6) NOT NULL,
  `contract_month` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_order_contract_item`
--

INSERT INTO `erp_order_contract_item` (`id`, `order_id`, `product_id`, `part_number`, `description`, `brand_class_id`, `unit_id`, `quantity`, `contract_month`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(7, 20080, 667, 'IMP001', 'Shipping Charges', 0, 2, 100.000000, '1', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(8, 20080, 666, 'IMP002', 'Duty Charges', 0, 2, 150.000000, '2', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(11, 20079, 667, 'IMP001', 'Shipping Charges', 0, 2, 10.000000, '1', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(12, 20079, 666, 'IMP002', 'Duty Charges', 0, 2, 110.000000, '2', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(13, 20081, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(14, 20065, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(15, 20082, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(16, 20083, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(17, 20084, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(18, 20085, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(21, 20086, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(22, 20087, 686, 'P30004', 'Product 3', 0, 1, 1.000000, '11', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(23, 20088, 686, 'P30004', 'Product 3', 0, 1, 4.000000, '11', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(24, 20088, 687, 'P30005', 'Product 4', 0, 1, 5.000000, '11', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(25, 20089, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(26, 20090, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(27, 20091, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(28, 20092, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(29, 20093, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(30, 20094, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(31, 20095, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(32, 20096, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(33, 20097, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(34, 20098, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(35, 20099, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(36, 20100, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(37, 20101, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(39, 20102, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(40, 20103, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(44, 20105, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(45, 20106, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(46, 20104, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(47, 20107, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(48, 20108, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(50, 20110, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(59, 20113, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(63, 20109, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(73, 20115, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(78, 20114, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(80, 20111, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(81, 20112, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(82, 20116, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(86, 20001, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(94, 20002, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(95, 20003, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(98, 20004, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(101, 20005, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(102, 20006, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(103, 20007, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(105, 20008, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(106, 20009, 0, '', '', 0, 0, 0.000000, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_order_deduction`
--

CREATE TABLE `erp_order_deduction` (
  `id` bigint(20) NOT NULL,
  `order_id` bigint(20) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `particular_vat` decimal(15,3) NOT NULL,
  `particular_vat_percent` decimal(15,3) NOT NULL,
  `calculated_value` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_order_deduction`
--

INSERT INTO `erp_order_deduction` (`id`, `order_id`, `particular`, `particular_value`, `particular_vat`, `particular_vat_percent`, `calculated_value`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(5, 20002, '3', '10', 0.500, 5.000, 10.00, 2, 2, '0000-00-00 00:00:00', '2025-12-19 11:32:50'),
(6, 20003, '3', '50', 2.500, 5.000, 50.00, 2, 2, '0000-00-00 00:00:00', '2025-12-19 12:08:21'),
(9, 20004, '3', '50', 2.500, 5.000, 50.00, 2, 2, '0000-00-00 00:00:00', '2025-12-19 12:14:05'),
(12, 20005, '3', '10', 0.500, 5.000, 10.00, 2, 2, '0000-00-00 00:00:00', '2025-12-19 03:49:39'),
(13, 20006, '3', '10', 0.500, 5.000, 10.00, 2, 2, '0000-00-00 00:00:00', '2025-12-19 03:57:54'),
(14, 20007, '9', '50', 2.500, 5.000, 50.00, 2, 2, '0000-00-00 00:00:00', '2025-12-20 09:29:09'),
(16, 20008, '9', '50', 2.500, 5.000, 50.00, 2, 2, '0000-00-00 00:00:00', '2025-12-20 01:54:25'),
(17, 20009, '9', '50', 0.000, 0.000, 50.00, 2, 2, '0000-00-00 00:00:00', '2025-12-20 02:16:05');

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

--
-- Table structure for table `erp_order_invoice_advance`
--

CREATE TABLE `erp_order_invoice_advance` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `description` text NOT NULL,
  `amount_without_tax` decimal(15,3) NOT NULL,
  `tax_amount` decimal(15,3) NOT NULL,
  `balance_amount_without_tax` decimal(15,3) NOT NULL,
  `balance_tax_amount` decimal(15,3) NOT NULL,
  `advance_amount` decimal(15,6) NOT NULL,
  `balance_amount` decimal(15,6) NOT NULL,
  `invoiced_amount` decimal(15,6) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_order_item`
--

CREATE TABLE `erp_order_item` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `quotes_item_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `brand_class_id` int(11) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_id` int(11) NOT NULL,
  `rate` decimal(15,3) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `addition_percentage` varchar(50) NOT NULL DEFAULT '0',
  `addition_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `deduction_percentage` varchar(50) NOT NULL DEFAULT '0',
  `deduction_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_vat_percentage` decimal(15,2) NOT NULL,
  `tax_vat_amount` decimal(15,2) NOT NULL,
  `net_amount` decimal(15,2) NOT NULL,
  `actual_cost_rate` decimal(15,2) NOT NULL,
  `expected_delivery_date` date NOT NULL,
  `checked` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `alternate_id` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_order_item`
--

INSERT INTO `erp_order_item` (`id`, `order_id`, `quotes_item_id`, `product_id`, `part_number`, `description`, `brand_class_id`, `quantity`, `unit_id`, `rate`, `amount`, `addition_percentage`, `addition_amount`, `deduction_percentage`, `deduction_amount`, `tax_vat_percentage`, `tax_vat_amount`, `net_amount`, `actual_cost_rate`, `expected_delivery_date`, `checked`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`, `alternate_id`) VALUES
(1, 20001, 13, 1, 'A1001', 'A1001 Item', 0, 1.000, 1, 1000.000, 1000.00, '0', 0.00, '0', 0.00, 5.00, 50.00, 1050.00, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(2, 20001, 14, 2, 'A1002', 'A1002 Item', 0, 1000.000, 2, 1000.000, 1000000.00, '', 0.00, '0', 0.00, 5.00, 50000.00, 1050000.00, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(20, 20002, 36, 2, 'A1002', 'A1002 Item', 0, 3.000, 2, 1600.000, 4800.00, '', 0.00, '', 0.00, 5.00, 240.00, 5040.00, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(19, 20002, 35, 1, 'A1001', 'A1001 Item', 0, 1.000, 1, 7250.000, 7250.00, '0', 0.00, '0', 0.00, 5.00, 362.50, 7612.50, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(21, 20003, 37, 1, 'A1001', 'A1001 Item', 0, 2.000, 1, 7250.000, 14500.00, '0', 0.00, '0', 0.00, 5.00, 725.00, 15225.00, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(22, 20003, 38, 2, 'A1002', 'A1002 Item', 0, 2.000, 2, 1520.000, 3040.00, '', 0.00, '', 0.00, 5.00, 152.00, 3192.00, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(28, 20004, 40, 2, 'A1002', 'A1002 Item', 0, 5.000, 2, 780.000, 3900.00, '', 0.00, '', 0.00, 5.00, 195.00, 4095.00, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(27, 20004, 39, 1, 'A1001', 'A1001 Item', 0, 5.000, 1, 1258.000, 6290.00, '0', 0.00, '0', 0.00, 5.00, 314.50, 6604.50, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(31, 20005, 0, 1, 'A1001', 'A1001 Item', 0, 1.000, 1, 1000.000, 1000.00, '0', 0.00, '0', 0.00, 5.00, 50.00, 1050.00, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(32, 20006, 0, 1, 'A1001', 'A1001 Item', 0, 1.000, 1, 1000.000, 1000.00, '0', 0.00, '0', 0.00, 5.00, 50.00, 1050.00, 0.00, '2025-12-22', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(33, 20007, 43, 1, 'A1001', 'A1001 Item', 0, 2.000, 1, 1800.000, 3600.00, '0', 0.00, '0', 0.00, 5.00, 180.00, 3780.00, 0.00, '2025-12-23', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(34, 20007, 44, 2, 'A1002', 'A1002 Item', 0, 2.000, 2, 500.000, 1000.00, '', 0.00, '', 0.00, 5.00, 50.00, 1050.00, 0.00, '2025-12-23', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(38, 20008, 50, 2, 'A1002', 'A1002 Item', 0, 2.000, 2, 1450.000, 2900.00, '', 0.00, '', 0.00, 5.00, 145.00, 3045.00, 0.00, '2025-12-23', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(37, 20008, 49, 1, 'A1001', 'A1001 Item', 0, 2.000, 1, 1300.000, 2600.00, '0', 0.00, '0', 0.00, 5.00, 130.00, 2730.00, 0.00, '2025-12-23', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(39, 20009, 0, 1, 'A1001', 'A1001 Item', 0, 3.000, 1, 1300.000, 3900.00, '0', 0.00, '0', 0.00, 5.00, 195.00, 4095.00, 0.00, '2025-12-23', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(40, 20009, 0, 2, 'A1002', 'A1002 Item', 0, 2.000, 2, 1450.000, 2900.00, '', 0.00, '', 0.00, 5.00, 145.00, 3045.00, 0.00, '2025-12-23', 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '');

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

--
-- Table structure for table `erp_order_item_colour`
--

CREATE TABLE `erp_order_item_colour` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `order_item_id` int(11) NOT NULL,
  `inventory_color_id` int(11) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_order_proforma_invoice`
--

CREATE TABLE `erp_order_proforma_invoice` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `performa_number` varchar(255) NOT NULL,
  `quantity` int(11) NOT NULL,
  `type` int(11) NOT NULL,
  `amount` decimal(15,3) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_pricing_group`
--

CREATE TABLE `erp_pricing_group` (
  `id` int(11) NOT NULL,
  `pricing_group` varchar(255) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `type` enum('S','I') NOT NULL COMMENT 'sales/internal pricing',
  `description` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isBasePricingGroup` enum('Y','N') NOT NULL DEFAULT 'N',
  `default_pricing_group` enum('Y','N') NOT NULL DEFAULT 'N',
  `price_list_file_name` varchar(255) NOT NULL,
  `show_in_price_list` enum('Y','N') NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_pricing_group_product_relation`
--

CREATE TABLE `erp_pricing_group_product_relation` (
  `id` bigint(20) NOT NULL,
  `store_id` bigint(20) NOT NULL,
  `pricing_product_class_id` int(11) NOT NULL COMMENT 'class or brand',
  `price_group_id` bigint(20) NOT NULL,
  `percentage` decimal(5,2) NOT NULL,
  `rate` decimal(15,3) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_production_billofmaterial`
--

CREATE TABLE `erp_production_billofmaterial` (
  `id` int(11) NOT NULL,
  `bm_date` date NOT NULL,
  `file_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL DEFAULT 1.000,
  `unit` varchar(255) NOT NULL,
  `unit_factor` decimal(15,6) NOT NULL,
  `notes` varchar(255) NOT NULL,
  `terms_and_conditions` varchar(255) NOT NULL,
  `remarks` varchar(255) NOT NULL,
  `crm_user_id` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_production_billofmaterial`
--

INSERT INTO `erp_production_billofmaterial` (`id`, `bm_date`, `file_id`, `customer_id`, `product_id`, `part_number`, `description`, `quantity`, `unit`, `unit_factor`, `notes`, `terms_and_conditions`, `remarks`, `crm_user_id`, `isActive`, `created_by`, `created_datetime`, `updated_by`, `updated_datetime`) VALUES
(10001, '2025-12-18', 0, 1001, 7, 'C1001', 'FP C1001', 1.000, '7', 1.000000, '', '', '', 2, 'Y', 2, '2025-12-18 18:21:11', 2, '2025-12-18 06:21:11');

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

--
-- Table structure for table `erp_production_billofmaterial_item`
--

CREATE TABLE `erp_production_billofmaterial_item` (
  `id` int(11) NOT NULL,
  `production_billofmaterial_id` int(11) NOT NULL COMMENT 'foreign key reference to enquiry table',
  `product_id` int(11) NOT NULL COMMENT '(item:the product to be purchased,foreign key reference to inventory item table)',
  `product_name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `unit` int(11) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_production_billofmaterial_item`
--

INSERT INTO `erp_production_billofmaterial_item` (`id`, `production_billofmaterial_id`, `product_id`, `product_name`, `description`, `unit`, `quantity`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 10001, 4, 'B1001', 'B1001 RM', 4, 2.000, 2, 2, '2025-12-18 06:21:11', '2025-12-18 06:21:11'),
(2, 10001, 5, 'B1002', 'B1002 RM', 5, 3.000, 2, 2, '2025-12-18 06:21:11', '2025-12-18 06:21:11');

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

--
-- Table structure for table `erp_production_goods_issue`
--

CREATE TABLE `erp_production_goods_issue` (
  `id` int(11) NOT NULL,
  `crm_user_id` int(11) NOT NULL,
  `production_order_id` int(11) NOT NULL,
  `goods_issue_date` date NOT NULL,
  `file_id` int(11) NOT NULL COMMENT 'foreign key reference to activity table',
  `notes` text NOT NULL,
  `terms_and_conditions` text NOT NULL,
  `remarks` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `product_id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL DEFAULT 1.000,
  `reference` varchar(255) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `connected_file` int(11) NOT NULL,
  `project` int(11) NOT NULL,
  `grand_total` decimal(15,2) NOT NULL,
  `is_goods_issued` enum('Y','N') NOT NULL DEFAULT 'N',
  `status` enum('CM','PE') NOT NULL DEFAULT 'PE',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `warehouse_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_production_goods_issues_return_item`
--

CREATE TABLE `erp_production_goods_issues_return_item` (
  `id` int(11) NOT NULL,
  `production_goods_receipt_id` int(11) NOT NULL,
  `po_item_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `product_name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `return_qty` decimal(15,3) NOT NULL,
  `unit` int(11) NOT NULL,
  `rate` decimal(15,2) NOT NULL,
  `amount` decimal(15,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_production_goods_issue_item`
--

CREATE TABLE `erp_production_goods_issue_item` (
  `id` int(11) NOT NULL,
  `production_goods_issue_id` int(11) NOT NULL COMMENT 'foreign key to material receipt table',
  `po_item_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `product_name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit` varchar(20) NOT NULL,
  `picked_qty` decimal(15,4) NOT NULL,
  `rate` decimal(15,2) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_production_goods_receipt`
--

CREATE TABLE `erp_production_goods_receipt` (
  `id` int(11) NOT NULL,
  `crm_user_id` int(11) NOT NULL,
  `production_order_id` int(11) NOT NULL,
  `goods_receipt_date` date NOT NULL,
  `product_id` int(11) NOT NULL,
  `description` text NOT NULL,
  `product_name` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `file_id` int(11) NOT NULL COMMENT 'foreign key reference to activity table',
  `notes` text NOT NULL,
  `terms_and_conditions` text NOT NULL,
  `remarks` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `reference` varchar(255) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `grand_total` float NOT NULL,
  `variants` decimal(15,2) NOT NULL,
  `is_updated_store` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_production_goods_receipt_addition`
--

CREATE TABLE `erp_production_goods_receipt_addition` (
  `id` int(11) NOT NULL,
  `production_goods_receipt_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_production_goods_receipt_deduction`
--

CREATE TABLE `erp_production_goods_receipt_deduction` (
  `id` int(11) NOT NULL,
  `production_goods_receipt_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_production_goods_receipt_item`
--

CREATE TABLE `erp_production_goods_receipt_item` (
  `id` int(11) NOT NULL,
  `production_goods_receipt_id` int(11) NOT NULL COMMENT 'foreign key reference to enquiry table',
  `po_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL COMMENT '(item:the product to be purchased,foreign key reference to inventory item table)',
  `product_name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `unit` varchar(255) NOT NULL,
  `rate` decimal(15,2) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `warehouse` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_production_order`
--

CREATE TABLE `erp_production_order` (
  `id` int(11) NOT NULL,
  `billofmaterial_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL DEFAULT 1.000,
  `unit` int(11) NOT NULL,
  `file_id` int(11) NOT NULL COMMENT 'foreign key reference to activity table',
  `productionorder_date` date NOT NULL,
  `end_date` date NOT NULL,
  `customer_id` int(11) NOT NULL,
  `variance` decimal(15,3) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `notes` text NOT NULL,
  `terms_and_conditions` text NOT NULL,
  `remarks` text NOT NULL,
  `grand_total` decimal(12,2) NOT NULL,
  `reference` varchar(255) NOT NULL,
  `project` int(11) NOT NULL,
  `connected_file` int(11) NOT NULL,
  `goods_issue_status` enum('C','P') NOT NULL DEFAULT 'P',
  `crm_user_id` int(11) NOT NULL,
  `po_row` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `tolerence` decimal(15,6) NOT NULL,
  `goods_issue_total_rate` decimal(15,6) NOT NULL,
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `have_service_item` enum('Y','N') NOT NULL DEFAULT 'N',
  `isApproved` enum('Y','N') NOT NULL DEFAULT 'N',
  `service_order_id` int(11) NOT NULL,
  `goods_issue_id` int(11) NOT NULL,
  `goods_receipt_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_production_order`
--

INSERT INTO `erp_production_order` (`id`, `billofmaterial_id`, `product_id`, `description`, `quantity`, `unit`, `file_id`, `productionorder_date`, `end_date`, `customer_id`, `variance`, `vendor_id`, `notes`, `terms_and_conditions`, `remarks`, `grand_total`, `reference`, `project`, `connected_file`, `goods_issue_status`, `crm_user_id`, `po_row`, `isActive`, `created_by`, `created_datetime`, `updated_by`, `updated_datetime`, `tolerence`, `goods_issue_total_rate`, `posted`, `have_service_item`, `isApproved`, `service_order_id`, `goods_issue_id`, `goods_receipt_id`) VALUES
(90001, 0, 1, 'A1001 Item', 1.000, 1, 1034, '2025-12-22', '2025-12-22', 0, 0.000, 0, '', '', '', 36.89, '', 0, 0, 'P', 1, 0, 'Y', 2, '2025-12-22 14:51:56', 2, '2025-12-22 03:41:38', 0.000000, 0.000000, 'N', 'N', 'Y', 0, 45003, 35003),
(90002, 0, 5, 'B1002 RM', 1.000, 5, 1043, '2025-12-22', '2025-12-22', 0, 10.000, 0, '', '', '', 786.44, '111', 0, 0, 'P', 2, 0, 'Y', 2, '2025-12-22 15:42:22', 2, '2025-12-22 03:42:16', 0.000000, 0.000000, 'N', 'N', 'Y', 0, 45004, 35004);

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

--
-- Table structure for table `erp_production_order_item`
--

CREATE TABLE `erp_production_order_item` (
  `id` int(11) NOT NULL,
  `production_order_id` int(11) NOT NULL COMMENT 'foreign key reference to enquiry table',
  `bom_item_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL COMMENT '(item:the product to be purchased,foreign key reference to inventory item table)',
  `product_name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `unit` int(11) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `bom_qty` decimal(15,3) NOT NULL,
  `rate` decimal(15,3) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `converison_qty` int(13) NOT NULL,
  `goods_issue_cost_rate` decimal(15,6) NOT NULL,
  `wastage_qty` decimal(15,6) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_production_order_item`
--

INSERT INTO `erp_production_order_item` (`id`, `production_order_id`, `bom_item_id`, `product_id`, `product_name`, `description`, `unit`, `quantity`, `bom_qty`, `rate`, `amount`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`, `converison_qty`, `goods_issue_cost_rate`, `wastage_qty`) VALUES
(1, 90001, 0, 2, 'A1002', 'A1002 Item', 2, 1.000, 0.000, 26.270, 26.27, 1, 2, '2025-12-19 04:42:42', '2025-12-22 03:41:38', 0, 0.000000, 0.000000),
(2, 90001, 0, 4, 'B1001', 'B1001 RM', 4, 1.000, 0.000, 10.620, 10.62, 2, 2, '2025-12-22 03:31:09', '2025-12-22 03:41:38', 0, 0.000000, 0.000000),
(3, 90002, 0, 1, 'A1001', 'A1001 Item', 1, 1.000, 0.000, 786.440, 786.44, 2, 2, '2025-12-22 03:42:16', '2025-12-22 03:42:16', 0, 0.000000, 0.000000);

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

--
-- Table structure for table `erp_product_class`
--

CREATE TABLE `erp_product_class` (
  `id` int(11) NOT NULL,
  `product_class` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `is_default` enum('Y','N') NOT NULL DEFAULT 'N',
  `restricted` enum('Y','N') NOT NULL DEFAULT 'N',
  `type` enum('FP','SE') NOT NULL DEFAULT 'FP',
  `auto_generated_no` varchar(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_product_cost_new`
--

CREATE TABLE `erp_product_cost_new` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `part_number` varchar(100) NOT NULL,
  `description` text NOT NULL,
  `cost_in_erp` decimal(15,2) NOT NULL,
  `actual_cost` decimal(15,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_product_location_change_rackbin`
--

CREATE TABLE `erp_product_location_change_rackbin` (
  `id` int(11) NOT NULL,
  `old_pdt_location_id` int(11) NOT NULL COMMENT 'Old Product Location Primary Key',
  `product_location_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` decimal(14,2) NOT NULL DEFAULT 0.00,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=FIXED;

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

--
-- Table structure for table `erp_product_location_details`
--

CREATE TABLE `erp_product_location_details` (
  `id` int(11) NOT NULL,
  `header_id` int(11) NOT NULL,
  `header_item_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `bill_of_entry` varchar(255) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `rack_id` int(11) NOT NULL,
  `bin_id` int(11) NOT NULL,
  `batch_no` varchar(255) NOT NULL,
  `serial_no` varchar(255) NOT NULL,
  `manufacturing_date` date NOT NULL,
  `expiry_date` date NOT NULL,
  `quantity` decimal(15,3) NOT NULL COMMENT 'sale from this qty',
  `transaction_type` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `created_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_project`
--

CREATE TABLE `erp_project` (
  `id` int(11) NOT NULL,
  `project_estimation_id` int(11) NOT NULL,
  `project_proposal_id` int(11) NOT NULL,
  `project_name` varchar(500) NOT NULL,
  `location` varchar(500) NOT NULL,
  `project_date` date NOT NULL,
  `manager_name` varchar(50) NOT NULL,
  `notes` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `engineer_notes` text NOT NULL,
  `project_manager_notes` text NOT NULL,
  `project_type` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `erp_project_external_company`
--

CREATE TABLE `erp_project_external_company` (
  `id` int(11) NOT NULL,
  `company_name` varchar(500) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_project_external_labour`
--

CREATE TABLE `erp_project_external_labour` (
  `id` int(11) NOT NULL,
  `company_name` varchar(500) NOT NULL,
  `employee_name` varchar(500) NOT NULL,
  `designation` varchar(500) NOT NULL,
  `emirated_id` varchar(500) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_prospects_activity_master`
--

CREATE TABLE `erp_prospects_activity_master` (
  `id` int(11) NOT NULL,
  `activity` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `activity_type` enum('CALLS','TASKS','MEETINGS','VISITS','NOTES','OTHERS') NOT NULL DEFAULT 'OTHERS',
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `colour` varchar(100) NOT NULL,
  `f_colour` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_purchase_analysis_items`
--

CREATE TABLE `erp_purchase_analysis_items` (
  `id` int(11) NOT NULL,
  `enq_id` int(11) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `stock_item_id` int(11) NOT NULL COMMENT '(item:the product to be purchased,foreign key reference to inventory item table)',
  `stock_item_quantity` decimal(15,3) NOT NULL,
  `stock_available` decimal(15,3) NOT NULL,
  `stock_rate` decimal(15,3) NOT NULL,
  `description` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_purchase_analysis_items`
--

INSERT INTO `erp_purchase_analysis_items` (`id`, `enq_id`, `vendor_id`, `stock_item_id`, `stock_item_quantity`, `stock_available`, `stock_rate`, `description`, `created_by`, `created_datetime`) VALUES
(1, 85002, 2001, 4, 100.000, 100.000, 21.000, 'B1001 RM', 2, '2025-12-19 10:42:49'),
(2, 85002, 2001, 5, 100.000, 100.000, 17.000, 'B1002 RM', 2, '2025-12-19 10:42:49'),
(3, 85002, 2001, 6, 100.000, 100.000, 13.500, 'B1003 RM', 2, '2025-12-19 10:42:49'),
(4, 85002, 2002, 4, 100.000, 100.000, 18.000, 'B1001 RM', 2, '2025-12-19 09:06:12'),
(5, 85002, 2002, 5, 100.000, 100.000, 12.000, 'B1002 RM', 2, '2025-12-19 09:06:12'),
(6, 85002, 2002, 6, 100.000, 100.000, 9.500, 'B1003 RM', 2, '2025-12-19 09:06:12'),
(7, 85004, 2003, 1, 4.000, 4.000, 150.000, 'A1001 Item', 1, '2025-12-19 02:22:05'),
(8, 85004, 2003, 4, 1000.000, 1000.000, 10.000, 'B1001 RM', 1, '2025-12-19 02:22:05'),
(9, 85006, 2001, 9, 10.000, 10.000, 10.000, 'Stock Item', 2, '2025-12-19 02:55:33'),
(10, 85006, 2001, 10, 10.000, 10.000, 12.000, 'Raw Material', 2, '2025-12-19 02:55:33'),
(11, 85006, 2002, 9, 10.000, 10.000, 8.000, 'Stock Item', 2, '2025-12-19 02:55:43'),
(12, 85006, 2002, 10, 10.000, 10.000, 10.000, 'Raw Material', 2, '2025-12-19 02:55:43'),
(13, 85008, 2001, 1, 3333.000, 3333.000, 1258.000, 'A1001 Item', 2, '2025-12-23 10:29:05'),
(14, 85008, 2001, 5, 2222.000, 2222.000, 6584.000, 'B1002 RM', 2, '2025-12-23 10:29:05'),
(15, 85008, 2001, 4, 11111.000, 11111.000, 4589.000, 'B1001 RM', 2, '2025-12-23 10:29:05');

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

--
-- Table structure for table `erp_purchase_movement_analysis`
--

CREATE TABLE `erp_purchase_movement_analysis` (
  `id` int(11) NOT NULL,
  `analysis_date` date NOT NULL,
  `generic_ids` varchar(500) NOT NULL,
  `approved_by` int(11) NOT NULL,
  `approved_date` datetime NOT NULL,
  `is_converted` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_purchase_movement_analysis_details`
--

CREATE TABLE `erp_purchase_movement_analysis_details` (
  `id` int(11) NOT NULL,
  `analysis_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `unit_id` int(11) NOT NULL,
  `current_stock` decimal(10,2) NOT NULL,
  `approval_current_stock` decimal(10,2) NOT NULL,
  `days_365` decimal(10,2) NOT NULL,
  `days_180` decimal(10,2) NOT NULL,
  `days_90` decimal(10,2) NOT NULL,
  `days_30` decimal(10,2) NOT NULL,
  `upcoming_shipment_qty` decimal(10,2) NOT NULL,
  `average_movement` decimal(10,2) NOT NULL,
  `expected_2_months_movement` decimal(10,2) NOT NULL,
  `expected_closing_stock_after_2_months` decimal(10,2) NOT NULL,
  `proposal_qty` decimal(10,2) NOT NULL,
  `remarks` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_purchasinginvoice`
--

CREATE TABLE `erp_purchasinginvoice` (
  `id` int(11) NOT NULL,
  `file_id` int(11) NOT NULL COMMENT 'foreign key to purchase order table',
  `crm_user_id` int(11) NOT NULL,
  `po_id` int(11) NOT NULL COMMENT 'foreign key to company table',
  `ticket_id` int(11) NOT NULL,
  `invoice_no` varchar(255) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL,
  `contract_id` int(11) NOT NULL,
  `project_classification_id` int(11) NOT NULL,
  `vendor_name` varchar(255) NOT NULL,
  `dly_no` varchar(255) NOT NULL,
  `dly_date` date NOT NULL,
  `shipped_by` varchar(255) NOT NULL,
  `awb_no` varchar(255) NOT NULL,
  `materialreceived` varchar(255) NOT NULL COMMENT 'material receipt number(foreign key to material receipt table)',
  `tracking_no` int(11) NOT NULL,
  `others` varchar(255) NOT NULL,
  `storekeeper_notes` text NOT NULL,
  `qc_check` enum('Y','N') NOT NULL,
  `qc_check_notes` text NOT NULL,
  `qc_check_date` date NOT NULL,
  `mtl_receipt_date` date NOT NULL,
  `invoice_date` date NOT NULL,
  `payment_date` date NOT NULL,
  `notes` text NOT NULL,
  `terms_and_conditions` text NOT NULL,
  `remarks` text NOT NULL,
  `grand_total` decimal(15,4) NOT NULL,
  `tax_type` int(11) NOT NULL COMMENT '1- Vat',
  `invoice_type` int(11) NOT NULL,
  `total_tax_amount` decimal(15,4) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `qc_checked_employee` int(11) NOT NULL,
  `qc_checked_employee_name` varchar(255) NOT NULL,
  `currency` int(11) NOT NULL,
  `exchange_rate` float NOT NULL,
  `paid` enum('Y','N') NOT NULL DEFAULT 'N',
  `payment_terms` varchar(255) NOT NULL,
  `is_direct_invoice` enum('Y','N') NOT NULL DEFAULT 'N',
  `purchase_invoice` enum('MR','QC','DP','LC') NOT NULL COMMENT 'MR->Material Receipt,QC->Quality check,DP-Direct Purchase,LC->Landing Cost',
  `invoice_notification` varchar(500) NOT NULL,
  `total_discount` decimal(15,6) NOT NULL,
  `round_off_amount` decimal(15,6) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `purchase_invoice_id` text NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `lock_status` enum('Y','N') NOT NULL DEFAULT 'N' COMMENT '	y= locked, N =unlocked	',
  `lc_calulation` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_purchasinginvoice`
--

INSERT INTO `erp_purchasinginvoice` (`id`, `file_id`, `crm_user_id`, `po_id`, `ticket_id`, `invoice_no`, `vendor_id`, `project_id`, `contract_id`, `project_classification_id`, `vendor_name`, `dly_no`, `dly_date`, `shipped_by`, `awb_no`, `materialreceived`, `tracking_no`, `others`, `storekeeper_notes`, `qc_check`, `qc_check_notes`, `qc_check_date`, `mtl_receipt_date`, `invoice_date`, `payment_date`, `notes`, `terms_and_conditions`, `remarks`, `grand_total`, `tax_type`, `invoice_type`, `total_tax_amount`, `isActive`, `qc_checked_employee`, `qc_checked_employee_name`, `currency`, `exchange_rate`, `paid`, `payment_terms`, `is_direct_invoice`, `purchase_invoice`, `invoice_notification`, `total_discount`, `round_off_amount`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`, `posted`, `purchase_invoice_id`, `warehouse_id`, `lock_status`, `lc_calulation`) VALUES
(70001, 1006, 2, 60001, 0, 'R1', 2001, 0, 0, 0, 'Supplier One', '', '0000-00-00', '', '', '65001', 0, '', '', 'Y', '', '0000-00-00', '0000-00-00', '2025-12-18', '2025-12-18', '', '', '', 26250.0000, 0, 4, 1250.0000, 'Y', 0, '', 1, 1, 'N', '2', 'N', 'MR', '', 0.000000, 0.000000, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'N', '', 1, 'Y', 'N'),
(70002, 1007, 2, 60002, 0, '11', 2001, 0, 0, 0, 'Supplier One', '', '0000-00-00', '', '', '65002', 0, '', '', 'Y', '', '0000-00-00', '0000-00-00', '2025-12-19', '2025-12-19', '', '', '', 84.0000, 0, 4, 2.0000, 'Y', 0, '', 1, 1, 'N', '2', 'N', 'MR', '', 0.000000, 0.000000, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'N', '', 1, 'Y', 'N'),
(70018, 1042, 2, 60012, 0, '12345', 2001, 0, 0, 0, 'Supplier One', '', '0000-00-00', '', '', '65012', 0, '', '', 'Y', '', '0000-00-00', '0000-00-00', '2025-12-22', '2025-12-22', '', '', '', 136.5000, 0, 4, 6.5000, 'Y', 0, '', 1, 1, 'N', '2', 'N', 'MR', '', 0.000000, 0.000000, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'N', '', 1, 'N', 'N'),
(70017, 1029, 2, 60009, 0, 'INV121', 2001, 0, 0, 0, 'Supplier One', '', '0000-00-00', '', '', '65010', 0, '', '', 'Y', '', '0000-00-00', '0000-00-00', '2025-12-19', '2025-12-19', '', '', '', 840.0000, 0, 4, 40.0000, 'Y', 0, '', 1, 1, 'N', '2', 'N', 'MR', '', 0.000000, 0.000000, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'N', '', 1, 'N', 'N'),
(70016, 1026, 2, 60008, 0, 'R1', 2001, 0, 0, 0, 'Supplier One', '', '0000-00-00', '', '', '65009', 0, '', '', 'Y', '', '0000-00-00', '0000-00-00', '2025-12-19', '2025-12-19', '', 'Purchase Terms and Conditions come here only\r\n', '', 420.0000, 0, 4, 20.0000, 'Y', 0, '', 1, 1, 'N', '2', 'N', 'MR', '', 0.000000, 0.000000, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Y', '', 1, 'Y', 'N'),
(70015, 1021, 2, 60007, 0, '324', 2003, 0, 0, 0, 'Test Supplier ', '', '0000-00-00', '', '', '65008', 0, '', '', 'Y', '', '0000-00-00', '0000-00-00', '2025-12-19', '2025-12-19', '', '', '', 11235.0000, 0, 4, 535.0000, 'Y', 0, '', 1, 1, 'N', '2', 'N', 'MR', '', 0.000000, 0.000000, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Y', '', 1, 'Y', 'N'),
(70014, 1014, 2, 60004, 0, 'R1', 2001, 0, 0, 0, 'Supplier One', '', '0000-00-00', '', '', '65006', 0, '', '', 'Y', '', '0000-00-00', '0000-00-00', '2025-12-19', '2025-12-19', '', 'Purchase Terms and Conditions come here only\r\nSecond LIne\r\n', '', 119910.0000, 0, 4, 5710.0000, 'Y', 0, '', 1, 1, 'N', '2', 'N', 'MR', '', 0.000000, 0.000000, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'N', '', 1, 'Y', 'N'),
(70013, 1015, 2, 60005, 0, '1', 2001, 0, 0, 0, 'Supplier One', '', '0000-00-00', '', '', '65005', 0, '', '', 'Y', '', '0000-00-00', '0000-00-00', '2025-12-19', '2025-12-19', '', '', '', 1774.5000, 0, 4, 84.5000, 'Y', 0, '', 1, 1, 'N', '2', 'N', 'MR', '', 0.000000, 0.000000, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'N', '', 1, 'N', 'N');

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

--
-- Table structure for table `erp_purchasinginvoice_item`
--

CREATE TABLE `erp_purchasinginvoice_item` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `purchasing_invoice_id` int(11) NOT NULL,
  `description` text NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit` varchar(255) NOT NULL,
  `rate` decimal(15,6) NOT NULL,
  `amount` decimal(15,4) NOT NULL,
  `addition_percentage` varchar(50) NOT NULL DEFAULT '0',
  `addition_amount` decimal(15,4) NOT NULL DEFAULT 0.0000,
  `deduction_percentage` varchar(50) NOT NULL DEFAULT '0',
  `deduction_amount` decimal(15,4) NOT NULL DEFAULT 0.0000,
  `net_amount` decimal(15,4) NOT NULL,
  `tax_percentage` decimal(15,2) NOT NULL,
  `tax_amount` decimal(15,4) NOT NULL,
  `order_item_id` int(11) NOT NULL,
  `mr_id` int(11) NOT NULL,
  `mr_item_id` int(11) NOT NULL,
  `warehouse` int(11) NOT NULL,
  `fin_account_id` int(11) NOT NULL,
  `fin_subledger` int(11) NOT NULL,
  `previous_quantity` decimal(10,0) NOT NULL,
  `previous_cost_rate` decimal(15,6) NOT NULL,
  `foc_checked` tinyint(4) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_purchasinginvoice_item`
--

INSERT INTO `erp_purchasinginvoice_item` (`id`, `product_id`, `purchasing_invoice_id`, `description`, `quantity`, `unit`, `rate`, `amount`, `addition_percentage`, `addition_amount`, `deduction_percentage`, `deduction_amount`, `net_amount`, `tax_percentage`, `tax_amount`, `order_item_id`, `mr_id`, `mr_item_id`, `warehouse`, `fin_account_id`, `fin_subledger`, `previous_quantity`, `previous_cost_rate`, `foc_checked`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 1, 70001, 'A1001 Item', 100.000, '1', 15.000000, 1500.0000, '0', 0.0000, '0', 0.0000, 1575.0000, 5.00, 75.0000, 1, 65001, 1, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(2, 2, 70001, 'A1002 Item', 100.000, '2', 25.000000, 2500.0000, '0', 0.0000, '0', 0.0000, 2625.0000, 5.00, 125.0000, 2, 65001, 2, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(3, 3, 70001, 'A1003 Item', 100.000, '3', 35.000000, 3500.0000, '0', 0.0000, '0', 0.0000, 3675.0000, 5.00, 175.0000, 3, 65001, 3, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(4, 4, 70001, 'B1001 RM', 500.000, '4', 10.000000, 5000.0000, '0', 0.0000, '0', 0.0000, 5250.0000, 5.00, 250.0000, 4, 65001, 4, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(5, 5, 70001, 'B1002 RM', 500.000, '5', 12.000000, 6000.0000, '0', 0.0000, '0', 0.0000, 6300.0000, 5.00, 300.0000, 5, 65001, 5, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(6, 6, 70001, 'B1003 RM', 500.000, '6', 13.000000, 6500.0000, '0', 0.0000, '0', 0.0000, 6825.0000, 5.00, 325.0000, 6, 65001, 6, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(7, 1, 70002, 'A1001 Item', 1.000, '1', 15.000000, 15.0000, '0', 0.0000, '0', 0.0000, 15.7500, 5.00, 0.7500, 9, 65002, 7, 0, 0, 0, 99, 15.750000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(8, 2, 70002, 'A1002 Item', 1.000, '2', 25.000000, 25.0000, '0', 0.0000, '0', 0.0000, 26.2500, 5.00, 1.2500, 10, 65002, 8, 0, 0, 0, 1100, 26.250000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(22, 4, 70015, 'B1001 RM', 1000.000, '4', 10.000000, 10000.0000, '0', 0.0000, '0', 0.0000, 10500.0000, 5.00, 500.0000, 35, 65008, 24, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(21, 1, 70015, 'A1001 Item', 4.000, '1', 150.000000, 600.0000, '0', 0.0000, '0', 0.0000, 630.0000, 5.00, 30.0000, 34, 65008, 23, 0, 0, 0, 93, 859.183118, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(20, 6, 70014, 'B1003 RM', 100.000, '6', 13.500000, 1350.0000, '0', 0.0000, '0', 0.0000, 1417.5000, 5.00, 67.5000, 30, 65006, 19, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(19, 5, 70014, 'B1002 RM', 100.000, '5', 17.000000, 1700.0000, '0', 0.0000, '0', 0.0000, 1785.0000, 5.00, 85.0000, 29, 65006, 18, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(18, 4, 70014, 'B1001 RM', 100.000, '4', 1111.000000, 111100.0000, '0', 0.0000, '0', 0.0000, 116655.0000, 5.00, 5555.0000, 28, 65006, 17, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(17, 1, 70013, 'A1001 Item', 1.000, '1', 1500.000000, 1500.0000, '0', 0.0000, '0', 0.0000, 1575.0000, 5.00, 75.0000, 27, 65005, 13, 0, 0, 0, 100, 850.211376, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(23, 9, 70016, 'Stock Item', 10.000, '9', 10.000000, 100.0000, '0', 0.0000, '0', 0.0000, 105.0000, 5.00, 5.0000, 36, 65009, 25, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(24, 10, 70016, 'Raw Material', 10.000, '10', 12.000000, 120.0000, '0', 0.0000, '0', 0.0000, 126.0000, 5.00, 6.0000, 37, 65009, 26, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(25, 11, 70017, 'Service Item', 1.000, '11', 800.000000, 800.0000, '0', 0.0000, '0', 0.0000, 840.0000, 5.00, 40.0000, 38, 65010, 27, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(26, 1, 70018, 'A1001 Item', 3.000, '1', 10.000000, 30.0000, '0', 0.0000, '0', 0.0000, 31.5000, 5.00, 1.5000, 41, 65012, 29, 0, 0, 0, 88, 812.888669, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(27, 5, 70018, 'B1002 RM', 2.000, '5', 30.000000, 60.0000, '0', 0.0000, '0', 0.0000, 63.0000, 5.00, 3.0000, 42, 65012, 30, 0, 0, 0, 0, 0.000000, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(28, 4, 70018, 'B1001 RM', 1.000, '4', 40.000000, 40.0000, '0', 0.0000, '0', 0.0000, 42.0000, 5.00, 2.0000, 43, 65012, 31, 0, 0, 0, 990, 10.590052, 0, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_purchasing_debit_note`
--

CREATE TABLE `erp_purchasing_debit_note` (
  `id` int(11) NOT NULL,
  `file_id` int(11) NOT NULL,
  `crm_user_id` int(11) NOT NULL,
  `purchasing_invoice_id` int(11) NOT NULL,
  `debit_note_no` varchar(255) NOT NULL,
  `vendor_id` bigint(20) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `exchange_rate` float NOT NULL,
  `reference` varchar(255) NOT NULL,
  `currency` varchar(255) NOT NULL,
  `debited_amount` decimal(15,4) NOT NULL,
  `debited_date` date NOT NULL,
  `reason` text NOT NULL,
  `notes` text NOT NULL,
  `terms_and_conditions` text NOT NULL,
  `remarks` text NOT NULL,
  `total_tax_amount` decimal(15,4) NOT NULL,
  `tax_type` int(11) NOT NULL COMMENT '1-VAT',
  `invoice_type` int(11) NOT NULL,
  `Isdebitnote_or_goodsreturn` enum('Y','N') NOT NULL,
  `debitnote_notification` varchar(500) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `is_goods_returned` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `warehouse_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_purchasing_debit_note`
--

INSERT INTO `erp_purchasing_debit_note` (`id`, `file_id`, `crm_user_id`, `purchasing_invoice_id`, `debit_note_no`, `vendor_id`, `contact_id`, `exchange_rate`, `reference`, `currency`, `debited_amount`, `debited_date`, `reason`, `notes`, `terms_and_conditions`, `remarks`, `total_tax_amount`, `tax_type`, `invoice_type`, `Isdebitnote_or_goodsreturn`, `debitnote_notification`, `isActive`, `is_goods_returned`, `created_by`, `created_datetime`, `updated_by`, `updated_datetime`, `posted`, `warehouse_id`) VALUES
(80001, 1021, 2, 70015, 'PL800077', 2003, 0, 1, '', '1', 420.0000, '2025-12-19', 'test\r\n', '', '', '', 20.0000, 1, 4, 'Y', '', 'Y', 'Y', 2, '2025-12-19 17:00:09', 0, '0000-00-00 00:00:00', 'Y', 1),
(80002, 1026, 1, 70016, 'PL800078', 2001, 0, 1, '', '1', 46.2000, '2025-12-23', 'ff', '', '', '', 2.2000, 1, 4, 'Y', '', 'Y', 'N', 1, '2025-12-23 15:18:56', 0, '0000-00-00 00:00:00', 'N', 1);

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

--
