-- Table structure for table `erp_inventory_goods_receipt_item`
--

CREATE TABLE `erp_inventory_goods_receipt_item` (
  `id` int(11) NOT NULL,
  `inventory_goods_receipt_id` int(11) NOT NULL COMMENT 'foreign key reference to enquiry table',
  `product_id` int(11) NOT NULL COMMENT '(item:the product to be purchased,foreign key reference to inventory item table)',
  `product_name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `unit` varchar(255) NOT NULL,
  `rate` decimal(15,6) NOT NULL,
  `old_rate` decimal(15,6) NOT NULL,
  `picked_qty` decimal(15,2) DEFAULT NULL,
  `po_item_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_inventory_goods_receipt_item`
--

INSERT INTO `erp_inventory_goods_receipt_item` (`id`, `inventory_goods_receipt_id`, `product_id`, `product_name`, `description`, `unit`, `rate`, `old_rate`, `picked_qty`, `po_item_id`, `created_by`, `updated_by`, `created_date_time`, `updated_date_time`) VALUES
(1, 10001, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', '1', 25.000000, 0.000000, 1.00, 20001, 8, 0, '2025-05-21 07:26:40', '0000-00-00 00:00:00'),
(2, 10002, 449, '3i-1914-8B-E', 'iSeries 1914-8 Waterproof Utility Case with Wheels', '449', 455.650000, 0.000000, 100.00, 0, 8, 0, '2025-05-22 11:06:26', '0000-00-00 00:00:00'),
(3, 10003, 668, 'A10001', 'Test Item A10001', '668', 394.600000, 0.000000, 1.00, 0, 8, 0, '2025-05-23 09:10:43', '0000-00-00 00:00:00'),
(4, 10004, 668, 'A10001', 'Test Item A10001', '668', 394.600000, 0.000000, 1.00, 0, 8, 0, '2025-05-23 09:17:05', '0000-00-00 00:00:00'),
(5, 10005, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', '1', 15.430000, 0.000000, 20.00, 0, 8, 0, '2025-06-01 21:30:16', '0000-00-00 00:00:00'),
(6, 10006, 27, 'BPLY-004', '9mm Russian Birch Ply Local (2400x1200mm)', '27', 1.345000, 0.000000, 4.00, 0, 1, 0, '2025-06-12 09:47:58', '0000-00-00 00:00:00'),
(7, 10007, 27, 'BPLY-004', '9mm Russian Birch Ply Local (2400x1200mm)', '27', 10.000000, 0.000000, 5.00, 0, 1, 0, '2025-06-12 16:00:39', '0000-00-00 00:00:00'),
(8, 10007, 28, 'BPLY-005', '9mm Russian Pine Ply Local (2400x1200mm)', '28', 20.000000, 0.000000, 3.00, 0, 1, 0, '2025-06-12 16:00:39', '0000-00-00 00:00:00'),
(9, 10008, 24, 'BPLY-001', '6.5mm Russian Birch Ply [2400x1200mm]', '24', 3.200000, 0.000000, 1.00, 0, 1, 0, '2025-06-13 09:48:25', '0000-00-00 00:00:00'),
(10, 10008, 25, 'BPLY-002', '9mm Russian Birch Ply [2400x1200mm]', '25', 5.380000, 0.000000, 2.00, 0, 1, 0, '2025-06-13 09:48:25', '0000-00-00 00:00:00'),
(11, 10009, 672, '1001', 'Test Item', '672', 10.000000, 0.000000, 100.00, 0, 8, 0, '2025-06-23 17:11:19', '0000-00-00 00:00:00'),
(12, 10010, 25, 'BPLY-002', '9mm Russian Birch Ply [2400x1200mm]', '25', 15.430000, 0.000000, 1.00, 0, 8, 0, '2025-06-24 17:18:29', '0000-00-00 00:00:00'),
(13, 10011, 668, 'A10001', 'Test Item A10001', '668', 28.560000, 0.000000, 5.00, 0, 8, 0, '2025-06-25 17:10:13', '0000-00-00 00:00:00'),
(14, 10012, 668, 'A10001', 'Test Item A10001', '668', 27.290000, 0.000000, 1.00, 0, 1, 0, '2025-06-27 18:21:49', '0000-00-00 00:00:00'),
(15, 10013, 668, 'A10001', 'Test Item A10001', '668', 22.540000, 0.000000, 2.00, 0, 8, 0, '2025-06-30 08:32:44', '0000-00-00 00:00:00'),
(16, 10014, 668, 'A10001', 'Test Item A10001', '668', 22.540000, 0.000000, 2.00, 0, 8, 0, '2025-06-30 08:37:46', '0000-00-00 00:00:00'),
(17, 10015, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', '245', 70.130000, 0.000000, 1.00, 0, 8, 0, '2025-06-30 09:03:01', '0000-00-00 00:00:00'),
(18, 10016, 675, 'A10002', 'Test Item', '675', 143.580000, 0.000000, 1.00, 0, 8, 0, '2025-06-30 10:05:42', '0000-00-00 00:00:00'),
(19, 10017, 675, 'A10002', 'Test Item', '675', 360.610000, 0.000000, 1.00, 0, 8, 0, '2025-06-30 10:12:09', '0000-00-00 00:00:00'),
(20, 10018, 6, '1908', 'Strap Hinges', '6', 35.000000, 0.000000, 1.00, 0, 8, 0, '2025-06-30 10:36:27', '0000-00-00 00:00:00'),
(21, 10019, 6, '1908', 'Strap Hinges', '6', 35.000000, 0.000000, 4.00, 0, 8, 0, '2025-06-30 10:46:58', '0000-00-00 00:00:00'),
(22, 10020, 675, 'A10002', 'Test Item', '675', 20.440000, 0.000000, 1.00, 0, 8, 0, '2025-06-30 11:58:02', '0000-00-00 00:00:00'),
(23, 10021, 668, 'A10001', 'Test Item A10001', '668', 22.840000, 0.000000, 1.00, 0, 8, 0, '2025-06-30 15:16:49', '0000-00-00 00:00:00'),
(24, 10022, 664, 'D100001', 'Dummy Item', '664', 10.000000, 0.000000, 100.00, 0, 8, 0, '2025-06-30 15:30:06', '0000-00-00 00:00:00'),
(25, 10023, 668, 'A10001', 'Test Item A10001', '668', 22.840000, 0.000000, 1.00, 0, 8, 0, '2025-06-30 15:34:19', '0000-00-00 00:00:00'),
(26, 10024, 668, 'A10001', 'Test Item A10001', '668', 26.840000, 0.000000, 1000.00, 0, 8, 0, '2025-07-01 13:46:50', '0000-00-00 00:00:00'),
(27, 10027, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', '2', 150.000000, 0.000000, 100.00, 0, 1, 0, '2025-07-03 12:14:53', '0000-00-00 00:00:00'),
(28, 10028, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', '2', 150.000000, 0.000000, 100.00, 0, 1, 0, '2025-07-03 12:16:56', '0000-00-00 00:00:00'),
(29, 10029, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', '2', 150.000000, 0.000000, 100.00, 0, 1, 0, '2025-07-03 04:05:15', '0000-00-00 00:00:00'),
(30, 10030, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', '2', 52.000000, 0.000000, 14.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(31, 10030, 6, '1908', 'Strap Hinges', '6', 8.090000, 0.000000, 179.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(32, 10030, 11, '33646SF', 'Black Laminate 4  x 8 x 0.9mm', '11', 43.370000, 0.000000, 114.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(33, 10030, 13, '4440-99-224-6993', 'Desiccant Silica Gel 100gms', '13', 7.320000, 0.000000, 20000.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(34, 10030, 15, '5-02201-94', 'GT2200 Smart Padlock Silver S-Shackle', '15', 163.710000, 0.000000, 86.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(35, 10030, 18, 'B1121', '4 Hole Brace', '18', 0.480000, 0.000000, 2988.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(36, 10030, 20, 'B1131', '6 Hole Brace', '20', 0.910000, 0.000000, 10784.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(37, 10030, 21, 'B1141', 'L-Brace. Both Legs 20mm / 13/16', '21', 1.070000, 0.000000, 902.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(38, 10030, 22, 'B1631', '3-Way Divider Brace for 9.2mm / 3/8 panels', '22', 0.890000, 0.000000, 3003.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(39, 10030, 23, 'B1641', '4-Way Divider Brace for 9.2mm / 3/8 panels', '23', 1.280000, 0.000000, 2980.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(40, 10030, 30, 'C0675Z', 'Medium Flat Corner', '30', 1.410000, 0.000000, 1614.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(41, 10030, 31, 'C1150Z', 'Medium Flat Corners- Male Stacking', '31', 1.620000, 0.000000, 1946.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(42, 10030, 32, 'C1340Z', '3-Leg Large Ball Corner-Male', '32', 2.500000, 0.000000, 8045.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(43, 10030, 34, 'C1373', '2Leg Brace Ball Corner with 67mm / 2.64 Leg', '34', 2.290000, 0.000000, 4940.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(44, 10030, 35, 'C1373/01', '2Leg Brace Ball Corner with 67mm / 2.64 Leg-Female', '35', 1.910000, 0.000000, 1334.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(45, 10030, 37, 'C1384Z', '3-LegLarge Ball Corner- Stackable/Female', '37', 0.960000, 0.000000, 2474.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(46, 10030, 38, 'C1935Z', 'Medium Flat Corners- Female Stacking', '38', 1.710000, 0.000000, 1959.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(47, 10030, 39, 'CNC000161', 'Top Insert 283x153x85 LD33 BKPF05858', '39', 22.140000, 0.000000, 1992.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(48, 10030, 40, 'CNC000162', 'Bottom Insert 272x177x85 LD33 BKPF05859', '40', 22.140000, 0.000000, 1536.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(49, 10030, 41, 'D0553Z', 'Lid Stays Top 17.1mm / 11/16 & Bottom 19.7mm / 3/4', '41', 9.110000, 0.000000, 2140.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(50, 10030, 42, 'D0553Z-SD', 'Large Lidstay with Anti-Slam System', '42', 11.990000, 0.000000, 524.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(51, 10030, 43, 'D0593K', 'Medium Lid Stay in 10mm / 3/8 Deep Dish-Black', '43', 8.810000, 0.000000, 200.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(52, 10030, 44, 'D0597Z', 'Medium Lid Stay in 10mm / 3/8 Deep Dish', '44', 8.450000, 0.000000, 3294.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(53, 10030, 47, 'D0941Z', 'Rectangular Plain Dish', '47', 3.030000, 0.000000, 5139.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(54, 10030, 48, 'D2101Z', 'Large Plain Dish', '48', 5.240000, 0.000000, 62.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(55, 10030, 49, 'D2115Z', 'Recessed Label Dish for Self-Adhesive Tour Labels', '49', 9.440000, 0.000000, 923.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(56, 10030, 50, 'D2116Z', 'Recessed Label Dish for Self-Adhesive Tour Labels', '50', 9.240000, 0.000000, 1181.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(57, 10030, 54, 'F0615', 'Stacking Feet - Male', '54', 3.440000, 0.000000, 227.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(58, 10030, 55, 'F0620', 'Stacking Feet - Female', '55', 3.440000, 0.000000, 56.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(59, 10030, 56, 'F1687', 'Rubber Feet', '56', 0.830000, 0.000000, 954.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(60, 10030, 57, 'FMD-A-2', 'Rubber Shockmount-RED', '57', 20.000000, 0.000000, 64.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(61, 10030, 58, 'FRD601', 'M6 T-Nut with 4points- Round basis- Zinc', '58', 0.090000, 0.000000, 7255.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(62, 10030, 59, 'FRD801', 'M8 T-Nut with 4points- Round basis- Zinc', '59', 0.180000, 0.000000, 5396.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(63, 10030, 60, 'G1570', 'G1570 Fan Grill/Guard', '60', 11.000000, 0.000000, 55.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(64, 10030, 65, 'GR5*8', '5x8mm Aluminum Steel Grooved Rivets', '65', 0.040000, 0.000000, 144000.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(65, 10030, 66, 'H1009', 'Strap Handle with Metal End Caps and Plastic Covers', '66', 2.720000, 0.000000, 115.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(66, 10030, 67, 'H1026Z', 'Corner Handle', '67', 19.580000, 0.000000, 1148.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(67, 10030, 68, 'H1052Z', 'Sprung Surface Handle', '68', 4.930000, 0.000000, 1124.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(68, 10030, 69, 'H1190', 'PVC Covered Spring Handle', '69', 11.300000, 0.000000, 62.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(69, 10030, 70, 'H1425', 'Briefcase Swivel Handle', '70', 3.520000, 0.000000, 41.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(70, 10030, 71, 'H2000', 'Recessed Pull-Out Handle', '71', 47.260000, 0.000000, 19.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(71, 10030, 73, 'H2017/DC', 'Recessed Pull-Out Handle- Die Cast Dish', '73', 79.450000, 0.000000, 12.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(72, 10030, 74, 'H7151K', 'Medium Recessed Handles- Black', '74', 9.470000, 0.000000, 287.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(73, 10030, 75, 'H7151Z', 'Medium Recessed Handle', '75', 7.940000, 0.000000, 8279.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(74, 10030, 76, 'L0350', 'Black Lever Latch', '76', 11.870000, 0.000000, 157.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(75, 10030, 78, 'L0565Z', 'Large Draw Bolt- Padlockable.', '78', 2.570000, 0.000000, 66.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(76, 10030, 79, 'L0968Z', 'Valance Spanning Overlatch in plain dish', '79', 16.630000, 0.000000, 537.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(77, 10030, 80, 'L1068Z', 'Slam Latch', '80', 29.350000, 0.000000, 90.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(78, 10030, 81, 'L903/7336Z', '2 Unit Rack Lid Latch in Narrow and Very Shallow Plain Dish', '81', 6.440000, 0.000000, 314.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(79, 10030, 82, 'L904/914PBZ', 'Small Latch in Plain Dish Padlockable', '82', 7.250000, 0.000000, 688.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(80, 10030, 83, 'L905/55/915Z', 'Crating Latch', '83', 17.480000, 0.000000, 811.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(81, 10030, 85, 'L907/927', 'Medium MOL Latch in 27mm / 1 1/16 Offset Dish with Key Lock', '85', 32.010000, 0.000000, 16.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(82, 10030, 86, 'L907/928K', 'Medium MOL Latch- Black', '86', 14.920000, 0.000000, 194.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(83, 10030, 87, 'L907/928PBZ', 'Medium MOL Latch in 27mm / 1 1/16 Offset Dish with Padlock Bracket', '87', 13.030000, 0.000000, 920.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(84, 10030, 88, 'L907/928', 'Medium MOL Latch in 27mm / 1 1/16 Offset Dish', '88', 11.220000, 0.000000, 5109.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(85, 10030, 90, 'L944/527/10PBZ', 'Large MOL Latch in 27mm / 1 1/16 Offset Dish with Padlock Bracket', '90', 21.940000, 0.000000, 7499.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(86, 10030, 92, 'L944/537/10', 'Large MOL Latch in Offset Dish', '92', 18.480000, 0.000000, 40.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(87, 10030, 93, 'M865007', 'FLight Panel - Light Weight Polypropylene Board- Black 7mm', '93', 283.910000, 0.000000, 93.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(88, 10030, 95, 'M865107', 'FLight Panel - BLUE - 7mm / 1/4', '95', 319.700000, 0.000000, 21.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(89, 10030, 96, 'M865207', 'FLight Panel - GREY - 7mm / 1/4', '96', 401.410000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(90, 10030, 97, 'M865307', 'FLight Panel - RED - 7mm / 1/4', '97', 355.850000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(91, 10030, 98, 'P0620', 'Hinge Zinc 70mm x 38.5mm Open', '98', 1.790000, 0.000000, 1814.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(92, 10030, 99, 'P0625Z', 'Lift-Off Hinge', '99', 3.240000, 0.000000, 84.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(93, 10030, 100, 'P1240', '200mm / 7.87 Locking Lid Stay', '100', 5.320000, 0.000000, 56.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(94, 10030, 101, 'P1350P', 'Lightweight Aluminium Piano Hinges- Punched', '101', 51.130000, 0.000000, 283.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(95, 10030, 104, 'P1995', 'Strut Hinge', '104', 3.430000, 0.000000, 448.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(96, 10030, 105, 'P2597Z', 'Hinge with Lid Stay in 7mm / 1/4 Shallow Dish- From Split to Hole Centre: 10mm / 3/8', '105', 8.020000, 0.000000, 13.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(97, 10030, 107, 'PK-886MF', 'Edging Extrusion - Mill Finish', '107', 16.800000, 0.000000, 912.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(98, 10030, 108, 'PK-887MF', 'Locating Extrusion 11mm - Mill Finish', '108', 14.400000, 0.000000, 908.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(99, 10030, 109, 'PK-888MF', 'Locating Extrusion 7mm - Mill Finish', '109', 11.040000, 0.000000, 373.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(100, 10030, 110, 'R0863/2MM', 'Full Hole Rack Rail - Single', '110', 25.120000, 0.000000, 739.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(101, 10030, 111, 'R0883', 'DOUBLE RACK RAIL 2 MTRS', '111', 44.370000, 0.000000, 398.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(102, 10030, 114, 'R1291K/2L', '1U Rack Drawer with 2 Slam Locks', '114', 86.920000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(103, 10030, 115, 'R129LD-50-BK', 'LD29 - 2000 x 1000 x 50mm-Black', '115', 126.890000, 0.000000, 926.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(104, 10030, 117, 'R133LD-30-BK-2M', 'LD33 - 2000 x 1000 x 30mm-Black', '117', 120.100000, 0.000000, 825.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(105, 10030, 118, 'R133LD-30-BL', 'LD33 - 2000 x 1000 x 30mm-Blue', '118', 96.740000, 0.000000, 141.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(106, 10030, 119, 'R133LD-30-BN', 'LD33 - 2000 x 1000 x 30mm-Brown', '119', 126.480000, 0.000000, 3.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(107, 10030, 120, 'R133LD-30-GN', 'LD33 - 2000 x 1000 x 30mm-Green', '120', 126.480000, 0.000000, 35.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(108, 10030, 122, 'R133LD-30-OR', 'LD33 - 2000 x 1000 x 30mm-Orange', '122', 121.710000, 0.000000, 3.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(109, 10030, 123, 'R133LD-30-PN', 'LD33 - 2000 x 1000 x 30mm-Pink', '123', 126.480000, 0.000000, 10.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(110, 10030, 124, 'R133LD-30-RD', 'LD33 - 2000 x 1000 x 30mm-Red', '124', 98.050000, 0.000000, 61.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(111, 10030, 125, 'R133LD-30-VT', 'LD33 - 2000 x 1000 x 30mm-Violet', '125', 126.480000, 0.000000, 7.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(112, 10030, 126, 'R133LD-30-WT', 'LD33 - 2000 x 1000 x 30mm-White', '126', 126.480000, 0.000000, 17.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(113, 10030, 127, 'R133LD-30-YL', 'LD33 - 2000 x 1000 x 30mm-Yellow', '127', 101.370000, 0.000000, 136.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(114, 10030, 128, 'R135VA-30-RD', 'EVA R135 - 2000 x 1000 x 30mm-Red', '128', 128.660000, 0.000000, 84.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(115, 10030, 129, 'R1385/1UK', '1U Black 1.5mm Thick Rack Panel', '129', 8.280000, 0.000000, 60.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(116, 10030, 130, 'R1385/2UK', '2U Black 1.5mm Thick Rack Panel', '130', 12.300000, 0.000000, 66.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(117, 10030, 132, 'R145LD-30-BK-2M', 'LD45 - 2000 x 1000 x 30mm-Black', '132', 126.430000, 0.000000, 916.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(118, 10030, 134, 'R145LD-30-FL', 'LD45 - 2000 x 1000 x 30mm-Flesh', '134', 160.880000, 0.000000, 7.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(119, 10030, 136, 'R1600', 'Folding Table Legs', '136', 244.170000, 0.000000, 9.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(120, 10030, 137, 'R1606F', 'Table Mounting Latch - Female', '137', 4.880000, 0.000000, 65.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(121, 10030, 138, 'R1606M', 'Table Mounting Latch - Male', '138', 13.640000, 0.000000, 66.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(122, 10030, 142, 'R305/2-50-BK', 'Etha220 - 2750 x 1200 x 50mm-Black', '142', 159.320000, 0.000000, 40.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(123, 10030, 143, 'R541/2-100-EST', 'Ester R541/2 - 2000 x 1100 x 100mm', '143', 156.110000, 0.000000, 11.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(124, 10030, 144, 'R541/2-EGG-BK', 'Eggbox R541/2 - 2040 x 1190 x 20mm', '144', 145.860000, 0.000000, 14.00, 0, 8, 0, '2025-07-03 04:34:26', '0000-00-00 00:00:00'),
(125, 10030, 148, 'S1160K', 'Pozidriv Pan Head Screws M6 - Black', '148', 0.210000, 0.000000, 5039.00, 0, 8, 0, '2025-07-03 04:34:27', '0000-00-00 00:00:00'),
(126, 10030, 149, 'S1172', 'Cage Nuts', '149', 0.210000, 0.000000, 5564.00, 0, 8, 0, '2025-07-03 04:34:27', '0000-00-00 00:00:00'),
(127, 10030, 150, 'S1940', 'Slim M6 Cup Washer', '150', 0.180000, 0.000000, 4428.00, 0, 8, 0, '2025-07-03 04:34:27', '0000-00-00 00:00:00'),
(128, 10030, 153, 'W0964Z', 'Recess Castor Dish - Square', '153', 3.040000, 0.000000, 400.00, 0, 8, 0, '2025-07-03 04:34:27', '0000-00-00 00:00:00'),
(129, 10030, 154, 'W2065Z', 'Steel Recessed Castor with 64mm / 2.52 Diameter Black Wheel', '154', 18.690000, 0.000000, 83.00, 0, 8, 0, '2025-07-03 04:34:27', '0000-00-00 00:00:00'),
(130, 10031, 155, 'W2100', 'Recessed Castor with 100mm / 4 Diameter Blue Wheel', '155', 30.330000, 0.000000, 116.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(131, 10031, 156, 'W8675', 'Die-Cast Corner Castor with Heavy Duty 75mm / 3 Diameter Wheel - Recommended Load Capacity per Wheel: 150kg/330.69lb', '156', 17.980000, 0.000000, 123.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(132, 10031, 158, '3i-4411-12T-01', 'Tan Case-2/10 Deep-Empty', '158', 763.640000, 0.000000, 6.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(133, 10031, 166, 'PN028ST', 'HP Laminate 4 x 8 x 0.7mm- Naranja Nieve Yellow', '166', 47.000000, 0.000000, 45.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(134, 10031, 170, '1904', 'Strap Hinges 4', '170', 4.520000, 0.000000, 385.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(135, 10031, 171, 'R50335', 'Slider for Rack Door 555mm', '171', 64.770000, 0.000000, 7.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(136, 10031, 172, 'R50338', 'Slider for Rack Door 610mm', '172', 73.000000, 0.000000, 22.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(137, 10031, 175, 'SFM-A-Y-40', 'Rubber Shockmount- Yellow', '175', 30.000000, 0.000000, 137.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(138, 10031, 182, '2129N-5', 'Locking Lid Stay 280mm / 11.02', '182', 3.950000, 0.000000, 31.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(139, 10031, 183, 'W0985-V6', 'Castor 4- Braked', '183', 26.960000, 0.000000, 2117.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(140, 10031, 184, 'W0990-V6', 'Castor 4- Swiveled', '184', 22.970000, 0.000000, 2060.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(141, 10031, 185, 'W0975-V6', 'Castor 4- Fixed', '185', 20.940000, 0.000000, 88.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(142, 10031, 187, 'R678', 'Anthracite Foam R678 45kg 2000x1000x100mm', '187', 478.180000, 0.000000, 25.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(143, 10031, 188, 'R590', 'Class O Fireseal Foam R590 2000x1000x50mm', '188', 149.270000, 0.000000, 28.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(144, 10031, 189, 'GR4.8*10', '4.8x10mm Aluminum Steel Grooved Rivets', '189', 0.050000, 0.000000, 183000.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(145, 10031, 190, 'L1037Z', 'Slam Latch Small', '190', 15.810000, 0.000000, 101.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(146, 10031, 191, 'NC2HE', 'N-Case 2 Extrusion Hybrid', '191', 10.470000, 0.000000, 16.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(147, 10031, 192, 'R2295-2UK', 'Rack Drawer Ali US 14 2U Black', '192', 164.310000, 0.000000, 49.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(148, 10031, 193, 'R2295-3UK', 'Rack Drawer Ali US 14 3U Black', '193', 166.600000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(149, 10031, 194, 'R2860-SET', 'Rack Tilt Frame', '194', 63.750000, 0.000000, 21.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(150, 10031, 196, 'NC2C3K', 'N-Case 2 Corner 3 legged', '196', 2.110000, 0.000000, 32.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(151, 10031, 197, 'NC2DAE', 'NC2 Extrusion Double Angle', '197', 19.200000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(152, 10031, 198, 'NC2HCBK', 'N-Case 2 Corner Hybrid base', '198', 2.110000, 0.000000, 32.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(153, 10031, 199, 'NC2HCLK', 'N-Case 2 Corner Hybrid', '199', 2.110000, 0.000000, 32.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(154, 10031, 200, 'NC2LC54K', 'N-Case 2 Lidmaker Corner', '200', 2.210000, 0.000000, 24.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(155, 10031, 201, 'NC2LE54', 'N-C2 Lidmaker Extrusion 54mm', '201', 17.670000, 0.000000, 6.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(156, 10031, 202, 'P1250-05', 'Adjustable Ratchet Stay with 5 stops', '202', 11.780000, 0.000000, 12.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(157, 10031, 203, 'P1250-10', 'Adjustable Ratchet Stay with 10 stops', '203', 17.150000, 0.000000, 12.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(158, 10031, 205, 'L2473', 'Slam Latch for Slam Lid System', '205', 13.500000, 0.000000, 20.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(159, 10031, 212, 'B1130', '4 Hole Brace - Rounded', '212', 0.350000, 0.000000, 1280.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(160, 10031, 213, '2204SF', 'Laminates (264) Red Dynasty 4x8x0.8mm', '213', 57.000000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(161, 10031, 215, 'GR5*14', '5x14mm Aluminum Steel Grooved Rivets', '215', 0.050000, 0.000000, 315000.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(162, 10031, 219, '9274F', 'Panel Lock Female', '219', 6.750000, 0.000000, 26.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(163, 10031, 220, '9274M', 'Panel Lock Male', '220', 27.280000, 0.000000, 26.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(164, 10031, 222, 'H2433K', 'Briefcase Swivel Handle', '222', 18.630000, 0.000000, 8.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(165, 10031, 223, 'L0571K', 'Die-Cast Latch Black', '223', 47.210000, 0.000000, 10.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(166, 10031, 224, 'L0575K', 'Lockable Die-Cast Latch Black', '224', 47.210000, 0.000000, 10.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(167, 10031, 227, 'HLB22', 'Egg Foam HLB22 1220x2030x9.5Base/28.5Rise', '227', 64.300000, 0.000000, 89.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(168, 10031, 235, 'CNC000669', 'Quad Pack P3 LD33/LD45 Foam Fitment including Case', '235', 3789.590000, 0.000000, 1050.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(169, 10031, 237, 'R130AE30BKSD-S/S', 'Pln R130 LD SD Black 1900x1000x30mm S/S', '237', 290.070000, 0.000000, 53.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(170, 10031, 238, 'R140AF29BKS', 'Pln R140 LD SD Black 1650x900x29mm S/S', '238', 282.730000, 0.000000, 41.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(171, 10031, 243, 'BPLY-017', '18mm BB/CP Russian Birch Ply [2400x1200mm]', '243', 139.000000, 0.000000, 31.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(172, 10031, 244, 'BPLY-018', '6mm BB/CP Birch Ply [2400x1200mm]', '244', 100.000000, 0.000000, 9.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(173, 10031, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', '246', 77.000000, 0.000000, 205.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(174, 10031, 247, 'R129LD-50-BK-1.2M', 'LD29 - 2000 x 1000 x 50mm-Black- 2x1.2m', '247', 188.530000, 0.000000, 95.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(175, 10031, 252, 'F1691', 'Rubber Foot 25.4x25.4mm', '252', 0.900000, 0.000000, 926.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(176, 10031, 253, 'L0560Z', 'Small Zinc Draw Bolt', '253', 2.800000, 0.000000, 96.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(177, 10031, 254, 'R2295-4UK', 'Aluminium Rack Drawers 4U 14', '254', 226.710000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(178, 10031, 676, 'SCP-LBL', 'Halcon P2 Case Labels', '676', 2.280000, 0.000000, 32800.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(179, 10031, 677, 'R133LD-50-BK-2M', 'LD33 - 2000 x 1230 x 50mm,Black', '677', 231.560000, 0.000000, 450.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(180, 10031, 256, '1RMM32-DHW', 'Rolling Mixer CS Midas M32', '256', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(181, 10031, 257, '1RMQU32-DHW', 'Roto-molded Allen & Heath QU32 Mixer Case w/ wheels', '257', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(182, 10031, 258, '1RMTF5-DHW', 'Roto-molded Yamaha TF5 Mixer Case w/ Wheels', '258', 0.100000, 0.000000, 3.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(183, 10031, 259, '1RMX32-DHW', 'Roto-molded Behringer X32 Mixer Case w/ wheels', '259', 0.100000, 0.000000, 3.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(184, 10031, 260, '1SKB-16', 'Shallow Acoustic Roundback Shaped Hardshell Case', '260', 0.100000, 0.000000, 5.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(185, 10031, 261, '1SKB-17', 'Acoustic Roundback Guitar Case', '261', 0.100000, 0.000000, 7.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(186, 10031, 263, '1SKB-1916', 'Shockmount Roto Caster Kit', '263', 0.100000, 0.000000, 5.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(187, 10031, 264, '1SKB19-R1406', 'The Mighty 07 GigRig', '264', 0.100000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(188, 10031, 266, '1SKB19-RSF4U', 'Roto-Molded 4U Studio Flyer Rack Case', '266', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(189, 10031, 274, '1SKB-58', 'Flying V Hardshell Guitar Case', '274', 0.100000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(190, 10031, 275, '1SKB-5817W', 'SKB SKB-5817W ATA Slimline Keyboard Case with Wheels (Black)', '275', 0.100000, 0.000000, 6.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(191, 10031, 277, '1SKB-61', 'SG Hardshell Guitar Case', '277', 0.100000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(192, 10031, 278, '1SKB-62', 'Jaguar/Jazzmaster Type Hardshell Case', '278', 0.100000, 0.000000, 11.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(193, 10031, 279, '1SKB-63', 'Explorer / Firebird Hardshell Guitar Case', '279', 0.100000, 0.000000, 5.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(194, 10031, 283, '1SKB-AV14', 'A/V Shelf for Mighty GigRig', '283', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(195, 10031, 284, '1SKB-AV8', '8 Space Audio Video Shelf', '284', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(196, 10031, 285, '1SKB-CB22', '22 Cymbal Gig Bag', '285', 0.100000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(197, 10031, 289, '1SKB-D0808', 'Tom Drum Case 8x8', '289', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(198, 10031, 290, '1SKB-D0910', 'Tom Drum Case 9x10', '290', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(199, 10031, 297, '1SKB-DBS2', 'Drum Soft Gig Bag Set 2', '297', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(200, 10031, 298, '1SKB-DBS3', 'Drum Soft Gig Bag Set 3', '298', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(201, 10031, 299, '1SKB-DBS4', 'Drum Soft Gig Bag Set 4', '299', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(202, 10031, 303, '1SKB-DRP3', 'Drum Package 3- Includes: D1620- D1012- D1616', '303', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(203, 10031, 304, '1SKB-DRP4', 'Drum Package 4 -Includes: D1824- D1012- D1616', '304', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(204, 10031, 306, '1SKB-GB18', 'Acoustic Style Gig Bag', '306', 0.100000, 0.000000, 16.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(205, 10031, 307, '1SKB-GB44', 'Bass Gig Bag', '307', 0.100000, 0.000000, 16.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(206, 10031, 308, '1SKB-GB66', 'Electric Guitar Gig Bag', '308', 0.100000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(207, 10031, 309, '1SKB-GSM', 'Taylor GS Mini Acoustic Hard Case', '309', 0.100000, 0.000000, 41.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(208, 10031, 311, '1SKB-iSF2U', 'Injection Molded 2U Studio Flyer Rack Case', '311', 0.100000, 0.000000, 15.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(209, 10031, 312, '1SKB-iSF4U', 'Injection Molded 4U Studio Flyer Rack Case', '312', 0.100000, 0.000000, 12.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(210, 10031, 313, '1SKB-PDL', 'TSA Combination Padlock', '313', 0.100000, 0.000000, 88.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(211, 10031, 315, '1SKB-R100', 'Roto-molded 10U Top Mixer Rack', '315', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(212, 10031, 316, '1SKB-R102', '10 x 2 Roto Rack/Mixer Console', '316', 0.100000, 0.000000, 3.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(213, 10031, 317, '1SKB-R104', 'Audio and DJ Rack Case', '317', 0.100000, 0.000000, 6.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(214, 10031, 318, '1SKB-R106', '10x6 Roto Rack Console', '318', 0.100000, 0.000000, 9.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(215, 10031, 319, '1SKB-R10U', '10U Roto Rack', '319', 0.100000, 0.000000, 13.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(216, 10031, 320, '1SKB-R12U', '12U Roto Rack', '320', 0.100000, 0.000000, 3.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(217, 10031, 321, '1SKB-R1906', 'Roto Molded Rack Expansion Case (with wheels)', '321', 0.100000, 0.000000, 7.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(218, 10031, 322, '1SKB-R2S', 'Roto-Molded 2U Shallow Rack', '322', 0.100000, 0.000000, 10.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(219, 10031, 324, '1SKB-R3411W', 'NEW - Roto-Mold Tripod case (34 x 11) w/wheels', '324', 0.100000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(220, 10031, 326, '1SKB-R3U', '3U Roto Rack', '326', 0.100000, 0.000000, 16.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(221, 10031, 327, '1SKB-R4S', 'Roto-Molded 4U Shallow Rack', '327', 0.100000, 0.000000, 12.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(222, 10031, 328, '1SKB-R4U', '4U Roto Rack', '328', 0.100000, 0.000000, 12.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(223, 10031, 329, '1SKB-R4UW', '4U Roto Rolling Rack', '329', 0.100000, 0.000000, 21.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(224, 10031, 330, '1SKB-R6S', 'Roto-Molded 6U Shallow Rack', '330', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(225, 10031, 331, '1SKB-R6U', '6U Roto Rack', '331', 0.100000, 0.000000, 22.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(226, 10031, 332, '1SKB-R6UW', '6U ROTO-MOLD RACK CASE W/WHEELS', '332', 0.100000, 0.000000, 51.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(227, 10031, 334, '1SKB-R8U', '8U Roto Rack', '334', 0.100000, 0.000000, 23.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(228, 10031, 335, '1SKB-R8UW', '8U Roto Shockmount Rack Case with Wheels', '335', 0.100000, 0.000000, 10.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(229, 10031, 336, '1SKB-R904U20', '20 Deep 4U Roto Shock Rack', '336', 0.100000, 0.000000, 7.00, 0, 8, 0, '2025-07-03 04:34:30', '0000-00-00 00:00:00'),
(230, 10032, 337, '1SKB-R906U20', '20 Deep 6U Roto Shock Rack', '337', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(231, 10032, 338, '1SKB-R908U20', '20 Deep 8U Roto Shock Rack', '338', 0.100000, 0.000000, 9.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(232, 10032, 339, '1SKB-R910U20', '20 Deep 10U Roto Shock Rack', '339', 0.100000, 0.000000, 13.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(233, 10032, 340, '1SKB-R912U20', '12U 20-inch Deep rSeries Shock Rack', '340', 0.100000, 0.000000, 3.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(234, 10032, 341, '1SKB-R916U20', '16U 20-inch Deep rSeries Shock Rack', '341', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(235, 10032, 342, '1SKB-RCB', 'Roto and Shallow Rack Caster Platform', '342', 0.100000, 0.000000, 10.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(236, 10032, 343, '1SKB-SB100', 'Standard Stick Bag', '343', 0.100000, 0.000000, 29.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(237, 10032, 344, '1SKB-SB300', 'Deluxe Stick Gig Bag', '344', 0.100000, 0.000000, 30.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(238, 10032, 346, '1SKB-SC1913', 'Controller Soft Case 19 x 13 x 3 (VMS4- Torq Xponent- Axiom 25)', '346', 0.100000, 0.000000, 10.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(239, 10032, 347, '1SKB-SC191U', '1U Soft Case Rack', '347', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(240, 10032, 348, '1SKB-SC192U', '2U Soft Rack Case', '348', 0.100000, 0.000000, 3.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(241, 10032, 349, '1SKB-SC2111', 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', '349', 0.100000, 0.000000, 4.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(242, 10032, 350, '1SKB-SC2311', 'Controller Soft Case 23 x 11 x 3.75 (MINIAK- microKORG Vocoder)', '350', 0.100000, 0.000000, 9.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(243, 10032, 351, '1SKB-SC2316', '23 x 16 x 5.75 Soft Case for PS-8 and PS-15 Pedalboards', '351', 0.100000, 0.000000, 9.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(244, 10032, 352, '1SKB-SC2414', 'DJ/Keyboard Controller Soft Case 24 X 14 4', '352', 0.100000, 0.000000, 11.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(245, 10032, 353, '1SKB-SC2709', 'MIDI Foot Controller Soft Case (For FCB1010- MFC10- FC200- CyberFoot)', '353', 0.100000, 0.000000, 9.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(246, 10032, 354, '1SKB-SC2714', 'DJ/Keyboard Controller Soft Case 27 X 14 4', '354', 0.100000, 0.000000, 9.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(247, 10032, 356, '1SKB-SC3212', 'Controller Soft Case 32 X 12 3.5', '356', 0.100000, 0.000000, 11.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(248, 10032, 357, '1SKB-SC56', 'Les Paul Guitar Soft Case', '357', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(249, 10032, 359, '1SKB-SC88KW', 'Soft Case for 88-Note Keyboards', '359', 0.100000, 0.000000, 8.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(250, 10032, 361, '1SKB-SCFS6', 'Universal Shaped Electric Guitar Soft Case', '361', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(251, 10032, 362, '1SKB-SCPM1', 'Small Rolling Powered Speaker/Mixer Soft Case', '362', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(252, 10032, 363, '1SKB-UB0909', 'Universal Equipment/Mixer Bag 9 x 9 x 2.5', '363', 0.100000, 0.000000, 18.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(253, 10032, 364, '1SKB-UB1212', 'Universal Equipment/Mixer Bag 12 x 12 x 4', '364', 0.100000, 0.000000, 19.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(254, 10032, 365, '1SKB-UB1515', 'Universal Equipment/Mixer Bag 15 x 15 x 5', '365', 0.100000, 0.000000, 20.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(255, 10032, 366, '1SKB-UB1818', 'Universal Equipment/Mixer Bag 18 x 18 x 5', '366', 0.100000, 0.000000, 18.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(256, 10032, 367, '1SKB-UB2020', 'Universal Equipment/Mixer Bag 20 x 20 x 5', '367', 0.100000, 0.000000, 16.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(257, 10032, 369, '2SFR-5013', 'SFR 5013 Double Rifle Case', '369', 0.100000, 0.000000, 22.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(258, 10032, 371, '2SKB-4009', 'ATA Short Double Rifle Case 4009', '371', 0.100000, 0.000000, 15.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(259, 10032, 373, '2SKB-4117-H', 'Hoyt Hunter Series Bow Case', '373', 0.100000, 0.000000, 39.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(260, 10032, 375, '2SKB-4206-B', '4206 Archery Bag', '375', 0.100000, 0.000000, 25.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(261, 10032, 376, '2SKB-4814W', 'Deluxe Standard ATA Golf Travel Case', '376', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(262, 10032, 377, '2SKB-5009', 'Double Rifle Transport Case 5009', '377', 0.100000, 0.000000, 18.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(263, 10032, 380, '2SKB-HG15-BK', 'Dry-Tek 15 Handgun Bag', '380', 0.100000, 0.000000, 1.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(264, 10032, 382, '2SKB-SC3409', 'Hybrid Breakdown Shotgun Case 3409', '382', 0.100000, 0.000000, 2.00, 0, 8, 0, '2025-07-03 04:34:32', '0000-00-00 00:00:00'),
(265, 10033, 17, '9967', 'Telescopic Table Leg Assembly', '17', 0.000000, 0.000000, 13.00, 0, 1, 13, '2025-07-16 04:27:23', '2025-09-22 12:40:38'),
(266, 10034, 17, '9967', 'Telescopic Table Leg Assembly', '17', 0.000000, 0.000000, 10.00, 0, 1, 0, '2025-09-22 12:33:06', '0000-00-00 00:00:00'),
(267, 10035, 681, 'A1001', 'Test Item for A100', '681', 10.000000, 0.000000, 10.00, 0, 1, 0, '2025-10-03 15:14:52', '0000-00-00 00:00:00'),
(268, 10036, 681, 'A1001', 'Test Item for A100', '681', 10.000000, 0.000000, 5.00, 0, 1, 0, '2025-10-03 15:19:15', '0000-00-00 00:00:00'),
(269, 10037, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', '1', 15.430000, 0.000000, 10.00, 0, 1, 0, '2025-10-06 10:26:51', '0000-00-00 00:00:00'),
(270, 10038, 668, 'A10001', 'Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Description', '668', 26.830000, 0.000000, 10.00, 0, 1, 0, '2025-10-06 10:50:26', '0000-00-00 00:00:00'),
(271, 10039, 683, 'product 0001', 'test', '683', 0.000000, 0.000000, 10.00, 0, 1, 0, '2025-10-06 10:55:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_inventory_indirect_transfer`
--

CREATE TABLE `erp_inventory_indirect_transfer` (
  `id` bigint(20) NOT NULL,
  `from_warehouse_id` bigint(20) NOT NULL,
  `to_warehouse_id` bigint(20) NOT NULL,
  `intermediate_location` varchar(255) NOT NULL,
  `indirect_transfer_description` text NOT NULL,
  `reference` varchar(255) NOT NULL,
  `transfer_date` date NOT NULL,
  `is_complete` enum('Y','N','P') DEFAULT 'N',
  `status` enum('P','TO','C','TI') NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_inventory_indirect_transfer`
--

INSERT INTO `erp_inventory_indirect_transfer` (`id`, `from_warehouse_id`, `to_warehouse_id`, `intermediate_location`, `indirect_transfer_description`, `reference`, `transfer_date`, `is_complete`, `status`, `created_by`, `updated_by`, `created_date_time`, `updated_date_time`) VALUES
(1, 1, 5, '6', 'passing 10 qty to hirirng', 'AB01', '2025-10-06', 'P', 'C', 1, 0, '2025-10-06 00:00:00', '0000-00-00 00:00:00'),
(2, 1, 5, '6', '', 'AB01', '2025-10-06', 'P', 'C', 1, 0, '2025-10-06 00:00:00', '0000-00-00 00:00:00'),
(3, 1, 5, '6', '', '', '2025-10-06', 'Y', 'TI', 1, 0, '2025-10-06 00:00:00', '0000-00-00 00:00:00'),
(4, 1, 5, '6', '', '', '2025-10-06', 'Y', 'TI', 1, 0, '2025-10-06 00:00:00', '0000-00-00 00:00:00'),
(5, 1, 5, '6', '', '', '2025-10-06', 'Y', 'TI', 1, 0, '2025-10-06 00:00:00', '0000-00-00 00:00:00'),
(6, 1, 5, '6', '', '', '2025-10-06', 'Y', 'TI', 1, 0, '2025-10-06 00:00:00', '0000-00-00 00:00:00'),
(7, 1, 4, '6', '', 'A11', '2025-10-07', 'Y', 'TI', 1, 0, '2025-10-07 00:00:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_inventory_indirect_transfer_item`
--

CREATE TABLE `erp_inventory_indirect_transfer_item` (
  `id` int(11) NOT NULL,
  `indirect_transfer_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `item_name` varchar(255) NOT NULL,
  `item_description` text NOT NULL,
  `transfer_qty` decimal(15,3) NOT NULL,
  `available_qty` decimal(15,3) NOT NULL,
  `damaged_qty` decimal(15,3) NOT NULL,
  `missing_qty` decimal(15,3) NOT NULL,
  `transferred_qty` decimal(15,3) NOT NULL,
  `balance_qty` decimal(15,3) DEFAULT NULL,
  `to_warehouse_id` int(11) NOT NULL,
  `unit` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_inventory_indirect_transfer_item`
--

INSERT INTO `erp_inventory_indirect_transfer_item` (`id`, `indirect_transfer_id`, `item_id`, `item_name`, `item_description`, `transfer_qty`, `available_qty`, `damaged_qty`, `missing_qty`, `transferred_qty`, `balance_qty`, `to_warehouse_id`, `unit`) VALUES
(1, 1, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 10.000, 96.000, 1.000, 1.000, 8.000, NULL, 5, 1),
(2, 2, 672, '1001', 'Test Item', 10.000, 80.000, 1.000, 1.000, 8.000, NULL, 5, 672),
(3, 3, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 10.000, 86.000, 0.000, 1.000, 9.000, NULL, 5, 1),
(4, 4, 668, 'A10001', 'Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Test Item A10001 Description', 10.000, 998.000, 1.000, 1.000, 8.000, NULL, 5, 668),
(5, 5, 683, 'product 0001', 'test', 10.000, 10.000, 1.000, 1.000, 8.000, NULL, 5, 683),
(6, 6, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 10.000, 76.000, 1.000, 1.000, 8.000, NULL, 5, 1),
(7, 7, 681, 'A1001', 'Test Item for A100', 2.000, 8.000, 0.000, 0.000, 2.000, NULL, 4, 681);

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

--
-- Table structure for table `erp_inventory_kit`
--

CREATE TABLE `erp_inventory_kit` (
  `id` int(11) NOT NULL,
  `kit_name` varchar(255) NOT NULL,
  `alias_name` text CHARACTER SET utf8mb3 COLLATE utf8mb3_persian_ci NOT NULL,
  `isActive` enum('Y','N') DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_inventory_kit_items`
--

CREATE TABLE `erp_inventory_kit_items` (
  `id` int(11) NOT NULL,
  `kit_id` int(11) NOT NULL,
  `item` int(11) NOT NULL,
  `quantity` decimal(15,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_inventory_serialno_change_history`
--

CREATE TABLE `erp_inventory_serialno_change_history` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `process` enum('SNO','EXP') NOT NULL,
  `status_from` enum('Y','N') NOT NULL,
  `status_to` enum('Y','N') NOT NULL,
  `old_product_location_ids` text NOT NULL,
  `new_product_location_ids` text NOT NULL,
  `old_stock_ledger_ids` text NOT NULL,
  `new_stock_ledger_ids` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_inventory_uploaded_stock`
--

CREATE TABLE `erp_inventory_uploaded_stock` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `rate` decimal(15,3) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_invoice`
--

CREATE TABLE `erp_invoice` (
  `id` bigint(20) NOT NULL,
  `delivery_ids` varchar(255) NOT NULL,
  `file_id` int(11) NOT NULL,
  `quotes_id` int(11) NOT NULL,
  `order_id` bigint(20) NOT NULL,
  `project_id` int(11) NOT NULL,
  `invoice_no` varchar(255) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `lead_owner_id` int(11) NOT NULL,
  `billing_address` text NOT NULL,
  `invoice_date` date NOT NULL,
  `sales_group_id` int(11) NOT NULL,
  `reference` enum('ITEM_DISCOUNT','FOOTER_DISCOUNT','NONE') NOT NULL DEFAULT 'NONE',
  `currency_id` int(11) NOT NULL,
  `exchange_rate` decimal(15,2) NOT NULL,
  `payment_terms_id` int(11) NOT NULL,
  `shipping_by` varchar(255) NOT NULL,
  `notes` text NOT NULL,
  `remarks` text NOT NULL,
  `terms_id` int(11) NOT NULL COMMENT 'primary key to masterms ',
  `terms_and_conditions` text NOT NULL,
  `is_direct_invoice` enum('Y','N') NOT NULL DEFAULT 'N',
  `invoice_status` enum('Y','C') NOT NULL DEFAULT 'Y' COMMENT 'Y-Active,C-Cancelled',
  `invoice_type` int(11) NOT NULL COMMENT 'Primary key of crmmas_invoice_type id',
  `added_from` enum('W','A') NOT NULL DEFAULT 'W',
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `net_amount` decimal(15,6) NOT NULL COMMENT 'item_total - total_discount_amount\r\n',
  `total_tax_amount` decimal(15,2) NOT NULL,
  `grand_total` decimal(15,6) NOT NULL,
  `round_off_amount` decimal(15,6) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `sales_inv_type` enum('sales','service') NOT NULL DEFAULT 'sales',
  `total_discount_percentage` decimal(15,2) NOT NULL,
  `total_discount_amount` decimal(15,2) NOT NULL,
  `paymentmode_id` int(11) NOT NULL COMMENT 'Primary key of erp_acc_payment_mode id	',
  `received_amount` decimal(15,6) NOT NULL COMMENT 'used in accounts RV receipt',
  `inco_term_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `advance_invoice` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_invoice`
--

INSERT INTO `erp_invoice` (`id`, `delivery_ids`, `file_id`, `quotes_id`, `order_id`, `project_id`, `invoice_no`, `customer_id`, `contact_id`, `lead_owner_id`, `billing_address`, `invoice_date`, `sales_group_id`, `reference`, `currency_id`, `exchange_rate`, `payment_terms_id`, `shipping_by`, `notes`, `remarks`, `terms_id`, `terms_and_conditions`, `is_direct_invoice`, `invoice_status`, `invoice_type`, `added_from`, `posted`, `net_amount`, `total_tax_amount`, `grand_total`, `round_off_amount`, `warehouse_id`, `isActive`, `sales_inv_type`, `total_discount_percentage`, `total_discount_amount`, `paymentmode_id`, `received_amount`, `inco_term_id`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`, `advance_invoice`) VALUES
(40001, '30001', 10001, 10001, 20001, 0, '40001', 1001, 1, 8, 'Tawazun Industrial Park,\r\nAl Ajban\r\nP.O Box 109667\r\nAbu Dhabi , United Arab Emirates', '2025-05-06', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 410.000000, 20.50, 430.500000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-05-06 09:44:15', '0000-00-00 00:00:00', 'N'),
(40002, '30003', 10006, 10004, 20004, 0, '40002', 1030, 30, 8, 'Building 411, 11th Floor,\r\nMadinat Zayed Office Tower,\r\nSultan Bin Zayed The First Street\r\nP.O Box 41708\r\nAbu Dhabi , United Arab Emirates', '2025-05-06', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 3500.000000, 175.00, 3675.000000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-05-06 15:08:16', '0000-00-00 00:00:00', 'N'),
(40003, '30004', 10017, 10006, 20005, 0, '40003', 1007, 7, 8, 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '2025-05-09', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 15.000000, 0.75, 15.750000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-05-09 12:57:37', '0000-00-00 00:00:00', 'N'),
(40004, '30005', 10019, 10007, 20006, 0, '40004', 1007, 7, 8, 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '2025-05-09', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 20.000000, 1.00, 21.000000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-05-09 13:00:37', '0000-00-00 00:00:00', 'N'),
(40005, '30008', 10021, 10009, 20009, 0, '40005', 1004, 4, 8, 'Abu Dhabi, P.O Box : -\r\n- - United Arab Emirates', '2025-05-09', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 19.000000, 0.95, 19.950000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-05-09 14:29:49', '0000-00-00 00:00:00', 'N'),
(40006, '30010', 10024, 10011, 20011, 0, '40006', 1004, 4, 8, 'Abu Dhabi, P.O Box : -\r\n- - United Arab Emirates', '2025-05-09', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 300.000000, 15.00, 315.000000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-05-09 15:07:59', '0000-00-00 00:00:00', 'N'),
(40007, '30011', 10026, 10012, 20014, 0, '40007', 1003, 3, 8, 'Al Fahad Warehouse - 3C 6A St,\r\nBehind Times Square Center,\r\n Al Quoz, Al Quoz Industrial Area 1\r\nP.O Box -\r\nDubai  , United Arab Emirates', '2025-05-22', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 1505.000000, 75.25, 1580.250000, 0.000000, 0, 'Y', 'sales', 5.00, 75.00, 0, 0.000000, 0, 8, 0, '2025-05-22 11:09:45', '0000-00-00 00:00:00', 'N'),
(40008, '30012', 10044, 10015, 20015, 0, '40008', 1007, 7, 8, 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '2025-05-22', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 290.000000, 14.50, 304.500000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-05-22 11:57:49', '0000-00-00 00:00:00', 'N'),
(40009, '30020', 10060, 10026, 20023, 0, '40009', 1089, 94, 8, 'Mauritania', '2025-06-01', 5, 'NONE', 3, 4.15, 2, '', '', '', 0, 'Purchase Terms and Conditions come here\r\n', 'N', 'Y', 1, 'W', 'N', 30.000000, 2.40, 32.400000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-01 17:24:42', '0000-00-00 00:00:00', 'N'),
(40010, '30020', 10060, 10026, 20023, 0, '40010', 1089, 94, 8, 'Mauritania', '2025-06-01', 5, 'NONE', 3, 4.15, 2, '', '', '', 0, 'Purchase Terms and Conditions come here\r\n', 'N', 'Y', 1, 'W', 'N', 30.000000, 2.40, 32.400000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-01 17:50:43', '0000-00-00 00:00:00', 'N'),
(40011, '30023', 10062, 10028, 20027, 0, '40011', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2025-04-01', 5, 'NONE', 3, 4.15, 2, '', '', '', 0, 'Purchase Terms and Conditions come here\r\n', 'N', 'Y', 1, 'W', 'N', 2500.000000, 200.00, 2700.000000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-02 15:22:41', '0000-00-00 00:00:00', 'N'),
(40012, '30025', 10064, 10030, 20028, 0, '40012', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2025-02-01', 5, 'NONE', 3, 4.15, 2, '', '', '', 0, 'Purchase Terms and Conditions come here\r\n', 'N', 'Y', 1, 'W', 'N', 4410.000000, 352.80, 4762.800000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-02 15:23:19', '0000-00-00 00:00:00', 'N'),
(40013, '30027', 10066, 10032, 20030, 0, '40013', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2025-05-01', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 2250.000000, 180.00, 2430.000000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-03 08:55:57', '0000-00-00 00:00:00', 'N'),
(40014, '30028', 10069, 10035, 20031, 0, '40014', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2025-06-03', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 120.000000, 9.60, 129.600000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-03 09:26:08', '0000-00-00 00:00:00', 'N'),
(40015, '30029', 10076, 10042, 20033, 10001, '40015', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2025-06-03', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, 'NEW', 'N', 'Y', 1, 'W', 'N', 230.000000, 18.40, 248.400000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-03 15:30:00', '0000-00-00 00:00:00', 'N'),
(40016, '30029', 10076, 10042, 20033, 10001, '40016', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2025-06-03', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, 'NEW', 'N', 'Y', 1, 'W', 'N', 230.000000, 18.40, 248.400000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-03 15:30:09', '0000-00-00 00:00:00', 'N'),
(40017, '30030', 10070, 10036, 20032, 0, '40017', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2024-10-02', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 20.000000, 1.60, 21.600000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-04 08:43:23', '0000-00-00 00:00:00', 'N'),
(40018, '30030', 10070, 10036, 20032, 0, '40018', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2023-02-22', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 20.000000, 1.60, 21.600000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-04 08:47:17', '0000-00-00 00:00:00', 'N'),
(40019, '30031', 10051, 10043, 20034, 0, '40019', 1089, 94, 8, 'P.O Box \r\n , Mauritania', '2025-06-04', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 10.000000, 0.80, 10.800000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-04 16:38:51', '0000-00-00 00:00:00', 'N'),
(40020, '30036', 10088, 10049, 20035, 0, '40020', 1078, 78, 8, 'Abu Dhabi, P.O Box : -\r\n- - United Arab Emirates', '2024-05-16', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 7.000000, 0.56, 7.560000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-05 11:10:07', '0000-00-00 00:00:00', 'N'),
(40021, '30035', 10087, 10048, 20036, 0, '40021', 1070, 70, 8, 'Dubai, P.O Box : -\r\n- - United Arab Emirates', '2025-06-05', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 2925.000000, 234.00, 3159.000000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-05 11:10:42', '0000-00-00 00:00:00', 'N'),
(40022, '30034', 10086, 10047, 20037, 0, '40022', 1030, 30, 8, 'Abu Dhabi, P.O Box : 41708\r\n- - United Arab Emirates', '2025-06-05', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 585.000000, 46.80, 631.800000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-05 11:10:49', '0000-00-00 00:00:00', 'N'),
(40023, '30033', 10085, 10046, 20038, 0, '40023', 1017, 17, 8, 'Abu Dhabi, P.O Box : 840\r\n- - United Arab Emirates', '2025-06-05', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 224.000000, 17.92, 241.920000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-05 11:10:54', '0000-00-00 00:00:00', 'N'),
(40024, '30032', 10084, 10045, 20039, 0, '40024', 1002, 2, 8, 'Abu Dhabi, P.O Box : 2723\r\n- - United Arab Emirates', '2025-06-05', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 54.000000, 4.32, 58.320000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-05 11:10:58', '0000-00-00 00:00:00', 'N'),
(40025, '30043', 10093, 10054, 20044, 0, '40025', 1001, 1, 8, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2024-07-10', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 1050.000000, 84.00, 1134.000000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-05 13:36:11', '0000-00-00 00:00:00', 'N'),
(40026, '30044', 10099, 10055, 20045, 0, '40026', 1089, 94, 8, 'Mauritania', '2025-06-09', 5, 'NONE', 1, 1.00, 2, '', '', '', 0, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 20.000000, 1.60, 21.600000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-09 10:35:30', '0000-00-00 00:00:00', 'N'),
(40027, '30042', 10092, 10053, 20043, 0, '40027', 1094, 101, 8, 'dubi, P.O Box : 689666\r\nuae - Mauritania', '2025-06-09', 5, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 160.000000, 12.80, 172.800000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-09 10:36:26', '0000-00-00 00:00:00', 'N'),
(40028, '30045', 10100, 10056, 20046, 0, '40028', 1089, 94, 8, 'Mauritania', '2025-06-09', 5, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 20.000000, 1.60, 21.600000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-09 10:40:51', '0000-00-00 00:00:00', 'N'),
(40029, '30046', 10109, 10063, 20048, 0, '40029', 1089, 94, 8, 'Mauritania', '2025-06-09', 5, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 20.000000, 1.60, 21.600000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-09 13:35:06', '0000-00-00 00:00:00', 'N'),
(40030, '30046', 10109, 10063, 20048, 0, '40030', 1089, 94, 8, 'Mauritania', '2025-06-09', 5, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 20.000000, 1.60, 21.600000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-09 13:36:49', '0000-00-00 00:00:00', 'N'),
(40031, '30048', 10122, 10066, 20049, 0, '40031', 1096, 103, 4, 'P.O Box \r\n , Mauritania', '2025-06-24', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 30.000000, 1.50, 31.500000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-24 11:23:57', '0000-00-00 00:00:00', 'N'),
(40032, '30049', 10127, 10069, 20051, 0, '40032', 1086, 86, 4, 'PBU-A01,\r\nDubai Production City\r\nP.O Box 485004\r\nDubai , United Arab Emirates', '2025-06-26', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 1050.000000, 52.50, 1102.500000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-26 10:01:14', '0000-00-00 00:00:00', 'N'),
(40033, '30041', 10022, 10010, 20010, 0, '40033', 1007, 7, 8, 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '2025-06-27', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'N', 'Y', 1, 'W', 'N', 40.000000, 2.00, 42.000000, 0.000000, 0, 'Y', 'sales', 150.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-27 16:10:59', '0000-00-00 00:00:00', 'N'),
(40034, '30040', 10091, 10052, 20042, 0, '40034', 1094, 101, 8, 'dubi, P.O Box : 689666\r\nuae - Mauritania', '2025-06-27', 5, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 100.000000, 5.00, 105.000000, 0.000000, 0, 'Y', 'sales', 100.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-27 16:12:51', '0000-00-00 00:00:00', 'N'),
(40035, '30051', 10136, 10071, 20055, 0, '40035', 1089, 94, 4, 'United Arab Emirates', '2025-06-30', 1, 'NONE', 3, 4.15, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 150.000000, 7.50, 157.500000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-30 08:07:06', '0000-00-00 00:00:00', 'N'),
(40036, '30037', 10089, 10050, 20040, 10002, '40036', 1094, 101, 8, 'address\r\nP.O Box 689666\r\ndubi , Mauritania', '2025-06-30', 5, 'NONE', 1, 1.00, 2, '', '', 'remks', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 10.000000, 0.50, 10.500000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-30 08:30:27', '0000-00-00 00:00:00', 'N'),
(40037, '', 10007, 0, 20007, 0, '40037', 1020, 20, 8, 'Dubai , P.O Box : 30323 \r\n- - United Arab Emirates', '2025-06-30', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'Y', 'Y', 1, 'W', 'N', 250.000000, 12.50, 262.500000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-30 08:41:28', '0000-00-00 00:00:00', 'Y'),
(40038, '', 10037, 0, 20012, 0, '40038', 1070, 70, 8, 'Dubai, P.O Box : -\r\n- - United Arab Emirates', '2025-06-30', 1, 'NONE', 1, 1.00, 2, '', '', '', 0, '', 'Y', 'Y', 1, 'W', 'N', 350.000000, 17.50, 367.500000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 1, 0, '2025-06-30 08:42:04', '0000-00-00 00:00:00', 'Y'),
(40039, '', 10123, 0, 20050, 0, '40039', 1019, 19, 4, 'The Meydan Hotel Grandstand,\r\n6th Floor Meydan Road,\r\nNad Al Sheba\r\nP.O Box -\r\nDubai , United Arab Emirates', '2025-06-30', 1, 'NONE', 1, 1.00, 2, '', 'notes', 'remarks', 0, 'Sales Terms and Conditions come here', 'Y', 'Y', 1, 'W', 'N', 300.000000, 15.00, 315.000000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-30 08:42:55', '0000-00-00 00:00:00', 'Y'),
(40040, '30054', 10138, 10072, 20057, 0, '40040', 1007, 7, 4, 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '2025-06-30', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 8635.000000, 431.75, 9066.750000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 0, 8, 0, '2025-06-30 08:51:58', '0000-00-00 00:00:00', 'N'),
(40041, '30052', 10124, 10068, 20056, 0, '40041', 1096, 103, 4, 'United Arab Emirates', '2025-06-30', 1, 'NONE', 3, 4.15, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 66.000000, 3.30, 69.300000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 10, 8, 0, '2025-06-30 10:52:31', '0000-00-00 00:00:00', 'N'),
(40042, '30056', 10107, 10062, 20058, 0, '40042', 1089, 94, 8, 'Mauritania', '2025-06-30', 5, 'NONE', 1, 1.00, 2, '', '', 'Test', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 20.000000, 1.00, 21.000000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 1, 8, 0, '2025-06-30 11:33:43', '0000-00-00 00:00:00', 'N'),
(40043, '30059', 10148, 10073, 20060, 0, '40043', 1001, 1, 4, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2025-07-01', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 1105.000000, 45.50, 1150.500000, 0.000000, 0, 'Y', 'sales', 15.00, 130.00, 0, 0.000000, 1, 8, 0, '2025-07-01 12:14:53', '0000-00-00 00:00:00', 'N'),
(40044, '30061', 10150, 10075, 20062, 0, '40044', 1001, 1, 4, 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '2025-07-01', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 1170.000000, 58.50, 1228.500000, 0.000000, 0, 'Y', 'sales', 10.00, 130.00, 0, 0.000000, 1, 8, 0, '2025-07-01 13:54:09', '0000-00-00 00:00:00', 'N'),
(40045, '30062', 10123, 10067, 20050, 0, '40045', 1019, 19, 4, 'The Meydan Hotel Grandstand,\r\n6th Floor Meydan Road,\r\nNad Al Sheba\r\nP.O Box -\r\nDubai , United Arab Emirates', '2025-07-22', 1, 'NONE', 1, 1.00, 2, '', '', 'remarks', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 25.000000, 1.25, 26.250000, 0.000000, 1, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 1, 1, 0, '2025-07-22 14:55:58', '0000-00-00 00:00:00', 'N'),
(40046, '30063', 10154, 10077, 20063, 0, '40046', 1100, 107, 0, 'United Arab Emirates', '2025-09-22', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 1000.000000, 50.00, 1050.000000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 1, 13, 0, '2025-09-22 23:24:31', '0000-00-00 00:00:00', 'N'),
(40047, '30064', 10158, 10080, 20066, 0, '40047', 1099, 106, 0, 'United Arab Emirates', '2025-09-24', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 1000.000000, 50.00, 1050.000000, 0.000000, 0, 'Y', 'sales', 0.00, 0.00, 0, 0.000000, 1, 13, 0, '2025-09-24 11:35:44', '0000-00-00 00:00:00', 'N'),
(40048, '30067', 10165, 10082, 20069, 0, '40048', 1099, 106, 4, 'United Arab Emirates', '2025-10-07', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 1500.000000, 75.00, 1575.000000, 0.000000, 1, 'Y', 'service', 0.00, 0.00, 0, 0.000000, 1, 1, 0, '2025-10-07 15:36:13', '0000-00-00 00:00:00', 'N'),
(40049, '30066', 10163, 10082, 20068, 0, '40049', 1099, 106, 4, 'United Arab Emirates', '2025-10-07', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 1500.000000, 75.00, 1575.000000, 0.000000, 1, 'Y', 'service', 0.00, 0.00, 0, 0.000000, 1, 1, 0, '2025-10-07 15:40:23', '0000-00-00 00:00:00', 'N'),
(40050, '30077', 10171, 10083, 20077, 0, '40050', 1099, 106, 4, 'United Arab Emirates', '2025-10-07', 1, 'NONE', 1, 1.00, 2, '', '', '', 1, 'Sales Terms and Conditions come here', 'N', 'Y', 1, 'W', 'N', 1000.000000, 50.00, 1050.000000, 0.000000, 1, 'Y', 'service', 0.00, 0.00, 0, 0.000000, 1, 1, 0, '2025-10-07 16:48:36', '0000-00-00 00:00:00', 'N');

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

--
-- Table structure for table `erp_invoice_addition`
--

CREATE TABLE `erp_invoice_addition` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_invoice_advance_deduction`
--

CREATE TABLE `erp_invoice_advance_deduction` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `order_advance_invoice_id` int(11) NOT NULL,
  `description` text NOT NULL,
  `total_amount` decimal(15,3) NOT NULL COMMENT 'As in Advance Invoice',
  `tax_amount` decimal(15,3) NOT NULL COMMENT 'As in Advance Invoice',
  `advance_without_tax` decimal(15,3) NOT NULL COMMENT 'Advance Deduction Amount Without Tax',
  `advance_tax_amount` decimal(15,3) NOT NULL COMMENT 'Tax amount of Advance Deduction',
  `advance_deduction` decimal(15,3) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_invoice_deduction`
--

CREATE TABLE `erp_invoice_deduction` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_invoice_exchange`
--

CREATE TABLE `erp_invoice_exchange` (
  `id` bigint(20) NOT NULL,
  `file_id` bigint(20) NOT NULL,
  `order_id` bigint(20) NOT NULL,
  `crm_user_id` bigint(20) NOT NULL,
  `invoice_id` bigint(20) NOT NULL,
  `project_id` int(11) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `contact_id` bigint(20) NOT NULL,
  `exchange_rate` decimal(15,2) NOT NULL,
  `reference` varchar(255) NOT NULL,
  `currency` varchar(255) NOT NULL,
  `credited_amount` decimal(15,2) NOT NULL,
  `credited_date` date NOT NULL,
  `reason` text NOT NULL,
  `tax_type` int(11) NOT NULL,
  `total_tax_amount` decimal(15,2) NOT NULL,
  `notes` text NOT NULL,
  `terms_and_conditions` text NOT NULL,
  `remarks` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `invoice_type` int(11) NOT NULL COMMENT 'Primary key of crmmas_invoice_type id',
  `sales_return` enum('ST','DA') NOT NULL COMMENT 'ST->update in stock,DA-> update in Damage',
  `creditnote_notification` varchar(500) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `is_updated_store` enum('Y','N') NOT NULL DEFAULT 'N',
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `responsible_user` int(11) NOT NULL,
  `creditnote_no` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_invoice_exchange_item`
--

CREATE TABLE `erp_invoice_exchange_item` (
  `id` int(11) NOT NULL,
  `creditnote_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `bonus_qty` decimal(15,3) NOT NULL,
  `description` text NOT NULL,
  `rate` decimal(15,3) NOT NULL,
  `returned_unit_id` int(11) NOT NULL,
  `returned_quantity` decimal(15,3) NOT NULL,
  `returned_bonus_qty` decimal(15,2) NOT NULL,
  `damage_quantity` decimal(15,3) NOT NULL,
  `net_amount` decimal(15,3) NOT NULL,
  `deliverynote_id` int(11) NOT NULL,
  `invoice_item_id` int(11) NOT NULL,
  `product_loc_hiring_id` int(11) NOT NULL,
  `tax_vat_amount` decimal(15,2) NOT NULL,
  `tax_vat_percentage` decimal(15,2) NOT NULL,
  `unit` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `remarks` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_invoice_item`
--

CREATE TABLE `erp_invoice_item` (
  `id` bigint(20) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `quotes_item_id` int(11) NOT NULL,
  `order_item_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `description` text NOT NULL,
  `product_generic_name` varchar(255) NOT NULL,
  `brand_class_id` int(11) NOT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `picked_qty` decimal(15,3) NOT NULL,
  `unit_id` int(11) NOT NULL,
  `rate` decimal(15,6) NOT NULL,
  `amount` decimal(15,6) NOT NULL,
  `addition_percentage` varchar(50) NOT NULL DEFAULT '0',
  `addition_amount` decimal(15,6) NOT NULL DEFAULT 0.000000,
  `deduction_percentage` decimal(15,6) NOT NULL DEFAULT 0.000000,
  `deduction_amount` decimal(15,6) NOT NULL DEFAULT 0.000000,
  `tax_vat_percentage` decimal(15,2) NOT NULL,
  `tax_vat_amount` decimal(15,6) NOT NULL,
  `net_amount` decimal(15,6) NOT NULL,
  `net_per_item` decimal(15,6) NOT NULL,
  `cost_rate` decimal(15,6) NOT NULL,
  `fin_account_id` int(11) NOT NULL,
  `unit_factor` decimal(15,6) NOT NULL,
  `unit_cost_rate` decimal(15,6) NOT NULL,
  `base_cost_rate` decimal(15,6) NOT NULL,
  `cost_updated` enum('Y','N') NOT NULL DEFAULT 'N',
  `alternate_id` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_cost_rate` decimal(15,6) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_invoice_item`
--

INSERT INTO `erp_invoice_item` (`id`, `invoice_id`, `quotes_item_id`, `order_item_id`, `product_id`, `description`, `product_generic_name`, `brand_class_id`, `quantity`, `picked_qty`, `unit_id`, `rate`, `amount`, `addition_percentage`, `addition_amount`, `deduction_percentage`, `deduction_amount`, `tax_vat_percentage`, `tax_vat_amount`, `net_amount`, `net_per_item`, `cost_rate`, `fin_account_id`, `unit_factor`, `unit_cost_rate`, `base_cost_rate`, `cost_updated`, `alternate_id`, `created_by`, `updated_cost_rate`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 40001, 11, 1, 2, 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', '15', 18, 2.00, 2.000, 2, 75.000000, 150.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 7.500000, 150.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-06 09:44:15', '0000-00-00 00:00:00'),
(2, 40001, 12, 2, 349, 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', '18', 28, 2.00, 2.000, 349, 130.000000, 260.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 13.000000, 260.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-06 09:44:15', '0000-00-00 00:00:00'),
(3, 40002, 45, 7, 2, 'GP Laminate SF (261) Dark Gray 4x8x0.8mm and 10 mm', '15', 18, 5.00, 5.000, 2, 75.000000, 375.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 18.750000, 375.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-06 15:08:16', '0000-00-00 00:00:00'),
(4, 40002, 46, 8, 302, 'Drum Package 2- Includes: D1822- D1012- D1616\r\n\r\n', '18', 28, 25.00, 25.000, 302, 125.000000, 3125.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 156.250000, 3125.000000, 0.000000, 15.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-06 15:08:16', '0000-00-00 00:00:00'),
(5, 40003, 146, 11, 1, 'Issue 2 Bag', '19', 24, 1.00, 1.000, 1, 15.000000, 15.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 0.750000, 15.000000, 0.000000, 10.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-09 12:57:37', '0000-00-00 00:00:00'),
(6, 40004, 148, 12, 1, 'Issue 2 Bag', '19', 24, 1.00, 1.000, 1, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 1.000000, 20.000000, 0.000000, 12.525253, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-09 13:00:37', '0000-00-00 00:00:00'),
(7, 40005, 155, 17, 1, 'Issue 2 Bag', '19', 24, 1.00, 1.000, 1, 19.000000, 19.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 0.950000, 19.000000, 0.000000, 12.525253, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-09 14:29:49', '0000-00-00 00:00:00'),
(8, 40006, 159, 19, 1, 'Issue 2 Bag', '19', 24, 10.00, 10.000, 1, 30.000000, 300.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 15.000000, 300.000000, 0.000000, 15.336003, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-09 15:07:59', '0000-00-00 00:00:00'),
(9, 40007, 170, 23, 449, 'iSeries 1914-8B with Custom Foam Insert for Atera X8', '14', 28, 1.00, 1.000, 449, 1500.000000, 1500.000000, '0', 0.000000, 5.000000, 75.000000, 5.00, 71.250000, 1425.000000, 0.000000, 455.650000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-22 11:09:45', '0000-00-00 00:00:00'),
(10, 40007, 171, 24, 667, 'Shipping Charges', '1', 20, 2.00, 2.000, 667, 10.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 1.000000, 20.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-22 11:09:45', '0000-00-00 00:00:00'),
(11, 40007, 172, 25, 666, 'Duty Charges', '1', 20, 3.00, 3.000, 666, 20.000000, 60.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 3.000000, 60.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-22 11:09:45', '0000-00-00 00:00:00'),
(12, 40008, 176, 26, 1, 'Issue 2 Bag', '19', 24, 1.00, 1.000, 1, 15.000000, 15.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 0.750000, 15.000000, 0.000000, 15.431686, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-22 11:57:49', '0000-00-00 00:00:00'),
(13, 40008, 177, 27, 667, 'Shipping Charges', '1', 20, 2.00, 2.000, 667, 25.000000, 50.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 2.500000, 50.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-22 11:57:49', '0000-00-00 00:00:00'),
(14, 40008, 178, 28, 666, 'Duty Charges', '1', 20, 3.00, 3.000, 666, 75.000000, 225.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 11.250000, 225.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-05-22 11:57:49', '0000-00-00 00:00:00'),
(15, 40009, 232, 42, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 10.000000, 10.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 0.800000, 10.000000, 0.000000, 394.600000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-01 17:24:42', '0000-00-00 00:00:00'),
(16, 40009, 233, 43, 349, 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', '18', 28, 1.00, 1.000, 349, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 1.600000, 20.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-01 17:24:42', '0000-00-00 00:00:00'),
(17, 40010, 232, 42, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 10.000000, 10.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 0.800000, 10.000000, 0.000000, 394.600000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-01 17:50:43', '0000-00-00 00:00:00'),
(18, 40010, 233, 43, 349, 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', '18', 28, 1.00, 1.000, 349, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 1.600000, 20.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-01 17:50:43', '0000-00-00 00:00:00'),
(19, 40011, 245, 49, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 10.00, 10.000, 245, 250.000000, 2500.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 200.000000, 2500.000000, 0.000000, 139.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-02 15:22:41', '0000-00-00 00:00:00'),
(20, 40012, 247, 50, 246, '9mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 6.00, 6.000, 246, 735.000000, 4410.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 352.800000, 4410.000000, 0.000000, 77.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-02 15:23:19', '0000-00-00 00:00:00'),
(21, 40013, 253, 52, 246, '9mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 3.00, 3.000, 246, 750.000000, 2250.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 180.000000, 2250.000000, 0.000000, 77.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-03 08:55:57', '0000-00-00 00:00:00'),
(22, 40014, 257, 53, 2, 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', '15', 18, 2.00, 2.000, 2, 60.000000, 120.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 9.600000, 120.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-03 09:26:08', '0000-00-00 00:00:00'),
(23, 40015, 279, 56, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 230.000000, 230.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 18.400000, 230.000000, 0.000000, 58.314286, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-03 15:30:00', '0000-00-00 00:00:00'),
(24, 40016, 279, 56, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 230.000000, 230.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 18.400000, 230.000000, 0.000000, 58.314286, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-03 15:30:09', '0000-00-00 00:00:00'),
(25, 40017, 277, 57, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 1.600000, 20.000000, 0.000000, 58.314286, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-04 08:43:23', '0000-00-00 00:00:00'),
(26, 40018, 277, 57, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 1.600000, 20.000000, 0.000000, 58.314286, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-04 08:47:17', '0000-00-00 00:00:00'),
(27, 40019, 285, 59, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 10.000000, 10.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 0.800000, 10.000000, 0.000000, 58.314286, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-04 16:38:51', '0000-00-00 00:00:00'),
(28, 40020, 291, 60, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 1.00, 1.000, 245, 7.000000, 7.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 0.560000, 7.000000, 0.000000, 139.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-05 11:10:07', '0000-00-00 00:00:00'),
(29, 40021, 292, 61, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 45.00, 45.000, 245, 65.000000, 2925.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 234.000000, 2925.000000, 0.000000, 139.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-05 11:10:42', '0000-00-00 00:00:00'),
(30, 40022, 293, 62, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 13.00, 13.000, 245, 45.000000, 585.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 46.800000, 585.000000, 0.000000, 139.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-05 11:10:49', '0000-00-00 00:00:00'),
(31, 40023, 294, 63, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 8.00, 8.000, 245, 28.000000, 224.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 17.920000, 224.000000, 0.000000, 139.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-05 11:10:54', '0000-00-00 00:00:00'),
(32, 40024, 295, 64, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 2.00, 2.000, 245, 27.000000, 54.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 4.320000, 54.000000, 0.000000, 139.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-05 11:10:58', '0000-00-00 00:00:00'),
(33, 40025, 311, 72, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 30.00, 30.000, 245, 35.000000, 1050.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 84.000000, 1050.000000, 0.000000, 139.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-05 13:36:11', '0000-00-00 00:00:00'),
(34, 40026, 313, 73, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 1.600000, 20.000000, 0.000000, 58.314286, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-09 10:35:30', '0000-00-00 00:00:00'),
(35, 40027, 308, 70, 668, 'Test Item A10001', '28', 31, 2.00, 2.000, 668, 30.000000, 60.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 4.800000, 60.000000, 0.000000, 58.314286, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-09 10:36:26', '0000-00-00 00:00:00'),
(36, 40027, 309, 71, 2, 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', '15', 18, 5.00, 5.000, 2, 20.000000, 100.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 8.000000, 100.000000, 0.000000, 23.630137, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-09 10:36:26', '0000-00-00 00:00:00'),
(37, 40028, 315, 74, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 1.600000, 20.000000, 0.000000, 58.314286, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-09 10:40:51', '0000-00-00 00:00:00'),
(38, 40029, 0, 77, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 1.600000, 20.000000, 0.000000, 29.721528, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-09 13:35:06', '0000-00-00 00:00:00'),
(39, 40030, 0, 77, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 8.00, 1.600000, 20.000000, 0.000000, 29.721528, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-09 13:36:49', '0000-00-00 00:00:00'),
(40, 40031, 364, 78, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 1.00, 1.000, 245, 15.000000, 15.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 0.750000, 15.000000, 0.000000, 83.770206, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-24 11:23:57', '0000-00-00 00:00:00'),
(41, 40031, 365, 79, 246, '9mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 1.00, 1.000, 246, 15.000000, 15.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 0.750000, 15.000000, 0.000000, 77.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-24 11:23:57', '0000-00-00 00:00:00'),
(42, 40032, 374, 84, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 5.00, 5.000, 245, 120.000000, 600.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 30.000000, 600.000000, 0.000000, 83.857733, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-26 10:01:14', '0000-00-00 00:00:00'),
(43, 40032, 375, 85, 246, '9mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 3.00, 3.000, 246, 150.000000, 450.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 22.500000, 450.000000, 0.000000, 77.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-26 10:01:14', '0000-00-00 00:00:00'),
(44, 40033, 157, 18, 1, 'Issue 2 Bag', '19', 24, 2.00, 2.000, 1, 20.000000, 40.000000, '0', 0.000000, 150.000000, 0.000000, 5.00, 2.000000, 40.000000, 0.000000, 15.431405, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-27 16:10:59', '0000-00-00 00:00:00'),
(45, 40034, 305, 69, 668, 'Test Item A10001', '28', 31, 5.00, 5.000, 668, 20.000000, 100.000000, '0', 0.000000, 100.000000, 0.000000, 5.00, 5.000000, 100.000000, 0.000000, 27.287481, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-27 16:12:51', '0000-00-00 00:00:00'),
(46, 40035, 415, 124, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 100.000000, 100.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 5.000000, 100.000000, 0.000000, 27.287481, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-30 08:07:06', '0000-00-00 00:00:00'),
(47, 40035, 416, 125, 1, 'Issue 2 Bag', '19', 24, 1.00, 1.000, 1, 50.000000, 50.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 2.500000, 50.000000, 0.000000, 15.431405, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-30 08:07:06', '0000-00-00 00:00:00'),
(48, 40036, 301, 66, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 10.000000, 10.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 0.500000, 10.000000, 0.000000, 27.287481, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-30 08:30:27', '0000-00-00 00:00:00'),
(49, 40037, 0, 0, 667, 'Shipping Charges', '1', 20, 5.00, 5.000, 667, 50.000000, 250.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 12.500000, 250.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 1, 0.000000, 0, '2025-06-30 08:41:28', '0000-00-00 00:00:00'),
(50, 40038, 0, 0, 666, 'Duty Charges', '1', 20, 2.00, 2.000, 666, 100.000000, 200.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 10.000000, 200.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 1, 0.000000, 0, '2025-06-30 08:42:04', '0000-00-00 00:00:00'),
(51, 40038, 0, 0, 667, 'Shipping Charges', '1', 20, 3.00, 3.000, 667, 50.000000, 150.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 7.500000, 150.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 1, 0.000000, 0, '2025-06-30 08:42:04', '0000-00-00 00:00:00'),
(52, 40039, 0, 0, 666, 'Duty Charges', '1', 20, 1.00, 1.000, 666, 300.000000, 300.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 15.000000, 300.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 8, 0.000000, 0, '2025-06-30 08:42:55', '0000-00-00 00:00:00'),
(53, 40040, 420, 130, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 8500.000000, 8500.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 425.000000, 8500.000000, 0.000000, 27.287481, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-30 08:51:58', '0000-00-00 00:00:00'),
(54, 40040, 421, 131, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 3.00, 3.000, 245, 45.000000, 135.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 6.750000, 135.000000, 0.000000, 78.156121, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-30 08:51:58', '0000-00-00 00:00:00'),
(55, 40041, 417, 126, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 2.00, 2.000, 245, 33.000000, 66.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 3.300000, 66.000000, 0.000000, 70.132781, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-30 10:52:31', '0000-00-00 00:00:00'),
(56, 40042, 431, 134, 668, 'Test Item A10001', '28', 31, 1.00, 1.000, 668, 20.000000, 20.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 1.000000, 20.000000, 0.000000, 27.287481, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-06-30 11:33:43', '0000-00-00 00:00:00'),
(57, 40043, 444, 137, 34, '2Leg Brace Ball Corner with 67mm / 2.64 Leg', '5', 21, 10.00, 10.000, 34, 25.000000, 250.000000, '0', 0.000000, 15.000000, 37.500000, 5.00, 8.750000, 212.500000, 0.000000, 5.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-07-01 12:14:53', '0000-00-00 00:00:00'),
(58, 40043, 445, 138, 36, 'Brace Ball Corner 81mm / 3.19', '5', 21, 20.00, 20.000, 36, 50.000000, 1000.000000, '0', 0.000000, 15.000000, 150.000000, 5.00, 35.000000, 850.000000, 0.000000, 12.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-07-01 12:14:53', '0000-00-00 00:00:00'),
(59, 40043, 446, 139, 668, 'Test Item A10001', '28', 31, 5.00, 5.000, 668, 10.000000, 50.000000, '0', 0.000000, 15.000000, 7.500000, 5.00, 1.750000, 42.500000, 0.000000, 26.842733, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-07-01 12:14:53', '0000-00-00 00:00:00'),
(60, 40044, 456, 143, 34, '2Leg Brace Ball Corner with 67mm / 2.64 Leg', '5', 21, 10.00, 10.000, 34, 25.000000, 250.000000, '0', 0.000000, 10.000000, 25.000000, 5.00, 11.250000, 225.000000, 0.000000, 5.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-07-01 13:54:09', '0000-00-00 00:00:00'),
(61, 40044, 457, 144, 36, 'Brace Ball Corner 81mm / 3.19', '5', 21, 20.00, 20.000, 36, 50.000000, 1000.000000, '0', 0.000000, 10.000000, 100.000000, 5.00, 45.000000, 900.000000, 0.000000, 12.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-07-01 13:54:09', '0000-00-00 00:00:00'),
(62, 40044, 458, 145, 668, 'Test Item A10001', '28', 31, 5.00, 5.000, 668, 10.000000, 50.000000, '0', 0.000000, 10.000000, 5.000000, 5.00, 2.250000, 45.000000, 0.000000, 26.840005, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-07-01 13:54:09', '0000-00-00 00:00:00'),
(63, 40045, 368, 118, 245, '18mm BB/BB Birch Ply [2400x1200mm]', '20', 27, 1.00, 1.000, 245, 25.000000, 25.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 1.250000, 25.000000, 0.000000, 70.132781, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-07-22 14:55:58', '0000-00-00 00:00:00'),
(64, 40046, 567, 146, 346, 'Controller Soft Case 19 x 13 x 3 (VMS4- Torq Xponent- Axiom 25)', '18', 28, 1.00, 1.000, 346, 1000.000000, 1000.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 50.000000, 1000.000000, 0.000000, 0.100000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-09-22 23:24:31', '0000-00-00 00:00:00'),
(65, 40047, 576, 149, 346, 'Controller Soft Case 19 x 13 x 3 (VMS4- Torq Xponent- Axiom 25)', '18', 28, 1.00, 1.000, 346, 1000.000000, 1000.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 50.000000, 1000.000000, 0.000000, 0.100000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-09-24 11:35:44', '0000-00-00 00:00:00'),
(66, 40048, 0, 157, 667, 'Shipping Charges', '1', 20, 2.00, 2.000, 667, 500.000000, 1000.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 50.000000, 1000.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-10-07 15:36:13', '0000-00-00 00:00:00'),
(67, 40048, 0, 158, 666, 'Duty Charges', '1', 20, 1.00, 1.000, 666, 500.000000, 500.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 25.000000, 500.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-10-07 15:36:13', '0000-00-00 00:00:00'),
(68, 40049, 583, 155, 667, 'Shipping Charges', '1', 20, 2.00, 2.000, 667, 500.000000, 1000.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 50.000000, 1000.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-10-07 15:40:23', '0000-00-00 00:00:00'),
(69, 40049, 584, 156, 666, 'Duty Charges', '1', 20, 1.00, 1.000, 666, 500.000000, 500.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 25.000000, 500.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-10-07 15:40:23', '0000-00-00 00:00:00'),
(70, 40050, 0, 173, 667, 'Shipping Charges', '1', 20, 1.00, 1.000, 667, 500.000000, 500.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 25.000000, 500.000000, 0.000000, 25.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-10-07 16:48:36', '0000-00-00 00:00:00'),
(71, 40050, 0, 174, 666, 'Duty Charges', '1', 20, 1.00, 1.000, 666, 500.000000, 500.000000, '0', 0.000000, 0.000000, 0.000000, 5.00, 25.000000, 500.000000, 0.000000, 0.000000, 0, 0.000000, 0.000000, 0.000000, 'N', '', 0, 0.000000, 0, '2025-10-07 16:48:36', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_kitchen`
--

CREATE TABLE `erp_kitchen` (
  `id` int(11) NOT NULL,
  `name` varchar(30) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_landing_cost`
--

CREATE TABLE `erp_landing_cost` (
  `id` int(11) NOT NULL,
  `parent_invoice_id` int(11) NOT NULL,
  `parent_invoice_item_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `service_invoice_id` int(11) NOT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `rate` decimal(15,2) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `currency` int(11) NOT NULL,
  `exchange_rate` decimal(15,2) NOT NULL,
  `service_amount_percentage` decimal(15,6) NOT NULL,
  `service_invoice_value` decimal(15,6) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_landing_cost`
--

INSERT INTO `erp_landing_cost` (`id`, `parent_invoice_id`, `parent_invoice_item_id`, `product_id`, `service_invoice_id`, `quantity`, `rate`, `amount`, `currency`, `exchange_rate`, `service_amount_percentage`, `service_invoice_value`, `created_by`, `created_date_time`) VALUES
(4, 70001, 2, 349, 70020, 100.00, 25.00, 2500.00, 1, 1.00, 50.000000, 0.375000, 1, '2025-06-26 21:27:50'),
(3, 70001, 1, 2, 70020, 100.00, 25.00, 2500.00, 1, 1.00, 50.000000, 0.375000, 1, '2025-06-26 21:27:50');

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

--
-- Table structure for table `erp_lead`
--

CREATE TABLE `erp_lead` (
  `id` bigint(20) NOT NULL,
  `crm_user_id` int(11) NOT NULL,
  `file_id` int(11) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `workspace_note_id` int(11) NOT NULL,
  `lead_owner_id` int(11) NOT NULL,
  `sales_group_id` int(11) NOT NULL,
  `currency` varchar(255) NOT NULL,
  `value` decimal(15,2) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `mobile` varchar(15) NOT NULL,
  `email` varchar(255) NOT NULL,
  `enq_date` date NOT NULL,
  `closing_date` date NOT NULL,
  `source_of_lead` int(11) NOT NULL COMMENT '1->Facebook,2->Social Media Marketing,3->News Paper,4->Word of Mouth',
  `title` varchar(255) NOT NULL,
  `remarks` text NOT NULL,
  `status` enum('Y','N','F','S','M','C','O','L') NOT NULL,
  `lead_status` enum('H','M','L') NOT NULL DEFAULT 'L',
  `lead_notification` varchar(500) DEFAULT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `lead_type` enum('sale','service') NOT NULL DEFAULT 'sale',
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `created_datetime` datetime DEFAULT NULL,
  `updated_datetime` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_lead`
--

INSERT INTO `erp_lead` (`id`, `crm_user_id`, `file_id`, `customer_id`, `workspace_note_id`, `lead_owner_id`, `sales_group_id`, `currency`, `value`, `contact_id`, `mobile`, `email`, `enq_date`, `closing_date`, `source_of_lead`, `title`, `remarks`, `status`, `lead_status`, `lead_notification`, `isActive`, `lead_type`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1001, 8, 10001, 1001, 0, 8, 1, '', 0.00, 1, '04', '', '2025-05-06', '2025-05-13', 0, '', 'Test', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-06 08:03:16', NULL),
(1002, 8, 10002, 1001, 0, 8, 1, '', 0.00, 1, '', '', '2025-05-06', '2025-05-13', 1, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-06 08:09:48', NULL),
(1003, 8, 10006, 1030, 0, 8, 1, '', 0.00, 30, '', '', '2025-05-06', '2025-05-13', 0, '', 'Test 01', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-06 02:46:39', NULL),
(1004, 8, 10015, 1019, 19, 8, 1, '', 0.00, 19, '9089', 'test@gmail.com', '2025-06-10', '2025-06-17', 0, '', '1004', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-07 11:10:46', NULL),
(1005, 8, 10025, 1043, 20, 7, 1, '23', 0.00, 43, '', '', '2025-06-10', '2525-05-16', 1, '', '1005', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-09 05:34:26', NULL),
(1006, 8, 10026, 1003, 0, 8, 1, '', 0.00, 3, '', '', '2025-05-12', '2025-05-19', 2, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-12 10:16:21', NULL),
(1007, 8, 10045, 1001, 16, 8, 1, '23', 10.00, 1, '', '', '2025-06-10', '2525-04-17', 0, '', '1007', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-29 06:12:41', NULL),
(1008, 8, 10047, 1019, 7, 8, 5, '23', 10.00, 19, '', '', '2025-06-10', '2525-06-06', 0, '', '1008', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-30 12:34:34', NULL),
(1009, 8, 10048, 1019, 6, 8, 3, '23', 0.00, 19, '', '', '2025-06-10', '2525-06-06', 0, '', '1009', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-05-30 12:35:56', NULL),
(1010, 8, 10049, 1088, 0, 8, 3, '', 0.00, 93, '986598659', 'lead2gmail.com', '2025-06-01', '2025-06-08', 1, 'file title lead', 'lead remarks', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-01 11:00:41', NULL),
(1011, 8, 10050, 1088, 0, 8, 1, '', 0.00, 93, '986598659', 'test@gmail.com', '2025-06-01', '2025-06-08', 1, 'file title lead', 'remk', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-01 11:43:40', NULL),
(1012, 8, 10051, 1089, 0, 8, 4, '', 0.00, 94, '', '', '2025-06-01', '2025-06-08', 0, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-01 12:06:00', NULL),
(1013, 8, 10052, 1089, 0, 8, 5, '', 0.00, 94, '', '', '2025-06-01', '2025-06-08', 0, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-01 01:33:46', NULL),
(1014, 8, 10053, 1089, 0, 8, 5, '', 0.00, 94, '', '', '2025-06-01', '2025-06-08', 0, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-01 01:43:07', NULL),
(1015, 8, 10056, 1089, 0, 8, 5, '', 0.00, 94, '', '', '2025-06-01', '2025-06-08', 0, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-01 02:25:58', NULL),
(1016, 8, 10089, 1094, 0, 8, 5, '', 0.00, 101, '', '', '2025-06-05', '2025-06-12', 0, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-05 12:18:51', NULL),
(1017, 8, 10102, 1089, 1, 8, 5, '23', 10.00, 94, '', '', '2025-06-09', '2025-06-16', 0, '', '1017', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-09 01:01:34', NULL),
(1020, 1, 10116, 1001, 14, 8, 2, '23', 0.00, 0, '', '', '2025-06-10', '0001-11-30', 0, '', '1020', 'O', 'L', NULL, 'Y', 'sale', 1, NULL, '2025-06-09 05:24:18', NULL),
(1021, 1, 10117, 1002, 8, 8, 4, '', 0.00, 2, '', '', '2025-06-10', '2025-06-17', 0, '', 'Testing Bill of material', 'O', 'L', NULL, 'Y', 'sale', 1, NULL, '2025-06-10 10:06:35', NULL),
(1022, 1, 10118, 1002, 9, 8, 2, '', 0.00, 2, '', '', '2025-06-11', '2025-06-18', 0, '', 'Testing', 'O', 'L', NULL, 'Y', 'sale', 1, NULL, '2025-06-10 10:08:21', NULL),
(1023, 1, 10119, 1002, 10, 8, 2, '', 0.00, 2, '', '', '2025-06-11', '2025-06-18', 0, '', 'TEst', 'O', 'L', NULL, 'Y', 'sale', 1, NULL, '2025-06-10 12:08:37', NULL),
(1024, 8, 10122, 1096, 0, 4, 1, '', 0.00, 103, '', '', '2025-06-24', '2025-07-01', 0, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-24 11:22:08', NULL),
(1025, 8, 10123, 1019, 0, 4, 1, '', 0.00, 19, '', '', '2025-06-24', '2025-07-01', 0, '', '', 'O', 'L', NULL, 'Y', 'sale', 8, NULL, '2025-06-24 12:00:02', NULL),
(1026, 1, 10127, 1086, 0, 4, 1, '', 0.00, 86, '', '', '2025-06-26', '2025-07-03', 1, '', '', 'O', 'L', NULL, 'Y', 'sale', 1, NULL, '2025-06-26 09:51:31', NULL),
(1027, 1, 10152, 1099, 0, 4, 1, '', 0.00, 106, '34234', '', '2025-08-28', '2025-09-04', 0, '', 'Test', 'O', 'L', NULL, 'Y', 'sale', 1, NULL, '2025-08-28 08:57:34', NULL),
(1028, 1, 10153, 1100, 0, 13, 0, '', 0.00, 107, '344335', 'test@gmail.com', '2025-09-22', '2025-09-29', 0, '', '', 'O', 'L', NULL, 'Y', 'sale', 1, NULL, '2025-09-22 03:52:38', NULL),
(1029, 1, 10161, 1099, 0, 5, 4, '', 0.00, 106, '344335', 'athulyatest@gmail.com', '2025-10-06', '2025-10-13', 1, 'Test Title 1', 'Testing services', 'O', 'L', NULL, 'Y', 'service', 1, NULL, '2025-10-06 03:15:26', NULL),
(1030, 1, 10162, 1099, 0, 4, 1, '', 0.00, 106, '7283472934', 'athulyatest@gmail.com', '2025-10-06', '2025-10-13', 3, 'Lead 1', 'Test servuce leads', 'O', 'L', NULL, 'Y', 'service', 1, NULL, '2025-10-06 03:24:11', NULL);

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

--
-- Table structure for table `erp_lead_rfq`
--

CREATE TABLE `erp_lead_rfq` (
  `id` int(11) NOT NULL,
  `lead_id` int(11) NOT NULL,
  `rfq_no` varchar(50) NOT NULL,
  `rfq_date` date NOT NULL,
  `rfq_poc` varchar(50) NOT NULL,
  `quantity` int(11) NOT NULL,
  `rfq_notes` varchar(500) NOT NULL,
  `eqp_name` varchar(200) NOT NULL,
  `eqp_dimension` varchar(100) NOT NULL,
  `eqp_sheet` enum('Y','N') NOT NULL,
  `eqp_availability` enum('Y','N') NOT NULL,
  `av_dates` varchar(100) NOT NULL,
  `rear_lid` varchar(100) NOT NULL,
  `u_size` varchar(100) NOT NULL,
  `front_lid` varchar(100) NOT NULL,
  `depth` varchar(100) NOT NULL,
  `lr_standard` varchar(100) NOT NULL,
  `category_type1` varchar(100) NOT NULL,
  `category_type2` varchar(100) NOT NULL,
  `category_type3` varchar(100) NOT NULL,
  `category_type4` varchar(100) NOT NULL,
  `category_type5` varchar(100) NOT NULL,
  `category_type6` varchar(100) NOT NULL,
  `category_type7` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `fc_type1` varchar(100) NOT NULL,
  `fc_type2` varchar(100) NOT NULL,
  `fc_type3` varchar(100) NOT NULL,
  `fc_type4` varchar(100) NOT NULL,
  `fc_type5` varchar(100) NOT NULL,
  `fc_type6` varchar(100) NOT NULL,
  `fc_type7` varchar(100) NOT NULL,
  `fc_type8` varchar(100) NOT NULL,
  `cr_type1` varchar(100) NOT NULL,
  `cr_type2` varchar(100) NOT NULL,
  `cr_type3` varchar(100) NOT NULL,
  `cr_type4` varchar(100) NOT NULL,
  `cr_type5` varchar(100) NOT NULL,
  `cr_type6` varchar(100) NOT NULL,
  `cr_type7` varchar(100) NOT NULL,
  `cr_type8` varchar(100) NOT NULL,
  `skb_type1` varchar(100) NOT NULL,
  `skb_type2` varchar(100) NOT NULL,
  `skb_type3` varchar(100) NOT NULL,
  `skb_type4` varchar(100) NOT NULL,
  `skb_moq` varchar(100) NOT NULL,
  `skb_type5` varchar(100) NOT NULL,
  `skb_type6` varchar(100) NOT NULL,
  `skb_model` varchar(100) NOT NULL,
  `fm_type1` varchar(100) NOT NULL,
  `fm_type2` varchar(100) NOT NULL,
  `fm_type3` varchar(100) NOT NULL,
  `fm_type4` varchar(100) NOT NULL,
  `fm_type5` varchar(100) NOT NULL,
  `fm_type6` varchar(100) NOT NULL,
  `ml_type1` varchar(100) NOT NULL,
  `ml_type2` varchar(100) NOT NULL,
  `ml_type3` varchar(100) NOT NULL,
  `ml_type4` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_lead_rfq`
--

INSERT INTO `erp_lead_rfq` (`id`, `lead_id`, `rfq_no`, `rfq_date`, `rfq_poc`, `quantity`, `rfq_notes`, `eqp_name`, `eqp_dimension`, `eqp_sheet`, `eqp_availability`, `av_dates`, `rear_lid`, `u_size`, `front_lid`, `depth`, `lr_standard`, `category_type1`, `category_type2`, `category_type3`, `category_type4`, `category_type5`, `category_type6`, `category_type7`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `fc_type1`, `fc_type2`, `fc_type3`, `fc_type4`, `fc_type5`, `fc_type6`, `fc_type7`, `fc_type8`, `cr_type1`, `cr_type2`, `cr_type3`, `cr_type4`, `cr_type5`, `cr_type6`, `cr_type7`, `cr_type8`, `skb_type1`, `skb_type2`, `skb_type3`, `skb_type4`, `skb_moq`, `skb_type5`, `skb_type6`, `skb_model`, `fm_type1`, `fm_type2`, `fm_type3`, `fm_type4`, `fm_type5`, `fm_type6`, `ml_type1`, `ml_type2`, `ml_type3`, `ml_type4`) VALUES
(1, 1004, '123', '2025-05-08', '', 0, '', 'eq1', '', 'Y', 'Y', '', '', '10', '', '100', '', '1,2', '5', '12', '3', '13', '64,65', '15', 8, '2025-05-08 09:41:15', 0, '0000-00-00 00:00:00', '3', '10', '13,14', '18', '22', '27', '31', '', '37', '42', '56', '52', '50', '45', '104', '', '57,58', '63', '67', '71', '123', '75', '', 'AB', '78', '80,82', '85', '86', '89', '91', '94,95', '110', '112', '116'),
(2, 1005, '', '2025-05-15', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(3, 1006, '', '2025-05-12', '', 1, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '3i-1914-8B-E', '', '', '', '', '', '', '', '', '', ''),
(4, 1007, '', '2025-05-30', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(5, 1008, '', '2025-05-30', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(6, 1009, '', '2025-05-30', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(7, 1010, '', '2025-06-01', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(8, 1011, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(9, 1012, '', '2025-06-01', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(10, 1013, '', '2025-06-01', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(11, 1014, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(12, 1015, '', '2025-06-01', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(13, 1016, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(14, 1017, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(15, 1024, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(16, 1025, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(17, 1026, '', '2025-06-26', '1', 1, '', '1', '1', 'Y', 'Y', '', '1', '1', '1', '1', '1', '1', '6', '10', '3', '13', '64', '15', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(18, 1023, '', '2025-06-26', '', 0, '', 'Test', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 8, '2025-06-26 10:50:33', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(19, 1021, '', '2025-06-26', '', 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 8, '2025-06-26 12:55:27', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(20, 1022, 'RFQ1', '2025-06-26', '12345', 20, '', 'Test0123', '10', '', '', '', '12', '2', '36', '', '12', '1,2', '6', '11', '4', '14', '66', '16', 8, '2025-06-26 12:55:40', 8, '2025-06-30 08:23:35', '1', '9', '13', '19', '', '29', '', '', '38', '42', '56', '52', '50', '44', '105', '', '58', '63', '67', '73', '', '75', '', '', '77', '80', '85', '86', '90', '92', '94', '108', '112', '116'),
(21, 1027, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(22, 1028, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(23, 1028, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(24, 1029, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(25, 1030, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''),
(26, 1029, '', '0000-00-00', '', 0, '', '', '', 'Y', 'Y', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');

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

--
-- Table structure for table `erp_mail_events`
--

CREATE TABLE `erp_mail_events` (
  `id` int(11) NOT NULL,
  `event_name` varchar(500) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_master_cloth_type`
--

CREATE TABLE `erp_master_cloth_type` (
  `id` int(11) NOT NULL,
  `type_name` varchar(255) NOT NULL,
  `rate` decimal(10,2) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_master_file`
--

CREATE TABLE `erp_master_file` (
  `id` bigint(20) NOT NULL,
  `crm_user_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `file_title` varchar(255) NOT NULL,
  `ticket_id` int(11) NOT NULL,
  `start_from` enum('L','Q','O','P_R','P_E','P_O','M_R','B_M','PR_O','I_GI','I_GR','DI','I') NOT NULL COMMENT 'from where the file created',
  `current_process_status` enum('L','Q','O','PD','D','PI','I','P_R','P_E','P_O','M_R','Q_C','P_PI','P_I','P_C','C','B_M','PR_O','G_I','G_R','I_GI','I_GR') NOT NULL COMMENT 'current status of the file, it may lead,quotation,order,delivery,invoice etc.,',
  `lead_owner_id` int(11) NOT NULL,
  `is_approved` enum('Y','N') NOT NULL DEFAULT 'N',
  `approved_by` bigint(20) DEFAULT NULL,
  `date_of_approval` date DEFAULT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `created_datetime` datetime DEFAULT NULL,
  `updated_datetime` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_master_file`
--

INSERT INTO `erp_master_file` (`id`, `crm_user_id`, `customer_id`, `file_title`, `ticket_id`, `start_from`, `current_process_status`, `lead_owner_id`, `is_approved`, `approved_by`, `date_of_approval`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(10001, 8, 1001, '', 0, 'L', 'I', 8, 'Y', 8, '2025-05-06', 'Y', 8, 0, '2025-05-06 08:03:16', '2025-05-06 09:44:00'),
(10002, 8, 1001, '', 0, 'L', 'Q', 8, 'N', 8, '2025-05-07', 'Y', 8, NULL, '2025-05-06 08:09:48', NULL),
(10003, 8, 1069, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-05-06', 'Y', NULL, NULL, NULL, NULL),
(10004, 8, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-05-06', 'Y', NULL, NULL, NULL, NULL),
(10005, 8, 1028, '', 0, 'Q', 'O', 8, 'Y', 1, '2025-05-06', 'Y', NULL, NULL, NULL, NULL),
(10006, 8, 1030, '', 0, 'L', 'I', 8, 'Y', 8, '2025-05-06', 'Y', 8, 0, '2025-05-06 02:46:39', '2025-05-06 15:08:00'),
(10007, 8, 1020, '', 0, 'Q', 'D', 8, 'Y', 1, '2025-05-09', 'Y', NULL, NULL, NULL, NULL),
(10008, 8, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-05-06', 'Y', NULL, NULL, NULL, NULL),
(10009, 8, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-05-06', 'Y', NULL, NULL, NULL, NULL),
(10010, 8, 0, '', 0, 'P_R', 'P_R', 0, 'Y', 8, '2025-05-07', 'Y', NULL, NULL, NULL, NULL),
(10015, 8, 1019, '', 0, 'L', 'L', 8, 'N', NULL, NULL, 'Y', 8, NULL, '2025-05-07 11:10:46', NULL),
(10016, 1, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-05-09', 'Y', NULL, NULL, NULL, NULL),
(10017, 1, 1007, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-05-09', 'Y', NULL, 0, NULL, '2025-05-09 12:57:00'),
(10018, 1, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-05-09', 'Y', NULL, NULL, NULL, NULL),
(10019, 1, 1007, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-05-09', 'Y', NULL, 0, NULL, '2025-05-09 13:00:00'),
(10020, 1, 1070, '', 0, 'Q', 'D', 8, 'Y', 1, '2025-05-09', 'Y', NULL, NULL, NULL, NULL),
(10021, 1, 1004, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-05-09', 'Y', NULL, 0, NULL, '2025-05-09 14:29:00'),
(10022, 1, 1007, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-05-09', 'Y', NULL, 0, NULL, '2025-06-27 16:10:00'),
(10023, 1, 2002, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-05-09', 'Y', NULL, NULL, NULL, NULL),
(10024, 1, 1004, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-05-09', 'Y', NULL, 0, NULL, '2025-05-09 15:07:00'),
(10025, 8, 1043, '', 0, 'L', 'L', 7, 'N', NULL, NULL, 'Y', 8, NULL, '2025-05-09 05:34:26', NULL),
(10026, 8, 1003, '', 0, 'L', 'I', 8, 'Y', 8, '2025-05-22', 'Y', 8, 0, '2025-05-12 10:16:21', '2025-05-22 11:09:00'),
(10027, 8, 0, '', 0, 'P_R', 'P_R', 0, 'Y', 8, '2025-05-16', 'Y', NULL, NULL, NULL, NULL),
(10028, 8, 2038, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-05-19', 'Y', NULL, NULL, NULL, NULL),
(10029, 8, 0, '', 0, 'P_R', 'P_R', 0, 'Y', 8, '2025-05-19', 'Y', NULL, NULL, NULL, NULL),
(10030, 8, 2062, '', 0, 'P_O', 'P_O', 0, 'N', 0, '0000-00-00', 'Y', NULL, NULL, NULL, NULL),
(10031, 8, 0, '', 0, 'P_R', 'P_R', 0, 'Y', 8, '2025-05-19', 'Y', NULL, NULL, NULL, NULL),
(10032, 8, 0, '', 0, 'P_R', 'P_R', 0, 'N', 8, '2025-05-19', 'Y', NULL, NULL, NULL, NULL),
(10033, 8, 2062, '', 0, 'P_O', 'M_R', 0, 'Y', 1, '2025-09-29', 'Y', NULL, NULL, NULL, NULL),
(10034, 8, 2062, '', 0, 'P_O', 'P_O', 0, 'N', 0, '0000-00-00', 'Y', NULL, NULL, NULL, NULL),
(10035, 8, 0, '', 0, 'P_R', 'P_R', 0, 'N', 8, '2025-05-19', 'Y', NULL, NULL, NULL, NULL),
(10036, 8, 2004, '', 0, 'P_O', 'Q_C', 0, 'Y', 8, '2025-05-20', 'Y', NULL, NULL, NULL, NULL),
(10037, 8, 1070, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-05-20', 'Y', NULL, NULL, NULL, NULL),
(10038, 8, 2003, '', 0, 'P_O', 'Q_C', 0, 'Y', 8, '2025-05-20', 'Y', NULL, NULL, NULL, NULL),
(10039, 1, 2002, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-05-20', 'Y', NULL, NULL, NULL, NULL),
(10040, 8, 1021, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-05-21', 'Y', NULL, NULL, NULL, NULL),
(10041, 8, 2004, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-05-21', 'Y', NULL, NULL, NULL, NULL),
(10042, 1, 2001, '', 0, 'P_O', 'P_O', 0, 'Y', 1, '2025-10-04', 'Y', NULL, NULL, NULL, NULL),
(10043, 8, 2019, '', 0, 'P_O', 'Q_C', 0, 'Y', 1, '2025-07-22', 'Y', NULL, NULL, NULL, NULL),
(10044, 8, 1007, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-05-22', 'Y', NULL, 0, NULL, '2025-05-22 11:57:00'),
(10045, 8, 1001, '', 0, 'L', 'L', 8, 'N', NULL, NULL, 'Y', 8, NULL, '2025-05-29 06:12:41', NULL),
(10046, 8, 1019, '', 0, 'Q', 'Q', 8, 'Y', 8, '2025-06-01', 'Y', NULL, NULL, NULL, NULL),
(10047, 8, 1019, '', 0, 'L', 'L', 8, 'N', NULL, NULL, 'Y', 8, NULL, '2025-05-30 12:34:34', NULL),
(10048, 8, 1019, '', 0, 'L', 'L', 8, 'N', NULL, NULL, 'Y', 8, NULL, '2025-05-30 12:35:56', NULL),
(10049, 8, 1088, 'file title lead', 0, 'L', 'Q', 8, 'N', 8, '2025-06-01', 'Y', 8, NULL, '2025-06-01 11:00:41', NULL),
(10050, 8, 1088, '', 0, 'L', 'D', 8, 'Y', 8, '2025-06-01', 'Y', 8, NULL, '2025-06-01 11:43:40', NULL),
(10051, 8, 1088, '', 0, 'L', 'I', 8, 'Y', 8, '2025-06-04', 'Y', 8, 0, '2025-06-01 12:06:00', '2025-06-04 16:38:00'),
(10052, 8, 1089, '', 0, 'L', 'D', 8, 'Y', 8, '2025-06-01', 'Y', 8, NULL, '2025-06-01 01:33:46', NULL),
(10053, 8, 1089, '', 0, 'L', 'D', 8, 'Y', 8, '2025-06-01', 'Y', 8, NULL, '2025-06-01 01:43:07', NULL),
(10054, 8, 1089, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-01', 'Y', NULL, NULL, NULL, NULL),
(10055, 8, 1089, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-01', 'Y', NULL, NULL, NULL, NULL),
(10056, 8, 1089, '', 0, 'L', 'D', 8, 'Y', 8, '2025-06-01', 'Y', 8, NULL, '2025-06-01 02:25:58', NULL),
(10057, 8, 1089, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-01', 'Y', NULL, NULL, NULL, NULL),
(10058, 8, 1089, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-01', 'Y', NULL, NULL, NULL, NULL),
(10059, 8, 1089, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-01', 'Y', NULL, NULL, NULL, NULL),
(10060, 8, 1089, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-01', 'Y', NULL, 0, NULL, '2025-06-01 17:50:00'),
(10061, 8, 2101, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-06-01', 'Y', NULL, NULL, NULL, NULL),
(10062, 8, 1001, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-02', 'Y', NULL, 0, NULL, '2025-06-02 15:22:00'),
(10063, 8, 1001, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-02', 'Y', NULL, NULL, NULL, NULL),
(10064, 8, 1001, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-02', 'Y', NULL, 0, NULL, '2025-06-02 15:23:00'),
(10065, 8, 1019, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-02', 'Y', NULL, NULL, NULL, NULL),
(10066, 8, 1001, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-03', 'Y', NULL, 0, NULL, '2025-06-03 08:55:00'),
(10067, 8, 1002, '', 0, 'Q', 'Q', 8, 'N', 1, '2025-06-03', 'Y', NULL, NULL, NULL, NULL),
(10068, 8, 1001, '', 0, 'Q', 'Q', 8, 'N', 1, '2025-06-03', 'Y', NULL, NULL, NULL, NULL),
(10069, 1, 1001, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-03', 'Y', NULL, 0, NULL, '2025-06-03 09:26:00'),
(10070, 8, 1001, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-03', 'Y', NULL, 0, NULL, '2025-06-04 08:47:00'),
(10071, 8, 1001, '', 0, 'Q', 'Q', 8, 'N', 1, '2025-06-03', 'Y', NULL, NULL, NULL, NULL),
(10072, 8, 1001, '', 0, 'Q', 'Q', 8, 'N', 1, '2025-06-03', 'Y', NULL, NULL, NULL, NULL),
(10073, 8, 1001, '', 0, 'Q', 'Q', 8, 'N', 8, '2025-06-03', 'Y', NULL, NULL, NULL, NULL),
(10074, 8, 1001, '', 0, 'Q', 'Q', 8, 'N', 1, '2025-06-03', 'Y', NULL, NULL, NULL, NULL),
(10075, 8, 1001, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-03', 'Y', NULL, NULL, NULL, NULL),
(10076, 8, 1001, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-03', 'Y', NULL, 0, NULL, '2025-06-03 15:30:00'),
(10077, 8, 2102, '', 0, 'P_O', 'M_R', 0, 'Y', 8, '2025-06-27', 'Y', NULL, NULL, NULL, NULL),
(10078, 1, 2001, '', 0, 'P_O', 'Q_C', 0, 'Y', 1, '2025-06-03', 'Y', NULL, NULL, NULL, NULL),
(10079, 1, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-06-04', 'Y', NULL, NULL, NULL, NULL),
(10080, 1, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-06-04', 'Y', NULL, NULL, NULL, NULL),
(10081, 8, 1089, '', 0, 'Q', 'Q', 8, 'N', 8, '2025-06-04', 'Y', NULL, NULL, NULL, NULL),
(10082, 8, 0, '', 0, 'P_R', 'P_R', 0, 'N', 8, '2025-06-05', 'Y', NULL, NULL, NULL, NULL),
(10083, 8, 2001, '', 0, 'P_O', 'P_O', 0, 'N', 0, '0000-00-00', 'Y', NULL, NULL, NULL, NULL),
(10084, 1, 1002, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-05', 'Y', NULL, 0, NULL, '2025-06-05 11:10:00'),
(10085, 1, 1017, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-05', 'Y', NULL, 0, NULL, '2025-06-05 11:10:00'),
(10086, 1, 1030, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-05', 'Y', NULL, 0, NULL, '2025-06-05 11:10:00'),
(10087, 1, 1070, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-05', 'Y', NULL, 0, NULL, '2025-06-05 11:10:00'),
(10088, 1, 1078, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-05', 'Y', NULL, 0, NULL, '2025-06-05 11:10:00'),
(10089, 8, 1094, '', 0, 'L', 'I', 8, 'Y', 8, '2025-06-05', 'Y', 8, 0, '2025-06-05 12:18:51', '2025-06-30 08:30:00'),
(10090, 8, 1094, '', 0, 'Q', 'D', 8, 'Y', 8, '2025-06-05', 'Y', NULL, NULL, NULL, NULL),
(10091, 8, 1094, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-05', 'Y', NULL, 0, NULL, '2025-06-27 16:12:00'),
(10092, 8, 1094, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-05', 'Y', NULL, 0, NULL, '2025-06-09 10:36:00'),
(10093, 1, 1001, '', 0, 'Q', 'I', 8, 'Y', 1, '2025-06-05', 'Y', NULL, 0, NULL, '2025-06-05 13:36:00'),
(10094, 8, 0, '', 0, 'P_R', 'P_R', 0, 'Y', 8, '2025-06-05', 'Y', NULL, NULL, NULL, NULL),
(10095, 8, 2104, '', 0, 'P_O', 'Q_C', 0, 'Y', 1, '2025-06-05', 'Y', NULL, NULL, NULL, NULL),
(10096, 8, 2104, '', 0, 'P_O', 'Q_C', 0, 'Y', 1, '2025-06-05', 'Y', NULL, NULL, NULL, NULL),
(10097, 1, 2004, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-06-09', 'Y', NULL, NULL, NULL, NULL),
(10098, 1, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-06-09', 'Y', NULL, NULL, NULL, NULL),
(10099, 8, 1089, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-09', 'Y', NULL, 0, NULL, '2025-06-09 10:35:00'),
(10100, 8, 1089, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-09', 'Y', NULL, 0, NULL, '2025-06-09 10:40:00'),
(10101, 8, 2100, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-06-09', 'Y', NULL, NULL, NULL, NULL),
(10102, 8, 1089, '', 0, 'L', 'Q', 8, 'N', 8, '2025-06-09', 'Y', 8, NULL, '2025-06-09 01:01:34', NULL),
(10103, 8, 1089, '', 0, 'Q', 'Q', 8, 'Y', 8, '2025-06-27', 'Y', NULL, NULL, NULL, NULL),
(10104, 8, 1089, '', 0, 'Q', 'Q', 8, 'N', 8, '2025-06-09', 'Y', NULL, NULL, NULL, NULL),
(10105, 1, 1089, '', 0, 'Q', 'Q', 8, 'N', 1, '2025-06-09', 'Y', NULL, NULL, NULL, NULL),
(10106, 1, 1089, '', 0, 'Q', 'D', 8, 'Y', 1, '2025-06-30', 'Y', NULL, NULL, NULL, NULL),
(10107, 1, 1089, '', 0, 'Q', 'I', 8, 'Y', 8, '2025-06-30', 'Y', NULL, 0, NULL, '2025-06-30 11:33:00'),
(10108, 1, 1089, '', 0, 'Q', 'D', 8, 'Y', 1, '2025-06-09', 'Y', NULL, NULL, NULL, NULL),
(10109, 1, 1089, '', 0, 'O', 'I', 0, 'Y', 1, '2025-06-09', 'Y', NULL, 0, NULL, '2025-06-09 13:36:00'),
(10110, 8, 2100, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-06-09', 'Y', NULL, NULL, NULL, NULL),
(10111, 8, 0, '', 0, 'P_R', 'P_R', 0, 'Y', 1, '2025-06-26', 'Y', NULL, NULL, NULL, NULL),
(10112, 1, 2100, '', 0, 'P_O', 'P_O', 0, 'Y', 1, '2025-06-09', 'Y', NULL, NULL, NULL, NULL),
(10113, 1, 3081, '', 0, 'L', 'L', 0, 'N', NULL, NULL, 'Y', NULL, NULL, NULL, NULL),
(10114, 1, 1001, '', 0, 'L', 'L', 0, 'N', NULL, NULL, 'Y', NULL, NULL, NULL, NULL),
(10115, 1, 1001, '', 0, 'L', 'L', 0, 'N', NULL, NULL, 'Y', NULL, NULL, NULL, NULL),
(10116, 1, 1001, '', 0, 'L', 'Q', 0, 'Y', 1, '2025-07-23', 'Y', NULL, NULL, NULL, NULL),
(10117, 1, 1002, '', 0, 'L', 'L', 0, 'N', NULL, NULL, 'Y', NULL, NULL, NULL, NULL),
(10118, 1, 1002, '', 0, 'L', 'L', 0, 'N', NULL, NULL, 'Y', NULL, NULL, NULL, NULL),
(10119, 1, 1002, '', 0, 'L', 'L', 0, 'N', NULL, NULL, 'Y', NULL, NULL, NULL, NULL),
(10120, 8, 1002, '', 0, 'Q', 'PD', 8, 'Y', 1, '2025-06-13', 'Y', NULL, NULL, NULL, NULL),
(10121, 1, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-06-24', 'Y', NULL, NULL, NULL, NULL),
(10122, 8, 1096, '', 0, 'L', 'I', 4, 'Y', 8, '2025-06-24', 'Y', 8, 0, '2025-06-24 11:22:08', '2025-06-24 11:23:00'),
(10123, 8, 1019, '', 0, 'L', 'I', 4, 'Y', 8, '2025-06-24', 'Y', 8, 0, '2025-06-24 12:00:02', '2025-07-22 14:55:00'),
(10124, 8, 1096, '', 0, 'Q', 'I', 4, 'Y', 1, '2025-06-27', 'Y', NULL, 0, NULL, '2025-06-30 10:52:00'),
(10125, 8, 0, '', 0, 'P_R', 'P_R', 0, 'N', 8, '2025-06-24', 'Y', NULL, NULL, NULL, NULL),
(10126, 8, 2005, '', 0, 'P_O', 'Q_C', 0, 'Y', 8, '2025-06-24', 'Y', NULL, NULL, NULL, NULL),
(10127, 1, 1086, '', 0, 'L', 'I', 4, 'Y', 1, '2025-06-26', 'Y', 1, 0, '2025-06-26 09:51:31', '2025-06-26 10:01:00'),
(10128, 8, 0, '', 0, '', '', 0, 'N', 0, '0000-00-00', 'Y', NULL, NULL, NULL, NULL),
(10129, 1, 0, '', 0, 'P_R', 'P_R', 0, 'Y', 1, '2025-06-26', 'Y', NULL, NULL, NULL, NULL),
(10130, 1, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-06-26', 'Y', NULL, NULL, NULL, NULL),
(10131, 1, 2001, '', 0, '', 'P_I', 0, 'Y', 1, '2025-06-26', 'Y', NULL, NULL, NULL, NULL),
(10132, 8, 0, '', 0, '', '', 0, 'N', 0, '2025-06-27', 'Y', NULL, NULL, NULL, NULL),
(10133, 8, 2014, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-06-27', 'Y', NULL, NULL, NULL, NULL),
(10134, 8, 1001, '', 0, 'Q', 'D', 4, 'Y', 8, '2025-06-27', 'Y', NULL, NULL, NULL, NULL),
(10135, 8, 2002, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-06-27', 'Y', NULL, NULL, NULL, NULL),
(10136, 8, 1089, '', 0, 'Q', 'I', 4, 'Y', 8, '2025-06-27', 'Y', NULL, 0, NULL, '2025-06-30 08:07:00'),
(10137, 1, 0, '', 0, '', '', 0, 'N', 0, '2025-06-27', 'Y', NULL, NULL, NULL, NULL),
(10138, 8, 1007, '', 0, 'Q', 'I', 4, 'Y', 8, '2025-06-30', 'Y', NULL, 0, NULL, '2025-06-30 08:51:00'),
(10139, 8, 0, '', 0, 'P_R', 'P_R', 0, 'Y', 8, '2025-06-30', 'Y', NULL, NULL, NULL, NULL),
(10140, 8, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 8, '2025-06-30', 'Y', NULL, NULL, NULL, NULL),
(10141, 8, 0, '', 0, '', '', 0, 'N', 0, '2025-06-30', 'Y', NULL, NULL, NULL, NULL),
(10142, 8, 2003, '', 0, 'P_O', 'Q_C', 0, 'Y', 8, '2025-06-30', 'Y', NULL, NULL, NULL, NULL),
(10143, 8, 0, '', 0, '', '', 0, 'N', 0, '2025-06-30', 'Y', NULL, NULL, NULL, NULL),
(10144, 8, 0, '', 0, '', '', 0, 'N', 0, '0000-00-00', 'Y', NULL, NULL, NULL, NULL),
(10145, 8, 0, '', 0, '', '', 0, 'N', 0, '0000-00-00', 'Y', NULL, NULL, NULL, NULL),
(10146, 8, 0, '', 0, '', '', 0, 'N', 0, '2025-06-30', 'Y', NULL, NULL, NULL, NULL),
(10147, 8, 0, '', 0, '', '', 0, 'N', 0, '2025-06-30', 'Y', NULL, NULL, NULL, NULL),
(10148, 8, 1001, '', 0, 'Q', 'I', 4, 'Y', 8, '2025-07-01', 'Y', NULL, 0, NULL, '2025-07-01 12:14:00'),
(10149, 8, 1001, '', 0, 'Q', 'PD', 4, 'Y', 8, '2025-07-01', 'Y', NULL, NULL, NULL, NULL),
(10150, 8, 1001, '', 0, 'Q', 'I', 4, 'Y', 8, '2025-07-01', 'Y', NULL, 0, NULL, '2025-07-01 13:54:00'),
(10151, 1, 2001, '', 0, 'P_O', 'Q_C', 0, 'Y', 1, '2025-08-13', 'Y', NULL, NULL, NULL, NULL),
(10152, 1, 1099, '', 0, 'L', 'Q', 4, 'Y', 1, '2025-09-24', 'Y', 1, NULL, '2025-08-28 08:57:34', NULL),
(10153, 1, 1100, '', 0, 'L', 'L', 13, 'N', NULL, NULL, 'Y', 1, NULL, '2025-09-22 03:52:38', NULL),
(10154, 1, 1100, '', 0, 'Q', 'I', 13, 'Y', 13, '2025-09-22', 'Y', NULL, 0, NULL, '2025-09-22 23:24:00'),
(10155, 1, 1099, '', 0, 'Q', 'O', 13, 'Y', 13, '2025-09-24', 'Y', NULL, NULL, NULL, NULL),
(10156, 13, 1099, '', 0, 'O', 'O', 0, 'Y', 13, '2025-09-24', 'Y', NULL, NULL, NULL, NULL),
(10157, 13, 1099, '', 0, 'Q', 'Q', 13, 'Y', 1, '2025-10-16', 'Y', NULL, NULL, NULL, NULL),
(10158, 13, 1099, '', 0, 'Q', 'I', 13, 'Y', 13, '2025-09-24', 'Y', NULL, 0, NULL, '2025-09-24 11:35:00'),
(10159, 1, 2001, '', 0, 'P_O', 'P_I', 0, 'Y', 1, '2025-09-29', 'Y', NULL, NULL, NULL, NULL),
(10160, 1, 2001, '', 0, 'P_O', 'P_O', 0, 'Y', 1, '2025-10-04', 'Y', NULL, NULL, NULL, NULL),
(10161, 1, 1099, 'Test Title 1', 0, 'L', 'L', 5, 'N', NULL, NULL, 'Y', 1, NULL, '2025-10-06 03:15:26', NULL),
(10162, 1, 1099, '', 0, 'L', 'D', 4, 'Y', 1, '2025-10-06', 'Y', 1, NULL, '2025-10-06 03:24:11', NULL),
(10163, 1, 1099, '', 0, 'Q', 'I', 4, 'Y', 1, '2025-10-07', 'Y', NULL, 0, NULL, '2025-10-07 15:40:00'),
(10164, 1, 1099, '', 0, 'Q', 'D', 4, 'Y', 1, '2025-10-07', 'Y', NULL, NULL, NULL, NULL),
(10165, 1, 1099, '', 0, 'O', 'I', 0, 'Y', 1, '2025-10-07', 'Y', NULL, 0, NULL, '2025-10-07 15:36:00'),
(10166, 1, 1099, '', 0, 'O', 'D', 0, 'Y', 1, '2025-10-07', 'Y', NULL, NULL, NULL, NULL),
(10167, 1, 1099, '', 0, 'O', 'D', 0, 'Y', 1, '2025-10-07', 'Y', NULL, NULL, NULL, NULL),
(10168, 1, 1099, '', 0, 'O', 'D', 0, 'Y', 1, '2025-10-07', 'Y', NULL, NULL, NULL, NULL),
(10169, 1, 1099, '', 0, 'O', 'D', 0, 'Y', 1, '2025-10-07', 'Y', NULL, NULL, NULL, NULL),
(10170, 1, 1099, '', 0, 'O', 'D', 0, 'Y', 1, '2025-10-07', 'Y', NULL, NULL, NULL, NULL),
(10171, 1, 1099, '', 0, 'O', 'I', 0, 'Y', 1, '2025-10-07', 'Y', NULL, 0, NULL, '2025-10-07 16:48:00'),
(10172, 1, 1099, '', 0, 'O', 'O', 0, 'Y', 1, '2025-10-07', 'Y', NULL, NULL, NULL, NULL),
(10173, 1, 1028, '', 0, 'Q', 'O', 4, 'Y', 1, '2025-10-15', 'Y', NULL, NULL, NULL, NULL),
(10174, 1, 1031, '', 0, 'Q', 'O', 4, 'Y', 1, '2025-10-15', 'Y', NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `erp_master_labour_hours`
--

CREATE TABLE `erp_master_labour_hours` (
  `id` int(11) NOT NULL,
  `task_duration_type` int(11) NOT NULL,
  `task_duration` varchar(255) NOT NULL,
  `task_duration_hour` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` date NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` date NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_master_labour_hours`
--

INSERT INTO `erp_master_labour_hours` (`id`, `task_duration_type`, `task_duration`, `task_duration_hour`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, '12', 'Months', 'Y', 1, '2024-01-01', 1, '2024-01-01'),
(2, 2, '26', 'Days', 'Y', 1, '2024-01-01', 1, '2024-01-01'),
(3, 3, '8', 'Hours', 'Y', 1, '2024-01-01', 1, '2024-01-01'),
(4, 4, '16', 'AED', 'Y', 1, '2024-01-01', 1, '2024-01-01');

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

--
-- Table structure for table `erp_mas_aidashboard_settings`
--

CREATE TABLE `erp_mas_aidashboard_settings` (
  `id` int(11) NOT NULL,
  `ai_type` enum('SA','PR','PO','CF','ST','FI','IN') NOT NULL COMMENT 'SA-Sales,PR-Purchase,PO-Production Order,CF-Contact Favourite,ST-Stock/Inventory,FI-Finance,IN-Info',
  `serial_no` varchar(50) NOT NULL,
  `description` varchar(500) NOT NULL,
  `help` varchar(225) NOT NULL,
  `weigtage` int(22) NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_aidashboard_settings`
--

INSERT INTO `erp_mas_aidashboard_settings` (`id`, `ai_type`, `serial_no`, `description`, `help`, `weigtage`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'SA', '100', 'Regular Sales', 'Higher grade for Regular Sales', 12, 'Y', 1, '2025-06-09 12:58:28', 0, '0000-00-00 00:00:00'),
(2, 'SA', '200', 'Sales Increase', 'Higher grade for Sales Increase every year', 15, 'Y', 1, '2025-06-09 12:58:28', 0, '0000-00-00 00:00:00'),
(3, 'SA', '300', 'Ontime Payment', 'Higher grade for Payments being on time', 15, 'Y', 1, '2025-06-09 12:58:28', 0, '0000-00-00 00:00:00'),
(4, 'SA', '400', 'Outstanding', 'Higher grade forLess Outstanding', 12, 'Y', 1, '2025-06-09 12:58:28', 0, '0000-00-00 00:00:00'),
(5, 'SA', '500', 'Credit Notes', 'Higher grade for lesser Credit Notes / Returns', 8, 'Y', 1, '2025-06-09 12:58:28', 0, '0000-00-00 00:00:00'),
(6, 'SA', '600', 'Support Tickets', 'Higher grade for lesser Support requests', 8, 'Y', 1, '2025-06-09 12:58:28', 0, '0000-00-00 00:00:00'),
(7, 'SA', '700', 'Good will of the company', 'Higher grade for Popular Company', 15, 'Y', 1, '2025-06-09 12:58:28', 0, '0000-00-00 00:00:00'),
(8, 'SA', '800', 'Relationship ', 'Higher grade for better relationship with the customer', 15, 'Y', 1, '2025-06-09 12:58:28', 0, '0000-00-00 00:00:00'),
(9, 'PR', '100', 'Regular Purchase', 'Higher grade for Regular Sales', 10, 'Y', 1, '2025-06-09 10:13:35', 0, '0000-00-00 00:00:00'),
(10, 'PR', '200', 'Increase in Purchase', 'Higher grade for Increase every year', 15, 'Y', 1, '2025-06-09 10:13:35', 0, '0000-00-00 00:00:00'),
(11, 'PR', '300', 'Payment', 'Higher grade for Less Payments issues', 15, 'Y', 1, '2025-06-09 10:13:35', 0, '0000-00-00 00:00:00'),
(12, 'PR', '400', 'Outstanding', 'Higher grade for Higher Outstanding', 10, 'Y', 1, '2025-06-09 10:13:35', 0, '0000-00-00 00:00:00'),
(13, 'PR', '500', 'Debit Notes', 'Higher grade for lesser Returns', 10, 'Y', 1, '2025-06-09 10:13:35', 0, '0000-00-00 00:00:00'),
(14, 'PR', '600', 'Support Tickets / Followups', 'Higher grade for lesser Support requests', 10, 'Y', 1, '2025-06-09 10:13:35', 0, '0000-00-00 00:00:00'),
(15, 'PR', '700', 'Goodwill of the company', 'Higher grade for Popular Company', 15, 'Y', 1, '2025-06-09 10:13:35', 0, '0000-00-00 00:00:00'),
(16, 'PR', '800', 'Relationship', 'Higher grade for better relationship with the customer', 15, 'Y', 1, '2025-06-09 10:13:35', 0, '0000-00-00 00:00:00'),
(17, 'PO', '100', 'Regular Item', '', 0, 'Y', 1, '2025-06-04 12:36:10', 0, '0000-00-00 00:00:00'),
(18, 'PO', '200', 'Raw Materials available', '', 0, 'Y', 1, '2025-06-04 12:36:28', 0, '0000-00-00 00:00:00'),
(19, 'CF', '100', 'Favorite Contact', '', 0, 'Y', 1, '2025-06-09 09:38:26', 0, '0000-00-00 00:00:00'),
(20, 'IN', '100', 'Company Info', '', 0, 'Y', 1, '2025-06-04 12:37:19', 0, '0000-00-00 00:00:00'),
(21, 'IN', '200', 'News', '', 0, 'Y', 1, '2025-06-04 12:37:27', 0, '0000-00-00 00:00:00'),
(22, 'IN', '300', 'Employees', '', 0, 'Y', 1, '2025-06-04 12:37:39', 0, '0000-00-00 00:00:00'),
(23, 'IN', '400', 'Review', '', 0, 'Y', 1, '2025-06-04 12:37:48', 0, '0000-00-00 00:00:00'),
(24, 'IN', '500', 'Map', '', 0, 'Y', 1, '2025-06-04 12:38:15', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_aidashboard_settings_8-6-25`
--

CREATE TABLE `erp_mas_aidashboard_settings_8-6-25` (
  `id` int(11) NOT NULL,
  `ai_type` enum('SA','PR','PO','CF','ST','FI','IN') NOT NULL COMMENT 'SA-Sales,PR-Purchase,PO-Production Order,CF-Contact Favourite,ST-Stock/Inventory,FI-Finance,IN-Info',
  `serial_no` varchar(50) NOT NULL,
  `description` varchar(500) NOT NULL,
  `help` varchar(225) NOT NULL,
  `weigtage` int(22) NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_aidashboard_settings_8-6-25`
--

INSERT INTO `erp_mas_aidashboard_settings_8-6-25` (`id`, `ai_type`, `serial_no`, `description`, `help`, `weigtage`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'SA', '100', 'Regular Sales', '', 0, 'Y', 1, '2025-06-04 11:26:43', 0, '0000-00-00 00:00:00'),
(2, 'SA', '200', 'Sales Increase', '', 0, 'Y', 1, '2025-06-04 11:38:16', 0, '0000-00-00 00:00:00'),
(3, 'SA', '300', 'Ontime Payment', '', 0, 'Y', 1, '2025-06-04 11:26:43', 0, '0000-00-00 00:00:00'),
(4, 'SA', '400', 'Outstanding', '', 0, 'Y', 1, '2025-06-04 12:32:42', 0, '0000-00-00 00:00:00'),
(5, 'SA', '500', 'Credit Notes', '', 0, 'Y', 1, '2025-06-04 12:32:53', 0, '0000-00-00 00:00:00'),
(6, 'SA', '600', 'Support Tickets', '', 0, 'Y', 1, '2025-06-04 12:33:05', 0, '0000-00-00 00:00:00'),
(7, 'SA', '700', 'Good will of the company', '', 0, 'Y', 1, '2025-06-04 12:33:23', 0, '0000-00-00 00:00:00'),
(8, 'SA', '800', 'Relationship ', '', 0, 'Y', 1, '2025-06-04 12:33:40', 0, '0000-00-00 00:00:00'),
(9, 'PR', '100', 'Regular Purchase', '', 0, 'Y', 1, '2025-06-04 12:34:22', 0, '0000-00-00 00:00:00'),
(10, 'PR', '200', 'Increase in Purchase', '', 0, 'Y', 1, '2025-06-04 12:34:32', 0, '0000-00-00 00:00:00'),
(11, 'PR', '300', 'Payment', '', 0, 'Y', 1, '2025-06-04 12:34:45', 0, '0000-00-00 00:00:00'),
(12, 'PR', '400', 'Outstanding', '', 0, 'Y', 1, '2025-06-04 12:34:54', 0, '0000-00-00 00:00:00'),
(13, 'PR', '500', 'Debit Notes', '', 0, 'Y', 1, '2025-06-04 12:35:09', 0, '0000-00-00 00:00:00'),
(14, 'PR', '600', 'Support Tickets / Followups', '', 0, 'Y', 1, '2025-06-04 12:35:27', 0, '0000-00-00 00:00:00'),
(15, 'PR', '700', 'Goodwill of the company', '', 0, 'Y', 1, '2025-06-04 12:35:43', 0, '0000-00-00 00:00:00'),
(16, 'PR', '800', 'Relationship', '', 0, 'Y', 1, '2025-06-04 12:35:54', 0, '0000-00-00 00:00:00'),
(17, 'PO', '100', 'Regular Item', '', 0, 'Y', 1, '2025-06-04 12:36:10', 0, '0000-00-00 00:00:00'),
(18, 'PO', '200', 'Raw Materials available', '', 0, 'Y', 1, '2025-06-04 12:36:28', 0, '0000-00-00 00:00:00'),
(19, 'CF', '100', 'Favorite Contact', '', 0, 'Y', 1, '2025-06-04 12:36:54', 0, '0000-00-00 00:00:00'),
(20, 'IN', '100', 'Company Info', '', 0, 'Y', 1, '2025-06-04 12:37:19', 0, '0000-00-00 00:00:00'),
(21, 'IN', '200', 'News', '', 0, 'Y', 1, '2025-06-04 12:37:27', 0, '0000-00-00 00:00:00'),
(22, 'IN', '300', 'Employees', '', 0, 'Y', 1, '2025-06-04 12:37:39', 0, '0000-00-00 00:00:00'),
(23, 'IN', '400', 'Review', '', 0, 'Y', 1, '2025-06-04 12:37:48', 0, '0000-00-00 00:00:00'),
(24, 'IN', '500', 'Map', '', 0, 'Y', 1, '2025-06-04 12:38:15', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_aidashboard_settings_5625`
--

CREATE TABLE `erp_mas_aidashboard_settings_5625` (
  `id` int(11) NOT NULL,
  `ai_type` enum('SA','PR','PO','CF','ST','FI','IN') NOT NULL COMMENT 'SA-Sales,PR-Purchase,PO-Production Order,CF-Contact Favourite,ST-Stock/Inventory,FI-Finance,IN-Info',
  `serial_no` varchar(50) NOT NULL,
  `description` varchar(500) NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_aidashboard_settings_5625`
--

INSERT INTO `erp_mas_aidashboard_settings_5625` (`id`, `ai_type`, `serial_no`, `description`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'SA', '100', 'Regular Sales', 'Y', 1, '2025-06-04 11:26:43', 0, '0000-00-00 00:00:00'),
(2, 'SA', '200', 'Sales Increase', 'Y', 1, '2025-06-04 11:38:16', 0, '0000-00-00 00:00:00'),
(3, 'SA', '300', 'Ontime Payment', 'Y', 1, '2025-06-04 11:26:43', 0, '0000-00-00 00:00:00'),
(4, 'SA', '400', 'Outstanding', 'Y', 1, '2025-06-04 12:32:42', 0, '0000-00-00 00:00:00'),
(5, 'SA', '500', 'Credit Notes', 'Y', 1, '2025-06-04 12:32:53', 0, '0000-00-00 00:00:00'),
(6, 'SA', '600', 'Support Tickets', 'Y', 1, '2025-06-04 12:33:05', 0, '0000-00-00 00:00:00'),
(7, 'SA', '700', 'Good will of the company', 'Y', 1, '2025-06-04 12:33:23', 0, '0000-00-00 00:00:00'),
(8, 'SA', '800', 'Relationship ', 'Y', 1, '2025-06-04 12:33:40', 0, '0000-00-00 00:00:00'),
(9, 'PR', '100', 'Regular Purchase', 'Y', 1, '2025-06-04 12:34:22', 0, '0000-00-00 00:00:00'),
(10, 'PR', '200', 'Increase in Purchase', 'Y', 1, '2025-06-04 12:34:32', 0, '0000-00-00 00:00:00'),
(11, 'PR', '300', 'Payment', 'Y', 1, '2025-06-04 12:34:45', 0, '0000-00-00 00:00:00'),
(12, 'PR', '400', 'Outstanding', 'Y', 1, '2025-06-04 12:34:54', 0, '0000-00-00 00:00:00'),
(13, 'PR', '500', 'Debit Notes', 'Y', 1, '2025-06-04 12:35:09', 0, '0000-00-00 00:00:00'),
(14, 'PR', '600', 'Support Tickets / Followups', 'Y', 1, '2025-06-04 12:35:27', 0, '0000-00-00 00:00:00'),
(15, 'PR', '700', 'Goodwill of the company', 'Y', 1, '2025-06-04 12:35:43', 0, '0000-00-00 00:00:00'),
(16, 'PR', '800', 'Relationship', 'Y', 1, '2025-06-04 12:35:54', 0, '0000-00-00 00:00:00'),
(17, 'PO', '100', 'Regular Item', 'Y', 1, '2025-06-04 12:36:10', 0, '0000-00-00 00:00:00'),
(18, 'PO', '200', 'Raw Materials available', 'Y', 1, '2025-06-04 12:36:28', 0, '0000-00-00 00:00:00'),
(19, 'CF', '100', 'Favorite Contact', 'Y', 1, '2025-06-04 12:36:54', 0, '0000-00-00 00:00:00'),
(20, 'IN', '100', 'Company Info', 'Y', 1, '2025-06-04 12:37:19', 0, '0000-00-00 00:00:00'),
(21, 'IN', '200', 'News', 'Y', 1, '2025-06-04 12:37:27', 0, '0000-00-00 00:00:00'),
(22, 'IN', '300', 'Employees', 'Y', 1, '2025-06-04 12:37:39', 0, '0000-00-00 00:00:00'),
(23, 'IN', '400', 'Review', 'Y', 1, '2025-06-04 12:37:48', 0, '0000-00-00 00:00:00'),
(24, 'IN', '500', 'Map', 'Y', 1, '2025-06-04 12:38:15', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_aidashboard_settings_data`
--

CREATE TABLE `erp_mas_aidashboard_settings_data` (
  `id` int(11) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `rating_id` int(11) NOT NULL,
  `rating` int(11) NOT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_date_time` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_date_time` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_aidashboard_settings_data`
--

INSERT INTO `erp_mas_aidashboard_settings_data` (`id`, `customer_id`, `rating_id`, `rating`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1001, 1, 63, 8, '2025-06-05 03:41:40', 1, '2025-08-24 10:15:20'),
(2, 1001, 2, 70, 8, '2025-06-05 03:41:55', 1, '2025-08-24 10:15:22'),
(3, 1001, 3, 70, 8, '2025-06-05 03:41:58', 1, '2025-08-24 10:15:24'),
(5, 1001, 4, 65, 8, '2025-06-05 04:11:09', 1, '2025-08-24 10:15:25'),
(6, 1001, 8, 92, 1, '2025-06-05 04:28:59', 8, '2025-06-23 11:11:19'),
(7, 1001, 7, 81, 1, '2025-06-05 04:29:01', 8, '2025-06-16 07:47:34'),
(8, 1001, 6, 41, 1, '2025-06-05 04:29:04', 1, '2025-08-24 10:15:34'),
(9, 1092, 1, 47, 1, '2025-06-05 04:29:31', NULL, NULL),
(10, 1092, 2, 42, 1, '2025-06-05 04:29:33', NULL, NULL),
(11, 1092, 3, 48, 1, '2025-06-05 04:29:34', NULL, NULL),
(12, 1001, 5, 77, 1, '2025-06-05 04:29:53', 1, '2025-08-24 10:15:32'),
(13, 2001, 1, 60, 1, '2025-06-06 09:57:39', 1, '2025-06-09 09:54:11'),
(14, 2001, 2, 30, 1, '2025-06-06 09:57:41', 1, '2025-06-09 10:06:12'),
(15, 2001, 4, 67, 1, '2025-06-07 09:54:03', 1, '2025-06-09 10:08:34'),
(16, 2001, 5, 28, 1, '2025-06-07 09:54:05', 1, '2025-06-09 08:39:57'),
(17, 2001, 6, 76, 1, '2025-06-07 09:54:06', NULL, NULL),
(18, 2001, 7, 70, 1, '2025-06-07 09:54:07', 1, '2025-06-09 09:54:13'),
(19, 2001, 8, 68, 1, '2025-06-07 09:54:07', 1, '2025-06-09 09:54:15'),
(20, 2001, 3, 70, 1, '2025-06-07 09:54:08', 1, '2025-06-09 10:06:42'),
(21, 2014, 3, 97, 8, '2025-06-25 10:15:30', NULL, NULL),
(22, 1069, 1, 29, 8, '2025-09-24 04:01:20', NULL, NULL),
(23, 1083, 1, 87, 1, '2025-09-29 10:00:41', NULL, NULL),
(24, 1083, 2, 45, 1, '2025-09-29 10:00:48', NULL, NULL),
(25, 1083, 8, 8, 1, '2025-09-30 08:01:03', NULL, NULL);

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

--
-- Table structure for table `erp_mas_bank`
--

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

--
-- Dumping data for table `erp_mas_bank`
--

INSERT INTO `erp_mas_bank` (`id`, `bank_code`, `routing_code`, `bank_name`, `isActive`, `isDefault`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'RAK', '804020101', 'RAK Bank', 'Y', 'N', 1, 8, '2024-01-01 06:00:00', '2025-05-10 07:53:58'),
(2, 'AJM', '805740101', 'Ajman Bank', 'Y', 'N', 1, 8, '2025-04-29 07:50:16', '2025-05-10 07:48:45'),
(4, 'ABNAMRO', '000', 'ABN AMRO Group NV', 'Y', 'N', 8, 1, '2025-05-06 01:50:24', '2025-06-19 09:20:29'),
(5, 'ADCB', '600310101', 'Abu Dhabi Commercial Bank', 'Y', 'N', 8, 8, '2025-05-06 01:50:48', '2025-05-10 07:44:44'),
(6, 'ADCB-IB', '405010101', 'ADCB Islamic Bank', 'Y', 'N', 8, 1, '2025-05-06 01:51:09', '2025-06-19 09:16:59'),
(7, 'ADIB', '', 'ADIB', 'Y', 'N', 8, 1, '2025-05-06 01:51:20', '2025-06-05 01:25:18'),
(8, 'BPM', '', 'Banco BPM', 'Y', 'N', 8, 0, '2025-05-06 01:51:39', '0000-00-00 00:00:00'),
(9, 'BoB', '801120101', 'Bank of Baroda', 'Y', 'N', 8, 8, '2025-05-06 01:51:57', '2025-05-10 07:49:38'),
(10, 'BBF', '', 'Banque Banorient France', 'Y', 'N', 8, 0, '2025-05-06 01:52:17', '0000-00-00 00:00:00'),
(11, 'BB', '', 'Barclays Bank PLC', 'Y', 'N', 8, 0, '2025-05-06 01:53:18', '0000-00-00 00:00:00'),
(12, 'CITI', '102120101', 'Citibank', 'Y', 'N', 8, 8, '2025-05-06 01:53:29', '2025-06-25 09:45:16'),
(13, 'CBD', '102320150', 'Commercial Bank of Dubai', 'Y', 'N', 8, 8, '2025-05-06 01:53:47', '2025-05-10 07:50:32'),
(14, 'EIB', '703420114', 'Emirates Islamic Bank', 'Y', 'N', 8, 8, '2025-05-06 01:54:02', '2025-05-10 07:50:59'),
(15, 'FAB', '803510106', 'First Abu Dhabi Bank', 'Y', 'N', 8, 8, '2025-05-06 01:54:23', '2025-05-10 07:51:33'),
(16, 'HSBC', '302020120', 'HSBC MIddle East', 'Y', 'N', 8, 8, '2025-05-06 01:54:40', '2025-05-10 07:51:56'),
(17, 'JPM', '', 'JPMorgan Chase Bank', 'Y', 'N', 8, 0, '2025-05-06 01:54:52', '0000-00-00 00:00:00'),
(18, 'LB', '', 'Lloyds Bank', 'Y', 'N', 8, 0, '2025-05-06 01:55:07', '0000-00-00 00:00:00'),
(19, 'Mashreq', '203320101', 'Mashreq Bank', 'Y', 'N', 8, 8, '2025-05-06 01:55:23', '2025-05-10 07:52:26'),
(20, 'NBF', '703820101', 'National Bank of Fujairah', 'Y', 'N', 8, 8, '2025-05-06 01:55:39', '2025-05-10 07:53:24'),
(21, 'UAB', '904630101', 'United Arab Bank', 'Y', 'N', 8, 8, '2025-05-06 01:56:02', '2025-05-10 07:54:22'),
(22, 'VRB', '', 'VR Bank Munchen Land', 'Y', 'N', 8, 0, '2025-05-06 01:56:17', '0000-00-00 00:00:00'),
(23, 'Wells', '', 'Wells Fargo Bank NA', 'Y', 'N', 8, 0, '2025-05-06 01:56:28', '0000-00-00 00:00:00'),
(24, 'WIO', '808610001', 'WIO Bank', 'Y', 'N', 8, 8, '2025-05-06 01:56:45', '2025-05-10 07:54:59'),
(29, 'DIB', '802420101', 'Dubai Islamic Bank', 'Y', 'N', 8, 1, '2025-05-07 10:44:39', '2025-05-07 11:30:49'),
(30, 'NISL', '905220101', 'NOOR ISLAMIC BANK', 'Y', 'N', 8, 0, '2025-05-10 07:57:08', '0000-00-00 00:00:00'),
(31, '', '302620122', 'Emirates NBD', 'Y', 'N', 8, 1, '2025-05-10 07:58:55', '2025-06-05 01:25:05'),
(32, 'SCBL', '504420120', 'Standard Chartered Bank', 'Y', 'N', 8, 0, '2025-05-10 08:00:54', '0000-00-00 00:00:00'),
(33, 'HLAL', '105310101', 'Al Hilal Bank', 'Y', 'N', 8, 0, '2025-05-10 08:02:10', '0000-00-00 00:00:00'),
(34, 'CLBI', '002220101', 'COMMERCIAL BANK INTERNATIONAL', 'Y', 'N', 8, 0, '2025-05-10 08:03:57', '0000-00-00 00:00:00'),
(35, 'NBSH', '404130101', 'Sharjah Islamic Bank', 'Y', 'N', 8, 0, '2025-05-10 08:05:14', '0000-00-00 00:00:00'),
(37, 'sbi001', '1', 'Sbi', 'N', 'N', 1, 1, '2025-07-16 04:41:20', '2025-07-16 04:42:00');

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

--
-- Table structure for table `erp_mas_barcode_heading`
--

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

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

--
-- Table structure for table `erp_mas_bill_type`
--

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

--
-- Dumping data for table `erp_mas_bill_type`
--

INSERT INTO `erp_mas_bill_type` (`id`, `bill_type`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'AWB No', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(2, 'Bill of Lading', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00');

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

--
-- Table structure for table `erp_mas_colour_scheme`
--

CREATE TABLE `erp_mas_colour_scheme` (
  `id` int(11) NOT NULL,
  `type` enum('Q','L','O','A','PO') NOT NULL,
  `item` varchar(255) NOT NULL,
  `field` varchar(255) NOT NULL,
  `colour` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_colour_scheme`
--

INSERT INTO `erp_mas_colour_scheme` (`id`, `type`, `item`, `field`, `colour`) VALUES
(1, 'O', 'Order Approval Level 0', 'Sales Dept', '#fcdede'),
(2, 'O', 'Order Approval Level 1', 'Finance / Commercial Dept', '#ffffff'),
(3, 'O', 'Order Approval Level 2', 'Service Dept', '#8080ff'),
(4, 'O', 'Order Approval Level 3', 'Approved', '#f7f7f7'),
(5, 'L', 'Lead Priority - Low', 'Low', '#ffffff'),
(6, 'L', 'Lead Priority - Medium', 'Medium', '#bee0bf'),
(7, 'O', 'Lead Priority - High', 'low', '#ffe4d6'),
(8, 'Q', 'Quotation - UnApproved', 'Quotation - UnApproved', '#fcd4d4'),
(9, 'Q', 'Quotation - Approved', 'Quotation - Approved', '#ffffff'),
(10, 'Q', 'Quotation - Expired', 'Quotation - Expired', '#939393'),
(11, 'Q', 'Purchase Order Approval Level 0', 'Finance', '#fac6fb'),
(12, 'PO', 'Purchase Order Approval Level 1', 'Managing Director', '#ffffbd'),
(13, 'PO', 'Purchase Order Approval Level 2', 'Chairman', '#8080ff'),
(14, 'PO', 'Purchase Order Approval Level 3', 'Approved', '#ffffff');

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

--
-- Table structure for table `erp_mas_company_bank_details`
--

CREATE TABLE `erp_mas_company_bank_details` (
  `id` int(11) NOT NULL,
  `bank_account_name` varchar(255) NOT NULL,
  `bank_id` int(11) NOT NULL,
  `currency_id` int(11) NOT NULL,
  `bank_branch` varchar(255) NOT NULL,
  `bank_ac_no` varchar(255) NOT NULL,
  `bank_tax_id` varchar(255) NOT NULL,
  `bank_iban` varchar(255) NOT NULL,
  `bank_swift` varchar(255) NOT NULL,
  `bank_ifsc` varchar(255) NOT NULL,
  `bank_others` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_company_bank_details`
--

INSERT INTO `erp_mas_company_bank_details` (`id`, `bank_account_name`, `bank_id`, `currency_id`, `bank_branch`, `bank_ac_no`, `bank_tax_id`, `bank_iban`, `bank_swift`, `bank_ifsc`, `bank_others`, `isActive`) VALUES
(1, '645645', 1, 1, 'Test Bank', '5656456', '56456546', '55645645', '45645645', '456456546', 'fgdfgfdg', 'Y');

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

--
-- Table structure for table `erp_mas_company_level`
--

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

--
-- Dumping data for table `erp_mas_company_level`
--

INSERT INTO `erp_mas_company_level` (`id`, `level_name`, `permissions`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Level 1', '{\"mis_level_permission_calendar\":\"1\",\"mis_level_permission_mis_dashboard\":\"1\",\"mis_level_permission_mis_graph\":\"1\",\"sales_level_permission_contact\":\"0\",\"sales_level_permission_documents\":\"0\",\"sales_level_permission_shipping\":\"0\",\"master_level_permission_sales_groups\":\"0\",\"master_level_permission_industry\":\"0\",\"sales_level_permission_approvals\":\"1\",\"sales_level_permission_balncerecevble\":\"0\",\"sales_level_permission_delivery_tracker\":\"0\",\"sales_level_permission_receipt_tracker\":\"0\",\"inventory_level_permission_expiry_date\":\"0\",\"inventory_level_permission_serial_number\":\"0\",\"inventory_level_permission_ledger_selection\":\"1\",\"inventory_level_permission_length\":\"0\",\"inventory_level_permission_width\":\"0\",\"inventory_level_permission_height\":\"0\",\"inventory_level_permission_weight\":\"0\",\"inventory_level_permission_cbm\":\"0\",\"inventory_level_permission_thickness\":\"0\",\"inventory_level_permission_material\":\"0\",\"inventory_level_permission_finish\":\"0\",\"inventory_level_permission_reorderlevel\":\"0\",\"inventory_level_permission_hscode\":\"0\",\"inventory_level_permission_barcode\":\"0\",\"inventory_level_permission_picture_upload\":\"0\",\"inventory_level_permission_markup_percent\":\"0\",\"purchase_level_permission_supplier_documents\":\"0\",\"purchase_level_permission_supplier_banking\":\"0\",\"purchase_level_permission_supplier_contact\":\"0\",\"purchase_level_permission_requisition\":\"1\",\"purchase_level_permission_purchase_enquiry\":\"1\",\"purchase_level_permission_approval\":\"0\",\"purchase_level_permission_edit_invoice_no\":\"0\",\"purchase_level_permission_delivery_tracker\":\"0\",\"purchase_level_permission_payment_tracker\":\"0\",\"master_level_permission_banks\":\"0\",\"master_level_permission_currency\":\"0\",\"master_level_permission_unit\":\"0\",\"master_level_permission_warehouses\":\"0\",\"master_level_permission_brands\":\"0\",\"master_level_permission_racks\":\"0\",\"master_level_permission_bin\":\"0\",\"master_level_permission_item_type\":\"2\",\"master_level_permission_category\":\"0\",\"master_level_permission_qc_close_rsn\":\"0\",\"master_level_permission_TC\":\"0\",\"master_level_permission_shipping_methods\":\"0\",\"master_level_permission_document_type\":\"0\",\"master_level_permission_ai_dashboard\":\"1\",\"master_level_permission_workspace\":\"1\",\"reports_sales_level_permission_lead_list\":\"0\",\"reports_sales_level_permission_quotation_list\":\"1\",\"reports_sales_level_permission_order_list\":\"1\",\"reports_sales_level_permission_delivery_list\":\"1\",\"reports_sales_level_permission_invoice_list\":\"1\",\"reports_sales_level_permission_creditnote_list\":\"1\",\"reports_sales_level_permission_datewisesales_list\":\"0\",\"reports_sales_level_permission_daybook\":\"0\",\"reports_sales_level_permission_deliverynt_invoiced\":\"0\",\"reports_sales_level_permission_grossprofit\":\"0\",\"reports_sales_level_permission_ordertodelivered\":\"0\",\"reports_sales_level_permission_salesitembybrand\":\"0\",\"reports_sales_level_permission_netsales\":\"1\",\"reports_inv_level_permission_current_stock\":\"1\",\"reports_inv_level_permission_direct_transfer\":\"1\",\"reports_inv_level_permission_stock_transactn_ledger\":\"1\",\"reports_inv_level_permission_transaction_detail\":\"1\",\"reports_inv_level_permission_warehouse_report\":\"0\",\"reports_pur_level_permission_purchase_list\":\"1\",\"reports_pur_level_permission_mr_list\":\"1\",\"reports_pur_level_permission_pending_po_list\":\"1\",\"reports_pur_level_permission_purchase_invoice\":\"1\",\"reports_pur_level_permission_debit_notes\":\"1\",\"reports_pur_level_permission_list_of_ordered_item\":\"0\",\"reports_pur_level_permission_net_purchase\":\"1\",\"activities_level_permission_activities\":\"0\",\"activities_level_permission_activity_report\":\"0\"}', 'Y', 8, 0, '2025-05-26 05:54:31', '0000-00-00 00:00:00'),
(2, 'Level 2', '{\"mis_level_permission_calendar\":\"1\",\"mis_level_permission_mis_dashboard\":\"1\",\"mis_level_permission_mis_graph\":\"1\",\"sales_level_permission_contact\":\"1\",\"sales_level_permission_documents\":\"1\",\"sales_level_permission_shipping\":\"1\",\"master_level_permission_sales_groups\":\"2\",\"master_level_permission_industry\":\"0\",\"master_level_permission_TC\":\"1\",\"sales_level_permission_approvals\":\"1\",\"sales_level_permission_balncerecevble\":\"0\",\"sales_level_permission_delivery_tracker\":\"1\",\"sales_level_permission_receipt_tracker\":\"1\",\"inventory_level_permission_expiry_date\":\"0\",\"inventory_level_permission_serial_number\":\"0\",\"inventory_level_permission_ledger_selection\":\"1\",\"inventory_level_permission_length\":\"0\",\"inventory_level_permission_width\":\"0\",\"inventory_level_permission_height\":\"0\",\"inventory_level_permission_weight\":\"0\",\"inventory_level_permission_cbm\":\"0\",\"inventory_level_permission_thickness\":\"0\",\"inventory_level_permission_material\":\"0\",\"inventory_level_permission_finish\":\"0\",\"inventory_level_permission_reorderlevel\":\"0\",\"inventory_level_permission_hscode\":\"0\",\"inventory_level_permission_barcode\":\"1\",\"inventory_level_permission_picture_upload\":\"0\",\"inventory_level_permission_markup_percent\":\"0\",\"purchase_level_permission_supplier_documents\":\"0\",\"purchase_level_permission_supplier_banking\":\"0\",\"purchase_level_permission_supplier_contact\":\"0\",\"purchase_level_permission_requisition\":\"0\",\"purchase_level_permission_purchase_enquiry\":\"0\",\"purchase_level_permission_approval\":\"1\",\"purchase_level_permission_edit_invoice_no\":\"0\",\"purchase_level_permission_delivery_tracker\":\"0\",\"purchase_level_permission_payment_tracker\":\"0\",\"master_level_permission_banks\":\"0\",\"master_level_permission_currency\":\"2\",\"master_level_permission_unit\":\"\",\"master_level_permission_warehouses\":\"0\",\"master_level_permission_brands\":\"2\",\"master_level_permission_racks\":\"0\",\"master_level_permission_bin\":\"0\",\"master_level_permission_item_type\":\"2\",\"master_level_permission_category\":\"2\",\"master_level_permission_qc_close_rsn\":\"0\",\"master_level_permission_shipping_methods\":\"0\",\"master_level_permission_document_type\":\"0\",\"reports_sales_level_permission_lead_list\":\"1\",\"reports_sales_level_permission_quotation_list\":\"1\",\"reports_sales_level_permission_order_list\":\"1\",\"reports_sales_level_permission_delivery_list\":\"1\",\"reports_sales_level_permission_invoice_list\":\"1\",\"reports_sales_level_permission_creditnote_list\":\"1\",\"reports_sales_level_permission_datewisesales_list\":\"1\",\"reports_sales_level_permission_daybook\":\"1\",\"reports_sales_level_permission_deliverynt_invoiced\":\"0\",\"reports_sales_level_permission_grossprofit\":\"0\",\"reports_sales_level_permission_ordertodelivered\":\"1\",\"reports_sales_level_permission_salesitembybrand\":\"0\",\"reports_sales_level_permission_netsales\":\"1\",\"reports_inv_level_permission_current_stock\":\"1\",\"reports_inv_level_permission_direct_transfer\":\"1\",\"reports_inv_level_permission_stock_transactn_ledger\":\"\",\"reports_inv_level_permission_transaction_detail\":\"1\",\"reports_inv_level_permission_warehouse_report\":\"1\",\"reports_pur_level_permission_purchase_list\":\"1\",\"reports_pur_level_permission_mr_list\":\"1\",\"reports_pur_level_permission_pending_po_list\":\"1\",\"reports_pur_level_permission_purchase_invoice\":\"1\",\"reports_pur_level_permission_debit_notes\":\"1\",\"reports_pur_level_permission_list_of_ordered_item\":\"0\",\"reports_pur_level_permission_net_purchase\":\"1\",\"activities_level_permission_activities\":\"0\",\"activities_level_permission_activity_report\":\"0\"}', 'Y', 8, 0, '2025-05-26 05:54:37', '0000-00-00 00:00:00'),
(3, 'Level 3', '{\"mis_level_permission_calendar\":\"1\",\"mis_level_permission_mis_dashboard\":\"1\",\"mis_level_permission_mis_graph\":\"1\",\"sales_level_permission_contact\":\"1\",\"sales_level_permission_documents\":\"1\",\"sales_level_permission_shipping\":\"1\",\"master_level_permission_sales_groups\":\"2\",\"master_level_permission_industry\":\"2\",\"sales_level_permission_approvals\":\"1\",\"sales_level_permission_balncerecevble\":\"1\",\"sales_level_permission_delivery_tracker\":\"1\",\"sales_level_permission_receipt_tracker\":\"1\",\"inventory_level_permission_expiry_date\":\"1\",\"inventory_level_permission_serial_number\":\"1\",\"inventory_level_permission_ledger_selection\":\"1\",\"inventory_level_permission_length\":\"1\",\"inventory_level_permission_width\":\"1\",\"inventory_level_permission_height\":\"1\",\"inventory_level_permission_weight\":\"1\",\"inventory_level_permission_cbm\":\"1\",\"inventory_level_permission_thickness\":\"1\",\"inventory_level_permission_material\":\"1\",\"inventory_level_permission_finish\":\"1\",\"inventory_level_permission_reorderlevel\":\"1\",\"inventory_level_permission_hscode\":\"1\",\"inventory_level_permission_barcode\":\"1\",\"inventory_level_permission_picture_upload\":\"1\",\"inventory_level_permission_markup_percent\":\"1\",\"purchase_level_permission_supplier_documents\":\"1\",\"purchase_level_permission_supplier_banking\":\"1\",\"purchase_level_permission_supplier_contact\":\"1\",\"purchase_level_permission_requisition\":\"1\",\"purchase_level_permission_purchase_enquiry\":\"1\",\"purchase_level_permission_approval\":\"1\",\"purchase_level_permission_edit_invoice_no\":\"1\",\"purchase_level_permission_delivery_tracker\":\"1\",\"purchase_level_permission_payment_tracker\":\"1\",\"master_level_permission_banks\":\"1\",\"master_level_permission_currency\":\"2\",\"master_level_permission_unit\":\"2\",\"master_level_permission_warehouses\":\"2\",\"master_level_permission_brands\":\"2\",\"master_level_permission_racks\":\"2\",\"master_level_permission_bin\":\"2\",\"master_level_permission_item_type\":\"2\",\"master_level_permission_category\":\"2\",\"master_level_permission_qc_close_rsn\":\"1\",\"master_level_permission_TC\":\"1\",\"master_level_permission_shipping_methods\":\"1\",\"master_level_permission_document_type\":\"1\",\"master_level_permission_ai_dashboard\":\"1\",\"master_level_permission_workspace\":\"\",\"reports_sales_level_permission_lead_list\":\"1\",\"reports_sales_level_permission_quotation_list\":\"1\",\"reports_sales_level_permission_order_list\":\"1\",\"reports_sales_level_permission_delivery_list\":\"1\",\"reports_sales_level_permission_invoice_list\":\"1\",\"reports_sales_level_permission_creditnote_list\":\"1\",\"reports_sales_level_permission_datewisesales_list\":\"1\",\"reports_sales_level_permission_daybook\":\"1\",\"reports_sales_level_permission_deliverynt_invoiced\":\"1\",\"reports_sales_level_permission_grossprofit\":\"1\",\"reports_sales_level_permission_ordertodelivered\":\"1\",\"reports_sales_level_permission_salesitembybrand\":\"1\",\"reports_sales_level_permission_netsales\":\"1\",\"reports_inv_level_permission_current_stock\":\"1\",\"reports_inv_level_permission_direct_transfer\":\"1\",\"reports_inv_level_permission_stock_transactn_ledger\":\"1\",\"reports_inv_level_permission_transaction_detail\":\"1\",\"reports_inv_level_permission_warehouse_report\":\"1\",\"reports_pur_level_permission_purchase_list\":\"1\",\"reports_pur_level_permission_mr_list\":\"1\",\"reports_pur_level_permission_pending_po_list\":\"1\",\"reports_pur_level_permission_purchase_invoice\":\"1\",\"reports_pur_level_permission_debit_notes\":\"1\",\"reports_pur_level_permission_list_of_ordered_item\":\"1\",\"reports_pur_level_permission_net_purchase\":\"1\",\"activities_level_permission_activities\":\"1\",\"activities_level_permission_activity_report\":\"1\"}', 'Y', 8, 0, '2025-05-26 05:54:43', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_company_terms_conditions`
--

CREATE TABLE `erp_mas_company_terms_conditions` (
  `id` int(11) NOT NULL,
  `type` enum('Q','O','D','I','PO','MR','PI') NOT NULL COMMENT '''Q''=>Quotation,''O''=>order,''D''=>debite Note,''I''=>invoice,''PO''=>purchase Order,''MR''=>meterial Receipt,''PI''=>purchase Invoice',
  `terms_conditions` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_mas_company_type`
--

CREATE TABLE `erp_mas_company_type` (
  `id` int(11) NOT NULL,
  `type` enum('C','V') NOT NULL,
  `description` text NOT NULL COMMENT 'type of company',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_company_type`
--

INSERT INTO `erp_mas_company_type` (`id`, `type`, `description`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'C', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(2, 'V', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_country`
--

CREATE TABLE `erp_mas_country` (
  `id` int(11) NOT NULL,
  `country_name` varchar(255) NOT NULL,
  `nationality` varchar(500) NOT NULL,
  `country_code` varchar(100) NOT NULL,
  `phone_code` varchar(20) NOT NULL,
  `flag_image` varchar(300) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_country`
--

INSERT INTO `erp_mas_country` (`id`, `country_name`, `nationality`, `country_code`, `phone_code`, `flag_image`, `isActive`, `isDefault`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Afghanistan', 'Afghanistan', 'AF', '+93', 'Flag of Afghanistan  2004   2021  variant  svg.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-08-07 15:25:41'),
(2, 'Albania', 'Albania', 'AL', '+355', '', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:35:48'),
(3, 'Algeria', 'Algeria', 'DZ', '', 'bluesky image.jpg', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(4, 'American Samoa', 'American Samoa', 'AS', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(5, 'Andorra', 'Andorra', 'AD', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(6, 'Angola', 'Angola', 'AO', '', 'Flag of Angola svg.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-08-07 15:25:28'),
(7, 'Anguilla', 'Anguilla', 'AI', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(8, 'Antarctica', 'Antarctica', 'AQ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(9, 'Argentina', 'Argentina', 'AR', '+54', '360 F 528361266 T33O3baj2T0v5SSfvTL8u5RqquFlv3yd.jpg', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:21:44'),
(10, 'Armenia', 'Armenia', 'AM', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(11, 'Australia', 'Australia', 'AU', '+61', '360 F 1054631254 cVq2WEOjGmmXQLK351LnZVGEqfJrzaMf.jpg', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(12, 'Austria', 'Austria', 'AT', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(13, 'Azerbaijan', 'Azerbaijan', 'AZ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(14, 'Bahrain', 'Bahrain', 'BH', '+973', 'Flag of Bahrain svg.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-18 07:37:44'),
(15, 'Bangladesh', 'Bangladesh', 'BD', '+880', '218hFID2i6L  AC UF894 1000 QL80 .jpg', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:24:12'),
(16, 'Barbados', 'Barbados', 'BB', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(17, 'Belarus', 'Belarus', 'BY', '+375', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(18, 'Belgium', 'Belgium', 'BE', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(19, 'Bermuda', 'Bermuda', 'BM', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(20, 'Bhutan', 'Bhutan', 'BT', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(21, 'Bolivia', 'Bolivia', 'BO', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(22, 'Botswana', 'Botswana', 'BW', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(23, 'Bouvet Island', 'Bouvet Island', 'BV', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(24, 'Brazil', 'Brazil', 'BR', '+55', 'Flag of Brazil.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:25:57'),
(25, 'Bulgaria', 'Bulgaria', 'BG', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(26, 'Burkina Faso', 'Burkina Faso', 'BF', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(27, 'Cambodia', 'Cambodia', 'KH', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(28, 'Cameroon', 'Cameroon', 'CM', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(29, 'Canada', 'Canada', 'CA', '+1', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(30, 'Cape Verde', 'Cape Verde', 'CV', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(31, 'Cayman Islands', 'Cayman Islands', 'KY', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(32, 'Central African Republic', 'Central African Republic', 'CF', '+236', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(33, 'Chad', 'Chad', 'TD', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(34, 'Chile', 'Chile', 'CL', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(35, 'China', 'China', 'CN', '+86', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(36, 'Colombia', 'Colombia', 'CO', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(37, 'Congo', 'Congo', 'CG', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(38, 'Cuba', 'Cuba', 'CU', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(39, 'Czech Republic', 'Czech Republic', 'CZ', '+420', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(40, 'Denmark', 'Denmark', 'DK', '+45', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(41, 'Djibouti', 'Djibouti', 'DJ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(42, 'Dominica', 'Dominica', 'DM', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(43, 'Dominican Republic', 'Dominican Republic', 'DO', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(44, 'Ecuador', 'Ecuador', 'EC', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(45, 'Egypt', 'Egypt', 'EG', '+20', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(46, 'El Salvador', 'El Salvador', 'SV', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(47, 'Equatorial Guinea', 'Equatorial Guinea', 'GQ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(48, 'Eritrea', 'Eritrea', 'ER', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(49, 'Estonia', 'Estonia', 'EE', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(50, 'Ethiopia', 'Ethiopia', 'ET', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(51, 'European Union', 'European Union', 'EU', '', 'european-union-eu-flag-uhd-4k-wallpaper.jpg', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:19:44'),
(52, 'Faroe Islands', 'Faroe Islands', 'FO', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(53, 'Fiji', 'Fiji', 'FJ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(54, 'Finland', 'Finland', 'FI', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(55, 'France', 'France', 'FR', '+33', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(56, 'French Guiana', 'French Guiana', 'GF', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(57, 'French Polynesia', 'French Polynesia', 'PF', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(58, 'Gabon', 'Gabon', 'GA', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(59, 'Georgia', 'Georgia', 'GE', '+995', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(60, 'Germany', 'Germany', 'DE', '+49', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(61, 'Ghana', 'Ghana', 'GH', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(62, 'Greece', 'Greece', 'GR', '+30', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(63, 'Greenland', 'Greenland', 'GL', '+299', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(64, 'Grenada', 'Grenada', 'GD', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(65, 'Guadeloupe', 'Guadeloupe', 'GP', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(66, 'Guinea', 'Guinea', 'GN', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(67, 'Guinea-Bissau', 'Guinea-Bissau', 'GW', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(68, 'Guyana', 'Guyana', 'GY', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(69, 'Haiti', 'Haiti', 'HT', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(70, 'Hungary', 'Hungary', 'HU', '+36', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(71, 'Iceland', 'Iceland', 'IS', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(72, 'India', 'India', 'IN', '+91', 'indian-flag.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-09-02 12:47:08'),
(73, 'Ireland', 'Ireland', 'IE', '+353', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(74, 'Indonesia', 'Indonesia', 'ID', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(75, 'Iran', 'Iran', 'IR', '+98', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(76, 'Iraq', 'Iraq', 'IQ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(77, 'Israel', 'Israel', 'IL', '+972', 'Flag of Israel svg.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:30:21'),
(78, 'Italy', 'Italy', 'IT', '+39', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(79, 'Jamaica', 'Jamaica', 'JM', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(80, 'Japan', 'Japan', 'JP', '+81', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(81, 'Jordan', 'Jordan', 'JO', '+962', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(82, 'Kazakhstan', 'Kazakhstan', 'KZ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(83, 'Kenya', 'Kenya', 'KE', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(84, 'Kiribati', 'Kiribati', 'KI', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(85, 'Korea, (South) Republic of', 'Korea, (South) Republic of', 'KR', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(86, 'Kosovo', 'Kosovo', 'KV', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(87, 'Kuwait', 'Kuwait', 'KW', '+965', 'Flag of Kuwait svg.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:27:10'),
(88, 'Latvia', 'Latvia', 'LV', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(89, 'Lebanon', 'Lebanon', 'LB', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(90, 'Lesotho', 'Lesotho', 'LS', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(91, 'Liberia', 'Liberia', 'LR', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(92, 'Libya', 'Libya', 'LY', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(93, 'Lithuania', 'Lithuania', 'LT', '+370', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(94, 'Luxembourg', 'Luxembourg', 'LU', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(95, 'Madagascar', 'Madagascar', 'MG', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(96, 'Malaysia', 'Malaysia', 'MY', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(97, 'Maldives', 'Maldives', 'MV', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(98, 'Mexico', 'Mexico', 'MX', '+52', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(99, 'Mongolia', 'Mongolia', 'MN', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(100, 'Morocco', 'Morocco', 'MA', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(101, 'Namibia', 'Namibia', 'NA', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(102, 'Nepal', 'Nepali', 'NP', '+977', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(103, 'Netherlands', 'Netherlands', 'NL', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(104, 'New Zealand', 'New Zealand', 'NZ', '+64', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(105, 'Nigeria', 'Nigeria', 'NG', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(106, 'Norway', 'Norway', 'NO', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(107, 'Pakistan', 'Pakistani', 'PK', '+92', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(108, 'Papua New Guinea', 'Papua New Guinea', 'PG', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(109, 'Peru', 'Peru', 'PE', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(110, 'Poland', 'Poland', 'PL', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(111, 'Portugal', 'Portugal', 'PT', '+351', 'Flag of Portugal svg.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:34:28'),
(112, 'Qatar', 'Qatar', 'QA', '+974', 'istockphoto-1063898358-612x612.jpg', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:31:36'),
(113, 'Russia', 'Russia', 'RU', '+7', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(114, 'Saudi Arabia', 'Saudi', 'SA', '+966', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(115, 'Senegal', 'Senegal', 'SN', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(116, 'Singapore', 'Singapore', 'SG', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(117, 'Somalia', 'Somalia', 'SO', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(118, 'South Africa', 'South Africa', 'ZA', '+27', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(119, 'Spain', 'Spain', 'ES', '+34', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(120, 'Sudan', 'Sudan', 'SD', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(121, 'Sweden', 'Sweden', 'SE', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(122, 'Switzerland', 'Switzerland', 'CH', '+41', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(123, 'Taiwan', 'Taiwan', 'TW', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(124, 'Thailand', 'Thailand', 'TH', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(125, 'Togo', 'Togo', 'TG', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(126, 'Tunisia', 'Tunisia', 'TN', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(127, 'Turkey', 'Turkey', 'TR', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(128, 'Uganda', 'Uganda', 'UG', '+256', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(129, 'Ukraine', 'Ukraine', 'UK', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(130, 'United Arab Emirates', 'United Arab Emirates', 'AE', '+971', 'uae-flag.png', 'Y', 'Y', 1, 1, '2020-10-05 10:00:00', '2025-09-02 12:46:47'),
(131, 'United Kingdom', 'United Kingdom', 'UK', '+44', 'Flag of the United Kingdom  1-2  svg.png', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:33:27'),
(132, 'United States', 'United States', 'US', '+1', 'Flag of the United States svg.png', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(133, 'Uruguay', 'Uruguay', 'UY', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(134, 'Uzbekistan', 'Uzbekistan', 'UZ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(135, 'Venezuela', 'Venezuela', 'VE', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(136, 'Yemen', 'Yemen', 'YE', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(137, 'Zambia', 'Zambia', 'ZM', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(138, 'Zimbabwe', 'Zimbabwe', 'ZW', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(139, 'Slovak Republic', 'Slovak Republic', 'SR', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(140, 'Sultanate of Oman', 'Sultanate of Oman', 'OM', '+968', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(141, 'Turkmenistan', 'Turkmenistan', 'TM', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(142, 'Syria', 'Syria', 'SY', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(143, 'Mauritania', 'Mauritania', 'MU', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(144, 'Mozambique', 'Mozambique', 'MZ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(145, 'Sri Lanka', 'Sri Lanka', 'SL', '+94', 'istockphoto-1063902464-612x612.jpg', 'Y', 'N', 1, 1, '2020-10-05 10:00:00', '2025-06-09 11:29:24'),
(146, 'Tanzania', 'Tanzania', 'TZ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(147, 'Palestine', 'Palestine', 'PS', '+970', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(148, 'Vietnam', 'Vietnam', 'VN', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(149, 'Mauritius', 'Mauritius', 'MAU', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(150, 'Philippines', 'Filipino', 'PH', '', '', 'Y', 'N', 128, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(151, 'Croatia', 'Croatia', 'HR', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(152, 'Benin', 'Benin', 'BJ', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(153, 'Cyprus', 'Cyprus', 'CY', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(154, 'Kyrgyzstan', 'Kyrgyzstan', 'KG', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(155, 'Malawi', 'Malawi', 'MWI', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(156, 'Myanmar', 'Myanmar', 'MM', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(157, 'Romania', 'Romania', 'RO', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(158, 'Seychelles', 'Seychelles', 'SE', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(159, 'Trinidad & Tobago', 'Trinidad & Tobago', 'TT', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(160, 'Turkas & Caico Islands', 'Turkas & Caico Islands', 'TC', '', '', 'Y', 'N', 1, 0, '2020-10-05 10:00:00', '0000-00-00 00:00:00'),
(161, 'Monaco', 'Monaco', 'MO', '', '', 'Y', 'N', 2, 0, '2024-01-19 12:03:18', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_currency`
--

CREATE TABLE `erp_mas_currency` (
  `id` int(11) NOT NULL,
  `currency` varchar(255) NOT NULL,
  `currency_code` varchar(255) NOT NULL,
  `sub_label` varchar(255) NOT NULL,
  `currency_decimal` int(11) NOT NULL COMMENT 'used in accounts',
  `exchange_rate` float NOT NULL,
  `isBaseCurrency` enum('Y','N') NOT NULL COMMENT 'column is not using now',
  `default_usage` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `customer_ledger_id` int(11) NOT NULL COMMENT 'master from erp_acc_ledger',
  `supplier_ledger_id` int(11) NOT NULL COMMENT 'master from erp_acc_ledger',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_currency`
--

INSERT INTO `erp_mas_currency` (`id`, `currency`, `currency_code`, `sub_label`, `currency_decimal`, `exchange_rate`, `isBaseCurrency`, `default_usage`, `isActive`, `customer_ledger_id`, `supplier_ledger_id`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'UAE Dirham', 'AED', '', 2, 1, 'Y', 'Y', 'Y', 0, 0, 1, 8, '2025-04-29 09:38:40', '2025-06-25 10:00:36'),
(2, 'US Dollar', 'USD', '', 2, 3.685, 'N', 'N', 'Y', 0, 0, 1, 8, '2025-04-29 12:11:46', '2025-05-05 10:34:26'),
(3, 'Euro', 'EUR', '', 2, 4.15, 'N', 'N', 'Y', 0, 0, 1, 1, '2025-04-30 03:41:39', '2025-05-01 09:21:07'),
(4, 'GBP', 'GBP', '', 0, 5.04, 'N', 'N', 'Y', 0, 0, 8, 0, '2025-05-05 05:49:48', '0000-00-00 00:00:00'),
(6, 'Sbi', 'sbi001', '', 0, 1, 'N', 'N', 'N', 0, 0, 1, 1, '2025-07-16 04:42:10', '2025-07-16 04:43:12'),
(7, 'Currency1', 'C1', '', 0, 22.8, 'N', 'N', 'N', 0, 0, 1, 1, '2025-07-16 04:43:00', '2025-07-16 04:43:15');

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

--
-- Table structure for table `erp_mas_currency_exchange`
--

CREATE TABLE `erp_mas_currency_exchange` (
  `id` int(11) NOT NULL,
  `currency_code` varchar(50) NOT NULL,
  `AED` float NOT NULL,
  `USD` float NOT NULL,
  `Euro` float NOT NULL,
  `GHC` float NOT NULL,
  `GBP` float NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `INR` float DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_currency_exchange`
--

INSERT INTO `erp_mas_currency_exchange` (`id`, `currency_code`, `AED`, `USD`, `Euro`, `GHC`, `GBP`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`, `INR`) VALUES
(1, 'AED', 1, 0.27, 0.25, 4.19, 0.21, 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 22.73),
(2, 'USD', 3.67, 1, 0.92, 15.38, 0.78, 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 83.72),
(3, 'Euro', 3.98, 1.08, 1, 16.65, 0.85, 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 90.65),
(4, 'GHC', 0.24, 0.065, 0.06, 1, 0.05, 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 5.38),
(5, 'GBP', 0.21, 1.28, 1.18, 19.65, 1, 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0),
(15, 'INR', 0.044, 0, 0, 0, 0, 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1);

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

--
-- Table structure for table `erp_mas_document_type`
--

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

--
-- Dumping data for table `erp_mas_document_type`
--

INSERT INTO `erp_mas_document_type` (`id`, `document_type`, `isDefault`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Trade License', 'Y', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(2, 'Statement of Accounts', 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(3, 'ICV Certificate', 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(4, 'VAT Certificate', 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(5, 'Credit application form', 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(6, 'Cheque Scan Copy', 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(7, 'Customer EID/Passport/Power of Attorney', 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(8, 'Others', 'N', 'Y', 1, 2, '2024-01-01 06:00:00', '2024-01-05 10:58:10'),
(9, 'DFB Documents', 'N', 'Y', 2, 0, '2024-01-19 12:05:57', '0000-00-00 00:00:00'),
(10, 'ISO Certificate', 'N', 'Y', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_emirates_list`
--

CREATE TABLE `erp_mas_emirates_list` (
  `id` int(11) NOT NULL,
  `country_id` int(11) NOT NULL,
  `emirates_name` varchar(255) NOT NULL,
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `have_vat` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_emirates_list`
--

INSERT INTO `erp_mas_emirates_list` (`id`, `country_id`, `emirates_name`, `isDefault`, `have_vat`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 130, 'Abu Dhabi', 'N', 'Y', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(2, 130, 'Ajman', 'N', 'Y', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(3, 130, 'Sharjah', 'N', 'Y', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(4, 130, 'Dubai', 'Y', 'Y', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(5, 130, 'Fujairah', 'N', 'Y', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(6, 130, 'Umm Al Quwain', 'N', 'Y', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(7, 130, 'Ras Al Khaimah', 'N', 'Y', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(8, 130, 'Freezone', 'N', 'Y', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(9, 130, 'Other', 'N', 'N', 30, 0, '2020-10-05 10:00:00', '2020-10-05 10:00:00');

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

--
-- Table structure for table `erp_mas_employee_type`
--

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

--
-- Dumping data for table `erp_mas_employee_type`
--

INSERT INTO `erp_mas_employee_type` (`id`, `employee_type_name`, `da_per_hour`, `ot_per_hour`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 'Trainee', '0', '0', 1, '2020-10-05 10:00:00', 1, '2020-10-05 10:00:00', 'Y'),
(2, 'Operator', '15', '15', 1, '2020-10-05 10:00:00', 1, '2020-10-05 10:00:00', 'Y'),
(3, 'Spray Man', '30', '30', 1, '2020-10-05 10:00:00', 0, '2020-10-05 10:00:00', 'Y');

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

--
-- Table structure for table `erp_mas_erp_notification`
--

CREATE TABLE `erp_mas_erp_notification` (
  `id` int(11) NOT NULL,
  `reference_no` varchar(100) NOT NULL,
  `user_ids` varchar(100) NOT NULL,
  `notes` text NOT NULL,
  `notification_type` int(11) NOT NULL,
  `notification_date_time` datetime NOT NULL,
  `status` enum('O','S','C') NOT NULL DEFAULT 'O',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_erp_notification`
--

INSERT INTO `erp_mas_erp_notification` (`id`, `reference_no`, `user_ids`, `notes`, `notification_type`, `notification_date_time`, `status`, `created_by`, `created_date_time`) VALUES
(7, 'REF123', '8,9', 'T1', 3, '2025-06-27 14:45:00', 'O', 1, '2025-06-26 17:41:30'),
(8, 'Ref124', '8', 'test', 1, '2025-06-27 14:30:00', 'C', 1, '2025-06-26 17:58:05'),
(9, '124', '8', 'Test', 3, '2025-07-01 13:38:00', 'C', 1, '2025-07-01 13:39:02'),
(10, '1456', '8', '..', 12, '2025-07-03 08:38:00', 'O', 1, '2025-07-03 08:38:48'),
(11, '778', '5,8', 'Issued from ', 14, '2025-07-03 08:41:00', 'O', 1, '2025-07-03 08:41:51'),
(12, 'BT101', '5', '..', 15, '2025-07-09 09:01:00', 'O', 5, '2025-07-09 09:01:58'),
(13, 'BT102', '5', 'BT', 6, '2025-07-09 09:04:00', 'O', 5, '2025-07-09 09:04:30'),
(14, 'BD100', '5,8,9', 'Delivery Pending', 6, '2025-07-09 09:12:00', 'C', 5, '2025-07-09 09:12:37'),
(15, '-', '8', 'T1', 7, '2025-07-09 09:55:00', 'C', 8, '2025-07-09 09:56:05'),
(16, 'REf001', '13', 'Testing', 2, '2025-09-29 14:27:00', 'O', 1, '2025-09-29 14:28:13');

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

--
-- Table structure for table `erp_mas_favourite`
--

CREATE TABLE `erp_mas_favourite` (
  `id` int(11) NOT NULL,
  `favourites` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_favourite`
--

INSERT INTO `erp_mas_favourite` (`id`, `favourites`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(33, '{\"customer_add\":1,\"quotes_add\":1,\"order_add\":1,\"delivery_add\":1,\"invoice_add\":1,\"credit_add\":1,\"stock_view\":1,\"mov_issue_view\":1,\"mov_receipt_view\":1,\"vendor_add\":1,\"requisition_add\":1,\"enquiry_add\":1,\"purchase_order_add\":1,\"purchase_material_view\":1,\"purchase_qc_view\":1,\"purchase_invoice_view\":1,\"pur_debitnote_view\":1,\"report_sale_lead_view\":1,\"report_sale_quotes_view\":1,\"report_sale_order_view\":1,\"report_sale_delivery_view\":1,\"report_sale_invoice_view\":1,\"report_sale_creditnote_view\":1,\"report_sale_datewisesales_view\":1,\"report_sale_daybook_view\":1,\"report_sale_delivertoinvoice_view\":1,\"report_sale_grossprofit_view\":1,\"report_sale_ordertodeliver_view\":1,\"sales_items_by_brand\":1,\"report_sale_netsales_view\":1,\"report_currentstock_view\":1,\"report_directtransfer_view\":1,\"report_inv_stock_transn_view\":1,\"report_inv_transdetail_view\":1,\"report_inv_warehouse_stock\":1}', 8, 8, '2025-05-01 11:50:57', '2025-05-06 15:22:02'),
(34, '{\"sales_check_all\":1,\"customer_add\":1,\"quotes_add\":1,\"order_add\":1,\"delivery_add\":1,\"invoice_add\":1,\"credit_add\":1,\"sales_reports_view\":1,\"stock_view\":1,\"vendor_add\":1,\"purchase_order_add\":1,\"purchase_material_receipt_edit\":1,\"purchase_quality_check_edit\":1,\"purchase_invoice_edit\":1}', 1, 1, '2025-05-02 14:42:28', '2025-05-06 11:16:43');

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

--
-- Table structure for table `erp_mas_footer_items`
--

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

--
-- Dumping data for table `erp_mas_footer_items`
--

INSERT INTO `erp_mas_footer_items` (`id`, `sales_purchase_type`, `account_id`, `subledger_id`, `item_type`, `item_name`, `description`, `tax_id`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 2, 45, NULL, 1, 'Transport Charges', 'Transport Charges - PA', 1, 'Y', 30, '2020-10-05 10:00:00', 1, '2020-11-06 03:59:15'),
(2, 2, 45, NULL, 1, 'Customs Duties', 'Customs Duties - PA', 1, 'Y', 30, '2020-10-05 10:00:00', 30, '2020-10-05 10:00:00'),
(3, 2, 43, NULL, 2, 'Discount', 'Discount - PD', 1, 'Y', 30, '2020-10-05 10:00:00', 30, '2020-10-05 10:00:00'),
(4, 2, 43, NULL, 2, 'Round Off', 'Round Off - PD', 1, 'Y', 30, '2020-10-05 10:00:00', 30, '2020-10-05 10:00:00'),
(5, 1, 43, NULL, 1, 'Transport Charges', 'Transport Charges - SA', 1, 'Y', 30, '2020-10-05 10:00:00', 30, '2020-10-05 10:00:00'),
(6, 1, 0, NULL, 1, 'Bank Charges', 'Bank Charges - SA', 1, 'Y', 30, '2020-10-05 10:00:00', 2, '2023-12-16 12:05:28'),
(7, 1, 0, NULL, 1, 'Customs Duties', 'Customs Duties - SA', 1, 'Y', 30, '2020-10-05 10:00:00', 2, '2023-12-15 05:13:09'),
(8, 1, 43, NULL, 1, 'Handling Charges', 'Handling Charges - SA', 1, 'Y', 30, '2020-10-05 10:00:00', 30, '2020-10-05 10:00:00'),
(9, 1, 45, NULL, 2, 'Discount', 'Discount - SD', 1, 'Y', 30, '2020-10-05 10:00:00', 30, '2020-10-05 10:00:00'),
(10, 1, 45, NULL, 2, 'Project & Special Discount', 'Project & Special Discount - SD', 1, 'Y', 30, '2020-10-05 10:00:00', 30, '2020-10-05 10:00:00'),
(11, 1, 43, NULL, 1, 'Round Off', 'Round  off - SA', 1, 'Y', 30, '2020-10-05 10:00:00', 0, '2020-10-05 10:00:00'),
(12, 2, 0, 0, 1, 'VAT', 'VAT', 1, 'Y', 30, '2020-10-05 10:00:00', 0, '2020-10-05 10:00:00'),
(13, 2, 0, 0, 1, 'Charges', 'Charges', 1, 'Y', 1, '2020-10-05 10:00:00', 2, '2023-11-07 10:50:28'),
(14, 2, 0, 0, 1, 'Round Off', 'Round off', 1, 'Y', 1, '2020-10-05 10:00:00', 1, '2020-10-05 10:00:00'),
(15, 1, 0, 0, 2, 'Handling Charges', 'Handling Charges', 1, 'Y', 1, '2020-10-05 10:00:00', 0, '2020-10-05 10:00:00'),
(16, 1, 0, 0, 1, 'Without tax Transport', '', 2, 'Y', 1, '0000-00-00 00:00:00', 0, '2020-11-06 04:02:49');

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

--
-- Table structure for table `erp_mas_inco_term`
--

CREATE TABLE `erp_mas_inco_term` (
  `id` int(11) NOT NULL,
  `inco_name` varchar(225) NOT NULL,
  `isDefault` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_inco_term`
--

INSERT INTO `erp_mas_inco_term` (`id`, `inco_name`, `isDefault`, `isActive`, `created_by`, `created_datetime`, `updated_by`, `updated_date_time`) VALUES
(1, 'EXW (Ex Works) Ramfoam DIP2', 'Y', 'Y', 8, '2025-05-29 12:15:18', 0, '0000-00-00 00:00:00'),
(2, 'FCA (Free Carrier)', 'N', 'Y', 8, '2025-05-29 12:23:03', 0, '0000-00-00 00:00:00'),
(3, 'CPT (Carriage Paid To)', 'N', 'Y', 8, '2025-05-29 12:23:13', 0, '0000-00-00 00:00:00'),
(4, 'CIP (Carriage and Insurance Paid To)', 'N', 'Y', 8, '2025-05-29 12:23:22', 0, '0000-00-00 00:00:00'),
(5, 'DAP (Delivered at Place)', 'N', 'Y', 8, '2025-05-29 12:23:31', 0, '0000-00-00 00:00:00'),
(6, 'DPU (Delivered at Place Unloaded)', 'N', 'Y', 8, '2025-05-29 12:23:40', 0, '0000-00-00 00:00:00'),
(7, 'DDP (Delivered Duty Paid)', 'N', 'Y', 8, '2025-05-29 12:23:49', 0, '0000-00-00 00:00:00'),
(8, 'FAS (Free Alongside Ship)', 'N', 'Y', 8, '2025-05-29 12:23:59', 0, '0000-00-00 00:00:00'),
(9, 'FOB (Free On Board)', 'N', 'Y', 8, '2025-05-29 12:24:07', 0, '0000-00-00 00:00:00'),
(10, 'CFR (Cost and Freight)', 'N', 'Y', 8, '2025-05-29 12:24:21', 0, '0000-00-00 00:00:00'),
(11, 'CIF (Cost, Insurance and Freight)', 'N', 'Y', 8, '2025-05-29 12:24:31', 0, '0000-00-00 00:00:00'),
(12, 'EXW (Ex Works) SKB USA', 'N', 'Y', 8, '2025-06-02 04:02:20', 0, '0000-00-00 00:00:00'),
(13, 'EXW (Ex Works) Ramfoam UK', 'N', 'Y', 8, '2025-06-02 04:02:37', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_industry`
--

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

--
-- Dumping data for table `erp_mas_industry`
--

INSERT INTO `erp_mas_industry` (`id`, `name`, `description`, `isActive`, `is_base_industry`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Clinics', 'EPC', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(2, 'Pharmacy', 'Fire Proofing', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(3, 'Private Hospitals', 'Grouting', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(4, 'Veterinary Trading', 'Marine', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(5, 'Schools', 'Material Mfg', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(6, 'Colleges', 'Mining', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(7, 'Universities', 'Piling', 'Y', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(8, 'Plastering', 'Plastering', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(9, 'Screeding', 'Screeding', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(10, 'Shotcrete / Gunite', 'Shotcrete / Gunite', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(11, 'Traders', 'Trader', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(12, 'General Stores', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(13, 'Others', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(14, 'Public Hospitals', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(15, 'Veterinary Clinic', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(16, 'Veterinary Pharmacy', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(17, 'Beauty Center', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(18, 'Medical Center', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(19, 'Website Order - Customer', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(20, 'Government', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(21, 'E-Commerce', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(22, 'International Customer', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(23, 'Hotels', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(24, 'Semi Government', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(25, 'Construction Company', '', 'Y', 'N', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(28, 'Studios', '', 'Y', 'N', 8, 0, '2025-05-26 09:20:22', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_inventory_item_type`
--

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

--
-- Dumping data for table `erp_mas_inventory_item_type`
--

INSERT INTO `erp_mas_inventory_item_type` (`id`, `item_type`, `ledger_id`, `isActive`, `isDefault`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'Stock', 132, 'Y', 'Y', 0, '2025-04-30 06:33:44', 1, '2025-05-01 12:12:24'),
(2, 'Service', 233, 'Y', 'N', 0, '2025-04-30 06:33:44', 1, '2025-05-01 12:12:20'),
(3, 'Raw Material', 0, 'Y', 'N', 0, '2025-04-30 06:34:14', 0, '2025-04-30 06:34:14'),
(4, 'Equipments', 0, 'Y', 'N', 0, '2025-04-30 06:34:14', 0, '2025-04-30 06:34:14');

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

--
-- Table structure for table `erp_mas_inventory_stock_adjustment_type`
--

CREATE TABLE `erp_mas_inventory_stock_adjustment_type` (
  `id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `code` varchar(25) NOT NULL,
  `type` enum('N','R','I') NOT NULL COMMENT 'N=none ,R = receipt, I =issue',
  `ledger_id` int(11) NOT NULL,
  `subledger_id` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_inventory_stock_adjustment_type`
--

INSERT INTO `erp_mas_inventory_stock_adjustment_type` (`id`, `description`, `code`, `type`, `ledger_id`, `subledger_id`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Job Order', 'N', 'I', 0, 0, 'Y', 1, 0, '2023-02-02 10:06:38', '0000-00-00 00:00:00'),
(2, 'Damage', 'D', 'I', 409, 0, 'Y', 1, 2, '2023-02-02 10:06:46', '2023-02-28 03:29:06'),
(3, 'Near Expiry', 'E', 'I', 0, 0, 'N', 1, 0, '2023-02-02 10:06:55', '0000-00-00 00:00:00'),
(4, 'Missing', 'M', 'I', 424, 0, 'N', 1, 2, '2023-02-02 10:07:01', '2023-04-03 11:40:18'),
(5, 'Loss', 'L', 'I', 0, 0, 'N', 1, 0, '2023-02-02 10:07:08', '0000-00-00 00:00:00'),
(6, 'Sample', 'S', 'I', 387, 0, 'N', 1, 2, '2023-02-02 10:07:16', '2023-02-28 03:22:57'),
(7, 'Job Order', 'N', 'R', 0, 0, 'Y', 1, 1, '2023-02-02 02:46:51', '2023-02-02 03:19:48'),
(8, 'Damage', 'D', 'R', 0, 0, 'Y', 1, 0, '2023-02-02 02:47:10', '0000-00-00 00:00:00'),
(9, 'Near Expiry', 'E', 'R', 0, 0, 'N', 1, 0, '2023-02-02 02:47:32', '0000-00-00 00:00:00'),
(10, 'Production Order', 'PRO', 'R', 0, 0, 'Y', 1, 0, '2023-02-02 02:47:44', '0000-00-00 00:00:00'),
(11, 'Loss', 'L', 'R', 0, 0, 'Y', 1, 0, '2023-02-02 02:47:57', '0000-00-00 00:00:00'),
(12, 'Sample', 'S', 'R', 0, 0, 'N', 1, 1, '2023-02-02 02:52:25', '2023-02-02 03:02:17'),
(13, 'Production Order', 'PR', 'I', 0, 0, 'Y', 1, 0, '2023-02-02 02:47:44', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_inventory_stock_adjustment_type_30_06_2025`
--

CREATE TABLE `erp_mas_inventory_stock_adjustment_type_30_06_2025` (
  `id` int(11) NOT NULL,
  `description` varchar(255) NOT NULL,
  `code` varchar(25) NOT NULL,
  `type` enum('N','R','I') NOT NULL COMMENT 'N=none ,R = receipt, I =issue',
  `ledger_id` int(11) NOT NULL,
  `subledger_id` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_inventory_stock_adjustment_type_30_06_2025`
--

INSERT INTO `erp_mas_inventory_stock_adjustment_type_30_06_2025` (`id`, `description`, `code`, `type`, `ledger_id`, `subledger_id`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Job Order', 'N', 'I', 0, 0, 'Y', 1, 0, '2023-02-02 10:06:38', '0000-00-00 00:00:00'),
(2, 'Damage', 'D', 'I', 409, 0, 'Y', 1, 2, '2023-02-02 10:06:46', '2023-02-28 03:29:06'),
(3, 'Near Expiry', 'E', 'I', 0, 0, 'N', 1, 0, '2023-02-02 10:06:55', '0000-00-00 00:00:00'),
(4, 'Missing', 'M', 'I', 424, 0, 'N', 1, 2, '2023-02-02 10:07:01', '2023-04-03 11:40:18'),
(5, 'Loss', 'L', 'I', 0, 0, 'N', 1, 0, '2023-02-02 10:07:08', '0000-00-00 00:00:00'),
(6, 'Sample', 'S', 'I', 387, 0, 'N', 1, 2, '2023-02-02 10:07:16', '2023-02-28 03:22:57'),
(7, 'Job Order', 'N', 'R', 0, 0, 'Y', 1, 1, '2023-02-02 02:46:51', '2023-02-02 03:19:48'),
(8, 'Damage', 'D', 'R', 0, 0, 'Y', 1, 0, '2023-02-02 02:47:10', '0000-00-00 00:00:00'),
(9, 'Near Expiry', 'E', 'R', 0, 0, 'N', 1, 0, '2023-02-02 02:47:32', '0000-00-00 00:00:00'),
(10, 'Missing', 'M', 'R', 0, 0, 'N', 1, 0, '2023-02-02 02:47:44', '0000-00-00 00:00:00'),
(11, 'Loss', 'L', 'R', 0, 0, 'Y', 1, 0, '2023-02-02 02:47:57', '0000-00-00 00:00:00'),
(12, 'Sample', 'S', 'R', 0, 0, 'N', 1, 1, '2023-02-02 02:52:25', '2023-02-02 03:02:17');

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

--
-- Table structure for table `erp_mas_invoice_status`
--

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

--
-- Dumping data for table `erp_mas_invoice_status`
--

INSERT INTO `erp_mas_invoice_status` (`id`, `status`, `status_code`, `isDefault`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'InvoiceCreated', 'O', 'Y', 'Y', 1, '2021-06-11 00:00:00', 3, '2022-05-30 05:07:28'),
(2, 'Delayed', 'D', 'N', 'Y', 1, '2021-06-28 00:00:00', 1, '2021-07-08 10:25:27'),
(13, 'Closed', 'C', 'N', 'Y', 2, '2023-12-16 11:49:49', 0, '0000-00-00 00:00:00'),
(6, 'Not Paid', 'N', 'N', 'Y', 3, '2022-05-30 05:06:08', 0, '0000-00-00 00:00:00'),
(7, 'Waiting for Delivery ', 'D', 'N', 'Y', 3, '2022-05-30 05:07:05', 0, '0000-00-00 00:00:00'),
(10, 'test1', 't', 'N', 'Y', 1, '2023-09-01 10:12:01', 1, '2023-09-04 01:38:02');

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

--
-- Table structure for table `erp_mas_invoice_type`
--

CREATE TABLE `erp_mas_invoice_type` (
  `id` int(11) NOT NULL,
  `inv_type` varchar(255) NOT NULL,
  `inv_name` varchar(255) NOT NULL,
  `tax` enum('Y','N') NOT NULL DEFAULT 'Y',
  `account_no` int(11) NOT NULL COMMENT 'primary key of crm_fin_accounts',
  `sales_purchase_account_no` int(11) NOT NULL,
  `inv_code` varchar(255) NOT NULL,
  `start_serial_no` int(11) NOT NULL,
  `current_serial_no` int(11) NOT NULL,
  `cn_start_serial_no` int(11) NOT NULL,
  `cn_current_serial_no` int(11) NOT NULL,
  `warehouse_id` varchar(255) NOT NULL,
  `is_default` enum('Y','N') NOT NULL DEFAULT 'N',
  `default_code` enum('','PL','SL') NOT NULL COMMENT 'PL->Purchase Local,SL->Sales Local',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_invoice_type`
--

INSERT INTO `erp_mas_invoice_type` (`id`, `inv_type`, `inv_name`, `tax`, `account_no`, `sales_purchase_account_no`, `inv_code`, `start_serial_no`, `current_serial_no`, `cn_start_serial_no`, `cn_current_serial_no`, `warehouse_id`, `is_default`, `default_code`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'sales', 'Taxable 5%', 'Y', 0, 0, 'TI', 500001, 500001, 200001, 0, '1,2', 'Y', '', 30, 30, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(2, 'sales', 'Non - Taxable', 'N', 0, 0, 'NT', 800001, 800001, 300001, 0, '1,2', 'N', '', 30, 30, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(4, 'purchase', 'Taxable 5%', 'Y', 0, 0, 'PL', 200001, 0, 800001, 800074, '0', 'Y', '', 30, 30, '2020-10-05 10:00:00', '2020-10-05 10:00:00'),
(6, 'purchase', 'Non - Taxable', 'N', 0, 0, 'PI', 300001, 0, 500001, 500001, '1', 'N', '', 30, 30, '2020-10-05 10:00:00', '2020-10-05 10:00:00');

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

--
-- Table structure for table `erp_mas_inv_bin`
--

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

--
-- Dumping data for table `erp_mas_inv_bin`
--

INSERT INTO `erp_mas_inv_bin` (`id`, `bin_name`, `rack_id`, `isActive`, `is_base_bin`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Damage', 1, 'Y', 'N', 2, 0, '2024-01-03 09:41:39', NULL),
(2, 'None', 2, 'Y', 'Y', 1, 0, '2025-04-30 09:49:17', NULL),
(3, 'Bin 2', 3, 'Y', 'N', 1, 0, '2025-04-30 11:13:45', NULL),
(4, 'Bearings', 6, 'N', 'N', 8, 0, '2025-05-26 11:56:50', NULL);

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

--
-- Table structure for table `erp_mas_inv_brand`
--

CREATE TABLE `erp_mas_inv_brand` (
  `id` int(11) NOT NULL,
  `brand_name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `is_default` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_inv_brand`
--

INSERT INTO `erp_mas_inv_brand` (`id`, `brand_name`, `description`, `is_default`, `isActive`) VALUES
(1, 'Al Danube Bldg Materials', '', 'N', 'Y'),
(2, 'Al Ostath Trading Est.', '', 'N', 'Y'),
(3, 'Alanto Ltd', '', 'N', 'Y'),
(4, 'Anoop Singh Bahra', '', 'N', 'Y'),
(5, 'Anoop Singh Bahra Trading Co. LLC', '', 'N', 'Y'),
(6, 'Arabian Extrusions Factory', '', 'N', 'Y'),
(7, 'CMT Orange Tools', '', 'N', 'Y'),
(8, 'Danube', '', 'N', 'Y'),
(9, 'Delon', '', 'N', 'Y'),
(10, 'Dutim Timber Trading', '', 'N', 'Y'),
(11, 'Greenlam Laminates', '', 'N', 'Y'),
(12, 'Kallegra Industries LLC', '', 'N', 'Y'),
(13, 'Lumber World', '', 'N', 'Y'),
(14, 'Madeenat Khalifa Bldg Material Trading', '', 'N', 'Y'),
(15, 'Marcital', '', 'N', 'Y'),
(16, 'Marker Trading FZCO', '', 'N', 'Y'),
(17, 'Meaptashi Co Ltd', '', 'N', 'Y'),
(18, 'M-Three Building Materials Co. LLC', '', 'N', 'Y'),
(19, 'Ontides International FZC', '', 'N', 'Y'),
(20, 'Others', '', 'N', 'Y'),
(21, 'Penn Elcom', '', 'N', 'Y'),
(22, 'Plycom', '', 'N', 'Y'),
(23, 'Ramfoam Engineering Innovation', '', 'N', 'Y'),
(24, 'Ramfoam Limited', '', 'N', 'Y'),
(25, 'Ramfoam Ltd', '', 'N', 'Y'),
(26, 'Rolltek', '', 'N', 'Y'),
(27, 'Segezha', '', 'N', 'Y'),
(28, 'SKB Cases', '', 'N', 'Y'),
(29, 'SKB Corporation', '', 'N', 'Y'),
(30, 'Wuxi Mayshee', '', 'N', 'Y'),
(31, 'None', '', 'Y', 'Y'),
(32, 'Carrefour', '', 'N', 'Y'),
(33, 'Boat', '', 'N', 'N');

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

--
-- Table structure for table `erp_mas_inv_item_color`
--

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

--
-- Dumping data for table `erp_mas_inv_item_color`
--

INSERT INTO `erp_mas_inv_item_color` (`id`, `color_name`, `isActive`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'Green', 'Y', 2, '2022-09-28 10:31:18', 2, '2022-09-28 11:07:21'),
(2, 'Red', 'Y', 2, '2022-09-28 10:32:26', 0, '0000-00-00 00:00:00'),
(3, 'None', 'Y', 2, '2022-09-28 11:23:58', 2, '2022-09-28 11:24:11'),
(4, 'Lavender', 'Y', 2, '2022-10-04 12:33:26', 0, '0000-00-00 00:00:00'),
(5, 'Vanilla', 'Y', 2, '2022-10-04 12:38:46', 0, '0000-00-00 00:00:00'),
(6, 'Lemon', 'Y', 2, '2022-10-04 12:38:56', 0, '0000-00-00 00:00:00'),
(7, 'Black', 'Y', 2, '2022-10-04 12:39:09', 0, '0000-00-00 00:00:00'),
(8, 'White', 'Y', 2, '2022-10-04 12:39:21', 0, '0000-00-00 00:00:00'),
(9, 'Yellow', 'Y', 2, '2022-10-04 12:42:06', 0, '0000-00-00 00:00:00'),
(10, 'Blue', 'Y', 2, '2022-10-04 12:42:35', 0, '0000-00-00 00:00:00'),
(11, 'Chilli', 'Y', 2, '2022-10-04 12:43:36', 0, '0000-00-00 00:00:00'),
(12, 'Light ', 'Y', 2, '2022-10-04 12:51:41', 0, '0000-00-00 00:00:00'),
(13, 'Dark', 'Y', 2, '2022-10-04 12:51:49', 0, '0000-00-00 00:00:00'),
(14, 'Brown', 'Y', 2, '2022-10-04 12:52:50', 0, '0000-00-00 00:00:00'),
(15, 'Pink', 'Y', 2, '2022-10-04 13:44:33', 0, '0000-00-00 00:00:00'),
(16, 'Orange', 'Y', 2, '2022-10-04 13:51:52', 0, '0000-00-00 00:00:00'),
(17, 'Clear', 'Y', 2, '2022-10-04 14:00:05', 0, '0000-00-00 00:00:00'),
(18, 'Silver', 'Y', 2, '2022-10-04 14:10:16', 0, '0000-00-00 00:00:00'),
(19, 'Silver Glitter', 'Y', 2, '2022-10-04 14:11:05', 0, '0000-00-00 00:00:00'),
(20, 'Gold Glitter', 'Y', 2, '2022-10-04 14:11:15', 0, '0000-00-00 00:00:00'),
(21, 'Gold ', 'Y', 2, '2022-10-04 14:11:28', 0, '0000-00-00 00:00:00'),
(22, 'Rose Gold', 'Y', 2, '2022-10-04 14:11:36', 0, '0000-00-00 00:00:00'),
(23, 'Golden', 'Y', 2, '2022-10-04 14:25:18', 0, '0000-00-00 00:00:00'),
(24, 'Cream', 'Y', 2, '2022-10-04 14:25:32', 0, '0000-00-00 00:00:00'),
(25, 'Chicken Biryani', 'Y', 2, '2022-10-04 14:25:55', 0, '0000-00-00 00:00:00'),
(26, 'Mutton Biryani', 'Y', 2, '2022-10-04 14:26:19', 0, '0000-00-00 00:00:00'),
(27, 'Harees', 'Y', 2, '2022-10-04 14:26:32', 0, '0000-00-00 00:00:00'),
(28, 'Luqaimat', 'Y', 2, '2022-10-04 14:26:44', 0, '0000-00-00 00:00:00'),
(29, 'Bon Appetit', 'Y', 2, '2022-10-04 14:27:00', 0, '0000-00-00 00:00:00'),
(30, 'Star', 'Y', 2, '2022-10-04 14:43:33', 0, '0000-00-00 00:00:00'),
(31, 'Flags', 'Y', 2, '2022-10-04 14:43:54', 0, '0000-00-00 00:00:00'),
(32, 'Chakras', 'Y', 2, '2022-10-04 14:44:17', 0, '0000-00-00 00:00:00'),
(33, 'Purple', 'Y', 2, '2022-10-04 17:46:46', 0, '0000-00-00 00:00:00'),
(34, 'black / clear', 'Y', 2, '2022-10-11 19:14:57', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_inv_rack`
--

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

--
-- Dumping data for table `erp_mas_inv_rack`
--

INSERT INTO `erp_mas_inv_rack` (`id`, `rack_name`, `total_bins`, `warehouse_id`, `isActive`, `is_base_rack`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'None', 0, 2, 'Y', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(2, 'R01', 0, 1, 'Y', 'N', 1, 0, '2025-04-30 03:01:11', '0000-00-00 00:00:00'),
(3, 'R02', 0, 1, 'Y', 'N', 1, 0, '2025-04-30 03:01:25', '0000-00-00 00:00:00'),
(4, 'R00', 0, 1, 'Y', 'N', 8, 0, '2025-05-03 09:41:16', '0000-00-00 00:00:00'),
(5, 'First Hand', 0, 3, 'N', 'N', 8, 0, '2025-05-26 11:34:52', '0000-00-00 00:00:00'),
(6, 'Second Hand', 0, 3, 'N', 'N', 8, 0, '2025-05-26 11:54:02', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_mas_inv_tax`
--

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

--
-- Dumping data for table `erp_mas_inv_tax`
--

INSERT INTO `erp_mas_inv_tax` (`id`, `tax_code`, `percentage`, `isDefault`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'VAT 5%', '5', 'Y', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00'),
(2, 'Non-Taxable', '0', 'N', 'Y', 1, 1, '2024-01-01 06:00:00', '2024-01-01 06:00:00');

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

--
-- Table structure for table `erp_mas_inv_unit`
--

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

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

--
-- Table structure for table `erp_mas_inv_warehouse`
--

CREATE TABLE `erp_mas_inv_warehouse` (
  `id` int(11) NOT NULL,
  `warehouse_name` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isBaseWareHouse` enum('Y','N') NOT NULL DEFAULT 'N',
  `start_series_no` int(11) NOT NULL,
  `current_series_no` int(11) NOT NULL,
  `warehouse_code` varchar(255) NOT NULL,
  `handled_by` int(11) NOT NULL,
  `warehouse_password` varchar(255) NOT NULL,
  `notes` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_mas_inv_warehouse`
--

INSERT INTO `erp_mas_inv_warehouse` (`id`, `warehouse_name`, `isActive`, `isBaseWareHouse`, `start_series_no`, `current_series_no`, `warehouse_code`, `handled_by`, `warehouse_password`, `notes`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Warehouse 1', 'Y', 'Y', 40001, 40001, 'WH1', 0, '', '', 1, 1, '2024-01-01 06:00:00', '2025-04-29 00:00:00'),
(2, 'Damage', 'Y', 'N', 0, 0, 'DAM', 0, '', '', 1, 1, '2024-01-01 06:00:00', '2024-10-29 00:00:00'),
(4, 'Warehouse 2', 'Y', 'N', 0, 0, '', 0, '', '', 1, 0, '2025-06-05 09:10:09', '0000-00-00 00:00:00'),
(5, 'Hiring', 'Y', 'N', 0, 0, '', 0, '', '', 1, 0, '2025-10-03 03:15:53', '0000-00-00 00:00:00'),
(6, 'In Transit', 'Y', 'N', 0, 0, 'TRAN', 0, '', '', 0, 0, '2025-10-03 15:01:21', '2025-10-03 15:01:21'),
(7, 'Missing', 'Y', 'N', 0, 0, 'MIS', 0, '', '', 0, 0, '2025-10-03 15:01:21', '2025-10-03 15:01:21');

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Dumping data for table `erp_mas_maintainance_service`
--

INSERT INTO `erp_mas_maintainance_service` (`id`, `garage_name`, `vehicle_name`, `planned_date`, `odometer_reading`, `estimated_cost`, `total_cost`, `service_status`, `isActive`, `updated_by`, `updated_date_time`, `created_by`, `created_date_time`, `sheduled_date_time`, `maintainance_master_id`, `current_employee_id`) VALUES
(1, 'Easy Clean', '5', '2025-09-03 00:00:00', 15462, 0.00, 1650, '2', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-09-03 00:00:00', 0, 3),
(2, 'PowerDrive Workshop', '4', '2025-09-02 00:00:00', 15462, 0.00, 1000, '', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-09-02 09:30:00', 0, 2),
(3, 'Rapid Repair Hub', '1', '2025-09-02 00:00:00', 35426, 0.00, 1030, '10', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-09-02 09:00:00', 0, 1),
(4, 'Reliable Wheels Service', '2', '2025-09-01 10:00:00', 25893, 0.00, 550, '4', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-09-02 13:04:00', 0, 3),
(5, 'MotorMax Workshop', '3', '2025-09-02 11:00:00', 24923, 0.00, 3150, '2', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-09-02 09:00:00', 0, 2);

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

--
-- Table structure for table `erp_mas_maintainance_service_03092025`
--

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

--
-- Dumping data for table `erp_mas_maintainance_service_03092025`
--

INSERT INTO `erp_mas_maintainance_service_03092025` (`id`, `garage_name`, `vehicle_name`, `planned_date`, `odometer_reading`, `estimated_cost`, `total_cost`, `service_status`, `isActive`, `updated_by`, `updated_date_time`, `created_by`, `created_date_time`, `sheduled_date_time`, `maintainance_master_id`, `current_employee_id`) VALUES
(21, 'MotoGarages', '5', '2025-08-01 09:00:00', 28542, 600.00, 600, '1', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-08-02 15:00:00', 0, 0),
(22, 'Perfect-Clean', '1', '2025-11-01 00:00:00', 12569, 1000.00, 1620, '6', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-12-12 17:00:00', 0, 0),
(23, 'Easy Clean', '2', '2025-12-01 21:00:00', 12563, 2000.00, 5857.14, '2', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-08-01 16:00:00', 0, 0),
(24, 'Perfect-Clean', '4', '2025-12-05 11:57:00', 32548, 5000.00, 906.5, '5', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-08-15 16:00:00', 0, 3),
(25, 'Easy Clean', '3', '2025-09-02 00:00:00', 24568, 0.00, 4000, '1', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-09-04 00:00:00', 0, 0),
(26, 'Expert', '4', '2025-09-03 00:00:00', 0, 0.00, 1000, '10', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-09-04 00:00:00', 0, 3),
(27, 'Easy Clean', '4', '2025-09-05 00:00:00', 35426, 0.00, 850, '10', 'Y', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', '2025-09-05 00:00:00', 0, 3);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Dumping data for table `erp_mas_outlet`
--

INSERT INTO `erp_mas_outlet` (`id`, `outlet_name`, `current_invoice_no`, `abbrevation`, `warehouse_id`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 'Oman', 41000011, '', 0, 'Y', 2, 0, '2024-01-04 10:09:30', '0000-00-00 00:00:00'),
(2, 'Dubai', 42000001, '', 0, 'Y', 2, 0, '2024-01-04 10:09:51', '0000-00-00 00:00:00'),
(3, 'Abu Dhabi', 43000001, '', 0, 'Y', 2, 0, '2024-01-19 11:50:30', '0000-00-00 00:00:00');

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
