) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `0_wo_issue_items`
CREATE TABLE `0_wo_issue_items` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`stock_id` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
`issue_id` int(11) DEFAULT NULL,
`qty_issued` double DEFAULT NULL,
`unit_cost` double NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `0_wo_manufacture`
CREATE TABLE `0_wo_manufacture` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`reference` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`workorder_id` int(11) NOT NULL DEFAULT '0',
`quantity` double NOT NULL DEFAULT '0',
`date_` date NOT NULL DEFAULT '0000-00-00',
KEY `workorder_id` (`workorder_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `0_wo_requirements`
CREATE TABLE `0_wo_requirements` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`workorder_id` int(11) NOT NULL DEFAULT '0',
`stock_id` char(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`workcentre` int(11) NOT NULL DEFAULT '0',
`units_req` double NOT NULL DEFAULT '1',
`unit_cost` double NOT NULL DEFAULT '0',
`loc_code` char(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`units_issued` double NOT NULL DEFAULT '0',
KEY `workorder_id` (`workorder_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;