X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Fen_US-new.sql;h=69d6b9971f755e205b1689f217b34c51d583548f;hb=9a98bb3bc7a94f1a8e47f8dab45a87c8b4212080;hp=f9d81ce47f5963ec5beececc36bee684d94cb73a;hpb=351f937353a8494462cb01131624cda946665d5f;p=fa-stable.git diff --git a/sql/en_US-new.sql b/sql/en_US-new.sql index f9d81ce4..69d6b997 100644 --- a/sql/en_US-new.sql +++ b/sql/en_US-new.sql @@ -102,6 +102,7 @@ CREATE TABLE IF NOT EXISTS `0_bank_accounts` ( `bank_curr_code` char(3) NOT NULL default '', `dflt_curr_act` tinyint(1) NOT NULL default '0', `id` smallint(6) NOT NULL auto_increment, + `bank_charge_act` varchar(15) NOT NULL default '', `last_reconciled_date` timestamp NOT NULL default '0000-00-00 00:00:00', `ending_reconcile_balance` double NOT NULL default '0', `inactive` tinyint(1) NOT NULL default '0', @@ -115,8 +116,8 @@ CREATE TABLE IF NOT EXISTS `0_bank_accounts` ( -- Dumping data for table `0_bank_accounts` -- -INSERT INTO `0_bank_accounts` VALUES('1060', 0, 'Current account', 'N/A', 'N/A', '', 'USD', 1, 1, '0000-00-00 00:00:00', 0, 0); -INSERT INTO `0_bank_accounts` VALUES('1065', 3, 'Petty Cash account', 'N/A', 'N/A', '', 'USD', 0, 2, '0000-00-00 00:00:00', 0, 0); +INSERT INTO `0_bank_accounts` VALUES('1060', 0, 'Current account', 'N/A', 'N/A', '', 'USD', 1, 1, '5690', '0000-00-00 00:00:00', 0, 0); +INSERT INTO `0_bank_accounts` VALUES('1065', 3, 'Petty Cash account', 'N/A', 'N/A', '', 'USD', 0, 2, '5690', '0000-00-00 00:00:00', 0, 0); -- -------------------------------------------------------- @@ -576,6 +577,7 @@ CREATE TABLE IF NOT EXISTS `0_cust_branch` ( `br_post_address` tinytext NOT NULL, `group_no` int(11) NOT NULL default '0', `notes` tinytext NOT NULL, + `bank_account` varchar(60) DEFAULT NULL, `inactive` tinyint(1) NOT NULL default '0', PRIMARY KEY (`branch_code`,`debtor_no`), KEY `branch_code` (`branch_code`), @@ -651,6 +653,7 @@ CREATE TABLE IF NOT EXISTS `0_debtor_trans` ( `dimension_id` int(11) NOT NULL default '0', `dimension2_id` int(11) NOT NULL default '0', `payment_terms` int(11) default NULL, + `tax_included` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`type`,`trans_no`), KEY `debtor_no` (`debtor_no`,`branch_code`), KEY `tran_date` (`tran_date`) @@ -764,6 +767,7 @@ CREATE TABLE IF NOT EXISTS `0_fiscal_year` ( INSERT INTO `0_fiscal_year` VALUES(1, '2008-01-01', '2008-12-31', 0); INSERT INTO `0_fiscal_year` VALUES(2, '2009-01-01', '2009-12-31', 0); INSERT INTO `0_fiscal_year` VALUES(3, '2010-01-01', '2010-12-31', 0); +INSERT INTO `0_fiscal_year` VALUES(4, '2011-01-01', '2011-12-31', 0); -- -- Table structure for table `0_gl_trans` @@ -1769,7 +1773,7 @@ CREATE TABLE IF NOT EXISTS `0_sys_prefs` ( `category` varchar(30) default NULL, `type` varchar(20) NOT NULL default '', `length` smallint(6) default NULL, - `value` tinytext, + `value` text, PRIMARY KEY (`name`), KEY `category` (`category`) ) ENGINE=MyISAM; @@ -1815,6 +1819,7 @@ INSERT INTO `0_sys_prefs` VALUES('default_sales_act', 'glsetup.sales', 'varchar' INSERT INTO `0_sys_prefs` VALUES('default_sales_discount_act', 'glsetup.sales', 'varchar', 15, '4510'); INSERT INTO `0_sys_prefs` VALUES('default_prompt_payment_act', 'glsetup.sales', 'varchar', 15, '4500'); INSERT INTO `0_sys_prefs` VALUES('default_delivery_required', 'glsetup.sales', 'smallint', 6, '1'); +INSERT INTO `0_sys_prefs` VALUES('default_receival_required', 'glsetup.purchase', 'smallint', 6, '10'); INSERT INTO `0_sys_prefs` VALUES('default_dim_required', 'glsetup.dims', 'int', 11, '20'); INSERT INTO `0_sys_prefs` VALUES('pyt_discount_act', 'glsetup.purchase', 'varchar', 15, '5060'); INSERT INTO `0_sys_prefs` VALUES('creditors_act', 'glsetup.purchase', 'varchar', 15, '2100'); @@ -2065,6 +2070,7 @@ CREATE TABLE IF NOT EXISTS `0_users` ( `rep_popup` tinyint(1) default '1', `sticky_doc_date` tinyint(1) default '0', `startup_tab` varchar(20) NOT NULL default '', + `transaction_days` smallint(6) NOT NULL default '0', `inactive` tinyint(1) NOT NULL default '0', PRIMARY KEY (`id`), UNIQUE KEY `user_id` (`user_id`)