X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Fen_US-new.sql;h=90a44aa5318d57771fe614dee8191ac70370cae3;hb=f58466eea31b624deacaf5e5cd4b9de7995e0373;hp=9971f5cf6369362bb22978e74c98b2d077aca9f0;hpb=c2336c3ee9077bdde59e6299a43f45a1c2268f72;p=fa-stable.git diff --git a/sql/en_US-new.sql b/sql/en_US-new.sql index 9971f5cf..90a44aa5 100644 --- a/sql/en_US-new.sql +++ b/sql/en_US-new.sql @@ -357,7 +357,7 @@ CREATE TABLE `0_company` ( `debtors_act` varchar(11) NOT NULL default '', `pyt_discount_act` varchar(11) NOT NULL default '', `creditors_act` varchar(11) NOT NULL default '', - `grn_act` varchar(11) NOT NULL default '', + `bank_charge_act` varchar(11) NOT NULL default '', `exchange_diff_act` varchar(11) NOT NULL default '', `profit_loss_year_act` varchar(11) NOT NULL default '', `retained_earnings_act` varchar(11) NOT NULL default '', @@ -390,13 +390,15 @@ CREATE TABLE `0_company` ( `default_delivery_required` smallint(6) NOT NULL default '1', `version_id` varchar(11) NOT NULL default '', `time_zone` tinyint(1) NOT NULL default '0', + `add_pct` int(5) NOT NULL default '-1', + `round_to` int(5) NOT NULL default '1', 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', '1430', '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'); +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'); ### Structure of table `0_credit_status` ### @@ -1280,6 +1282,7 @@ CREATE TABLE `0_stock_category` ( `dflt_dim1` int(11) default NULL, `dflt_dim2` int(11) default NULL, `inactive` tinyint(1) NOT NULL default '0', + `dflt_no_sale` tinyint(1) NOT NULL default '0', PRIMARY KEY (`category_id`), UNIQUE KEY `description` (`description`) ) TYPE=MyISAM AUTO_INCREMENT=5 ; @@ -1287,10 +1290,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'); -INSERT INTO `0_stock_category` VALUES ('2', 'Charges', '1', 'each', 'D', '4010', '1510', '5010', '5040', '1530', '0', '0', '0'); -INSERT INTO `0_stock_category` VALUES ('3', 'Systems', '1', 'each', 'M', '4010', '1510', '5010', '5040', '1530', '0', '0', '0'); -INSERT INTO `0_stock_category` VALUES ('4', 'Services', '1', 'hrs', 'D', '4010', '1510', '5010', '5040', '1530', '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` ### @@ -1318,6 +1321,7 @@ CREATE TABLE `0_stock_master` ( `labour_cost` double NOT NULL default '0', `overhead_cost` double NOT NULL default '0', `inactive` tinyint(1) NOT NULL default '0', + `no_sale` tinyint(1) NOT NULL default '0', PRIMARY KEY (`stock_id`) ) TYPE=InnoDB ;