3 -- http://www.phpmyadmin.net
6 -- Generation Time: Apr 04, 2008 at 01:04 PM
7 -- Server version: 5.0.45
11 -- Database: `en_US-demo.sql, release 2.0`
14 -- --------------------------------------------------------
17 -- Table structure for table `0_areas`
20 DROP TABLE IF EXISTS `0_areas`;
21 CREATE TABLE IF NOT EXISTS `0_areas` (
22 `area_code` int(11) NOT NULL auto_increment,
23 `description` varchar(60) NOT NULL default '',
24 PRIMARY KEY (`area_code`),
25 UNIQUE KEY `description` (`description`)
26 ) TYPE=MyISAM AUTO_INCREMENT=5 ;
28 -- --------------------------------------------------------
31 -- Table structure for table `0_bank_accounts`
34 DROP TABLE IF EXISTS `0_bank_accounts`;
35 CREATE TABLE IF NOT EXISTS `0_bank_accounts` (
36 `account_code` varchar(11) NOT NULL default '',
37 `account_type` smallint(6) NOT NULL default '0',
38 `bank_account_name` varchar(60) NOT NULL default '',
39 `bank_account_number` varchar(100) NOT NULL default '',
40 `bank_name` varchar(60) NOT NULL default '',
41 `bank_address` tinytext,
42 `bank_curr_code` char(3) NOT NULL default '',
43 PRIMARY KEY (`account_code`),
44 KEY `bank_account_name` (`bank_account_name`),
45 KEY `bank_account_number` (`bank_account_number`)
48 -- --------------------------------------------------------
51 -- Table structure for table `0_bank_trans`
54 DROP TABLE IF EXISTS `0_bank_trans`;
55 CREATE TABLE IF NOT EXISTS `0_bank_trans` (
56 `id` int(11) NOT NULL auto_increment,
57 `type` smallint(6) default NULL,
58 `trans_no` int(11) default NULL,
59 `bank_act` varchar(11) default NULL,
60 `ref` varchar(40) default NULL,
61 `trans_date` date NOT NULL default '0000-00-00',
62 `bank_trans_type_id` int(10) unsigned default NULL,
63 `amount` double default NULL,
64 `dimension_id` int(11) NOT NULL default '0',
65 `dimension2_id` int(11) NOT NULL default '0',
66 `person_type_id` int(11) NOT NULL default '0',
69 KEY `bank_act` (`bank_act`,`ref`),
70 KEY `type` (`type`,`trans_no`)
71 ) TYPE=InnoDB AUTO_INCREMENT=21 ;
73 -- --------------------------------------------------------
76 -- Table structure for table `0_bank_trans_types`
79 DROP TABLE IF EXISTS `0_bank_trans_types`;
80 CREATE TABLE IF NOT EXISTS `0_bank_trans_types` (
81 `id` int(11) NOT NULL auto_increment,
82 `name` varchar(60) NOT NULL default '',
84 UNIQUE KEY `name` (`name`)
85 ) TYPE=MyISAM AUTO_INCREMENT=4 ;
87 -- --------------------------------------------------------
90 -- Table structure for table `0_bom`
93 DROP TABLE IF EXISTS `0_bom`;
94 CREATE TABLE IF NOT EXISTS `0_bom` (
95 `id` int(11) NOT NULL auto_increment,
96 `parent` char(20) NOT NULL default '',
97 `component` char(20) NOT NULL default '',
98 `workcentre_added` int(11) NOT NULL default '0',
99 `loc_code` char(5) NOT NULL default '',
100 `quantity` double NOT NULL default '1',
101 PRIMARY KEY (`parent`,`component`,`workcentre_added`,`loc_code`),
102 KEY `component` (`component`),
104 KEY `loc_code` (`loc_code`),
105 KEY `parent` (`parent`,`loc_code`),
106 KEY `Parent_2` (`parent`),
107 KEY `workcentre_added` (`workcentre_added`)
108 ) TYPE=MyISAM AUTO_INCREMENT=5 ;
110 -- --------------------------------------------------------
113 -- Table structure for table `0_budget_trans`
116 DROP TABLE IF EXISTS `0_budget_trans`;
117 CREATE TABLE IF NOT EXISTS `0_budget_trans` (
118 `counter` int(11) NOT NULL auto_increment,
119 `type` smallint(6) NOT NULL default '0',
120 `type_no` bigint(16) NOT NULL default '1',
121 `tran_date` date NOT NULL default '0000-00-00',
122 `account` varchar(11) NOT NULL default '',
123 `memo_` tinytext NOT NULL,
124 `amount` double NOT NULL default '0',
125 `dimension_id` int(11) default '0',
126 `dimension2_id` int(11) default '0',
127 `person_type_id` int(11) default NULL,
128 `person_id` tinyblob,
129 PRIMARY KEY (`counter`),
130 KEY `Type_and_Number` (`type`,`type_no`)
131 ) TYPE=InnoDB AUTO_INCREMENT=1 ;
133 -- --------------------------------------------------------
136 -- Table structure for table `0_chart_class`
139 DROP TABLE IF EXISTS `0_chart_class`;
140 CREATE TABLE IF NOT EXISTS `0_chart_class` (
141 `cid` int(11) NOT NULL default '0',
142 `class_name` varchar(60) NOT NULL default '',
143 `balance_sheet` tinyint(1) NOT NULL default '0',
147 -- --------------------------------------------------------
150 -- Table structure for table `0_chart_master`
153 DROP TABLE IF EXISTS `0_chart_master`;
154 CREATE TABLE IF NOT EXISTS `0_chart_master` (
155 `account_code` varchar(11) NOT NULL default '',
156 `account_code2` varchar(11) default '',
157 `account_name` varchar(60) NOT NULL default '',
158 `account_type` int(11) NOT NULL default '0',
159 `tax_code` int(11) NOT NULL default '0',
160 PRIMARY KEY (`account_code`),
161 KEY `account_code` (`account_code`),
162 KEY `account_name` (`account_name`)
165 -- --------------------------------------------------------
168 -- Table structure for table `0_chart_types`
171 DROP TABLE IF EXISTS `0_chart_types`;
172 CREATE TABLE IF NOT EXISTS `0_chart_types` (
173 `id` int(11) NOT NULL auto_increment,
174 `name` varchar(60) NOT NULL default '',
175 `class_id` tinyint(1) NOT NULL default '0',
176 `parent` int(11) NOT NULL default '-1',
178 UNIQUE KEY `name` (`name`)
179 ) TYPE=MyISAM AUTO_INCREMENT=53 ;
181 -- --------------------------------------------------------
184 -- Table structure for table `0_comments`
187 DROP TABLE IF EXISTS `0_comments`;
188 CREATE TABLE IF NOT EXISTS `0_comments` (
189 `type` int(11) NOT NULL default '0',
190 `id` int(11) NOT NULL default '0',
191 `date_` date default '0000-00-00',
195 -- --------------------------------------------------------
198 -- Table structure for table `0_company`
201 DROP TABLE IF EXISTS `0_company`;
202 CREATE TABLE IF NOT EXISTS `0_company` (
203 `coy_code` int(11) NOT NULL default '1',
204 `coy_name` varchar(60) NOT NULL default '',
205 `gst_no` varchar(25) NOT NULL default '',
206 `coy_no` varchar(25) NOT NULL default '0',
207 `tax_prd` int(11) NOT NULL default '1',
208 `tax_last` int(11) NOT NULL default '1',
209 `postal_address` tinytext NOT NULL,
210 `phone` varchar(30) NOT NULL default '',
211 `fax` varchar(30) NOT NULL default '',
212 `email` varchar(100) NOT NULL default '',
213 `coy_logo` varchar(100) NOT NULL default '',
214 `domicile` varchar(55) NOT NULL default '',
215 `curr_default` char(3) NOT NULL default '',
216 `debtors_act` varchar(11) NOT NULL default '',
217 `pyt_discount_act` varchar(11) NOT NULL default '',
218 `creditors_act` varchar(11) NOT NULL default '',
219 `grn_act` varchar(11) NOT NULL default '',
220 `exchange_diff_act` varchar(11) NOT NULL default '',
221 `purch_exchange_diff_act` varchar(11) NOT NULL default '',
222 `retained_earnings_act` varchar(11) NOT NULL default '',
223 `freight_act` varchar(11) NOT NULL default '',
224 `default_sales_act` varchar(11) NOT NULL default '',
225 `default_sales_discount_act` varchar(11) NOT NULL default '',
226 `default_prompt_payment_act` varchar(11) NOT NULL default '',
227 `default_inventory_act` varchar(11) NOT NULL default '',
228 `default_cogs_act` varchar(11) NOT NULL default '',
229 `default_adj_act` varchar(11) NOT NULL default '',
230 `default_inv_sales_act` varchar(11) NOT NULL default '',
231 `default_assembly_act` varchar(11) NOT NULL default '',
232 `payroll_act` varchar(11) NOT NULL default '',
233 `custom1_name` varchar(60) NOT NULL default '',
234 `custom2_name` varchar(60) NOT NULL default '',
235 `custom3_name` varchar(60) NOT NULL default '',
236 `custom1_value` varchar(100) NOT NULL default '',
237 `custom2_value` varchar(100) NOT NULL default '',
238 `custom3_value` varchar(100) NOT NULL default '',
239 `allow_negative_stock` tinyint(1) NOT NULL default '0',
240 `po_over_receive` int(11) NOT NULL default '10',
241 `po_over_charge` int(11) NOT NULL default '10',
242 `default_credit_limit` int(11) NOT NULL default '1000',
243 `default_workorder_required` int(11) NOT NULL default '20',
244 `default_dim_required` int(11) NOT NULL default '20',
245 `past_due_days` int(11) NOT NULL default '30',
246 `use_dimension` tinyint(1) default '0',
247 `f_year` int(11) NOT NULL default '1',
248 `no_item_list` tinyint(1) NOT NULL default '0',
249 `no_customer_list` tinyint(1) NOT NULL default '0',
250 `no_supplier_list` tinyint(1) NOT NULL default '0',
251 PRIMARY KEY (`coy_code`)
254 -- --------------------------------------------------------
257 -- Table structure for table `0_credit_status`
260 DROP TABLE IF EXISTS `0_credit_status`;
261 CREATE TABLE IF NOT EXISTS `0_credit_status` (
262 `id` int(11) NOT NULL auto_increment,
263 `reason_description` char(100) NOT NULL default '',
264 `dissallow_invoices` tinyint(1) NOT NULL default '0',
266 UNIQUE KEY `reason_description` (`reason_description`)
267 ) TYPE=MyISAM AUTO_INCREMENT=5 ;
269 -- --------------------------------------------------------
272 -- Table structure for table `0_currencies`
275 DROP TABLE IF EXISTS `0_currencies`;
276 CREATE TABLE IF NOT EXISTS `0_currencies` (
277 `currency` varchar(60) NOT NULL default '',
278 `curr_abrev` char(3) NOT NULL default '',
279 `curr_symbol` varchar(10) NOT NULL default '',
280 `country` varchar(100) NOT NULL default '',
281 `hundreds_name` varchar(15) NOT NULL default '',
282 PRIMARY KEY (`curr_abrev`)
285 -- --------------------------------------------------------
288 -- Table structure for table `0_cust_allocations`
291 DROP TABLE IF EXISTS `0_cust_allocations`;
292 CREATE TABLE IF NOT EXISTS `0_cust_allocations` (
293 `id` int(11) NOT NULL auto_increment,
294 `amt` double unsigned default NULL,
295 `date_alloc` date NOT NULL default '0000-00-00',
296 `trans_no_from` int(11) default NULL,
297 `trans_type_from` int(11) default NULL,
298 `trans_no_to` int(11) default NULL,
299 `trans_type_to` int(11) default NULL,
301 ) TYPE=InnoDB AUTO_INCREMENT=5 ;
303 -- --------------------------------------------------------
306 -- Table structure for table `0_cust_branch`
309 DROP TABLE IF EXISTS `0_cust_branch`;
310 CREATE TABLE IF NOT EXISTS `0_cust_branch` (
311 `branch_code` int(11) NOT NULL auto_increment,
312 `debtor_no` int(11) NOT NULL default '0',
313 `br_name` varchar(60) NOT NULL default '',
314 `br_address` tinytext NOT NULL,
315 `area` int(11) default NULL,
316 `salesman` int(11) NOT NULL default '0',
317 `phone` varchar(30) NOT NULL default '',
318 `fax` varchar(30) NOT NULL default '',
319 `contact_name` varchar(60) NOT NULL default '',
320 `email` varchar(100) NOT NULL default '',
321 `default_location` varchar(5) NOT NULL default '',
322 `tax_group_id` int(11) default NULL,
323 `sales_account` varchar(11) default NULL,
324 `sales_discount_account` varchar(11) default NULL,
325 `receivables_account` varchar(11) default NULL,
326 `payment_discount_account` varchar(11) default NULL,
327 `default_ship_via` int(11) NOT NULL default '1',
328 `disable_trans` tinyint(4) NOT NULL default '0',
329 `br_post_address` tinytext NOT NULL,
330 PRIMARY KEY (`branch_code`,`debtor_no`),
331 KEY `branch_code` (`branch_code`),
332 KEY `br_name` (`br_name`)
333 ) TYPE=MyISAM AUTO_INCREMENT=6 ;
335 -- --------------------------------------------------------
338 -- Table structure for table `0_debtors_master`
341 DROP TABLE IF EXISTS `0_debtors_master`;
342 CREATE TABLE IF NOT EXISTS `0_debtors_master` (
343 `debtor_no` int(11) NOT NULL auto_increment,
344 `name` varchar(60) NOT NULL default '',
346 `email` varchar(100) NOT NULL default '',
347 `tax_id` varchar(55) NOT NULL default '',
348 `curr_code` char(3) NOT NULL default '',
349 `sales_type` int(11) NOT NULL default '1',
350 `dimension_id` int(11) NOT NULL default '0',
351 `dimension2_id` int(11) NOT NULL default '0',
352 `credit_status` int(11) NOT NULL default '0',
353 `payment_terms` int(11) default NULL,
354 `discount` double NOT NULL default '0',
355 `pymt_discount` double NOT NULL default '0',
356 `credit_limit` float NOT NULL default '1000',
357 PRIMARY KEY (`debtor_no`),
358 UNIQUE KEY `name` (`name`)
359 ) TYPE=MyISAM AUTO_INCREMENT=4 ;
361 -- --------------------------------------------------------
364 -- Table structure for table `0_debtor_trans`
367 DROP TABLE IF EXISTS `0_debtor_trans`;
368 CREATE TABLE IF NOT EXISTS `0_debtor_trans` (
369 `trans_no` int(11) unsigned NOT NULL default '0',
370 `type` smallint(6) unsigned NOT NULL default '0',
371 `version` tinyint(1) unsigned NOT NULL default '0',
372 `debtor_no` int(11) unsigned default NULL,
373 `branch_code` int(11) NOT NULL default '-1',
374 `tran_date` date NOT NULL default '0000-00-00',
375 `due_date` date NOT NULL default '0000-00-00',
376 `reference` varchar(60) NOT NULL default '',
377 `tpe` int(11) NOT NULL default '0',
378 `order_` int(11) NOT NULL default '0',
379 `ov_amount` double NOT NULL default '0',
380 `ov_gst` double NOT NULL default '0',
381 `ov_freight` double NOT NULL default '0',
382 `ov_freight_tax` double NOT NULL default '0',
383 `ov_discount` double NOT NULL default '0',
384 `alloc` double NOT NULL default '0',
385 `rate` double NOT NULL default '1',
386 `ship_via` int(11) default NULL,
387 `trans_link` int(11) NOT NULL default '0',
388 PRIMARY KEY (`trans_no`,`type`),
389 KEY `debtor_no` (`debtor_no`,`branch_code`)
392 -- --------------------------------------------------------
395 -- Table structure for table `0_debtor_trans_details`
398 DROP TABLE IF EXISTS `0_debtor_trans_details`;
399 CREATE TABLE IF NOT EXISTS `0_debtor_trans_details` (
400 `id` int(11) NOT NULL auto_increment,
401 `debtor_trans_no` int(11) default NULL,
402 `debtor_trans_type` int(11) default NULL,
403 `stock_id` varchar(20) NOT NULL default '',
404 `description` tinytext,
405 `unit_price` double NOT NULL default '0',
406 `unit_tax` double NOT NULL default '0',
407 `quantity` double NOT NULL default '0',
408 `discount_percent` double NOT NULL default '0',
409 `standard_cost` double NOT NULL default '0',
410 `qty_done` double NOT NULL default '0',
412 ) TYPE=InnoDB AUTO_INCREMENT=21 ;
414 -- --------------------------------------------------------
417 -- Table structure for table `0_debtor_trans_tax_details`
420 DROP TABLE IF EXISTS `0_debtor_trans_tax_details`;
421 CREATE TABLE IF NOT EXISTS `0_debtor_trans_tax_details` (
422 `id` int(11) NOT NULL auto_increment,
423 `debtor_trans_no` int(11) default NULL,
424 `debtor_trans_type` int(11) default NULL,
425 `tax_type_id` int(11) NOT NULL default '0',
426 `tax_type_name` varchar(60) default NULL,
427 `rate` double NOT NULL default '0',
428 `included_in_price` tinyint(1) NOT NULL default '0',
429 `amount` double NOT NULL default '0',
431 ) TYPE=InnoDB AUTO_INCREMENT=3 ;
433 -- --------------------------------------------------------
436 -- Table structure for table `0_dimensions`
439 DROP TABLE IF EXISTS `0_dimensions`;
440 CREATE TABLE IF NOT EXISTS `0_dimensions` (
441 `id` int(11) NOT NULL auto_increment,
442 `reference` varchar(60) NOT NULL default '',
443 `name` varchar(60) NOT NULL default '',
444 `type_` tinyint(1) NOT NULL default '1',
445 `closed` tinyint(1) NOT NULL default '0',
446 `date_` date NOT NULL default '0000-00-00',
447 `due_date` date NOT NULL default '0000-00-00',
449 UNIQUE KEY `reference` (`reference`)
450 ) TYPE=InnoDB AUTO_INCREMENT=4 ;
452 -- --------------------------------------------------------
455 -- Table structure for table `0_exchange_rates`
458 DROP TABLE IF EXISTS `0_exchange_rates`;
459 CREATE TABLE IF NOT EXISTS `0_exchange_rates` (
460 `id` int(11) NOT NULL auto_increment,
461 `curr_code` char(3) NOT NULL default '',
462 `rate_buy` double NOT NULL default '0',
463 `rate_sell` double NOT NULL default '0',
464 `date_` date NOT NULL default '0000-00-00',
466 UNIQUE KEY `curr_code` (`curr_code`,`date_`)
467 ) TYPE=MyISAM AUTO_INCREMENT=6 ;
469 -- --------------------------------------------------------
472 -- Table structure for table `0_fiscal_year`
475 DROP TABLE IF EXISTS `0_fiscal_year`;
476 CREATE TABLE IF NOT EXISTS `0_fiscal_year` (
477 `id` int(11) NOT NULL auto_increment,
478 `begin` date default '0000-00-00',
479 `end` date default '0000-00-00',
480 `closed` tinyint(1) NOT NULL default '0',
482 ) TYPE=InnoDB AUTO_INCREMENT=6 ;
484 -- --------------------------------------------------------
487 -- Table structure for table `0_gl_trans`
490 DROP TABLE IF EXISTS `0_gl_trans`;
491 CREATE TABLE IF NOT EXISTS `0_gl_trans` (
492 `counter` int(11) NOT NULL auto_increment,
493 `type` smallint(6) NOT NULL default '0',
494 `type_no` bigint(16) NOT NULL default '1',
495 `tran_date` date NOT NULL default '0000-00-00',
496 `account` varchar(11) NOT NULL default '',
497 `memo_` tinytext NOT NULL,
498 `amount` double NOT NULL default '0',
499 `dimension_id` int(11) NOT NULL default '0',
500 `dimension2_id` int(11) NOT NULL default '0',
501 `person_type_id` int(11) default NULL,
502 `person_id` tinyblob,
503 PRIMARY KEY (`counter`),
504 KEY `Type_and_Number` (`type`,`type_no`)
505 ) TYPE=InnoDB AUTO_INCREMENT=128 ;
507 -- --------------------------------------------------------
510 -- Table structure for table `0_grn_batch`
513 DROP TABLE IF EXISTS `0_grn_batch`;
514 CREATE TABLE IF NOT EXISTS `0_grn_batch` (
515 `id` int(11) NOT NULL auto_increment,
516 `supplier_id` int(11) NOT NULL default '0',
517 `purch_order_no` int(11) default NULL,
518 `reference` varchar(60) NOT NULL default '',
519 `delivery_date` date NOT NULL default '0000-00-00',
520 `loc_code` varchar(5) default NULL,
522 ) TYPE=InnoDB AUTO_INCREMENT=4 ;
524 -- --------------------------------------------------------
527 -- Table structure for table `0_grn_items`
530 DROP TABLE IF EXISTS `0_grn_items`;
531 CREATE TABLE IF NOT EXISTS `0_grn_items` (
532 `id` int(11) NOT NULL auto_increment,
533 `grn_batch_id` int(11) default NULL,
534 `po_detail_item` int(11) NOT NULL default '0',
535 `item_code` varchar(20) NOT NULL default '',
536 `description` tinytext,
537 `qty_recd` double NOT NULL default '0',
538 `quantity_inv` double NOT NULL default '0',
540 ) TYPE=InnoDB AUTO_INCREMENT=5 ;
542 -- --------------------------------------------------------
545 -- Table structure for table `0_item_tax_types`
548 DROP TABLE IF EXISTS `0_item_tax_types`;
549 CREATE TABLE IF NOT EXISTS `0_item_tax_types` (
550 `id` int(11) NOT NULL auto_increment,
551 `name` varchar(60) NOT NULL default '',
552 `exempt` tinyint(1) NOT NULL default '0',
554 UNIQUE KEY `name` (`name`)
555 ) TYPE=InnoDB AUTO_INCREMENT=2 ;
557 -- --------------------------------------------------------
560 -- Table structure for table `0_item_tax_type_exemptions`
563 DROP TABLE IF EXISTS `0_item_tax_type_exemptions`;
564 CREATE TABLE IF NOT EXISTS `0_item_tax_type_exemptions` (
565 `item_tax_type_id` int(11) NOT NULL default '0',
566 `tax_type_id` int(11) NOT NULL default '0',
567 PRIMARY KEY (`item_tax_type_id`,`tax_type_id`)
570 -- --------------------------------------------------------
573 -- Table structure for table `0_item_units`
576 DROP TABLE IF EXISTS `0_item_units`;
577 CREATE TABLE IF NOT EXISTS `0_item_units` (
578 `abbr` varchar(20) NOT NULL,
579 `name` varchar(40) NOT NULL,
580 `decimals` tinyint(2) NOT NULL,
581 PRIMARY KEY (`abbr`),
582 UNIQUE KEY `name` (`name`)
585 -- --------------------------------------------------------
588 -- Table structure for table `0_locations`
591 DROP TABLE IF EXISTS `0_locations`;
592 CREATE TABLE IF NOT EXISTS `0_locations` (
593 `loc_code` varchar(5) NOT NULL default '',
594 `location_name` varchar(60) NOT NULL default '',
595 `delivery_address` tinytext NOT NULL,
596 `phone` varchar(30) NOT NULL default '',
597 `fax` varchar(30) NOT NULL default '',
598 `email` varchar(100) NOT NULL default '',
599 `contact` varchar(30) NOT NULL default '',
600 PRIMARY KEY (`loc_code`)
603 -- --------------------------------------------------------
606 -- Table structure for table `0_loc_stock`
609 DROP TABLE IF EXISTS `0_loc_stock`;
610 CREATE TABLE IF NOT EXISTS `0_loc_stock` (
611 `loc_code` char(5) NOT NULL default '',
612 `stock_id` char(20) NOT NULL default '',
613 `reorder_level` bigint(20) NOT NULL default '0',
614 PRIMARY KEY (`loc_code`,`stock_id`),
615 KEY `stock_id` (`stock_id`)
618 -- --------------------------------------------------------
621 -- Table structure for table `0_movement_types`
624 DROP TABLE IF EXISTS `0_movement_types`;
625 CREATE TABLE IF NOT EXISTS `0_movement_types` (
626 `id` int(11) NOT NULL auto_increment,
627 `name` varchar(60) NOT NULL default '',
629 UNIQUE KEY `name` (`name`)
630 ) TYPE=MyISAM AUTO_INCREMENT=2 ;
632 -- --------------------------------------------------------
635 -- Table structure for table `0_payment_terms`
638 DROP TABLE IF EXISTS `0_payment_terms`;
639 CREATE TABLE IF NOT EXISTS `0_payment_terms` (
640 `terms_indicator` int(11) NOT NULL auto_increment,
641 `terms` char(80) NOT NULL default '',
642 `days_before_due` smallint(6) NOT NULL default '0',
643 `day_in_following_month` smallint(6) NOT NULL default '0',
644 PRIMARY KEY (`terms_indicator`),
645 UNIQUE KEY `terms` (`terms`)
646 ) TYPE=MyISAM AUTO_INCREMENT=5 ;
648 -- --------------------------------------------------------
651 -- Table structure for table `0_prices`
654 DROP TABLE IF EXISTS `0_prices`;
655 CREATE TABLE IF NOT EXISTS `0_prices` (
656 `id` int(11) NOT NULL auto_increment,
657 `stock_id` varchar(20) NOT NULL default '',
658 `sales_type_id` int(11) NOT NULL default '0',
659 `curr_abrev` char(3) NOT NULL default '',
660 `price` double NOT NULL default '0',
662 UNIQUE KEY `price` (`stock_id`,`sales_type_id`,`curr_abrev`)
663 ) TYPE=MyISAM AUTO_INCREMENT=6 ;
665 -- --------------------------------------------------------
668 -- Table structure for table `0_purch_data`
671 DROP TABLE IF EXISTS `0_purch_data`;
672 CREATE TABLE IF NOT EXISTS `0_purch_data` (
673 `supplier_id` int(11) NOT NULL default '0',
674 `stock_id` char(20) NOT NULL default '',
675 `price` double NOT NULL default '0',
676 `suppliers_uom` char(50) NOT NULL default '',
677 `conversion_factor` double NOT NULL default '1',
678 `supplier_description` char(50) NOT NULL default '',
679 PRIMARY KEY (`supplier_id`,`stock_id`)
682 -- --------------------------------------------------------
685 -- Table structure for table `0_purch_orders`
688 DROP TABLE IF EXISTS `0_purch_orders`;
689 CREATE TABLE IF NOT EXISTS `0_purch_orders` (
690 `order_no` int(11) NOT NULL auto_increment,
691 `supplier_id` int(11) NOT NULL default '0',
693 `ord_date` date NOT NULL default '0000-00-00',
694 `reference` tinytext NOT NULL,
695 `requisition_no` tinytext,
696 `into_stock_location` varchar(5) NOT NULL default '',
697 `delivery_address` tinytext NOT NULL,
698 PRIMARY KEY (`order_no`)
699 ) TYPE=InnoDB AUTO_INCREMENT=6 ;
701 -- --------------------------------------------------------
704 -- Table structure for table `0_purch_order_details`
707 DROP TABLE IF EXISTS `0_purch_order_details`;
708 CREATE TABLE IF NOT EXISTS `0_purch_order_details` (
709 `po_detail_item` int(11) NOT NULL auto_increment,
710 `order_no` int(11) NOT NULL default '0',
711 `item_code` varchar(20) NOT NULL default '',
712 `description` tinytext,
713 `delivery_date` date NOT NULL default '0000-00-00',
714 `qty_invoiced` double NOT NULL default '0',
715 `unit_price` double NOT NULL default '0',
716 `act_price` double NOT NULL default '0',
717 `std_cost_unit` double NOT NULL default '0',
718 `quantity_ordered` double NOT NULL default '0',
719 `quantity_received` double NOT NULL default '0',
720 PRIMARY KEY (`po_detail_item`)
721 ) TYPE=InnoDB AUTO_INCREMENT=7 ;
723 -- --------------------------------------------------------
726 -- Table structure for table `0_refs`
729 DROP TABLE IF EXISTS `0_refs`;
730 CREATE TABLE IF NOT EXISTS `0_refs` (
731 `id` int(11) NOT NULL default '0',
732 `type` int(11) NOT NULL default '0',
733 `reference` varchar(100) NOT NULL default '',
734 PRIMARY KEY (`id`,`type`)
737 -- --------------------------------------------------------
740 -- Table structure for table `0_salesman`
743 DROP TABLE IF EXISTS `0_salesman`;
744 CREATE TABLE IF NOT EXISTS `0_salesman` (
745 `salesman_code` int(11) NOT NULL auto_increment,
746 `salesman_name` char(60) NOT NULL default '',
747 `salesman_phone` char(30) NOT NULL default '',
748 `salesman_fax` char(30) NOT NULL default '',
749 `salesman_email` varchar(100) NOT NULL default '',
750 `provision` double NOT NULL default '0',
751 `break_pt` double NOT NULL default '0',
752 `provision2` double NOT NULL default '0',
753 PRIMARY KEY (`salesman_code`),
754 UNIQUE KEY `salesman_name` (`salesman_name`)
755 ) TYPE=MyISAM AUTO_INCREMENT=3 ;
757 -- --------------------------------------------------------
760 -- Table structure for table `0_sales_orders`
763 DROP TABLE IF EXISTS `0_sales_orders`;
764 CREATE TABLE IF NOT EXISTS `0_sales_orders` (
765 `order_no` int(11) NOT NULL auto_increment,
766 `version` tinyint(1) unsigned NOT NULL default '0',
767 `type` tinyint(1) NOT NULL default '0',
768 `debtor_no` int(11) NOT NULL default '0',
769 `branch_code` int(11) NOT NULL default '0',
770 `customer_ref` tinytext NOT NULL,
772 `ord_date` date NOT NULL default '0000-00-00',
773 `order_type` int(11) NOT NULL default '0',
774 `ship_via` int(11) NOT NULL default '0',
775 `delivery_address` tinytext NOT NULL,
776 `contact_phone` varchar(30) default NULL,
777 `contact_email` varchar(100) default NULL,
778 `deliver_to` tinytext NOT NULL,
779 `freight_cost` double NOT NULL default '0',
780 `from_stk_loc` varchar(5) NOT NULL default '',
781 `delivery_date` date NOT NULL default '0000-00-00',
782 PRIMARY KEY (`order_no`)
783 ) TYPE=InnoDB AUTO_INCREMENT=16 ;
785 -- --------------------------------------------------------
788 -- Table structure for table `0_sales_order_details`
791 DROP TABLE IF EXISTS `0_sales_order_details`;
792 CREATE TABLE IF NOT EXISTS `0_sales_order_details` (
793 `id` int(11) NOT NULL auto_increment,
794 `order_no` int(11) NOT NULL default '0',
795 `stk_code` varchar(20) NOT NULL default '',
796 `description` tinytext,
797 `qty_sent` double NOT NULL default '0',
798 `unit_price` double NOT NULL default '0',
799 `quantity` double NOT NULL default '0',
800 `discount_percent` double NOT NULL default '0',
802 ) TYPE=InnoDB AUTO_INCREMENT=18 ;
804 -- --------------------------------------------------------
807 -- Table structure for table `0_sales_types`
810 DROP TABLE IF EXISTS `0_sales_types`;
811 CREATE TABLE IF NOT EXISTS `0_sales_types` (
812 `id` int(11) NOT NULL auto_increment,
813 `sales_type` char(50) NOT NULL default '',
814 `tax_included` int(1) NOT NULL default '0',
816 UNIQUE KEY `sales_type` (`sales_type`)
817 ) TYPE=MyISAM AUTO_INCREMENT=3 ;
819 -- --------------------------------------------------------
822 -- Table structure for table `0_shippers`
825 DROP TABLE IF EXISTS `0_shippers`;
826 CREATE TABLE IF NOT EXISTS `0_shippers` (
827 `shipper_id` int(11) NOT NULL auto_increment,
828 `shipper_name` varchar(60) NOT NULL default '',
829 `phone` varchar(30) NOT NULL default '',
830 `contact` tinytext NOT NULL,
831 `address` tinytext NOT NULL,
832 PRIMARY KEY (`shipper_id`),
833 UNIQUE KEY `name` (`shipper_name`)
834 ) TYPE=MyISAM AUTO_INCREMENT=3 ;
836 -- --------------------------------------------------------
839 -- Table structure for table `0_stock_category`
842 DROP TABLE IF EXISTS `0_stock_category`;
843 CREATE TABLE IF NOT EXISTS `0_stock_category` (
844 `category_id` int(11) NOT NULL auto_increment,
845 `description` varchar(60) NOT NULL default '',
846 `stock_act` varchar(11) default NULL,
847 `cogs_act` varchar(11) default NULL,
848 `adj_gl_act` varchar(11) default NULL,
849 `purch_price_var_act` varchar(11) default NULL,
850 PRIMARY KEY (`category_id`),
851 UNIQUE KEY `description` (`description`)
852 ) TYPE=MyISAM AUTO_INCREMENT=5 ;
854 -- --------------------------------------------------------
857 -- Table structure for table `0_stock_master`
860 DROP TABLE IF EXISTS `0_stock_master`;
861 CREATE TABLE IF NOT EXISTS `0_stock_master` (
862 `stock_id` varchar(20) NOT NULL default '',
863 `category_id` int(11) NOT NULL default '0',
864 `tax_type_id` int(11) NOT NULL default '0',
865 `description` varchar(200) NOT NULL default '',
866 `long_description` tinytext NOT NULL,
867 `units` varchar(20) NOT NULL default 'each',
868 `mb_flag` char(1) NOT NULL default 'B',
869 `sales_account` varchar(11) NOT NULL default '',
870 `cogs_account` varchar(11) NOT NULL default '',
871 `inventory_account` varchar(11) NOT NULL default '',
872 `adjustment_account` varchar(11) NOT NULL default '',
873 `assembly_account` varchar(11) NOT NULL default '',
874 `dimension_id` int(11) default NULL,
875 `dimension2_id` int(11) default NULL,
876 `actual_cost` double NOT NULL default '0',
877 `last_cost` double NOT NULL default '0',
878 `material_cost` double NOT NULL default '0',
879 `labour_cost` double NOT NULL default '0',
880 `overhead_cost` double NOT NULL default '0',
881 PRIMARY KEY (`stock_id`)
884 -- --------------------------------------------------------
887 -- Table structure for table `0_stock_moves`
890 DROP TABLE IF EXISTS `0_stock_moves`;
891 CREATE TABLE IF NOT EXISTS `0_stock_moves` (
892 `trans_id` int(11) NOT NULL auto_increment,
893 `trans_no` int(11) NOT NULL default '0',
894 `stock_id` char(20) NOT NULL default '',
895 `type` smallint(6) NOT NULL default '0',
896 `loc_code` char(5) NOT NULL default '',
897 `tran_date` date NOT NULL default '0000-00-00',
898 `person_id` int(11) default NULL,
899 `price` double NOT NULL default '0',
900 `reference` char(40) NOT NULL default '',
901 `qty` double NOT NULL default '1',
902 `discount_percent` double NOT NULL default '0',
903 `standard_cost` double NOT NULL default '0',
904 `visible` tinyint(1) NOT NULL default '1',
905 PRIMARY KEY (`trans_id`),
906 KEY `type` (`type`,`trans_no`)
907 ) TYPE=InnoDB AUTO_INCREMENT=46 ;
909 -- --------------------------------------------------------
912 -- Table structure for table `0_suppliers`
915 DROP TABLE IF EXISTS `0_suppliers`;
916 CREATE TABLE IF NOT EXISTS `0_suppliers` (
917 `supplier_id` int(11) NOT NULL auto_increment,
918 `supp_name` varchar(60) NOT NULL default '',
919 `address` tinytext NOT NULL,
920 `email` varchar(100) NOT NULL default '',
921 `bank_account` varchar(60) NOT NULL default '',
922 `curr_code` char(3) default NULL,
923 `payment_terms` int(11) default NULL,
924 `dimension_id` int(11) default '0',
925 `dimension2_id` int(11) default '0',
926 `tax_group_id` int(11) default NULL,
927 `purchase_account` varchar(11) default NULL,
928 `payable_account` varchar(11) default NULL,
929 `payment_discount_account` varchar(11) default NULL,
930 PRIMARY KEY (`supplier_id`)
931 ) TYPE=MyISAM AUTO_INCREMENT=4 ;
933 -- --------------------------------------------------------
936 -- Table structure for table `0_supp_allocations`
939 DROP TABLE IF EXISTS `0_supp_allocations`;
940 CREATE TABLE IF NOT EXISTS `0_supp_allocations` (
941 `id` int(11) NOT NULL auto_increment,
942 `amt` double unsigned default NULL,
943 `date_alloc` date NOT NULL default '0000-00-00',
944 `trans_no_from` int(11) default NULL,
945 `trans_type_from` int(11) default NULL,
946 `trans_no_to` int(11) default NULL,
947 `trans_type_to` int(11) default NULL,
949 ) TYPE=InnoDB AUTO_INCREMENT=10 ;
951 -- --------------------------------------------------------
954 -- Table structure for table `0_supp_invoice_items`
957 DROP TABLE IF EXISTS `0_supp_invoice_items`;
958 CREATE TABLE IF NOT EXISTS `0_supp_invoice_items` (
959 `id` int(11) NOT NULL auto_increment,
960 `supp_trans_no` int(11) default NULL,
961 `supp_trans_type` int(11) default NULL,
962 `gl_code` varchar(11) NOT NULL default '0',
963 `grn_item_id` int(11) default NULL,
964 `po_detail_item_id` int(11) default NULL,
965 `stock_id` varchar(20) NOT NULL default '',
966 `description` tinytext,
967 `quantity` double NOT NULL default '0',
968 `unit_price` double NOT NULL default '0',
969 `unit_tax` double NOT NULL default '0',
972 ) TYPE=InnoDB AUTO_INCREMENT=8 ;
974 -- --------------------------------------------------------
977 -- Table structure for table `0_supp_invoice_tax_items`
980 DROP TABLE IF EXISTS `0_supp_invoice_tax_items`;
981 CREATE TABLE IF NOT EXISTS `0_supp_invoice_tax_items` (
982 `id` int(11) NOT NULL auto_increment,
983 `supp_trans_no` int(11) default NULL,
984 `supp_trans_type` int(11) default NULL,
985 `tax_type_id` int(11) NOT NULL default '0',
986 `tax_type_name` varchar(60) default NULL,
987 `rate` double NOT NULL default '0',
988 `included_in_price` tinyint(1) NOT NULL default '0',
989 `amount` double NOT NULL default '0',
991 ) TYPE=InnoDB AUTO_INCREMENT=3 ;
993 -- --------------------------------------------------------
996 -- Table structure for table `0_supp_trans`
999 DROP TABLE IF EXISTS `0_supp_trans`;
1000 CREATE TABLE IF NOT EXISTS `0_supp_trans` (
1001 `trans_no` int(11) unsigned NOT NULL default '0',
1002 `type` smallint(6) unsigned NOT NULL default '0',
1003 `supplier_id` int(11) unsigned default NULL,
1004 `reference` tinytext NOT NULL,
1005 `supp_reference` varchar(60) NOT NULL default '',
1006 `tran_date` date NOT NULL default '0000-00-00',
1007 `due_date` date NOT NULL default '0000-00-00',
1008 `ov_amount` double NOT NULL default '0',
1009 `ov_discount` double NOT NULL default '0',
1010 `ov_gst` double NOT NULL default '0',
1011 `rate` double NOT NULL default '1',
1012 `alloc` double NOT NULL default '0',
1013 PRIMARY KEY (`trans_no`,`type`),
1014 KEY `supplier_id` (`supplier_id`),
1015 KEY `SupplierID_2` (`supplier_id`,`supp_reference`),
1019 -- --------------------------------------------------------
1022 -- Table structure for table `0_sys_types`
1025 DROP TABLE IF EXISTS `0_sys_types`;
1026 CREATE TABLE IF NOT EXISTS `0_sys_types` (
1027 `type_id` smallint(6) NOT NULL default '0',
1028 `type_name` varchar(60) NOT NULL default '',
1029 `type_no` int(11) NOT NULL default '1',
1030 `next_reference` varchar(100) NOT NULL default '',
1031 PRIMARY KEY (`type_id`)
1034 -- --------------------------------------------------------
1037 -- Table structure for table `0_tax_groups`
1040 DROP TABLE IF EXISTS `0_tax_groups`;
1041 CREATE TABLE IF NOT EXISTS `0_tax_groups` (
1042 `id` int(11) NOT NULL auto_increment,
1043 `name` varchar(60) NOT NULL default '',
1044 `tax_shipping` tinyint(1) NOT NULL default '0',
1046 UNIQUE KEY `name` (`name`)
1047 ) TYPE=InnoDB AUTO_INCREMENT=5 ;
1049 -- --------------------------------------------------------
1052 -- Table structure for table `0_tax_group_items`
1055 DROP TABLE IF EXISTS `0_tax_group_items`;
1056 CREATE TABLE IF NOT EXISTS `0_tax_group_items` (
1057 `tax_group_id` int(11) NOT NULL default '0',
1058 `tax_type_id` int(11) NOT NULL default '0',
1059 `rate` double NOT NULL default '0',
1060 PRIMARY KEY (`tax_group_id`,`tax_type_id`)
1063 -- --------------------------------------------------------
1066 -- Table structure for table `0_tax_types`
1069 DROP TABLE IF EXISTS `0_tax_types`;
1070 CREATE TABLE IF NOT EXISTS `0_tax_types` (
1071 `id` int(11) NOT NULL auto_increment,
1072 `rate` double NOT NULL default '0',
1073 `sales_gl_code` varchar(11) NOT NULL default '',
1074 `purchasing_gl_code` varchar(11) NOT NULL default '',
1075 `name` varchar(60) NOT NULL default '',
1077 UNIQUE KEY `name` (`name`,`rate`)
1078 ) TYPE=InnoDB AUTO_INCREMENT=6 ;
1080 -- --------------------------------------------------------
1083 -- Table structure for table `0_users`
1086 DROP TABLE IF EXISTS `0_users`;
1087 CREATE TABLE IF NOT EXISTS `0_users` (
1088 `user_id` varchar(60) NOT NULL default '',
1089 `password` varchar(100) NOT NULL default '',
1090 `real_name` varchar(100) NOT NULL default '',
1091 `full_access` int(11) NOT NULL default '1',
1092 `phone` varchar(30) NOT NULL default '',
1093 `email` varchar(100) default NULL,
1094 `language` varchar(20) default NULL,
1095 `date_format` tinyint(1) NOT NULL default '0',
1096 `date_sep` tinyint(1) NOT NULL default '0',
1097 `tho_sep` tinyint(1) NOT NULL default '0',
1098 `dec_sep` tinyint(1) NOT NULL default '0',
1099 `theme` varchar(20) NOT NULL default 'default',
1100 `page_size` varchar(20) NOT NULL default 'A4',
1101 `prices_dec` smallint(6) NOT NULL default '2',
1102 `qty_dec` smallint(6) NOT NULL default '2',
1103 `rates_dec` smallint(6) NOT NULL default '4',
1104 `percent_dec` smallint(6) NOT NULL default '1',
1105 `show_gl` tinyint(1) NOT NULL default '1',
1106 `show_codes` tinyint(1) NOT NULL default '0',
1107 `last_visit_date` datetime default NULL,
1108 PRIMARY KEY (`user_id`)
1111 -- --------------------------------------------------------
1114 -- Table structure for table `0_voided`
1117 DROP TABLE IF EXISTS `0_voided`;
1118 CREATE TABLE IF NOT EXISTS `0_voided` (
1119 `type` int(11) NOT NULL default '0',
1120 `id` int(11) NOT NULL default '0',
1121 `date_` date NOT NULL default '0000-00-00',
1122 `memo_` tinytext NOT NULL,
1123 UNIQUE KEY `id` (`type`,`id`)
1126 -- --------------------------------------------------------
1129 -- Table structure for table `0_workcentres`
1132 DROP TABLE IF EXISTS `0_workcentres`;
1133 CREATE TABLE IF NOT EXISTS `0_workcentres` (
1134 `id` int(11) NOT NULL auto_increment,
1135 `name` char(40) NOT NULL default '',
1136 `description` char(50) NOT NULL default '',
1138 UNIQUE KEY `name` (`name`)
1139 ) TYPE=MyISAM AUTO_INCREMENT=2 ;
1141 -- --------------------------------------------------------
1144 -- Table structure for table `0_workorders`
1147 DROP TABLE IF EXISTS `0_workorders`;
1148 CREATE TABLE IF NOT EXISTS `0_workorders` (
1149 `id` int(11) NOT NULL auto_increment,
1150 `wo_ref` varchar(60) NOT NULL default '',
1151 `loc_code` varchar(5) NOT NULL default '',
1152 `units_reqd` double NOT NULL default '1',
1153 `stock_id` varchar(20) NOT NULL default '',
1154 `date_` date NOT NULL default '0000-00-00',
1155 `type` tinyint(4) NOT NULL default '0',
1156 `required_by` date NOT NULL default '0000-00-00',
1157 `released_date` date NOT NULL default '0000-00-00',
1158 `units_issued` double NOT NULL default '0',
1159 `closed` tinyint(1) NOT NULL default '0',
1160 `released` tinyint(1) NOT NULL default '0',
1161 `additional_costs` double NOT NULL default '0',
1163 UNIQUE KEY `wo_ref` (`wo_ref`)
1164 ) TYPE=InnoDB AUTO_INCREMENT=6 ;
1166 -- --------------------------------------------------------
1169 -- Table structure for table `0_wo_issues`
1172 DROP TABLE IF EXISTS `0_wo_issues`;
1173 CREATE TABLE IF NOT EXISTS `0_wo_issues` (
1174 `issue_no` int(11) NOT NULL auto_increment,
1175 `workorder_id` int(11) NOT NULL default '0',
1176 `reference` varchar(100) default NULL,
1177 `issue_date` date default NULL,
1178 `loc_code` varchar(5) default NULL,
1179 `workcentre_id` int(11) default NULL,
1180 PRIMARY KEY (`issue_no`)
1181 ) TYPE=InnoDB AUTO_INCREMENT=2 ;
1183 -- --------------------------------------------------------
1186 -- Table structure for table `0_wo_issue_items`
1189 DROP TABLE IF EXISTS `0_wo_issue_items`;
1190 CREATE TABLE IF NOT EXISTS `0_wo_issue_items` (
1191 `id` int(11) NOT NULL auto_increment,
1192 `stock_id` varchar(40) default NULL,
1193 `issue_id` int(11) default NULL,
1194 `qty_issued` double default NULL,
1196 ) TYPE=InnoDB AUTO_INCREMENT=2 ;
1198 -- --------------------------------------------------------
1201 -- Table structure for table `0_wo_manufacture`
1204 DROP TABLE IF EXISTS `0_wo_manufacture`;
1205 CREATE TABLE IF NOT EXISTS `0_wo_manufacture` (
1206 `id` int(11) NOT NULL auto_increment,
1207 `reference` varchar(100) default NULL,
1208 `workorder_id` int(11) NOT NULL default '0',
1209 `quantity` double NOT NULL default '0',
1210 `date_` date NOT NULL default '0000-00-00',
1212 ) TYPE=InnoDB AUTO_INCREMENT=3 ;
1214 -- --------------------------------------------------------
1217 -- Table structure for table `0_wo_requirements`
1220 DROP TABLE IF EXISTS `0_wo_requirements`;
1221 CREATE TABLE IF NOT EXISTS `0_wo_requirements` (
1222 `id` int(11) NOT NULL auto_increment,
1223 `workorder_id` int(11) NOT NULL default '0',
1224 `stock_id` char(20) NOT NULL default '',
1225 `workcentre` int(11) NOT NULL default '0',
1226 `units_req` double NOT NULL default '1',
1227 `std_cost` double NOT NULL default '0',
1228 `loc_code` char(5) NOT NULL default '',
1229 `units_issued` double NOT NULL default '0',
1231 ) TYPE=InnoDB AUTO_INCREMENT=21 ;
1234 -- Dumping data for table `0_areas`
1237 INSERT INTO `0_areas` VALUES(1, 'USA');
1238 INSERT INTO `0_areas` VALUES(2, 'Far East');
1239 INSERT INTO `0_areas` VALUES(3, 'Africa');
1240 INSERT INTO `0_areas` VALUES(4, 'Europe');
1243 -- Dumping data for table `0_bank_accounts`
1246 INSERT INTO `0_bank_accounts` VALUES('1700', 0, 'Current account', 'N/A', 'N/A', '', 'USD');
1247 INSERT INTO `0_bank_accounts` VALUES('1705', 0, 'Petty Cash account', 'N/A', 'N/A', '', 'USD');
1248 INSERT INTO `0_bank_accounts` VALUES('1710', 0, 'Saving account', '10001000', 'Saving Bank', '', 'GBP');
1251 -- Dumping data for table `0_bank_trans`
1254 INSERT INTO `0_bank_trans` VALUES(1, 12, 2, '1700', '111', '2006-01-18', 1, 5000, 0, 0, 2, 0x31);
1255 INSERT INTO `0_bank_trans` VALUES(2, 12, 3, '1700', '112', '2006-01-18', 1, 240, 0, 0, 2, 0x32);
1256 INSERT INTO `0_bank_trans` VALUES(3, 12, 4, '1700', '113', '2006-01-18', 1, 360, 0, 0, 2, 0x32);
1257 INSERT INTO `0_bank_trans` VALUES(4, 12, 5, '1700', '114', '2006-01-18', 1, 500, 0, 0, 2, 0x31);
1258 INSERT INTO `0_bank_trans` VALUES(5, 1, 2, '1700', '1', '2006-01-18', 1, -25, 0, 0, 0, '');
1259 INSERT INTO `0_bank_trans` VALUES(6, 1, 3, '1705', '2', '2006-01-18', 1, -250, 0, 0, 0, '');
1260 INSERT INTO `0_bank_trans` VALUES(7, 1, 4, '1700', '3', '2006-01-18', 1, -555, 0, 0, 4, 0x31);
1261 INSERT INTO `0_bank_trans` VALUES(8, 4, 2, '1700', '4', '2006-01-18', 1, -300, 0, 0, 0, '');
1262 INSERT INTO `0_bank_trans` VALUES(9, 4, 2, '1710', '4', '2006-01-18', 1, 250, 0, 0, 0, '');
1263 INSERT INTO `0_bank_trans` VALUES(10, 22, 2, '1700', '1', '2006-01-18', 1, -5000, 0, 0, 3, 0x31);
1264 INSERT INTO `0_bank_trans` VALUES(11, 22, 3, '1710', '2', '2006-01-18', 1, -3300, 0, 0, 3, 0x32);
1265 INSERT INTO `0_bank_trans` VALUES(12, 2, 2, '1700', '11', '2006-01-20', 1, 1050, 0, 0, 0, '');
1266 INSERT INTO `0_bank_trans` VALUES(13, 12, 6, '1700', '115', '2008-01-30', 1, 200, 0, 0, 2, 0x31);
1267 INSERT INTO `0_bank_trans` VALUES(14, 1, 5, '1700', '4', '2008-01-30', 1, -200, 0, 0, 4, 0x31);
1268 INSERT INTO `0_bank_trans` VALUES(15, 2, 3, '1700', '12', '2008-01-30', 3, 70, 0, 0, 4, 0x32);
1269 INSERT INTO `0_bank_trans` VALUES(16, 4, 3, '1700', '5', '2008-03-09', 1, -222, 0, 0, 0, '');
1270 INSERT INTO `0_bank_trans` VALUES(17, 4, 3, '1705', '5', '2008-03-09', 1, 222, 0, 0, 0, '');
1271 INSERT INTO `0_bank_trans` VALUES(18, 2, 4, '1700', '13', '2008-03-09', 3, 200, 0, 0, 2, 0x31);
1272 INSERT INTO `0_bank_trans` VALUES(19, 1, 6, '1700', '5', '2008-03-22', 1, -200, 0, 0, 3, 0x31);
1273 INSERT INTO `0_bank_trans` VALUES(20, 1, 7, '1700', '6', '2008-03-22', 1, -125, 0, 0, 0, 0x67796c6c657472616e73706f7274);
1276 -- Dumping data for table `0_bank_trans_types`
1279 INSERT INTO `0_bank_trans_types` VALUES(1, 'Cash');
1280 INSERT INTO `0_bank_trans_types` VALUES(2, 'Cheque');
1281 INSERT INTO `0_bank_trans_types` VALUES(3, 'Transfer');
1284 -- Dumping data for table `0_bom`
1287 INSERT INTO `0_bom` VALUES(1, '3400', '102', 1, 'DEF', 1);
1288 INSERT INTO `0_bom` VALUES(2, '3400', '103', 1, 'DEF', 1);
1289 INSERT INTO `0_bom` VALUES(3, '3400', '104', 1, 'DEF', 1);
1290 INSERT INTO `0_bom` VALUES(4, '3400', '201', 1, 'DEF', 1);
1293 -- Dumping data for table `0_chart_class`
1296 INSERT INTO `0_chart_class` VALUES(1, 'Assets', 1);
1297 INSERT INTO `0_chart_class` VALUES(2, 'Liabilities', 1);
1298 INSERT INTO `0_chart_class` VALUES(3, 'Income', 0);
1299 INSERT INTO `0_chart_class` VALUES(4, 'Costs', 0);
1300 INSERT INTO `0_chart_class` VALUES(5, 'Gross', 0);
1303 -- Dumping data for table `0_chart_master`
1306 INSERT INTO `0_chart_master` VALUES('3000', '', 'Sales', 1, 1);
1307 INSERT INTO `0_chart_master` VALUES('3010', '', 'Sales - Wholesale', 1, 1);
1308 INSERT INTO `0_chart_master` VALUES('3020', '', 'Sales of Other items', 1, 1);
1309 INSERT INTO `0_chart_master` VALUES('3400', '', 'Difference On Exchange', 1, 0);
1310 INSERT INTO `0_chart_master` VALUES('5000', '', 'Direct Labour', 2, 0);
1311 INSERT INTO `0_chart_master` VALUES('5050', '', 'Direct Labour Recovery', 2, 0);
1312 INSERT INTO `0_chart_master` VALUES('4200', '', 'Material Usage Varaiance', 2, 4);
1313 INSERT INTO `0_chart_master` VALUES('4210', '', 'Consumable Materials', 2, 4);
1314 INSERT INTO `0_chart_master` VALUES('4220', '', 'Purchase price Variance', 2, 0);
1315 INSERT INTO `0_chart_master` VALUES('4000', '', 'Purchases of materials', 2, 4);
1316 INSERT INTO `0_chart_master` VALUES('4250', '', 'Discounts Received', 2, 0);
1317 INSERT INTO `0_chart_master` VALUES('4260', '', 'Exchange Variation', 2, 0);
1318 INSERT INTO `0_chart_master` VALUES('4300', '', 'Freight Inwards', 2, 4);
1319 INSERT INTO `0_chart_master` VALUES('4010', '', 'Cost of Goods Sold - Retail', 2, 4);
1320 INSERT INTO `0_chart_master` VALUES('6790', '', 'Bank Charges', 5, 4);
1321 INSERT INTO `0_chart_master` VALUES('6800', '', 'Entertainments', 5, 4);
1322 INSERT INTO `0_chart_master` VALUES('6810', '', 'Legal Expenses', 5, 4);
1323 INSERT INTO `0_chart_master` VALUES('6600', '', 'Repairs and Maintenance Office', 5, 4);
1324 INSERT INTO `0_chart_master` VALUES('6730', '', 'phone', 5, 4);
1325 INSERT INTO `0_chart_master` VALUES('8200', '', 'Bank Interest', 52, 0);
1326 INSERT INTO `0_chart_master` VALUES('6840', '', 'Credit Control', 5, 0);
1327 INSERT INTO `0_chart_master` VALUES('7040', '', 'Depreciation Office Equipment', 51, 0);
1328 INSERT INTO `0_chart_master` VALUES('3800', '', 'Freight Outwards', 5, 4);
1329 INSERT INTO `0_chart_master` VALUES('4500', '', 'Packaging', 5, 4);
1330 INSERT INTO `0_chart_master` VALUES('6400', '', 'Commissions', 5, 0);
1331 INSERT INTO `0_chart_master` VALUES('3200', '', 'Prompt Payment Discounts', 1, 0);
1332 INSERT INTO `0_chart_master` VALUES('6700', '', 'General Expenses', 5, 4);
1333 INSERT INTO `0_chart_master` VALUES('5200', '', 'Indirect Labour', 2, 0);
1334 INSERT INTO `0_chart_master` VALUES('5210', '', 'Overhead Recovery', 5, 0);
1335 INSERT INTO `0_chart_master` VALUES('1700', '', 'Bank account', 10, 0);
1336 INSERT INTO `0_chart_master` VALUES('1705', '', 'Petty Cash', 10, 0);
1337 INSERT INTO `0_chart_master` VALUES('1710', '', 'Foreign currency account', 10, 0);
1338 INSERT INTO `0_chart_master` VALUES('1500', '', 'Accounts Receivable', 20, 0);
1339 INSERT INTO `0_chart_master` VALUES('1400', '', 'Stocks of Raw Materials', 45, 0);
1340 INSERT INTO `0_chart_master` VALUES('1410', '', 'Stocks of Work In Progress', 45, 0);
1341 INSERT INTO `0_chart_master` VALUES('1420', '', 'Stocks of Finsihed Goods', 45, 0);
1342 INSERT INTO `0_chart_master` VALUES('1430', '', 'Goods Received Clearing account', 30, 0);
1343 INSERT INTO `0_chart_master` VALUES('2630', '', 'Accounts Payable', 30, 0);
1344 INSERT INTO `0_chart_master` VALUES('2660', '', 'VAT out 5', 30, 0);
1345 INSERT INTO `0_chart_master` VALUES('2662', '', 'VAT out 1', 30, 0);
1346 INSERT INTO `0_chart_master` VALUES('2664', '', 'VAT out 25', 30, 0);
1347 INSERT INTO `0_chart_master` VALUES('2680', '', 'VAT In 5', 30, 0);
1348 INSERT INTO `0_chart_master` VALUES('2682', '', 'VAT In 25', 30, 0);
1349 INSERT INTO `0_chart_master` VALUES('2050', '', 'Retained Earnings', 50, 0);
1350 INSERT INTO `0_chart_master` VALUES('2000', '', 'Share Capital', 50, 0);
1353 -- Dumping data for table `0_chart_types`
1356 INSERT INTO `0_chart_types` VALUES(1, 'Sales', 3, -1);
1357 INSERT INTO `0_chart_types` VALUES(2, 'Cost of Sales', 4, -1);
1358 INSERT INTO `0_chart_types` VALUES(5, 'Expenses', 4, -1);
1359 INSERT INTO `0_chart_types` VALUES(10, 'Cash/Bank', 1, -1);
1360 INSERT INTO `0_chart_types` VALUES(20, 'Accounts Receivable', 1, -1);
1361 INSERT INTO `0_chart_types` VALUES(30, 'Accounts Payable', 2, -1);
1362 INSERT INTO `0_chart_types` VALUES(40, 'Fixed Assets', 1, -1);
1363 INSERT INTO `0_chart_types` VALUES(45, 'Inventory', 1, -1);
1364 INSERT INTO `0_chart_types` VALUES(50, 'Equity', 2, -1);
1365 INSERT INTO `0_chart_types` VALUES(51, 'Depreciations', 4, -1);
1366 INSERT INTO `0_chart_types` VALUES(52, 'Financials', 4, -1);
1369 -- Dumping data for table `0_comments`
1372 INSERT INTO `0_comments` VALUES(17, 2, '2006-01-18', 'initial balances');
1373 INSERT INTO `0_comments` VALUES(10, 6, '2008-01-30', 'Hi there you got it!');
1374 INSERT INTO `0_comments` VALUES(12, 6, '2008-01-30', 'This is good');
1375 INSERT INTO `0_comments` VALUES(1, 5, '2008-01-30', 'Total');
1376 INSERT INTO `0_comments` VALUES(40, 2, '0000-00-00', 'Total project');
1377 INSERT INTO `0_comments` VALUES(0, 6, '2008-02-02', 'A big memo');
1378 INSERT INTO `0_comments` VALUES(10, 7, '2008-02-03', 'Another big memo, which looks good.');
1379 INSERT INTO `0_comments` VALUES(4, 3, '2008-03-09', 'A little cash up front.');
1382 -- Dumping data for table `0_company`
1385 INSERT INTO `0_company` VALUES(1, 'Drill Company Inc.', '987654321', '123123123', 1, 1, 'N/A', '202-122320', '202-18889123', 'delta@delta.com', 'logo_frontaccounting.jpg', 'DownTown', 'USD', '1500', '4250', '2630', '1430', '4260', '4220', '2050', '3800', '3000', '3000', '3200', '1420', '4010', '4210', '3000', '1410', '5000', '', '', '', '', '', '', 0, 10, 10, 1000, 20, 20, 30, 1, 3, 0, 0, 0);
1388 -- Dumping data for table `0_credit_status`
1391 INSERT INTO `0_credit_status` VALUES(1, 'Good History', 0);
1392 INSERT INTO `0_credit_status` VALUES(3, 'No more work until payment received', 1);
1393 INSERT INTO `0_credit_status` VALUES(4, 'In liquidation', 1);
1396 -- Dumping data for table `0_currencies`
1399 INSERT INTO `0_currencies` VALUES('Kronor', 'SEK', 'kr', 'Sweden', '?ren');
1400 INSERT INTO `0_currencies` VALUES('Kroner', 'DKK', 'kr.', 'Denmark', '?re');
1401 INSERT INTO `0_currencies` VALUES('Euro', 'EUR', '?', 'Europe', 'Cents');
1402 INSERT INTO `0_currencies` VALUES('Pounds', 'GBP', '?', 'England', 'Pence');
1403 INSERT INTO `0_currencies` VALUES('US Dollars', 'USD', '$', 'United States', 'Cents');
1406 -- Dumping data for table `0_cust_allocations`
1409 INSERT INTO `0_cust_allocations` VALUES(1, 200, '2008-01-30', 6, 12, 6, 10);
1410 INSERT INTO `0_cust_allocations` VALUES(4, 133, '2008-03-09', 4, 2, 6, 10);
1413 -- Dumping data for table `0_cust_branch`
1416 INSERT INTO `0_cust_branch` VALUES(1, 1, 'Main', '', 1, 1, '', '', 'Lucky Luke Inc.', 'lucky@luke.com', 'DEF', 1, '3000', '3000', '1500', '3200', 1, 0, 'The Road');
1417 INSERT INTO `0_cust_branch` VALUES(2, 1, 'Branch 2', '', 1, 1, '', '', '', '', 'DEF', 1, '3000', '3000', '1500', '3200', 1, 0, 'Another Road');
1418 INSERT INTO `0_cust_branch` VALUES(3, 2, 'Main', '', 1, 1, '', '', 'Money Makers Ltd.', '', 'DEF', 2, '3000', '3000', '1500', '3200', 1, 0, '');
1419 INSERT INTO `0_cust_branch` VALUES(4, 2, 'Main', '', 1, 1, '', '', 'Money Makers Ltd.', '', 'DEF', 2, '3000', '3000', '1500', '3200', 1, 0, 'UK,UK');
1420 INSERT INTO `0_cust_branch` VALUES(5, 3, 'Main', '', 1, 1, '', '', 'Junk Beer ApS', '', 'DEF', 2, '3000', '3000', '1500', '3200', 1, 0, '');
1423 -- Dumping data for table `0_debtors_master`
1426 INSERT INTO `0_debtors_master` VALUES(1, 'Lucky Luke Inc.', '35 Waldorf Street\r\nTown 19358, AR', 'lucky@luke.com', '12311231', 'USD', 1, 0, 0, 1, 1, 0, 0, 1000);
1427 INSERT INTO `0_debtors_master` VALUES(2, 'Money Makers Ltd.', 'N/A', '', '9876543', 'GBP', 1, 0, 0, 1, 1, 0, 0, 1000);
1428 INSERT INTO `0_debtors_master` VALUES(3, 'Junk Beer ApS', 'N/A', '', '123321123', 'DKK', 1, 0, 0, 1, 1, 0, 0, 1000);
1431 -- Dumping data for table `0_debtor_trans`
1434 INSERT INTO `0_debtor_trans` VALUES(2, 10, 0, 1, 1, '2006-01-18', '2006-01-18', '1', 1, 1, 1750, 0, 0, 0, 0, 0, 1, 1, 0);
1435 INSERT INTO `0_debtor_trans` VALUES(2, 11, 0, 2, 3, '2006-01-18', '0000-00-00', '33', 1, 0, 1050, 0, 0, 0, 0, 0, 1.2, 1, 0);
1436 INSERT INTO `0_debtor_trans` VALUES(2, 12, 0, 1, 1, '2006-01-18', '0000-00-00', '111', 0, 0, 10000, 0, 0, 0, 0, 0, 1, 0, 0);
1437 INSERT INTO `0_debtor_trans` VALUES(3, 10, 0, 1, 1, '2006-01-18', '2006-01-18', '2', 1, 1, 1000, 0, 0, 0, 0, 0, 1, 1, 0);
1438 INSERT INTO `0_debtor_trans` VALUES(3, 12, 0, 2, 3, '2006-01-18', '0000-00-00', '112', 0, 0, 200, 0, 0, 0, 0, 0, 1.2, 0, 0);
1439 INSERT INTO `0_debtor_trans` VALUES(4, 2, 0, 1, 1, '2008-03-09', '0000-00-00', '13', 0, 0, 200, 0, 0, 0, 0, 133, 1, 0, 0);
1440 INSERT INTO `0_debtor_trans` VALUES(4, 10, 0, 2, 3, '2006-01-18', '2006-01-18', '3', 1, 2, 1057.14285714, 52.8571428571, 0, 0, 0, 0, 1.2, 1, 0);
1441 INSERT INTO `0_debtor_trans` VALUES(4, 12, 0, 2, 3, '2006-01-18', '0000-00-00', '113', 0, 0, 300, 0, 0, 0, 0, 0, 1.2, 0, 0);
1442 INSERT INTO `0_debtor_trans` VALUES(5, 10, 0, 1, 1, '2008-01-28', '2008-01-28', '4', 1, 1, 93050, 0, 0, 0, 0, 0, 1, 1, 0);
1443 INSERT INTO `0_debtor_trans` VALUES(5, 12, 0, 1, 1, '2006-01-18', '0000-00-00', '114', 0, 0, 500, 0, 0, 0, 0, 0, 1, 0, 0);
1444 INSERT INTO `0_debtor_trans` VALUES(6, 10, 0, 1, 1, '2008-01-30', '2008-01-30', '5', 1, 3, 333, 0, 0, 0, 0, 333, 1, 1, 0);
1445 INSERT INTO `0_debtor_trans` VALUES(6, 12, 0, 1, 1, '2008-01-30', '0000-00-00', '115', 0, 0, 200, 0, 0, 0, 0, 200, 1, 0, 0);
1446 INSERT INTO `0_debtor_trans` VALUES(7, 10, 0, 1, 1, '2008-02-03', '2008-02-03', '6', 1, 4, 333, 0, 0, 0, 0, 0, 1, 1, 0);
1447 INSERT INTO `0_debtor_trans` VALUES(8, 10, 0, 1, 1, '2008-02-03', '2008-02-03', '7', 1, 5, 333, 0, 0, 0, 0, 0, 1, 1, 0);
1448 INSERT INTO `0_debtor_trans` VALUES(9, 10, 0, 2, 3, '2008-02-03', '2008-02-03', '8', 1, 6, 2857.1428571429, 142.85714285714, 0, 0, 0, 0, 1.2, 1, 0);
1449 INSERT INTO `0_debtor_trans` VALUES(10, 10, 0, 1, 1, '2008-02-04', '2008-02-04', '9', 1, 9, 333, 0, 0, 0, 0, 0, 1, 1, 0);
1450 INSERT INTO `0_debtor_trans` VALUES(11, 10, 0, 1, 1, '2008-02-04', '2008-03-22', '10', 1, 10, 333, 0, 0, 0, 0, 0, 1, 1, 0);
1451 INSERT INTO `0_debtor_trans` VALUES(12, 10, 0, 1, 1, '2008-02-06', '2008-03-22', '11', 1, 11, 333, 0, 0, 0, 0, 0, 1, 1, 0);
1452 INSERT INTO `0_debtor_trans` VALUES(13, 10, 0, 1, 1, '2008-02-25', '2008-03-22', '12', 1, 12, 333, 0, 0, 0, 0, 0, 1, 1, 0);
1453 INSERT INTO `0_debtor_trans` VALUES(14, 10, 0, 1, 1, '2008-03-04', '2008-03-22', '13', 1, 13, 333, 0, 0, 0, 0, 0, 1, 1, 0);
1454 INSERT INTO `0_debtor_trans` VALUES(15, 10, 0, 1, 1, '2008-03-05', '2008-03-22', '14', 1, 14, 333, 0, 25, 0, 0, 0, 1, 1, 0);
1455 INSERT INTO `0_debtor_trans` VALUES(16, 10, 0, 1, 1, '2008-03-05', '2008-03-22', '15', 1, 15, 3000, 0, 44, 0, 0, 0, 1, 1, 0);
1458 -- Dumping data for table `0_debtor_trans_details`
1461 INSERT INTO `0_debtor_trans_details` VALUES(1, 2, 10, '102', '17 inch VGA Monitor', 250, 0, -2, 0, 0, 0);
1462 INSERT INTO `0_debtor_trans_details` VALUES(2, 2, 10, '103', '32MB VGA Card', 3000, 0, -10, 0, 0, 0);
1463 INSERT INTO `0_debtor_trans_details` VALUES(3, 2, 10, '104', '52x CD Drive', 50, 0, -5, 0, 0, 0);
1464 INSERT INTO `0_debtor_trans_details` VALUES(4, 3, 10, '103', '32MB VGA Card', 3000, 0, -10, 0, 0, 0);
1465 INSERT INTO `0_debtor_trans_details` VALUES(5, 2, 11, '102', '17 inch VGA Monitor', 210, 0, 5, 0, 0, 0);
1466 INSERT INTO `0_debtor_trans_details` VALUES(6, 4, 10, '102', '17 inch VGA Monitor', 211.428571429, 10.5714285714, -5, 0, 0, 0);
1467 INSERT INTO `0_debtor_trans_details` VALUES(7, 5, 10, '102', '17 inch VGA Monitor', 250, 0, -8, 0, 0, 0);
1468 INSERT INTO `0_debtor_trans_details` VALUES(8, 5, 10, '103', '32MB VGA Card', 3000, 0, -30, 0, 0, 0);
1469 INSERT INTO `0_debtor_trans_details` VALUES(9, 5, 10, '104', '52x CD Drive', 50, 0, -21, 0, 0, 0);
1470 INSERT INTO `0_debtor_trans_details` VALUES(10, 6, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1471 INSERT INTO `0_debtor_trans_details` VALUES(11, 7, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1472 INSERT INTO `0_debtor_trans_details` VALUES(12, 8, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1473 INSERT INTO `0_debtor_trans_details` VALUES(13, 9, 10, '3400', 'P4 Business System', 2857.1428571429, 142.85714285714, -1, 0, 0, 0);
1474 INSERT INTO `0_debtor_trans_details` VALUES(14, 10, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1475 INSERT INTO `0_debtor_trans_details` VALUES(15, 11, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1476 INSERT INTO `0_debtor_trans_details` VALUES(16, 12, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1477 INSERT INTO `0_debtor_trans_details` VALUES(17, 13, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1478 INSERT INTO `0_debtor_trans_details` VALUES(18, 14, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1479 INSERT INTO `0_debtor_trans_details` VALUES(19, 15, 10, '102', '17 inch VGA Monitor', 333, 0, -1, 0, 0, 0);
1480 INSERT INTO `0_debtor_trans_details` VALUES(20, 16, 10, '103', '32MB VGA Card', 3000, 0, -1, 0, 0, 0);
1483 -- Dumping data for table `0_debtor_trans_tax_details`
1486 INSERT INTO `0_debtor_trans_tax_details` VALUES(1, 4, 10, 1, NULL, 5, 1, 52.8571428571);
1487 INSERT INTO `0_debtor_trans_tax_details` VALUES(2, 9, 10, 1, NULL, 5, 1, 142.85714285714);
1490 -- Dumping data for table `0_dimensions`
1493 INSERT INTO `0_dimensions` VALUES(1, '1', 'Development', 1, 0, '2006-01-18', '2006-02-07');
1494 INSERT INTO `0_dimensions` VALUES(2, '2', 'Support', 1, 0, '2006-01-18', '2008-03-07');
1495 INSERT INTO `0_dimensions` VALUES(3, '3', 'Training', 2, 0, '2006-01-18', '2008-03-07');
1498 -- Dumping data for table `0_exchange_rates`
1501 INSERT INTO `0_exchange_rates` VALUES(1, 'LE', 0.149, 0.149, '2006-01-18');
1502 INSERT INTO `0_exchange_rates` VALUES(2, 'GBP', 1.2, 1.2, '2006-01-18');
1503 INSERT INTO `0_exchange_rates` VALUES(3, 'SEK', 0.1667, 0.1667, '2007-01-29');
1504 INSERT INTO `0_exchange_rates` VALUES(4, 'DKK', 0.2, 0.2, '2007-03-05');
1505 INSERT INTO `0_exchange_rates` VALUES(5, 'EUR', 1.1, 1.1, '2007-03-05');
1508 -- Dumping data for table `0_fiscal_year`
1511 INSERT INTO `0_fiscal_year` VALUES(1, '2006-01-01', '2006-12-31', 0);
1512 INSERT INTO `0_fiscal_year` VALUES(2, '2007-01-01', '2007-12-31', 0);
1513 INSERT INTO `0_fiscal_year` VALUES(3, '2008-01-01', '2008-12-31', 0);
1514 INSERT INTO `0_fiscal_year` VALUES(5, '2005-01-01', '2005-12-31', 1);
1517 -- Dumping data for table `0_gl_trans`
1520 INSERT INTO `0_gl_trans` VALUES(1, 10, 2, '2006-01-18', '3000', '', -500, 0, 0, 2, 0x31);
1521 INSERT INTO `0_gl_trans` VALUES(2, 10, 2, '2006-01-18', '3000', '', -1000, 0, 0, 2, 0x31);
1522 INSERT INTO `0_gl_trans` VALUES(3, 10, 2, '2006-01-18', '3000', '', -250, 0, 0, 2, 0x31);
1523 INSERT INTO `0_gl_trans` VALUES(4, 10, 2, '2006-01-18', '1500', '', 1750, 0, 0, 2, 0x31);
1524 INSERT INTO `0_gl_trans` VALUES(5, 10, 3, '2006-01-18', '3000', '', -1000, 0, 0, 2, 0x31);
1525 INSERT INTO `0_gl_trans` VALUES(6, 10, 3, '2006-01-18', '1500', '', 1000, 0, 0, 2, 0x31);
1526 INSERT INTO `0_gl_trans` VALUES(7, 12, 2, '2006-01-18', '1700', '', 5000, 0, 0, 2, 0x31);
1527 INSERT INTO `0_gl_trans` VALUES(8, 12, 2, '2006-01-18', '1500', '', -10000, 0, 0, 2, 0x31);
1528 INSERT INTO `0_gl_trans` VALUES(9, 12, 3, '2006-01-18', '1700', '', 240, 0, 0, 2, 0x32);
1529 INSERT INTO `0_gl_trans` VALUES(10, 12, 3, '2006-01-18', '1500', '', -240, 0, 0, 2, 0x32);
1530 INSERT INTO `0_gl_trans` VALUES(11, 12, 4, '2006-01-18', '1700', '', 360, 0, 0, 2, 0x32);
1531 INSERT INTO `0_gl_trans` VALUES(12, 12, 4, '2006-01-18', '1500', '', -360, 0, 0, 2, 0x32);
1532 INSERT INTO `0_gl_trans` VALUES(13, 12, 5, '2006-01-18', '1700', '', 500, 0, 0, 2, 0x31);
1533 INSERT INTO `0_gl_trans` VALUES(14, 12, 5, '2006-01-18', '1500', '', -500, 0, 0, 2, 0x31);
1534 INSERT INTO `0_gl_trans` VALUES(15, 11, 2, '2006-01-18', '3000', '', 1260, 0, 0, 2, 0x32);
1535 INSERT INTO `0_gl_trans` VALUES(16, 11, 2, '2006-01-18', '1500', '', -1260, 0, 0, 2, 0x32);
1536 INSERT INTO `0_gl_trans` VALUES(17, 10, 4, '2006-01-18', '3000', '', -1268.57142857, 0, 0, 2, 0x32);
1537 INSERT INTO `0_gl_trans` VALUES(18, 10, 4, '2006-01-18', '1500', '', 1332, 0, 0, 2, 0x32);
1538 INSERT INTO `0_gl_trans` VALUES(19, 10, 4, '2006-01-18', '2660', '', -63.4285714286, 0, 0, 2, 0x32);
1539 INSERT INTO `0_gl_trans` VALUES(20, 1, 2, '2006-01-18', '1700', '', -25, 0, 0, 0, NULL);
1540 INSERT INTO `0_gl_trans` VALUES(21, 1, 2, '2006-01-18', '6600', '', 10, 0, 0, 0, NULL);
1541 INSERT INTO `0_gl_trans` VALUES(22, 1, 2, '2006-01-18', '6730', '', 15, 0, 0, 0, NULL);
1542 INSERT INTO `0_gl_trans` VALUES(23, 1, 3, '2006-01-18', '1705', '', -250, 0, 0, 0, NULL);
1543 INSERT INTO `0_gl_trans` VALUES(24, 1, 3, '2006-01-18', '6810', '', 3000, 0, 0, 0, NULL);
1544 INSERT INTO `0_gl_trans` VALUES(25, 1, 3, '2006-01-18', '6700', '', 150, 0, 0, 0, NULL);
1545 INSERT INTO `0_gl_trans` VALUES(26, 1, 4, '2006-01-18', '1700', '', -555, 0, 0, 4, 0x31);
1546 INSERT INTO `0_gl_trans` VALUES(27, 1, 4, '2006-01-18', '4500', '', 555, 0, 0, 4, 0x31);
1547 INSERT INTO `0_gl_trans` VALUES(28, 4, 2, '2006-01-18', '1700', '', -300, 0, 0, 0, NULL);
1548 INSERT INTO `0_gl_trans` VALUES(29, 4, 2, '2006-01-18', '1710', '', 300, 0, 0, 0, NULL);
1549 INSERT INTO `0_gl_trans` VALUES(30, 22, 2, '2006-01-18', '2630', '', 5000, 0, 0, 3, 0x31);
1550 INSERT INTO `0_gl_trans` VALUES(31, 22, 2, '2006-01-18', '1700', '', -5000, 0, 0, 3, 0x31);
1551 INSERT INTO `0_gl_trans` VALUES(32, 22, 3, '2006-01-18', '2630', '', 3960, 0, 0, 3, 0x32);
1552 INSERT INTO `0_gl_trans` VALUES(33, 22, 3, '2006-01-18', '1710', '', -3960, 0, 0, 3, 0x32);
1553 INSERT INTO `0_gl_trans` VALUES(34, 20, 2, '2006-01-18', '2630', '', -3445, 0, 0, 3, 0x31);
1554 INSERT INTO `0_gl_trans` VALUES(35, 20, 2, '2006-01-18', '1420', '', 1000, 0, 0, 3, 0x31);
1555 INSERT INTO `0_gl_trans` VALUES(36, 20, 2, '2006-01-18', '1420', '', 2250, 0, 0, 3, 0x31);
1556 INSERT INTO `0_gl_trans` VALUES(37, 20, 2, '2006-01-18', '2660', '', 162.5, 0, 0, 3, 0x31);
1557 INSERT INTO `0_gl_trans` VALUES(38, 20, 2, '2006-01-18', '2660', '', 32.5, 0, 0, 3, 0x31);
1558 INSERT INTO `0_gl_trans` VALUES(39, 20, 3, '2006-01-18', '2630', '', -26, 0, 0, 3, 0x31);
1559 INSERT INTO `0_gl_trans` VALUES(40, 20, 3, '2006-01-18', '1420', '', 26, 0, 0, 3, 0x31);
1560 INSERT INTO `0_gl_trans` VALUES(41, 2, 2, '2006-01-20', '1700', '', 1050, 0, 0, 0, NULL);
1561 INSERT INTO `0_gl_trans` VALUES(42, 2, 2, '2006-01-20', '4500', '', -1000, 0, 0, 0, NULL);
1562 INSERT INTO `0_gl_trans` VALUES(43, 2, 2, '2006-01-20', '6400', '', -50, 0, 0, 0, NULL);
1563 INSERT INTO `0_gl_trans` VALUES(44, 10, 5, '2008-01-28', '3000', '', -2000, 0, 0, 2, 0x31);
1564 INSERT INTO `0_gl_trans` VALUES(45, 10, 5, '2008-01-28', '3000', '', -90000, 0, 0, 2, 0x31);
1565 INSERT INTO `0_gl_trans` VALUES(46, 10, 5, '2008-01-28', '3000', '', -1050, 0, 0, 2, 0x31);
1566 INSERT INTO `0_gl_trans` VALUES(47, 10, 5, '2008-01-28', '1500', '', 93050, 0, 0, 2, 0x31);
1567 INSERT INTO `0_gl_trans` VALUES(48, 10, 6, '2008-01-30', '3000', '', -333, 0, 0, 2, 0x31);
1568 INSERT INTO `0_gl_trans` VALUES(49, 10, 6, '2008-01-30', '1500', '', 333, 0, 0, 2, 0x31);
1569 INSERT INTO `0_gl_trans` VALUES(50, 12, 6, '2008-01-30', '1700', '', 200, 0, 0, 2, 0x31);
1570 INSERT INTO `0_gl_trans` VALUES(51, 12, 6, '2008-01-30', '1500', '', -200, 0, 0, 2, 0x31);
1571 INSERT INTO `0_gl_trans` VALUES(52, 1, 5, '2008-01-30', '1700', '', -200, 0, 0, 4, 0x31);
1572 INSERT INTO `0_gl_trans` VALUES(53, 1, 5, '2008-01-30', '1400', '', 200, 0, 0, 4, 0x31);
1573 INSERT INTO `0_gl_trans` VALUES(54, 2, 3, '2008-01-30', '1700', '', 70, 0, 0, 4, 0x32);
1574 INSERT INTO `0_gl_trans` VALUES(55, 2, 3, '2008-01-30', '4500', 'Packing', -50, 0, 0, 4, 0x32);
1575 INSERT INTO `0_gl_trans` VALUES(56, 2, 3, '2008-01-30', '6400', '', -20, 0, 0, 4, 0x32);
1576 INSERT INTO `0_gl_trans` VALUES(57, 20, 4, '2008-01-30', '2630', '', -17350, 0, 0, 3, 0x31);
1577 INSERT INTO `0_gl_trans` VALUES(58, 20, 4, '2008-01-30', '1420', '', 15100, 0, 0, 3, 0x31);
1578 INSERT INTO `0_gl_trans` VALUES(59, 20, 4, '2008-01-30', '1420', '', 2250, 0, 0, 3, 0x31);
1579 INSERT INTO `0_gl_trans` VALUES(60, 0, 2, '2008-02-02', '3000', 'nana', -100, 0, 0, NULL, NULL);
1580 INSERT INTO `0_gl_trans` VALUES(61, 0, 2, '2008-02-02', '4010', 'jojo', 100, 0, 0, NULL, NULL);
1581 INSERT INTO `0_gl_trans` VALUES(62, 0, 3, '2008-02-02', '3000', '', -25, 0, 0, NULL, NULL);
1582 INSERT INTO `0_gl_trans` VALUES(63, 0, 3, '2008-02-02', '4000', '', 25, 0, 0, NULL, NULL);
1583 INSERT INTO `0_gl_trans` VALUES(64, 0, 4, '2008-03-01', '3000', '', 25, 0, 0, NULL, NULL);
1584 INSERT INTO `0_gl_trans` VALUES(65, 0, 4, '2008-03-01', '4000', '', -25, 0, 0, NULL, NULL);
1585 INSERT INTO `0_gl_trans` VALUES(66, 0, 5, '2008-02-02', '3000', '', -50, 0, 0, NULL, NULL);
1586 INSERT INTO `0_gl_trans` VALUES(67, 0, 5, '2008-02-02', '4000', '', 50, 0, 0, NULL, NULL);
1587 INSERT INTO `0_gl_trans` VALUES(68, 0, 6, '2008-02-02', '3020', '', -400, 0, 0, NULL, NULL);
1588 INSERT INTO `0_gl_trans` VALUES(69, 0, 6, '2008-02-02', '1500', '', 400, 0, 0, NULL, NULL);
1589 INSERT INTO `0_gl_trans` VALUES(70, 20, 5, '2008-02-03', '2630', '', -6644, 0, 0, 3, 0x31);
1590 INSERT INTO `0_gl_trans` VALUES(71, 20, 5, '2008-02-03', '1420', '', 6644, 0, 0, 3, 0x31);
1591 INSERT INTO `0_gl_trans` VALUES(72, 10, 7, '2008-02-03', '3000', '', -333, 0, 0, 2, 0x31);
1592 INSERT INTO `0_gl_trans` VALUES(73, 10, 7, '2008-02-03', '1500', '', 333, 0, 0, 2, 0x31);
1593 INSERT INTO `0_gl_trans` VALUES(74, 10, 8, '2008-02-03', '3000', '', -333, 0, 0, 2, 0x31);
1594 INSERT INTO `0_gl_trans` VALUES(75, 10, 8, '2008-02-03', '1500', '', 333, 0, 0, 2, 0x31);
1595 INSERT INTO `0_gl_trans` VALUES(76, 10, 9, '2008-02-03', '3000', '', -3428.5714285714, 0, 0, 2, 0x32);
1596 INSERT INTO `0_gl_trans` VALUES(77, 10, 9, '2008-02-03', '1500', '', 3600, 0, 0, 2, 0x32);
1597 INSERT INTO `0_gl_trans` VALUES(78, 10, 9, '2008-02-03', '2660', '', -171.42857142857, 0, 0, 2, 0x32);
1598 INSERT INTO `0_gl_trans` VALUES(79, 10, 10, '2008-02-04', '3000', '', -333, 0, 0, 2, 0x31);
1599 INSERT INTO `0_gl_trans` VALUES(80, 10, 10, '2008-02-04', '1500', '', 333, 0, 0, 2, 0x31);
1600 INSERT INTO `0_gl_trans` VALUES(81, 10, 11, '2008-02-04', '3000', '', -333, 0, 0, 2, 0x31);
1601 INSERT INTO `0_gl_trans` VALUES(82, 10, 11, '2008-02-04', '1500', '', 333, 0, 0, 2, 0x31);
1602 INSERT INTO `0_gl_trans` VALUES(83, 10, 12, '2008-02-06', '3000', '', -333, 0, 0, 2, 0x31);
1603 INSERT INTO `0_gl_trans` VALUES(84, 10, 12, '2008-02-06', '1500', '', 333, 0, 0, 2, 0x31);
1604 INSERT INTO `0_gl_trans` VALUES(85, 0, 7, '2008-02-06', '1400', '', 100, 0, 0, NULL, NULL);
1605 INSERT INTO `0_gl_trans` VALUES(86, 0, 7, '2008-02-06', '1500', '', -100, 0, 0, NULL, NULL);
1606 INSERT INTO `0_gl_trans` VALUES(87, 0, 8, '2008-02-06', '1400', '', 100, 0, 0, NULL, NULL);
1607 INSERT INTO `0_gl_trans` VALUES(88, 0, 8, '2008-02-06', '2000', '', -100, 0, 0, NULL, NULL);
1608 INSERT INTO `0_gl_trans` VALUES(89, 0, 9, '2006-04-06', '1400', '', 100, 0, 0, NULL, NULL);
1609 INSERT INTO `0_gl_trans` VALUES(90, 0, 9, '2006-04-06', '2000', '', -100, 0, 0, NULL, NULL);
1610 INSERT INTO `0_gl_trans` VALUES(91, 0, 10, '2008-02-06', '1400', '', 100, 0, 0, NULL, NULL);
1611 INSERT INTO `0_gl_trans` VALUES(92, 0, 10, '2008-02-06', '2050', '', -100, 0, 0, NULL, NULL);
1612 INSERT INTO `0_gl_trans` VALUES(93, 0, 11, '2006-04-06', '1400', '', 100, 0, 0, NULL, NULL);
1613 INSERT INTO `0_gl_trans` VALUES(94, 0, 11, '2006-04-06', '3000', '', -100, 0, 0, NULL, NULL);
1614 INSERT INTO `0_gl_trans` VALUES(95, 0, 12, '2008-02-06', '1400', '', 100, 0, 0, NULL, NULL);
1615 INSERT INTO `0_gl_trans` VALUES(96, 0, 12, '2008-02-06', '3000', '', -100, 0, 0, NULL, NULL);
1616 INSERT INTO `0_gl_trans` VALUES(97, 0, 13, '2008-02-13', '1400', '', 10, 1, 0, NULL, NULL);
1617 INSERT INTO `0_gl_trans` VALUES(98, 0, 13, '2008-02-13', '1400', '', -10, 0, 0, NULL, NULL);
1618 INSERT INTO `0_gl_trans` VALUES(99, 10, 13, '2008-02-25', '3000', '', -333, 0, 0, NULL, NULL);
1619 INSERT INTO `0_gl_trans` VALUES(100, 10, 13, '2008-02-25', '1500', '', 333, 0, 0, NULL, NULL);
1620 INSERT INTO `0_gl_trans` VALUES(101, 0, 14, '2008-02-25', '1400', '', 10, 1, 0, NULL, NULL);
1621 INSERT INTO `0_gl_trans` VALUES(102, 0, 14, '2008-02-25', '3000', '', -10, 0, 0, NULL, NULL);
1622 INSERT INTO `0_gl_trans` VALUES(103, 0, 15, '2008-03-02', '1400', '', 10, 1, 0, NULL, NULL);
1623 INSERT INTO `0_gl_trans` VALUES(104, 0, 15, '2008-03-02', '1400', '', -10, 0, 0, NULL, NULL);
1624 INSERT INTO `0_gl_trans` VALUES(105, 0, 16, '2008-03-02', '3000', '', 100, 1, 0, NULL, NULL);
1625 INSERT INTO `0_gl_trans` VALUES(106, 0, 16, '2008-03-02', '1430', '', -100, 1, 0, NULL, NULL);
1626 INSERT INTO `0_gl_trans` VALUES(107, 10, 14, '2008-03-04', '3000', '', -333, 0, 0, 2, 0x31);
1627 INSERT INTO `0_gl_trans` VALUES(108, 10, 14, '2008-03-04', '1500', '', 333, 0, 0, 2, 0x31);
1628 INSERT INTO `0_gl_trans` VALUES(109, 10, 15, '2008-03-05', '3000', '', -333, 0, 0, 2, 0x31);
1629 INSERT INTO `0_gl_trans` VALUES(110, 10, 15, '2008-03-05', '1500', '', 358, 0, 0, 2, 0x31);
1630 INSERT INTO `0_gl_trans` VALUES(111, 10, 15, '2008-03-05', '3800', '', -25, 0, 0, 2, 0x31);
1631 INSERT INTO `0_gl_trans` VALUES(112, 10, 16, '2008-03-05', '3000', '', -3000, 0, 0, 2, 0x31);
1632 INSERT INTO `0_gl_trans` VALUES(113, 10, 16, '2008-03-05', '1500', '', 3044, 0, 0, 2, 0x31);
1633 INSERT INTO `0_gl_trans` VALUES(114, 10, 16, '2008-03-05', '3800', '', -44, 0, 0, 2, 0x31);
1634 INSERT INTO `0_gl_trans` VALUES(115, 20, 6, '2008-03-05', '2630', '', -33.34, 0, 0, 3, 0x33);
1635 INSERT INTO `0_gl_trans` VALUES(116, 20, 6, '2008-03-05', '6730', '', 33.34, 1, 0, 3, 0x33);
1636 INSERT INTO `0_gl_trans` VALUES(117, 4, 3, '2008-03-09', '1700', '', -222, 0, 0, NULL, NULL);
1637 INSERT INTO `0_gl_trans` VALUES(118, 4, 3, '2008-03-09', '1705', '', 222, 0, 0, NULL, NULL);
1638 INSERT INTO `0_gl_trans` VALUES(119, 2, 4, '2008-03-09', '1700', '', 200, 0, 0, 2, 0x31);
1639 INSERT INTO `0_gl_trans` VALUES(120, 2, 4, '2008-03-09', '1400', '', -200, 0, 0, 2, 0x31);
1640 INSERT INTO `0_gl_trans` VALUES(121, 1, 6, '2008-03-22', '1700', '', -200, 0, 0, 3, 0x31);
1641 INSERT INTO `0_gl_trans` VALUES(122, 1, 6, '2008-03-22', '2630', '', 200, 0, 0, 3, 0x31);
1642 INSERT INTO `0_gl_trans` VALUES(123, 1, 7, '2008-03-22', '1700', '', -125, 0, 0, 0, 0x67796c6c657472616e73706f7274);
1643 INSERT INTO `0_gl_trans` VALUES(124, 1, 7, '2008-03-22', '6700', '', 100, 0, 0, 0, 0x67796c6c657472616e73706f7274);
1644 INSERT INTO `0_gl_trans` VALUES(125, 1, 7, '2008-03-22', '2682', '', 25, 0, 0, 0, 0x67796c6c657472616e73706f7274);
1645 INSERT INTO `0_gl_trans` VALUES(126, 0, 17, '2008-03-25', '3000', '', -300, 1, 0, NULL, NULL);
1646 INSERT INTO `0_gl_trans` VALUES(127, 0, 17, '2008-03-25', '4200', '', 300, 0, 0, NULL, NULL);
1649 -- Dumping data for table `0_grn_batch`
1652 INSERT INTO `0_grn_batch` VALUES(1, 1, 1, '1', '2006-01-18', 'DEF');
1653 INSERT INTO `0_grn_batch` VALUES(2, 1, 2, '2', '2006-01-18', 'DEF');
1654 INSERT INTO `0_grn_batch` VALUES(3, 1, 5, '3', '2006-01-18', 'DEF');
1657 -- Dumping data for table `0_grn_items`
1660 INSERT INTO `0_grn_items` VALUES(1, 1, 1, '102', '17 inch VGA Monitor', 10, 10);
1661 INSERT INTO `0_grn_items` VALUES(2, 1, 2, '103', '32MB VGA Card', 50, 50);
1662 INSERT INTO `0_grn_items` VALUES(3, 2, 3, '104', '52x CD Drive', 1, 1);
1663 INSERT INTO `0_grn_items` VALUES(4, 3, 6, '104', '52x CD Drive (upgraded)', 3020, 302);
1666 -- Dumping data for table `0_item_tax_types`
1669 INSERT INTO `0_item_tax_types` VALUES(1, 'Regular', 0);
1672 -- Dumping data for table `0_item_tax_type_exemptions`
1675 INSERT INTO `0_item_tax_type_exemptions` VALUES(1, 2);
1678 -- Dumping data for table `0_item_units`
1681 INSERT INTO `0_item_units` VALUES('each', 'Each', 0);
1684 -- Dumping data for table `0_locations`
1687 INSERT INTO `0_locations` VALUES('DEF', 'Default', 'N/A', '', '', '', '');
1688 INSERT INTO `0_locations` VALUES('CWA', 'Cool Warehouse', '', '', '', '', '');
1691 -- Dumping data for table `0_loc_stock`
1694 INSERT INTO `0_loc_stock` VALUES('CWA', '102', 0);
1695 INSERT INTO `0_loc_stock` VALUES('CWA', '103', 0);
1696 INSERT INTO `0_loc_stock` VALUES('CWA', '104', 0);
1697 INSERT INTO `0_loc_stock` VALUES('CWA', '201', 0);
1698 INSERT INTO `0_loc_stock` VALUES('CWA', '3400', 0);
1699 INSERT INTO `0_loc_stock` VALUES('DEF', '102', 0);
1700 INSERT INTO `0_loc_stock` VALUES('DEF', '103', 0);
1701 INSERT INTO `0_loc_stock` VALUES('DEF', '104', 0);
1702 INSERT INTO `0_loc_stock` VALUES('DEF', '201', 0);
1703 INSERT INTO `0_loc_stock` VALUES('DEF', '3400', 0);
1706 -- Dumping data for table `0_movement_types`
1709 INSERT INTO `0_movement_types` VALUES(1, 'Adjustment');
1712 -- Dumping data for table `0_payment_terms`
1715 INSERT INTO `0_payment_terms` VALUES(1, 'Due 15th Of the Following Month', 0, 17);
1716 INSERT INTO `0_payment_terms` VALUES(2, 'Due By End Of The Following Month', 0, 30);
1717 INSERT INTO `0_payment_terms` VALUES(3, 'Payment due within 10 days', 10, 0);
1718 INSERT INTO `0_payment_terms` VALUES(4, 'Cash Only', 1, 0);
1721 -- Dumping data for table `0_prices`
1724 INSERT INTO `0_prices` VALUES(1, '102', 1, 'USD', 333);
1725 INSERT INTO `0_prices` VALUES(2, '103', 1, 'USD', 3000);
1726 INSERT INTO `0_prices` VALUES(3, '104', 1, 'USD', 34);
1727 INSERT INTO `0_prices` VALUES(4, '201', 1, 'USD', 40);
1728 INSERT INTO `0_prices` VALUES(5, '3400', 1, 'USD', 600);
1731 -- Dumping data for table `0_purch_orders`
1734 INSERT INTO `0_purch_orders` VALUES(1, 1, '', '2006-01-18', '3', '333', 'DEF', 'N/A');
1735 INSERT INTO `0_purch_orders` VALUES(2, 1, '', '2006-01-18', '4', '44', 'DEF', 'N/A');
1736 INSERT INTO `0_purch_orders` VALUES(3, 1, '', '2006-01-18', '5', '', 'DEF', 'N/A');
1737 INSERT INTO `0_purch_orders` VALUES(5, 1, '', '2006-01-18', '7', '', 'DEF', 'N/A');
1740 -- Dumping data for table `0_purch_order_details`
1743 INSERT INTO `0_purch_order_details` VALUES(1, 1, '102', '17 inch VGA Monitor', '2006-01-28', 10, 3020, 3020, 0, 3000, 10);
1744 INSERT INTO `0_purch_order_details` VALUES(2, 1, '103', '32MB VGA Card', '2006-01-28', 50, 90, 90, 0, 300, 50);
1745 INSERT INTO `0_purch_order_details` VALUES(3, 2, '104', '52x CD Drive', '2006-01-28', 1, 26, 26, 0, 1, 1);
1746 INSERT INTO `0_purch_order_details` VALUES(4, 3, '104', '52x CD Drive', '2006-01-28', 0, 22, 0, 0, 1, 0);
1747 INSERT INTO `0_purch_order_details` VALUES(6, 5, '104', '52x CD Drive', '2006-01-28', 302, 22, 22, 0, 330, 3020);
1750 -- Dumping data for table `0_refs`
1753 INSERT INTO `0_refs` VALUES(2, 0, 'Joe');
1754 INSERT INTO `0_refs` VALUES(3, 0, '19');
1755 INSERT INTO `0_refs` VALUES(4, 0, '19');
1756 INSERT INTO `0_refs` VALUES(5, 0, '20');
1757 INSERT INTO `0_refs` VALUES(6, 0, '21');
1758 INSERT INTO `0_refs` VALUES(7, 0, '22');
1759 INSERT INTO `0_refs` VALUES(8, 0, '23');
1760 INSERT INTO `0_refs` VALUES(9, 0, '24');
1761 INSERT INTO `0_refs` VALUES(10, 0, '25');
1762 INSERT INTO `0_refs` VALUES(11, 0, '26');
1763 INSERT INTO `0_refs` VALUES(12, 0, '27');
1764 INSERT INTO `0_refs` VALUES(13, 0, '28');
1765 INSERT INTO `0_refs` VALUES(14, 0, '29');
1766 INSERT INTO `0_refs` VALUES(15, 0, '30');
1767 INSERT INTO `0_refs` VALUES(16, 0, '31');
1768 INSERT INTO `0_refs` VALUES(17, 0, '32');
1771 -- Dumping data for table `0_salesman`
1774 INSERT INTO `0_salesman` VALUES(1, 'Sparc Menser', '', '', '', 5, 1000, 4);
1775 INSERT INTO `0_salesman` VALUES(2, 'Joe Hunt', '', '', '', 4, 500, 3);
1778 -- Dumping data for table `0_sales_orders`
1781 INSERT INTO `0_sales_orders` VALUES(1, 0, 0, 1, 1, '', '', '2006-01-18', 1, 1, 'The same', '', '', 'Main', 0, 'DEF', '2006-01-18');
1782 INSERT INTO `0_sales_orders` VALUES(2, 0, 0, 2, 3, '', '', '2006-01-18', 1, 1, 'His Addy', '', '', 'Main', 0, 'DEF', '2006-01-18');
1783 INSERT INTO `0_sales_orders` VALUES(3, 0, 0, 1, 1, 'Oops', 'This is a lot of stuff.', '2008-01-30', 1, 1, 'The Road\r\n333 33 Downtown', '040-365045', '', 'Main', 0, 'DEF', '2008-01-30');
1784 INSERT INTO `0_sales_orders` VALUES(4, 0, 0, 1, 1, '', '', '2008-02-03', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-02-03');
1785 INSERT INTO `0_sales_orders` VALUES(5, 0, 0, 1, 1, '', '', '2008-02-03', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-02-03');
1786 INSERT INTO `0_sales_orders` VALUES(6, 0, 0, 2, 3, '', '', '2008-02-03', 1, 1, 'Street', '', '', 'Main', 0, 'DEF', '2008-02-03');
1787 INSERT INTO `0_sales_orders` VALUES(7, 0, 0, 1, 1, '', '', '2008-02-03', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-02-03');
1788 INSERT INTO `0_sales_orders` VALUES(8, 0, 0, 1, 1, '', '', '2008-02-03', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-02-03');
1789 INSERT INTO `0_sales_orders` VALUES(9, 0, 0, 1, 1, '', '', '2008-02-04', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-02-04');
1790 INSERT INTO `0_sales_orders` VALUES(10, 0, 0, 1, 1, '', '', '2008-02-04', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-02-04');
1791 INSERT INTO `0_sales_orders` VALUES(11, 0, 0, 1, 1, '', '', '2008-02-06', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-02-06');
1792 INSERT INTO `0_sales_orders` VALUES(12, 0, 0, 1, 1, '', '', '2008-02-25', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-02-25');
1793 INSERT INTO `0_sales_orders` VALUES(13, 0, 0, 1, 1, '', '', '2008-03-04', 1, 1, 'The Road', '', '', 'Main', 0, 'DEF', '2008-03-04');
1794 INSERT INTO `0_sales_orders` VALUES(14, 0, 0, 1, 1, '', '', '2008-03-05', 1, 1, 'The Road', '', '', 'Main', 25, 'DEF', '2008-03-05');
1795 INSERT INTO `0_sales_orders` VALUES(15, 0, 0, 1, 1, '', '', '2008-03-05', 1, 1, 'The Road', '', '', 'Main', 44, 'DEF', '2008-03-05');
1798 -- Dumping data for table `0_sales_order_details`
1801 INSERT INTO `0_sales_order_details` VALUES(1, 1, '102', '17 inch VGA Monitor', 10, 250, 10, 0);
1802 INSERT INTO `0_sales_order_details` VALUES(2, 1, '103', '32MB VGA Card', 50, 3000, 50, 0);
1803 INSERT INTO `0_sales_order_details` VALUES(3, 1, '104', '52x CD Drive', 26, 50, 26, 0);
1804 INSERT INTO `0_sales_order_details` VALUES(4, 2, '102', '17 inch VGA Monitor', 5, 222, 25, 0);
1805 INSERT INTO `0_sales_order_details` VALUES(5, 3, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1806 INSERT INTO `0_sales_order_details` VALUES(6, 4, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1807 INSERT INTO `0_sales_order_details` VALUES(7, 5, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1808 INSERT INTO `0_sales_order_details` VALUES(8, 6, '3400', 'P4 Business System', 1, 3000, 1, 0);
1809 INSERT INTO `0_sales_order_details` VALUES(9, 7, '102', '17 inch VGA Monitor', 0, 333, 1, 0);
1810 INSERT INTO `0_sales_order_details` VALUES(10, 8, '102', '17 inch VGA Monitor', 0, 333, 1, 0);
1811 INSERT INTO `0_sales_order_details` VALUES(11, 9, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1812 INSERT INTO `0_sales_order_details` VALUES(12, 10, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1813 INSERT INTO `0_sales_order_details` VALUES(13, 11, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1814 INSERT INTO `0_sales_order_details` VALUES(14, 12, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1815 INSERT INTO `0_sales_order_details` VALUES(15, 13, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1816 INSERT INTO `0_sales_order_details` VALUES(16, 14, '102', '17 inch VGA Monitor', 1, 333, 1, 0);
1817 INSERT INTO `0_sales_order_details` VALUES(17, 15, '103', '32MB VGA Card', 1, 3000, 1, 0);
1820 -- Dumping data for table `0_sales_types`
1823 INSERT INTO `0_sales_types` VALUES(1, 'Retail', 1);
1824 INSERT INTO `0_sales_types` VALUES(2, 'Wholesale', 0);
1827 -- Dumping data for table `0_shippers`
1830 INSERT INTO `0_shippers` VALUES(1, 'UPS', '', '', '');
1831 INSERT INTO `0_shippers` VALUES(2, 'Internet', '', '', '');
1834 -- Dumping data for table `0_stock_category`
1837 INSERT INTO `0_stock_category` VALUES(1, 'Components', NULL, NULL, NULL, NULL);
1838 INSERT INTO `0_stock_category` VALUES(2, 'Charges', NULL, NULL, NULL, NULL);
1839 INSERT INTO `0_stock_category` VALUES(3, 'Systems', NULL, NULL, NULL, NULL);
1840 INSERT INTO `0_stock_category` VALUES(4, 'Services', NULL, NULL, NULL, NULL);
1843 -- Dumping data for table `0_stock_master`
1846 INSERT INTO `0_stock_master` VALUES('102', 1, 1, '17 inch VGA Monitor', '', 'each', 'B', '3000', '4010', '1420', '4210', '0', NULL, NULL, 0, 0, 0, 0, 0);
1847 INSERT INTO `0_stock_master` VALUES('103', 1, 1, '32MB VGA Card', '', 'each', 'B', '3000', '4010', '1420', '4210', '0', NULL, NULL, 0, 0, 0, 0, 0);
1848 INSERT INTO `0_stock_master` VALUES('104', 1, 1, '52x CD Drive', '', 'each', 'B', '3000', '4010', '1420', '4210', '0', NULL, NULL, 0, 0, 0, 0, 0);
1849 INSERT INTO `0_stock_master` VALUES('201', 2, 1, 'Assembly Labour', '', 'each', 'D', '3000', '4010', '1420', '4210', '0', NULL, NULL, 0, 0, 0, 0, 0);
1850 INSERT INTO `0_stock_master` VALUES('3400', 3, 1, 'P4 Business System', '', 'each', 'M', '3000', '4010', '1420', '4210', '1400', NULL, NULL, 0, 0, 0, 0, 0);
1853 -- Dumping data for table `0_stock_moves`
1856 INSERT INTO `0_stock_moves` VALUES(1, 2, '102', 17, 'DEF', '2006-01-18', 1, 0, '1', 3000, 0, 0, 1);
1857 INSERT INTO `0_stock_moves` VALUES(2, 2, '103', 17, 'DEF', '2006-01-18', 1, 0, '1', 3000, 0, 0, 1);
1858 INSERT INTO `0_stock_moves` VALUES(3, 2, '104', 17, 'DEF', '2006-01-18', 1, 0, '1', 150, 0, 0, 1);
1859 INSERT INTO `0_stock_moves` VALUES(4, 2, '3400', 17, 'DEF', '2006-01-18', 1, 0, '1', 50, 0, 0, 1);
1860 INSERT INTO `0_stock_moves` VALUES(5, 2, '102', 16, 'DEF', '2006-01-18', 1, 0, '1', -25, 0, 0, 1);
1861 INSERT INTO `0_stock_moves` VALUES(6, 2, '102', 16, 'CWA', '2006-01-18', 1, 0, '1', 25, 0, 0, 1);
1862 INSERT INTO `0_stock_moves` VALUES(7, 2, '102', 10, 'DEF', '2006-01-18', 0, 250, '', -2, 0, 0, 1);
1863 INSERT INTO `0_stock_moves` VALUES(8, 2, '103', 10, 'DEF', '2006-01-18', 0, 3000, '', -10, 0, 0, 1);
1864 INSERT INTO `0_stock_moves` VALUES(9, 2, '104', 10, 'DEF', '2006-01-18', 0, 50, '', -5, 0, 0, 1);
1865 INSERT INTO `0_stock_moves` VALUES(10, 3, '103', 10, 'DEF', '2006-01-18', 0, 3000, '', -10, 0, 0, 1);
1866 INSERT INTO `0_stock_moves` VALUES(11, 2, '102', 11, 'DEF', '2006-01-18', 0, 210, '', 5, 0, 0, 1);
1867 INSERT INTO `0_stock_moves` VALUES(12, 4, '102', 10, 'DEF', '2006-01-18', 0, 222, '', -5, 0, 0, 1);
1868 INSERT INTO `0_stock_moves` VALUES(13, 1, '102', 26, 'DEF', '2006-01-18', 0, 0, '1', -20, 0, 0, 1);
1869 INSERT INTO `0_stock_moves` VALUES(14, 1, '103', 26, 'DEF', '2006-01-18', 0, 0, '1', -20, 0, 0, 1);
1870 INSERT INTO `0_stock_moves` VALUES(15, 1, '104', 26, 'DEF', '2006-01-18', 0, 0, '1', -20, 0, 0, 1);
1871 INSERT INTO `0_stock_moves` VALUES(16, 1, '3400', 26, 'DEF', '2006-01-18', 0, 0, '1', 20, 0, 0, 1);
1872 INSERT INTO `0_stock_moves` VALUES(17, 2, '102', 26, 'DEF', '2006-01-18', 0, 0, '2', -5, 0, 0, 1);
1873 INSERT INTO `0_stock_moves` VALUES(18, 2, '103', 26, 'DEF', '2006-01-18', 0, 0, '2', -5, 0, 0, 1);
1874 INSERT INTO `0_stock_moves` VALUES(19, 2, '104', 26, 'DEF', '2006-01-18', 0, 0, '2', -5, 0, 0, 1);
1875 INSERT INTO `0_stock_moves` VALUES(20, 2, '3400', 26, 'DEF', '2006-01-18', 0, 0, '2', 5, 0, 0, 1);
1876 INSERT INTO `0_stock_moves` VALUES(21, 1, '102', 25, 'DEF', '2006-01-18', 1, 3020, '', 10, 0, 0, 1);
1877 INSERT INTO `0_stock_moves` VALUES(22, 1, '103', 25, 'DEF', '2006-01-18', 1, 90, '', 50, 0, 0, 1);
1878 INSERT INTO `0_stock_moves` VALUES(23, 2, '104', 25, 'DEF', '2006-01-18', 1, 26, '', 1, 0, 0, 1);
1879 INSERT INTO `0_stock_moves` VALUES(24, 3, '104', 25, 'DEF', '2006-01-18', 1, 22, '', 3020, 0, 0, 1);
1880 INSERT INTO `0_stock_moves` VALUES(25, 1, '102', 28, 'DEF', '2006-01-20', 0, 0, '', -10, 0, 0, 1);
1881 INSERT INTO `0_stock_moves` VALUES(26, 5, '102', 10, 'DEF', '2008-01-28', 0, 250, '', -8, 0, 0, 1);
1882 INSERT INTO `0_stock_moves` VALUES(27, 5, '103', 10, 'DEF', '2008-01-28', 0, 3000, '', -30, 0, 0, 1);
1883 INSERT INTO `0_stock_moves` VALUES(28, 5, '104', 10, 'DEF', '2008-01-28', 0, 50, '', -21, 0, 0, 1);
1884 INSERT INTO `0_stock_moves` VALUES(29, 6, '102', 10, 'DEF', '2008-01-30', 0, 333, '', -1, 0, 0, 1);
1885 INSERT INTO `0_stock_moves` VALUES(30, 4, '102', 26, 'DEF', '2008-01-30', 0, 0, '4', -5, 0, 0, 1);
1886 INSERT INTO `0_stock_moves` VALUES(31, 4, '103', 26, 'DEF', '2008-01-30', 0, 0, '4', -5, 0, 0, 1);
1887 INSERT INTO `0_stock_moves` VALUES(32, 4, '104', 26, 'DEF', '2008-01-30', 0, 0, '4', -5, 0, 0, 1);
1888 INSERT INTO `0_stock_moves` VALUES(33, 4, '3400', 26, 'DEF', '2008-01-30', 0, 0, '4', 5, 0, 0, 1);
1889 INSERT INTO `0_stock_moves` VALUES(34, 1, '3400', 29, 'DEF', '2008-01-30', 0, 0, '', 50, 0, 0, 1);
1890 INSERT INTO `0_stock_moves` VALUES(35, 2, '3400', 29, 'DEF', '2008-01-30', 0, 0, '', 20, 0, 0, 1);
1891 INSERT INTO `0_stock_moves` VALUES(36, 7, '102', 10, 'DEF', '2008-02-03', 0, 333, '', -1, 0, 0, 1);
1892 INSERT INTO `0_stock_moves` VALUES(37, 8, '102', 10, 'DEF', '2008-02-03', 0, 333, '', -1, 0, 0, 1);
1893 INSERT INTO `0_stock_moves` VALUES(38, 9, '3400', 10, 'DEF', '2008-02-03', 0, 3000, '', -1, 0, 0, 1);
1894 INSERT INTO `0_stock_moves` VALUES(39, 10, '102', 10, 'DEF', '2008-02-04', 0, 333, '', -1, 0, 0, 1);
1895 INSERT INTO `0_stock_moves` VALUES(40, 11, '102', 10, 'DEF', '2008-02-04', 0, 333, '', -1, 0, 0, 1);
1896 INSERT INTO `0_stock_moves` VALUES(41, 12, '102', 10, 'DEF', '2008-02-06', 0, 333, '', -1, 0, 0, 1);
1897 INSERT INTO `0_stock_moves` VALUES(42, 13, '102', 10, 'DEF', '2008-02-25', 0, 333, '', -1, 0, 0, 1);
1898 INSERT INTO `0_stock_moves` VALUES(43, 14, '102', 10, 'DEF', '2008-03-04', 0, 333, '', -1, 0, 0, 1);
1899 INSERT INTO `0_stock_moves` VALUES(44, 15, '102', 10, 'DEF', '2008-03-05', 0, 333, '', -1, 0, 0, 1);
1900 INSERT INTO `0_stock_moves` VALUES(45, 16, '103', 10, 'DEF', '2008-03-05', 0, 3000, '', -1, 0, 0, 1);
1903 -- Dumping data for table `0_suppliers`
1906 INSERT INTO `0_suppliers` VALUES(1, 'Ghostbusters Corp.', '', '', '123456789', 'USD', 1, 0, 0, 2, '4000', '2630', '4250');
1907 INSERT INTO `0_suppliers` VALUES(2, 'Beefeater Ltd.', '', '', '987654321', 'GBP', 1, 0, 0, 2, '4000', '2630', '4250');
1908 INSERT INTO `0_suppliers` VALUES(3, 'Super Trooper AB', 'Adress', 'sven@sven.sve', '123456', 'SEK', 3, 0, 0, 2, '4000', '2630', '4250');
1911 -- Dumping data for table `0_supp_allocations`
1914 INSERT INTO `0_supp_allocations` VALUES(7, 1529, '2008-01-30', 2, 22, 4, 20);
1915 INSERT INTO `0_supp_allocations` VALUES(8, 3445, '2008-01-30', 2, 22, 2, 20);
1916 INSERT INTO `0_supp_allocations` VALUES(9, 26, '2008-01-30', 2, 22, 3, 20);
1919 -- Dumping data for table `0_supp_invoice_items`
1922 INSERT INTO `0_supp_invoice_items` VALUES(1, 2, 20, '0', 1, 1, '102', '17 inch VGA Monitor', 5, 3020, 0, '');
1923 INSERT INTO `0_supp_invoice_items` VALUES(2, 2, 20, '0', 2, 2, '103', '32MB VGA Card', 25, 90, 0, '');
1924 INSERT INTO `0_supp_invoice_items` VALUES(3, 3, 20, '0', 3, 3, '104', '52x CD Drive', 1, 26, 0, '');
1925 INSERT INTO `0_supp_invoice_items` VALUES(4, 4, 20, '0', 1, 1, '102', '17 inch VGA Monitor', 5, 3020, 0, '');
1926 INSERT INTO `0_supp_invoice_items` VALUES(5, 4, 20, '0', 2, 2, '103', '32MB VGA Card', 25, 90, 0, '');
1927 INSERT INTO `0_supp_invoice_items` VALUES(6, 5, 20, '0', 4, 6, '104', '52x CD Drive (upgraded)', 302, 22, 0, '');
1928 INSERT INTO `0_supp_invoice_items` VALUES(7, 6, 20, '6730', 0, 0, '', '', 0, 200, 0, 'yes');
1931 -- Dumping data for table `0_supp_invoice_tax_items`
1934 INSERT INTO `0_supp_invoice_tax_items` VALUES(1, 2, 20, 1, NULL, 5, 0, 162.5);
1935 INSERT INTO `0_supp_invoice_tax_items` VALUES(2, 2, 20, 2, NULL, 1, 0, 32.5);
1938 -- Dumping data for table `0_supp_trans`
1941 INSERT INTO `0_supp_trans` VALUES(2, 20, 1, '22', '22', '2006-01-18', '2006-02-22', 3250, 0, 195, 1, 3445);
1942 INSERT INTO `0_supp_trans` VALUES(2, 22, 1, '1', '', '2006-01-18', '2006-01-18', -5000, 0, 0, 1, 5000);
1943 INSERT INTO `0_supp_trans` VALUES(3, 20, 1, '23', 'asdf', '2006-01-18', '2006-02-22', 26, 0, 0, 1, 26);
1944 INSERT INTO `0_supp_trans` VALUES(3, 22, 2, '2', '', '2006-01-18', '2006-01-18', -3300, 0, 0, 1.2, 0);
1945 INSERT INTO `0_supp_trans` VALUES(4, 20, 1, '24', 'Hamselv', '2008-01-30', '2008-02-22', 17350, 0, 0, 1, 1529);
1946 INSERT INTO `0_supp_trans` VALUES(5, 20, 1, '25', '6789', '2008-02-03', '2008-03-22', 6644, 0, 0, 1, 0);
1947 INSERT INTO `0_supp_trans` VALUES(6, 1, 1, '5', '', '2008-03-22', '0000-00-00', -200, 0, 0, 1, 0);
1948 INSERT INTO `0_supp_trans` VALUES(6, 20, 3, '26', '333333', '2008-03-05', '2008-03-12', 200, 0, 0, 0.2, 0);
1951 -- Dumping data for table `0_sys_types`
1954 INSERT INTO `0_sys_types` VALUES(0, 'Journal - GL', 17, '33');
1955 INSERT INTO `0_sys_types` VALUES(1, 'Payment - GL', 7, '7');
1956 INSERT INTO `0_sys_types` VALUES(2, 'Receipt - GL', 4, '14');
1957 INSERT INTO `0_sys_types` VALUES(4, 'Funds Transfer', 3, '6');
1958 INSERT INTO `0_sys_types` VALUES(10, 'Sales Invoice', 16, '16');
1959 INSERT INTO `0_sys_types` VALUES(11, 'Credit Note', 2, '34');
1960 INSERT INTO `0_sys_types` VALUES(12, 'Receipt', 6, '116');
1961 INSERT INTO `0_sys_types` VALUES(13, 'Delivery', 1, '1');
1962 INSERT INTO `0_sys_types` VALUES(16, 'Location Transfer', 2, '2');
1963 INSERT INTO `0_sys_types` VALUES(17, 'Inventory Adjustment', 2, '2');
1964 INSERT INTO `0_sys_types` VALUES(18, 'Purchase Order', 1, '8');
1965 INSERT INTO `0_sys_types` VALUES(20, 'Supplier Invoice', 6, '27');
1966 INSERT INTO `0_sys_types` VALUES(21, 'Supplier Credit Note', 1, '2');
1967 INSERT INTO `0_sys_types` VALUES(22, 'Supplier Payment', 3, '3');
1968 INSERT INTO `0_sys_types` VALUES(25, 'Purchase Order Delivery', 1, '4');
1969 INSERT INTO `0_sys_types` VALUES(26, 'Work Order', 1, '6');
1970 INSERT INTO `0_sys_types` VALUES(28, 'Work Order Issue', 1, '2');
1971 INSERT INTO `0_sys_types` VALUES(29, 'Work Order Production', 1, '201');
1972 INSERT INTO `0_sys_types` VALUES(30, 'Sales Order', 1, '1');
1973 INSERT INTO `0_sys_types` VALUES(35, 'Cost Update', 1, '1');
1974 INSERT INTO `0_sys_types` VALUES(40, 'Dimension', 1, '3');
1977 -- Dumping data for table `0_tax_groups`
1980 INSERT INTO `0_tax_groups` VALUES(1, 'Tax', 0);
1981 INSERT INTO `0_tax_groups` VALUES(2, 'Tax-Free', 0);
1984 -- Dumping data for table `0_tax_group_items`
1987 INSERT INTO `0_tax_group_items` VALUES(1, 1, 5);
1988 INSERT INTO `0_tax_group_items` VALUES(1, 2, 1);
1991 -- Dumping data for table `0_tax_types`
1994 INSERT INTO `0_tax_types` VALUES(1, 5, '2660', '2680', 'VAT');
1995 INSERT INTO `0_tax_types` VALUES(2, 1, '2662', '2680', 'MANUFACT TAX');
1998 -- Dumping data for table `0_users`
2001 INSERT INTO `0_users` VALUES('demouser', '5f4dcc3b5aa765d61d8327deb882cf99', 'Demo User', 1, '999-999-999', 'demo@demo.nu', 'en_US', 0, 0, 0, 0, 'default', 'Letter', 2, 2, 3, 1, 1, 0, '2008-02-06 19:02:35');
2002 INSERT INTO `0_users` VALUES('admin', '5f4dcc3b5aa765d61d8327deb882cf99', 'Administrator', 2, '', 'adm@adm.com', 'en_US', 0, 0, 0, 0, 'default', 'Letter', 2, 2, 4, 1, 1, 0, '2008-03-20 10:52:46');
2005 -- Dumping data for table `0_workcentres`
2008 INSERT INTO `0_workcentres` VALUES(1, 'work centre', '');
2011 -- Dumping data for table `0_workorders`
2014 INSERT INTO `0_workorders` VALUES(1, '1', 'DEF', 20, '3400', '2006-01-18', 0, '2006-01-18', '2006-01-18', 20, 1, 1, 0);
2015 INSERT INTO `0_workorders` VALUES(2, '2', 'DEF', 5, '3400', '2006-01-18', 0, '2006-01-18', '2006-01-18', 5, 1, 1, 0);
2016 INSERT INTO `0_workorders` VALUES(3, '3', 'DEF', 50, '3400', '2006-01-18', 2, '2006-02-07', '2006-01-20', 50, 1, 1, 0);
2017 INSERT INTO `0_workorders` VALUES(4, '4', 'DEF', 5, '3400', '2008-01-30', 0, '2008-01-30', '2008-01-30', 5, 1, 1, 0);
2018 INSERT INTO `0_workorders` VALUES(5, '5', 'DEF', 20, '3400', '2008-01-30', 2, '2008-02-19', '2008-01-30', 20, 1, 1, 0);
2021 -- Dumping data for table `0_wo_issues`
2024 INSERT INTO `0_wo_issues` VALUES(1, 3, '1', '2006-01-20', 'DEF', 1);
2027 -- Dumping data for table `0_wo_issue_items`
2030 INSERT INTO `0_wo_issue_items` VALUES(1, '102', 1, 10);
2033 -- Dumping data for table `0_wo_manufacture`
2036 INSERT INTO `0_wo_manufacture` VALUES(1, 'ab200', 3, 50, '2008-01-30');
2037 INSERT INTO `0_wo_manufacture` VALUES(2, 'ab201', 5, 20, '2008-01-30');
2040 -- Dumping data for table `0_wo_requirements`
2043 INSERT INTO `0_wo_requirements` VALUES(1, 1, '102', 1, 1, 0, 'DEF', 20);
2044 INSERT INTO `0_wo_requirements` VALUES(2, 1, '103', 1, 1, 0, 'DEF', 20);
2045 INSERT INTO `0_wo_requirements` VALUES(3, 1, '104', 1, 1, 0, 'DEF', 20);
2046 INSERT INTO `0_wo_requirements` VALUES(4, 1, '201', 1, 1, 0, 'DEF', 20);
2047 INSERT INTO `0_wo_requirements` VALUES(5, 2, '102', 1, 1, 0, 'DEF', 5);
2048 INSERT INTO `0_wo_requirements` VALUES(6, 2, '103', 1, 1, 0, 'DEF', 5);
2049 INSERT INTO `0_wo_requirements` VALUES(7, 2, '104', 1, 1, 0, 'DEF', 5);
2050 INSERT INTO `0_wo_requirements` VALUES(8, 2, '201', 1, 1, 0, 'DEF', 5);
2051 INSERT INTO `0_wo_requirements` VALUES(9, 3, '102', 1, 1, 0, 'DEF', 0);
2052 INSERT INTO `0_wo_requirements` VALUES(10, 3, '103', 1, 1, 0, 'DEF', 0);
2053 INSERT INTO `0_wo_requirements` VALUES(11, 3, '104', 1, 1, 0, 'DEF', 0);
2054 INSERT INTO `0_wo_requirements` VALUES(12, 3, '201', 1, 1, 0, 'DEF', 0);
2055 INSERT INTO `0_wo_requirements` VALUES(13, 4, '102', 1, 1, 0, 'DEF', 5);
2056 INSERT INTO `0_wo_requirements` VALUES(14, 4, '103', 1, 1, 0, 'DEF', 5);
2057 INSERT INTO `0_wo_requirements` VALUES(15, 4, '104', 1, 1, 0, 'DEF', 5);
2058 INSERT INTO `0_wo_requirements` VALUES(16, 4, '201', 1, 1, 0, 'DEF', 5);
2059 INSERT INTO `0_wo_requirements` VALUES(17, 5, '102', 1, 1, 0, 'DEF', 0);
2060 INSERT INTO `0_wo_requirements` VALUES(18, 5, '103', 1, 1, 0, 'DEF', 0);
2061 INSERT INTO `0_wo_requirements` VALUES(19, 5, '104', 1, 1, 0, 'DEF', 0);
2062 INSERT INTO `0_wo_requirements` VALUES(20, 5, '201', 1, 1, 0, 'DEF', 0);