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

START TRANSACTION;



--
-- Database: `ssg`
--

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

--
-- Table structure for table `account_ledger`
--

CREATE TABLE IF NOT EXISTS `account_ledger` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `ledger_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ledger_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `group_id` bigint UNSIGNED NOT NULL,
  `ledgerable_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ledgerable_id` bigint UNSIGNED DEFAULT NULL,
  `opening_balance` decimal(15,2) NOT NULL DEFAULT '0.00',
  `opening_balance_type` enum('Dr','Cr') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Dr',
  `current_balance` decimal(15,2) NOT NULL DEFAULT '0.00',
  `current_balance_type` enum('Dr','Cr') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Dr',
  `alias` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state_id` bigint UNSIGNED DEFAULT NULL,
  `country` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'India',
  `pincode` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_person` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit_limit` decimal(15,2) NOT NULL DEFAULT '0.00',
  `credit_days` int NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `account_ledger_ledger_code_unique` (`ledger_code`),
  KEY `account_ledger_ledger_code_is_active_index` (`ledger_code`,`is_active`),
  KEY `account_ledger_group_id_is_active_index` (`group_id`,`is_active`),
  KEY `account_ledger_ledgerable_type_ledgerable_id_index` (`ledgerable_type`,`ledgerable_id`),
  KEY `account_ledger_ledger_name_index` (`ledger_name`),
  KEY `account_ledger_company_id_foreign` (`company_id`),
  KEY `account_ledger_state_id_foreign` (`state_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `account_ledger_group`
--

CREATE TABLE IF NOT EXISTS `account_ledger_group` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `group_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `group_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_group_id` bigint UNSIGNED DEFAULT NULL,
  `sort_order` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `account_ledger_group_group_code_unique` (`group_code`),
  KEY `account_ledger_group_parent_group_id_foreign` (`parent_group_id`),
  KEY `account_ledger_group_group_code_index` (`group_code`),
  KEY `account_ledger_group_sort_order_index` (`sort_order`),
  KEY `account_ledger_group_company_id_foreign` (`company_id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `account_ledger_group`
--

INSERT INTO `account_ledger_group` (`id`, `group_code`, `group_name`, `parent_group_id`, `sort_order`, `created_at`, `updated_at`, `company_id`) VALUES
(1, 'SUNDRY_CREDITORS', 'Sundry Creditors', NULL, 1, '2025-07-23 05:26:10', '2025-07-23 05:26:10', 1),
(2, 'SUNDRY_DEBTORS', 'Sundry Debtors', NULL, 2, '2025-07-23 05:26:10', '2025-07-23 05:26:10', 1),
(3, 'CASH', 'Cash/Bank', NULL, 3, '2025-07-23 05:26:10', '2025-07-23 05:26:10', 1),
(4, 'DUTIES_TAXES', 'Duties & Taxes', NULL, 4, '2025-07-23 05:26:10', '2025-07-23 05:26:10', 1),
(5, 'EXPENSES', 'Expenses', NULL, 5, '2025-07-23 05:26:10', '2025-07-23 05:26:10', 1),
(6, 'SALES', 'Sales', NULL, 6, '2025-07-23 05:26:10', '2025-07-23 05:26:10', 1),
(7, 'PURCHASE', 'Purchase', NULL, 7, '2025-07-23 05:26:10', '2025-07-23 05:26:10', 1);

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

--
-- Table structure for table `account_transaction`
--

CREATE TABLE IF NOT EXISTS `account_transaction` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `transaction_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `transaction_date` date NOT NULL,
  `transaction_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `voucher_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reference_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_date` date DEFAULT NULL,
  `transactionable_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transactionable_id` bigint UNSIGNED DEFAULT NULL,
  `narration` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `total_amount` decimal(15,2) NOT NULL,
  `currency` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INR',
  `exchange_rate` decimal(10,4) NOT NULL DEFAULT '1.0000',
  `status` enum('Draft','Posted','Cancelled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Draft',
  `created_by` bigint UNSIGNED NOT NULL,
  `approved_by` bigint UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `account_transaction_transaction_number_unique` (`transaction_number`),
  KEY `account_transaction_created_by_foreign` (`created_by`),
  KEY `account_transaction_approved_by_foreign` (`approved_by`),
  KEY `account_transaction_transaction_date_status_index` (`transaction_date`,`status`),
  KEY `account_transaction_transaction_type_voucher_type_index` (`transaction_type`,`voucher_type`),
  KEY `acct_trans_poly_idx` (`transactionable_type`,`transactionable_id`),
  KEY `account_transaction_transaction_number_index` (`transaction_number`),
  KEY `account_transaction_company_id_foreign` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `account_transaction_line`
--

CREATE TABLE IF NOT EXISTS `account_transaction_line` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `transaction_id` bigint UNSIGNED NOT NULL,
  `ledger_id` bigint UNSIGNED NOT NULL,
  `line_number` int NOT NULL DEFAULT '1',
  `debit_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
  `credit_amount` decimal(15,2) NOT NULL DEFAULT '0.00',
  `particulars` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `reference_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_date` date DEFAULT NULL,
  `quantity` decimal(12,3) DEFAULT NULL,
  `unit` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rate` decimal(12,2) DEFAULT NULL,
  `dimensions` json DEFAULT NULL,
  `line_narration` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `account_transaction_line_transaction_id_line_number_index` (`transaction_id`,`line_number`),
  KEY `account_transaction_line_ledger_id_index` (`ledger_id`),
  KEY `account_transaction_line_debit_amount_credit_amount_index` (`debit_amount`,`credit_amount`),
  KEY `account_transaction_line_company_id_foreign` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `address`
--

CREATE TABLE IF NOT EXISTS `address` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `party_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `party_id` bigint UNSIGNED NOT NULL,
  `address_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'REGISTERED',
  `contact_person` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_line1` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_line2` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state_id` bigint UNSIGNED DEFAULT NULL,
  `pincode` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'India',
  `phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `address_title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `landmark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitude` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `longitude` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_primary_address` tinyint(1) NOT NULL DEFAULT '0',
  `is_shipping_address` tinyint(1) NOT NULL DEFAULT '0',
  `territory` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_notes` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_category` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IN-STATE',
  `tax_applicable` json DEFAULT NULL,
  `is_validated` tinyint(1) NOT NULL DEFAULT '0',
  `validated_at` timestamp NULL DEFAULT NULL,
  `validated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_instructions` json DEFAULT NULL,
  `preferred_delivery_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `requires_appointment` tinyint(1) NOT NULL DEFAULT '0',
  `access_instructions` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `address_party_type_party_id_index` (`party_type`,`party_id`),
  KEY `address_address_type_index` (`address_type`),
  KEY `address_is_default_index` (`is_default`),
  KEY `address_state_id_foreign` (`state_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `attribute_masters`
--

CREATE TABLE IF NOT EXISTS `attribute_masters` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `attribute_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attribute_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attribute_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_required` tinyint NOT NULL DEFAULT '0',
  `sort_order` int NOT NULL DEFAULT '0',
  `is_active` tinyint NOT NULL DEFAULT '1',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_deleted` tinyint NOT NULL DEFAULT '0',
  `deleted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `attribute_masters_attribute_code_unique` (`attribute_code`),
  KEY `attribute_masters_attribute_code_index` (`attribute_code`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attribute_masters`
--

INSERT INTO `attribute_masters` (`id`, `attribute_code`, `attribute_name`, `attribute_type`, `is_required`, `sort_order`, `is_active`, `created_by`, `is_deleted`, `deleted_at`, `created_at`) VALUES
(1, 'BRAND', 'Brand', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 12:54:44', '2025-09-25 07:24:44'),
(2, 'CHANNELS', 'Channels', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 12:55:24', '2025-09-25 07:25:24'),
(3, 'COLOR', 'Color', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 12:56:00', '2025-09-25 07:26:00'),
(4, 'CONTROL TYPE', 'Control Type', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 12:56:56', '2025-09-25 07:26:56'),
(5, 'LENGTH', 'Length', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 12:57:58', '2025-09-25 07:27:58'),
(6, 'SIZE', 'Size', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 12:58:26', '2025-09-25 07:28:26'),
(12, 'BRACKET_TYPE', 'Bracket Type', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-26 08:18:03', '2025-09-26 02:48:03'),
(8, 'MATERIAL', 'Material', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 13:27:42', '2025-09-25 07:57:42'),
(10, 'WIRE', 'Wire', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 13:33:53', '2025-09-25 08:03:53'),
(11, 'WIDTH', 'Width', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-25 13:36:00', '2025-09-25 08:06:00'),
(13, 'TYPE_SHAPE', 'Type/Shape', 'DROPDOWN', 1, 0, 1, '1', 0, '2025-09-26 11:21:42', '2025-09-26 05:51:42');

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

--
-- Table structure for table `attribute_values`
--

CREATE TABLE IF NOT EXISTS `attribute_values` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `attribute_id` int NOT NULL,
  `value_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int NOT NULL DEFAULT '0',
  `numeric_value` float DEFAULT NULL,
  `is_active` tinyint NOT NULL DEFAULT '1',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `attribute_values_attribute_id_value_code_unique` (`attribute_id`,`value_code`),
  KEY `attribute_values_attribute_id_index` (`attribute_id`)
) ENGINE=MyISAM AUTO_INCREMENT=117 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attribute_values`
--

INSERT INTO `attribute_values` (`id`, `attribute_id`, `value_code`, `value_name`, `sort_order`, `numeric_value`, `is_active`, `created_by`, `created_at`) VALUES
(38, 1, 'SSG', 'SSG', 1, NULL, 1, 'AJIT HOGADE', '2025-09-25 13:28:50'),
(73, 2, '5', '5', 3, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:34:12'),
(5, 3, 'BROWN', 'Brown', 1, NULL, 1, '1', '2025-09-25 07:26:00'),
(6, 3, 'WHITE', 'White', 2, NULL, 1, '1', '2025-09-25 07:26:00'),
(74, 2, '2', '2', 4, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:34:12'),
(70, 4, 'REMOTE', 'REMOTE', 3, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:33:23'),
(10, 5, '15FEET', '15FEET', 1, NULL, 1, '1', '2025-09-25 07:27:58'),
(50, 6, '38MM', '38MM', 1, NULL, 1, 'AJIT HOGADE', '2025-09-25 13:32:28'),
(89, 12, 'HEXAGON', 'Hexagon', 5, NULL, 1, '1', '2025-09-26 02:48:03'),
(67, 10, '5 WIRE', '5 Wire', 3, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:30:13'),
(87, 12, 'SIDE', 'Side', 3, NULL, 1, '1', '2025-09-26 02:48:03'),
(88, 12, 'CEILING', 'Ceiling', 4, NULL, 1, '1', '2025-09-26 02:48:03'),
(85, 12, 'WALL', 'Wall', 1, NULL, 1, '1', '2025-09-26 02:48:03'),
(86, 12, 'L', 'L', 2, NULL, 1, '1', '2025-09-26 02:48:03'),
(75, 8, 'METAL', 'Metal', 0, NULL, 1, '1', '2025-09-26 07:24:58'),
(76, 5, '3.2_MTR', '3.2 MTR', 0, NULL, 1, '1', '2025-09-26 07:29:57'),
(77, 8, 'STEEL', 'Steel', 0, NULL, 1, '1', '2025-09-26 07:35:09'),
(78, 8, 'METAL_PLASTIC', 'Metal/Plastic', 0, NULL, 1, '1', '2025-09-26 07:40:27'),
(79, 8, 'METAL_WOOD', 'Metal/Wood', 0, NULL, 1, '1', '2025-09-26 07:42:37'),
(80, 5, '5MTR', '5 MTR', 0, NULL, 1, '1', '2025-09-26 07:52:28'),
(81, 6, 'BIG', 'BIG', 0, NULL, 1, '1', '2025-09-26 07:56:21'),
(82, 6, 'SMALL', 'Small', 0, NULL, 1, '1', '2025-09-26 07:56:28'),
(83, 5, '4_INCH', '4 INCH', 0, NULL, 1, '1', '2025-09-26 08:03:42'),
(84, 5, '8_INCH', '8 INCH', 0, NULL, 1, '1', '2025-09-26 08:03:51'),
(33, 8, 'PVC', 'PVC', 1, NULL, 1, '1', '2025-09-25 07:57:42'),
(34, 8, 'WOODEN', 'Wooden', 2, NULL, 1, '1', '2025-09-25 07:57:42'),
(35, 8, 'ALUMINUM', 'Aluminum', 3, NULL, 1, '1', '2025-09-25 07:57:42'),
(36, 8, 'PLASTIC', 'Plastic', 4, NULL, 1, '1', '2025-09-25 07:57:42'),
(37, 8, 'CRYSTAL', 'Crystal', 5, NULL, 1, '1', '2025-09-25 07:57:42'),
(39, 1, 'NON BRAND', 'Non Brand', 2, NULL, 1, 'AJIT HOGADE', '2025-09-25 13:28:50'),
(40, 1, 'KOREAN', 'Korean', 3, NULL, 1, 'AJIT HOGADE', '2025-09-25 13:28:50'),
(101, 6, '9MM', '9MM', 0, NULL, 1, '1', '2025-09-26 11:30:45'),
(102, 6, '13MM', '13MM', 0, NULL, 1, '1', '2025-09-26 11:30:57'),
(103, 6, '16MM', '16MM', 0, NULL, 1, '1', '2025-09-26 11:31:12'),
(68, 4, 'SWITCH', 'Switch', 1, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:33:23'),
(69, 4, 'REMOTE+SWITCH', 'Remote+Switch', 2, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:33:23'),
(66, 10, '4 WIRE', '4 Wire', 2, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:30:13'),
(65, 10, '3 WIRE', '3 Wire', 1, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:30:13'),
(72, 2, '15', '15', 2, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:34:12'),
(71, 2, '1', '1', 1, NULL, 1, 'AJIT HOGADE', '2025-09-26 05:34:12'),
(57, 11, '19MM', '19MM', 1, NULL, 1, '1', '2025-09-25 08:06:01'),
(58, 5, '12 Feet', '12 Feet', 0, NULL, 1, '1', '2025-09-25 14:49:35'),
(59, 5, '206_CM', '206 CM', 0, NULL, 1, '1', '2025-09-25 14:58:22'),
(60, 11, '12MM', '12MM', 0, NULL, 1, '1', '2025-09-25 15:24:40'),
(61, 11, '25MM', '25MM', 0, NULL, 1, '1', '2025-09-25 15:24:58'),
(62, 5, '1.5MTR', '1.5MTR', 0, NULL, 1, '1', '2025-09-25 15:27:41'),
(63, 5, '2MTR', '2MTR', 0, NULL, 1, '1', '2025-09-25 15:27:56'),
(64, 5, '3MTR', '3MTR', 0, NULL, 1, '1', '2025-09-25 15:28:05'),
(90, 12, 'STANDARD', 'Standard', 6, NULL, 1, '1', '2025-09-26 02:48:03'),
(91, 4, 'DOUBLE', 'DOUBLE', 0, NULL, 1, '1', '2025-09-26 10:10:50'),
(92, 11, '38MM', '38MM', 0, NULL, 1, '1', '2025-09-26 10:35:11'),
(93, 3, 'IVORY', 'IVORY', 0, NULL, 1, '1', '2025-09-26 10:49:25'),
(94, 13, 'COLLAR', 'Collar', 1, NULL, 1, '1', '2025-09-26 05:51:42'),
(95, 13, 'SQUARE', 'Square', 2, NULL, 1, '1', '2025-09-26 05:51:42'),
(96, 13, 'USHAPE', 'U Shape', 3, NULL, 1, '1', '2025-09-26 05:51:42'),
(97, 13, 'CRYSTAL', 'Crystal', 4, NULL, 1, '1', '2025-09-26 05:51:42'),
(98, 13, 'DRUM', 'Drum', 5, NULL, 1, '1', '2025-09-26 05:51:42'),
(99, 13, 'CROWN', 'Crown', 6, NULL, 1, '1', '2025-09-26 05:51:42'),
(100, 13, 'WHEEL', 'Wheel', 7, NULL, 1, '1', '2025-09-26 05:51:42'),
(104, 3, 'GREY', 'GREY', 0, NULL, 1, '1', '2025-09-26 11:35:20'),
(105, 4, 'MOTORISED', 'MOTORISED', 0, NULL, 1, '1', '2025-09-26 13:43:31'),
(106, 3, 'COFFEE', 'COFFEE', 0, NULL, 1, '1', '2025-09-27 09:56:07'),
(107, 5, '2.8_MTR', '2.8 MTR', 0, NULL, 1, '1', '2025-09-27 10:33:08'),
(108, 3, 'LIGHT_BROWN', 'LIGHT BROWN', 0, NULL, 1, '1', '2025-09-27 11:10:13'),
(109, 4, 'MANUAL', 'Manual', 0, NULL, 1, '1', '2025-09-27 11:10:33'),
(110, 5, 'LENGTH_15_000', '15 m', 0, NULL, 1, 'AJIT HOGADE', '2025-09-27 05:47:30'),
(111, 5, 'LENGTH_12_000', '12 m', 0, NULL, 1, 'AJIT HOGADE', '2025-09-27 06:03:07'),
(112, 3, 'BEIGE', 'BEIGE', 0, NULL, 1, '1', '2025-09-27 12:07:02'),
(113, 3, 'BLACK', 'BLACK', 0, NULL, 1, '1', '2025-09-27 12:07:55'),
(114, 3, 'KHAKI', 'KHAKI', 0, NULL, 1, '1', '2025-09-27 12:08:02'),
(115, 11, 'WIDTH_2_500', '2.5 m', 0, NULL, 1, 'AJIT HOGADE', '2025-10-02 15:29:58'),
(116, 11, 'WIDTH_1_500', '1.5 m', 0, NULL, 1, 'AJIT HOGADE', '2025-10-04 11:56:21');

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

--
-- Table structure for table `brand_customer`
--

CREATE TABLE IF NOT EXISTS `brand_customer` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `brand_id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED NOT NULL,
  `is_exclusive` tinyint(1) NOT NULL DEFAULT '0',
  `since` date DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `brand_customer_brand_id_customer_id_unique` (`brand_id`,`customer_id`),
  KEY `brand_customer_customer_id_foreign` (`customer_id`),
  KEY `brand_customer_is_exclusive_index` (`is_exclusive`),
  KEY `brand_customer_since_index` (`since`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `brand_master`
--

CREATE TABLE IF NOT EXISTS `brand_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `brand_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `brand_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `website` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo_url` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint NOT NULL DEFAULT '0',
  `deleted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `brand_master_brand_code_unique` (`brand_code`),
  KEY `brand_master_brand_code_index` (`brand_code`),
  KEY `brand_master_status_index` (`status`),
  KEY `brand_master_brand_name_index` (`brand_name`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `brand_master`
--

INSERT INTO `brand_master` (`id`, `brand_code`, `brand_name`, `description`, `website`, `logo_url`, `status`, `created_by`, `updated_by`, `is_deleted`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'SSD', 'ssg', '', '', NULL, 'ACTIVE', 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-08-12 06:11:29', '2025-07-28 02:48:19', '2025-07-28 02:48:30'),
(3, 'GEN', 'Generic', '', '', NULL, 'ACTIVE', 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-08-31 09:30:37', '2025-08-31 04:00:37', '2025-09-25 05:36:46'),
(4, 'KOREAN', 'KOREAN', '', '', NULL, 'ACTIVE', 'AJIT HOGADE', NULL, 0, '2025-09-25 11:06:13', '2025-09-25 05:36:13', '2025-09-25 05:36:13');

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

--
-- Table structure for table `brand_vendor`
--

CREATE TABLE IF NOT EXISTS `brand_vendor` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `brand_id` bigint UNSIGNED NOT NULL,
  `vendor_id` bigint UNSIGNED NOT NULL,
  `is_authorized` tinyint(1) NOT NULL DEFAULT '1',
  `authorized_since` date DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `brand_vendor_brand_id_vendor_id_unique` (`brand_id`,`vendor_id`),
  KEY `brand_vendor_vendor_id_foreign` (`vendor_id`),
  KEY `brand_vendor_is_authorized_index` (`is_authorized`),
  KEY `brand_vendor_authorized_since_index` (`authorized_since`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `category_attributes`
--

CREATE TABLE IF NOT EXISTS `category_attributes` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `category_master_id` bigint UNSIGNED NOT NULL,
  `attribute_master_id` bigint UNSIGNED NOT NULL,
  `is_required` tinyint(1) NOT NULL DEFAULT '0',
  `is_variant` tinyint(1) NOT NULL DEFAULT '0',
  `sort_order` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `cat_attr_unique` (`category_master_id`,`attribute_master_id`),
  KEY `category_attributes_attribute_master_id_foreign` (`attribute_master_id`)
) ENGINE=MyISAM AUTO_INCREMENT=96 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `category_attributes`
--

INSERT INTO `category_attributes` (`id`, `category_master_id`, `attribute_master_id`, `is_required`, `is_variant`, `sort_order`, `created_at`, `updated_at`, `created_by`, `updated_by`) VALUES
(1, 2, 3, 0, 0, 1, '2025-09-25 08:12:07', '2025-09-25 08:12:07', 'AJIT HOGADE', NULL),
(2, 2, 1, 0, 0, 2, '2025-09-25 08:12:07', '2025-09-25 08:12:07', 'AJIT HOGADE', NULL),
(3, 2, 5, 0, 0, 3, '2025-09-25 08:12:07', '2025-09-25 08:12:07', 'AJIT HOGADE', NULL),
(4, 3, 3, 0, 0, 1, '2025-09-25 08:17:01', '2025-09-25 08:17:01', 'AJIT HOGADE', NULL),
(5, 3, 5, 0, 0, 2, '2025-09-25 08:17:01', '2025-09-25 08:17:01', 'AJIT HOGADE', NULL),
(6, 3, 9, 0, 0, 3, '2025-09-25 08:17:01', '2025-09-25 08:17:01', 'AJIT HOGADE', NULL),
(7, 4, 3, 0, 0, 1, '2025-09-25 08:33:06', '2025-09-25 08:33:06', 'AJIT HOGADE', NULL),
(8, 4, 5, 0, 0, 2, '2025-09-25 08:33:06', '2025-09-25 08:33:06', 'AJIT HOGADE', NULL),
(9, 5, 3, 0, 0, 1, '2025-09-25 08:36:22', '2025-09-25 08:36:22', 'AJIT HOGADE', NULL),
(10, 5, 5, 0, 0, 2, '2025-09-25 08:36:22', '2025-09-25 08:36:22', 'AJIT HOGADE', NULL),
(11, 5, 8, 0, 0, 3, '2025-09-25 08:36:22', '2025-09-25 08:36:22', 'AJIT HOGADE', NULL),
(37, 6, 10, 0, 0, 3, '2025-09-26 00:01:03', '2025-09-26 00:01:03', 'AJIT HOGADE', NULL),
(36, 6, 4, 0, 0, 2, '2025-09-26 00:01:03', '2025-09-26 00:01:03', 'AJIT HOGADE', NULL),
(35, 6, 2, 0, 0, 1, '2025-09-26 00:01:03', '2025-09-26 00:01:03', 'AJIT HOGADE', NULL),
(15, 7, 5, 0, 0, 1, '2025-09-25 08:48:11', '2025-09-25 08:48:11', 'AJIT HOGADE', NULL),
(16, 7, 6, 0, 0, 2, '2025-09-25 08:48:11', '2025-09-25 08:48:11', 'AJIT HOGADE', NULL),
(17, 7, 1, 0, 0, 3, '2025-09-25 08:48:11', '2025-09-25 08:48:11', 'AJIT HOGADE', NULL),
(40, 8, 3, 0, 0, 1, '2025-09-26 01:49:18', '2025-09-26 01:49:18', 'AJIT HOGADE', NULL),
(41, 8, 5, 0, 0, 2, '2025-09-26 01:49:18', '2025-09-26 01:49:18', 'AJIT HOGADE', NULL),
(21, 9, 6, 0, 0, 1, '2025-09-25 08:57:30', '2025-09-25 08:57:30', 'AJIT HOGADE', NULL),
(22, 9, 11, 0, 0, 2, '2025-09-25 08:57:30', '2025-09-25 08:57:30', 'AJIT HOGADE', NULL),
(23, 9, 5, 0, 0, 3, '2025-09-25 08:57:30', '2025-09-25 08:57:30', 'AJIT HOGADE', NULL),
(24, 9, 1, 0, 0, 4, '2025-09-25 08:57:30', '2025-09-25 08:57:30', 'AJIT HOGADE', NULL),
(31, 10, 5, 0, 0, 3, '2025-09-25 09:54:21', '2025-09-25 09:54:21', 'AJIT HOGADE', NULL),
(32, 10, 8, 0, 0, 4, '2025-09-25 09:54:21', '2025-09-25 09:54:21', 'AJIT HOGADE', NULL),
(30, 10, 3, 0, 0, 2, '2025-09-25 09:54:21', '2025-09-25 09:54:21', 'AJIT HOGADE', NULL),
(29, 10, 1, 0, 0, 1, '2025-09-25 09:54:21', '2025-09-25 09:54:21', 'AJIT HOGADE', NULL),
(33, 10, 11, 0, 0, 5, '2025-09-25 09:54:21', '2025-09-25 09:54:21', 'AJIT HOGADE', NULL),
(34, 10, 6, 0, 0, 6, '2025-09-25 09:54:21', '2025-09-25 09:54:21', 'AJIT HOGADE', NULL),
(38, 6, 3, 0, 0, 4, '2025-09-26 00:01:03', '2025-09-26 00:01:03', 'AJIT HOGADE', NULL),
(39, 6, 1, 0, 0, 5, '2025-09-26 00:01:03', '2025-09-26 00:01:03', 'AJIT HOGADE', NULL),
(42, 8, 6, 0, 0, 3, '2025-09-26 01:49:18', '2025-09-26 01:49:18', 'AJIT HOGADE', NULL),
(43, 8, 8, 0, 0, 4, '2025-09-26 01:49:18', '2025-09-26 01:49:18', 'AJIT HOGADE', NULL),
(44, 11, 12, 0, 0, 1, '2025-09-26 02:49:32', '2025-09-26 02:49:32', 'AJIT HOGADE', NULL),
(45, 11, 8, 0, 0, 2, '2025-09-26 02:49:32', '2025-09-26 02:49:32', 'AJIT HOGADE', NULL),
(46, 11, 3, 0, 0, 3, '2025-09-26 02:49:32', '2025-09-26 02:49:32', 'AJIT HOGADE', NULL),
(87, 12, 12, 0, 0, 6, '2025-09-26 07:41:01', '2025-09-26 07:41:01', 'AJIT HOGADE', NULL),
(86, 12, 11, 0, 0, 5, '2025-09-26 07:41:01', '2025-09-26 07:41:01', 'AJIT HOGADE', NULL),
(85, 12, 8, 0, 0, 4, '2025-09-26 07:41:01', '2025-09-26 07:41:01', 'AJIT HOGADE', NULL),
(84, 12, 5, 0, 0, 3, '2025-09-26 07:41:01', '2025-09-26 07:41:01', 'AJIT HOGADE', NULL),
(83, 12, 4, 0, 0, 2, '2025-09-26 07:41:01', '2025-09-26 07:41:01', 'AJIT HOGADE', NULL),
(58, 13, 3, 0, 0, 1, '2025-09-26 05:58:59', '2025-09-26 05:58:59', 'AJIT HOGADE', NULL),
(59, 13, 13, 0, 0, 2, '2025-09-26 05:58:59', '2025-09-26 05:58:59', 'AJIT HOGADE', NULL),
(60, 13, 5, 0, 0, 3, '2025-09-26 05:58:59', '2025-09-26 05:58:59', 'AJIT HOGADE', NULL),
(61, 13, 6, 0, 0, 4, '2025-09-26 05:58:59', '2025-09-26 05:58:59', 'AJIT HOGADE', NULL),
(62, 13, 1, 0, 0, 5, '2025-09-26 05:58:59', '2025-09-26 05:58:59', 'AJIT HOGADE', NULL),
(82, 12, 3, 0, 0, 1, '2025-09-26 07:41:01', '2025-09-26 07:41:01', 'AJIT HOGADE', NULL),
(79, 14, 11, 0, 0, 5, '2025-09-26 07:40:51', '2025-09-26 07:40:51', 'AJIT HOGADE', NULL),
(75, 14, 3, 0, 0, 1, '2025-09-26 07:40:51', '2025-09-26 07:40:51', 'AJIT HOGADE', NULL),
(76, 14, 4, 0, 0, 2, '2025-09-26 07:40:51', '2025-09-26 07:40:51', 'AJIT HOGADE', NULL),
(77, 14, 5, 0, 0, 3, '2025-09-26 07:40:51', '2025-09-26 07:40:51', 'AJIT HOGADE', NULL),
(78, 14, 8, 0, 0, 4, '2025-09-26 07:40:51', '2025-09-26 07:40:51', 'AJIT HOGADE', NULL),
(80, 14, 12, 0, 0, 6, '2025-09-26 07:40:51', '2025-09-26 07:40:51', 'AJIT HOGADE', NULL),
(81, 14, 13, 0, 0, 7, '2025-09-26 07:40:51', '2025-09-26 07:40:51', 'AJIT HOGADE', NULL),
(88, 12, 13, 0, 0, 7, '2025-09-26 07:41:01', '2025-09-26 07:41:01', 'AJIT HOGADE', NULL),
(89, 15, 3, 0, 0, 1, '2025-09-26 08:33:42', '2025-09-26 08:33:42', 'AJIT HOGADE', NULL),
(90, 15, 4, 0, 0, 2, '2025-09-26 08:33:42', '2025-09-26 08:33:42', 'AJIT HOGADE', NULL),
(91, 15, 5, 0, 0, 3, '2025-09-26 08:33:42', '2025-09-26 08:33:42', 'AJIT HOGADE', NULL),
(92, 15, 8, 0, 0, 4, '2025-09-26 08:33:42', '2025-09-26 08:33:42', 'AJIT HOGADE', NULL),
(93, 15, 11, 0, 0, 5, '2025-09-26 08:33:42', '2025-09-26 08:33:42', 'AJIT HOGADE', NULL),
(94, 15, 12, 0, 0, 6, '2025-09-26 08:33:42', '2025-09-26 08:33:42', 'AJIT HOGADE', NULL),
(95, 15, 13, 0, 0, 7, '2025-09-26 08:33:42', '2025-09-26 08:33:42', 'AJIT HOGADE', NULL);

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

--
-- Table structure for table `category_master`
--

CREATE TABLE IF NOT EXISTS `category_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `category_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `category_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_category_id` bigint UNSIGNED DEFAULT NULL,
  `category_type_id` int DEFAULT NULL,
  `category_level` int NOT NULL DEFAULT '1',
  `hsn_id` bigint UNSIGNED DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `image_url` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sort_order` int NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'AjitHogade',
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint NOT NULL DEFAULT '0',
  `deleted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `category_master_category_code_unique` (`category_code`),
  KEY `category_master_hsn_id_foreign` (`hsn_id`),
  KEY `category_master_category_code_index` (`category_code`),
  KEY `category_master_parent_category_id_index` (`parent_category_id`),
  KEY `category_master_category_level_index` (`category_level`),
  KEY `category_master_is_active_index` (`is_active`),
  KEY `category_master_sort_order_index` (`sort_order`),
  KEY `category_type_id` (`category_type_id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `category_master`
--

INSERT INTO `category_master` (`id`, `category_code`, `category_name`, `parent_category_id`, `category_type_id`, `category_level`, `hsn_id`, `description`, `image_url`, `sort_order`, `is_active`, `created_by`, `updated_by`, `is_deleted`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'BLINDS', 'Blinds', NULL, NULL, 1, NULL, 'Window covering products', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 13:37:28', '2025-09-25 08:07:28', '2025-09-25 08:07:28'),
(2, 'ROLLER BLINDS', 'Roller Blinds', 1, NULL, 1, NULL, 'Roller type window blinds', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 13:42:07', '2025-09-25 08:12:07', '2025-09-25 08:12:07'),
(3, 'ZEBRA BLINDS', 'Zebra Blinds', 1, NULL, 1, NULL, 'Zebra pattern window blinds', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 13:47:01', '2025-09-25 08:17:01', '2025-09-25 08:17:01'),
(4, 'WOODEN BLINDS', 'Wooden Blinds', 1, NULL, 1, NULL, 'Wooden material window blinds', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 14:03:06', '2025-09-25 08:33:06', '2025-09-25 08:33:06'),
(5, 'ROMAN BLINDS', 'Roman Blinds', 1, NULL, 1, NULL, 'Roman style window blinds', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 14:06:22', '2025-09-25 08:36:22', '2025-09-25 08:36:22'),
(6, 'MOTORS', 'Motors', NULL, NULL, 1, NULL, 'Motor components for automation', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 14:11:35', '2025-09-25 08:41:35', '2025-09-25 08:41:35'),
(7, 'CURTAIN COMPONENTS', 'Curtain Components', NULL, NULL, 1, NULL, 'Parts for curtain assembly and installation', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 14:18:11', '2025-09-25 08:48:11', '2025-09-25 08:48:11'),
(8, 'TOOLS & MACHINERY', 'Tools & Machinery', NULL, NULL, 1, NULL, 'Equipment for installation and maintenance', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 14:20:45', '2025-09-25 08:50:45', '2025-09-26 01:49:18'),
(9, 'PACKAGING MATERIALS', 'Packaging Materials', NULL, NULL, 1, NULL, 'Materials for product packaging', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 14:27:30', '2025-09-25 08:57:30', '2025-09-25 08:57:30'),
(10, 'MISCELLANEOUS', 'Miscellaneous', NULL, NULL, 1, NULL, 'Other supporting components', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-25 14:36:37', '2025-09-25 09:06:37', '2025-09-25 09:06:37'),
(11, 'BRACKETS', 'Brackets', NULL, NULL, 1, NULL, NULL, NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-26 08:19:32', '2025-09-26 02:49:32', '2025-09-26 02:49:32'),
(12, 'RBC', 'Roller Blinds Components', NULL, NULL, 1, NULL, NULL, NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-26 10:00:05', '2025-09-26 04:30:05', '2025-09-26 07:30:14'),
(13, 'ACCESSORIES', 'Accessories', NULL, NULL, 1, NULL, NULL, NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-26 11:28:59', '2025-09-26 05:58:59', '2025-09-26 05:58:59'),
(14, 'ZBC', 'Zebra Blinds Components', NULL, NULL, 1, NULL, NULL, NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-26 13:03:17', '2025-09-26 07:33:17', '2025-09-26 07:33:17'),
(15, 'WBC', 'Wooden Blinds Components', NULL, NULL, 1, NULL, 'Components used to assemble, operate, and finish wooden blinds.', NULL, 0, 1, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-26 14:03:42', '2025-09-26 08:33:42', '2025-09-26 08:33:42');

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

--
-- Table structure for table `category_types`
--

CREATE TABLE IF NOT EXISTS `category_types` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `category_type_code` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `category_type_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `description` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `is_active` tinyint(1) DEFAULT '1',
  `created_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `category_type_code` (`category_type_code`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `category_types`
--

INSERT INTO `category_types` (`id`, `category_type_code`, `category_type_name`, `description`, `is_active`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES
(1, 'FINISHED_GOODS', 'Finished Goods', 'Products ready for sale or delivery', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41'),
(2, 'RAW_MATERIAL', 'Raw Material', 'Primary materials used in the production process', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41'),
(3, 'TRADING_GOODS', 'Trading Goods', 'Purchased goods for resale without processing', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41'),
(4, 'CONSUMABLES', 'Consumables', 'Goods consumed in operations but not part of final product', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41'),
(5, 'SERVICE', 'Service', 'Non-tangible offerings provided to customers', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41');

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

--
-- Table structure for table `company_gstin`
--

CREATE TABLE IF NOT EXISTS `company_gstin` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL COMMENT 'Foreign key to company_master table',
  `state_id` bigint UNSIGNED NOT NULL COMMENT 'Foreign key to state_master table',
  `gstin_number` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Complete 15-digit GSTIN number',
  `legal_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trade_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Trade name (optional)',
  `business_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Manufacturing/Trading/Services',
  `registration_date` date DEFAULT NULL COMMENT 'GSTIN registration date',
  `status` enum('ACTIVE','CANCELLED','SUSPENDED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE' COMMENT 'GSTIN status',
  `address_line1` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Address line 1',
  `address_line2` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Address line 2',
  `city` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'City',
  `pincode` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Pincode',
  `contact_person` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Contact person',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Phone number',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Email address',
  `is_primary_gstin` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Is primary GSTIN for company',
  `is_active_for_sales` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Use for sales transactions',
  `is_active_for_purchases` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Use for purchase transactions',
  `location_type` enum('Plant','Warehouse','Office','Retail','Service Center','Branch') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Location type',
  `filing_frequency` enum('MONTHLY','QUARTERLY') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'MONTHLY' COMMENT 'Filing frequency',
  `composition_scheme` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Under composition scheme',
  `is_verified` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Is GSTIN verified',
  `verified_date` date DEFAULT NULL COMMENT 'Verification date',
  `is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Is record active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'AjitHogade',
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_company_state` (`company_id`,`state_id`),
  UNIQUE KEY `company_gstin_gstin_number_unique` (`gstin_number`),
  KEY `idx_company_gstin_company_id` (`company_id`),
  KEY `idx_company_gstin_state_id` (`state_id`),
  KEY `idx_gstin_number` (`gstin_number`),
  KEY `idx_status` (`status`),
  KEY `idx_is_primary` (`is_primary_gstin`),
  KEY `idx_is_active` (`is_active`),
  KEY `idx_company_status` (`company_id`,`status`),
  KEY `idx_state_status` (`state_id`,`status`),
  KEY `idx_location_type` (`location_type`),
  KEY `idx_business_type` (`business_type`),
  KEY `idx_created_by` (`created_by`),
  KEY `idx_created_updated` (`created_at`,`updated_at`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Company GSTIN records for multi-state operations';

--
-- Dumping data for table `company_gstin`
--

INSERT INTO `company_gstin` (`id`, `company_id`, `state_id`, `gstin_number`, `legal_name`, `trade_name`, `business_type`, `registration_date`, `status`, `address_line1`, `address_line2`, `city`, `pincode`, `contact_person`, `phone`, `email`, `is_primary_gstin`, `is_active_for_sales`, `is_active_for_purchases`, `location_type`, `filing_frequency`, `composition_scheme`, `is_verified`, `verified_date`, `is_active`, `created_at`, `updated_at`, `created_by`, `updated_by`) VALUES
(1, 1, 14, '27ADNPH1950L1Z1', 'SOD Manufacturing Ltd', 'SOD Manufacturing Ltd', 'Regular', '2025-08-01', 'ACTIVE', '202 OMKAR APT House No 829 10', 'Sector 20 Nerul west', 'Thane', '400706', NULL, NULL, NULL, 1, 1, 1, NULL, 'MONTHLY', 0, 0, NULL, 1, '2025-08-14 04:23:19', '2025-08-14 04:23:19', 'AJIT HOGADE', NULL),
(2, 1, 5, '22ADTHO1950Y1Z1', 'SOD Manufacturing Ltd', 'SOD Manufacturing Ltd', 'Regular', '2025-06-13', 'ACTIVE', '202 OMKAR APT House No 829 10', 'Sector 20 Nerul west', 'Thane', '400706', NULL, NULL, NULL, 0, 1, 1, NULL, 'MONTHLY', 0, 0, NULL, 1, '2025-08-14 04:23:20', '2025-08-14 04:23:20', 'AJIT HOGADE', NULL),
(3, 2, 13, '23AAAAA0000A1Z5', 'SOD Trading Ltd', 'SOD Trading Ltd', 'Regular', '2025-08-31', 'ACTIVE', 'test121212121212', 'test', 'Noida', '400705', NULL, NULL, NULL, 0, 1, 1, NULL, 'MONTHLY', 0, 0, NULL, 1, '2025-09-08 02:35:56', '2025-09-08 02:35:56', 'AJIT HOGADE', NULL);

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

--
-- Table structure for table `company_infos`
--

CREATE TABLE IF NOT EXISTS `company_infos` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `legal_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_number` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `registration_number` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `city` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state_id` bigint UNSIGNED DEFAULT NULL,
  `country` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pincode` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo_path` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('ACTIVE','INACTIVE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `company_infos_code_unique` (`code`),
  KEY `company_infos_state_id_foreign` (`state_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `company_master`
--

CREATE TABLE IF NOT EXISTS `company_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `pan` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cin` varchar(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tan` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo_url` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `financial_year_start` int NOT NULL DEFAULT '4',
  `base_currency` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INR',
  `is_main_company` tinyint(1) NOT NULL DEFAULT '0',
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'AjitHogade',
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `company_master_company_code_unique` (`company_code`),
  KEY `company_master_company_code_index` (`company_code`),
  KEY `company_master_status_index` (`status`),
  KEY `company_master_is_main_company_index` (`is_main_company`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_master`
--

INSERT INTO `company_master` (`id`, `company_code`, `company_name`, `pan`, `cin`, `tan`, `phone`, `email`, `website`, `logo_url`, `financial_year_start`, `base_currency`, `is_main_company`, `status`, `created_by`, `updated_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'COMP001', 'SOD Manufacturing Ltd', 'ABCDE1234F', 'U74999DL2019PTC123456', 'ABCD12345E', '9876543210', 'info@sodmfg.com', 'https://www.sodmfg.com', 'https://www.sodmfg.com/logo.png', 4, 'INR', 1, 'ACTIVE', 'System', 'System', NULL, '2025-08-14 04:23:19', '2025-08-14 04:23:19'),
(2, 'COMP002', 'SOD Trading Ltd', 'ABCDE1234G', 'U74999DL2019PTC198745', 'ABCD12568G', '9876543201', 'info@ssg.com', 'https://www.sodmfg.com', 'https://www.sodmfg.com/logo.png', 4, 'INR', 0, 'ACTIVE', 'System', 'System', NULL, '2025-09-08 02:35:56', '2025-09-08 02:35:56');

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

--
-- Table structure for table `contact`
--

CREATE TABLE IF NOT EXISTS `contact` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `party_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `party_id` bigint UNSIGNED DEFAULT NULL,
  `contactable_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contactable_id` bigint UNSIGNED DEFAULT NULL,
  `contact_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Primary',
  `person_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `designation` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `whatsapp` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `telegram` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_primary` tinyint(1) NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `department` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reporting_to` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_decision_maker` tinyint(1) NOT NULL DEFAULT '0',
  `preferred_contact_method` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'EMAIL',
  `best_time_to_contact` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `linkedin_profile` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_of_birth` date DEFAULT NULL,
  `anniversary_date` date DEFAULT NULL,
  `accepts_marketing_emails` tinyint(1) NOT NULL DEFAULT '1',
  `accepts_promotional_sms` tinyint(1) NOT NULL DEFAULT '1',
  `accepts_notifications` tinyint(1) NOT NULL DEFAULT '1',
  `communication_language` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
  `interests` json DEFAULT NULL,
  `years_of_experience` int DEFAULT NULL,
  `expertise_areas` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `education_background` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `relationship_status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `contact_rating` decimal(3,1) NOT NULL DEFAULT '0.0',
  `last_contacted_date` date DEFAULT NULL,
  `last_interaction_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `interaction_history` json DEFAULT NULL,
  `internal_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `tags` json DEFAULT NULL,
  `custom_fields` json DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contact_contactable_type_contactable_id_index` (`contactable_type`,`contactable_id`),
  KEY `contact_contact_type_is_primary_index` (`contact_type`,`is_primary`),
  KEY `contact_email_index` (`email`),
  KEY `contact_party_type_party_id_index` (`party_type`,`party_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `countries`
--

CREATE TABLE IF NOT EXISTS `countries` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `iso_code` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone_code` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `customer_master`
--

CREATE TABLE IF NOT EXISTS `customer_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `customer_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'REGULAR',
  `customer_category` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'India',
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `default_currency` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INR',
  `payment_terms` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit_limit` decimal(18,2) DEFAULT NULL,
  `gst_registered` tinyint(1) NOT NULL DEFAULT '1',
  `website` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint NOT NULL DEFAULT '0',
  `deleted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  `customer_group` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `aadhar_number` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit_days` int NOT NULL DEFAULT '0',
  `price_list_id` bigint UNSIGNED DEFAULT NULL,
  `tax_preference` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'TAXABLE',
  `territory` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sales_person` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_rating` decimal(3,1) NOT NULL DEFAULT '0.0',
  `is_frozen` tinyint(1) NOT NULL DEFAULT '0',
  `opening_balance` decimal(15,2) NOT NULL DEFAULT '0.00',
  `opening_balance_type` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'DR',
  `industry_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_source` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `first_transaction_date` date DEFAULT NULL,
  `annual_revenue` decimal(15,2) DEFAULT NULL,
  `internal_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `custom_fields` json DEFAULT NULL,
  `marketing_emails` tinyint(1) NOT NULL DEFAULT '1',
  `promotional_sms` tinyint(1) NOT NULL DEFAULT '1',
  `preferred_language` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
  `communication_preference` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'EMAIL',
  PRIMARY KEY (`id`),
  UNIQUE KEY `customer_master_customer_code_unique` (`customer_code`),
  KEY `customer_master_customer_code_index` (`customer_code`),
  KEY `customer_master_customer_type_index` (`customer_type`),
  KEY `customer_master_status_index` (`status`),
  KEY `customer_master_company_id_foreign` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `department_masters`
--

CREATE TABLE IF NOT EXISTS `department_masters` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `department_type` enum('OFFICE','MANUFACTURING','WAREHOUSE','QA','MAINTENANCE','LOGISTICS','HR','FINANCE','IT','RND','SALES','PURCHASE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_id` bigint UNSIGNED DEFAULT NULL,
  `status` enum('ACTIVE','INACTIVE','MAINTENANCE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `department_masters_company_id_code_unique` (`company_id`,`code`),
  KEY `department_masters_parent_id_foreign` (`parent_id`),
  KEY `department_masters_company_id_department_type_index` (`company_id`,`department_type`),
  KEY `department_masters_company_id_status_index` (`company_id`,`status`),
  KEY `department_masters_department_type_index` (`department_type`),
  KEY `department_masters_status_index` (`status`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `department_masters`
--

INSERT INTO `department_masters` (`id`, `company_id`, `code`, `name`, `department_type`, `parent_id`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 'D001', 'Mumbai Office', 'OFFICE', NULL, 'ACTIVE', '2025-08-15 01:39:09', '2025-08-15 01:39:09', NULL),
(2, 1, 'DW001', 'Warehouse', 'WAREHOUSE', NULL, 'ACTIVE', '2025-08-15 05:03:37', '2025-08-15 05:24:52', NULL),
(3, 1, 'QA', 'QUA ASS', 'QA', NULL, 'ACTIVE', '2025-08-24 08:08:47', '2025-08-24 08:08:47', NULL);

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

--
-- Table structure for table `districts`
--

CREATE TABLE IF NOT EXISTS `districts` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `state_id` bigint UNSIGNED NOT NULL,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `districts_state_id_name_index` (`state_id`,`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE IF NOT EXISTS `failed_jobs` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `gstin`
--

CREATE TABLE IF NOT EXISTS `gstin` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `gstin_number` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `legal_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `trade_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state_id` bigint UNSIGNED DEFAULT NULL,
  `state_code` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `business_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `registration_date` date DEFAULT NULL,
  `cancellation_date` date DEFAULT NULL,
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Active',
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `pincode` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `business_nature` json DEFAULT NULL,
  `pan_number` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  `gstin_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'REGULAR',
  `registration_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'VOLUNTARY',
  `taxpayer_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'REGULAR',
  `constitution_of_business` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `annual_turnover` decimal(15,2) DEFAULT NULL,
  `jurisdiction` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `filing_frequency` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'MONTHLY',
  `composition_scheme` tinyint(1) NOT NULL DEFAULT '0',
  `composition_rate` decimal(5,2) DEFAULT NULL,
  `compliance_rating` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'A',
  `delayed_filings_count` int NOT NULL DEFAULT '0',
  `pending_liabilities` decimal(15,2) NOT NULL DEFAULT '0.00',
  `verification_status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'PENDING',
  `last_verified_at` timestamp NULL DEFAULT NULL,
  `verified_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `gstin_gstin_number_unique` (`gstin_number`),
  KEY `gstin_gstin_number_status_index` (`gstin_number`,`status`),
  KEY `gstin_state_code_index` (`state_code`),
  KEY `gstin_company_id_foreign` (`company_id`),
  KEY `gstin_state_id_foreign` (`state_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `hsn_codes`
--

CREATE TABLE IF NOT EXISTS `hsn_codes` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `hsn_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `gst_rate` decimal(5,2) NOT NULL,
  `cess_rate` decimal(5,2) NOT NULL DEFAULT '0.00',
  `igst_rate` decimal(5,2) NOT NULL DEFAULT '0.00',
  `sgst_rate` decimal(5,2) NOT NULL DEFAULT '0.00',
  `cgst_rate` decimal(5,2) NOT NULL DEFAULT '0.00',
  `uqc_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `hsn_codes_hsn_code_unique` (`hsn_code`),
  KEY `hsn_codes_hsn_code_index` (`hsn_code`),
  KEY `hsn_codes_status_index` (`status`),
  KEY `hsn_codes_gst_rate_index` (`gst_rate`),
  KEY `hsn_codes_sgst_rate_cgst_rate_index` (`sgst_rate`,`cgst_rate`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hsn_codes`
--

INSERT INTO `hsn_codes` (`id`, `hsn_code`, `description`, `gst_rate`, `cess_rate`, `igst_rate`, `sgst_rate`, `cgst_rate`, `uqc_code`, `status`, `created_at`, `updated_at`) VALUES
(1, '12345678', 'test', 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 'ACTIVE', '2025-09-25 00:28:09', '2025-09-25 00:28:09');

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

--
-- Table structure for table `inventory_adjustments`
--

CREATE TABLE IF NOT EXISTS `inventory_adjustments` (
  `id` int NOT NULL AUTO_INCREMENT,
  `adjustment_number` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `adjustment_date` datetime DEFAULT NULL,
  `warehouse_id` int DEFAULT NULL,
  `adjustment_type` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `reason_code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `total_items` int DEFAULT NULL,
  `total_adjustment_value` decimal(16,4) DEFAULT NULL,
  `reference_document` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `prepared_by` int DEFAULT NULL,
  `approved_by` int DEFAULT NULL,
  `approved_at` datetime DEFAULT NULL,
  `posted_at` datetime DEFAULT NULL,
  `created_by` int DEFAULT NULL,
  `updated_by` int DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `inventory_adjustments`
--

INSERT INTO `inventory_adjustments` (`id`, `adjustment_number`, `adjustment_date`, `warehouse_id`, `adjustment_type`, `reason_code`, `total_items`, `total_adjustment_value`, `reference_document`, `notes`, `status`, `prepared_by`, `approved_by`, `approved_at`, `posted_at`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, 'ADJ001', '2025-08-08 16:22:55', 1, 'count', 'cycle_count', 2, 100.0000, NULL, NULL, 'posted', NULL, NULL, NULL, '2025-08-08 11:39:41', NULL, 1, NULL, '2025-08-08 11:39:41');

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

--
-- Table structure for table `inventory_adjustment_headers`
--

CREATE TABLE IF NOT EXISTS `inventory_adjustment_headers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `document_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `posting_date` date NOT NULL,
  `reason_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'DRAFT',
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `submitted_at` timestamp NULL DEFAULT NULL,
  `submitted_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `cancelled_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cancellation_reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `inventory_adjustment_headers_document_number_unique` (`document_number`),
  KEY `inventory_adjustment_headers_company_id_posting_date_index` (`company_id`,`posting_date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_adjustment_items`
--

CREATE TABLE IF NOT EXISTS `inventory_adjustment_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `inventory_adjustment_id` int DEFAULT NULL,
  `product_variant_id` int DEFAULT NULL,
  `batch_number` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `serial_number` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `location_id` int DEFAULT NULL,
  `bin_location` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `current_quantity` decimal(16,4) DEFAULT NULL,
  `counted_quantity` decimal(16,4) DEFAULT NULL,
  `adjustment_quantity` decimal(16,4) DEFAULT NULL,
  `unit_cost` decimal(16,4) DEFAULT NULL,
  `adjustment_value` decimal(16,4) DEFAULT NULL,
  `reason_code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `inventory_adjustment_items`
--

INSERT INTO `inventory_adjustment_items` (`id`, `inventory_adjustment_id`, `product_variant_id`, `batch_number`, `serial_number`, `location_id`, `bin_location`, `current_quantity`, `counted_quantity`, `adjustment_quantity`, `unit_cost`, `adjustment_value`, `reason_code`, `notes`, `created_at`, `updated_at`) VALUES
(1, 1, 1, NULL, NULL, NULL, NULL, 100.0000, 95.0000, -5.0000, 50.0000, -250.0000, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `inventory_adjustment_lines`
--

CREATE TABLE IF NOT EXISTS `inventory_adjustment_lines` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `inventory_adjustment_header_id` bigint UNSIGNED NOT NULL,
  `company_id` bigint UNSIGNED NOT NULL,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `warehouse_id` bigint UNSIGNED NOT NULL,
  `warehouse_bin_id` bigint UNSIGNED DEFAULT NULL,
  `stock_uom` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `current_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `counted_qty` decimal(15,3) NOT NULL,
  `difference_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `valuation_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `difference_value` decimal(15,2) NOT NULL DEFAULT '0.00',
  `batch_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `manufacturing_date` date DEFAULT NULL,
  `condition_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'GOOD',
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_movements`
--

CREATE TABLE IF NOT EXISTS `inventory_movements` (
  `id` int NOT NULL AUTO_INCREMENT,
  `transaction_number` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `product_variant_id` int DEFAULT NULL,
  `warehouse_id` int DEFAULT NULL,
  `movement_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `movement_category` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `quantity` decimal(16,4) DEFAULT NULL,
  `unit_cost` decimal(16,4) DEFAULT NULL,
  `total_cost` decimal(16,4) DEFAULT NULL,
  `reference_document_type` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `reference_document_number` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `reference_document_id` int DEFAULT NULL,
  `movement_date` datetime DEFAULT NULL,
  `batch_number` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `serial_number` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `expiry_date` datetime DEFAULT NULL,
  `location_id` int DEFAULT NULL,
  `bin_location` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `from_warehouse_id` int DEFAULT NULL,
  `to_warehouse_id` int DEFAULT NULL,
  `reason_code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `approved_by` int DEFAULT NULL,
  `approved_at` datetime DEFAULT NULL,
  `status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `created_by` int DEFAULT NULL,
  `updated_by` int DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `inventory_movements`
--

INSERT INTO `inventory_movements` (`id`, `transaction_number`, `product_variant_id`, `warehouse_id`, `movement_type`, `movement_category`, `quantity`, `unit_cost`, `total_cost`, `reference_document_type`, `reference_document_number`, `reference_document_id`, `movement_date`, `batch_number`, `serial_number`, `expiry_date`, `location_id`, `bin_location`, `from_warehouse_id`, `to_warehouse_id`, `reason_code`, `notes`, `approved_by`, `approved_at`, `status`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, 'MOV001', 1, 1, 'IN', 'purchase_receipt', 100.0000, 50.0000, 5000.0000, NULL, NULL, NULL, '2025-08-08 16:21:47', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'approved', NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `inventory_transfers`
--

CREATE TABLE IF NOT EXISTS `inventory_transfers` (
  `id` int NOT NULL AUTO_INCREMENT,
  `transfer_number` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `transfer_date` datetime DEFAULT NULL,
  `from_warehouse_id` int DEFAULT NULL,
  `to_warehouse_id` int DEFAULT NULL,
  `transfer_type` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `priority` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `total_items` int DEFAULT NULL,
  `total_transfer_value` decimal(16,4) DEFAULT NULL,
  `reference_document` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `requested_by` int DEFAULT NULL,
  `approved_by` int DEFAULT NULL,
  `received_by` int DEFAULT NULL,
  `approved_at` datetime DEFAULT NULL,
  `shipped_at` datetime DEFAULT NULL,
  `received_at` datetime DEFAULT NULL,
  `created_by` int DEFAULT NULL,
  `updated_by` int DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `inventory_transfers`
--

INSERT INTO `inventory_transfers` (`id`, `transfer_number`, `transfer_date`, `from_warehouse_id`, `to_warehouse_id`, `transfer_type`, `priority`, `total_items`, `total_transfer_value`, `reference_document`, `notes`, `status`, `requested_by`, `approved_by`, `received_by`, `approved_at`, `shipped_at`, `received_at`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, 'TRF001', '2025-08-08 16:23:34', 1, 2, 'inter-warehouse', NULL, 3, 1500.0000, NULL, NULL, 'shipped', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `inventory_transfer_headers`
--

CREATE TABLE IF NOT EXISTS `inventory_transfer_headers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `document_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `posting_date` date NOT NULL,
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'DRAFT',
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `submitted_at` timestamp NULL DEFAULT NULL,
  `submitted_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `cancelled_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cancellation_reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `inventory_transfer_headers_document_number_unique` (`document_number`),
  KEY `idx_ith_company_posting` (`company_id`,`posting_date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_transfer_items`
--

CREATE TABLE IF NOT EXISTS `inventory_transfer_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `inventory_transfer_id` int DEFAULT NULL,
  `product_variant_id` int DEFAULT NULL,
  `batch_number` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `serial_number` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `from_location_id` int DEFAULT NULL,
  `to_location_id` int DEFAULT NULL,
  `from_bin_location` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `to_bin_location` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `requested_quantity` decimal(16,4) DEFAULT NULL,
  `transferred_quantity` decimal(16,4) DEFAULT NULL,
  `received_quantity` decimal(16,4) DEFAULT NULL,
  `unit_cost` decimal(16,4) DEFAULT NULL,
  `transfer_value` decimal(16,4) DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `inventory_transfer_items`
--

INSERT INTO `inventory_transfer_items` (`id`, `inventory_transfer_id`, `product_variant_id`, `batch_number`, `serial_number`, `from_location_id`, `to_location_id`, `from_bin_location`, `to_bin_location`, `requested_quantity`, `transferred_quantity`, `received_quantity`, `unit_cost`, `transfer_value`, `notes`, `created_at`, `updated_at`) VALUES
(1, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 50.0000, 50.0000, 50.0000, 30.0000, 1500.0000, NULL, NULL, NULL);

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

--
-- Table structure for table `inventory_transfer_lines`
--

CREATE TABLE IF NOT EXISTS `inventory_transfer_lines` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `inventory_transfer_header_id` bigint UNSIGNED NOT NULL,
  `company_id` bigint UNSIGNED NOT NULL,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `source_warehouse_id` bigint UNSIGNED NOT NULL,
  `source_warehouse_bin_id` bigint UNSIGNED DEFAULT NULL,
  `target_warehouse_id` bigint UNSIGNED NOT NULL,
  `target_warehouse_bin_id` bigint UNSIGNED DEFAULT NULL,
  `stock_uom` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `qty` decimal(15,3) NOT NULL,
  `valuation_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `amount` decimal(15,2) NOT NULL DEFAULT '0.00',
  `batch_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `manufacturing_date` date DEFAULT NULL,
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inventory_transfer_lines_inventory_transfer_header_id_foreign` (`inventory_transfer_header_id`),
  KEY `inventory_transfer_lines_product_variant_id_foreign` (`product_variant_id`),
  KEY `inventory_transfer_lines_source_warehouse_id_foreign` (`source_warehouse_id`),
  KEY `inventory_transfer_lines_source_warehouse_bin_id_foreign` (`source_warehouse_bin_id`),
  KEY `inventory_transfer_lines_target_warehouse_id_foreign` (`target_warehouse_id`),
  KEY `inventory_transfer_lines_target_warehouse_bin_id_foreign` (`target_warehouse_bin_id`),
  KEY `idx_itl_comp_var_src_tgt` (`company_id`,`product_variant_id`,`source_warehouse_id`,`target_warehouse_id`),
  KEY `idx_itl_batch_serial` (`batch_no`,`serial_no`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `jobs`
--

CREATE TABLE IF NOT EXISTS `jobs` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `queue` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint UNSIGNED NOT NULL,
  `reserved_at` int UNSIGNED DEFAULT NULL,
  `available_at` int UNSIGNED NOT NULL,
  `created_at` int UNSIGNED NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index` (`queue`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `job_batches`
--

CREATE TABLE IF NOT EXISTS `job_batches` (
  `id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_jobs` int NOT NULL,
  `pending_jobs` int NOT NULL,
  `failed_jobs` int NOT NULL,
  `failed_job_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `options` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `cancelled_at` int DEFAULT NULL,
  `created_at` int NOT NULL,
  `finished_at` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `migrations`
--

CREATE TABLE IF NOT EXISTS `migrations` (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `migration` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=140 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '0001_01_01_000000_create_users_table', 1),
(2, '0001_01_01_000001_create_cache_table', 1),
(3, '0001_01_01_000002_create_jobs_table', 1),
(4, '2025_07_07_150245_create_attribute_masters_table', 2),
(5, '2025_07_07_150303_create_attribute_values_table', 2),
(6, '2025_07_07_150303_create_category_attributes_table', 2),
(7, '2025_07_07_150304_create_category_types_table', 2),
(8, '2025_07_07_150304_create_company_infos_table', 2),
(9, '2025_07_07_150305_create_number_series_table', 2),
(10, '2025_07_07_150305_create_plant_departments_table', 2),
(11, '2025_07_07_150306_create_plant_masters_table', 2),
(12, '2025_07_07_150307_create_plant_shifts_table', 2),
(13, '2025_07_07_150307_create_plant_work_centers_table', 2),
(14, '2025_07_07_150308_create_product_categories_table', 2),
(15, '2025_07_07_150308_create_product_masters_table', 2),
(16, '2025_07_07_150309_create_product_variants_table', 2),
(17, '2025_07_07_150310_create_product_variant_attributes_table', 2),
(18, '2025_07_07_152840_create_permission_tables', 2),
(19, '2025_07_15_142113_create_vendor_master_table', 2),
(20, '2025_07_15_142123_create_customer_master_table', 2),
(21, '2025_07_15_142138_create_address_table', 2),
(22, '2025_07_15_142217_create_gstin_table', 2),
(23, '2025_07_15_142241_create_contact_table', 3),
(24, '2025_07_15_142251_create_bank_table', 4),
(25, '2025_07_15_142302_create_account_ledger_table', 5),
(26, '2025_07_15_142311_create_account_ledger_group_table', 6),
(27, '2025_07_15_142324_create_account_transaction_table', 7),
(28, '2025_07_15_142335_create_account_transaction_line_table', 8),
(29, '2025_07_15_143353_fix_contact_and_bank_tables', 9),
(30, '2025_07_15_145305_fix_account_ledger_group_reference', 5),
(31, '2025_07_16_120041_update_product_masters_table_structure', 10),
(32, '2025_07_16_120736_update_product_variants_add_uom_foreign_key', 11),
(33, '2025_07_16_122407_create_uom_master_table', 12),
(34, '2025_07_16_123331_update_product_masters_uom_references', 13),
(35, '2025_07_16_123724_fix_product_masters_uom_foreign_keys', 14),
(36, '2025_07_16_124253_fix_all_tables_add_auto_increment_ids', 6),
(37, '2025_07_16_124917_fix_account_ledger_group_reference_only', 7),
(38, '2025_07_16_125345_fix_product_masters_add_auto_increment_id', 15),
(39, '2025_07_16_130000_add_category_id_to_product_masters', 16),
(40, '2025_07_16_143211_fix_product_masters_add_category_id_only', 17),
(41, '2025_07_17_140000_create_product_variant_purchase_prices_table', 18),
(42, '2025_07_17_140100_create_product_variant_sales_prices_table', 19),
(43, '2025_07_17_150000_create_brand_master_table', 20),
(44, '2025_07_17_150100_add_brand_id_to_product_masters', 21),
(45, '2025_07_17_150200_add_brand_id_to_product_variants', 22),
(46, '2025_07_17_150300_create_brand_vendor_table', 23),
(47, '2025_07_17_150400_create_brand_customer_table', 24),
(48, '2025_07_17_160000_create_hsn_codes_table', 25),
(49, '2025_07_17_160100_add_hsn_id_to_product_masters', 26),
(50, '2025_07_17_160200_add_hsn_id_to_product_variants', 27),
(51, '2025_07_17_170000_create_company_master_table', 28),
(52, '2025_07_17_170100_create_warehouse_master_table', 29),
(53, '2025_07_17_170200_create_category_master_table', 30),
(54, '2025_07_17_170300_create_product_attributes_table', 31),
(55, '2025_07_17_170400_create_product_attribute_values_table', 32),
(56, '2025_07_17_180000_enhance_product_masters_table', 33),
(57, '2025_07_17_180100_enhance_product_variants_table', 34),
(58, '2025_07_17_180200_enhance_vendor_master_table', 35),
(59, '2025_07_17_180300_enhance_customer_master_table', 36),
(60, '2025_07_17_180400_enhance_address_table', 37),
(61, '2025_07_17_180500_enhance_contact_table', 38),
(62, '2025_07_17_180600_enhance_bank_table', 39),
(63, '2025_07_17_180700_enhance_gstin_table', 40),
(64, '2025_07_17_181000_create_stock_ledger_table', 41),
(65, '2025_07_17_181100_create_stock_balance_table', 42),
(66, '2025_07_17_181200_create_product_variant_attributes_table', 8),
(67, '2025_07_17_181300_create_price_lists_table', 43),
(68, '2025_07_17_181400_create_terms_conditions_table', 43),
(69, '2025_07_17_190000_add_company_id_to_critical_tables', 43),
(70, '2025_07_17_190100_assign_default_company_to_existing_data', 43),
(71, '2025_07_17_200000_enhance_warehouse_plant_relationship', 43),
(72, '2025_07_17_220000_create_uom_master_table', 9),
(73, '2025_07_17_220001_create_uom_conversion_table', 44),
(74, '2025_07_17_220002_enhance_uom_master_table', 44),
(75, '2025_07_17_230000_refactor_uom_conversion_to_use_ids', 44),
(76, '2025_07_17_230001_cleanup_uom_conversion_columns', 10),
(77, '2025_07_25_100000_create_state_master_table', 45),
(78, '2025_07_25_100001_update_company_infos_state_to_foreign_key', 46),
(79, '2025_07_25_100002_update_plant_masters_state_to_foreign_key', 47),
(80, '2025_07_25_100003_update_address_state_to_foreign_key', 48),
(81, '2025_07_25_100004_update_account_ledger_state_to_foreign_key', 49),
(82, '2025_07_25_100005_update_gstin_state_to_foreign_key', 50),
(85, '2025_07_25_100006_remove_gstin_from_company_master', 51),
(86, '2025_07_25_100007_remove_gstin_column_raw_sql', 52),
(87, '2025_07_26_100709_create_company_gstin_table', 53),
(88, '2025_07_29_174627_make_legal_name_nullable_in_company_gstin_table', 54),
(89, '2025_08_12_100000_alter_plants_enhancements', 54),
(90, '2025_08_12_110000_create_warehouse_master_table', 54),
(91, '2025_08_12_110000_create_warehouse_masters_table', 54),
(92, '2025_08_14_000001_update_plant_masters_add_state_id_and_fix_company_fk', 55),
(93, '2025_08_14_000100_create_department_masters_table', 55),
(94, '2025_08_14_000110_create_plant_department_map_table', 56),
(95, '2025_08_14_001000_add_department_id_to_warehouse_master_table', 57),
(96, '2025_08_22_001500_update_address_fields_in_warehouse_master_table', 58),
(97, '2025_08_23_120500_add_state_code_to_warehouse_master_table', 59),
(98, '2025_08_23_170500_alter_warehouse_master_manager_id_not_name', 60),
(99, '2025_08_24_090500_add_manager_user_id_to_warehouse_master', 60),
(100, '2025_08_24_094500_alter_warehouse_master_audit_to_int', 61),
(101, '2025_08_24_100500_change_capacity_info_json_to_varchar', 62),
(102, '2025_08_24_101500_alter_plant_shifts_standardize', 63),
(103, '2025_08_24_100001_alter_plant_work_centers_add_standards_fields', 64),
(104, '2025_08_24_100002_create_shift_work_center_pivot_table', 64),
(105, '2025_08_28_120000_create_shift_work_center_table', 65),
(106, '2025_08_28_120100_create_plant_shift_department_table', 65),
(107, '2025_08_28_130000_update_plant_shift_department_drop_policy', 66),
(108, '2025_08_29_151327_create_permission_tables', 67),
(109, '2025_08_29_160500_add_company_columns_to_spatie_tables', 68),
(110, '2025_08_29_190000_create_modules_table', 69),
(111, '2025_08_29_193000_create_modules_table', 70),
(112, '2025_09_01_000100_update_spatie_teams_company_scoping', 71),
(113, '2025_09_01_000200_create_role_permission_audits_table', 72),
(114, '2025_09_08_000001_add_deleted_at_to_company_master_table', 73),
(115, '2025_09_10_120000_create_warehouse_bins_table', 74),
(116, '2025_09_11_150000_create_opening_stock_tables', 75),
(117, '2025_09_11_150100_create_inventory_adjustment_tables', 76),
(118, '2025_09_11_150200_create_inventory_transfer_tables', 76),
(119, '2025_09_11_150300_alter_stock_tables_add_bin_batch_serial', 76),
(120, '2025_09_16_120000_add_soft_deletes_to_opening_stock_tables', 76),
(121, '2025_09_19_000001_create_opening_stock_line_uoms_table', 77),
(122, '2025_09_21_120000_create_stock_ledger_uoms_table', 78),
(123, '2025_09_21_120100_create_stock_balance_uoms_table', 79),
(124, '2025_09_21_160000_create_stock_ledger_uoms_table', 80),
(125, '2025_09_21_160100_create_stock_balance_uoms_table', 81),
(126, '2025_01_08_120000_create_vendor_master_table', 82),
(127, '2025_09_27_120000_create_countries_states_districts_tables', 83),
(128, '2025_09_27_120050_add_soft_deletes_to_location_tables', 84),
(129, '2025_09_27_120100_alter_users_add_profile_fields', 85),
(130, '2025_09_28_120000_alter_users_add_is_active_and_audit_columns', 86),
(131, '2025_09_28_130000_alter_users_add_soft_deletes_and_deleted_by', 87),
(132, '2025_09_28_140000_create_settings_table', 88),
(133, '2025_09_29_120000_add_password_set_at_to_users_table', 89),
(134, '2025_09_30_000000_add_login_lock_fields_to_users_table', 89),
(135, '2025_09_30_010000_create_system_audit_logs_table', 89),
(136, '2025_09_30_202530_add_warehouse_id_to_opening_stock_headers_table', 89),
(137, '2025_10_01_161430_remove_old_columns_and_add_base_uom_id_to_opening_stock_lines', 90),
(138, '2025_10_01_182838_fix_stock_ledger_user_columns_to_bigint', 91),
(139, '2025_10_01_182852_fix_stock_balance_user_columns_to_bigint', 91);

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

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE IF NOT EXISTS `model_has_permissions` (
  `permission_id` bigint UNSIGNED NOT NULL,
  `model_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint UNSIGNED NOT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  UNIQUE KEY `model_has_permissions_model_perm_company_unique` (`model_type`,`model_id`,`permission_id`,`company_id`),
  KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`),
  KEY `model_has_permissions_team_foreign_key_index` (`company_id`),
  KEY `model_has_permissions_company_id_index` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE IF NOT EXISTS `model_has_roles` (
  `role_id` bigint UNSIGNED NOT NULL,
  `model_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint UNSIGNED NOT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  UNIQUE KEY `model_has_roles_model_role_company_unique` (`model_type`,`model_id`,`role_id`,`company_id`),
  KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`),
  KEY `model_has_roles_team_foreign_key_index` (`company_id`),
  KEY `model_has_roles_company_id_index` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`, `company_id`) VALUES
(1, 'App\\Models\\User', 1, 1),
(4, 'App\\Models\\User', 2, 1),
(5, 'App\\Models\\User', 2, 2);

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

--
-- Table structure for table `modules`
--

CREATE TABLE IF NOT EXISTS `modules` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `slug` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `label` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `icon` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `route_prefix` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parent_id` bigint UNSIGNED DEFAULT NULL,
  `sort_order` int UNSIGNED NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `modules_slug_unique` (`slug`),
  KEY `modules_parent_id_foreign` (`parent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=294 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `modules`
--

INSERT INTO `modules` (`id`, `slug`, `label`, `icon`, `route_prefix`, `parent_id`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'masters', 'Masters', 'fa-database', NULL, NULL, 10, '2025-08-31 02:30:15', '2025-08-31 11:46:09'),
(23, 'inventory', 'Inventory Management', NULL, NULL, NULL, 20, '2025-08-31 04:00:00', '2025-08-31 04:00:00'),
(215, 'sales-billing-sales-invoices', 'Sales [Billing > Sales Invoices]', NULL, NULL, 43, 1, '2025-09-02 11:15:01', '2025-09-02 11:15:01'),
(217, 'sales-billing-debit-notes', 'Sales [Billing > Debit Notes]', NULL, NULL, 43, 3, '2025-09-02 11:15:05', '2025-09-02 11:15:05'),
(212, 'sales-sales-orders', 'Sales [Sales Orders]', NULL, NULL, 36, 1, '2025-09-02 11:14:54', '2025-09-02 11:14:54'),
(213, 'sales-fulfillment-pick-lists', 'Sales [Fulfillment > Pick Lists]', NULL, NULL, 211, 1, '2025-09-02 11:14:56', '2025-09-02 11:14:56'),
(214, 'sales-fulfillment-delivery-notes', 'Sales [Fulfillment > Delivery Notes]', NULL, NULL, 211, 2, '2025-09-02 11:14:58', '2025-09-02 11:14:58'),
(211, 'sales-fulfillment', 'Sales [Fulfillment]', NULL, NULL, 36, 2, '2025-09-02 11:14:52', '2025-09-02 11:14:52'),
(216, 'sales-billing-credit-notes', 'Sales [Billing > Credit Notes]', NULL, NULL, 43, 2, '2025-09-02 11:15:03', '2025-09-02 11:15:03'),
(36, 'sales', 'Sales O2C', NULL, NULL, NULL, 30, '2025-08-31 04:35:11', '2025-08-31 04:35:11'),
(223, 'purchase-purchase-orders', 'Purchase [Purchase Orders]', NULL, NULL, 80, 1, '2025-09-03 00:22:16', '2025-09-03 00:22:16'),
(224, 'purchase-receiving-goods-receipt', 'Purchase [Receiving > Goods Receipt]', NULL, NULL, 222, 1, '2025-09-03 00:22:17', '2025-09-03 00:22:17'),
(222, 'purchase-receiving', 'Purchase [Receiving]', NULL, NULL, 80, 2, '2025-09-03 00:22:13', '2025-09-03 00:22:13'),
(43, 'sales-billing', 'Sales [Billing]', NULL, NULL, 36, 3, '2025-08-31 04:35:15', '2025-08-31 04:35:15'),
(226, 'purchase-receiving-goods-return', 'Purchase [Receiving > Goods Return]', NULL, NULL, 222, 3, '2025-09-03 00:22:21', '2025-09-03 00:22:21'),
(47, 'sales-pricing', 'Sales [Pricing]', NULL, NULL, 36, 4, '2025-08-31 04:35:17', '2025-08-31 04:35:17'),
(225, 'purchase-receiving-quality-inspection', 'Purchase [Receiving > Quality Inspection]', NULL, NULL, 222, 2, '2025-09-03 00:22:19', '2025-09-03 00:22:19'),
(50, 'dashboard', 'Dashboard', 'fa-chart-pie', NULL, NULL, 1, '2025-08-31 05:58:26', '2025-08-31 05:58:26'),
(51, 'dashboard-center', 'Dashboard [Center]', 'fa-tachometer-alt', 'dashboard', 50, 1, '2025-08-31 05:58:26', '2025-08-31 05:58:26'),
(52, 'dashboard-executive-overview', 'Dashboard [Executive Overview]', 'fa-briefcase', NULL, 50, 2, '2025-08-31 05:58:28', '2025-08-31 05:58:28'),
(54, 'dashboard-executive-overview-inventory-health', 'Dashboard [Executive Overview > Inventory Health]', NULL, 'dashboard/executive-overview/inventory-health', 52, 2, '2025-08-31 05:58:31', '2025-08-31 05:58:31'),
(55, 'dashboard-executive-overview-sales-performance', 'Dashboard [Executive Overview > Sales Performance]', NULL, 'dashboard/executive-overview/sales-performance', 52, 3, '2025-08-31 05:58:32', '2025-08-31 05:58:32'),
(56, 'dashboard-executive-overview-purchase-analytics', 'Dashboard [Executive Overview > Purchase Analytics]', NULL, 'dashboard/executive-overview/purchase-analytics', 52, 4, '2025-08-31 05:58:34', '2025-08-31 05:58:34'),
(57, 'dashboard-executive-overview-production-summary', 'Dashboard [Executive Overview > Production Summary]', NULL, 'dashboard/executive-overview/production-summary', 52, 5, '2025-08-31 05:58:35', '2025-08-31 05:58:35'),
(58, 'dashboard-alerts', 'Dashboard [Alerts]', 'fa-bell', NULL, 50, 3, '2025-08-31 05:58:36', '2025-08-31 05:58:36'),
(59, 'dashboard-alerts-low-stock-alerts', 'Dashboard [Alerts > Low Stock Alerts]', NULL, 'dashboard/alerts/low-stock-alerts', 58, 1, '2025-08-31 05:58:37', '2025-08-31 05:58:37'),
(60, 'dashboard-alerts-pending-approvals', 'Dashboard [Alerts > Pending Approvals (SO/PO)]', NULL, 'dashboard/alerts/pending-approvals', 58, 2, '2025-08-31 05:58:38', '2025-08-31 05:58:38'),
(61, 'dashboard-alerts-unbilled-deliveries', 'Dashboard [Alerts > Unbilled Deliveries]', NULL, 'dashboard/alerts/unbilled-deliveries', 58, 3, '2025-08-31 05:58:39', '2025-08-31 05:58:39'),
(62, 'dashboard-alerts-uninvoiced-grns', 'Dashboard [Alerts > Uninvoiced GRNs]', NULL, 'dashboard/alerts/uninvoiced-grns', 58, 4, '2025-08-31 05:58:39', '2025-08-31 05:58:39'),
(63, 'dashboard-alerts-payment-due', 'Dashboard [Alerts > Payment Due]', NULL, 'dashboard/alerts/payment-due', 58, 5, '2025-08-31 05:58:41', '2025-08-31 05:58:41'),
(180, 'masters-organization-company-masters', 'Masters [Organization > Company Masters]', NULL, NULL, 176, 1, '2025-09-02 09:41:24', '2025-09-02 09:41:24'),
(179, 'masters-business-partners', 'Masters [Business Partners]', NULL, NULL, 1, 3, '2025-09-02 09:41:16', '2025-09-02 09:41:16'),
(178, 'masters-product-management', 'Masters [Product/Items]', NULL, NULL, 1, 2, '2025-09-02 09:41:05', '2025-09-02 09:41:05'),
(177, 'masters-organization-departments', 'Masters [Organization > Departments]', NULL, NULL, 176, 5, '2025-09-02 09:41:00', '2025-09-02 09:41:00'),
(176, 'masters-organization', 'Masters [Organization]', NULL, NULL, 1, 1, '2025-09-02 09:40:51', '2025-09-02 09:40:51'),
(80, 'purchase', 'Purchase P2P', 'fa-shopping-cart', NULL, NULL, 40, '2025-08-31 06:01:20', '2025-08-31 06:01:20'),
(239, 'manufacturing-engineering-routings', 'Manufacturing [Engineering > Routings]', NULL, NULL, 236, 2, '2025-09-03 00:37:18', '2025-09-03 00:37:18'),
(240, 'manufacturing-planning-mrp', 'Manufacturing [Planning > MRP]', NULL, NULL, 237, 3, '2025-09-03 00:37:20', '2025-09-03 00:37:20'),
(241, 'manufacturing-tracking-reports', 'Manufacturing [Tracking & Reports]', NULL, NULL, 235, 4, '2025-09-03 00:37:22', '2025-09-03 00:37:22'),
(235, 'manufacturing', 'Manufacturing', NULL, NULL, NULL, 50, '2025-09-03 00:37:13', '2025-09-03 00:37:13'),
(236, 'manufacturing-engineering', 'Manufacturing [Engineering]', NULL, NULL, 235, 1, '2025-09-03 00:37:13', '2025-09-03 00:37:13'),
(237, 'manufacturing-planning', 'Manufacturing [Planning]', NULL, NULL, 235, 2, '2025-09-03 00:37:15', '2025-09-03 00:37:15'),
(238, 'manufacturing-execution', 'Manufacturing [Execution]', NULL, NULL, 235, 3, '2025-09-03 00:37:17', '2025-09-03 00:37:17'),
(88, 'purchase-billing', 'Purchase [Billing]', 'fa-file-invoice-dollar', NULL, 80, 3, '2025-08-31 06:01:28', '2025-08-31 06:01:28'),
(245, 'manufacturing-planning-materials-availability', 'Manufacturing [Planning > Materials Availability]', NULL, NULL, 237, 6, '2025-09-03 00:37:29', '2025-09-03 00:37:29'),
(244, 'manufacturing-planning-production-schedule', 'Manufacturing [Planning > Production Schedule]', NULL, NULL, 237, 5, '2025-09-03 00:37:27', '2025-09-03 00:37:27'),
(243, 'manufacturing-planning-capacity-planning', 'Manufacturing [Planning > Capacity Planning]', NULL, NULL, 237, 4, '2025-09-03 00:37:26', '2025-09-03 00:37:26'),
(93, 'purchase-pricing', 'Purchase [Pricing]', 'fa-tags', NULL, 80, 4, '2025-08-31 06:01:35', '2025-08-31 06:01:35'),
(242, 'manufacturing-planning-production-plan', 'Manufacturing [Planning > Production Plan]', NULL, NULL, 237, 2, '2025-09-03 00:37:24', '2025-09-03 00:37:24'),
(263, 'hr-attendance-leave-attendance-tracking', 'HR [Attendance & Leave > Attendance Tracking]', NULL, NULL, 257, 1, '2025-09-03 01:12:23', '2025-09-03 01:12:23'),
(264, 'hr-attendance-leave-leave-applications', 'HR [Attendance & Leave > Leave Applications]', NULL, NULL, 257, 2, '2025-09-03 01:12:25', '2025-09-03 01:12:25'),
(259, 'hr-payroll-salary-slips', 'HR [Payroll > Salary Slips]', NULL, NULL, 255, 2, '2025-09-03 01:12:16', '2025-09-03 01:12:16'),
(260, 'hr-employee-management-employee-directory', 'HR [Employee Management > Employee Directory]', NULL, NULL, 256, 1, '2025-09-03 01:12:18', '2025-09-03 01:12:18'),
(261, 'hr-employee-management-employee-documents', 'HR [Employee Management > Employee Documents]', NULL, NULL, 256, 2, '2025-09-03 01:12:20', '2025-09-03 01:12:20'),
(262, 'hr-employee-management-department-assignment', 'HR [Employee Management > Department Assignment]', NULL, NULL, 256, 3, '2025-09-03 01:12:21', '2025-09-03 01:12:21'),
(275, 'system-administration-manage-users-assign-permissions', 'System Administration [Manage Users > Assign Permissions]', NULL, NULL, 269, 4, '2025-09-03 01:55:27', '2025-09-03 01:55:27'),
(254, 'hr', 'Human Resource (HCM)', NULL, NULL, NULL, 60, '2025-09-03 01:12:09', '2025-09-03 01:12:09'),
(255, 'hr-payroll', 'HR [Payroll]', NULL, NULL, 254, 3, '2025-09-03 01:12:10', '2025-09-03 01:12:10'),
(256, 'hr-employee-management', 'HR [Employee Management]', NULL, NULL, 254, 1, '2025-09-03 01:12:12', '2025-09-03 01:12:12'),
(257, 'hr-attendance-leave', 'HR [Attendance & Leave]', NULL, NULL, 254, 2, '2025-09-03 01:12:13', '2025-09-03 01:12:13'),
(258, 'hr-payroll-salary-structure', 'HR [Payroll > Salary Structure]', NULL, NULL, 255, 1, '2025-09-03 01:12:15', '2025-09-03 01:12:15'),
(266, 'hr-attendance-leave-attendance-reports', 'HR [Attendance & Leave > Attendance Reports]', NULL, NULL, 257, 4, '2025-09-03 01:12:28', '2025-09-03 01:12:28'),
(265, 'hr-attendance-leave-leave-approvals', 'HR [Attendance & Leave > Leave Approvals]', NULL, NULL, 257, 3, '2025-09-03 01:12:26', '2025-09-03 01:12:26'),
(267, 'reports', 'Reports & Analytics', NULL, NULL, NULL, 70, '2025-09-03 01:22:56', '2025-09-03 01:22:56'),
(268, 'reports-production-production-summary', 'Reports [Production > Production Summary]', NULL, NULL, 141, 1, '2025-09-03 01:22:57', '2025-09-03 01:22:57'),
(272, 'system-administration-system-monitoring', 'System Administration [System Monitoring]', NULL, NULL, 147, 4, '2025-09-03 01:55:23', '2025-09-03 01:55:23'),
(273, 'system-administration-manage-users-user-accounts', 'System Administration [Manage Users > User Accounts]', NULL, NULL, 269, 1, '2025-09-03 01:55:24', '2025-09-03 01:55:24'),
(274, 'system-administration-manage-users-assign-role', 'System Administration [Manage Users > Assign Role]', NULL, NULL, 269, 3, '2025-09-03 01:55:25', '2025-09-03 01:55:25'),
(270, 'system-administration-system-configuration', 'System Administration [System Configuration]', NULL, NULL, 147, 2, '2025-09-03 01:55:20', '2025-09-03 01:55:20'),
(130, 'reports-executive', 'Reports [Executive]', 'fa-briefcase', NULL, 267, 1, '2025-08-31 07:33:46', '2025-08-31 07:33:46'),
(271, 'system-administration-data-management', 'System Administration [Data Management]', NULL, NULL, 147, 3, '2025-09-03 01:55:21', '2025-09-03 01:55:21'),
(132, 'reports-inventory', 'Reports [Inventory]', 'fa-warehouse', NULL, 267, 2, '2025-08-31 07:33:52', '2025-08-31 07:33:52'),
(133, 'reports-inventory-stock-position', 'Reports [Inventory > Stock Position]', NULL, 'reports/inventory/stock-position', 132, 1, '2025-08-31 07:33:54', '2025-08-31 07:33:54'),
(134, 'reports-inventory-stock-ledger', 'Reports [Inventory > Movement (Stock Ledger)]', NULL, 'reports/inventory/stock-ledger', 132, 2, '2025-08-31 07:33:56', '2025-08-31 07:33:56'),
(135, 'reports-sales', 'Reports [Sales]', 'fa-shopping-cart', NULL, 267, 3, '2025-08-31 07:33:58', '2025-08-31 07:33:58'),
(136, 'reports-sales-performance', 'Reports [Sales > Sales Performance]', NULL, 'reports/sales/sales-performance', 135, 1, '2025-08-31 07:33:59', '2025-08-31 07:33:59'),
(137, 'reports-sales-unbilled-deliveries', 'Reports [Sales > Unbilled Deliveries]', NULL, 'reports/sales/unbilled-deliveries', 135, 2, '2025-08-31 07:34:01', '2025-08-31 07:34:01'),
(138, 'reports-purchase', 'Reports [Purchase]', 'fa-shopping-bag', NULL, 267, 4, '2025-08-31 07:34:04', '2025-08-31 07:34:04'),
(139, 'reports-purchase-grn-register', 'Reports [Purchase > GRN Register]', NULL, 'reports/purchase/grn-register', 138, 1, '2025-08-31 07:34:08', '2025-08-31 07:34:08'),
(140, 'reports-purchase-uninvoiced-grns', 'Reports [Purchase > Uninvoiced GRNs]', NULL, 'reports/purchase/uninvoiced-grns', 138, 2, '2025-08-31 07:34:10', '2025-08-31 07:34:10'),
(141, 'reports-production', 'Reports [Production]', 'fa-industry', NULL, 267, 5, '2025-08-31 07:34:12', '2025-08-31 07:34:12'),
(269, 'system-administration-manage-users', 'System Administration [Manage Users]', NULL, NULL, 147, 1, '2025-09-03 01:55:19', '2025-09-03 01:55:19'),
(143, 'reports-production-wip-status', 'Reports [Production > WIP Status]', NULL, 'reports/production/wip-status', 141, 2, '2025-08-31 07:34:16', '2025-08-31 07:34:16'),
(144, 'reports-hr', 'Reports [HR]', 'fa-user-friends', NULL, 267, 6, '2025-08-31 07:34:18', '2025-08-31 07:34:18'),
(145, 'reports-hr-attendance-summary', 'Reports [HR > Attendance Summary]', NULL, 'reports/hr/attendance-summary', 144, 1, '2025-08-31 07:34:20', '2025-08-31 07:34:20'),
(146, 'reports-hr-leave-analysis', 'Reports [HR > Leave Analysis]', NULL, 'reports/hr/leave-analysis', 144, 2, '2025-08-31 07:34:22', '2025-08-31 07:34:22'),
(147, 'system-administration', 'System Administration', 'fa-tools', NULL, NULL, 80, '2025-08-31 08:25:26', '2025-08-31 08:25:26'),
(175, 'dashboard-executive-overview-financial-summary', 'Dashboard [Executive Overview > Financial Summary (AR/AP)]', NULL, NULL, 52, 1, '2025-09-02 05:42:04', '2025-09-02 05:42:04'),
(181, 'masters-organization-plant-masters', 'Masters [Organization > Plant Masters]', NULL, NULL, 176, 2, '2025-09-02 09:41:27', '2025-09-02 09:41:27'),
(182, 'masters-organization-warehouse-masters', 'Masters [Organization > Warehouse Masters]', NULL, NULL, 176, 3, '2025-09-02 09:41:30', '2025-09-02 09:41:30'),
(183, 'masters-organization-work-centers', 'Masters [Organization > Work Centers]', NULL, NULL, 176, 4, '2025-09-02 09:41:32', '2025-09-02 09:41:32'),
(184, 'masters-organization-plant-shifts', 'Masters [Organization > Plant Shifts]', NULL, NULL, 176, 6, '2025-09-02 09:41:35', '2025-09-02 09:41:35'),
(185, 'masters-organization-company-gstin', 'Masters [Organization > Company GSTIN]', NULL, NULL, 176, 7, '2025-09-02 09:41:37', '2025-09-02 09:41:37'),
(186, 'masters-product-management-product-masters', 'Masters [Product/Items > Product Masters]', NULL, NULL, 178, 1, '2025-09-02 09:41:39', '2025-09-02 09:41:39'),
(187, 'masters-product-management-product-variants', 'Masters [Product/Items > Item Masters]', NULL, NULL, 178, 2, '2025-09-02 09:41:41', '2025-09-02 09:41:41'),
(188, 'masters-product-management-category-management', 'Masters [Product/Items > Category Management]', NULL, NULL, 178, 3, '2025-09-02 09:41:44', '2025-09-02 09:41:44'),
(189, 'masters-product-management-attribute-masters', 'Masters [Product/Items > Attribute Masters]', NULL, NULL, 178, 4, '2025-09-02 09:41:46', '2025-09-02 09:41:46'),
(190, 'masters-product-management-brand-masters', 'Masters [Product/Items > Brand Masters]', NULL, NULL, 178, 6, '2025-09-02 09:41:48', '2025-09-02 09:41:48'),
(191, 'masters-product-management-hsn-masters', 'Masters [Product/Items > HSN Masters]', NULL, NULL, 178, 7, '2025-09-02 09:41:51', '2025-09-02 09:41:51'),
(192, 'masters-business-partners-vendor-masters', 'Masters [Business Partners > Vendor Masters]', NULL, NULL, 179, 1, '2025-09-02 09:41:53', '2025-09-02 09:41:53'),
(193, 'masters-business-partners-customer-masters', 'Masters [Business Partners > Customer Masters]', NULL, NULL, 179, 2, '2025-09-02 09:41:55', '2025-09-02 09:41:55'),
(194, 'masters-business-partners-address-management', 'Masters [Business Partners > Address Management]', NULL, NULL, 179, 3, '2025-09-02 09:41:58', '2025-09-02 09:41:58'),
(195, 'masters-business-partners-contact-management', 'Masters [Business Partners > Contact Management]', NULL, NULL, 179, 4, '2025-09-02 09:42:00', '2025-09-02 09:42:00'),
(196, 'masters-business-partners-banking-details', 'Masters [Business Partners > Banking Details]', NULL, NULL, 179, 5, '2025-09-02 09:42:03', '2025-09-02 09:42:03'),
(197, 'masters-business-partners-gstin-management', 'Masters [Business Partners > GSTIN Management]', NULL, NULL, 179, 6, '2025-09-02 09:42:05', '2025-09-02 09:42:05'),
(198, 'masters-product-management-units-of-measure', 'Masters [Product/Items > Units of Measure]', NULL, NULL, 178, 5, '2025-09-02 09:42:10', '2025-09-02 09:42:10'),
(199, 'inventory-stock-overview', 'Inventory [Stock Overview]', NULL, NULL, 23, 1, '2025-09-02 10:38:36', '2025-09-02 10:38:36'),
(200, 'inventory-stock-transactions', 'Inventory [Stock Transactions]', NULL, NULL, 23, 2, '2025-09-02 10:38:38', '2025-09-02 10:38:38'),
(201, 'inventory-stock-ledger', 'Inventory [Stock Ledger]', NULL, NULL, 23, 3, '2025-09-02 10:38:40', '2025-09-02 10:38:40'),
(202, 'inventory-stock-transactions-stock-receipt', 'Inventory [Stock Transactions > Stock Receipt]', NULL, NULL, 200, 1, '2025-09-02 10:38:42', '2025-09-02 10:38:42'),
(203, 'inventory-stock-transactions-stock-issue', 'Inventory [Stock Transactions > Stock Issue]', NULL, NULL, 200, 2, '2025-09-02 10:38:44', '2025-09-02 10:38:44'),
(204, 'inventory-stock-transactions-stock-transfer', 'Inventory [Stock Transactions > Stock Transfer]', NULL, NULL, 200, 3, '2025-09-02 10:38:47', '2025-09-02 10:38:47'),
(205, 'inventory-stock-transactions-stock-adjustment', 'Inventory [Stock Transactions > Stock Adjustment]', NULL, NULL, 200, 4, '2025-09-02 10:38:49', '2025-09-02 10:38:49'),
(206, 'inventory-stock-ledger-stock-ledger', 'Inventory [Stock Ledger > Stock Ledger]', NULL, NULL, 201, 1, '2025-09-02 10:38:52', '2025-09-02 10:38:52'),
(207, 'inventory-stock-ledger-transaction-history', 'Inventory [Stock Ledger > Transaction History]', NULL, NULL, 201, 2, '2025-09-02 10:38:54', '2025-09-02 10:38:54'),
(208, 'inventory-stock-overview-current-stock-balance', 'Inventory [Stock Overview > Current Stock]', NULL, NULL, 199, 1, '2025-09-02 10:38:56', '2025-09-02 10:38:56'),
(209, 'inventory-stock-overview-warehouse-wise-stock', 'Inventory [Stock Overview > Warehouse-wise]', NULL, NULL, 199, 2, '2025-09-02 10:38:58', '2025-09-02 10:38:58'),
(210, 'inventory-stock-overview-product-wise-stock', 'Inventory [Stock Overview > Product-wise]', NULL, NULL, 199, 3, '2025-09-02 10:39:00', '2025-09-02 10:39:00'),
(218, 'sales-pricing-sales-prices', 'Sales [Pricing > Sales Prices]', NULL, NULL, 47, 2, '2025-09-02 11:15:07', '2025-09-02 11:15:07'),
(219, 'sales-pricing-price-lists-selling', 'Sales [Pricing > Price Lists (Selling)]', NULL, NULL, 47, 1, '2025-09-02 11:15:09', '2025-09-02 11:15:09'),
(220, 'sales-sales-orders-create-sales-order', 'Sales [Sales Orders > Create Sales Order]', NULL, NULL, 212, 1, '2025-09-02 11:15:11', '2025-09-02 11:15:11'),
(221, 'sales-sales-orders-sales-orders-list', 'Sales [Sales Orders > Sales Orders List]', NULL, NULL, 212, 2, '2025-09-02 11:15:13', '2025-09-02 11:15:13'),
(227, 'purchase-billing-purchase-invoices', 'Purchase [Billing > Purchase Invoices]', NULL, NULL, 88, 1, '2025-09-03 00:22:23', '2025-09-03 00:22:23'),
(228, 'purchase-billing-credit-notes', 'Purchase [Billing > Credit Notes]', NULL, NULL, 88, 2, '2025-09-03 00:22:25', '2025-09-03 00:22:25'),
(229, 'purchase-billing-debit-notes', 'Purchase [Billing > Debit Notes]', NULL, NULL, 88, 3, '2025-09-03 00:22:27', '2025-09-03 00:22:27'),
(230, 'purchase-pricing-vendor-pricing', 'Purchase [Pricing > Vendor Pricing]', NULL, NULL, 93, 2, '2025-09-03 00:22:28', '2025-09-03 00:22:28'),
(231, 'purchase-billing-three-way-matching', 'Purchase [Billing > Three-way Matching]', NULL, NULL, 88, 4, '2025-09-03 00:22:30', '2025-09-03 00:22:30'),
(232, 'purchase-pricing-price-lists-buying', 'Purchase [Pricing > Price Lists (Buying)]', NULL, NULL, 93, 1, '2025-09-03 00:22:32', '2025-09-03 00:22:32'),
(233, 'purchase-purchase-orders-create-purchase-order', 'Purchase [Purchase Orders > Create Purchase Order]', NULL, NULL, 223, 1, '2025-09-03 00:22:35', '2025-09-03 00:22:35'),
(234, 'purchase-purchase-orders-purchase-orders-list', 'Purchase [Purchase Orders > Purchase Orders List]', NULL, NULL, 223, 2, '2025-09-03 00:22:40', '2025-09-03 00:22:40'),
(246, 'manufacturing-execution-work-orders', 'Manufacturing [Execution > Work Orders]', NULL, NULL, 238, 1, '2025-09-03 00:37:31', '2025-09-03 00:37:31'),
(247, 'manufacturing-execution-material-issue', 'Manufacturing [Execution > Material Issue]', NULL, NULL, 238, 2, '2025-09-03 00:37:33', '2025-09-03 00:37:33'),
(248, 'manufacturing-engineering-bill-of-materials', 'Manufacturing [Engineering > Bill of Materials (BOMs)]', NULL, NULL, 236, 1, '2025-09-03 00:37:35', '2025-09-03 00:37:35'),
(249, 'manufacturing-planning-demand-and-forecast', 'Manufacturing [Planning > Demand & Forecast]', NULL, NULL, 237, 1, '2025-09-03 00:37:37', '2025-09-03 00:37:37'),
(250, 'manufacturing-execution-finished-goods-receipt', 'Manufacturing [Execution > Finished Goods Receipt]', NULL, NULL, 238, 3, '2025-09-03 00:37:39', '2025-09-03 00:37:39'),
(251, 'manufacturing-tracking-reports-wip-status', 'Manufacturing [Tracking & Reports > WIP Status]', NULL, NULL, 241, 1, '2025-09-03 00:37:41', '2025-09-03 00:37:41'),
(252, 'manufacturing-tracking-reports-material-consumption', 'Manufacturing [Tracking & Reports > Material Consumption]', NULL, NULL, 241, 2, '2025-09-03 00:37:47', '2025-09-03 00:37:47'),
(253, 'manufacturing-tracking-reports-production-summary', 'Manufacturing [Tracking & Reports > Production Summary]', NULL, NULL, 241, 3, '2025-09-03 00:37:49', '2025-09-03 00:37:49'),
(276, 'system-administration-manage-users-access-logs', 'System Administration [Manage Users > Access Logs]', NULL, NULL, 269, 5, '2025-09-03 01:55:28', '2025-09-03 01:55:28'),
(277, 'system-administration-system-configuration-company-settings', 'System Administration [System Configuration > Company Settings]', NULL, NULL, 270, 1, '2025-09-03 01:55:30', '2025-09-03 01:55:30'),
(278, 'system-administration-system-configuration-number-series', 'System Administration [System Configuration > Number Series]', NULL, NULL, 270, 2, '2025-09-03 01:55:31', '2025-09-03 01:55:31'),
(279, 'system-administration-system-configuration-email-configuration', 'System Administration [System Configuration > Email Configuration]', NULL, NULL, 270, 3, '2025-09-03 01:55:32', '2025-09-03 01:55:32'),
(280, 'system-administration-system-configuration-backup-settings', 'System Administration [System Configuration > Backup Settings]', NULL, NULL, 270, 4, '2025-09-03 01:55:34', '2025-09-03 01:55:34'),
(281, 'system-administration-system-configuration-system-parameters', 'System Administration [System Configuration > System Parameters]', NULL, NULL, 270, 5, '2025-09-03 01:55:35', '2025-09-03 01:55:35'),
(282, 'system-administration-data-management-data-import', 'System Administration [Data Management > Data Import]', NULL, NULL, 271, 1, '2025-09-03 01:55:37', '2025-09-03 01:55:37'),
(283, 'system-administration-data-management-data-export', 'System Administration [Data Management > Data Export]', NULL, NULL, 271, 2, '2025-09-03 01:55:38', '2025-09-03 01:55:38'),
(284, 'system-administration-data-management-data-cleanup', 'System Administration [Data Management > Data Cleanup]', NULL, NULL, 271, 3, '2025-09-03 01:55:40', '2025-09-03 01:55:40'),
(285, 'system-administration-data-management-archive-management', 'System Administration [Data Management > Archive Management]', NULL, NULL, 271, 4, '2025-09-03 01:55:41', '2025-09-03 01:55:41'),
(286, 'system-administration-system-monitoring-system-logs', 'System Administration [System Monitoring > System Logs]', NULL, NULL, 272, 1, '2025-09-03 01:55:43', '2025-09-03 01:55:43'),
(287, 'system-administration-system-monitoring-performance-monitor', 'System Administration [System Monitoring > Performance Monitor]', NULL, NULL, 272, 2, '2025-09-03 01:55:45', '2025-09-03 01:55:45'),
(288, 'system-administration-system-monitoring-error-logs', 'System Administration [System Monitoring > Error Logs]', NULL, NULL, 272, 3, '2025-09-03 01:55:50', '2025-09-03 01:55:50'),
(289, 'system-administration-system-monitoring-audit-trail', 'System Administration [System Monitoring > Audit Trail]', NULL, NULL, 272, 4, '2025-09-03 01:55:52', '2025-09-03 01:55:52'),
(290, 'system-administration-system-monitoring-database-health', 'System Administration [System Monitoring > Database Health]', NULL, NULL, 272, 5, '2025-09-03 01:55:53', '2025-09-03 01:55:53'),
(291, 'system-administration-manage-users-role-permission-matrix', 'System Administration [Manage Users > Role-Permission Matrix]', NULL, NULL, 269, 2, '2025-09-03 01:55:55', '2025-09-03 01:55:55'),
(292, 'system-administration-data-management-data-migration-tools', 'System Administration [Data Management > Data Migration Tools]', NULL, NULL, 271, 5, '2025-09-03 01:55:57', '2025-09-03 01:55:57'),
(293, 'inventory-stock-transactions-stock-opening', 'Inventory [Stock Transactions > Opening Stock]', NULL, NULL, 200, 5, '2025-09-11 06:02:34', '2025-09-11 06:02:34');

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

--
-- Table structure for table `number_series`
--

CREATE TABLE IF NOT EXISTS `number_series` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL COMMENT 'Company this number series belongs to',
  `series_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Unique identifier for the series',
  `series_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Human readable name for the series',
  `voucher_category` enum('SALES','PURCHASE','ACCOUNTS','INVENTORY','PRODUCTION') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Business category determining scope rules',
  `voucher_type_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Specific voucher type like OPENING_STOCK, SALES_INVOICE',
  `scope_type` enum('COMPANY','PLANT','WAREHOUSE','GSTIN') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Determines the scope of number series',
  `scope_id` bigint UNSIGNED NOT NULL COMMENT 'ID of the scope entity (company/plant/warehouse/gstin)',
  `gstin_id` bigint UNSIGNED DEFAULT NULL COMMENT 'GSTIN ID for tax compliance',
  `prefix` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Prefix for the voucher number (e.g., OP, SI, PO)',
  `sequence_length` int NOT NULL DEFAULT '4' COMMENT 'Length of sequence number (default: 4)',
  `use_fy_format` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Include FY in format (PREFIX/YY-YY/SEQUENCE)',
  `auto_reset_on_fy` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Reset sequence on financial year change',
  `is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Series is active and can generate numbers',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint UNSIGNED DEFAULT NULL COMMENT 'User ID who created this record',
  `updated_by` bigint UNSIGNED DEFAULT NULL COMMENT 'User ID who last updated this record',
  `deleted_by` bigint UNSIGNED DEFAULT NULL COMMENT 'User ID who deleted this record',
  PRIMARY KEY (`id`),
  UNIQUE KEY `number_series_series_code_unique` (`series_code`),
  UNIQUE KEY `unique_company_series_scope_voucher` (`company_id`,`voucher_type_code`,`scope_type`,`scope_id`,`gstin_id`),
  KEY `idx_company_id` (`company_id`),
  KEY `idx_scope` (`scope_type`,`scope_id`),
  KEY `idx_gstin` (`gstin_id`),
  KEY `idx_voucher` (`voucher_category`,`voucher_type_code`),
  KEY `number_series_created_by_index` (`created_by`),
  KEY `number_series_updated_by_index` (`updated_by`),
  KEY `number_series_deleted_by_index` (`deleted_by`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `number_series_history`
--

CREATE TABLE IF NOT EXISTS `number_series_history` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `series_id` bigint UNSIGNED NOT NULL COMMENT 'Reference to number_series table',
  `fy_year` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Financial year code (e.g., "25-26", "2025")',
  `fy_start_date` date NOT NULL COMMENT 'Financial year start date',
  `fy_end_date` date NOT NULL COMMENT 'Financial year end date',
  `last_used_number` int NOT NULL DEFAULT '0' COMMENT 'Last sequence number generated in this FY',
  `total_generated` int NOT NULL DEFAULT '0' COMMENT 'Total numbers generated in this FY',
  `is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'This FY record is active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_series_fy` (`series_id`,`fy_year`),
  KEY `idx_fy_dates` (`fy_start_date`,`fy_end_date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `number_series_log`
--

CREATE TABLE IF NOT EXISTS `number_series_log` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `series_id` bigint UNSIGNED NOT NULL COMMENT 'Reference to number_series table',
  `generated_number` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Complete generated number (e.g., OP/25-26/0001)',
  `sequence_number` int NOT NULL COMMENT 'Sequence part of the number',
  `fy_year` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Financial year when number was generated',
  `voucher_type_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Module that requested the number',
  `reference_id` bigint UNSIGNED DEFAULT NULL COMMENT 'ID of the document using this number',
  `reference_table` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Table where the document is stored',
  `generated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'When the number was generated',
  `generated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'User who triggered the generation',
  PRIMARY KEY (`id`),
  UNIQUE KEY `number_series_log_generated_number_unique` (`generated_number`),
  KEY `idx_reference` (`reference_table`,`reference_id`),
  KEY `idx_series_fy` (`series_id`,`fy_year`),
  KEY `idx_generated_at` (`generated_at`),
  KEY `idx_module_type` (`voucher_type_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `opening_stock_headers`
--

CREATE TABLE IF NOT EXISTS `opening_stock_headers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `warehouse_id` bigint UNSIGNED DEFAULT NULL,
  `document_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `posting_date` date NOT NULL,
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'DRAFT',
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `submitted_at` timestamp NULL DEFAULT NULL,
  `submitted_by` int DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `cancelled_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cancellation_reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `opening_stock_headers_document_number_unique` (`document_number`),
  KEY `opening_stock_headers_company_id_posting_date_index` (`company_id`,`posting_date`),
  KEY `opening_stock_headers_warehouse_id_foreign` (`warehouse_id`),
  KEY `idx_osh_company_warehouse` (`company_id`,`warehouse_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `opening_stock_lines`
--

CREATE TABLE IF NOT EXISTS `opening_stock_lines` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `opening_stock_header_id` bigint UNSIGNED NOT NULL,
  `company_id` bigint UNSIGNED NOT NULL,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `warehouse_id` bigint UNSIGNED NOT NULL,
  `warehouse_bin_id` bigint UNSIGNED DEFAULT NULL,
  `base_qty` decimal(24,12) DEFAULT NULL,
  `base_uom` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
  `base_uom_id` bigint UNSIGNED DEFAULT NULL,
  `base_uom_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `amount` decimal(15,2) NOT NULL DEFAULT '0.00',
  `batch_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `manufacturing_date` date DEFAULT NULL,
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `opening_stock_lines_opening_stock_header_id_foreign` (`opening_stock_header_id`),
  KEY `opening_stock_lines_company_id_foreign` (`company_id`),
  KEY `opening_stock_lines_product_variant_id_foreign` (`product_variant_id`),
  KEY `opening_stock_lines_warehouse_id_foreign` (`warehouse_id`),
  KEY `opening_stock_lines_warehouse_bin_id_foreign` (`warehouse_bin_id`),
  KEY `opening_stock_lines_base_uom_id_foreign` (`base_uom_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `opening_stock_line_uoms`
--

CREATE TABLE IF NOT EXISTS `opening_stock_line_uoms` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `opening_stock_line_id` bigint UNSIGNED NOT NULL,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `uom_id` bigint UNSIGNED DEFAULT NULL,
  `uom_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `qty_entered` decimal(18,6) NOT NULL,
  `factor_to_base` decimal(24,12) NOT NULL,
  `qty_in_base` decimal(24,12) NOT NULL,
  `rate_entered` decimal(18,6) DEFAULT NULL,
  `rate_base` decimal(18,6) DEFAULT NULL,
  `amount_base` decimal(24,8) DEFAULT NULL,
  `is_base` tinyint(1) NOT NULL DEFAULT '0',
  `context` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `opening_stock_line_uoms_uom_id_foreign` (`uom_id`),
  KEY `opening_stock_line_uoms_opening_stock_line_id_index` (`opening_stock_line_id`),
  KEY `opening_stock_line_uoms_product_variant_id_index` (`product_variant_id`),
  KEY `opening_stock_line_uoms_uom_code_index` (`uom_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `party_type`
--

CREATE TABLE IF NOT EXISTS `party_type` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `description` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `party_type`
--

INSERT INTO `party_type` (`id`, `name`, `description`, `created_at`, `updated_at`) VALUES
(1, 'Vendor', 'Supplier of goods or services', '2025-08-08 12:50:18', '2025-08-08 12:50:18'),
(2, 'Customer', 'Purchaser of goods or services', '2025-08-08 12:50:18', '2025-08-08 12:50:18'),
(3, 'Employee', 'Company staff member', '2025-08-08 12:50:18', '2025-08-08 12:50:18'),
(4, 'Contractor', 'External service provider', '2025-08-08 12:50:18', '2025-08-08 12:50:18'),
(5, 'Government', 'Government entity', '2025-08-08 12:50:18', '2025-08-08 12:50:18'),
(6, 'Partner', 'Business partner or affiliate', '2025-08-08 12:50:18', '2025-08-08 12:50:18');

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

--
-- Table structure for table `permissions`
--

CREATE TABLE IF NOT EXISTS `permissions` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(125) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(125) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `perm_guard_unique` (`name`,`guard_name`)
) ENGINE=MyISAM AUTO_INCREMENT=739 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'sales-billing-credit-notes.view', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(2, 'sales-billing-credit-notes.create', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(3, 'sales-billing-credit-notes.update', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(4, 'sales-billing-credit-notes.delete', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(5, 'sales-billing-credit-notes.export', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(6, 'sales-billing-credit-notes.manage', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(7, 'sales-billing-debit-notes.view', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(8, 'sales-billing-debit-notes.create', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(9, 'sales-billing-debit-notes.update', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(10, 'sales-billing-debit-notes.delete', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(11, 'sales-billing-debit-notes.export', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(12, 'sales-billing-debit-notes.manage', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(13, 'sales-billing-sales-invoices.view', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(14, 'sales-billing-sales-invoices.create', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(15, 'sales-billing-sales-invoices.update', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(16, 'sales-billing-sales-invoices.delete', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(17, 'sales-billing-sales-invoices.export', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(18, 'sales-billing-sales-invoices.manage', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(19, 'sales-pricing-price-lists-selling.view', 'web', '2025-09-05 04:14:09', '2025-09-05 04:14:09'),
(20, 'sales-pricing-price-lists-selling.create', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(21, 'sales-pricing-price-lists-selling.update', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(22, 'sales-pricing-price-lists-selling.delete', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(23, 'sales-pricing-price-lists-selling.export', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(24, 'sales-pricing-price-lists-selling.manage', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(25, 'sales-pricing-sales-prices.view', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(26, 'sales-pricing-sales-prices.create', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(27, 'sales-pricing-sales-prices.update', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(28, 'sales-pricing-sales-prices.delete', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(29, 'sales-pricing-sales-prices.export', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(30, 'sales-pricing-sales-prices.manage', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(31, 'dashboard-center.view', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(32, 'dashboard-center.create', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(33, 'dashboard-center.update', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(34, 'dashboard-center.delete', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(35, 'dashboard-center.export', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(36, 'dashboard-center.manage', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(37, 'dashboard-executive-overview-financial-summary.view', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(38, 'dashboard-executive-overview-financial-summary.create', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(39, 'dashboard-executive-overview-financial-summary.update', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(40, 'dashboard-executive-overview-financial-summary.delete', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(41, 'dashboard-executive-overview-financial-summary.export', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(42, 'dashboard-executive-overview-financial-summary.manage', 'web', '2025-09-05 04:14:10', '2025-09-05 04:14:10'),
(43, 'dashboard-executive-overview-inventory-health.view', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(44, 'dashboard-executive-overview-inventory-health.create', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(45, 'dashboard-executive-overview-inventory-health.update', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(46, 'dashboard-executive-overview-inventory-health.delete', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(47, 'dashboard-executive-overview-inventory-health.export', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(48, 'dashboard-executive-overview-inventory-health.manage', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(49, 'dashboard-executive-overview-production-summary.view', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(50, 'dashboard-executive-overview-production-summary.create', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(51, 'dashboard-executive-overview-production-summary.update', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(52, 'dashboard-executive-overview-production-summary.delete', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(53, 'dashboard-executive-overview-production-summary.export', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(54, 'dashboard-executive-overview-production-summary.manage', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(55, 'dashboard-executive-overview-purchase-analytics.view', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(56, 'dashboard-executive-overview-purchase-analytics.create', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(57, 'dashboard-executive-overview-purchase-analytics.update', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(58, 'dashboard-executive-overview-purchase-analytics.delete', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(59, 'dashboard-executive-overview-purchase-analytics.export', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(60, 'dashboard-executive-overview-purchase-analytics.manage', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(61, 'dashboard-executive-overview-sales-performance.view', 'web', '2025-09-05 04:14:11', '2025-09-05 04:14:11'),
(62, 'dashboard-executive-overview-sales-performance.create', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(63, 'dashboard-executive-overview-sales-performance.update', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(64, 'dashboard-executive-overview-sales-performance.delete', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(65, 'dashboard-executive-overview-sales-performance.export', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(66, 'dashboard-executive-overview-sales-performance.manage', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(67, 'dashboard-alerts-low-stock-alerts.view', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(68, 'dashboard-alerts-low-stock-alerts.create', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(69, 'dashboard-alerts-low-stock-alerts.update', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(70, 'dashboard-alerts-low-stock-alerts.delete', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(71, 'dashboard-alerts-low-stock-alerts.export', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(72, 'dashboard-alerts-low-stock-alerts.manage', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(73, 'dashboard-alerts-payment-due.view', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(74, 'dashboard-alerts-payment-due.create', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(75, 'dashboard-alerts-payment-due.update', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(76, 'dashboard-alerts-payment-due.delete', 'web', '2025-09-05 04:14:12', '2025-09-05 04:14:12'),
(77, 'dashboard-alerts-payment-due.export', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(78, 'dashboard-alerts-payment-due.manage', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(79, 'dashboard-alerts-pending-approvals.view', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(80, 'dashboard-alerts-pending-approvals.create', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(81, 'dashboard-alerts-pending-approvals.update', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(82, 'dashboard-alerts-pending-approvals.delete', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(83, 'dashboard-alerts-pending-approvals.export', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(84, 'dashboard-alerts-pending-approvals.manage', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(85, 'dashboard-alerts-unbilled-deliveries.view', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(86, 'dashboard-alerts-unbilled-deliveries.create', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(87, 'dashboard-alerts-unbilled-deliveries.update', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(88, 'dashboard-alerts-unbilled-deliveries.delete', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(89, 'dashboard-alerts-unbilled-deliveries.export', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(90, 'dashboard-alerts-unbilled-deliveries.manage', 'web', '2025-09-05 04:14:13', '2025-09-05 04:14:13'),
(91, 'dashboard-alerts-uninvoiced-grns.view', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(92, 'dashboard-alerts-uninvoiced-grns.create', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(93, 'dashboard-alerts-uninvoiced-grns.update', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(94, 'dashboard-alerts-uninvoiced-grns.delete', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(95, 'dashboard-alerts-uninvoiced-grns.export', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(96, 'dashboard-alerts-uninvoiced-grns.manage', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(97, 'purchase-billing-credit-notes.view', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(98, 'purchase-billing-credit-notes.create', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(99, 'purchase-billing-credit-notes.update', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(100, 'purchase-billing-credit-notes.delete', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(101, 'purchase-billing-credit-notes.export', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(102, 'purchase-billing-credit-notes.manage', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(103, 'purchase-billing-debit-notes.view', 'web', '2025-09-05 04:14:14', '2025-09-05 04:14:14'),
(104, 'purchase-billing-debit-notes.create', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(105, 'purchase-billing-debit-notes.update', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(106, 'purchase-billing-debit-notes.delete', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(107, 'purchase-billing-debit-notes.export', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(108, 'purchase-billing-debit-notes.manage', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(109, 'purchase-billing-purchase-invoices.view', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(110, 'purchase-billing-purchase-invoices.create', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(111, 'purchase-billing-purchase-invoices.update', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(112, 'purchase-billing-purchase-invoices.delete', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(113, 'purchase-billing-purchase-invoices.export', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(114, 'purchase-billing-purchase-invoices.manage', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(115, 'purchase-billing-three-way-matching.view', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(116, 'purchase-billing-three-way-matching.create', 'web', '2025-09-05 04:14:15', '2025-09-05 04:14:15'),
(117, 'purchase-billing-three-way-matching.update', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(118, 'purchase-billing-three-way-matching.delete', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(119, 'purchase-billing-three-way-matching.export', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(120, 'purchase-billing-three-way-matching.manage', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(121, 'purchase-pricing-price-lists-buying.view', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(122, 'purchase-pricing-price-lists-buying.create', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(123, 'purchase-pricing-price-lists-buying.update', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(124, 'purchase-pricing-price-lists-buying.delete', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(125, 'purchase-pricing-price-lists-buying.export', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(126, 'purchase-pricing-price-lists-buying.manage', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(127, 'purchase-pricing-vendor-pricing.view', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(128, 'purchase-pricing-vendor-pricing.create', 'web', '2025-09-05 04:14:16', '2025-09-05 04:14:16'),
(129, 'purchase-pricing-vendor-pricing.update', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(130, 'purchase-pricing-vendor-pricing.delete', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(131, 'purchase-pricing-vendor-pricing.export', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(132, 'purchase-pricing-vendor-pricing.manage', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(133, 'reports-inventory-stock-ledger.view', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(134, 'reports-inventory-stock-ledger.create', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(135, 'reports-inventory-stock-ledger.update', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(136, 'reports-inventory-stock-ledger.delete', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(137, 'reports-inventory-stock-ledger.export', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(138, 'reports-inventory-stock-ledger.manage', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(139, 'reports-inventory-stock-position.view', 'web', '2025-09-05 04:14:17', '2025-09-05 04:14:17'),
(140, 'reports-inventory-stock-position.create', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(141, 'reports-inventory-stock-position.update', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(142, 'reports-inventory-stock-position.delete', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(143, 'reports-inventory-stock-position.export', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(144, 'reports-inventory-stock-position.manage', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(145, 'reports-sales-performance.view', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(146, 'reports-sales-performance.create', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(147, 'reports-sales-performance.update', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(148, 'reports-sales-performance.delete', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(149, 'reports-sales-performance.export', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(150, 'reports-sales-performance.manage', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(151, 'reports-sales-unbilled-deliveries.view', 'web', '2025-09-05 04:14:18', '2025-09-05 04:14:18'),
(152, 'reports-sales-unbilled-deliveries.create', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(153, 'reports-sales-unbilled-deliveries.update', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(154, 'reports-sales-unbilled-deliveries.delete', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(155, 'reports-sales-unbilled-deliveries.export', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(156, 'reports-sales-unbilled-deliveries.manage', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(157, 'reports-purchase-grn-register.view', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(158, 'reports-purchase-grn-register.create', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(159, 'reports-purchase-grn-register.update', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(160, 'reports-purchase-grn-register.delete', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(161, 'reports-purchase-grn-register.export', 'web', '2025-09-05 04:14:19', '2025-09-05 04:14:19'),
(162, 'reports-purchase-grn-register.manage', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(163, 'reports-purchase-uninvoiced-grns.view', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(164, 'reports-purchase-uninvoiced-grns.create', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(165, 'reports-purchase-uninvoiced-grns.update', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(166, 'reports-purchase-uninvoiced-grns.delete', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(167, 'reports-purchase-uninvoiced-grns.export', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(168, 'reports-purchase-uninvoiced-grns.manage', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(169, 'reports-production-production-summary.view', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(170, 'reports-production-production-summary.create', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(171, 'reports-production-production-summary.update', 'web', '2025-09-05 04:14:20', '2025-09-05 04:14:20'),
(172, 'reports-production-production-summary.delete', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(173, 'reports-production-production-summary.export', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(174, 'reports-production-production-summary.manage', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(175, 'reports-production-wip-status.view', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(176, 'reports-production-wip-status.create', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(177, 'reports-production-wip-status.update', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(178, 'reports-production-wip-status.delete', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(179, 'reports-production-wip-status.export', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(180, 'reports-production-wip-status.manage', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(181, 'reports-hr-attendance-summary.view', 'web', '2025-09-05 04:14:21', '2025-09-05 04:14:21'),
(182, 'reports-hr-attendance-summary.create', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(183, 'reports-hr-attendance-summary.update', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(184, 'reports-hr-attendance-summary.delete', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(185, 'reports-hr-attendance-summary.export', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(186, 'reports-hr-attendance-summary.manage', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(187, 'reports-hr-leave-analysis.view', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(188, 'reports-hr-leave-analysis.create', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(189, 'reports-hr-leave-analysis.update', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(190, 'reports-hr-leave-analysis.delete', 'web', '2025-09-05 04:14:22', '2025-09-05 04:14:22'),
(191, 'reports-hr-leave-analysis.export', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(192, 'reports-hr-leave-analysis.manage', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(193, 'masters-organization-company-gstin.view', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(194, 'masters-organization-company-gstin.create', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(195, 'masters-organization-company-gstin.update', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(196, 'masters-organization-company-gstin.delete', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(197, 'masters-organization-company-gstin.export', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(198, 'masters-organization-company-gstin.manage', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(199, 'masters-organization-company-masters.view', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(200, 'masters-organization-company-masters.create', 'web', '2025-09-05 04:14:23', '2025-09-05 04:14:23'),
(201, 'masters-organization-company-masters.update', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(202, 'masters-organization-company-masters.delete', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(203, 'masters-organization-company-masters.export', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(204, 'masters-organization-company-masters.manage', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(205, 'masters-organization-departments.view', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(206, 'masters-organization-departments.create', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(207, 'masters-organization-departments.update', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(208, 'masters-organization-departments.delete', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(209, 'masters-organization-departments.export', 'web', '2025-09-05 04:14:24', '2025-09-05 04:14:24'),
(210, 'masters-organization-departments.manage', 'web', '2025-09-05 04:14:25', '2025-09-05 04:14:25'),
(211, 'masters-organization-plant-masters.view', 'web', '2025-09-05 04:14:25', '2025-09-05 04:14:25'),
(212, 'masters-organization-plant-masters.create', 'web', '2025-09-05 04:14:25', '2025-09-05 04:14:25'),
(213, 'masters-organization-plant-masters.update', 'web', '2025-09-05 04:14:25', '2025-09-05 04:14:25'),
(214, 'masters-organization-plant-masters.delete', 'web', '2025-09-05 04:14:25', '2025-09-05 04:14:25'),
(215, 'masters-organization-plant-masters.export', 'web', '2025-09-05 04:14:25', '2025-09-05 04:14:25'),
(216, 'masters-organization-plant-masters.manage', 'web', '2025-09-05 04:14:25', '2025-09-05 04:14:25'),
(217, 'masters-organization-plant-shifts.view', 'web', '2025-09-05 04:14:25', '2025-09-05 04:14:25'),
(218, 'masters-organization-plant-shifts.create', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(219, 'masters-organization-plant-shifts.update', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(220, 'masters-organization-plant-shifts.delete', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(221, 'masters-organization-plant-shifts.export', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(222, 'masters-organization-plant-shifts.manage', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(223, 'masters-organization-warehouse-masters.view', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(224, 'masters-organization-warehouse-masters.create', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(225, 'masters-organization-warehouse-masters.update', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(226, 'masters-organization-warehouse-masters.delete', 'web', '2025-09-05 04:14:26', '2025-09-05 04:14:26'),
(227, 'masters-organization-warehouse-masters.export', 'web', '2025-09-05 04:14:27', '2025-09-05 04:14:27'),
(228, 'masters-organization-warehouse-masters.manage', 'web', '2025-09-05 04:14:27', '2025-09-05 04:14:27'),
(229, 'masters-organization-work-centers.view', 'web', '2025-09-05 04:14:27', '2025-09-05 04:14:27'),
(230, 'masters-organization-work-centers.create', 'web', '2025-09-05 04:14:27', '2025-09-05 04:14:27'),
(231, 'masters-organization-work-centers.update', 'web', '2025-09-05 04:14:27', '2025-09-05 04:14:27'),
(232, 'masters-organization-work-centers.delete', 'web', '2025-09-05 04:14:27', '2025-09-05 04:14:27'),
(233, 'masters-organization-work-centers.export', 'web', '2025-09-05 04:14:27', '2025-09-05 04:14:27'),
(234, 'masters-organization-work-centers.manage', 'web', '2025-09-05 04:14:27', '2025-09-05 04:14:27'),
(235, 'masters-product-management-attribute-masters.view', 'web', '2025-09-05 04:14:28', '2025-09-05 04:14:28'),
(236, 'masters-product-management-attribute-masters.create', 'web', '2025-09-05 04:14:28', '2025-09-05 04:14:28'),
(237, 'masters-product-management-attribute-masters.update', 'web', '2025-09-05 04:14:28', '2025-09-05 04:14:28'),
(238, 'masters-product-management-attribute-masters.delete', 'web', '2025-09-05 04:14:28', '2025-09-05 04:14:28'),
(239, 'masters-product-management-attribute-masters.export', 'web', '2025-09-05 04:14:28', '2025-09-05 04:14:28'),
(240, 'masters-product-management-attribute-masters.manage', 'web', '2025-09-05 04:14:28', '2025-09-05 04:14:28'),
(241, 'masters-product-management-brand-masters.view', 'web', '2025-09-05 04:14:28', '2025-09-05 04:14:28'),
(242, 'masters-product-management-brand-masters.create', 'web', '2025-09-05 04:14:28', '2025-09-05 04:14:28'),
(243, 'masters-product-management-brand-masters.update', 'web', '2025-09-05 04:14:29', '2025-09-05 04:14:29'),
(244, 'masters-product-management-brand-masters.delete', 'web', '2025-09-05 04:14:29', '2025-09-05 04:14:29'),
(245, 'masters-product-management-brand-masters.export', 'web', '2025-09-05 04:14:29', '2025-09-05 04:14:29'),
(246, 'masters-product-management-brand-masters.manage', 'web', '2025-09-05 04:14:29', '2025-09-05 04:14:29'),
(247, 'masters-product-management-category-management.view', 'web', '2025-09-05 04:14:29', '2025-09-05 04:14:29'),
(248, 'masters-product-management-category-management.create', 'web', '2025-09-05 04:14:29', '2025-09-05 04:14:29'),
(249, 'masters-product-management-category-management.update', 'web', '2025-09-05 04:14:29', '2025-09-05 04:14:29'),
(250, 'masters-product-management-category-management.delete', 'web', '2025-09-05 04:14:30', '2025-09-05 04:14:30'),
(251, 'masters-product-management-category-management.export', 'web', '2025-09-05 04:14:30', '2025-09-05 04:14:30'),
(252, 'masters-product-management-category-management.manage', 'web', '2025-09-05 04:14:30', '2025-09-05 04:14:30'),
(253, 'masters-product-management-hsn-masters.view', 'web', '2025-09-05 04:14:30', '2025-09-05 04:14:30'),
(254, 'masters-product-management-hsn-masters.create', 'web', '2025-09-05 04:14:30', '2025-09-05 04:14:30'),
(255, 'masters-product-management-hsn-masters.update', 'web', '2025-09-05 04:14:30', '2025-09-05 04:14:30'),
(256, 'masters-product-management-hsn-masters.delete', 'web', '2025-09-05 04:14:30', '2025-09-05 04:14:30'),
(257, 'masters-product-management-hsn-masters.export', 'web', '2025-09-05 04:14:30', '2025-09-05 04:14:30'),
(258, 'masters-product-management-hsn-masters.manage', 'web', '2025-09-05 04:14:31', '2025-09-05 04:14:31'),
(259, 'masters-product-management-product-masters.view', 'web', '2025-09-05 04:14:31', '2025-09-05 04:14:31'),
(260, 'masters-product-management-product-masters.create', 'web', '2025-09-05 04:14:31', '2025-09-05 04:14:31'),
(261, 'masters-product-management-product-masters.update', 'web', '2025-09-05 04:14:31', '2025-09-05 04:14:31'),
(262, 'masters-product-management-product-masters.delete', 'web', '2025-09-05 04:14:31', '2025-09-05 04:14:31'),
(263, 'masters-product-management-product-masters.export', 'web', '2025-09-05 04:14:31', '2025-09-05 04:14:31'),
(264, 'masters-product-management-product-masters.manage', 'web', '2025-09-05 04:14:31', '2025-09-05 04:14:31'),
(265, 'masters-product-management-product-variants.view', 'web', '2025-09-05 04:14:32', '2025-09-05 04:14:32'),
(266, 'masters-product-management-product-variants.create', 'web', '2025-09-05 04:14:32', '2025-09-05 04:14:32'),
(267, 'masters-product-management-product-variants.update', 'web', '2025-09-05 04:14:32', '2025-09-05 04:14:32'),
(268, 'masters-product-management-product-variants.delete', 'web', '2025-09-05 04:14:32', '2025-09-05 04:14:32'),
(269, 'masters-product-management-product-variants.export', 'web', '2025-09-05 04:14:32', '2025-09-05 04:14:32'),
(270, 'masters-product-management-product-variants.manage', 'web', '2025-09-05 04:14:32', '2025-09-05 04:14:32'),
(271, 'masters-product-management-units-of-measure.view', 'web', '2025-09-05 04:14:32', '2025-09-05 04:14:32'),
(272, 'masters-product-management-units-of-measure.create', 'web', '2025-09-05 04:14:32', '2025-09-05 04:14:32'),
(273, 'masters-product-management-units-of-measure.update', 'web', '2025-09-05 04:14:33', '2025-09-05 04:14:33'),
(274, 'masters-product-management-units-of-measure.delete', 'web', '2025-09-05 04:14:33', '2025-09-05 04:14:33'),
(275, 'masters-product-management-units-of-measure.export', 'web', '2025-09-05 04:14:33', '2025-09-05 04:14:33'),
(276, 'masters-product-management-units-of-measure.manage', 'web', '2025-09-05 04:14:33', '2025-09-05 04:14:33'),
(277, 'masters-business-partners-address-management.view', 'web', '2025-09-05 04:14:33', '2025-09-05 04:14:33'),
(278, 'masters-business-partners-address-management.create', 'web', '2025-09-05 04:14:33', '2025-09-05 04:14:33'),
(279, 'masters-business-partners-address-management.update', 'web', '2025-09-05 04:14:33', '2025-09-05 04:14:33'),
(280, 'masters-business-partners-address-management.delete', 'web', '2025-09-05 04:14:34', '2025-09-05 04:14:34'),
(281, 'masters-business-partners-address-management.export', 'web', '2025-09-05 04:14:34', '2025-09-05 04:14:34'),
(282, 'masters-business-partners-address-management.manage', 'web', '2025-09-05 04:14:34', '2025-09-05 04:14:34'),
(283, 'masters-business-partners-banking-details.view', 'web', '2025-09-05 04:14:34', '2025-09-05 04:14:34'),
(284, 'masters-business-partners-banking-details.create', 'web', '2025-09-05 04:14:34', '2025-09-05 04:14:34'),
(285, 'masters-business-partners-banking-details.update', 'web', '2025-09-05 04:14:34', '2025-09-05 04:14:34'),
(286, 'masters-business-partners-banking-details.delete', 'web', '2025-09-05 04:14:34', '2025-09-05 04:14:34'),
(287, 'masters-business-partners-banking-details.export', 'web', '2025-09-05 04:14:35', '2025-09-05 04:14:35'),
(288, 'masters-business-partners-banking-details.manage', 'web', '2025-09-05 04:14:35', '2025-09-05 04:14:35'),
(289, 'masters-business-partners-contact-management.view', 'web', '2025-09-05 04:14:35', '2025-09-05 04:14:35'),
(290, 'masters-business-partners-contact-management.create', 'web', '2025-09-05 04:14:35', '2025-09-05 04:14:35'),
(291, 'masters-business-partners-contact-management.update', 'web', '2025-09-05 04:14:35', '2025-09-05 04:14:35'),
(292, 'masters-business-partners-contact-management.delete', 'web', '2025-09-05 04:14:35', '2025-09-05 04:14:35'),
(293, 'masters-business-partners-contact-management.export', 'web', '2025-09-05 04:14:36', '2025-09-05 04:14:36'),
(294, 'masters-business-partners-contact-management.manage', 'web', '2025-09-05 04:14:36', '2025-09-05 04:14:36'),
(295, 'masters-business-partners-customer-masters.view', 'web', '2025-09-05 04:14:36', '2025-09-05 04:14:36'),
(296, 'masters-business-partners-customer-masters.create', 'web', '2025-09-05 04:14:36', '2025-09-05 04:14:36'),
(297, 'masters-business-partners-customer-masters.update', 'web', '2025-09-05 04:14:36', '2025-09-05 04:14:36'),
(298, 'masters-business-partners-customer-masters.delete', 'web', '2025-09-05 04:14:36', '2025-09-05 04:14:36'),
(299, 'masters-business-partners-customer-masters.export', 'web', '2025-09-05 04:14:36', '2025-09-05 04:14:36'),
(300, 'masters-business-partners-customer-masters.manage', 'web', '2025-09-05 04:14:37', '2025-09-05 04:14:37'),
(301, 'masters-business-partners-gstin-management.view', 'web', '2025-09-05 04:14:37', '2025-09-05 04:14:37'),
(302, 'masters-business-partners-gstin-management.create', 'web', '2025-09-05 04:14:37', '2025-09-05 04:14:37'),
(303, 'masters-business-partners-gstin-management.update', 'web', '2025-09-05 04:14:37', '2025-09-05 04:14:37'),
(304, 'masters-business-partners-gstin-management.delete', 'web', '2025-09-05 04:14:37', '2025-09-05 04:14:37'),
(305, 'masters-business-partners-gstin-management.export', 'web', '2025-09-05 04:14:37', '2025-09-05 04:14:37'),
(306, 'masters-business-partners-gstin-management.manage', 'web', '2025-09-05 04:14:37', '2025-09-05 04:14:37'),
(307, 'masters-business-partners-vendor-masters.view', 'web', '2025-09-05 04:14:38', '2025-09-05 04:14:38'),
(308, 'masters-business-partners-vendor-masters.create', 'web', '2025-09-05 04:14:38', '2025-09-05 04:14:38'),
(309, 'masters-business-partners-vendor-masters.update', 'web', '2025-09-05 04:14:38', '2025-09-05 04:14:38'),
(310, 'masters-business-partners-vendor-masters.delete', 'web', '2025-09-05 04:14:38', '2025-09-05 04:14:38'),
(311, 'masters-business-partners-vendor-masters.export', 'web', '2025-09-05 04:14:38', '2025-09-05 04:14:38'),
(312, 'masters-business-partners-vendor-masters.manage', 'web', '2025-09-05 04:14:38', '2025-09-05 04:14:38'),
(313, 'inventory-stock-overview-current-stock-balance.view', 'web', '2025-09-05 04:14:39', '2025-09-05 04:14:39'),
(319, 'inventory-stock-overview-product-wise-stock.view', 'web', '2025-09-05 04:14:40', '2025-09-05 04:14:40'),
(729, 'inventory-stock-overview-product-wise-stock.delete', 'web', '2025-09-11 07:02:19', '2025-09-11 07:02:19'),
(728, 'inventory-stock-overview-product-wise-stock.update', 'web', '2025-09-11 07:02:19', '2025-09-11 07:02:19'),
(727, 'inventory-stock-overview-product-wise-stock.create', 'web', '2025-09-11 07:02:18', '2025-09-11 07:02:18'),
(726, 'inventory-stock-overview-warehouse-wise-stock.manage', 'web', '2025-09-11 07:02:18', '2025-09-11 07:02:18'),
(325, 'inventory-stock-overview-warehouse-wise-stock.view', 'web', '2025-09-05 04:14:40', '2025-09-05 04:14:40'),
(734, 'inventory-stock-transactions-stock-opening.manage', 'web', '2025-09-11 07:02:20', '2025-09-11 07:02:20'),
(733, 'inventory-stock-transactions-stock-opening.delete', 'web', '2025-09-11 07:02:20', '2025-09-11 07:02:20'),
(732, 'inventory-stock-transactions-stock-opening.update', 'web', '2025-09-11 07:02:20', '2025-09-11 07:02:20'),
(731, 'inventory-stock-transactions-stock-opening.create', 'web', '2025-09-11 07:02:19', '2025-09-11 07:02:19'),
(730, 'inventory-stock-overview-product-wise-stock.manage', 'web', '2025-09-11 07:02:19', '2025-09-11 07:02:19'),
(331, 'inventory-stock-transactions-stock-adjustment.view', 'web', '2025-09-05 04:14:41', '2025-09-05 04:14:41'),
(713, 'inventory-stock-ledger-stock-ledger.delete', 'web', '2025-09-11 07:02:15', '2025-09-11 07:02:15'),
(712, 'inventory-stock-ledger-stock-ledger.update', 'web', '2025-09-11 07:02:14', '2025-09-11 07:02:14'),
(711, 'inventory-stock-ledger-stock-ledger.create', 'web', '2025-09-11 07:02:14', '2025-09-11 07:02:14'),
(710, 'inventory-stock-transactions-stock-adjustment.manage', 'web', '2025-09-11 07:02:14', '2025-09-11 07:02:14'),
(709, 'inventory-stock-transactions-stock-adjustment.delete', 'web', '2025-09-11 07:02:14', '2025-09-11 07:02:14'),
(337, 'inventory-stock-transactions-stock-issue.view', 'web', '2025-09-05 04:14:42', '2025-09-05 04:14:42'),
(722, 'inventory-stock-overview-current-stock-balance.manage', 'web', '2025-09-11 07:02:17', '2025-09-11 07:02:17'),
(721, 'inventory-stock-overview-current-stock-balance.delete', 'web', '2025-09-11 07:02:17', '2025-09-11 07:02:17'),
(720, 'inventory-stock-overview-current-stock-balance.update', 'web', '2025-09-11 07:02:17', '2025-09-11 07:02:17'),
(719, 'inventory-stock-overview-current-stock-balance.create', 'web', '2025-09-11 07:02:16', '2025-09-11 07:02:16'),
(343, 'inventory-stock-transactions-stock-receipt.view', 'web', '2025-09-05 04:14:43', '2025-09-05 04:14:43'),
(725, 'inventory-stock-overview-warehouse-wise-stock.delete', 'web', '2025-09-11 07:02:18', '2025-09-11 07:02:18'),
(724, 'inventory-stock-overview-warehouse-wise-stock.update', 'web', '2025-09-11 07:02:18', '2025-09-11 07:02:18'),
(723, 'inventory-stock-overview-warehouse-wise-stock.create', 'web', '2025-09-11 07:02:17', '2025-09-11 07:02:17'),
(349, 'inventory-stock-transactions-stock-transfer.view', 'web', '2025-09-05 04:14:44', '2025-09-05 04:14:44'),
(718, 'inventory-stock-ledger-transaction-history.manage', 'web', '2025-09-11 07:02:16', '2025-09-11 07:02:16'),
(717, 'inventory-stock-ledger-transaction-history.delete', 'web', '2025-09-11 07:02:16', '2025-09-11 07:02:16'),
(716, 'inventory-stock-ledger-transaction-history.update', 'web', '2025-09-11 07:02:15', '2025-09-11 07:02:15'),
(715, 'inventory-stock-ledger-transaction-history.create', 'web', '2025-09-11 07:02:15', '2025-09-11 07:02:15'),
(714, 'inventory-stock-ledger-stock-ledger.manage', 'web', '2025-09-11 07:02:15', '2025-09-11 07:02:15'),
(355, 'inventory-stock-ledger-stock-ledger.view', 'web', '2025-09-05 04:14:46', '2025-09-05 04:14:46'),
(705, 'inventory-stock-transactions-stock-transfer.delete', 'web', '2025-09-11 07:02:13', '2025-09-11 07:02:13'),
(704, 'inventory-stock-transactions-stock-transfer.update', 'web', '2025-09-11 07:02:12', '2025-09-11 07:02:12'),
(703, 'inventory-stock-transactions-stock-transfer.create', 'web', '2025-09-11 07:02:12', '2025-09-11 07:02:12'),
(702, 'inventory-stock-transactions-stock-issue.manage', 'web', '2025-09-11 07:02:12', '2025-09-11 07:02:12'),
(361, 'inventory-stock-ledger-transaction-history.view', 'web', '2025-09-05 04:14:47', '2025-09-05 04:14:47'),
(701, 'inventory-stock-transactions-stock-issue.delete', 'web', '2025-09-11 07:02:12', '2025-09-11 07:02:12'),
(700, 'inventory-stock-transactions-stock-issue.update', 'web', '2025-09-11 07:02:11', '2025-09-11 07:02:11'),
(699, 'inventory-stock-transactions-stock-issue.create', 'web', '2025-09-11 07:02:11', '2025-09-11 07:02:11'),
(698, 'inventory-stock-transactions-stock-receipt.manage', 'web', '2025-09-11 07:02:11', '2025-09-11 07:02:11'),
(697, 'inventory-stock-transactions-stock-receipt.delete', 'web', '2025-09-11 07:02:11', '2025-09-11 07:02:11'),
(367, 'sales-fulfillment-delivery-notes.view', 'web', '2025-09-05 04:14:48', '2025-09-05 04:14:48'),
(368, 'sales-fulfillment-delivery-notes.create', 'web', '2025-09-05 04:14:48', '2025-09-05 04:14:48'),
(369, 'sales-fulfillment-delivery-notes.update', 'web', '2025-09-05 04:14:48', '2025-09-05 04:14:48'),
(370, 'sales-fulfillment-delivery-notes.delete', 'web', '2025-09-05 04:14:48', '2025-09-05 04:14:48'),
(371, 'sales-fulfillment-delivery-notes.export', 'web', '2025-09-05 04:14:48', '2025-09-05 04:14:48'),
(372, 'sales-fulfillment-delivery-notes.manage', 'web', '2025-09-05 04:14:49', '2025-09-05 04:14:49'),
(373, 'sales-fulfillment-pick-lists.view', 'web', '2025-09-05 04:14:49', '2025-09-05 04:14:49'),
(374, 'sales-fulfillment-pick-lists.create', 'web', '2025-09-05 04:14:49', '2025-09-05 04:14:49'),
(375, 'sales-fulfillment-pick-lists.update', 'web', '2025-09-05 04:14:49', '2025-09-05 04:14:49'),
(376, 'sales-fulfillment-pick-lists.delete', 'web', '2025-09-05 04:14:49', '2025-09-05 04:14:49'),
(377, 'sales-fulfillment-pick-lists.export', 'web', '2025-09-05 04:14:50', '2025-09-05 04:14:50'),
(378, 'sales-fulfillment-pick-lists.manage', 'web', '2025-09-05 04:14:50', '2025-09-05 04:14:50'),
(379, 'sales-sales-orders-create-sales-order.view', 'web', '2025-09-05 04:14:50', '2025-09-05 04:14:50'),
(380, 'sales-sales-orders-create-sales-order.create', 'web', '2025-09-05 04:14:50', '2025-09-05 04:14:50'),
(381, 'sales-sales-orders-create-sales-order.update', 'web', '2025-09-05 04:14:50', '2025-09-05 04:14:50'),
(382, 'sales-sales-orders-create-sales-order.delete', 'web', '2025-09-05 04:14:50', '2025-09-05 04:14:50'),
(383, 'sales-sales-orders-create-sales-order.export', 'web', '2025-09-05 04:14:51', '2025-09-05 04:14:51'),
(384, 'sales-sales-orders-create-sales-order.manage', 'web', '2025-09-05 04:14:51', '2025-09-05 04:14:51'),
(385, 'sales-sales-orders-sales-orders-list.view', 'web', '2025-09-05 04:14:51', '2025-09-05 04:14:51'),
(386, 'sales-sales-orders-sales-orders-list.create', 'web', '2025-09-05 04:14:51', '2025-09-05 04:14:51'),
(387, 'sales-sales-orders-sales-orders-list.update', 'web', '2025-09-05 04:14:51', '2025-09-05 04:14:51'),
(388, 'sales-sales-orders-sales-orders-list.delete', 'web', '2025-09-05 04:14:51', '2025-09-05 04:14:51'),
(389, 'sales-sales-orders-sales-orders-list.export', 'web', '2025-09-05 04:14:52', '2025-09-05 04:14:52'),
(390, 'sales-sales-orders-sales-orders-list.manage', 'web', '2025-09-05 04:14:52', '2025-09-05 04:14:52'),
(391, 'purchase-receiving-goods-receipt.view', 'web', '2025-09-05 04:14:52', '2025-09-05 04:14:52'),
(392, 'purchase-receiving-goods-receipt.create', 'web', '2025-09-05 04:14:52', '2025-09-05 04:14:52'),
(393, 'purchase-receiving-goods-receipt.update', 'web', '2025-09-05 04:14:52', '2025-09-05 04:14:52'),
(394, 'purchase-receiving-goods-receipt.delete', 'web', '2025-09-05 04:14:53', '2025-09-05 04:14:53'),
(395, 'purchase-receiving-goods-receipt.export', 'web', '2025-09-05 04:14:53', '2025-09-05 04:14:53'),
(396, 'purchase-receiving-goods-receipt.manage', 'web', '2025-09-05 04:14:53', '2025-09-05 04:14:53'),
(397, 'purchase-receiving-goods-return.view', 'web', '2025-09-05 04:14:53', '2025-09-05 04:14:53'),
(398, 'purchase-receiving-goods-return.create', 'web', '2025-09-05 04:14:53', '2025-09-05 04:14:53'),
(399, 'purchase-receiving-goods-return.update', 'web', '2025-09-05 04:14:54', '2025-09-05 04:14:54'),
(400, 'purchase-receiving-goods-return.delete', 'web', '2025-09-05 04:14:54', '2025-09-05 04:14:54'),
(401, 'purchase-receiving-goods-return.export', 'web', '2025-09-05 04:14:54', '2025-09-05 04:14:54'),
(402, 'purchase-receiving-goods-return.manage', 'web', '2025-09-05 04:14:54', '2025-09-05 04:14:54'),
(403, 'purchase-receiving-quality-inspection.view', 'web', '2025-09-05 04:14:54', '2025-09-05 04:14:54'),
(404, 'purchase-receiving-quality-inspection.create', 'web', '2025-09-05 04:14:54', '2025-09-05 04:14:54'),
(405, 'purchase-receiving-quality-inspection.update', 'web', '2025-09-05 04:14:55', '2025-09-05 04:14:55'),
(406, 'purchase-receiving-quality-inspection.delete', 'web', '2025-09-05 04:14:55', '2025-09-05 04:14:55'),
(407, 'purchase-receiving-quality-inspection.export', 'web', '2025-09-05 04:14:55', '2025-09-05 04:14:55'),
(408, 'purchase-receiving-quality-inspection.manage', 'web', '2025-09-05 04:14:55', '2025-09-05 04:14:55'),
(409, 'purchase-purchase-orders-create-purchase-order.view', 'web', '2025-09-05 04:14:55', '2025-09-05 04:14:55'),
(410, 'purchase-purchase-orders-create-purchase-order.create', 'web', '2025-09-05 04:14:55', '2025-09-05 04:14:55'),
(411, 'purchase-purchase-orders-create-purchase-order.update', 'web', '2025-09-05 04:14:56', '2025-09-05 04:14:56'),
(412, 'purchase-purchase-orders-create-purchase-order.delete', 'web', '2025-09-05 04:14:56', '2025-09-05 04:14:56'),
(413, 'purchase-purchase-orders-create-purchase-order.export', 'web', '2025-09-05 04:14:56', '2025-09-05 04:14:56'),
(414, 'purchase-purchase-orders-create-purchase-order.manage', 'web', '2025-09-05 04:14:57', '2025-09-05 04:14:57'),
(415, 'purchase-purchase-orders-purchase-orders-list.view', 'web', '2025-09-05 04:14:57', '2025-09-05 04:14:57'),
(416, 'purchase-purchase-orders-purchase-orders-list.create', 'web', '2025-09-05 04:14:58', '2025-09-05 04:14:58'),
(417, 'purchase-purchase-orders-purchase-orders-list.update', 'web', '2025-09-05 04:14:59', '2025-09-05 04:14:59'),
(418, 'purchase-purchase-orders-purchase-orders-list.delete', 'web', '2025-09-05 04:15:00', '2025-09-05 04:15:00'),
(419, 'purchase-purchase-orders-purchase-orders-list.export', 'web', '2025-09-05 04:15:01', '2025-09-05 04:15:01'),
(420, 'purchase-purchase-orders-purchase-orders-list.manage', 'web', '2025-09-05 04:15:01', '2025-09-05 04:15:01'),
(421, 'manufacturing-engineering-bill-of-materials.view', 'web', '2025-09-05 04:15:01', '2025-09-05 04:15:01'),
(422, 'manufacturing-engineering-bill-of-materials.create', 'web', '2025-09-05 04:15:02', '2025-09-05 04:15:02'),
(423, 'manufacturing-engineering-bill-of-materials.update', 'web', '2025-09-05 04:15:02', '2025-09-05 04:15:02'),
(424, 'manufacturing-engineering-bill-of-materials.delete', 'web', '2025-09-05 04:15:02', '2025-09-05 04:15:02'),
(425, 'manufacturing-engineering-bill-of-materials.export', 'web', '2025-09-05 04:15:02', '2025-09-05 04:15:02'),
(426, 'manufacturing-engineering-bill-of-materials.manage', 'web', '2025-09-05 04:15:03', '2025-09-05 04:15:03'),
(427, 'manufacturing-engineering-routings.view', 'web', '2025-09-05 04:15:03', '2025-09-05 04:15:03'),
(428, 'manufacturing-engineering-routings.create', 'web', '2025-09-05 04:15:03', '2025-09-05 04:15:03'),
(429, 'manufacturing-engineering-routings.update', 'web', '2025-09-05 04:15:03', '2025-09-05 04:15:03'),
(430, 'manufacturing-engineering-routings.delete', 'web', '2025-09-05 04:15:04', '2025-09-05 04:15:04'),
(431, 'manufacturing-engineering-routings.export', 'web', '2025-09-05 04:15:04', '2025-09-05 04:15:04'),
(432, 'manufacturing-engineering-routings.manage', 'web', '2025-09-05 04:15:04', '2025-09-05 04:15:04'),
(433, 'manufacturing-planning-capacity-planning.view', 'web', '2025-09-05 04:15:04', '2025-09-05 04:15:04'),
(434, 'manufacturing-planning-capacity-planning.create', 'web', '2025-09-05 04:15:05', '2025-09-05 04:15:05'),
(435, 'manufacturing-planning-capacity-planning.update', 'web', '2025-09-05 04:15:05', '2025-09-05 04:15:05'),
(436, 'manufacturing-planning-capacity-planning.delete', 'web', '2025-09-05 04:15:05', '2025-09-05 04:15:05'),
(437, 'manufacturing-planning-capacity-planning.export', 'web', '2025-09-05 04:15:05', '2025-09-05 04:15:05'),
(438, 'manufacturing-planning-capacity-planning.manage', 'web', '2025-09-05 04:15:05', '2025-09-05 04:15:05'),
(439, 'manufacturing-planning-demand-and-forecast.view', 'web', '2025-09-05 04:15:06', '2025-09-05 04:15:06'),
(440, 'manufacturing-planning-demand-and-forecast.create', 'web', '2025-09-05 04:15:06', '2025-09-05 04:15:06'),
(441, 'manufacturing-planning-demand-and-forecast.update', 'web', '2025-09-05 04:15:06', '2025-09-05 04:15:06'),
(442, 'manufacturing-planning-demand-and-forecast.delete', 'web', '2025-09-05 04:15:06', '2025-09-05 04:15:06'),
(443, 'manufacturing-planning-demand-and-forecast.export', 'web', '2025-09-05 04:15:06', '2025-09-05 04:15:06'),
(444, 'manufacturing-planning-demand-and-forecast.manage', 'web', '2025-09-05 04:15:07', '2025-09-05 04:15:07'),
(445, 'manufacturing-planning-materials-availability.view', 'web', '2025-09-05 04:15:07', '2025-09-05 04:15:07'),
(446, 'manufacturing-planning-materials-availability.create', 'web', '2025-09-05 04:15:07', '2025-09-05 04:15:07'),
(447, 'manufacturing-planning-materials-availability.update', 'web', '2025-09-05 04:15:07', '2025-09-05 04:15:07'),
(448, 'manufacturing-planning-materials-availability.delete', 'web', '2025-09-05 04:15:08', '2025-09-05 04:15:08'),
(449, 'manufacturing-planning-materials-availability.export', 'web', '2025-09-05 04:15:08', '2025-09-05 04:15:08'),
(450, 'manufacturing-planning-materials-availability.manage', 'web', '2025-09-05 04:15:08', '2025-09-05 04:15:08'),
(451, 'manufacturing-planning-mrp.view', 'web', '2025-09-05 04:15:08', '2025-09-05 04:15:08'),
(452, 'manufacturing-planning-mrp.create', 'web', '2025-09-05 04:15:08', '2025-09-05 04:15:08'),
(453, 'manufacturing-planning-mrp.update', 'web', '2025-09-05 04:15:09', '2025-09-05 04:15:09'),
(454, 'manufacturing-planning-mrp.delete', 'web', '2025-09-05 04:15:09', '2025-09-05 04:15:09'),
(455, 'manufacturing-planning-mrp.export', 'web', '2025-09-05 04:15:09', '2025-09-05 04:15:09'),
(456, 'manufacturing-planning-mrp.manage', 'web', '2025-09-05 04:15:09', '2025-09-05 04:15:09'),
(457, 'manufacturing-planning-production-plan.view', 'web', '2025-09-05 04:15:09', '2025-09-05 04:15:09'),
(458, 'manufacturing-planning-production-plan.create', 'web', '2025-09-05 04:15:10', '2025-09-05 04:15:10'),
(459, 'manufacturing-planning-production-plan.update', 'web', '2025-09-05 04:15:10', '2025-09-05 04:15:10'),
(460, 'manufacturing-planning-production-plan.delete', 'web', '2025-09-05 04:15:10', '2025-09-05 04:15:10'),
(461, 'manufacturing-planning-production-plan.export', 'web', '2025-09-05 04:15:10', '2025-09-05 04:15:10'),
(462, 'manufacturing-planning-production-plan.manage', 'web', '2025-09-05 04:15:10', '2025-09-05 04:15:10'),
(463, 'manufacturing-planning-production-schedule.view', 'web', '2025-09-05 04:15:11', '2025-09-05 04:15:11'),
(464, 'manufacturing-planning-production-schedule.create', 'web', '2025-09-05 04:15:11', '2025-09-05 04:15:11'),
(465, 'manufacturing-planning-production-schedule.update', 'web', '2025-09-05 04:15:11', '2025-09-05 04:15:11'),
(466, 'manufacturing-planning-production-schedule.delete', 'web', '2025-09-05 04:15:11', '2025-09-05 04:15:11'),
(467, 'manufacturing-planning-production-schedule.export', 'web', '2025-09-05 04:15:12', '2025-09-05 04:15:12'),
(468, 'manufacturing-planning-production-schedule.manage', 'web', '2025-09-05 04:15:12', '2025-09-05 04:15:12'),
(469, 'manufacturing-execution-finished-goods-receipt.view', 'web', '2025-09-05 04:15:12', '2025-09-05 04:15:12'),
(470, 'manufacturing-execution-finished-goods-receipt.create', 'web', '2025-09-05 04:15:12', '2025-09-05 04:15:12'),
(471, 'manufacturing-execution-finished-goods-receipt.update', 'web', '2025-09-05 04:15:12', '2025-09-05 04:15:12'),
(472, 'manufacturing-execution-finished-goods-receipt.delete', 'web', '2025-09-05 04:15:13', '2025-09-05 04:15:13'),
(473, 'manufacturing-execution-finished-goods-receipt.export', 'web', '2025-09-05 04:15:13', '2025-09-05 04:15:13'),
(474, 'manufacturing-execution-finished-goods-receipt.manage', 'web', '2025-09-05 04:15:13', '2025-09-05 04:15:13'),
(475, 'manufacturing-execution-material-issue.view', 'web', '2025-09-05 04:15:13', '2025-09-05 04:15:13'),
(476, 'manufacturing-execution-material-issue.create', 'web', '2025-09-05 04:15:13', '2025-09-05 04:15:13'),
(477, 'manufacturing-execution-material-issue.update', 'web', '2025-09-05 04:15:14', '2025-09-05 04:15:14'),
(478, 'manufacturing-execution-material-issue.delete', 'web', '2025-09-05 04:15:14', '2025-09-05 04:15:14'),
(479, 'manufacturing-execution-material-issue.export', 'web', '2025-09-05 04:15:14', '2025-09-05 04:15:14'),
(480, 'manufacturing-execution-material-issue.manage', 'web', '2025-09-05 04:15:14', '2025-09-05 04:15:14'),
(481, 'manufacturing-execution-work-orders.view', 'web', '2025-09-05 04:15:15', '2025-09-05 04:15:15'),
(482, 'manufacturing-execution-work-orders.create', 'web', '2025-09-05 04:15:15', '2025-09-05 04:15:15'),
(483, 'manufacturing-execution-work-orders.update', 'web', '2025-09-05 04:15:15', '2025-09-05 04:15:15'),
(484, 'manufacturing-execution-work-orders.delete', 'web', '2025-09-05 04:15:15', '2025-09-05 04:15:15'),
(485, 'manufacturing-execution-work-orders.export', 'web', '2025-09-05 04:15:15', '2025-09-05 04:15:15');
INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(486, 'manufacturing-execution-work-orders.manage', 'web', '2025-09-05 04:15:16', '2025-09-05 04:15:16'),
(487, 'manufacturing-tracking-reports-material-consumption.view', 'web', '2025-09-05 04:15:16', '2025-09-05 04:15:16'),
(488, 'manufacturing-tracking-reports-material-consumption.create', 'web', '2025-09-05 04:15:16', '2025-09-05 04:15:16'),
(489, 'manufacturing-tracking-reports-material-consumption.update', 'web', '2025-09-05 04:15:16', '2025-09-05 04:15:16'),
(490, 'manufacturing-tracking-reports-material-consumption.delete', 'web', '2025-09-05 04:15:17', '2025-09-05 04:15:17'),
(491, 'manufacturing-tracking-reports-material-consumption.export', 'web', '2025-09-05 04:15:17', '2025-09-05 04:15:17'),
(492, 'manufacturing-tracking-reports-material-consumption.manage', 'web', '2025-09-05 04:15:17', '2025-09-05 04:15:17'),
(493, 'manufacturing-tracking-reports-production-summary.view', 'web', '2025-09-05 04:15:17', '2025-09-05 04:15:17'),
(494, 'manufacturing-tracking-reports-production-summary.create', 'web', '2025-09-05 04:15:17', '2025-09-05 04:15:17'),
(495, 'manufacturing-tracking-reports-production-summary.update', 'web', '2025-09-05 04:15:18', '2025-09-05 04:15:18'),
(496, 'manufacturing-tracking-reports-production-summary.delete', 'web', '2025-09-05 04:15:18', '2025-09-05 04:15:18'),
(497, 'manufacturing-tracking-reports-production-summary.export', 'web', '2025-09-05 04:15:18', '2025-09-05 04:15:18'),
(498, 'manufacturing-tracking-reports-production-summary.manage', 'web', '2025-09-05 04:15:18', '2025-09-05 04:15:18'),
(499, 'manufacturing-tracking-reports-wip-status.view', 'web', '2025-09-05 04:15:19', '2025-09-05 04:15:19'),
(500, 'manufacturing-tracking-reports-wip-status.create', 'web', '2025-09-05 04:15:19', '2025-09-05 04:15:19'),
(501, 'manufacturing-tracking-reports-wip-status.update', 'web', '2025-09-05 04:15:19', '2025-09-05 04:15:19'),
(502, 'manufacturing-tracking-reports-wip-status.delete', 'web', '2025-09-05 04:15:19', '2025-09-05 04:15:19'),
(503, 'manufacturing-tracking-reports-wip-status.export', 'web', '2025-09-05 04:15:19', '2025-09-05 04:15:19'),
(504, 'manufacturing-tracking-reports-wip-status.manage', 'web', '2025-09-05 04:15:20', '2025-09-05 04:15:20'),
(505, 'hr-payroll-salary-slips.view', 'web', '2025-09-05 04:15:20', '2025-09-05 04:15:20'),
(506, 'hr-payroll-salary-slips.create', 'web', '2025-09-05 04:15:20', '2025-09-05 04:15:20'),
(507, 'hr-payroll-salary-slips.update', 'web', '2025-09-05 04:15:20', '2025-09-05 04:15:20'),
(508, 'hr-payroll-salary-slips.delete', 'web', '2025-09-05 04:15:21', '2025-09-05 04:15:21'),
(509, 'hr-payroll-salary-slips.export', 'web', '2025-09-05 04:15:21', '2025-09-05 04:15:21'),
(510, 'hr-payroll-salary-slips.manage', 'web', '2025-09-05 04:15:21', '2025-09-05 04:15:21'),
(511, 'hr-payroll-salary-structure.view', 'web', '2025-09-05 04:15:21', '2025-09-05 04:15:21'),
(512, 'hr-payroll-salary-structure.create', 'web', '2025-09-05 04:15:22', '2025-09-05 04:15:22'),
(513, 'hr-payroll-salary-structure.update', 'web', '2025-09-05 04:15:22', '2025-09-05 04:15:22'),
(514, 'hr-payroll-salary-structure.delete', 'web', '2025-09-05 04:15:22', '2025-09-05 04:15:22'),
(515, 'hr-payroll-salary-structure.export', 'web', '2025-09-05 04:15:22', '2025-09-05 04:15:22'),
(516, 'hr-payroll-salary-structure.manage', 'web', '2025-09-05 04:15:22', '2025-09-05 04:15:22'),
(517, 'hr-employee-management-department-assignment.view', 'web', '2025-09-05 04:15:23', '2025-09-05 04:15:23'),
(518, 'hr-employee-management-department-assignment.create', 'web', '2025-09-05 04:15:23', '2025-09-05 04:15:23'),
(519, 'hr-employee-management-department-assignment.update', 'web', '2025-09-05 04:15:23', '2025-09-05 04:15:23'),
(520, 'hr-employee-management-department-assignment.delete', 'web', '2025-09-05 04:15:23', '2025-09-05 04:15:23'),
(521, 'hr-employee-management-department-assignment.export', 'web', '2025-09-05 04:15:24', '2025-09-05 04:15:24'),
(522, 'hr-employee-management-department-assignment.manage', 'web', '2025-09-05 04:15:24', '2025-09-05 04:15:24'),
(523, 'hr-employee-management-employee-directory.view', 'web', '2025-09-05 04:15:24', '2025-09-05 04:15:24'),
(524, 'hr-employee-management-employee-directory.create', 'web', '2025-09-05 04:15:24', '2025-09-05 04:15:24'),
(525, 'hr-employee-management-employee-directory.update', 'web', '2025-09-05 04:15:25', '2025-09-05 04:15:25'),
(526, 'hr-employee-management-employee-directory.delete', 'web', '2025-09-05 04:15:25', '2025-09-05 04:15:25'),
(527, 'hr-employee-management-employee-directory.export', 'web', '2025-09-05 04:15:25', '2025-09-05 04:15:25'),
(528, 'hr-employee-management-employee-directory.manage', 'web', '2025-09-05 04:15:25', '2025-09-05 04:15:25'),
(529, 'hr-employee-management-employee-documents.view', 'web', '2025-09-05 04:15:26', '2025-09-05 04:15:26'),
(530, 'hr-employee-management-employee-documents.create', 'web', '2025-09-05 04:15:26', '2025-09-05 04:15:26'),
(531, 'hr-employee-management-employee-documents.update', 'web', '2025-09-05 04:15:26', '2025-09-05 04:15:26'),
(532, 'hr-employee-management-employee-documents.delete', 'web', '2025-09-05 04:15:26', '2025-09-05 04:15:26'),
(533, 'hr-employee-management-employee-documents.export', 'web', '2025-09-05 04:15:27', '2025-09-05 04:15:27'),
(534, 'hr-employee-management-employee-documents.manage', 'web', '2025-09-05 04:15:27', '2025-09-05 04:15:27'),
(535, 'hr-attendance-leave-attendance-reports.view', 'web', '2025-09-05 04:15:27', '2025-09-05 04:15:27'),
(536, 'hr-attendance-leave-attendance-reports.create', 'web', '2025-09-05 04:15:27', '2025-09-05 04:15:27'),
(537, 'hr-attendance-leave-attendance-reports.update', 'web', '2025-09-05 04:15:27', '2025-09-05 04:15:27'),
(538, 'hr-attendance-leave-attendance-reports.delete', 'web', '2025-09-05 04:15:28', '2025-09-05 04:15:28'),
(539, 'hr-attendance-leave-attendance-reports.export', 'web', '2025-09-05 04:15:28', '2025-09-05 04:15:28'),
(540, 'hr-attendance-leave-attendance-reports.manage', 'web', '2025-09-05 04:15:28', '2025-09-05 04:15:28'),
(541, 'hr-attendance-leave-attendance-tracking.view', 'web', '2025-09-05 04:15:29', '2025-09-05 04:15:29'),
(542, 'hr-attendance-leave-attendance-tracking.create', 'web', '2025-09-05 04:15:29', '2025-09-05 04:15:29'),
(543, 'hr-attendance-leave-attendance-tracking.update', 'web', '2025-09-05 04:15:29', '2025-09-05 04:15:29'),
(544, 'hr-attendance-leave-attendance-tracking.delete', 'web', '2025-09-05 04:15:29', '2025-09-05 04:15:29'),
(545, 'hr-attendance-leave-attendance-tracking.export', 'web', '2025-09-05 04:15:30', '2025-09-05 04:15:30'),
(546, 'hr-attendance-leave-attendance-tracking.manage', 'web', '2025-09-05 04:15:30', '2025-09-05 04:15:30'),
(547, 'hr-attendance-leave-leave-applications.view', 'web', '2025-09-05 04:15:30', '2025-09-05 04:15:30'),
(548, 'hr-attendance-leave-leave-applications.create', 'web', '2025-09-05 04:15:30', '2025-09-05 04:15:30'),
(549, 'hr-attendance-leave-leave-applications.update', 'web', '2025-09-05 04:15:31', '2025-09-05 04:15:31'),
(550, 'hr-attendance-leave-leave-applications.delete', 'web', '2025-09-05 04:15:31', '2025-09-05 04:15:31'),
(551, 'hr-attendance-leave-leave-applications.export', 'web', '2025-09-05 04:15:31', '2025-09-05 04:15:31'),
(552, 'hr-attendance-leave-leave-applications.manage', 'web', '2025-09-05 04:15:31', '2025-09-05 04:15:31'),
(553, 'hr-attendance-leave-leave-approvals.view', 'web', '2025-09-05 04:15:32', '2025-09-05 04:15:32'),
(554, 'hr-attendance-leave-leave-approvals.create', 'web', '2025-09-05 04:15:32', '2025-09-05 04:15:32'),
(555, 'hr-attendance-leave-leave-approvals.update', 'web', '2025-09-05 04:15:32', '2025-09-05 04:15:32'),
(556, 'hr-attendance-leave-leave-approvals.delete', 'web', '2025-09-05 04:15:32', '2025-09-05 04:15:32'),
(557, 'hr-attendance-leave-leave-approvals.export', 'web', '2025-09-05 04:15:32', '2025-09-05 04:15:32'),
(558, 'hr-attendance-leave-leave-approvals.manage', 'web', '2025-09-05 04:15:33', '2025-09-05 04:15:33'),
(559, 'reports-executive.view', 'web', '2025-09-05 04:15:33', '2025-09-05 04:15:33'),
(560, 'reports-executive.create', 'web', '2025-09-05 04:15:33', '2025-09-05 04:15:33'),
(561, 'reports-executive.update', 'web', '2025-09-05 04:15:33', '2025-09-05 04:15:33'),
(562, 'reports-executive.delete', 'web', '2025-09-05 04:15:34', '2025-09-05 04:15:34'),
(563, 'reports-executive.export', 'web', '2025-09-05 04:15:34', '2025-09-05 04:15:34'),
(564, 'reports-executive.manage', 'web', '2025-09-05 04:15:34', '2025-09-05 04:15:34'),
(565, 'system-administration-manage-users-access-logs.view', 'web', '2025-09-05 04:15:35', '2025-09-05 04:15:35'),
(566, 'system-administration-manage-users-access-logs.create', 'web', '2025-09-05 04:15:35', '2025-09-05 04:15:35'),
(567, 'system-administration-manage-users-access-logs.update', 'web', '2025-09-05 04:15:35', '2025-09-05 04:15:35'),
(568, 'system-administration-manage-users-access-logs.delete', 'web', '2025-09-05 04:15:36', '2025-09-05 04:15:36'),
(569, 'system-administration-manage-users-access-logs.export', 'web', '2025-09-05 04:15:36', '2025-09-05 04:15:36'),
(570, 'system-administration-manage-users-access-logs.manage', 'web', '2025-09-05 04:15:36', '2025-09-05 04:15:36'),
(571, 'system-administration-manage-users-assign-permissions.view', 'web', '2025-09-05 04:15:36', '2025-09-05 04:15:36'),
(572, 'system-administration-manage-users-assign-permissions.create', 'web', '2025-09-05 04:15:37', '2025-09-05 04:15:37'),
(573, 'system-administration-manage-users-assign-permissions.update', 'web', '2025-09-05 04:15:37', '2025-09-05 04:15:37'),
(574, 'system-administration-manage-users-assign-permissions.delete', 'web', '2025-09-05 04:15:37', '2025-09-05 04:15:37'),
(575, 'system-administration-manage-users-assign-permissions.export', 'web', '2025-09-05 04:15:37', '2025-09-05 04:15:37'),
(576, 'system-administration-manage-users-assign-permissions.manage', 'web', '2025-09-05 04:15:38', '2025-09-05 04:15:38'),
(577, 'system-administration-manage-users-assign-role.view', 'web', '2025-09-05 04:15:38', '2025-09-05 04:15:38'),
(578, 'system-administration-manage-users-assign-role.create', 'web', '2025-09-05 04:15:38', '2025-09-05 04:15:38'),
(579, 'system-administration-manage-users-assign-role.update', 'web', '2025-09-05 04:15:38', '2025-09-05 04:15:38'),
(580, 'system-administration-manage-users-assign-role.delete', 'web', '2025-09-05 04:15:39', '2025-09-05 04:15:39'),
(581, 'system-administration-manage-users-assign-role.export', 'web', '2025-09-05 04:15:39', '2025-09-05 04:15:39'),
(582, 'system-administration-manage-users-assign-role.manage', 'web', '2025-09-05 04:15:39', '2025-09-05 04:15:39'),
(583, 'system-administration-manage-users-role-permission-matrix.view', 'web', '2025-09-05 04:15:39', '2025-09-05 04:15:39'),
(584, 'system-administration-manage-users-role-permission-matrix.create', 'web', '2025-09-05 04:15:40', '2025-09-05 04:15:40'),
(585, 'system-administration-manage-users-role-permission-matrix.update', 'web', '2025-09-05 04:15:40', '2025-09-05 04:15:40'),
(586, 'system-administration-manage-users-role-permission-matrix.delete', 'web', '2025-09-05 04:15:40', '2025-09-05 04:15:40'),
(587, 'system-administration-manage-users-role-permission-matrix.export', 'web', '2025-09-05 04:15:40', '2025-09-05 04:15:40'),
(588, 'system-administration-manage-users-role-permission-matrix.manage', 'web', '2025-09-05 04:15:41', '2025-09-05 04:15:41'),
(589, 'system-administration-manage-users-user-accounts.view', 'web', '2025-09-05 04:15:41', '2025-09-05 04:15:41'),
(590, 'system-administration-manage-users-user-accounts.create', 'web', '2025-09-05 04:15:41', '2025-09-05 04:15:41'),
(591, 'system-administration-manage-users-user-accounts.update', 'web', '2025-09-05 04:15:42', '2025-09-05 04:15:42'),
(592, 'system-administration-manage-users-user-accounts.delete', 'web', '2025-09-05 04:15:42', '2025-09-05 04:15:42'),
(593, 'system-administration-manage-users-user-accounts.export', 'web', '2025-09-05 04:15:42', '2025-09-05 04:15:42'),
(594, 'system-administration-manage-users-user-accounts.manage', 'web', '2025-09-05 04:15:42', '2025-09-05 04:15:42'),
(595, 'system-administration-system-configuration-backup-settings.view', 'web', '2025-09-05 04:15:43', '2025-09-05 04:15:43'),
(596, 'system-administration-system-configuration-backup-settings.create', 'web', '2025-09-05 04:15:43', '2025-09-05 04:15:43'),
(597, 'system-administration-system-configuration-backup-settings.update', 'web', '2025-09-05 04:15:43', '2025-09-05 04:15:43'),
(598, 'system-administration-system-configuration-backup-settings.delete', 'web', '2025-09-05 04:15:43', '2025-09-05 04:15:43'),
(599, 'system-administration-system-configuration-backup-settings.export', 'web', '2025-09-05 04:15:44', '2025-09-05 04:15:44'),
(600, 'system-administration-system-configuration-backup-settings.manage', 'web', '2025-09-05 04:15:44', '2025-09-05 04:15:44'),
(601, 'system-administration-system-configuration-company-settings.view', 'web', '2025-09-05 04:15:45', '2025-09-05 04:15:45'),
(602, 'system-administration-system-configuration-company-settings.create', 'web', '2025-09-05 04:15:45', '2025-09-05 04:15:45'),
(603, 'system-administration-system-configuration-company-settings.update', 'web', '2025-09-05 04:15:45', '2025-09-05 04:15:45'),
(604, 'system-administration-system-configuration-company-settings.delete', 'web', '2025-09-05 04:15:45', '2025-09-05 04:15:45'),
(605, 'system-administration-system-configuration-company-settings.export', 'web', '2025-09-05 04:15:46', '2025-09-05 04:15:46'),
(606, 'system-administration-system-configuration-company-settings.manage', 'web', '2025-09-05 04:15:46', '2025-09-05 04:15:46'),
(607, 'system-administration-system-configuration-email-configuration.view', 'web', '2025-09-05 04:15:46', '2025-09-05 04:15:46'),
(608, 'system-administration-system-configuration-email-configuration.create', 'web', '2025-09-05 04:15:46', '2025-09-05 04:15:46'),
(609, 'system-administration-system-configuration-email-configuration.update', 'web', '2025-09-05 04:15:47', '2025-09-05 04:15:47'),
(610, 'system-administration-system-configuration-email-configuration.delete', 'web', '2025-09-05 04:15:47', '2025-09-05 04:15:47'),
(611, 'system-administration-system-configuration-email-configuration.export', 'web', '2025-09-05 04:15:47', '2025-09-05 04:15:47'),
(612, 'system-administration-system-configuration-email-configuration.manage', 'web', '2025-09-05 04:15:48', '2025-09-05 04:15:48'),
(613, 'system-administration-system-configuration-number-series.view', 'web', '2025-09-05 04:15:48', '2025-09-05 04:15:48'),
(614, 'system-administration-system-configuration-number-series.create', 'web', '2025-09-05 04:15:48', '2025-09-05 04:15:48'),
(615, 'system-administration-system-configuration-number-series.update', 'web', '2025-09-05 04:15:48', '2025-09-05 04:15:48'),
(616, 'system-administration-system-configuration-number-series.delete', 'web', '2025-09-05 04:15:49', '2025-09-05 04:15:49'),
(617, 'system-administration-system-configuration-number-series.export', 'web', '2025-09-05 04:15:49', '2025-09-05 04:15:49'),
(618, 'system-administration-system-configuration-number-series.manage', 'web', '2025-09-05 04:15:49', '2025-09-05 04:15:49'),
(619, 'system-administration-system-configuration-system-parameters.view', 'web', '2025-09-05 04:15:50', '2025-09-05 04:15:50'),
(620, 'system-administration-system-configuration-system-parameters.create', 'web', '2025-09-05 04:15:50', '2025-09-05 04:15:50'),
(621, 'system-administration-system-configuration-system-parameters.update', 'web', '2025-09-05 04:15:50', '2025-09-05 04:15:50'),
(622, 'system-administration-system-configuration-system-parameters.delete', 'web', '2025-09-05 04:15:51', '2025-09-05 04:15:51'),
(623, 'system-administration-system-configuration-system-parameters.export', 'web', '2025-09-05 04:15:51', '2025-09-05 04:15:51'),
(624, 'system-administration-system-configuration-system-parameters.manage', 'web', '2025-09-05 04:15:51', '2025-09-05 04:15:51'),
(625, 'system-administration-data-management-archive-management.view', 'web', '2025-09-05 04:15:52', '2025-09-05 04:15:52'),
(626, 'system-administration-data-management-archive-management.create', 'web', '2025-09-05 04:15:52', '2025-09-05 04:15:52'),
(627, 'system-administration-data-management-archive-management.update', 'web', '2025-09-05 04:15:52', '2025-09-05 04:15:52'),
(628, 'system-administration-data-management-archive-management.delete', 'web', '2025-09-05 04:15:52', '2025-09-05 04:15:52'),
(629, 'system-administration-data-management-archive-management.export', 'web', '2025-09-05 04:15:53', '2025-09-05 04:15:53'),
(630, 'system-administration-data-management-archive-management.manage', 'web', '2025-09-05 04:15:53', '2025-09-05 04:15:53'),
(631, 'system-administration-data-management-data-cleanup.view', 'web', '2025-09-05 04:15:53', '2025-09-05 04:15:53'),
(632, 'system-administration-data-management-data-cleanup.create', 'web', '2025-09-05 04:15:54', '2025-09-05 04:15:54'),
(633, 'system-administration-data-management-data-cleanup.update', 'web', '2025-09-05 04:15:54', '2025-09-05 04:15:54'),
(634, 'system-administration-data-management-data-cleanup.delete', 'web', '2025-09-05 04:15:54', '2025-09-05 04:15:54'),
(635, 'system-administration-data-management-data-cleanup.export', 'web', '2025-09-05 04:15:54', '2025-09-05 04:15:54'),
(636, 'system-administration-data-management-data-cleanup.manage', 'web', '2025-09-05 04:15:55', '2025-09-05 04:15:55'),
(637, 'system-administration-data-management-data-export.view', 'web', '2025-09-05 04:15:55', '2025-09-05 04:15:55'),
(638, 'system-administration-data-management-data-export.create', 'web', '2025-09-05 04:15:55', '2025-09-05 04:15:55'),
(639, 'system-administration-data-management-data-export.update', 'web', '2025-09-05 04:15:55', '2025-09-05 04:15:55'),
(640, 'system-administration-data-management-data-export.delete', 'web', '2025-09-05 04:15:56', '2025-09-05 04:15:56'),
(641, 'system-administration-data-management-data-export.export', 'web', '2025-09-05 04:15:56', '2025-09-05 04:15:56'),
(642, 'system-administration-data-management-data-export.manage', 'web', '2025-09-05 04:15:56', '2025-09-05 04:15:56'),
(643, 'system-administration-data-management-data-import.view', 'web', '2025-09-05 04:15:57', '2025-09-05 04:15:57'),
(644, 'system-administration-data-management-data-import.create', 'web', '2025-09-05 04:15:57', '2025-09-05 04:15:57'),
(645, 'system-administration-data-management-data-import.update', 'web', '2025-09-05 04:15:59', '2025-09-05 04:15:59'),
(646, 'system-administration-data-management-data-import.delete', 'web', '2025-09-05 04:16:01', '2025-09-05 04:16:01'),
(647, 'system-administration-data-management-data-import.export', 'web', '2025-09-05 04:16:02', '2025-09-05 04:16:02'),
(648, 'system-administration-data-management-data-import.manage', 'web', '2025-09-05 04:16:03', '2025-09-05 04:16:03'),
(649, 'system-administration-data-management-data-migration-tools.view', 'web', '2025-09-05 04:16:03', '2025-09-05 04:16:03'),
(650, 'system-administration-data-management-data-migration-tools.create', 'web', '2025-09-05 04:16:04', '2025-09-05 04:16:04'),
(651, 'system-administration-data-management-data-migration-tools.update', 'web', '2025-09-05 04:16:04', '2025-09-05 04:16:04'),
(652, 'system-administration-data-management-data-migration-tools.delete', 'web', '2025-09-05 04:16:05', '2025-09-05 04:16:05'),
(653, 'system-administration-data-management-data-migration-tools.export', 'web', '2025-09-05 04:16:06', '2025-09-05 04:16:06'),
(654, 'system-administration-data-management-data-migration-tools.manage', 'web', '2025-09-05 04:16:06', '2025-09-05 04:16:06'),
(655, 'system-administration-system-monitoring-audit-trail.view', 'web', '2025-09-05 04:16:06', '2025-09-05 04:16:06'),
(656, 'system-administration-system-monitoring-audit-trail.create', 'web', '2025-09-05 04:16:07', '2025-09-05 04:16:07'),
(657, 'system-administration-system-monitoring-audit-trail.update', 'web', '2025-09-05 04:16:07', '2025-09-05 04:16:07'),
(658, 'system-administration-system-monitoring-audit-trail.delete', 'web', '2025-09-05 04:16:07', '2025-09-05 04:16:07'),
(659, 'system-administration-system-monitoring-audit-trail.export', 'web', '2025-09-05 04:16:08', '2025-09-05 04:16:08'),
(660, 'system-administration-system-monitoring-audit-trail.manage', 'web', '2025-09-05 04:16:08', '2025-09-05 04:16:08'),
(661, 'system-administration-system-monitoring-database-health.view', 'web', '2025-09-05 04:16:08', '2025-09-05 04:16:08'),
(662, 'system-administration-system-monitoring-database-health.create', 'web', '2025-09-05 04:16:09', '2025-09-05 04:16:09'),
(663, 'system-administration-system-monitoring-database-health.update', 'web', '2025-09-05 04:16:09', '2025-09-05 04:16:09'),
(664, 'system-administration-system-monitoring-database-health.delete', 'web', '2025-09-05 04:16:09', '2025-09-05 04:16:09'),
(665, 'system-administration-system-monitoring-database-health.export', 'web', '2025-09-05 04:16:10', '2025-09-05 04:16:10'),
(666, 'system-administration-system-monitoring-database-health.manage', 'web', '2025-09-05 04:16:10', '2025-09-05 04:16:10'),
(667, 'system-administration-system-monitoring-error-logs.view', 'web', '2025-09-05 04:16:10', '2025-09-05 04:16:10'),
(668, 'system-administration-system-monitoring-error-logs.create', 'web', '2025-09-05 04:16:11', '2025-09-05 04:16:11'),
(669, 'system-administration-system-monitoring-error-logs.update', 'web', '2025-09-05 04:16:11', '2025-09-05 04:16:11'),
(670, 'system-administration-system-monitoring-error-logs.delete', 'web', '2025-09-05 04:16:11', '2025-09-05 04:16:11'),
(671, 'system-administration-system-monitoring-error-logs.export', 'web', '2025-09-05 04:16:12', '2025-09-05 04:16:12'),
(672, 'system-administration-system-monitoring-error-logs.manage', 'web', '2025-09-05 04:16:12', '2025-09-05 04:16:12'),
(673, 'system-administration-system-monitoring-performance-monitor.view', 'web', '2025-09-05 04:16:13', '2025-09-05 04:16:13'),
(674, 'system-administration-system-monitoring-performance-monitor.create', 'web', '2025-09-05 04:16:14', '2025-09-05 04:16:14'),
(675, 'system-administration-system-monitoring-performance-monitor.update', 'web', '2025-09-05 04:16:15', '2025-09-05 04:16:15'),
(676, 'system-administration-system-monitoring-performance-monitor.delete', 'web', '2025-09-05 04:16:15', '2025-09-05 04:16:15'),
(677, 'system-administration-system-monitoring-performance-monitor.export', 'web', '2025-09-05 04:16:15', '2025-09-05 04:16:15'),
(678, 'system-administration-system-monitoring-performance-monitor.manage', 'web', '2025-09-05 04:16:16', '2025-09-05 04:16:16'),
(679, 'system-administration-system-monitoring-system-logs.view', 'web', '2025-09-05 04:16:16', '2025-09-05 04:16:16'),
(680, 'system-administration-system-monitoring-system-logs.create', 'web', '2025-09-05 04:16:16', '2025-09-05 04:16:16'),
(681, 'system-administration-system-monitoring-system-logs.update', 'web', '2025-09-05 04:16:17', '2025-09-05 04:16:17'),
(682, 'system-administration-system-monitoring-system-logs.delete', 'web', '2025-09-05 04:16:17', '2025-09-05 04:16:17'),
(683, 'system-administration-system-monitoring-system-logs.export', 'web', '2025-09-05 04:16:18', '2025-09-05 04:16:18'),
(684, 'system-administration-system-monitoring-system-logs.manage', 'web', '2025-09-05 04:16:18', '2025-09-05 04:16:18'),
(685, 'inventory-stock-transactions-stock-opening.view', 'web', '2025-09-11 06:02:34', '2025-09-11 06:02:34'),
(708, 'inventory-stock-transactions-stock-adjustment.update', 'web', '2025-09-11 07:02:13', '2025-09-11 07:02:13'),
(707, 'inventory-stock-transactions-stock-adjustment.create', 'web', '2025-09-11 07:02:13', '2025-09-11 07:02:13'),
(706, 'inventory-stock-transactions-stock-transfer.manage', 'web', '2025-09-11 07:02:13', '2025-09-11 07:02:13'),
(696, 'inventory-stock-transactions-stock-receipt.update', 'web', '2025-09-11 07:02:10', '2025-09-11 07:02:10'),
(695, 'inventory-stock-transactions-stock-receipt.create', 'web', '2025-09-11 07:02:10', '2025-09-11 07:02:10');

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

--
-- Table structure for table `permissions_backup`
--

CREATE TABLE IF NOT EXISTS `permissions_backup` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(125) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(125) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `perm_guard_unique` (`name`,`guard_name`)
) ENGINE=MyISAM AUTO_INCREMENT=1684 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions_backup`
--

INSERT INTO `permissions_backup` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'masters.view', 'web', '2025-08-31 02:30:15', '2025-08-31 02:30:15'),
(990, 'dashboard-executive-overview-financial-summary.view', 'web', '2025-09-02 05:42:05', '2025-09-02 05:42:05'),
(1320, 'purchase-pricing-vendor-pricing.view', 'web', '2025-09-03 00:22:29', '2025-09-03 00:22:29'),
(1460, 'hr-payroll.view', 'web', '2025-09-03 01:12:10', '2025-09-03 01:12:10'),
(1466, 'hr-employee-management.view', 'web', '2025-09-03 01:12:12', '2025-09-03 01:12:12'),
(1629, 'system-administration-data-management-data-cleanup.view', 'web', '2025-09-03 01:55:40', '2025-09-03 01:55:40'),
(1411, 'manufacturing-execution-work-orders.view', 'web', '2025-09-03 00:37:32', '2025-09-03 00:37:32'),
(238, 'sales-billing.view', 'web', '2025-08-31 04:35:15', '2025-08-31 04:35:15'),
(1302, 'purchase-billing-purchase-invoices.view', 'web', '2025-09-03 00:22:23', '2025-09-03 00:22:23'),
(1665, 'system-administration-system-monitoring-database-health.view', 'web', '2025-09-03 01:55:54', '2025-09-03 01:55:54'),
(1393, 'manufacturing-planning-capacity-planning.view', 'web', '2025-09-03 00:37:26', '2025-09-03 00:37:26'),
(1344, 'purchase-purchase-orders-purchase-orders-list.view', 'web', '2025-09-03 00:22:41', '2025-09-03 00:22:41'),
(1617, 'system-administration-data-management-data-import.view', 'web', '2025-09-03 01:55:37', '2025-09-03 01:55:37'),
(1502, 'hr-employee-management-department-assignment.view', 'web', '2025-09-03 01:12:22', '2025-09-03 01:12:22'),
(262, 'sales-pricing.view', 'web', '2025-08-31 04:35:17', '2025-08-31 04:35:17'),
(1405, 'manufacturing-planning-materials-availability.view', 'web', '2025-09-03 00:37:30', '2025-09-03 00:37:30'),
(1284, 'purchase-receiving-goods-receipt.view', 'web', '2025-09-03 00:22:18', '2025-09-03 00:22:18'),
(1417, 'manufacturing-execution-material-issue.view', 'web', '2025-09-03 00:37:34', '2025-09-03 00:37:34'),
(1338, 'purchase-purchase-orders-create-purchase-order.view', 'web', '2025-09-03 00:22:35', '2025-09-03 00:22:35'),
(1357, 'manufacturing-planning.view', 'web', '2025-09-03 00:37:15', '2025-09-03 00:37:15'),
(281, 'dashboard-center.view', 'web', '2025-08-31 05:58:27', '2025-08-31 05:58:27'),
(1254, 'sales-pricing-price-lists-selling.view', 'web', '2025-09-02 11:15:09', '2025-09-02 11:15:09'),
(1272, 'purchase-receiving.view', 'web', '2025-09-03 00:22:14', '2025-09-03 00:22:14'),
(287, 'dashboard-executive-overview.view', 'web', '2025-08-31 05:58:28', '2025-08-31 05:58:28'),
(1056, 'masters-product-management-product-masters.view', 'web', '2025-09-02 09:41:40', '2025-09-02 09:41:40'),
(996, 'masters-organization.view', 'web', '2025-09-02 09:40:52', '2025-09-02 09:40:52'),
(299, 'dashboard-executive-overview-inventory-health.view', 'web', '2025-08-31 05:58:31', '2025-08-31 05:58:31'),
(1044, 'masters-organization-plant-shifts.view', 'web', '2025-09-02 09:41:35', '2025-09-02 09:41:35'),
(305, 'dashboard-executive-overview-sales-performance.view', 'web', '2025-08-31 05:58:33', '2025-08-31 05:58:33'),
(1038, 'masters-organization-work-centers.view', 'web', '2025-09-02 09:41:33', '2025-09-02 09:41:33'),
(311, 'dashboard-executive-overview-purchase-analytics.view', 'web', '2025-08-31 05:58:34', '2025-08-31 05:58:34'),
(1032, 'masters-organization-warehouse-masters.view', 'web', '2025-09-02 09:41:31', '2025-09-02 09:41:31'),
(317, 'dashboard-executive-overview-production-summary.view', 'web', '2025-08-31 05:58:35', '2025-08-31 05:58:35'),
(1026, 'masters-organization-plant-masters.view', 'web', '2025-09-02 09:41:28', '2025-09-02 09:41:28'),
(323, 'dashboard-alerts.view', 'web', '2025-08-31 05:58:36', '2025-08-31 05:58:36'),
(329, 'dashboard-alerts-low-stock-alerts.view', 'web', '2025-08-31 05:58:37', '2025-08-31 05:58:37'),
(1020, 'masters-organization-company-masters.view', 'web', '2025-09-02 09:41:25', '2025-09-02 09:41:25'),
(335, 'dashboard-alerts-pending-approvals.view', 'web', '2025-08-31 05:58:38', '2025-08-31 05:58:38'),
(1164, 'inventory-stock-transactions-stock-transfer.view', 'web', '2025-09-02 10:38:47', '2025-09-02 10:38:47'),
(1599, 'system-administration-system-configuration-email-configuration.view', 'web', '2025-09-03 01:55:33', '2025-09-03 01:55:33'),
(341, 'dashboard-alerts-unbilled-deliveries.view', 'web', '2025-08-31 05:58:39', '2025-08-31 05:58:39'),
(1014, 'masters-business-partners.view', 'web', '2025-09-02 09:41:18', '2025-09-02 09:41:18'),
(347, 'dashboard-alerts-uninvoiced-grns.view', 'web', '2025-08-31 05:58:40', '2025-08-31 05:58:40'),
(1008, 'masters-product-management.view', 'web', '2025-09-02 09:41:07', '2025-09-02 09:41:07'),
(353, 'dashboard-alerts-payment-due.view', 'web', '2025-08-31 05:58:41', '2025-08-31 05:58:41'),
(1002, 'masters-organization-departments.view', 'web', '2025-09-02 09:41:02', '2025-09-02 09:41:02'),
(1188, 'inventory-stock-overview-current-stock-balance.view', 'web', '2025-09-02 10:38:56', '2025-09-02 10:38:56'),
(1351, 'manufacturing-engineering.view', 'web', '2025-09-03 00:37:13', '2025-09-03 00:37:13'),
(1350, 'manufacturing.view', 'web', '2025-09-03 00:37:13', '2025-09-03 00:37:13'),
(1326, 'purchase-billing-three-way-matching.view', 'web', '2025-09-03 00:22:31', '2025-09-03 00:22:31'),
(1062, 'masters-product-management-product-variants.view', 'web', '2025-09-02 09:41:42', '2025-09-02 09:41:42'),
(1074, 'masters-product-management-attribute-masters.view', 'web', '2025-09-02 09:41:46', '2025-09-02 09:41:46'),
(1206, 'sales-fulfillment.view', 'web', '2025-09-02 11:14:52', '2025-09-02 11:14:52'),
(1677, 'system-administration-data-management-data-migration-tools.view', 'web', '2025-09-03 01:55:57', '2025-09-03 01:55:57'),
(1182, 'inventory-stock-ledger-transaction-history.view', 'web', '2025-09-02 10:38:54', '2025-09-02 10:38:54'),
(1212, 'sales-sales-orders.view', 'web', '2025-09-02 11:14:54', '2025-09-02 11:14:54'),
(1314, 'purchase-billing-debit-notes.view', 'web', '2025-09-03 00:22:27', '2025-09-03 00:22:27'),
(1375, 'manufacturing-planning-mrp.view', 'web', '2025-09-03 00:37:20', '2025-09-03 00:37:20'),
(1068, 'masters-product-management-category-management.view', 'web', '2025-09-02 09:41:44', '2025-09-02 09:41:44'),
(1369, 'manufacturing-engineering-routings.view', 'web', '2025-09-03 00:37:19', '2025-09-03 00:37:19'),
(1194, 'inventory-stock-overview-warehouse-wise-stock.view', 'web', '2025-09-02 10:38:58', '2025-09-02 10:38:58'),
(1260, 'sales-sales-orders-create-sales-order.view', 'web', '2025-09-02 11:15:12', '2025-09-02 11:15:12'),
(1605, 'system-administration-system-configuration-backup-settings.view', 'web', '2025-09-03 01:55:34', '2025-09-03 01:55:34'),
(1278, 'purchase-purchase-orders.view', 'web', '2025-09-03 00:22:16', '2025-09-03 00:22:16'),
(1453, 'manufacturing-tracking-reports-production-summary.view', 'web', '2025-09-03 00:37:50', '2025-09-03 00:37:50'),
(1472, 'hr-attendance-leave.view', 'web', '2025-09-03 01:12:13', '2025-09-03 01:12:13'),
(1478, 'hr-payroll-salary-structure.view', 'web', '2025-09-03 01:12:15', '2025-09-03 01:12:15'),
(1447, 'manufacturing-tracking-reports-material-consumption.view', 'web', '2025-09-03 00:37:48', '2025-09-03 00:37:48'),
(1593, 'system-administration-system-configuration-number-series.view', 'web', '2025-09-03 01:55:31', '2025-09-03 01:55:31'),
(1484, 'hr-payroll-salary-slips.view', 'web', '2025-09-03 01:12:17', '2025-09-03 01:12:17'),
(1441, 'manufacturing-tracking-reports-wip-status.view', 'web', '2025-09-03 00:37:42', '2025-09-03 00:37:42'),
(483, 'purchase-billing.view', 'web', '2025-08-31 06:01:29', '2025-08-31 06:01:29'),
(1387, 'manufacturing-planning-production-plan.view', 'web', '2025-09-03 00:37:24', '2025-09-03 00:37:24'),
(1623, 'system-administration-data-management-data-export.view', 'web', '2025-09-03 01:55:39', '2025-09-03 01:55:39'),
(1496, 'hr-employee-management-employee-documents.view', 'web', '2025-09-03 01:12:20', '2025-09-03 01:12:20'),
(1435, 'manufacturing-execution-finished-goods-receipt.view', 'web', '2025-09-03 00:37:39', '2025-09-03 00:37:39'),
(1683, 'dashboard.view', 'web', '2025-09-03 02:08:59', '2025-09-03 02:08:59'),
(1671, 'system-administration-manage-users-role-permission-matrix.view', 'web', '2025-09-03 01:55:55', '2025-09-03 01:55:55'),
(1429, 'manufacturing-planning-demand-and-forecast.view', 'web', '2025-09-03 00:37:37', '2025-09-03 00:37:37'),
(513, 'purchase-pricing.view', 'web', '2025-08-31 06:01:35', '2025-08-31 06:01:35'),
(1508, 'hr-attendance-leave-attendance-tracking.view', 'web', '2025-09-03 01:12:23', '2025-09-03 01:12:23'),
(1363, 'manufacturing-execution.view', 'web', '2025-09-03 00:37:17', '2025-09-03 00:37:17'),
(1611, 'system-administration-system-configuration-system-parameters.view', 'web', '2025-09-03 01:55:36', '2025-09-03 01:55:36'),
(1514, 'hr-attendance-leave-leave-applications.view', 'web', '2025-09-03 01:12:25', '2025-09-03 01:12:25'),
(1423, 'manufacturing-engineering-bill-of-materials.view', 'web', '2025-09-03 00:37:35', '2025-09-03 00:37:35'),
(1050, 'masters-organization-company-gstin.view', 'web', '2025-09-02 09:41:37', '2025-09-02 09:41:37'),
(1200, 'inventory-stock-overview-product-wise-stock.view', 'web', '2025-09-02 10:39:01', '2025-09-02 10:39:01'),
(1532, 'reports.view', 'web', '2025-09-03 01:22:57', '2025-09-03 01:22:57'),
(1533, 'reports-production-production-summary.view', 'web', '2025-09-03 01:22:57', '2025-09-03 01:22:57'),
(1653, 'system-administration-system-monitoring-error-logs.view', 'web', '2025-09-03 01:55:50', '2025-09-03 01:55:50'),
(1647, 'system-administration-system-monitoring-performance-monitor.view', 'web', '2025-09-03 01:55:47', '2025-09-03 01:55:47'),
(1641, 'system-administration-system-monitoring-system-logs.view', 'web', '2025-09-03 01:55:44', '2025-09-03 01:55:44'),
(1635, 'system-administration-data-management-archive-management.view', 'web', '2025-09-03 01:55:42', '2025-09-03 01:55:42'),
(1659, 'system-administration-system-monitoring-audit-trail.view', 'web', '2025-09-03 01:55:52', '2025-09-03 01:55:52'),
(725, 'reports-executive.view', 'web', '2025-08-31 07:33:46', '2025-08-31 07:33:46'),
(1587, 'system-administration-system-configuration-company-settings.view', 'web', '2025-09-03 01:55:30', '2025-09-03 01:55:30'),
(737, 'reports-inventory.view', 'web', '2025-08-31 07:33:52', '2025-08-31 07:33:52'),
(743, 'reports-inventory-stock-position.view', 'web', '2025-08-31 07:33:54', '2025-08-31 07:33:54'),
(1581, 'system-administration-manage-users-access-logs.view', 'web', '2025-09-03 01:55:28', '2025-09-03 01:55:28'),
(749, 'reports-inventory-stock-ledger.view', 'web', '2025-08-31 07:33:56', '2025-08-31 07:33:56'),
(755, 'reports-sales.view', 'web', '2025-08-31 07:33:58', '2025-08-31 07:33:58'),
(761, 'reports-sales-performance.view', 'web', '2025-08-31 07:34:00', '2025-08-31 07:34:00'),
(1575, 'system-administration-manage-users-assign-permissions.view', 'web', '2025-09-03 01:55:27', '2025-09-03 01:55:27'),
(767, 'reports-sales-unbilled-deliveries.view', 'web', '2025-08-31 07:34:02', '2025-08-31 07:34:02'),
(773, 'reports-purchase.view', 'web', '2025-08-31 07:34:04', '2025-08-31 07:34:04'),
(1569, 'system-administration-manage-users-assign-role.view', 'web', '2025-09-03 01:55:26', '2025-09-03 01:55:26'),
(779, 'reports-purchase-grn-register.view', 'web', '2025-08-31 07:34:09', '2025-08-31 07:34:09'),
(785, 'reports-purchase-uninvoiced-grns.view', 'web', '2025-08-31 07:34:10', '2025-08-31 07:34:10'),
(791, 'reports-production.view', 'web', '2025-08-31 07:34:12', '2025-08-31 07:34:12'),
(1563, 'system-administration-manage-users-user-accounts.view', 'web', '2025-09-03 01:55:24', '2025-09-03 01:55:24'),
(1539, 'system-administration-manage-users.view', 'web', '2025-09-03 01:55:19', '2025-09-03 01:55:19'),
(803, 'reports-production-wip-status.view', 'web', '2025-08-31 07:34:16', '2025-08-31 07:34:16'),
(809, 'reports-hr.view', 'web', '2025-08-31 07:34:18', '2025-08-31 07:34:18'),
(1551, 'system-administration-data-management.view', 'web', '2025-09-03 01:55:22', '2025-09-03 01:55:22'),
(815, 'reports-hr-attendance-summary.view', 'web', '2025-08-31 07:34:21', '2025-08-31 07:34:21'),
(821, 'reports-hr-leave-analysis.view', 'web', '2025-08-31 07:34:23', '2025-08-31 07:34:23'),
(1545, 'system-administration-system-configuration.view', 'web', '2025-09-03 01:55:20', '2025-09-03 01:55:20'),
(827, 'system-administration.view', 'web', '2025-08-31 08:25:27', '2025-08-31 08:25:27'),
(1332, 'purchase-pricing-price-lists-buying.view', 'web', '2025-09-03 00:22:32', '2025-09-03 00:22:32'),
(1080, 'masters-product-management-brand-masters.view', 'web', '2025-09-02 09:41:49', '2025-09-02 09:41:49'),
(1224, 'sales-fulfillment-delivery-notes.view', 'web', '2025-09-02 11:14:59', '2025-09-02 11:14:59'),
(1308, 'purchase-billing-credit-notes.view', 'web', '2025-09-03 00:22:25', '2025-09-03 00:22:25'),
(1490, 'hr-employee-management-employee-directory.view', 'web', '2025-09-03 01:12:18', '2025-09-03 01:12:18'),
(1557, 'system-administration-system-monitoring.view', 'web', '2025-09-03 01:55:23', '2025-09-03 01:55:23'),
(1086, 'masters-product-management-hsn-masters.view', 'web', '2025-09-02 09:41:51', '2025-09-02 09:41:51'),
(1170, 'inventory-stock-transactions-stock-adjustment.view', 'web', '2025-09-02 10:38:49', '2025-09-02 10:38:49'),
(1230, 'sales-billing-sales-invoices.view', 'web', '2025-09-02 11:15:01', '2025-09-02 11:15:01'),
(1092, 'masters-business-partners-vendor-masters.view', 'web', '2025-09-02 09:41:53', '2025-09-02 09:41:53'),
(1526, 'hr-attendance-leave-attendance-reports.view', 'web', '2025-09-03 01:12:28', '2025-09-03 01:12:28'),
(1296, 'purchase-receiving-goods-return.view', 'web', '2025-09-03 00:22:21', '2025-09-03 00:22:21'),
(1236, 'sales-billing-credit-notes.view', 'web', '2025-09-02 11:15:03', '2025-09-02 11:15:03'),
(1399, 'manufacturing-planning-production-schedule.view', 'web', '2025-09-03 00:37:28', '2025-09-03 00:37:28'),
(1098, 'masters-business-partners-customer-masters.view', 'web', '2025-09-02 09:41:56', '2025-09-02 09:41:56'),
(1158, 'inventory-stock-transactions-stock-issue.view', 'web', '2025-09-02 10:38:45', '2025-09-02 10:38:45'),
(1242, 'sales-billing-debit-notes.view', 'web', '2025-09-02 11:15:05', '2025-09-02 11:15:05'),
(1104, 'masters-business-partners-address-management.view', 'web', '2025-09-02 09:41:58', '2025-09-02 09:41:58'),
(1290, 'purchase-receiving-quality-inspection.view', 'web', '2025-09-03 00:22:20', '2025-09-03 00:22:20'),
(1152, 'inventory-stock-transactions-stock-receipt.view', 'web', '2025-09-02 10:38:43', '2025-09-02 10:38:43'),
(1218, 'sales-fulfillment-pick-lists.view', 'web', '2025-09-02 11:14:57', '2025-09-02 11:14:57'),
(1110, 'masters-business-partners-contact-management.view', 'web', '2025-09-02 09:42:01', '2025-09-02 09:42:01'),
(1146, 'inventory-stock-ledger.view', 'web', '2025-09-02 10:38:41', '2025-09-02 10:38:41'),
(1116, 'masters-business-partners-banking-details.view', 'web', '2025-09-02 09:42:03', '2025-09-02 09:42:03'),
(1520, 'hr-attendance-leave-leave-approvals.view', 'web', '2025-09-03 01:12:27', '2025-09-03 01:12:27'),
(1248, 'sales-pricing-sales-prices.view', 'web', '2025-09-02 11:15:07', '2025-09-02 11:15:07'),
(1140, 'inventory-stock-transactions.view', 'web', '2025-09-02 10:38:39', '2025-09-02 10:38:39'),
(1266, 'sales-sales-orders-sales-orders-list.view', 'web', '2025-09-02 11:15:14', '2025-09-02 11:15:14'),
(1122, 'masters-business-partners-gstin-management.view', 'web', '2025-09-02 09:42:05', '2025-09-02 09:42:05'),
(1134, 'inventory-stock-overview.view', 'web', '2025-09-02 10:38:37', '2025-09-02 10:38:37'),
(1128, 'masters-product-management-units-of-measure.view', 'web', '2025-09-02 09:42:12', '2025-09-02 09:42:12'),
(1176, 'inventory-stock-ledger-stock-ledger.view', 'web', '2025-09-02 10:38:52', '2025-09-02 10:38:52'),
(1381, 'manufacturing-tracking-reports.view', 'web', '2025-09-03 00:37:22', '2025-09-03 00:37:22');

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

--
-- Table structure for table `plant_departments`
--

CREATE TABLE IF NOT EXISTS `plant_departments` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `plant_id` bigint UNSIGNED NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('ACTIVE','INACTIVE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `plant_departments_code_unique` (`code`),
  KEY `plant_departments_plant_id_foreign` (`plant_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `plant_department_map`
--

CREATE TABLE IF NOT EXISTS `plant_department_map` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `plant_id` bigint UNSIGNED NOT NULL,
  `department_id` bigint UNSIGNED NOT NULL,
  `effective_from` date DEFAULT NULL,
  `effective_to` date DEFAULT NULL,
  `status` enum('ACTIVE','INACTIVE','MAINTENANCE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `plant_department_map_plant_id_foreign` (`plant_id`),
  KEY `plant_department_map_department_id_foreign` (`department_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plant_department_map`
--

INSERT INTO `plant_department_map` (`id`, `plant_id`, `department_id`, `effective_from`, `effective_to`, `status`, `created_at`, `updated_at`) VALUES
(1, 2, 1, '2025-08-01', '2025-08-31', 'ACTIVE', '2025-08-15 04:57:44', '2025-08-15 04:57:44'),
(2, 2, 2, '2025-08-01', '2027-05-15', 'ACTIVE', '2025-08-15 05:04:33', '2025-08-15 05:04:33');

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

--
-- Table structure for table `plant_masters`
--

CREATE TABLE IF NOT EXISTS `plant_masters` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `city` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state_id` bigint UNSIGNED DEFAULT NULL,
  `country` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pincode` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` enum('MANUFACTURING','OFFICE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'MANUFACTURING',
  `status` enum('ACTIVE','INACTIVE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `manager_user_id` bigint UNSIGNED DEFAULT NULL,
  `gstin_id` bigint UNSIGNED DEFAULT NULL,
  `geo_lat` decimal(10,7) DEFAULT NULL,
  `geo_long` decimal(10,7) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `plant_masters_code_unique` (`code`),
  KEY `plant_masters_company_id_foreign` (`company_id`),
  KEY `plant_masters_state_id_foreign` (`state_id`),
  KEY `plant_masters_manager_user_id_foreign` (`manager_user_id`),
  KEY `plant_masters_gstin_id_foreign` (`gstin_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plant_masters`
--

INSERT INTO `plant_masters` (`id`, `company_id`, `name`, `code`, `address`, `city`, `state_id`, `country`, `pincode`, `phone`, `email`, `type`, `status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `deleted_at`, `manager_user_id`, `gstin_id`, `geo_lat`, `geo_long`) VALUES
(1, 1, 'Mumbai Plant', 'P001', '202 OMKAR APT House No 829 10', 'Thane', 14, 'India', '400706', '9004588982', 'dummy@dot-next.in', 'MANUFACTURING', 'ACTIVE', '2025-08-14 05:20:34', '2025-08-14 05:21:22', 'AJIT HOGADE', 'AJIT HOGADE', '2025-08-14 05:21:22', 1, 1, 2.2250000, 2.6588000),
(2, 1, 'Mumbai Plant', 'P002', 'Nerul', 'Navi Mumbai', 14, 'India', '400703', '9876543211', 'ap28@indiataekwondo.com', 'MANUFACTURING', 'ACTIVE', '2025-08-14 05:22:36', '2025-09-08 09:35:09', 'AJIT HOGADE', NULL, NULL, 1, 1, 0.0000000, 2.6588000),
(3, 1, 'MAN P', 'PLT001', '202 OMKAR APT House No 829 10', 'Thane', NULL, 'India', '400706', '9876543211', 'aju.260890@gmail.com', 'MANUFACTURING', 'ACTIVE', '2025-08-24 08:09:46', '2025-08-24 08:09:46', 'AJIT HOGADE', NULL, NULL, 1, NULL, NULL, NULL);

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

--
-- Table structure for table `plant_shifts`
--

CREATE TABLE IF NOT EXISTS `plant_shifts` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `plant_id` bigint UNSIGNED NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `break_minutes` int NOT NULL DEFAULT '0',
  `is_night_shift` tinyint(1) NOT NULL DEFAULT '0',
  `working_days_mask` char(7) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1111100' COMMENT 'Mon-Sun as 1/0',
  `overlap_allowed` tinyint(1) NOT NULL DEFAULT '0',
  `grace_minutes` smallint NOT NULL DEFAULT '0',
  `color_code` varchar(7) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('ACTIVE','INACTIVE','MAINTENANCE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint UNSIGNED NOT NULL DEFAULT '0',
  `updated_by` bigint UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `plant_shifts_code_unique` (`code`),
  KEY `plant_shifts_plant_id_foreign` (`plant_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plant_shifts`
--

INSERT INTO `plant_shifts` (`id`, `plant_id`, `name`, `code`, `start_time`, `end_time`, `break_minutes`, `is_night_shift`, `working_days_mask`, `overlap_allowed`, `grace_minutes`, `color_code`, `status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `deleted_at`) VALUES
(1, 2, 'Morning', 'SW001', '08:00:00', '17:00:00', 0, 0, '127', 1, 10, '#00AAFA', 'ACTIVE', '2025-08-24 08:59:21', '2025-08-24 09:12:26', 1, 1, NULL);

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

--
-- Table structure for table `plant_shift_department`
--

CREATE TABLE IF NOT EXISTS `plant_shift_department` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `plant_shift_id` bigint UNSIGNED NOT NULL,
  `department_id` bigint UNSIGNED NOT NULL,
  `effective_from` date DEFAULT NULL,
  `effective_to` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_shift_dept_from` (`plant_shift_id`,`department_id`,`effective_from`),
  KEY `plant_shift_department_department_id_foreign` (`department_id`),
  KEY `plant_shift_department_plant_shift_id_department_id_index` (`plant_shift_id`,`department_id`),
  KEY `plant_shift_department_effective_from_effective_to_index` (`effective_from`,`effective_to`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `plant_work_centers`
--

CREATE TABLE IF NOT EXISTS `plant_work_centers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `plant_id` bigint UNSIGNED NOT NULL,
  `department_id` bigint UNSIGNED NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `work_center_type` enum('MACHINE','LABOR','PACKING','QUALITY','MAINTENANCE','OUTSOURCE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `standard_cycle_time_seconds` int DEFAULT NULL,
  `efficiency_target_percent` decimal(5,2) DEFAULT NULL,
  `cost_rate_per_hour` decimal(12,2) DEFAULT NULL,
  `is_critical` tinyint(1) NOT NULL DEFAULT '0',
  `capacity_per_hour` int NOT NULL DEFAULT '0',
  `workers_required` int NOT NULL DEFAULT '1',
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `plant_work_centers_code_unique` (`code`),
  KEY `plant_work_centers_plant_id_foreign` (`plant_id`),
  KEY `plant_work_centers_department_id_foreign` (`department_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plant_work_centers`
--

INSERT INTO `plant_work_centers` (`id`, `plant_id`, `department_id`, `name`, `code`, `description`, `work_center_type`, `standard_cycle_time_seconds`, `efficiency_target_percent`, `cost_rate_per_hour`, `is_critical`, `capacity_per_hour`, `workers_required`, `status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `deleted_at`) VALUES
(1, 2, 2, 'Yamuna', 'WC001', NULL, 'MACHINE', 30, 85.00, 500.00, 0, 100, 2, 'ACTIVE', '2025-08-24 10:20:00', '2025-08-24 10:20:14', '1', '1', NULL);

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

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

CREATE TABLE IF NOT EXISTS `price_lists` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `price_list_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `price_list_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `currency` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INR',
  `price_list_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'SELLING',
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `applicable_for` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ALL',
  `customer_groups` json DEFAULT NULL,
  `territories` json DEFAULT NULL,
  `vendor_groups` json DEFAULT NULL,
  `valid_from` date DEFAULT NULL,
  `valid_until` date DEFAULT NULL,
  `valid_from_time` time DEFAULT NULL,
  `valid_until_time` time DEFAULT NULL,
  `valid_days_of_week` json DEFAULT NULL,
  `base_price_source` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'MANUAL',
  `price_determination` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'FIXED',
  `default_markup_percentage` decimal(8,2) NOT NULL DEFAULT '0.00',
  `default_discount_percentage` decimal(8,2) NOT NULL DEFAULT '0.00',
  `pricing_formula` json DEFAULT NULL,
  `quantity_based_pricing` tinyint(1) NOT NULL DEFAULT '0',
  `tier_based_pricing` tinyint(1) NOT NULL DEFAULT '0',
  `quantity_tiers` json DEFAULT NULL,
  `prices_include_tax` tinyint(1) NOT NULL DEFAULT '0',
  `tax_template` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `apply_shipping_charges` tinyint(1) NOT NULL DEFAULT '1',
  `additional_charges` json DEFAULT NULL,
  `approval_status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'APPROVED',
  `approved_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `approval_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `auto_update_from_supplier` tinyint(1) NOT NULL DEFAULT '0',
  `supplier_price_list_ref` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `update_frequency_days` int NOT NULL DEFAULT '30',
  `last_auto_update` timestamp NULL DEFAULT NULL,
  `items_count` int NOT NULL DEFAULT '0',
  `avg_margin_percentage` decimal(8,2) NOT NULL DEFAULT '0.00',
  `last_used_date` timestamp NULL DEFAULT NULL,
  `usage_count` int NOT NULL DEFAULT '0',
  `is_system_generated` tinyint(1) NOT NULL DEFAULT '0',
  `generated_from` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `generation_parameters` json DEFAULT NULL,
  `internal_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `price_lists_price_list_code_unique` (`price_list_code`),
  KEY `idx_price_lists_main` (`company_id`,`price_list_type`,`is_active`),
  KEY `idx_price_lists_validity` (`valid_from`,`valid_until`),
  KEY `idx_price_lists_currency` (`currency`,`applicable_for`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_masters`
--

CREATE TABLE IF NOT EXISTS `product_masters` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `product_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `product_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `category_master_id` bigint UNSIGNED DEFAULT NULL,
  `brand_id` bigint UNSIGNED DEFAULT NULL,
  `base_uom_id` bigint UNSIGNED NOT NULL,
  `hsn_id` bigint UNSIGNED DEFAULT NULL,
  `sku_pattern` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `description` varchar(400) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `purchase_uom_id` bigint UNSIGNED DEFAULT NULL,
  `sales_uom_id` bigint UNSIGNED DEFAULT NULL,
  `pricing_uom_id` bigint UNSIGNED DEFAULT NULL,
  `allowed_uoms_json` json DEFAULT NULL,
  `uom_policy_json` json DEFAULT NULL,
  `manufacturing_uom_id` bigint UNSIGNED DEFAULT NULL,
  `product_type_id` int DEFAULT NULL,
  `is_manufactured` tinyint(1) NOT NULL DEFAULT '0',
  `bom_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `batch_tracked` tinyint(1) NOT NULL DEFAULT '0',
  `serial_tracked` tinyint(1) NOT NULL DEFAULT '0',
  `manufacturer` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shelf_life_days` int DEFAULT NULL,
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `weight_per_unit` decimal(10,3) DEFAULT NULL,
  `weight_uom` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'KG',
  `length` decimal(10,2) DEFAULT NULL,
  `width` decimal(10,2) DEFAULT NULL,
  `height` decimal(10,2) DEFAULT NULL,
  `dimension_uom` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'CM',
  `allowed_uoms_by_context_json` json DEFAULT NULL,
  `item_group` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tax_template` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_purchase_item` tinyint(1) NOT NULL DEFAULT '1',
  `is_sales_item` tinyint(1) NOT NULL DEFAULT '1',
  `is_service_item` tinyint(1) NOT NULL DEFAULT '0',
  `is_stock_item` tinyint(1) NOT NULL DEFAULT '1',
  `inspection_required` tinyint(1) NOT NULL DEFAULT '0',
  `quality_inspection_template` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inspection_criteria` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `valuation_method` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'FIFO',
  `standard_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `last_purchase_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `last_sales_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `include_item_in_manufacturing` tinyint(1) NOT NULL DEFAULT '0',
  `default_bom` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `has_variants` tinyint(1) DEFAULT '0',
  `lead_time_days` int NOT NULL DEFAULT '0',
  `scrap_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
  `preferred_vendors` json DEFAULT NULL,
  `customer_restrictions` json DEFAULT NULL,
  `allow_alternative_item` tinyint(1) NOT NULL DEFAULT '0',
  `is_fixed_asset` tinyint(1) NOT NULL DEFAULT '0',
  `auto_create_assets` tinyint(1) NOT NULL DEFAULT '0',
  `asset_category` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `asset_naming_series` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `custom_fields` json DEFAULT NULL,
  `internal_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `is_template` tinyint(1) NOT NULL DEFAULT '0',
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint NOT NULL DEFAULT '0',
  `deleted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `product_masters_product_code_unique` (`product_code`),
  KEY `product_masters_base_uom_id_foreign` (`base_uom_id`),
  KEY `product_masters_purchase_uom_id_foreign` (`purchase_uom_id`),
  KEY `product_masters_sales_uom_id_foreign` (`sales_uom_id`),
  KEY `product_masters_manufacturing_uom_id_foreign` (`manufacturing_uom_id`),
  KEY `product_masters_product_code_index` (`product_code`),
  KEY `product_masters_product_type_index` (`product_type_id`),
  KEY `product_masters_status_index` (`status`),
  KEY `product_masters_category_id_index` (`category_master_id`),
  KEY `product_masters_brand_id_foreign` (`brand_id`),
  KEY `product_masters_hsn_id_foreign` (`hsn_id`),
  KEY `product_masters_pricing_uom_id_foreign` (`pricing_uom_id`)
) ENGINE=MyISAM AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_masters`
--

INSERT INTO `product_masters` (`id`, `product_code`, `product_name`, `category_master_id`, `brand_id`, `base_uom_id`, `hsn_id`, `sku_pattern`, `status`, `description`, `purchase_uom_id`, `sales_uom_id`, `pricing_uom_id`, `allowed_uoms_json`, `uom_policy_json`, `manufacturing_uom_id`, `product_type_id`, `is_manufactured`, `bom_code`, `batch_tracked`, `serial_tracked`, `manufacturer`, `shelf_life_days`, `created_by`, `created_at`, `updated_at`, `weight_per_unit`, `weight_uom`, `length`, `width`, `height`, `dimension_uom`, `allowed_uoms_by_context_json`, `item_group`, `tax_template`, `is_purchase_item`, `is_sales_item`, `is_service_item`, `is_stock_item`, `inspection_required`, `quality_inspection_template`, `inspection_criteria`, `valuation_method`, `standard_rate`, `last_purchase_rate`, `last_sales_rate`, `include_item_in_manufacturing`, `default_bom`, `has_variants`, `lead_time_days`, `scrap_percentage`, `preferred_vendors`, `customer_restrictions`, `allow_alternative_item`, `is_fixed_asset`, `auto_create_assets`, `asset_category`, `asset_naming_series`, `custom_fields`, `internal_notes`, `is_template`, `updated_by`, `is_deleted`, `deleted_at`) VALUES
(1, 'MO-TM', 'TUBULAR MOTOR', 6, 1, 2, 1, 'MO-TM-{BRAND}-{CHANNELS}-{COLOR}-{CONTROL TYPE}-{WIRE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 00:20:11', '2025-09-26 00:20:11', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 05:50:11'),
(2, 'MO-CM', 'CURTAIN MOTOR', 6, 1, 2, 1, 'MO-CM-{BRAND}-{CHANNELS}-{COLOR}-{CONTROL TYPE}-{WIRE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 00:48:25', '2025-09-26 00:48:25', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 06:18:25'),
(3, 'MO-CR', 'CHANNEL REMOTE', 6, 3, 2, 1, 'MO-CR-{BRAND}-{CHANNELS}-{COLOR}-{CONTROL TYPE}-{WIRE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 00:53:26', '2025-09-26 00:53:26', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 06:23:26'),
(4, 'TO-AS', 'ALLUMINIUM SCALE', 8, 3, 2, 1, 'TO-AS-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 01:53:12', '2025-09-26 01:53:12', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:23:12'),
(5, 'TO-CDM', 'Cordless Drill Machine', 8, 3, 2, 1, 'TO-CDM-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 01:55:34', '2025-09-26 01:55:34', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:25:34'),
(6, 'TO-FCM', 'Fabric Cutting Machine', 8, 3, 2, 1, 'TO-FCM-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:00:37', '2025-09-26 02:00:37', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:30:37'),
(7, 'TO-CB', 'CUTTING BLADE', 8, 3, 2, 1, 'TO-CB-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\", \"3\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:08:50', '2025-09-26 02:08:50', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:38:50'),
(8, 'TO-CK', 'Cutting Knife', 8, 3, 2, 1, 'TO-CK-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:10:47', '2025-09-26 02:10:47', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:40:47'),
(9, 'TO-H', 'Hammer', 8, 3, 2, 1, 'TO-H-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:13:26', '2025-09-26 02:13:26', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:43:26'),
(10, 'TO-HDM', 'Hammer Drill Machine', 8, 3, 2, 1, 'TO-HDM-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:15:05', '2025-09-26 02:15:05', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:45:05'),
(11, 'TO-FS', 'Fabric Stand', 8, 3, 2, 1, 'TO-FS-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:19:46', '2025-09-26 02:19:46', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:49:46'),
(12, 'TO-MT', 'Measuring Tape', 8, 3, 2, 1, 'TO-MT-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:23:21', '2025-09-26 02:23:21', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:53:21'),
(13, 'TO-P', 'PLIERS', 8, 3, 2, 1, 'TO-P-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:27:04', '2025-09-26 02:27:04', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 07:57:04'),
(14, 'TO-SD', 'SCREW DRIVER', 8, 3, 2, 1, 'TO-SD-{COLOR}-{LENGTH}-{SIZE}-{MATERIAL}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 5, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 02:34:51', '2025-09-26 02:34:51', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 08:04:51'),
(15, 'BR-RMB', 'ROLLER MOTOR BRACKET', 11, 3, 2, 1, 'BR-RMB-{COLOR}-{MATERIAL}-{BRACKET_TYPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 03:01:11', '2025-09-26 03:01:11', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 08:31:11'),
(16, 'RB-RCU', 'ROLLER CONTROL UNIT', 12, 3, 2, 1, 'RB-RCU-{COLOR}-{LENGTH}-{MATERIAL}-{WIDTH}-{BRACKET_TYPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 04:35:12', '2025-09-26 04:35:12', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 10:05:12'),
(17, 'RB-RT', 'ROLLER TUMBLER', 12, 3, 2, 1, 'RB-RT-{COLOR}-{CONTROL TYPE}-{LENGTH}-{MATERIAL}-{WIDTH}-{BRACKET_TYPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 05:06:25', '2025-09-26 05:06:25', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 10:36:25'),
(18, 'RB-RP', 'ROLLER PELMET', 12, 3, 2, 1, 'RB-RP-{COLOR}-{CONTROL TYPE}-{LENGTH}-{MATERIAL}-{WIDTH}-{BRACKET_TYPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 05:18:25', '2025-09-26 05:18:25', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 10:48:25'),
(19, 'RB-RPFB', 'ROLLER PVC FLAT BOTTOM', 12, 3, 2, 1, 'RB-RPFB-{COLOR}-{CONTROL TYPE}-{LENGTH}-{MATERIAL}-{WIDTH}-{BRACKET_TYPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 05:20:56', '2025-09-26 05:20:56', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 10:50:56'),
(20, 'AC-IS', 'INSERT STRIP', 13, 3, 2, 1, NULL, 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 06:03:06', '2025-09-26 06:03:06', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 11:33:06'),
(21, 'AC-BSC', 'BOTTOM SIDE CAP', 13, 1, 2, 1, 'AC-BSC-{BRAND}-{COLOR}-{LENGTH}-{SIZE}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 06:13:59', '2025-09-26 06:13:59', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 11:43:59'),
(22, 'ZB-ZMC+C', 'ZEBRA MAIN CLUTCH + CHAIN', 14, 1, 2, 1, 'ZB-ZMC+C-{COLOR}-{CONTROL TYPE}-{LENGTH}-{MATERIAL}-{WIDTH}-{BRACKET_TYPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 07:36:39', '2025-09-26 07:36:39', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 13:06:39'),
(23, 'ZB-ZDC', 'ZEBRA DUMMY CLUTCH', 14, 1, 2, 1, 'ZB-ZDC-{COLOR}-{CONTROL TYPE}-{LENGTH}-{MATERIAL}-{WIDTH}-{BRACKET_TYPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 07:38:42', '2025-09-26 07:38:42', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 13:08:42'),
(24, 'ZB-ZBSCS', 'ZEBRA BOTTOM SIDE CAP SET', 14, 1, 2, 1, 'ZB-ZBSCS-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 07:44:05', '2025-09-26 07:44:05', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 13:14:05'),
(25, 'ZB-ZB', 'ZEBRA BRACKET', 14, 1, 2, 1, 'ZB-ZB-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 08:05:32', '2025-09-26 08:05:32', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 13:35:32'),
(26, 'ZB-ZP', 'ZEBRA PELMET', 14, 1, 2, 1, 'ZB-ZP-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 08:11:09', '2025-09-26 08:11:09', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 13:41:09'),
(27, 'ZB-ZT', 'ZEBRA TUMBLER', 14, 1, 2, 1, 'ZB-ZT-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 08:14:18', '2025-09-26 08:14:18', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 13:44:18'),
(28, 'ZB-ZBS', 'ZEBRA BOTTOM SET', 14, 1, 2, 1, 'ZB-ZT-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 08:27:01', '2025-09-26 08:27:01', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 13:57:01'),
(29, 'ZB-CS', 'CLEAR SHEET', 14, 1, 2, 1, 'ZB-PCS-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-26 08:28:49', '2025-09-26 08:28:49', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-26 13:58:49'),
(30, 'WB-WCUEL', 'WOODEN CONTROL UNIT EASY LIFT', 15, 3, 2, 1, 'WB-WCUEL-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-27 04:31:00', '2025-09-27 04:31:00', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-27 10:01:00'),
(31, 'WB-WB', 'WOODEN BRACKET', 15, 3, 2, 1, 'WB-WB-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-27 04:47:43', '2025-09-27 04:47:43', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-27 10:17:43'),
(32, 'WB-WD', 'WOODEN DRUM', 15, 3, 2, 1, 'WB-WD-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"1\", \"2\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-27 05:06:37', '2025-09-27 05:06:37', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-27 10:36:37'),
(33, 'WB-WP', 'WOODEN PELMET', 15, 3, 2, 1, 'WB-WP-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"1\", \"2\", \"4\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-27 05:47:30', '2025-09-27 05:47:30', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-27 11:17:30'),
(34, 'WB-WOR', 'WOODEN OPERATION ROD', 15, 3, 2, 1, 'WB-WOR-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"1\", \"2\", \"4\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-27 06:03:07', '2025-09-27 06:03:07', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-27 11:33:07'),
(35, 'WB-WCAW', 'WOODEN CROWN AND WHEEL', 15, 3, 2, 1, 'WB-WCAW-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"2\", \"3\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-27 06:07:21', '2025-09-27 06:07:21', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-27 11:37:21'),
(36, 'WB-LT', 'LADDER TAPE', 15, 3, 7, 1, 'WB-LT-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"1\", \"2\", \"7\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-27 06:45:26', '2025-09-27 06:45:26', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-27 12:15:26'),
(37, 'WB-WC', 'WOODEN CORD', 15, 3, 7, 1, 'WB-WC-{COLOR}-{CONTROL TYPE}-{LENGTH}-{BRACKET_TYPE}-{MATERIAL}-{WIDTH}-{TYPE_SHAPE}', 1, NULL, NULL, NULL, NULL, '[\"1\", \"2\", \"4\", \"7\"]', NULL, NULL, 2, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-09-27 07:42:27', '2025-09-27 07:42:27', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-09-27 13:12:27'),
(38, 'RO_ROBA', 'Roller basic', 2, 3, 5, 1, 'RO_ROBA-{BRAND}-{COLOR}-{LENGTH}', 1, NULL, NULL, NULL, NULL, '[\"5\", \"6\", \"7\"]', NULL, NULL, 1, 0, NULL, 0, 0, NULL, NULL, 'AJIT HOGADE', '2025-10-02 15:29:58', '2025-10-02 15:29:58', NULL, 'KG', NULL, NULL, NULL, 'CM', NULL, NULL, NULL, 1, 1, 0, 1, 0, NULL, NULL, 'FIFO', 0.0000, 0.0000, 0.0000, 0, NULL, 1, 0, 0.00, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, '2025-10-02 15:29:58');

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

--
-- Table structure for table `product_types`
--

CREATE TABLE IF NOT EXISTS `product_types` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `product_type_code` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `product_type_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `description` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `is_active` tinyint(1) DEFAULT '1',
  `created_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `category_type_code` (`product_type_code`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `product_types`
--

INSERT INTO `product_types` (`id`, `product_type_code`, `product_type_name`, `description`, `is_active`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES
(1, 'FINISHED_GOODS', 'Finished Goods', 'Products ready for sale or delivery', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41'),
(2, 'RAW_MATERIAL', 'Raw Material', 'Primary materials used in the production process', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41'),
(3, 'TRADING_GOODS', 'Trading Goods', 'Purchased goods for resale without processing', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41'),
(4, 'CONSUMABLES', 'Consumables', 'Goods consumed in operations but not part of final product', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41'),
(5, 'SERVICE', 'Service', 'Non-tangible offerings provided to customers', 1, 'system', '2025-07-07 09:37:41', NULL, '2025-07-07 09:37:41');

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

--
-- Table structure for table `product_variants`
--

CREATE TABLE IF NOT EXISTS `product_variants` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sku` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `product_master_id` int NOT NULL,
  `warehouse_id` bigint DEFAULT NULL,
  `uom_id` bigint DEFAULT NULL,
  `brand_id` bigint DEFAULT NULL,
  `hsn_id` bigint DEFAULT NULL,
  `variant_name` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `full_name` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `unit` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `purchase_price` decimal(12,2) DEFAULT '0.00',
  `selling_price` decimal(12,2) DEFAULT '0.00',
  `standard_cost` decimal(12,2) DEFAULT '0.00',
  `currency` varchar(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT 'INR',
  `current_stock` decimal(13,3) DEFAULT '0.000',
  `minimum_stock` decimal(13,3) DEFAULT '0.000',
  `maximum_stock` decimal(13,3) DEFAULT '0.000',
  `reorder_point` decimal(13,3) DEFAULT '0.000',
  `lead_time_days` int DEFAULT '0',
  `preferred_vendor_id` int DEFAULT NULL,
  `barcode` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `weight_kg` decimal(8,3) DEFAULT NULL,
  `weight_value` decimal(10,3) DEFAULT NULL,
  `weight_uom_id` bigint UNSIGNED DEFAULT NULL,
  `width_value` decimal(10,3) DEFAULT NULL,
  `width_uom_id` bigint UNSIGNED DEFAULT NULL,
  `length_value` decimal(10,3) DEFAULT NULL,
  `length_uom_id` bigint UNSIGNED DEFAULT NULL,
  `height_value` decimal(10,3) DEFAULT NULL,
  `height_uom_id` bigint UNSIGNED DEFAULT NULL,
  `dimensions_json` json DEFAULT NULL,
  `status` tinyint DEFAULT '0',
  `created_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `is_deleted` tinyint NOT NULL DEFAULT '0',
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sku` (`sku`),
  KEY `idx_product_variants_product` (`product_master_id`),
  KEY `idx_product_variants_sku` (`sku`),
  KEY `uom_id` (`uom_id`,`brand_id`,`hsn_id`),
  KEY `warehouse_id` (`warehouse_id`),
  KEY `product_variants_weight_uom_id_index` (`weight_uom_id`),
  KEY `product_variants_width_uom_id_index` (`width_uom_id`),
  KEY `product_variants_length_uom_id_index` (`length_uom_id`),
  KEY `product_variants_height_uom_id_index` (`height_uom_id`)
) ENGINE=MyISAM AUTO_INCREMENT=111 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

--
-- Dumping data for table `product_variants`
--

INSERT INTO `product_variants` (`id`, `sku`, `product_master_id`, `warehouse_id`, `uom_id`, `brand_id`, `hsn_id`, `variant_name`, `full_name`, `unit`, `purchase_price`, `selling_price`, `standard_cost`, `currency`, `current_stock`, `minimum_stock`, `maximum_stock`, `reorder_point`, `lead_time_days`, `preferred_vendor_id`, `barcode`, `weight_kg`, `weight_value`, `weight_uom_id`, `width_value`, `width_uom_id`, `length_value`, `length_uom_id`, `height_value`, `height_uom_id`, `dimensions_json`, `status`, `created_by`, `created_at`, `updated_by`, `is_deleted`, `updated_at`, `deleted_at`) VALUES
(1, 'SSG35RL-6/28', 1, NULL, NULL, NULL, NULL, 'TUBULAR REMOTR MOTOR (SSG ) (SSG35RL-6/28)', 'TUBULAR MOTOR - SSG REMOTE', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 00:20:11', NULL, 0, '2025-09-26 00:20:11', NULL),
(2, 'SSG35 SL-6/28', 1, NULL, NULL, NULL, NULL, 'TUBULAR SWITCH MOTOR (SSG ) (SSG35 SL-6/28)', 'TUBULAR MOTOR - SSG Switch', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 00:20:11', NULL, 0, '2025-09-26 00:20:11', NULL),
(3, 'SSG52E-75/20', 2, NULL, NULL, NULL, NULL, 'CURTAIN MOTOR (SSG) (SSG52E-75/20) (REMOTE) (3WIRE)', 'CURTAIN MOTOR - SSG REMOTE 3 Wire', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 00:48:25', NULL, 0, '2025-09-26 00:48:25', NULL),
(4, 'SSG52S-75/20', 2, NULL, NULL, NULL, NULL, 'CURTAIN MOTOR (SSG) (SSG52S-75/20) (SWITCH) (4 WIRE)', 'CURTAIN MOTOR - SSG Switch 4 Wire', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 00:48:25', NULL, 0, '2025-09-26 00:48:25', NULL),
(5, 'SSG 72EV 75/20', 2, NULL, NULL, NULL, NULL, 'CURTAIN  MOTOR (SSG) SSG 72EV 75/20 (REMOTE/SWITCH) 5 WIRE', 'CURTAIN MOTOR - SSG Remote+Switch 5 Wire', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 00:48:25', NULL, 0, '2025-09-26 00:48:25', NULL),
(6, 'SSG2760', 3, NULL, NULL, NULL, NULL, 'DOUBLE CHANNEL REMOTE', 'CHANNEL REMOTE - 2 REMOTE', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 00:53:26', NULL, 0, '2025-09-26 00:53:26', NULL),
(7, 'SSG3102', 3, NULL, NULL, NULL, NULL, 'FIFTEEN CHANNEL REMOTE', 'CHANNEL REMOTE - 15 REMOTE', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 00:53:26', NULL, 0, '2025-09-26 00:53:26', NULL),
(8, 'SSG3100', 3, NULL, NULL, NULL, NULL, 'SINGLE CHANNEL REMOTE', 'CHANNEL REMOTE - 1 REMOTE', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 00:53:26', NULL, 0, '2025-09-26 00:53:26', NULL),
(9, 'TM-AS-12FT', 4, NULL, NULL, NULL, NULL, 'ALLUMINIUM SCALE (12FT)', 'ALLUMINIUM SCALE - 12 Feet Aluminum', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 01:53:12', NULL, 0, '2025-09-26 01:53:12', NULL),
(10, 'TM-CDM', 5, NULL, NULL, NULL, NULL, 'Cordless Drill Machine', 'Cordless Drill Machine - Metal', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 01:55:34', NULL, 0, '2025-09-26 01:55:34', NULL),
(11, 'TO-FCM-3.2-MTR-TRACK', 6, NULL, NULL, NULL, NULL, 'FABRIC CUTTING MACHINE WITH 3.2 MTR TRACK', 'Fabric Cutting Machine - 3.2 MTR Metal', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:00:37', NULL, 0, '2025-09-26 02:00:37', NULL),
(12, 'TO-CB', 7, NULL, NULL, NULL, NULL, 'CUTTING BLADE (SDI ALUMINIUM)', 'CUTTING BLADE - Steel', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:08:50', NULL, 0, '2025-09-26 02:08:50', NULL),
(13, 'TO-CK', 8, NULL, NULL, NULL, NULL, 'CUTTING KNIFE', 'Cutting Knife - Metal/Plastic', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:10:47', NULL, 0, '2025-09-26 02:10:47', NULL),
(14, 'TO-H', 9, NULL, NULL, NULL, NULL, 'HAMMER', 'Hammer - Metal/Wood', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:13:26', NULL, 0, '2025-09-26 02:13:26', NULL),
(15, 'TO-HDM', 10, NULL, NULL, NULL, NULL, 'Hammer Drill Machine', 'Hammer Drill Machine - Metal', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:15:05', NULL, 0, '2025-09-26 02:15:05', NULL),
(16, 'TO-FS', 11, NULL, NULL, NULL, NULL, 'FABRIC STAND FOR CUTTING', 'Fabric Stand - Metal', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:19:46', NULL, 0, '2025-09-26 02:19:46', NULL),
(17, 'TO-MT-3M', 12, NULL, NULL, NULL, NULL, 'MEASURING TAPE (3M)', 'Measuring Tape - 3MTR', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:23:21', NULL, 0, '2025-09-26 02:23:21', NULL),
(18, 'TO-MT-5M', 12, NULL, NULL, NULL, NULL, 'MEASURING TAPE (5M)', 'Measuring Tape - 5 MTR', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:23:21', NULL, 0, '2025-09-26 02:23:21', NULL),
(19, 'TO-P-BIG', 13, NULL, NULL, NULL, NULL, 'PLIERS BIG', 'PLIERS - BIG', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:27:04', NULL, 0, '2025-09-26 02:27:04', NULL),
(20, 'TO-P-SMALL', 13, NULL, NULL, NULL, NULL, 'PLIERS Small', 'PLIERS - Small', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:27:04', NULL, 0, '2025-09-26 02:27:04', NULL),
(21, 'TO-SD-4', 14, NULL, NULL, NULL, NULL, 'SCREW DRIVER 4 INCH', 'SCREW DRIVER - 4 INCH', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:34:51', NULL, 0, '2025-09-26 02:34:51', NULL),
(22, 'TO-SD-8', 14, NULL, NULL, NULL, NULL, 'SCREW DRIVER 8 INCH', 'SCREW DRIVER - 8 INCH', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 02:34:51', NULL, 0, '2025-09-26 02:34:51', NULL),
(23, 'BR-RMB-WALL', 15, NULL, NULL, NULL, NULL, 'WALL BRACKET FOR ROLLER MOTOR', 'ROLLER MOTOR BRACKET  - Metal Wall', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 03:01:11', NULL, 0, '2025-09-26 03:01:11', NULL),
(24, 'RB-38CU-BR', 16, NULL, NULL, NULL, NULL, 'ROLLER CONTROL UNIT - BROWN', 'ROLLER CONTROL UNIT - Brown', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 04:35:12', NULL, 0, '2025-09-26 04:35:12', NULL),
(25, 'RB-38CU-WH', 16, NULL, NULL, NULL, NULL, 'ROLLER CONTROL UNIT - WHITE', 'ROLLER CONTROL UNIT - White', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 04:35:12', NULL, 0, '2025-09-26 04:35:12', NULL),
(26, 'RB-38DCU-WH', 16, NULL, NULL, NULL, NULL, 'ROLLER DOUBLE CONTROL UNIT - WHITE', 'ROLLER CONTROL UNIT - White DOUBLE', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\"', 1, 'AJIT HOGADE', '2025-09-26 04:42:49', 'AJIT HOGADE', 0, '2025-09-26 04:45:00', NULL),
(27, 'RO-TMBL-38', 17, NULL, NULL, NULL, NULL, 'ROLLER TUMBLER 38MM (15FEET)', 'ROLLER TUMBLER - 15FEET 38MM', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 05:06:25', NULL, 0, '2025-09-26 05:06:25', NULL),
(28, 'RB-38PLT-BR', 18, NULL, NULL, NULL, NULL, 'PELMET - BROWN (15 FEET)', 'ROLLER PELMET - Brown 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 05:18:25', NULL, 0, '2025-09-26 05:18:25', NULL),
(29, 'RB-38PLT-WH', 18, NULL, NULL, NULL, NULL, 'PELMET - WHITE (15 FEET)', 'ROLLER PELMET - White 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 05:18:25', NULL, 0, '2025-09-26 05:18:25', NULL),
(30, 'RB-BT-PVC-IV', 19, NULL, NULL, NULL, NULL, 'ROLLER PVC FLAT BOTTOM - IVORY (15FEET)', 'ROLLER PVC FLAT BOTTOM - IVORY 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 05:20:56', NULL, 0, '2025-09-26 05:20:56', NULL),
(31, 'RB-BT-PVC-BR', 19, NULL, NULL, NULL, NULL, 'ROLLER PVC FLAT BOTTOM - BROWN (15FEET)', 'ROLLER PVC FLAT BOTTOM - Brown 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 05:20:56', NULL, 0, '2025-09-26 05:20:56', NULL),
(32, 'RB-BT-PVC-WH', 19, NULL, NULL, NULL, NULL, 'ROLLER PVC FLAT BOTTOM - WHITE (15FEET)', 'ROLLER PVC FLAT BOTTOM - White 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 05:20:56', NULL, 0, '2025-09-26 05:20:56', NULL),
(33, 'IS-13MM-ADH', 20, NULL, NULL, NULL, NULL, 'INSERT STRIP 13MM', 'INSERT STRIP - 13MM', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:03:06', NULL, 0, '2025-09-26 06:03:06', NULL),
(34, 'IS-16MM-ADH', 20, NULL, NULL, NULL, NULL, 'INSERT STRIP 16MM', 'INSERT STRIP - 16MM', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:03:06', NULL, 0, '2025-09-26 06:03:06', NULL),
(35, 'IS-9MM-ADH', 20, NULL, NULL, NULL, NULL, 'INSERT STRIP 9MM', 'INSERT STRIP - 9MM', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:03:06', NULL, 0, '2025-09-26 06:03:06', NULL),
(36, 'RB-SC-CO-SSG-GR', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - COLLAR - SSG BRAND - GREY', 'BOTTOM SIDE CAP - SSG GREY Collar', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:13:59', NULL, 0, '2025-09-26 06:13:59', NULL),
(37, 'RB-SC-CO-SSG-IV', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - COLLAR - SSG BRAND - IVORY', 'BOTTOM SIDE CAP - SSG IVORY Collar', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:13:59', NULL, 0, '2025-09-26 06:13:59', NULL),
(38, 'RB-SC-CO-SSG-BR', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - COLLAR - SSG BRAND - BROWN', 'BOTTOM SIDE CAP - SSG Brown Collar', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:13:59', NULL, 0, '2025-09-26 06:13:59', NULL),
(39, 'RB-SC-CO-SSG-WH', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - COLLAR - SSG BRAND - WHITE', 'BOTTOM SIDE CAP - SSG White Collar', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:13:59', NULL, 0, '2025-09-26 06:13:59', NULL),
(40, 'RB-SC-CO-GR', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - COLLAR - NON BRAND - GREY', 'BOTTOM SIDE CAP - Non Brand GREY Collar', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:13:59', NULL, 0, '2025-09-26 06:13:59', NULL),
(41, 'RB-SC-CO-IV', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - COLLAR - NON BRAND - IVORY', 'BOTTOM SIDE CAP - Non Brand IVORY Collar', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:13:59', NULL, 0, '2025-09-26 06:13:59', NULL),
(42, 'RB-SC-CO-BR', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - COLLAR - NON BRAND - BROWN', 'BOTTOM SIDE CAP - Non Brand Brown Collar', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:13:59', NULL, 0, '2025-09-26 06:13:59', NULL),
(43, 'RB-SC-CO-WH', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - COLLAR - NON BRAND - WHITE', 'BOTTOM SIDE CAP - Non Brand White Collar', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 06:13:59', NULL, 0, '2025-09-26 06:13:59', NULL),
(44, 'RB-SC-SSG-BR', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - SSG BRAND - BROWN', 'BOTTOM SIDE CAP - SSG Brown', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-09-26 06:19:32', NULL, 0, '2025-09-26 06:19:32', NULL),
(45, 'RB-SC-SSG-WH', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - SSG BRAND - WHITE', 'BOTTOM SIDE CAP - SSG White', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-09-26 06:19:32', NULL, 0, '2025-09-26 06:19:32', NULL),
(46, 'RB-SC-SSG-IV', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - SSG BRAND - IVORY', 'BOTTOM SIDE CAP - SSG IVORY', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-09-26 06:19:32', NULL, 0, '2025-09-26 06:19:32', NULL),
(47, 'RB-SC-SSG-GR', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - SSG BRAND - GREY', 'BOTTOM SIDE CAP - SSG GREY', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-09-26 06:19:32', NULL, 0, '2025-09-26 06:19:32', NULL),
(48, 'RB-SC-BR', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - NON BRAND - BROWN', 'BOTTOM SIDE CAP - Non Brand Brown', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-09-26 06:19:32', NULL, 0, '2025-09-26 06:19:32', NULL),
(49, 'RB-SC-WH', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - NON BRAND - WHITE', 'BOTTOM SIDE CAP - Non Brand White', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-09-26 06:19:32', NULL, 0, '2025-09-26 06:19:32', NULL),
(50, 'RB-SC-IV', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - NON BRAND - IVORY', 'BOTTOM SIDE CAP - Non Brand IVORY', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-09-26 06:19:32', NULL, 0, '2025-09-26 06:19:32', NULL),
(51, 'RB-SC-GR', 21, NULL, NULL, NULL, NULL, 'BOTTOM SIDE CAP - NON BRAND - GREY', 'BOTTOM SIDE CAP - Non Brand GREY', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-09-26 06:19:32', NULL, 0, '2025-09-26 06:19:32', NULL),
(52, 'ZB-38MU-BR', 22, NULL, NULL, NULL, NULL, 'ZEBRA MAIN CLUTCH + CHAIN - BROWN', 'ZEBRA MAIN CLUTCH + CHAIN - Brown', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 07:36:39', NULL, 0, '2025-09-26 07:36:39', NULL),
(53, 'ZB-38MU-WH', 22, NULL, NULL, NULL, NULL, 'ZEBRA MAIN CLUTCH + CHAIN - WHITE', 'ZEBRA MAIN CLUTCH + CHAIN - White', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 07:36:39', NULL, 0, '2025-09-26 07:36:39', NULL),
(54, 'ZB-38DC-BR', 23, NULL, NULL, NULL, NULL, 'ZEBRA DUMMY CLUTCH - BROWN', 'ZEBRA DUMMY CLUTCH - Brown', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 07:38:42', NULL, 0, '2025-09-26 07:38:42', NULL),
(55, 'ZB-38DC-WH', 23, NULL, NULL, NULL, NULL, 'ZEBRA DUMMY CLUTCH - WHITE', 'ZEBRA DUMMY CLUTCH - White', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 07:38:42', NULL, 0, '2025-09-26 07:38:42', NULL),
(56, 'ZB-BC-SQ-BR', 24, NULL, NULL, NULL, NULL, 'ZEBRA BOTTOM SIDE CAP SET - SQUARE -BROWN', 'ZEBRA BOTTOM SIDE CAP SET - Brown Square', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 07:44:05', NULL, 0, '2025-09-26 07:44:05', NULL),
(57, 'ZB-BC-US-BR', 24, NULL, NULL, NULL, NULL, 'ZEBRA BOTTOM SIDE CAP SET - U SHAPE -BROWN', 'ZEBRA BOTTOM SIDE CAP SET - Brown U Shape', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 07:44:05', NULL, 0, '2025-09-26 07:44:05', NULL),
(58, 'ZB-BC-SQ-WH', 24, NULL, NULL, NULL, NULL, 'ZEBRA BOTTOM SIDE CAP SET - SQUARE -WHITE', 'ZEBRA BOTTOM SIDE CAP SET - White Square', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 07:44:05', NULL, 0, '2025-09-26 07:44:05', NULL),
(59, 'ZB-BC-US-WH', 24, NULL, NULL, NULL, NULL, 'ZEBRA BOTTOM SIDE CAP SET - U SHAPE -WHITE', 'ZEBRA BOTTOM SIDE CAP SET - White U Shape', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 07:44:05', NULL, 0, '2025-09-26 07:44:05', NULL),
(60, 'ZB-38WB-BR', 25, NULL, NULL, NULL, NULL, 'ZEBRA WALL BRACKET - BROWN', 'ZEBRA BRACKET - Brown Wall', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:05:32', NULL, 0, '2025-09-26 08:05:32', NULL),
(61, 'ZB-38WB-WH', 25, NULL, NULL, NULL, NULL, 'ZEBRA WALL BRACKET - WHITE', 'ZEBRA BRACKET - White Wall', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:05:32', NULL, 0, '2025-09-26 08:05:32', NULL),
(62, 'ZB-L-BRK', 25, NULL, NULL, NULL, NULL, 'ZEBRA L BRACKET', 'ZEBRA BRACKET - L', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:09:11', NULL, 0, '2025-09-26 08:09:11', NULL),
(63, 'ZB-38PLT-BR', 26, NULL, NULL, NULL, NULL, 'ZEBRA PELMET - BROWN (15 FEET)', 'ZEBRA PELMET - Brown 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:11:09', NULL, 0, '2025-09-26 08:11:09', NULL),
(64, 'ZB-38PLT-WH', 26, NULL, NULL, NULL, NULL, 'ZEBRA PELMET - WHITE (15 FEET)', 'ZEBRA PELMET - White 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:11:09', NULL, 0, '2025-09-26 08:11:09', NULL),
(65, 'ZB-BS-SQ-BR', 28, NULL, NULL, NULL, NULL, 'ZEBRA BOTTOM SET SQAURE  - BROWN (15FEET)', 'ZEBRA BOTTOM SET - Brown 15FEET Square', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:27:01', NULL, 0, '2025-09-26 08:27:01', NULL),
(66, 'ZB-BS-US-BR', 28, NULL, NULL, NULL, NULL, 'ZEBRA BOTTOM SET U SHAPE - BROWN (15FEET)', 'ZEBRA BOTTOM SET - Brown 15FEET U Shape', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:27:01', NULL, 0, '2025-09-26 08:27:01', NULL),
(67, 'ZB-BS-SQ-WH', 28, NULL, NULL, NULL, NULL, 'ZEBRA BOTTOM SET SQAURE - WHITE (15FEET)', 'ZEBRA BOTTOM SET - White 15FEET Square', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:27:01', NULL, 0, '2025-09-26 08:27:01', NULL),
(68, 'ZB-BS-US-WH', 28, NULL, NULL, NULL, NULL, 'ZEBRA BOTTOM SET U SHAPE - WHITE (15FEET)', 'ZEBRA BOTTOM SET - White 15FEET U Shape', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:27:01', NULL, 0, '2025-09-26 08:27:01', NULL),
(69, 'ZB-77-PVC', 29, NULL, NULL, NULL, NULL, 'PVC CLEAR SHEET', 'CLEAR SHEET - PVC', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-26 08:28:49', NULL, 0, '2025-09-26 08:28:49', NULL),
(70, 'WB-50CU-EL-CFF', 30, NULL, NULL, NULL, NULL, 'WOODEN CONTROL UNIT EASY LIFT COFFEE', 'WOODEN CONTROL UNIT EASY LIFT - COFFEE Wooden', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 04:31:00', NULL, 0, '2025-09-27 04:31:00', NULL),
(71, 'WB-50CU-EL-GR', 30, NULL, NULL, NULL, NULL, 'WOODEN CONTROL UNIT EASY LIFT GREY', 'WOODEN CONTROL UNIT EASY LIFT - GREY Wooden', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 04:31:00', NULL, 0, '2025-09-27 04:31:00', NULL),
(72, 'WB-50CU-EL-BR', 30, NULL, NULL, NULL, NULL, 'WOODEN CONTROL UNIT EASY LIFT LIGHT BROWN', 'WOODEN CONTROL UNIT EASY LIFT - Brown Wooden', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 04:31:00', NULL, 0, '2025-09-27 04:31:00', NULL),
(73, 'WB-50CU-EL-WH', 30, NULL, NULL, NULL, NULL, 'WOODEN CONTROL UNIT EASY LIFT WHITE', 'WOODEN CONTROL UNIT EASY LIFT - White Wooden', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 04:31:00', NULL, 0, '2025-09-27 04:31:00', NULL),
(74, 'WB-50S-BRK-MOT', 31, NULL, NULL, NULL, NULL, 'WOODEN SIDE BRACKET FOR MOTORISED', 'WOODEN BRACKET - Side', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 04:47:43', NULL, 0, '2025-09-27 04:47:43', NULL),
(75, 'WB-50BRK-CL', 31, NULL, NULL, NULL, NULL, 'WOODEN BRACKET CELLING', 'WOODEN BRACKET - Ceiling', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 04:47:43', NULL, 0, '2025-09-27 04:47:43', NULL),
(76, 'WB-L-50BRKL', 31, NULL, NULL, NULL, NULL, 'WOODEN L BRACKET', 'WOODEN BRACKET - L', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 04:47:43', NULL, 0, '2025-09-27 04:47:43', NULL),
(77, 'WB-2.8DRM', 32, NULL, NULL, NULL, NULL, 'WOODEN DRUM 2.8 MTR', 'WOODEN DRUM  - 2.8 MTR Wooden', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:06:37', NULL, 0, '2025-09-27 05:06:37', NULL),
(78, 'WB-3.2DRM', 32, NULL, NULL, NULL, NULL, 'WOODEN DRUM 3.2 MTR', 'WOODEN DRUM  - 3.2 MTR Wooden', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:06:37', NULL, 0, '2025-09-27 05:06:37', NULL),
(79, 'WB-5DRM', 32, NULL, NULL, NULL, NULL, 'WOODEN DRUM 5 MTR', 'WOODEN DRUM  - 5 MTR Wooden', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:06:37', NULL, 0, '2025-09-27 05:06:37', NULL),
(80, 'WB-50PLT-CFF', 33, NULL, NULL, NULL, NULL, 'WOODEN MANUAL PELMET - COFFEE (15 FEET)', 'WOODEN PELMET - COFFEE Manual 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15.000, 4, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":{\\\"value\\\":15,\\\"uom_id\\\":\\\"4\\\"},\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":15,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:47:30', NULL, 0, '2025-09-27 05:47:30', NULL),
(81, 'WB-50PLT-GR', 33, NULL, NULL, NULL, NULL, 'WOODEN MANUAL PELMET - GREY (15 FEET)', 'WOODEN PELMET - GREY Manual 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15.000, 4, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":{\\\"value\\\":15,\\\"uom_id\\\":\\\"4\\\"},\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":15,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:47:30', NULL, 0, '2025-09-27 05:47:30', NULL),
(82, 'WB-50PLT-BR', 33, NULL, NULL, NULL, NULL, 'WOODEN MANUAL PELMET - LIGHT BROWN (15 FEET)', 'WOODEN PELMET - LIGHT BROWN Manual 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15.000, 4, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":{\\\"value\\\":15,\\\"uom_id\\\":\\\"4\\\"},\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":15,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:47:30', NULL, 0, '2025-09-27 05:47:30', NULL),
(83, 'WB-50PLT-MOT-BR', 33, NULL, NULL, NULL, NULL, 'WOODEN MOTORISED PELMET - BROWN  (15 FEET)', 'WOODEN PELMET - Brown MOTORISED 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15.000, 4, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":{\\\"value\\\":15,\\\"uom_id\\\":\\\"4\\\"},\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":15,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:47:30', NULL, 0, '2025-09-27 05:47:30', NULL),
(84, 'WB-50PLT-WH', 33, NULL, NULL, NULL, NULL, 'WOODEN MANUAL PELMET - WHITE (15 FEET)', 'WOODEN PELMET - White Manual 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15.000, 4, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":{\\\"value\\\":15,\\\"uom_id\\\":\\\"4\\\"},\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":15,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:47:30', NULL, 0, '2025-09-27 05:47:30', NULL),
(85, 'WB-50PLT-MOT-WH', 33, NULL, NULL, NULL, NULL, 'WOODEN MOTORISED PELMET - WHITE  (15 FEET)', 'WOODEN PELMET - White MOTORISED 15FEET', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15.000, 4, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":{\\\"value\\\":15,\\\"uom_id\\\":\\\"4\\\"},\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":15,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 05:47:30', NULL, 0, '2025-09-27 05:47:30', NULL),
(86, 'WB-OP-ROD', 34, NULL, NULL, NULL, NULL, 'WOODEN BLINDS OPERATION ROD ( 12 FEET)', 'WOODEN OPERATION ROD - 12 Feet', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12.000, 4, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":{\\\"value\\\":12,\\\"uom_id\\\":\\\"4\\\"},\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":12,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:03:07', NULL, 0, '2025-09-27 06:03:07', NULL),
(87, 'WB-50CW-MOT', 35, NULL, NULL, NULL, NULL, 'WOODEN CROWN AND WHEEL FOR MOTORISED', 'WOODEN CROWN AND WHEEL - MOTORISED', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 100.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:07:21', NULL, 0, '2025-09-27 06:07:21', NULL),
(88, 'WB-50LT-BD112-BE', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD112-BEIGE', 'LADDER TAPE - BEIGE', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:26', NULL, 0, '2025-09-27 06:45:26', NULL),
(89, 'WB-50LT-BD145-BL', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD145-BLACK', 'LADDER TAPE - BLACK', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:26', NULL, 0, '2025-09-27 06:45:26', NULL),
(90, 'WB-50LT-BD149-CFF', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD149-COFFEE', 'LADDER TAPE - COFFEE', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:26', NULL, 0, '2025-09-27 06:45:26', NULL),
(91, 'WB-50LT-BD128-GR', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD128-GREY', 'LADDER TAPE - GREY', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:26', NULL, 0, '2025-09-27 06:45:26', NULL),
(92, 'WB-50LT-BD126-IV', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD126-IVORY', 'LADDER TAPE - IVORY', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:26', NULL, 0, '2025-09-27 06:45:26', NULL);
INSERT INTO `product_variants` (`id`, `sku`, `product_master_id`, `warehouse_id`, `uom_id`, `brand_id`, `hsn_id`, `variant_name`, `full_name`, `unit`, `purchase_price`, `selling_price`, `standard_cost`, `currency`, `current_stock`, `minimum_stock`, `maximum_stock`, `reorder_point`, `lead_time_days`, `preferred_vendor_id`, `barcode`, `weight_kg`, `weight_value`, `weight_uom_id`, `width_value`, `width_uom_id`, `length_value`, `length_uom_id`, `height_value`, `height_uom_id`, `dimensions_json`, `status`, `created_by`, `created_at`, `updated_by`, `is_deleted`, `updated_at`, `deleted_at`) VALUES
(93, 'WB-50LT-BD135-KH', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD135-KHAKI', 'LADDER TAPE - KHAKI', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:26', NULL, 0, '2025-09-27 06:45:26', NULL),
(94, 'WB-50LT-BD117-LBR', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD117-LIGHT BROWN', 'LADDER TAPE - LIGHT BROWN', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:26', NULL, 0, '2025-09-27 06:45:26', NULL),
(95, 'WB-50LT-BD138-BR', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD138-BROWN', 'LADDER TAPE - Brown', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:27', NULL, 0, '2025-09-27 06:45:27', NULL),
(96, 'WB-50LT-BD101-WH', 36, NULL, NULL, NULL, NULL, 'LADDER TAPE LJ-BD101-WHITE', 'LADDER TAPE - White', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 06:45:27', NULL, 0, '2025-09-27 06:45:27', NULL),
(97, 'WB-50CR-BD138-BR', 37, NULL, NULL, NULL, NULL, 'WOODEN CORD LJ-BD138 - BROWN', 'WOODEN CORD - Brown', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', NULL, 0, '2025-09-27 07:42:27', NULL),
(98, 'WB-50CR-BD101-WH', 37, NULL, NULL, NULL, NULL, 'WOODEN CORD LJ-BD101- WHITE', 'WOODEN CORD - White', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', NULL, 0, '2025-09-27 07:42:27', NULL),
(99, 'WB-50CR-BD126-IV', 37, NULL, NULL, NULL, NULL, 'WOODEN CORD LJ-BD126 - IVORY', 'WOODEN CORD - IVORY', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', NULL, 0, '2025-09-27 07:42:27', NULL),
(100, 'WB-WC_GREY', 37, NULL, NULL, NULL, NULL, 'GREY', 'WOODEN CORD - GREY', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', 'AJIT HOGADE', 0, '2025-09-29 09:53:16', NULL),
(106, 'RO_ROBA_KOREAN_BEIGE_12 Feet', 38, NULL, NULL, NULL, NULL, 'Korean BEIGE 12 Feet', 'Roller basic - Korean BEIGE 12 Feet', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, 2.500, 1, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":{\\\"value\\\":2.5,\\\"uom_id\\\":\\\"1\\\"},\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":2.5,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-10-02 15:29:58', NULL, 0, '2025-10-02 15:29:58', NULL),
(101, 'WB-50CR-BD149-CFF', 37, NULL, NULL, NULL, NULL, 'WOODEN CORD LJ-BD149 - COFFEE', 'WOODEN CORD - COFFEE', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', NULL, 0, '2025-09-27 07:42:27', NULL),
(102, 'WB-50CR-BD117-LBR', 37, NULL, NULL, NULL, NULL, 'WOODEN CORD  LJ-BD117- LIGHT BROWN', 'WOODEN CORD - LIGHT BROWN', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', NULL, 0, '2025-09-27 07:42:27', NULL),
(103, 'WB-50CR-BD112-BE', 37, NULL, NULL, NULL, NULL, 'WOODEN CORD  LJ-BD112- BEIGE', 'WOODEN CORD - BEIGE', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', NULL, 0, '2025-09-27 07:42:27', NULL),
(104, 'WB-50CR-BD145-BL', 37, NULL, NULL, NULL, NULL, 'WOODEN CORD LJ-BD145 - BLACK', 'WOODEN CORD - BLACK', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', NULL, 0, '2025-09-27 07:42:27', NULL),
(105, 'WB-50CR-BD135-KH', 37, NULL, NULL, NULL, NULL, 'WOODEN CORD  LJ-BD135 - KHAKI', 'WOODEN CORD - KHAKI', NULL, NULL, NULL, 0.00, 'INR', 0.000, 1.000, 10.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 1, 'AJIT HOGADE', '2025-09-27 07:42:27', NULL, 0, '2025-09-27 07:42:27', NULL),
(107, 'RO_ROBA_KOREAN_BEIGE_1.5MTR', 38, NULL, NULL, NULL, NULL, 'Korean BEIGE 1.5MTR', 'Roller basic - Korean BEIGE 1.5MTR', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":null,\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":null,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-10-04 11:52:12', NULL, 0, '2025-10-04 11:52:12', NULL),
(108, 'RO_ROBA_SSG_BLACK_1.5MTR', 38, NULL, NULL, NULL, NULL, 'SSG BLACK 1.5MTR', 'Roller basic - SSG BLACK 1.5MTR', NULL, NULL, NULL, 0.00, 'INR', NULL, 11.000, 11.000, 11.000, 11, NULL, NULL, NULL, NULL, NULL, 1.500, 1, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":{\\\"value\\\":1.5,\\\"uom_id\\\":\\\"1\\\"},\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":1.5,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-10-04 11:56:21', NULL, 0, '2025-10-04 11:56:21', NULL),
(109, 'RO_ROBA_SSG_GREY_1.5MTR', 38, NULL, NULL, NULL, NULL, 'SSG GREY 1.5MTR', 'Roller basic - SSG GREY 1.5MTR', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, 1.500, 1, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":{\\\"value\\\":1.5,\\\"uom_id\\\":\\\"1\\\"},\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":1.5,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-10-04 12:04:03', NULL, 0, '2025-10-04 12:04:03', NULL),
(110, 'RO_ROBA_NON BRAND_WHITE_1.5MTR', 38, NULL, NULL, NULL, NULL, 'Non Brand White 1.5MTR', 'Roller basic - Non Brand White 1.5MTR', NULL, NULL, NULL, 0.00, 'INR', NULL, 1.000, 1.000, 1.000, 1, NULL, NULL, NULL, NULL, NULL, 1.500, 1, NULL, NULL, NULL, NULL, '\"{\\\"weight\\\":null,\\\"width\\\":{\\\"value\\\":1.5,\\\"uom_id\\\":\\\"1\\\"},\\\"length\\\":null,\\\"height\\\":null,\\\"meta\\\":{\\\"canonical\\\":{\\\"weight_kg\\\":null,\\\"width_m\\\":1.5,\\\"length_m\\\":null,\\\"height_m\\\":null}}}\"', 0, 'AJIT HOGADE', '2025-10-04 12:08:45', NULL, 0, '2025-10-04 12:08:45', NULL);

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

--
-- Table structure for table `product_variants_11`
--

CREATE TABLE IF NOT EXISTS `product_variants_11` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `product_master_id` bigint UNSIGNED NOT NULL,
  `sku` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `full_name` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `uom_id` bigint UNSIGNED DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `stock` int NOT NULL DEFAULT '0',
  `status` enum('ACTIVE','INACTIVE') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `brand_id` bigint UNSIGNED DEFAULT NULL,
  `hsn_id` bigint UNSIGNED DEFAULT NULL,
  `default_warehouse_id` bigint UNSIGNED DEFAULT NULL,
  `item_tax_template_id` bigint UNSIGNED DEFAULT NULL,
  `is_stock_item` tinyint(1) NOT NULL DEFAULT '1',
  `is_sales_item` tinyint(1) NOT NULL DEFAULT '1',
  `is_purchase_item` tinyint(1) NOT NULL DEFAULT '1',
  `opening_stock` decimal(13,3) NOT NULL DEFAULT '0.000',
  `opening_value` decimal(15,2) NOT NULL DEFAULT '0.00',
  `valuation_method` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'FIFO',
  `default_uom_id` bigint UNSIGNED DEFAULT NULL,
  `reserved_qty` decimal(13,3) NOT NULL DEFAULT '0.000',
  `ordered_qty` decimal(13,3) NOT NULL DEFAULT '0.000',
  `available_qty` decimal(13,3) NOT NULL DEFAULT '0.000',
  `batch_number_series` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_number_series` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `auto_create_serial` tinyint(1) NOT NULL DEFAULT '0',
  `auto_create_batch` tinyint(1) NOT NULL DEFAULT '0',
  `company_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `product_variants_sku_unique` (`sku`),
  KEY `product_variants_product_master_id_foreign` (`product_master_id`),
  KEY `product_variants_uom_id_index` (`uom_id`),
  KEY `product_variants_brand_id_foreign` (`brand_id`),
  KEY `product_variants_hsn_id_foreign` (`hsn_id`),
  KEY `product_variants_default_warehouse_id_foreign` (`default_warehouse_id`),
  KEY `product_variants_default_uom_id_foreign` (`default_uom_id`),
  KEY `product_variants_company_id_foreign` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_variant_attributes`
--

CREATE TABLE IF NOT EXISTS `product_variant_attributes` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `attribute_master_id` bigint UNSIGNED NOT NULL,
  `attribute_value_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_by` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `var_attr_unique` (`product_variant_id`,`attribute_master_id`),
  KEY `product_variant_attributes_attribute_master_id_foreign` (`attribute_master_id`),
  KEY `product_variant_attributes_attribute_value_id_foreign` (`attribute_value_id`)
) ENGINE=MyISAM AUTO_INCREMENT=210 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_variant_attributes`
--

INSERT INTO `product_variant_attributes` (`id`, `product_variant_id`, `attribute_master_id`, `attribute_value_id`, `created_at`, `updated_at`, `created_by`, `updated_by`) VALUES
(1, 1, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(2, 1, 4, 70, NULL, NULL, 'AJIT HOGADE', NULL),
(3, 2, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(4, 2, 4, 68, NULL, NULL, 'AJIT HOGADE', NULL),
(5, 3, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(6, 3, 4, 70, NULL, NULL, 'AJIT HOGADE', NULL),
(7, 3, 10, 65, NULL, NULL, 'AJIT HOGADE', NULL),
(8, 4, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(9, 4, 4, 68, NULL, NULL, 'AJIT HOGADE', NULL),
(10, 4, 10, 66, NULL, NULL, 'AJIT HOGADE', NULL),
(11, 5, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(12, 5, 4, 69, NULL, NULL, 'AJIT HOGADE', NULL),
(13, 5, 10, 67, NULL, NULL, 'AJIT HOGADE', NULL),
(14, 6, 2, 74, NULL, NULL, 'AJIT HOGADE', NULL),
(15, 6, 4, 70, NULL, NULL, 'AJIT HOGADE', NULL),
(16, 7, 2, 72, NULL, NULL, 'AJIT HOGADE', NULL),
(17, 7, 4, 70, NULL, NULL, 'AJIT HOGADE', NULL),
(18, 8, 2, 71, NULL, NULL, 'AJIT HOGADE', NULL),
(19, 8, 4, 70, NULL, NULL, 'AJIT HOGADE', NULL),
(20, 9, 5, 58, NULL, NULL, 'AJIT HOGADE', NULL),
(21, 9, 8, 35, NULL, NULL, 'AJIT HOGADE', NULL),
(22, 10, 8, 75, NULL, NULL, 'AJIT HOGADE', NULL),
(23, 11, 5, 76, NULL, NULL, 'AJIT HOGADE', NULL),
(24, 11, 8, 75, NULL, NULL, 'AJIT HOGADE', NULL),
(25, 12, 8, 77, NULL, NULL, 'AJIT HOGADE', NULL),
(26, 13, 8, 78, NULL, NULL, 'AJIT HOGADE', NULL),
(27, 14, 8, 79, NULL, NULL, 'AJIT HOGADE', NULL),
(28, 15, 8, 75, NULL, NULL, 'AJIT HOGADE', NULL),
(29, 16, 8, 75, NULL, NULL, 'AJIT HOGADE', NULL),
(30, 17, 5, 64, NULL, NULL, 'AJIT HOGADE', NULL),
(31, 18, 5, 80, NULL, NULL, 'AJIT HOGADE', NULL),
(32, 19, 6, 81, NULL, NULL, 'AJIT HOGADE', NULL),
(33, 20, 6, 82, NULL, NULL, 'AJIT HOGADE', NULL),
(34, 21, 5, 83, NULL, NULL, 'AJIT HOGADE', NULL),
(35, 22, 5, 84, NULL, NULL, 'AJIT HOGADE', NULL),
(36, 23, 8, 75, NULL, NULL, 'AJIT HOGADE', NULL),
(37, 23, 12, 85, NULL, NULL, 'AJIT HOGADE', NULL),
(38, 24, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(39, 25, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(44, 26, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(45, 26, 4, 91, NULL, NULL, 'AJIT HOGADE', NULL),
(46, 27, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(47, 27, 11, 92, NULL, NULL, 'AJIT HOGADE', NULL),
(48, 28, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(49, 28, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(50, 29, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(51, 29, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(52, 30, 3, 93, NULL, NULL, 'AJIT HOGADE', NULL),
(53, 30, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(54, 31, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(55, 31, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(56, 32, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(57, 32, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(58, 33, 6, 102, NULL, NULL, 'AJIT HOGADE', NULL),
(59, 34, 6, 103, NULL, NULL, 'AJIT HOGADE', NULL),
(60, 35, 6, 101, NULL, NULL, 'AJIT HOGADE', NULL),
(61, 36, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(62, 36, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(63, 36, 13, 94, NULL, NULL, 'AJIT HOGADE', NULL),
(64, 37, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(65, 37, 3, 93, NULL, NULL, 'AJIT HOGADE', NULL),
(66, 37, 13, 94, NULL, NULL, 'AJIT HOGADE', NULL),
(67, 38, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(68, 38, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(69, 38, 13, 94, NULL, NULL, 'AJIT HOGADE', NULL),
(70, 39, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(71, 39, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(72, 39, 13, 94, NULL, NULL, 'AJIT HOGADE', NULL),
(73, 40, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(74, 40, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(75, 40, 13, 94, NULL, NULL, 'AJIT HOGADE', NULL),
(76, 41, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(77, 41, 3, 93, NULL, NULL, 'AJIT HOGADE', NULL),
(78, 41, 13, 94, NULL, NULL, 'AJIT HOGADE', NULL),
(79, 42, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(80, 42, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(81, 42, 13, 94, NULL, NULL, 'AJIT HOGADE', NULL),
(82, 43, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(83, 43, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(84, 43, 13, 94, NULL, NULL, 'AJIT HOGADE', NULL),
(85, 44, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(86, 44, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(87, 45, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(88, 45, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(89, 46, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(90, 46, 3, 93, NULL, NULL, 'AJIT HOGADE', NULL),
(91, 47, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(92, 47, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(93, 48, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(94, 48, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(95, 49, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(96, 49, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(97, 50, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(98, 50, 3, 93, NULL, NULL, 'AJIT HOGADE', NULL),
(99, 51, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(100, 51, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(101, 52, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(102, 53, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(103, 54, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(104, 55, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(105, 56, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(106, 56, 13, 95, NULL, NULL, 'AJIT HOGADE', NULL),
(107, 57, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(108, 57, 13, 96, NULL, NULL, 'AJIT HOGADE', NULL),
(109, 58, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(110, 58, 13, 95, NULL, NULL, 'AJIT HOGADE', NULL),
(111, 59, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(112, 59, 13, 96, NULL, NULL, 'AJIT HOGADE', NULL),
(113, 60, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(114, 60, 12, 85, NULL, NULL, 'AJIT HOGADE', NULL),
(115, 61, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(116, 61, 12, 85, NULL, NULL, 'AJIT HOGADE', NULL),
(117, 62, 12, 86, NULL, NULL, 'AJIT HOGADE', NULL),
(118, 63, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(119, 63, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(120, 64, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(121, 64, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(122, 65, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(123, 65, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(124, 65, 13, 95, NULL, NULL, 'AJIT HOGADE', NULL),
(125, 66, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(126, 66, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(127, 66, 13, 96, NULL, NULL, 'AJIT HOGADE', NULL),
(128, 67, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(129, 67, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(130, 67, 13, 95, NULL, NULL, 'AJIT HOGADE', NULL),
(131, 68, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(132, 68, 5, 10, NULL, NULL, 'AJIT HOGADE', NULL),
(133, 68, 13, 96, NULL, NULL, 'AJIT HOGADE', NULL),
(134, 69, 8, 33, NULL, NULL, 'AJIT HOGADE', NULL),
(135, 70, 3, 106, NULL, NULL, 'AJIT HOGADE', NULL),
(136, 70, 8, 34, NULL, NULL, 'AJIT HOGADE', NULL),
(137, 71, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(138, 71, 8, 34, NULL, NULL, 'AJIT HOGADE', NULL),
(139, 72, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(140, 72, 8, 34, NULL, NULL, 'AJIT HOGADE', NULL),
(141, 73, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(142, 73, 8, 34, NULL, NULL, 'AJIT HOGADE', NULL),
(143, 74, 12, 87, NULL, NULL, 'AJIT HOGADE', NULL),
(144, 75, 12, 88, NULL, NULL, 'AJIT HOGADE', NULL),
(145, 76, 12, 86, NULL, NULL, 'AJIT HOGADE', NULL),
(146, 77, 5, 107, NULL, NULL, 'AJIT HOGADE', NULL),
(147, 77, 8, 34, NULL, NULL, 'AJIT HOGADE', NULL),
(148, 78, 5, 76, NULL, NULL, 'AJIT HOGADE', NULL),
(149, 78, 8, 34, NULL, NULL, 'AJIT HOGADE', NULL),
(150, 79, 5, 80, NULL, NULL, 'AJIT HOGADE', NULL),
(151, 79, 8, 34, NULL, NULL, 'AJIT HOGADE', NULL),
(152, 80, 3, 106, NULL, NULL, 'AJIT HOGADE', NULL),
(153, 80, 4, 109, NULL, NULL, 'AJIT HOGADE', NULL),
(154, 80, 5, 110, NULL, NULL, 'AJIT HOGADE', NULL),
(155, 81, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(156, 81, 4, 109, NULL, NULL, 'AJIT HOGADE', NULL),
(157, 81, 5, 110, NULL, NULL, 'AJIT HOGADE', NULL),
(158, 82, 3, 108, NULL, NULL, 'AJIT HOGADE', NULL),
(159, 82, 4, 109, NULL, NULL, 'AJIT HOGADE', NULL),
(160, 82, 5, 110, NULL, NULL, 'AJIT HOGADE', NULL),
(161, 83, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(162, 83, 4, 105, NULL, NULL, 'AJIT HOGADE', NULL),
(163, 83, 5, 110, NULL, NULL, 'AJIT HOGADE', NULL),
(164, 84, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(165, 84, 4, 109, NULL, NULL, 'AJIT HOGADE', NULL),
(166, 84, 5, 110, NULL, NULL, 'AJIT HOGADE', NULL),
(167, 85, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(168, 85, 4, 105, NULL, NULL, 'AJIT HOGADE', NULL),
(169, 85, 5, 110, NULL, NULL, 'AJIT HOGADE', NULL),
(170, 86, 5, 111, NULL, NULL, 'AJIT HOGADE', NULL),
(171, 87, 4, 105, NULL, NULL, 'AJIT HOGADE', NULL),
(172, 88, 3, 112, NULL, NULL, 'AJIT HOGADE', NULL),
(173, 89, 3, 113, NULL, NULL, 'AJIT HOGADE', NULL),
(174, 90, 3, 106, NULL, NULL, 'AJIT HOGADE', NULL),
(175, 91, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(176, 92, 3, 93, NULL, NULL, 'AJIT HOGADE', NULL),
(177, 93, 3, 114, NULL, NULL, 'AJIT HOGADE', NULL),
(178, 94, 3, 108, NULL, NULL, 'AJIT HOGADE', NULL),
(179, 95, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(180, 96, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(181, 97, 3, 5, NULL, NULL, 'AJIT HOGADE', NULL),
(182, 98, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(183, 99, 3, 93, NULL, NULL, 'AJIT HOGADE', NULL),
(190, 100, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(185, 101, 3, 106, NULL, NULL, 'AJIT HOGADE', NULL),
(186, 102, 3, 108, NULL, NULL, 'AJIT HOGADE', NULL),
(187, 103, 3, 112, NULL, NULL, 'AJIT HOGADE', NULL),
(188, 104, 3, 113, NULL, NULL, 'AJIT HOGADE', NULL),
(189, 105, 3, 114, NULL, NULL, 'AJIT HOGADE', NULL),
(191, 106, 1, 40, NULL, NULL, 'AJIT HOGADE', NULL),
(192, 106, 3, 112, NULL, NULL, 'AJIT HOGADE', NULL),
(193, 106, 5, 58, NULL, NULL, 'AJIT HOGADE', NULL),
(194, 106, 11, 115, NULL, NULL, 'AJIT HOGADE', NULL),
(195, 107, 1, 40, NULL, NULL, 'AJIT HOGADE', NULL),
(196, 107, 3, 112, NULL, NULL, 'AJIT HOGADE', NULL),
(197, 107, 5, 62, NULL, NULL, 'AJIT HOGADE', NULL),
(198, 108, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(199, 108, 3, 113, NULL, NULL, 'AJIT HOGADE', NULL),
(200, 108, 5, 62, NULL, NULL, 'AJIT HOGADE', NULL),
(201, 108, 11, 116, NULL, NULL, 'AJIT HOGADE', NULL),
(202, 109, 1, 38, NULL, NULL, 'AJIT HOGADE', NULL),
(203, 109, 3, 104, NULL, NULL, 'AJIT HOGADE', NULL),
(204, 109, 5, 62, NULL, NULL, 'AJIT HOGADE', NULL),
(205, 109, 11, 116, NULL, NULL, 'AJIT HOGADE', NULL),
(206, 110, 1, 39, NULL, NULL, 'AJIT HOGADE', NULL),
(207, 110, 3, 6, NULL, NULL, 'AJIT HOGADE', NULL),
(208, 110, 5, 62, NULL, NULL, 'AJIT HOGADE', NULL),
(209, 110, 11, 116, NULL, NULL, 'AJIT HOGADE', NULL);

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

--
-- Table structure for table `product_variant_purchase_prices`
--

CREATE TABLE IF NOT EXISTS `product_variant_purchase_prices` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `variant_id` bigint UNSIGNED NOT NULL,
  `vendor_id` bigint UNSIGNED DEFAULT NULL,
  `rate` decimal(12,2) NOT NULL,
  `currency` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INR',
  `valid_from` date DEFAULT NULL,
  `valid_to` date DEFAULT NULL,
  `min_qty` decimal(13,3) NOT NULL DEFAULT '1.000',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_variant_purchase_prices_vendor_id_foreign` (`vendor_id`),
  KEY `product_variant_purchase_prices_variant_id_vendor_id_index` (`variant_id`,`vendor_id`),
  KEY `product_variant_purchase_prices_valid_from_valid_to_index` (`valid_from`,`valid_to`),
  KEY `product_variant_purchase_prices_is_active_index` (`is_active`),
  KEY `product_variant_purchase_prices_company_id_foreign` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_variant_sales_prices`
--

CREATE TABLE IF NOT EXISTS `product_variant_sales_prices` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `variant_id` bigint UNSIGNED NOT NULL,
  `customer_id` bigint UNSIGNED DEFAULT NULL,
  `rate` decimal(12,2) NOT NULL,
  `currency` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INR',
  `valid_from` date DEFAULT NULL,
  `valid_to` date DEFAULT NULL,
  `min_qty` decimal(13,3) NOT NULL DEFAULT '1.000',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_variant_sales_prices_customer_id_foreign` (`customer_id`),
  KEY `product_variant_sales_prices_variant_id_customer_id_index` (`variant_id`,`customer_id`),
  KEY `product_variant_sales_prices_valid_from_valid_to_index` (`valid_from`,`valid_to`),
  KEY `product_variant_sales_prices_is_active_index` (`is_active`),
  KEY `product_variant_sales_prices_company_id_foreign` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `roles`
--

CREATE TABLE IF NOT EXISTS `roles` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  `name` varchar(125) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(125) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `role_guard_unique` (`name`,`guard_name`),
  KEY `roles_team_foreign_key_index` (`company_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`id`, `company_id`, `name`, `guard_name`, `description`, `created_at`, `updated_at`) VALUES
(1, NULL, 'Super Admin', 'web', NULL, '2025-08-29 09:55:02', '2025-08-29 09:55:02'),
(2, 1, 'Admin', 'web', NULL, '2025-08-30 06:12:08', '2025-08-30 06:12:08'),
(3, 1, 'Procurement', 'web', NULL, '2025-08-30 06:17:56', '2025-08-30 06:17:56'),
(4, 1, 'Master Data', 'web', 'Ths user will be only taking care of master data', '2025-09-04 05:01:03', '2025-09-04 05:01:03'),
(5, 2, 'Master Data T', 'web', 'Master data management.', '2025-09-08 05:45:58', '2025-09-08 05:45:58');

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

--
-- Table structure for table `role_has_permissions`
--

CREATE TABLE IF NOT EXISTS `role_has_permissions` (
  `permission_id` bigint UNSIGNED NOT NULL,
  `role_id` bigint UNSIGNED NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `role_has_permissions_role_id_foreign` (`role_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_has_permissions`
--

INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(31, 2),
(37, 4),
(199, 5),
(211, 5);

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

--
-- Table structure for table `role_permission_audits`
--

CREATE TABLE IF NOT EXISTS `role_permission_audits` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  `role_id` bigint UNSIGNED DEFAULT NULL,
  `action` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `details` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rp_audits_company_role_created_idx` (`company_id`,`role_id`,`created_at`),
  KEY `role_permission_audits_user_id_index` (`user_id`),
  KEY `role_permission_audits_company_id_index` (`company_id`),
  KEY `role_permission_audits_role_id_index` (`role_id`),
  KEY `role_permission_audits_action_index` (`action`)
) ENGINE=MyISAM AUTO_INCREMENT=38 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_permission_audits`
--

INSERT INTO `role_permission_audits` (`id`, `user_id`, `company_id`, `role_id`, `action`, `details`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 4, 'role_created', '{\"name\": \"Master Data\", \"guard_name\": \"web\", \"description\": \"Ths user will be only taking care of master data\", \"copied_from_role_id\": null}', '2025-09-04 05:01:03', '2025-09-04 05:01:03'),
(2, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": []}', '2025-09-04 05:09:12', '2025-09-04 05:09:12'),
(3, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": []}', '2025-09-04 05:09:17', '2025-09-04 05:09:17'),
(4, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": []}', '2025-09-04 08:19:53', '2025-09-04 08:19:53'),
(5, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": []}', '2025-09-04 08:29:03', '2025-09-04 08:29:03'),
(6, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": []}', '2025-09-04 08:29:34', '2025-09-04 08:29:34'),
(7, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [1]}', '2025-09-04 08:48:50', '2025-09-04 08:48:50'),
(8, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [996]}', '2025-09-04 09:01:12', '2025-09-04 09:01:12'),
(9, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [1026]}', '2025-09-04 09:02:10', '2025-09-04 09:02:10'),
(10, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [1026]}', '2025-09-04 09:02:26', '2025-09-04 09:02:26'),
(11, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [1026]}', '2025-09-04 09:03:33', '2025-09-04 09:03:33'),
(12, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [996]}', '2025-09-05 01:04:47', '2025-09-05 01:04:47'),
(13, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [259, 260, 261, 262, 263, 264]}', '2025-09-05 04:17:02', '2025-09-05 04:17:02'),
(14, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": []}', '2025-09-05 04:18:50', '2025-09-05 04:18:50'),
(15, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [211]}', '2025-09-05 04:19:34', '2025-09-05 04:19:34'),
(16, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [211, 212, 213, 214, 215, 216]}', '2025-09-05 04:20:09', '2025-09-05 04:20:09'),
(17, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199]}', '2025-09-08 02:11:22', '2025-09-08 02:11:22'),
(18, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": []}', '2025-09-08 02:12:13', '2025-09-08 02:12:13'),
(19, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 211]}', '2025-09-08 02:30:01', '2025-09-08 02:30:01'),
(20, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 200, 201, 202, 203, 204, 211]}', '2025-09-08 04:51:58', '2025-09-08 04:51:58'),
(21, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 200, 201, 202, 203, 204, 211, 212, 213, 214, 215, 216]}', '2025-09-08 04:52:21', '2025-09-08 04:52:21'),
(22, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 211]}', '2025-09-08 05:15:09', '2025-09-08 05:15:09'),
(23, 1, 2, 5, 'role_created', '{\"name\": \"Master Data T\", \"guard_name\": \"web\", \"description\": \"Master data management.\", \"copied_from_role_id\": null}', '2025-09-08 05:45:58', '2025-09-08 05:45:58'),
(24, 1, 2, 5, 'permissions_updated', '{\"permission_ids\": [199, 211]}', '2025-09-08 05:48:16', '2025-09-08 05:48:16'),
(25, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 211, 213]}', '2025-09-08 06:39:28', '2025-09-08 06:39:28'),
(26, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 201, 211, 213]}', '2025-09-08 09:06:51', '2025-09-08 09:06:51'),
(27, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 211, 213]}', '2025-09-09 03:03:54', '2025-09-09 03:03:54'),
(28, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 201, 211, 213]}', '2025-09-09 03:04:11', '2025-09-09 03:04:11'),
(29, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 211, 213]}', '2025-09-09 03:04:18', '2025-09-09 03:04:18'),
(30, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199, 200, 211, 213]}', '2025-09-09 08:42:10', '2025-09-09 08:42:10'),
(31, 1, 1, 2, 'permissions_updated', '{\"permission_ids\": [31]}', '2025-09-11 06:41:27', '2025-09-11 06:41:27'),
(32, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": []}', '2025-09-11 06:42:06', '2025-09-11 06:42:06'),
(33, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [31]}', '2025-09-11 06:42:18', '2025-09-11 06:42:18'),
(34, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [31, 32]}', '2025-09-11 06:42:32', '2025-09-11 06:42:32'),
(35, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [199]}', '2025-09-11 06:43:00', '2025-09-11 06:43:00'),
(36, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [31]}', '2025-09-11 06:43:17', '2025-09-11 06:43:17'),
(37, 1, 1, 4, 'permissions_updated', '{\"permission_ids\": [37]}', '2025-09-11 06:44:10', '2025-09-11 06:44:10');

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

--
-- Table structure for table `sessions`
--

CREATE TABLE IF NOT EXISTS `sessions` (
  `id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sessions_user_id_index` (`user_id`),
  KEY `sessions_last_activity_index` (`last_activity`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES
('eOK7jkL5EnYnLiB0UOZkMYY1qoYtMihlE2mHfWta', 1, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', 'YTo2OntzOjY6Il90b2tlbiI7czo0MDoiNkFBaGQzVGxNOHNmS0xPWUxXNDNjT0NxMFpidHZOT1RueGNXYmMzSSI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MTtzOjEwOiJjb21wYW55X2lkIjtpOjE7czoxNjoibGFzdF9hY3Rpdml0eV9hdCI7aToxNzU5Njc1MzM4O3M6OToiX3ByZXZpb3VzIjthOjE6e3M6MzoidXJsIjtzOjYwOiJodHRwOi8vZXJwLnNvZC5tZS9pbnZlbnRvcnkvc3RvY2stdHJhbnNhY3Rpb25zL3N0b2NrLW9wZW5pbmciO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1759675338);

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

--
-- Table structure for table `shift_work_center`
--

CREATE TABLE IF NOT EXISTS `shift_work_center` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `shift_id` bigint UNSIGNED NOT NULL,
  `work_center_id` bigint UNSIGNED NOT NULL,
  `effective_from` date DEFAULT NULL,
  `effective_to` date DEFAULT NULL,
  `capacity_override` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_shift_work_center` (`shift_id`,`work_center_id`),
  KEY `shift_work_center_work_center_id_foreign` (`work_center_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `shift_work_center`
--

INSERT INTO `shift_work_center` (`id`, `shift_id`, `work_center_id`, `effective_from`, `effective_to`, `capacity_override`, `created_at`, `updated_at`) VALUES
(1, 1, 1, '2025-08-14', '2025-09-05', 120, '2025-08-28 09:56:38', '2025-08-28 09:56:38');

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

--
-- Table structure for table `states`
--

CREATE TABLE IF NOT EXISTS `states` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `country_id` bigint UNSIGNED NOT NULL,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `states_country_id_name_index` (`country_id`,`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `state_master`
--

CREATE TABLE IF NOT EXISTS `state_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `state_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `state_code` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `short_name` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country_code` varchar(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IND',
  `zone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `sort_order` int NOT NULL DEFAULT '0',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'SYSTEM',
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `state_master_state_name_unique` (`state_name`),
  UNIQUE KEY `state_master_state_code_unique` (`state_code`),
  KEY `state_master_state_code_index` (`state_code`),
  KEY `state_master_is_active_index` (`is_active`),
  KEY `state_master_sort_order_index` (`sort_order`)
) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `state_master`
--

INSERT INTO `state_master` (`id`, `state_name`, `state_code`, `short_name`, `country_code`, `zone`, `is_active`, `sort_order`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, 'Andhra Pradesh', '37', 'AP', 'IND', 'South', 1, 1, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(2, 'Arunachal Pradesh', '12', 'AR', 'IND', 'Northeast', 1, 2, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(3, 'Assam', '18', 'AS', 'IND', 'Northeast', 1, 3, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(4, 'Bihar', '10', 'BR', 'IND', 'East', 1, 4, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(5, 'Chhattisgarh', '22', 'CG', 'IND', 'Central', 1, 5, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(6, 'Goa', '30', 'GA', 'IND', 'West', 1, 6, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(7, 'Gujarat', '24', 'GJ', 'IND', 'West', 1, 7, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(8, 'Haryana', '06', 'HR', 'IND', 'North', 1, 8, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(9, 'Himachal Pradesh', '02', 'HP', 'IND', 'North', 1, 9, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(10, 'Jharkhand', '20', 'JH', 'IND', 'East', 1, 10, 'SYSTEM', NULL, '2025-07-25 09:15:58', '2025-07-25 09:15:58'),
(11, 'Karnataka', '29', 'KA', 'IND', 'South', 1, 11, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(12, 'Kerala', '32', 'KL', 'IND', 'South', 1, 12, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(13, 'Madhya Pradesh', '23', 'MP', 'IND', 'Central', 1, 13, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(14, 'Maharashtra', '27', 'MH', 'IND', 'West', 1, 14, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(15, 'Manipur', '14', 'MN', 'IND', 'Northeast', 1, 15, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(16, 'Meghalaya', '17', 'ML', 'IND', 'Northeast', 1, 16, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(17, 'Mizoram', '15', 'MZ', 'IND', 'Northeast', 1, 17, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(18, 'Nagaland', '13', 'NL', 'IND', 'Northeast', 1, 18, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(19, 'Odisha', '21', 'OD', 'IND', 'East', 1, 19, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(20, 'Punjab', '03', 'PB', 'IND', 'North', 1, 20, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(21, 'Rajasthan', '08', 'RJ', 'IND', 'North', 1, 21, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(22, 'Sikkim', '11', 'SK', 'IND', 'Northeast', 1, 22, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(23, 'Tamil Nadu', '33', 'TN', 'IND', 'South', 1, 23, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(24, 'Telangana', '36', 'TS', 'IND', 'South', 1, 24, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(25, 'Tripura', '16', 'TR', 'IND', 'Northeast', 1, 25, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(26, 'Uttar Pradesh', '09', 'UP', 'IND', 'North', 1, 26, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(27, 'Uttarakhand', '05', 'UK', 'IND', 'North', 1, 27, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(28, 'West Bengal', '19', 'WB', 'IND', 'East', 1, 28, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(29, 'Andaman and Nicobar Islands', '35', 'AN', 'IND', 'Islands', 1, 29, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(30, 'Chandigarh', '04', 'CH', 'IND', 'North', 1, 30, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(31, 'Dadra and Nagar Haveli and Daman and Diu', '26', 'DN', 'IND', 'West', 1, 31, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(32, 'Delhi', '07', 'DL', 'IND', 'North', 1, 32, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(33, 'Jammu and Kashmir', '01', 'JK', 'IND', 'North', 1, 33, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(34, 'Ladakh', '38', 'LA', 'IND', 'North', 1, 34, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(35, 'Lakshadweep', '31', 'LD', 'IND', 'Islands', 1, 35, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59'),
(36, 'Puducherry', '34', 'PY', 'IND', 'South', 1, 36, 'SYSTEM', NULL, '2025-07-25 09:15:59', '2025-07-25 09:15:59');

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

--
-- Table structure for table `stock_balance`
--

CREATE TABLE IF NOT EXISTS `stock_balance` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `warehouse_id` bigint UNSIGNED NOT NULL,
  `warehouse_bin_id` bigint UNSIGNED DEFAULT NULL,
  `actual_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `reserved_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `ordered_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `planned_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `available_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `stock_uom` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `stock_value` decimal(15,2) NOT NULL DEFAULT '0.00',
  `avg_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `valuation_method` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'FIFO',
  `batch_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reorder_level` decimal(15,3) NOT NULL DEFAULT '0.000',
  `reorder_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `max_level` decimal(15,3) NOT NULL DEFAULT '0.000',
  `min_level` decimal(15,3) NOT NULL DEFAULT '0.000',
  `safety_stock` decimal(15,3) NOT NULL DEFAULT '0.000',
  `last_transaction_date` date DEFAULT NULL,
  `last_transaction_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_purchase_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `last_sales_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `qty_0_30_days` decimal(15,3) NOT NULL DEFAULT '0.000',
  `qty_31_60_days` decimal(15,3) NOT NULL DEFAULT '0.000',
  `qty_61_90_days` decimal(15,3) NOT NULL DEFAULT '0.000',
  `qty_over_90_days` decimal(15,3) NOT NULL DEFAULT '0.000',
  `good_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `damaged_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `expired_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `obsolete_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `quarantine_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `total_batches` int NOT NULL DEFAULT '0',
  `earliest_expiry_date` date DEFAULT NULL,
  `batch_summary` json DEFAULT NULL,
  `turnover_ratio` decimal(8,2) NOT NULL DEFAULT '0.00',
  `days_since_last_movement` int NOT NULL DEFAULT '0',
  `is_slow_moving` tinyint(1) NOT NULL DEFAULT '0',
  `is_fast_moving` tinyint(1) NOT NULL DEFAULT '0',
  `is_dead_stock` tinyint(1) NOT NULL DEFAULT '0',
  `below_reorder_level` tinyint(1) NOT NULL DEFAULT '0',
  `near_expiry` tinyint(1) NOT NULL DEFAULT '0',
  `overstock` tinyint(1) NOT NULL DEFAULT '0',
  `active_alerts` json DEFAULT NULL,
  `last_updated_from_ledger` timestamp NULL DEFAULT NULL,
  `requires_rebalancing` tinyint(1) NOT NULL DEFAULT '0',
  `reconciliation_notes` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint UNSIGNED DEFAULT NULL,
  `updated_by` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_stock_balance` (`company_id`,`product_variant_id`,`warehouse_id`),
  KEY `stock_balance_product_variant_id_foreign` (`product_variant_id`),
  KEY `stock_balance_warehouse_id_foreign` (`warehouse_id`),
  KEY `idx_stock_balance_reorder` (`below_reorder_level`,`warehouse_id`),
  KEY `idx_stock_balance_movement` (`is_slow_moving`,`is_dead_stock`),
  KEY `idx_stock_balance_expiry` (`near_expiry`,`earliest_expiry_date`),
  KEY `stock_balance_warehouse_bin_id_foreign` (`warehouse_bin_id`),
  KEY `idx_stock_balance_bin` (`company_id`,`product_variant_id`,`warehouse_id`,`warehouse_bin_id`),
  KEY `idx_stock_balance_batch_serial` (`batch_no`,`serial_no`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `stock_balance_uoms`
--

CREATE TABLE IF NOT EXISTS `stock_balance_uoms` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `warehouse_id` bigint UNSIGNED NOT NULL,
  `uom_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `factor_to_base` decimal(24,12) NOT NULL DEFAULT '1.000000000000',
  `qty_in_uom` decimal(24,12) NOT NULL DEFAULT '0.000000000000',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_balance_uoms` (`company_id`,`product_variant_id`,`warehouse_id`,`uom_code`),
  KEY `stock_balance_uoms_warehouse_id_foreign` (`warehouse_id`),
  KEY `stock_balance_uoms_product_variant_id_warehouse_id_index` (`product_variant_id`,`warehouse_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `stock_ledger`
--

CREATE TABLE IF NOT EXISTS `stock_ledger` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `warehouse_id` bigint UNSIGNED NOT NULL,
  `warehouse_bin_id` bigint UNSIGNED DEFAULT NULL,
  `voucher_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `voucher_number` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `posting_date` date NOT NULL,
  `posting_time` timestamp NOT NULL,
  `actual_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `qty_after_transaction` decimal(15,3) NOT NULL DEFAULT '0.000',
  `stock_uom` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `stock_uom_rate` decimal(10,6) NOT NULL DEFAULT '1.000000',
  `incoming_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `outgoing_rate` decimal(15,4) NOT NULL DEFAULT '0.0000',
  `stock_value` decimal(15,2) NOT NULL DEFAULT '0.00',
  `stock_value_difference` decimal(15,2) NOT NULL DEFAULT '0.00',
  `balance_stock_value` decimal(15,2) NOT NULL DEFAULT '0.00',
  `valuation_method` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'FIFO',
  `batch_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `serial_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `manufacturing_date` date DEFAULT NULL,
  `reference_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_details` json DEFAULT NULL,
  `quality_inspection` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACCEPTED',
  `stock_condition` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'GOOD',
  `project_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cost_center` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `department` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_cancelled` tinyint(1) NOT NULL DEFAULT '0',
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `cancelled_by` bigint UNSIGNED DEFAULT NULL,
  `cancellation_reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint UNSIGNED DEFAULT NULL,
  `updated_by` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_ledger_product_variant_id_foreign` (`product_variant_id`),
  KEY `stock_ledger_warehouse_id_foreign` (`warehouse_id`),
  KEY `idx_stock_ledger_main` (`company_id`,`product_variant_id`,`warehouse_id`,`posting_date`),
  KEY `idx_stock_ledger_voucher` (`voucher_type`,`voucher_number`),
  KEY `idx_stock_ledger_batch_serial` (`batch_no`,`serial_no`),
  KEY `idx_stock_ledger_time` (`posting_date`,`posting_time`),
  KEY `idx_stock_ledger_bin` (`warehouse_bin_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `stock_ledger_uoms`
--

CREATE TABLE IF NOT EXISTS `stock_ledger_uoms` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `stock_ledger_id` bigint UNSIGNED NOT NULL,
  `product_variant_id` bigint UNSIGNED NOT NULL,
  `uom_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `qty_entered` decimal(24,12) NOT NULL,
  `factor_to_base` decimal(24,12) NOT NULL,
  `qty_in_base` decimal(24,12) NOT NULL,
  `is_base` tinyint(1) NOT NULL DEFAULT '0',
  `context` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_ledger_uoms_stock_ledger_id_index` (`stock_ledger_id`),
  KEY `stock_ledger_uoms_product_variant_id_index` (`product_variant_id`),
  KEY `stock_ledger_uoms_uom_code_index` (`uom_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `system_audit_logs`
--

CREATE TABLE IF NOT EXISTS `system_audit_logs` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `event` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL,
  `context` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `system_audit_logs_event_index` (`event`),
  KEY `system_audit_logs_created_at_index` (`created_at`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `terms_conditions`
--

CREATE TABLE IF NOT EXISTS `terms_conditions` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED NOT NULL,
  `template_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `template_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `template_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `document_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `version_number` int NOT NULL DEFAULT '1',
  `terms_content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `terms_sections` json DEFAULT NULL,
  `header_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `footer_text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `custom_fields` json DEFAULT NULL,
  `payment_terms` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_due_days` int NOT NULL DEFAULT '30',
  `early_payment_discount` decimal(5,2) NOT NULL DEFAULT '0.00',
  `early_payment_days` int NOT NULL DEFAULT '0',
  `late_payment_penalty` decimal(5,2) NOT NULL DEFAULT '0.00',
  `preferred_payment_method` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_terms` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_lead_time_days` int NOT NULL DEFAULT '0',
  `shipping_method` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `packaging_instructions` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `insurance_required` tinyint(1) NOT NULL DEFAULT '0',
  `risk_transfer_point` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `warranty_period` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `warranty_terms` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `support_level` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `maintenance_terms` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `extended_warranty_available` tinyint(1) NOT NULL DEFAULT '0',
  `governing_law` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `jurisdiction` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dispute_resolution` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `limitation_of_liability` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `intellectual_property` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `confidentiality` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `cancellation_policy` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `return_policy` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `refund_policy` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `cancellation_charges` decimal(5,2) NOT NULL DEFAULT '0.00',
  `price_validity_days` int NOT NULL DEFAULT '30',
  `prices_subject_to_change` tinyint(1) NOT NULL DEFAULT '0',
  `quality_standards` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `inspection_terms` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `buyer_inspection_required` tinyint(1) NOT NULL DEFAULT '0',
  `inspection_period_days` int NOT NULL DEFAULT '7',
  `rejection_terms` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `force_majeure_clause` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `risk_mitigation` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `insurance_requirements` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `covid_specific_terms` tinyint(1) NOT NULL DEFAULT '0',
  `performance_standards` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `penalty_structure` json DEFAULT NULL,
  `service_level_agreement` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `performance_bond_percentage` decimal(5,2) NOT NULL DEFAULT '0.00',
  `environmental_compliance` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `social_responsibility` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `sustainability_requirements` tinyint(1) NOT NULL DEFAULT '0',
  `ethical_standards` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `approval_status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'DRAFT',
  `approved_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `legal_review_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `legal_review_at` timestamp NULL DEFAULT NULL,
  `review_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `usage_count` int NOT NULL DEFAULT '0',
  `last_used_date` timestamp NULL DEFAULT NULL,
  `usage_statistics` json DEFAULT NULL,
  `auto_include_in_documents` tinyint(1) NOT NULL DEFAULT '0',
  `auto_include_conditions` json DEFAULT NULL,
  `requires_customer_acceptance` tinyint(1) NOT NULL DEFAULT '0',
  `digital_signature_required` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_terms_template` (`company_id`,`template_code`),
  KEY `idx_terms_conditions_main` (`template_type`,`document_type`,`is_active`),
  KEY `idx_terms_conditions_approval` (`approval_status`,`is_default`),
  KEY `idx_terms_conditions_version` (`company_id`,`version_number`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

CREATE TABLE IF NOT EXISTS `uom_conversion` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `from_uom_id` bigint UNSIGNED NOT NULL,
  `to_uom_id` bigint UNSIGNED NOT NULL,
  `multiply_factor` decimal(16,6) DEFAULT NULL,
  `conversion_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'factor',
  `rule_name` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `offset` decimal(16,6) DEFAULT NULL,
  `formula_expr` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `variables_used` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `scope` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'global',
  `context` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `valid_from` date DEFAULT NULL,
  `valid_to` date DEFAULT NULL,
  `version` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rounding_override` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `min_increment_override` decimal(10,4) DEFAULT NULL,
  `product_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Optional: restrict conversion to specific product',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'Additional conversion notes',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'system',
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_uom_conversion_ids` (`from_uom_id`,`to_uom_id`,`product_id`),
  KEY `uom_conversion_product_id_index` (`product_id`),
  KEY `uom_conversion_is_active_index` (`is_active`),
  KEY `uom_conversion_to_uom_id_foreign` (`to_uom_id`),
  KEY `uom_conversion_from_uom_id_to_uom_id_index` (`from_uom_id`,`to_uom_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `uom_conversion` (`id`, `from_uom_id`, `to_uom_id`, `multiply_factor`, `conversion_type`, `rule_name`, `offset`, `formula_expr`, `variables_used`, `scope`, `context`, `valid_from`, `valid_to`, `version`, `rounding_override`, `min_increment_override`, `product_id`, `notes`, `is_active`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, 7, 5, 1.000000, 'formula', NULL, NULL, 'qty * WIDTH', 'WIDTH', 'item', NULL, NULL, NULL, NULL, NULL, NULL, '38', NULL, 1, 'admin', NULL, '2025-10-02 15:32:16', '2025-10-02 15:32:16'),
(2, 7, 5, 1.000000, 'formula', NULL, NULL, 'qty * WIDTH', 'WIDTH', 'global', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'admin', NULL, '2025-10-04 12:04:59', '2025-10-04 12:05:22');

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

--
-- Table structure for table `uom_master`
--

CREATE TABLE IF NOT EXISTS `uom_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uom_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `uom_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `uom_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'QUANTITY' COMMENT 'Type: LENGTH, WEIGHT, VOLUME, QUANTITY, AREA, TIME',
  `precision` tinyint UNSIGNED NOT NULL DEFAULT '0',
  `rounding_policy` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'nearest',
  `min_increment` decimal(10,4) NOT NULL DEFAULT '1.0000',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'Detailed description of the UOM',
  `symbol` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Symbol like kg, m, pcs',
  `base_unit_factor` decimal(14,4) NOT NULL DEFAULT '1.0000' COMMENT 'Factor to convert to base unit',
  `base_uom_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Reference to base UOM for this type',
  `is_base_unit` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Is this the base unit for its type?',
  `uom_category` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `sort_order` int NOT NULL DEFAULT '0',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint NOT NULL DEFAULT '0',
  `deleted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uom_master_uom_code_unique` (`uom_code`),
  KEY `uom_master_is_active_index` (`is_active`),
  KEY `uom_master_uom_type_index` (`uom_type`),
  KEY `uom_master_uom_type_is_active_index` (`uom_type`,`is_active`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `uom_master`
--

INSERT INTO `uom_master` (`id`, `uom_code`, `uom_name`, `uom_type`, `precision`, `rounding_policy`, `min_increment`, `description`, `symbol`, `base_unit_factor`, `base_uom_code`, `is_base_unit`, `uom_category`, `is_active`, `sort_order`, `created_by`, `updated_by`, `is_deleted`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'MTR', 'Meter', 'LENGTH', 0, 'nearest', 1.0000, '', '', 1.0000, NULL, 1, NULL, 1, 0, 'AJIT HOGADE', NULL, 0, '2025-09-25 05:53:14', '2025-09-25 00:23:14', '2025-09-25 00:23:14'),
(2, 'PCS', 'Piece', 'QUANTITY', 0, 'nearest', 1.0000, '', '', 1.0000, NULL, 1, NULL, 1, 0, 'AJIT HOGADE', NULL, 0, '2025-09-25 05:54:22', '2025-09-25 00:24:22', '2025-09-25 00:24:22'),
(3, 'BOX', 'BOX', 'QUANTITY', 0, 'nearest', 1.0000, '', '', 1.0000, NULL, 1, NULL, 1, 0, 'AJIT HOGADE', NULL, 0, '2025-09-26 07:32:37', '2025-09-26 02:02:37', '2025-09-26 02:02:37'),
(4, 'FT', 'FEET', 'LENGTH', 0, 'nearest', 1.0000, '', '', 1.0000, NULL, 1, NULL, 1, 0, 'AJIT HOGADE', NULL, 0, '2025-09-27 10:39:54', '2025-09-27 05:09:54', '2025-09-27 05:09:54'),
(5, 'SQM', 'Squire Meter', 'AREA', 0, 'nearest', 1.0000, '', '', 1.0000, NULL, 1, NULL, 1, 0, 'AJIT HOGADE', NULL, 0, '2025-09-27 10:41:44', '2025-09-27 05:11:44', '2025-09-27 05:11:44'),
(6, 'SQF', 'Squire Feet', 'AREA', 0, 'nearest', 1.0000, '', '', 1.0000, NULL, 1, NULL, 1, 0, 'AJIT HOGADE', 'AJIT HOGADE', 0, '2025-09-27 10:42:26', '2025-09-27 05:12:26', '2025-09-27 05:12:38'),
(7, 'RM', 'Running Meter', 'LENGTH', 0, 'nearest', 1.0000, '', '', 1.0000, NULL, 1, NULL, 1, 0, 'AJIT HOGADE', NULL, 0, '2025-09-27 10:48:54', '2025-09-27 05:18:54', '2025-09-27 05:18:54');

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

--
-- Table structure for table `uom_rules_map`
--

CREATE TABLE IF NOT EXISTS `uom_rules_map` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `product_id` bigint UNSIGNED NOT NULL,
  `conversion_id` bigint UNSIGNED NOT NULL,
  `context` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uom_rules_map_unique` (`product_id`,`conversion_id`,`context`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `vendor_master`
--

CREATE TABLE IF NOT EXISTS `vendor_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `vendor_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `vendor_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `vendor_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `vendor_category` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_person` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `country` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'India',
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Active',
  `default_currency` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INR',
  `payment_terms` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit_limit` decimal(15,2) NOT NULL DEFAULT '0.00',
  `tds_applicable` tinyint(1) NOT NULL DEFAULT '0',
  `tds_section` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `msme_registered` tinyint(1) NOT NULL DEFAULT '0',
  `msme_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` bigint UNSIGNED DEFAULT NULL,
  `updated_by` bigint UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vendor_master_vendor_code_unique` (`vendor_code`),
  KEY `vendor_master_vendor_code_index` (`vendor_code`),
  KEY `vendor_master_vendor_name_index` (`vendor_name`),
  KEY `vendor_master_vendor_type_index` (`vendor_type`),
  KEY `vendor_master_status_index` (`status`),
  KEY `vendor_master_city_index` (`city`),
  KEY `vendor_master_state_index` (`state`),
  KEY `vendor_master_created_by_foreign` (`created_by`),
  KEY `vendor_master_updated_by_foreign` (`updated_by`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `vendor_masters`
--

CREATE TABLE IF NOT EXISTS `vendor_masters` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `vendor_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `vendor_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `vendor_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'REGULAR',
  `vendor_category` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'India',
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `default_currency` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INR',
  `payment_terms` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit_limit` decimal(18,2) DEFAULT NULL,
  `tds_applicable` tinyint(1) NOT NULL DEFAULT '0',
  `tds_section` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `msme_registered` tinyint(1) NOT NULL DEFAULT '0',
  `msme_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  `msme_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `msme_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tds_category` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit_days` int NOT NULL DEFAULT '0',
  `price_list_id` bigint UNSIGNED DEFAULT NULL,
  `tax_preference` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'TAXABLE',
  `vendor_rating` decimal(3,1) NOT NULL DEFAULT '0.0',
  `is_sub_contractor` tinyint(1) NOT NULL DEFAULT '0',
  `opening_balance` decimal(15,2) NOT NULL DEFAULT '0.00',
  `opening_balance_type` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'CR',
  `territory` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `industry_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `internal_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `is_frozen` tinyint(1) NOT NULL DEFAULT '0',
  `registration_date` date DEFAULT NULL,
  `custom_fields` json DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vendor_master_vendor_code_unique` (`vendor_code`),
  KEY `vendor_master_vendor_code_index` (`vendor_code`),
  KEY `vendor_master_vendor_type_index` (`vendor_type`),
  KEY `vendor_master_status_index` (`status`),
  KEY `vendor_master_company_id_foreign` (`company_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `voucher_type_master`
--

CREATE TABLE IF NOT EXISTS `voucher_type_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `voucher_type_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Unique voucher type code like SALES_INVOICE',
  `module_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Human readable name',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'Detailed description of the voucher type',
  `voucher_category` enum('SALES','PURCHASE','ACCOUNTS','INVENTORY','PRODUCTION') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Business category for number series scope',
  `scope_type` enum('COMPANY','PLANT','WAREHOUSE','GSTIN') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Scope type for number series generation',
  `default_prefix` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Default prefix for voucher numbers',
  `default_sequence_length` int NOT NULL DEFAULT '4' COMMENT 'Default sequence length',
  `affects_accounts` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Creates accounting entries',
  `is_financial_voucher` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Financial voucher for GST compliance',
  `requires_approval` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Requires approval workflow',
  `default_debit_account_id` bigint UNSIGNED DEFAULT NULL COMMENT 'Default debit GL account',
  `default_credit_account_id` bigint UNSIGNED DEFAULT NULL COMMENT 'Default credit GL account',
  `is_gst_applicable` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'GST applicable transactions',
  `tax_type` enum('INCLUSIVE','EXCLUSIVE','EXEMPT','ZERO_RATED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INCLUSIVE',
  `is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Voucher type is active',
  `is_system` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'System defined, not user created',
  `business_rules` json DEFAULT NULL COMMENT 'Additional business rules',
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `voucher_type_master_voucher_type_code_unique` (`voucher_type_code`),
  KEY `idx_voucher_category` (`voucher_category`),
  KEY `idx_scope_type` (`scope_type`),
  KEY `idx_accounts_active` (`affects_accounts`,`is_active`),
  KEY `idx_financial_gst` (`is_financial_voucher`,`is_gst_applicable`),
  KEY `idx_category_active` (`voucher_category`,`is_active`)
) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `voucher_type_master`
--

INSERT INTO `voucher_type_master` (`id`, `voucher_type_code`, `module_name`, `description`, `voucher_category`, `scope_type`, `default_prefix`, `default_sequence_length`, `affects_accounts`, `is_financial_voucher`, `requires_approval`, `default_debit_account_id`, `default_credit_account_id`, `is_gst_applicable`, `tax_type`, `is_active`, `is_system`, `business_rules`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES
(1, 'SALES_ORDER', 'Sales Order', 'Customer sales order management', 'SALES', 'GSTIN', 'SO', 4, 0, 0, 0, NULL, NULL, 1, 'EXCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(2, 'SALES_INVOICE', 'Sales Invoice', 'Customer billing and revenue recognition', 'SALES', 'GSTIN', 'SI', 4, 1, 1, 0, NULL, NULL, 1, 'EXCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(3, 'DELIVERY_NOTE', 'Delivery Note', 'Goods delivery documentation', 'SALES', 'GSTIN', 'DN', 4, 0, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(4, 'SALES_CREDIT_NOTE', 'Sales Credit Note', 'Sales returns and credit adjustments', 'SALES', 'GSTIN', 'SCN', 4, 1, 1, 0, NULL, NULL, 1, 'EXCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(5, 'SALES_DEBIT_NOTE', 'Sales Debit Note', 'Additional charges to customers', 'SALES', 'GSTIN', 'SDN', 4, 1, 1, 0, NULL, NULL, 1, 'EXCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(6, 'PURCHASE_ORDER', 'Purchase Order', 'Vendor purchase order management', 'PURCHASE', 'GSTIN', 'PO', 4, 0, 0, 0, NULL, NULL, 1, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(7, 'PURCHASE_INVOICE', 'Purchase Invoice', 'Vendor billing and expense recognition', 'PURCHASE', 'GSTIN', 'PI', 4, 1, 1, 0, NULL, NULL, 1, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(8, 'GOODS_RECEIPT_NOTE', 'Goods Receipt Note (GRN)', 'Goods received from vendors', 'PURCHASE', 'GSTIN', 'GRN', 4, 0, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(9, 'PURCHASE_CREDIT_NOTE', 'Purchase Credit Note', 'Purchase returns and vendor credits', 'PURCHASE', 'GSTIN', 'PCN', 4, 1, 1, 0, NULL, NULL, 1, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(10, 'PURCHASE_DEBIT_NOTE', 'Purchase Debit Note', 'Additional charges from vendors', 'PURCHASE', 'GSTIN', 'PDN', 4, 1, 1, 0, NULL, NULL, 1, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(11, 'JOURNAL_ENTRY', 'Journal Entry', 'General ledger adjustments', 'ACCOUNTS', 'GSTIN', 'JE', 4, 1, 1, 1, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(12, 'PAYMENT_VOUCHER', 'Payment Voucher', 'Payments made to vendors/others', 'ACCOUNTS', 'GSTIN', 'PV', 4, 1, 1, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(13, 'RECEIPT_VOUCHER', 'Receipt Voucher', 'Receipts from customers/others', 'ACCOUNTS', 'GSTIN', 'RV', 4, 1, 1, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(14, 'CONTRA_VOUCHER', 'Contra Voucher', 'Bank to cash transfers', 'ACCOUNTS', 'GSTIN', 'CV', 4, 1, 1, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(15, 'OPENING_STOCK', 'Opening Stock', 'Initial inventory balances', 'INVENTORY', 'WAREHOUSE', 'OP', 4, 1, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(16, 'STOCK_RECEIPT', 'Stock Receipt', 'Direct inventory receipts', 'INVENTORY', 'WAREHOUSE', 'SR', 4, 1, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(17, 'STOCK_ISSUE', 'Stock Issue', 'Material consumption/issues', 'INVENTORY', 'WAREHOUSE', 'SIS', 4, 1, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(18, 'STOCK_TRANSFER', 'Stock Transfer', 'Inter-warehouse transfers', 'INVENTORY', 'WAREHOUSE', 'ST', 4, 0, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(19, 'STOCK_ADJUSTMENT', 'Stock Adjustment', 'Inventory corrections and adjustments', 'INVENTORY', 'WAREHOUSE', 'SA', 4, 1, 0, 1, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(20, 'WORK_ORDER', 'Work Order', 'Manufacturing work orders', 'PRODUCTION', 'PLANT', 'WO', 4, 0, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(21, 'MATERIAL_ISSUE', 'Material Issue', 'Raw material issue to production', 'PRODUCTION', 'PLANT', 'MI', 4, 1, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24'),
(22, 'FINISHED_GOODS_RECEIPT', 'Finished Goods Receipt', 'Production completion and FG receipt', 'PRODUCTION', 'PLANT', 'FGR', 4, 1, 0, 0, NULL, NULL, 0, 'INCLUSIVE', 1, 1, NULL, 'system', NULL, '2025-09-27 12:54:24', '2025-09-27 12:54:24');

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

--
-- Table structure for table `warehouse_bins`
--

CREATE TABLE IF NOT EXISTS `warehouse_bins` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` bigint UNSIGNED DEFAULT NULL,
  `warehouse_id` bigint UNSIGNED NOT NULL,
  `bin_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `bin_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `capacity_info` json DEFAULT NULL,
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `warehouse_bins_warehouse_id_bin_code_unique` (`warehouse_id`,`bin_code`),
  KEY `warehouse_bins_company_id_status_index` (`company_id`,`status`),
  KEY `warehouse_bins_warehouse_id_is_default_index` (`warehouse_id`,`is_default`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `warehouse_master`
--

CREATE TABLE IF NOT EXISTS `warehouse_master` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `warehouse_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `warehouse_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `manager_user_id` bigint UNSIGNED DEFAULT NULL,
  `manager_id` bigint UNSIGNED DEFAULT NULL,
  `company_id` bigint UNSIGNED NOT NULL,
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `capacity_info` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_main_warehouse` tinyint(1) NOT NULL DEFAULT '0',
  `is_sales_warehouse` tinyint(1) NOT NULL DEFAULT '1',
  `is_purchase_warehouse` tinyint(1) NOT NULL DEFAULT '1',
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ACTIVE',
  `created_by` bigint UNSIGNED DEFAULT NULL,
  `updated_by` bigint UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `plant_id` bigint UNSIGNED DEFAULT NULL,
  `department_id` bigint UNSIGNED DEFAULT NULL,
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state_id` bigint UNSIGNED DEFAULT NULL,
  `state_code` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pincode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `relationship_type` enum('PLANT_BASED','INDEPENDENT','SHARED','THIRD_PARTY') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'PLANT_BASED' COMMENT 'Defines how warehouse relates to organizational structure',
  `warehouse_function` enum('STORAGE','RAW_MATERIAL','WORK_IN_PROGRESS','FINISHED_GOODS','DISTRIBUTION','TRANSIT','QUARANTINE','RETURN_GOODS','GENERAL') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'GENERAL' COMMENT 'Specific function/purpose of the warehouse',
  PRIMARY KEY (`id`),
  UNIQUE KEY `warehouse_master_warehouse_code_unique` (`warehouse_code`),
  KEY `warehouse_master_warehouse_code_index` (`warehouse_code`),
  KEY `warehouse_master_status_index` (`status`),
  KEY `warehouse_master_is_main_warehouse_index` (`is_main_warehouse`),
  KEY `warehouse_master_plant_id_foreign` (`plant_id`),
  KEY `idx_warehouse_company_plant` (`company_id`,`plant_id`),
  KEY `idx_warehouse_type_relation` (`relationship_type`),
  KEY `idx_warehouse_status_function` (`status`,`warehouse_function`),
  KEY `warehouse_master_department_id_foreign` (`department_id`),
  KEY `warehouse_master_state_id_foreign` (`state_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `warehouse_master`
--

INSERT INTO `warehouse_master` (`id`, `warehouse_code`, `warehouse_name`, `manager_user_id`, `manager_id`, `company_id`, `phone`, `email`, `capacity_info`, `is_main_warehouse`, `is_sales_warehouse`, `is_purchase_warehouse`, `status`, `created_by`, `updated_by`, `created_at`, `updated_at`, `plant_id`, `department_id`, `address`, `city`, `state_id`, `state_code`, `pincode`, `relationship_type`, `warehouse_function`) VALUES
(1, 'WH001', 'mW1', 1, 1, 1, '9004588982', 'dummy@dot-next.in', '{\"text\":\"Thane\"}', 1, 0, 1, 'ACTIVE', 0, 1, '2025-08-23 07:55:53', '2025-08-24 07:33:28', 2, NULL, 'Nerul', 'Navi Mumbai', 14, '27', '400703', 'PLANT_BASED', 'STORAGE'),
(2, 'WH002', 'Nerul', 1, 1, 1, NULL, NULL, NULL, 1, 1, 0, 'ACTIVE', 0, 1, '2025-08-23 08:35:39', '2025-08-24 07:26:32', 2, NULL, 'Nerul', 'Navi Mumbai', 14, '27', '400703', 'PLANT_BASED', 'STORAGE'),
(3, 'WH003', 'GH', NULL, 1, 1, NULL, NULL, NULL, 0, 1, 1, 'ACTIVE', 0, 0, '2025-08-23 08:57:23', '2025-08-23 08:57:23', 2, NULL, 'Nerul', 'Navi Mumbai', 14, '27', '400703', 'PLANT_BASED', 'GENERAL'),
(4, 'SMKbfcd', 'Smoke WH', NULL, NULL, 1, '9876543210', 'updated@example.com', '1500 sq ft • 6000 kg max', 0, 1, 1, 'ACTIVE', 1, 1, '2025-08-24 07:20:53', '2025-08-24 07:20:53', 2, NULL, NULL, NULL, NULL, NULL, NULL, 'PLANT_BASED', 'GENERAL'),
(5, 'WH003-MUM', 'MC WH', 1, 1, 1, '9004588982', 'ap28@indiataekwondo.com', '100000', 0, 1, 1, 'ACTIVE', 1, 1, '2025-08-24 07:32:53', '2025-08-24 07:33:07', 2, NULL, 'Nerul', 'Navi Mumbai', 14, '27', '400703', 'PLANT_BASED', 'GENERAL');
COMMIT;

