X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Fen_US-new.sql;h=d2266787b1cbb1d5fcf7329832bd18386427c99e;hb=8f7ac519b7aaf8ec219862597e878d3a28316ac6;hp=5d0a76869596561b07db440d383ed9145ade0970;hpb=d7b51bd9a9dc3316b778739e93470a812160a509;p=fa-stable.git diff --git a/sql/en_US-new.sql b/sql/en_US-new.sql index 5d0a7686..d2266787 100644 --- a/sql/en_US-new.sql +++ b/sql/en_US-new.sql @@ -392,13 +392,14 @@ CREATE TABLE `0_company` ( `time_zone` tinyint(1) NOT NULL default '0', `add_pct` int(5) NOT NULL default '-1', `round_to` int(5) NOT NULL default '1', + `login_tout` SMALLINT(6) NOT NULL DEFAULT '600', PRIMARY KEY (`coy_code`) ) TYPE=MyISAM ; ### Data of table `0_company` ### -INSERT INTO `0_company` VALUES ('1', 'Company name', '', '', '1', '1', 'N/A', '', '', '', '', '', 'USD', '1200', '5060', '2100', '5690', '4450', '9990', '3590', '4430', '4010', '4510', '4500', '1510', '5010', '5040', '4010', '1530', '5000', '0', '10', '10', '1000', '20', '20', '30', '1', '1', '0', '0', '0', '1', '0', '0', '', '1', '2.2', '0', '-1', '1'); +INSERT INTO `0_company` VALUES ('1', 'Company name', '', '', '1', '1', 'N/A', '', '', '', '', '', 'USD', '1200', '5060', '2100', '5690', '4450', '9990', '3590', '4430', '4010', '4510', '4500', '1510', '5010', '5040', '4010', '1530', '5000', '0', '10', '10', '1000', '20', '20', '30', '1', '1', '0', '0', '0', '1', '0', '0', '', '1', '2.2', '0', '-1', '1', '600'); ### Structure of table `0_credit_status` ### @@ -472,6 +473,7 @@ CREATE TABLE `0_cust_branch` ( `branch_code` int(11) NOT NULL auto_increment, `debtor_no` int(11) NOT NULL default '0', `br_name` varchar(60) NOT NULL default '', + `branch_ref` varchar(30) NOT NULL default '', `br_address` tinytext NOT NULL, `area` int(11) default NULL, `salesman` int(11) NOT NULL default '0', @@ -566,6 +568,7 @@ DROP TABLE IF EXISTS `0_debtors_master`; CREATE TABLE `0_debtors_master` ( `debtor_no` int(11) NOT NULL auto_increment, `name` varchar(80) NOT NULL default '', + `debtor_ref` varchar(30) NOT NULL, `address` tinytext, `email` varchar(100) NOT NULL default '', `tax_id` varchar(55) NOT NULL default '', @@ -1290,10 +1293,10 @@ CREATE TABLE `0_stock_category` ( ### Data of table `0_stock_category` ### -INSERT INTO `0_stock_category` VALUES ('1', 'Components', '1', 'each', 'B', '4010', '1510', '5010', '5040', '1530', '0', '0', '0', '0'); -INSERT INTO `0_stock_category` VALUES ('2', 'Charges', '1', 'each', 'D', '4010', '1510', '5010', '5040', '1530', '0', '0', '0', '0'); -INSERT INTO `0_stock_category` VALUES ('3', 'Systems', '1', 'each', 'M', '4010', '1510', '5010', '5040', '1530', '0', '0', '0', '0'); -INSERT INTO `0_stock_category` VALUES ('4', 'Services', '1', 'hrs', 'D', '4010', '1510', '5010', '5040', '1530', '0', '0', '0', '0'); +INSERT INTO `0_stock_category` VALUES ('1', 'Components', '1', 'each', 'B', '4010', '5010', '1510', '5040', '1530', '0', '0', '0', '0'); +INSERT INTO `0_stock_category` VALUES ('2', 'Charges', '1', 'each', 'D', '4010', '5010', '1510', '5040', '1530', '0', '0', '0', '0'); +INSERT INTO `0_stock_category` VALUES ('3', 'Systems', '1', 'each', 'M', '4010', '5010', '1510', '5040', '1530', '0', '0', '0', '0'); +INSERT INTO `0_stock_category` VALUES ('4', 'Services', '1', 'hrs', 'D', '4010', '5010', '1510', '5040', '1530', '0', '0', '0', '0'); ### Structure of table `0_stock_master` ### @@ -1437,6 +1440,7 @@ DROP TABLE IF EXISTS `0_suppliers`; CREATE TABLE `0_suppliers` ( `supplier_id` int(11) NOT NULL auto_increment, `supp_name` varchar(60) NOT NULL default '', + `supp_ref` varchar(30) NOT NULL default '', `address` tinytext NOT NULL, `supp_address` tinytext NOT NULL, `phone` varchar(30) NOT NULL default '',