DROP TABLE IF EXISTS `0_crm_contacts`;
CREATE TABLE IF NOT EXISTS `0_crm_contacts` (
`id` int(11) NOT NULL auto_increment,
- `person_id` int(11) NOT NULL default '0' COMMENT 'foreign key to crm_contacts',
+ `person_id` int(11) NOT NULL default '0' COMMENT 'foreign key to crm_persons',
`type` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
`action` varchar(20) NOT NULL COMMENT 'foreign key to crm_categories',
`entity_id` varchar(11) default NULL COMMENT 'entity id in related class table',
INSERT INTO `0_sys_prefs` VALUES ('suppress_tax_rates','setup.company', 'tinyint', 1, '0');
INSERT INTO `0_sys_prefs` VALUES ('company_logo_report','setup.company', 'tinyint', 1, '0');
INSERT INTO `0_sys_prefs` VALUES ('barcodes_on_stock','setup.company', 'tinyint', 1, '0');
+INSERT INTO `0_sys_prefs` VALUES ('ref_no_auto_increase','setup.company', 'tinyint', 1, '0');
INSERT INTO `0_sys_prefs` VALUES ('default_loss_on_asset_disposal_act', 'glsetup.items', 'varchar', '15', '5660');
INSERT INTO `0_sys_prefs` VALUES ('depreciation_period', 'glsetup.company', 'tinyint', '1', '1');
INSERT INTO `0_sys_prefs` VALUES ('use_manufacturing','setup.company', 'tinyint', 1, '1');