Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../weberp
File: weberp.sql
-- MySQL dump 10.13 Distrib 5.5.62, for Linux (x86_64)
[0] Fix | Delete
--
[1] Fix | Delete
-- Host: localhost Database: weberp
[2] Fix | Delete
-- ------------------------------------------------------
[3] Fix | Delete
-- Server version 5.5.62
[4] Fix | Delete
[5] Fix | Delete
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
[6] Fix | Delete
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
[7] Fix | Delete
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
[8] Fix | Delete
/*!40101 SET NAMES utf8 */;
[9] Fix | Delete
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
[10] Fix | Delete
/*!40103 SET TIME_ZONE='+00:00' */;
[11] Fix | Delete
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
[12] Fix | Delete
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
[13] Fix | Delete
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
[14] Fix | Delete
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
[15] Fix | Delete
[16] Fix | Delete
--
[17] Fix | Delete
-- Table structure for table `accountgroups`
[18] Fix | Delete
--
[19] Fix | Delete
[20] Fix | Delete
DROP TABLE IF EXISTS `accountgroups`;
[21] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[22] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[23] Fix | Delete
CREATE TABLE `accountgroups` (
[24] Fix | Delete
`groupname` char(30) NOT NULL DEFAULT '',
[25] Fix | Delete
`sectioninaccounts` int(11) NOT NULL DEFAULT '0',
[26] Fix | Delete
`pandl` tinyint(4) NOT NULL DEFAULT '1',
[27] Fix | Delete
`sequenceintb` smallint(6) NOT NULL DEFAULT '0',
[28] Fix | Delete
`parentgroupname` varchar(30) NOT NULL,
[29] Fix | Delete
PRIMARY KEY (`groupname`),
[30] Fix | Delete
KEY `SequenceInTB` (`sequenceintb`),
[31] Fix | Delete
KEY `sectioninaccounts` (`sectioninaccounts`),
[32] Fix | Delete
KEY `parentgroupname` (`parentgroupname`),
[33] Fix | Delete
CONSTRAINT `accountgroups_ibfk_1` FOREIGN KEY (`sectioninaccounts`) REFERENCES `accountsection` (`sectionid`)
[34] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[35] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[36] Fix | Delete
[37] Fix | Delete
--
[38] Fix | Delete
-- Dumping data for table `accountgroups`
[39] Fix | Delete
--
[40] Fix | Delete
[41] Fix | Delete
LOCK TABLES `accountgroups` WRITE;
[42] Fix | Delete
/*!40000 ALTER TABLE `accountgroups` DISABLE KEYS */;
[43] Fix | Delete
INSERT INTO `accountgroups` VALUES ('Cost of Goods Sold',2,1,5000,''),('Current Assets',20,0,1000,''),('Financed',50,0,3000,''),('Fixed Assets',10,0,500,''),('Giveaways',5,1,6000,'Promotions'),('Income Tax',5,1,9000,''),('Liabilities',30,0,2000,''),('Marketing Expenses',5,1,6000,''),('Operating Expenses',5,1,7000,''),('Other Revenue and Expenses',5,1,8000,''),('Outward Freight',2,1,5000,'Cost of Goods Sold'),('Promotions',5,1,6000,'Marketing Expenses'),('Revenue',1,1,4000,''),('Sales',1,1,10,'');
[44] Fix | Delete
/*!40000 ALTER TABLE `accountgroups` ENABLE KEYS */;
[45] Fix | Delete
UNLOCK TABLES;
[46] Fix | Delete
[47] Fix | Delete
--
[48] Fix | Delete
-- Table structure for table `accountsection`
[49] Fix | Delete
--
[50] Fix | Delete
[51] Fix | Delete
DROP TABLE IF EXISTS `accountsection`;
[52] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[53] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[54] Fix | Delete
CREATE TABLE `accountsection` (
[55] Fix | Delete
`sectionid` int(11) NOT NULL DEFAULT '0',
[56] Fix | Delete
`sectionname` text NOT NULL,
[57] Fix | Delete
PRIMARY KEY (`sectionid`)
[58] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[59] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[60] Fix | Delete
[61] Fix | Delete
--
[62] Fix | Delete
-- Dumping data for table `accountsection`
[63] Fix | Delete
--
[64] Fix | Delete
[65] Fix | Delete
LOCK TABLES `accountsection` WRITE;
[66] Fix | Delete
/*!40000 ALTER TABLE `accountsection` DISABLE KEYS */;
[67] Fix | Delete
INSERT INTO `accountsection` VALUES (1,'Income'),(2,'Cost Of Sales'),(5,'Overheads'),(10,'Fixed Assets'),(15,'Inventory'),(20,'Amounts Receivable'),(25,'Cash'),(30,'Amounts Payable'),(50,'Financed By');
[68] Fix | Delete
/*!40000 ALTER TABLE `accountsection` ENABLE KEYS */;
[69] Fix | Delete
UNLOCK TABLES;
[70] Fix | Delete
[71] Fix | Delete
--
[72] Fix | Delete
-- Table structure for table `areas`
[73] Fix | Delete
--
[74] Fix | Delete
[75] Fix | Delete
DROP TABLE IF EXISTS `areas`;
[76] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[77] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[78] Fix | Delete
CREATE TABLE `areas` (
[79] Fix | Delete
`areacode` char(3) NOT NULL,
[80] Fix | Delete
`areadescription` varchar(25) NOT NULL DEFAULT '',
[81] Fix | Delete
PRIMARY KEY (`areacode`)
[82] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[83] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[84] Fix | Delete
[85] Fix | Delete
--
[86] Fix | Delete
-- Dumping data for table `areas`
[87] Fix | Delete
--
[88] Fix | Delete
[89] Fix | Delete
LOCK TABLES `areas` WRITE;
[90] Fix | Delete
/*!40000 ALTER TABLE `areas` DISABLE KEYS */;
[91] Fix | Delete
/*!40000 ALTER TABLE `areas` ENABLE KEYS */;
[92] Fix | Delete
UNLOCK TABLES;
[93] Fix | Delete
[94] Fix | Delete
--
[95] Fix | Delete
-- Table structure for table `assetmanager`
[96] Fix | Delete
--
[97] Fix | Delete
[98] Fix | Delete
DROP TABLE IF EXISTS `assetmanager`;
[99] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[100] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[101] Fix | Delete
CREATE TABLE `assetmanager` (
[102] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[103] Fix | Delete
`stockid` varchar(20) NOT NULL DEFAULT '',
[104] Fix | Delete
`serialno` varchar(30) NOT NULL DEFAULT '',
[105] Fix | Delete
`location` varchar(15) NOT NULL DEFAULT '',
[106] Fix | Delete
`cost` double NOT NULL DEFAULT '0',
[107] Fix | Delete
`depn` double NOT NULL DEFAULT '0',
[108] Fix | Delete
`datepurchased` date NOT NULL DEFAULT '1000-01-01',
[109] Fix | Delete
`disposalvalue` int(11) NOT NULL DEFAULT '0',
[110] Fix | Delete
PRIMARY KEY (`id`)
[111] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[112] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[113] Fix | Delete
[114] Fix | Delete
--
[115] Fix | Delete
-- Dumping data for table `assetmanager`
[116] Fix | Delete
--
[117] Fix | Delete
[118] Fix | Delete
LOCK TABLES `assetmanager` WRITE;
[119] Fix | Delete
/*!40000 ALTER TABLE `assetmanager` DISABLE KEYS */;
[120] Fix | Delete
/*!40000 ALTER TABLE `assetmanager` ENABLE KEYS */;
[121] Fix | Delete
UNLOCK TABLES;
[122] Fix | Delete
[123] Fix | Delete
--
[124] Fix | Delete
-- Table structure for table `audittrail`
[125] Fix | Delete
--
[126] Fix | Delete
[127] Fix | Delete
DROP TABLE IF EXISTS `audittrail`;
[128] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[129] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[130] Fix | Delete
CREATE TABLE `audittrail` (
[131] Fix | Delete
`transactiondate` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
[132] Fix | Delete
`userid` varchar(20) NOT NULL DEFAULT '',
[133] Fix | Delete
`querystring` text,
[134] Fix | Delete
KEY `UserID` (`userid`),
[135] Fix | Delete
KEY `transactiondate` (`transactiondate`),
[136] Fix | Delete
KEY `transactiondate_2` (`transactiondate`),
[137] Fix | Delete
KEY `transactiondate_3` (`transactiondate`),
[138] Fix | Delete
CONSTRAINT `audittrail_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `www_users` (`userid`)
[139] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[140] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[141] Fix | Delete
[142] Fix | Delete
--
[143] Fix | Delete
-- Dumping data for table `audittrail`
[144] Fix | Delete
--
[145] Fix | Delete
[146] Fix | Delete
LOCK TABLES `audittrail` WRITE;
[147] Fix | Delete
/*!40000 ALTER TABLE `audittrail` DISABLE KEYS */;
[148] Fix | Delete
/*!40000 ALTER TABLE `audittrail` ENABLE KEYS */;
[149] Fix | Delete
UNLOCK TABLES;
[150] Fix | Delete
[151] Fix | Delete
--
[152] Fix | Delete
-- Table structure for table `bankaccounts`
[153] Fix | Delete
--
[154] Fix | Delete
[155] Fix | Delete
DROP TABLE IF EXISTS `bankaccounts`;
[156] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[157] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[158] Fix | Delete
CREATE TABLE `bankaccounts` (
[159] Fix | Delete
`accountcode` varchar(20) NOT NULL DEFAULT '0',
[160] Fix | Delete
`currcode` char(3) NOT NULL,
[161] Fix | Delete
`invoice` smallint(2) NOT NULL DEFAULT '0',
[162] Fix | Delete
`bankaccountcode` varchar(50) NOT NULL DEFAULT '',
[163] Fix | Delete
`bankaccountname` char(50) NOT NULL DEFAULT '',
[164] Fix | Delete
`bankaccountnumber` char(50) NOT NULL DEFAULT '',
[165] Fix | Delete
`bankaddress` char(50) DEFAULT NULL,
[166] Fix | Delete
`importformat` varchar(10) NOT NULL DEFAULT '''''',
[167] Fix | Delete
PRIMARY KEY (`accountcode`),
[168] Fix | Delete
KEY `currcode` (`currcode`),
[169] Fix | Delete
KEY `BankAccountName` (`bankaccountname`),
[170] Fix | Delete
KEY `BankAccountNumber` (`bankaccountnumber`),
[171] Fix | Delete
CONSTRAINT `bankaccounts_ibfk_1` FOREIGN KEY (`accountcode`) REFERENCES `chartmaster` (`accountcode`)
[172] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[173] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[174] Fix | Delete
[175] Fix | Delete
--
[176] Fix | Delete
-- Dumping data for table `bankaccounts`
[177] Fix | Delete
--
[178] Fix | Delete
[179] Fix | Delete
LOCK TABLES `bankaccounts` WRITE;
[180] Fix | Delete
/*!40000 ALTER TABLE `bankaccounts` DISABLE KEYS */;
[181] Fix | Delete
INSERT INTO `bankaccounts` VALUES ('1010','GBP',2,'123','GBP account','123','',''),('1030','AUD',2,'12445','Cheque Account','124455667789','123 Straight Street',''),('1040','AUD',0,'','Savings Account','','',''),('1060','USD',1,'','USD Bank Account','123','','GIFTS');
[182] Fix | Delete
/*!40000 ALTER TABLE `bankaccounts` ENABLE KEYS */;
[183] Fix | Delete
UNLOCK TABLES;
[184] Fix | Delete
[185] Fix | Delete
--
[186] Fix | Delete
-- Table structure for table `bankaccountusers`
[187] Fix | Delete
--
[188] Fix | Delete
[189] Fix | Delete
DROP TABLE IF EXISTS `bankaccountusers`;
[190] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[191] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[192] Fix | Delete
CREATE TABLE `bankaccountusers` (
[193] Fix | Delete
`accountcode` varchar(20) NOT NULL COMMENT 'Bank account code',
[194] Fix | Delete
`userid` varchar(20) NOT NULL COMMENT 'User code'
[195] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[196] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[197] Fix | Delete
[198] Fix | Delete
--
[199] Fix | Delete
-- Dumping data for table `bankaccountusers`
[200] Fix | Delete
--
[201] Fix | Delete
[202] Fix | Delete
LOCK TABLES `bankaccountusers` WRITE;
[203] Fix | Delete
/*!40000 ALTER TABLE `bankaccountusers` DISABLE KEYS */;
[204] Fix | Delete
/*!40000 ALTER TABLE `bankaccountusers` ENABLE KEYS */;
[205] Fix | Delete
UNLOCK TABLES;
[206] Fix | Delete
[207] Fix | Delete
--
[208] Fix | Delete
-- Table structure for table `banktrans`
[209] Fix | Delete
--
[210] Fix | Delete
[211] Fix | Delete
DROP TABLE IF EXISTS `banktrans`;
[212] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[213] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[214] Fix | Delete
CREATE TABLE `banktrans` (
[215] Fix | Delete
`banktransid` bigint(20) NOT NULL AUTO_INCREMENT,
[216] Fix | Delete
`type` smallint(6) NOT NULL DEFAULT '0',
[217] Fix | Delete
`transno` bigint(20) NOT NULL DEFAULT '0',
[218] Fix | Delete
`bankact` varchar(20) NOT NULL DEFAULT '0',
[219] Fix | Delete
`ref` varchar(50) NOT NULL DEFAULT '',
[220] Fix | Delete
`amountcleared` double NOT NULL DEFAULT '0',
[221] Fix | Delete
`exrate` double NOT NULL DEFAULT '1' COMMENT 'From bank account currency to payment currency',
[222] Fix | Delete
`functionalexrate` double NOT NULL DEFAULT '1' COMMENT 'Account currency to functional currency',
[223] Fix | Delete
`transdate` date NOT NULL DEFAULT '1000-01-01',
[224] Fix | Delete
`banktranstype` varchar(30) NOT NULL DEFAULT '',
[225] Fix | Delete
`amount` double NOT NULL DEFAULT '0',
[226] Fix | Delete
`currcode` char(3) NOT NULL DEFAULT '',
[227] Fix | Delete
`chequeno` varchar(16) NOT NULL DEFAULT '',
[228] Fix | Delete
PRIMARY KEY (`banktransid`),
[229] Fix | Delete
KEY `BankAct` (`bankact`,`ref`),
[230] Fix | Delete
KEY `TransDate` (`transdate`),
[231] Fix | Delete
KEY `TransType` (`banktranstype`),
[232] Fix | Delete
KEY `Type` (`type`,`transno`),
[233] Fix | Delete
KEY `CurrCode` (`currcode`),
[234] Fix | Delete
KEY `ref` (`ref`),
[235] Fix | Delete
CONSTRAINT `banktrans_ibfk_1` FOREIGN KEY (`type`) REFERENCES `systypes` (`typeid`),
[236] Fix | Delete
CONSTRAINT `banktrans_ibfk_2` FOREIGN KEY (`bankact`) REFERENCES `bankaccounts` (`accountcode`)
[237] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[238] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[239] Fix | Delete
[240] Fix | Delete
--
[241] Fix | Delete
-- Dumping data for table `banktrans`
[242] Fix | Delete
--
[243] Fix | Delete
[244] Fix | Delete
LOCK TABLES `banktrans` WRITE;
[245] Fix | Delete
/*!40000 ALTER TABLE `banktrans` DISABLE KEYS */;
[246] Fix | Delete
/*!40000 ALTER TABLE `banktrans` ENABLE KEYS */;
[247] Fix | Delete
UNLOCK TABLES;
[248] Fix | Delete
[249] Fix | Delete
--
[250] Fix | Delete
-- Table structure for table `bom`
[251] Fix | Delete
--
[252] Fix | Delete
[253] Fix | Delete
DROP TABLE IF EXISTS `bom`;
[254] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[255] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[256] Fix | Delete
CREATE TABLE `bom` (
[257] Fix | Delete
`parent` char(20) NOT NULL DEFAULT '',
[258] Fix | Delete
`sequence` int(11) NOT NULL DEFAULT '0',
[259] Fix | Delete
`component` char(20) NOT NULL DEFAULT '',
[260] Fix | Delete
`workcentreadded` char(5) NOT NULL DEFAULT '',
[261] Fix | Delete
`loccode` char(5) NOT NULL DEFAULT '',
[262] Fix | Delete
`effectiveafter` date NOT NULL DEFAULT '1000-01-01',
[263] Fix | Delete
`effectiveto` date NOT NULL DEFAULT '9999-12-31',
[264] Fix | Delete
`quantity` double NOT NULL DEFAULT '1',
[265] Fix | Delete
`autoissue` tinyint(4) NOT NULL DEFAULT '0',
[266] Fix | Delete
`remark` varchar(500) NOT NULL DEFAULT '',
[267] Fix | Delete
`digitals` int(11) NOT NULL DEFAULT '0',
[268] Fix | Delete
PRIMARY KEY (`parent`,`component`,`workcentreadded`,`loccode`),
[269] Fix | Delete
KEY `Component` (`component`),
[270] Fix | Delete
KEY `EffectiveAfter` (`effectiveafter`),
[271] Fix | Delete
KEY `EffectiveTo` (`effectiveto`),
[272] Fix | Delete
KEY `LocCode` (`loccode`),
[273] Fix | Delete
KEY `Parent` (`parent`,`effectiveafter`,`effectiveto`,`loccode`),
[274] Fix | Delete
KEY `Parent_2` (`parent`),
[275] Fix | Delete
KEY `WorkCentreAdded` (`workcentreadded`),
[276] Fix | Delete
CONSTRAINT `bom_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `stockmaster` (`stockid`),
[277] Fix | Delete
CONSTRAINT `bom_ibfk_2` FOREIGN KEY (`component`) REFERENCES `stockmaster` (`stockid`),
[278] Fix | Delete
CONSTRAINT `bom_ibfk_3` FOREIGN KEY (`workcentreadded`) REFERENCES `workcentres` (`code`),
[279] Fix | Delete
CONSTRAINT `bom_ibfk_4` FOREIGN KEY (`loccode`) REFERENCES `locations` (`loccode`)
[280] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[281] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[282] Fix | Delete
[283] Fix | Delete
--
[284] Fix | Delete
-- Dumping data for table `bom`
[285] Fix | Delete
--
[286] Fix | Delete
[287] Fix | Delete
LOCK TABLES `bom` WRITE;
[288] Fix | Delete
/*!40000 ALTER TABLE `bom` DISABLE KEYS */;
[289] Fix | Delete
/*!40000 ALTER TABLE `bom` ENABLE KEYS */;
[290] Fix | Delete
UNLOCK TABLES;
[291] Fix | Delete
[292] Fix | Delete
--
[293] Fix | Delete
-- Table structure for table `chartdetails`
[294] Fix | Delete
--
[295] Fix | Delete
[296] Fix | Delete
DROP TABLE IF EXISTS `chartdetails`;
[297] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[298] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[299] Fix | Delete
CREATE TABLE `chartdetails` (
[300] Fix | Delete
`accountcode` varchar(20) NOT NULL DEFAULT '0',
[301] Fix | Delete
`period` smallint(6) NOT NULL DEFAULT '0',
[302] Fix | Delete
`budget` double NOT NULL DEFAULT '0',
[303] Fix | Delete
`actual` double NOT NULL DEFAULT '0',
[304] Fix | Delete
`bfwd` double NOT NULL DEFAULT '0',
[305] Fix | Delete
`bfwdbudget` double NOT NULL DEFAULT '0',
[306] Fix | Delete
PRIMARY KEY (`accountcode`,`period`),
[307] Fix | Delete
KEY `Period` (`period`),
[308] Fix | Delete
CONSTRAINT `chartdetails_ibfk_1` FOREIGN KEY (`accountcode`) REFERENCES `chartmaster` (`accountcode`),
[309] Fix | Delete
CONSTRAINT `chartdetails_ibfk_2` FOREIGN KEY (`period`) REFERENCES `periods` (`periodno`)
[310] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[311] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[312] Fix | Delete
[313] Fix | Delete
--
[314] Fix | Delete
-- Dumping data for table `chartdetails`
[315] Fix | Delete
--
[316] Fix | Delete
[317] Fix | Delete
LOCK TABLES `chartdetails` WRITE;
[318] Fix | Delete
/*!40000 ALTER TABLE `chartdetails` DISABLE KEYS */;
[319] Fix | Delete
/*!40000 ALTER TABLE `chartdetails` ENABLE KEYS */;
[320] Fix | Delete
UNLOCK TABLES;
[321] Fix | Delete
[322] Fix | Delete
--
[323] Fix | Delete
-- Table structure for table `chartmaster`
[324] Fix | Delete
--
[325] Fix | Delete
[326] Fix | Delete
DROP TABLE IF EXISTS `chartmaster`;
[327] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[328] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[329] Fix | Delete
CREATE TABLE `chartmaster` (
[330] Fix | Delete
`accountcode` varchar(20) NOT NULL DEFAULT '0',
[331] Fix | Delete
`accountname` char(50) NOT NULL DEFAULT '',
[332] Fix | Delete
`group_` char(30) NOT NULL DEFAULT '',
[333] Fix | Delete
`cashflowsactivity` tinyint(1) NOT NULL DEFAULT '-1' COMMENT 'Cash flows activity',
[334] Fix | Delete
PRIMARY KEY (`accountcode`),
[335] Fix | Delete
KEY `AccountName` (`accountname`),
[336] Fix | Delete
KEY `Group_` (`group_`),
[337] Fix | Delete
CONSTRAINT `chartmaster_ibfk_1` FOREIGN KEY (`group_`) REFERENCES `accountgroups` (`groupname`)
[338] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[339] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[340] Fix | Delete
[341] Fix | Delete
--
[342] Fix | Delete
-- Dumping data for table `chartmaster`
[343] Fix | Delete
--
[344] Fix | Delete
[345] Fix | Delete
LOCK TABLES `chartmaster` WRITE;
[346] Fix | Delete
/*!40000 ALTER TABLE `chartmaster` DISABLE KEYS */;
[347] Fix | Delete
INSERT INTO `chartmaster` VALUES ('1','Default Sales/Discounts','Sales',-1),('1010','Petty Cash','Current Assets',-1),('1020','Cash on Hand','Current Assets',-1),('1030','Cheque Accounts','Current Assets',-1),('1040','Savings Accounts','Current Assets',-1),('1050','Payroll Accounts','Current Assets',-1),('1060','Special Accounts','Current Assets',-1),('1070','Money Market Investments','Current Assets',-1),('1080','Short-Term Investments (< 90 days)','Current Assets',-1),('1090','Interest Receivable','Current Assets',-1),('1100','Accounts Receivable','Current Assets',-1),('1150','Allowance for Doubtful Accounts','Current Assets',-1),('1200','Notes Receivable','Current Assets',-1),('1250','Income Tax Receivable','Current Assets',-1),('1300','Prepaid Expenses','Current Assets',-1),('1350','Advances','Current Assets',-1),('1400','Supplies Inventory','Current Assets',-1),('1420','Raw Material Inventory','Current Assets',-1),('1440','Work in Progress Inventory','Current Assets',-1),('1460','Finished Goods Inventory','Current Assets',-1),('1500','Land','Fixed Assets',-1),('1550','Bonds','Fixed Assets',-1),('1600','Buildings','Fixed Assets',-1),('1620','Accumulated Depreciation of Buildings','Fixed Assets',-1),('1650','Equipment','Fixed Assets',-1),('1670','Accumulated Depreciation of Equipment','Fixed Assets',-1),('1700','Furniture & Fixtures','Fixed Assets',-1),('1710','Accumulated Depreciation of Furniture & Fixtures','Fixed Assets',-1),('1720','Office Equipment','Fixed Assets',-1),('1730','Accumulated Depreciation of Office Equipment','Fixed Assets',-1),('1740','Software','Fixed Assets',-1),('1750','Accumulated Depreciation of Software','Fixed Assets',-1),('1760','Vehicles','Fixed Assets',-1),('1770','Accumulated Depreciation Vehicles','Fixed Assets',-1),('1780','Other Depreciable Property','Fixed Assets',-1),('1790','Accumulated Depreciation of Other Depreciable Prop','Fixed Assets',-1),('1800','Patents','Fixed Assets',-1),('1850','Goodwill','Fixed Assets',-1),('1900','Future Income Tax Receivable','Current Assets',-1),('2010','Bank Indedebtedness (overdraft)','Liabilities',-1),('2020','Retainers or Advances on Work','Liabilities',-1),('2050','Interest Payable','Liabilities',-1),('2100','Accounts Payable','Liabilities',-1),('2150','Goods Received Suspense','Liabilities',-1),('2200','Short-Term Loan Payable','Liabilities',-1),('2230','Current Portion of Long-Term Debt Payable','Liabilities',-1),('2250','Income Tax Payable','Liabilities',-1),('2300','GST Payable','Liabilities',-1),('2310','GST Recoverable','Liabilities',-1),('2320','PST Payable','Liabilities',-1),('2330','PST Recoverable (commission)','Liabilities',-1),('2340','Payroll Tax Payable','Liabilities',-1),('2350','Withholding Income Tax Payable','Liabilities',-1),('2360','Other Taxes Payable','Liabilities',-1),('2400','Employee Salaries Payable','Liabilities',-1),('2410','Management Salaries Payable','Liabilities',-1),('2420','Director / Partner Fees Payable','Liabilities',-1),('2450','Health Benefits Payable','Liabilities',-1),('2460','Pension Benefits Payable','Liabilities',-1),('2480','Employment Insurance Premiums Payable','Liabilities',-1),('2500','Land Payable','Liabilities',-1),('2550','Long-Term Bank Loan','Liabilities',-1),('2560','Notes Payable','Liabilities',-1),('2600','Building & Equipment Payable','Liabilities',-1),('2700','Furnishing & Fixture Payable','Liabilities',-1),('2720','Office Equipment Payable','Liabilities',-1),('2740','Vehicle Payable','Liabilities',-1),('2760','Other Property Payable','Liabilities',-1),('2800','Shareholder Loans','Liabilities',-1),('2900','Suspense','Liabilities',-1),('3100','Capital Stock','Financed',-1),('3200','Capital Surplus / Dividends','Financed',-1),('3300','Dividend Taxes Payable','Financed',-1),('3400','Dividend Taxes Refundable','Financed',-1),('3500','Retained Earnings','Financed',-1),('4100','Product / Service Sales','Revenue',-1),('4200','Sales Exchange Gains/Losses','Revenue',-1),('4500','Consulting Services','Revenue',-1),('4600','Rentals','Revenue',-1),('4700','Finance Charge Income','Revenue',-1),('4800','Sales Returns & Allowances','Revenue',-1),('4900','Sales Discounts','Revenue',-1),('5000','Cost of Sales','Cost of Goods Sold',-1),('5100','Production Expenses','Cost of Goods Sold',-1),('5200','Purchases Exchange Gains/Losses','Cost of Goods Sold',-1),('5500','Direct Labour Costs','Cost of Goods Sold',-1),('5600','Freight Charges','Outward Freight',-1),('5700','Inventory Adjustment','Cost of Goods Sold',-1),('5800','Purchase Returns & Allowances','Cost of Goods Sold',-1),('5900','Purchase Discounts','Cost of Goods Sold',-1),('6100','Advertising','Marketing Expenses',-1),('6150','Promotion','Promotions',-1),('6200','Communications','Marketing Expenses',-1),('6250','Meeting Expenses','Marketing Expenses',-1),('6300','Travelling Expenses','Marketing Expenses',-1),('6400','Delivery Expenses','Marketing Expenses',-1),('6500','Sales Salaries & Commission','Marketing Expenses',-1),('6550','Sales Salaries & Commission Deductions','Marketing Expenses',-1),('6590','Benefits','Marketing Expenses',-1),('6600','Other Selling Expenses','Marketing Expenses',-1),('6700','Permits, Licenses & License Fees','Marketing Expenses',-1),('6800','Research & Development','Marketing Expenses',-1),('6900','Professional Services','Marketing Expenses',-1),('7020','Support Salaries & Wages','Operating Expenses',-1),('7030','Support Salary & Wage Deductions','Operating Expenses',-1),('7040','Management Salaries','Operating Expenses',-1),('7050','Management Salary deductions','Operating Expenses',-1),('7060','Director / Partner Fees','Operating Expenses',-1),('7070','Director / Partner Deductions','Operating Expenses',-1),('7080','Payroll Tax','Operating Expenses',-1),('7090','Benefits','Operating Expenses',-1),('7100','Training & Education Expenses','Operating Expenses',-1),('7150','Dues & Subscriptions','Operating Expenses',-1),('7200','Accounting Fees','Operating Expenses',-1),('7210','Audit Fees','Operating Expenses',-1),('7220','Banking Fees','Operating Expenses',-1),('7230','Credit Card Fees','Operating Expenses',-1),('7240','Consulting Fees','Operating Expenses',-1),('7260','Legal Fees','Operating Expenses',-1),('7280','Other Professional Fees','Operating Expenses',-1),('7300','Business Tax','Operating Expenses',-1),('7350','Property Tax','Operating Expenses',-1),('7390','Corporation Capital Tax','Operating Expenses',-1),('7400','Office Rent','Operating Expenses',-1),('7450','Equipment Rental','Operating Expenses',-1),('7500','Office Supplies','Operating Expenses',-1),('7550','Office Repair & Maintenance','Operating Expenses',-1),('7600','Automotive Expenses','Operating Expenses',-1),('7610','Communication Expenses','Operating Expenses',-1),('7620','Insurance Expenses','Operating Expenses',-1),('7630','Postage & Courier Expenses','Operating Expenses',-1),('7640','Miscellaneous Expenses','Operating Expenses',-1),('7650','Travel Expenses','Operating Expenses',-1),('7660','Utilities','Operating Expenses',-1),('7700','Ammortization Expenses','Operating Expenses',-1),('7750','Depreciation Expenses','Operating Expenses',-1),('7800','Interest Expense','Operating Expenses',-1),('7900','Bad Debt Expense','Operating Expenses',-1),('8100','Gain on Sale of Assets','Other Revenue and Expenses',-1),('8200','Interest Income','Other Revenue and Expenses',-1),('8300','Recovery on Bad Debt','Other Revenue and Expenses',-1),('8400','Other Revenue','Other Revenue and Expenses',-1),('8500','Loss on Sale of Assets','Other Revenue and Expenses',-1),('8600','Charitable Contributions','Other Revenue and Expenses',-1),('8900','Other Expenses','Other Revenue and Expenses',-1),('9100','Income Tax Provision','Income Tax',-1);
[348] Fix | Delete
/*!40000 ALTER TABLE `chartmaster` ENABLE KEYS */;
[349] Fix | Delete
UNLOCK TABLES;
[350] Fix | Delete
[351] Fix | Delete
--
[352] Fix | Delete
-- Table structure for table `cogsglpostings`
[353] Fix | Delete
--
[354] Fix | Delete
[355] Fix | Delete
DROP TABLE IF EXISTS `cogsglpostings`;
[356] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[357] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[358] Fix | Delete
CREATE TABLE `cogsglpostings` (
[359] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[360] Fix | Delete
`area` char(3) NOT NULL DEFAULT '',
[361] Fix | Delete
`stkcat` varchar(6) NOT NULL DEFAULT '',
[362] Fix | Delete
`glcode` varchar(20) NOT NULL DEFAULT '0',
[363] Fix | Delete
`salestype` char(2) NOT NULL DEFAULT 'AN',
[364] Fix | Delete
PRIMARY KEY (`id`),
[365] Fix | Delete
UNIQUE KEY `Area_StkCat` (`area`,`stkcat`,`salestype`),
[366] Fix | Delete
KEY `Area` (`area`),
[367] Fix | Delete
KEY `StkCat` (`stkcat`),
[368] Fix | Delete
KEY `GLCode` (`glcode`),
[369] Fix | Delete
KEY `SalesType` (`salestype`)
[370] Fix | Delete
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
[371] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[372] Fix | Delete
[373] Fix | Delete
--
[374] Fix | Delete
-- Dumping data for table `cogsglpostings`
[375] Fix | Delete
--
[376] Fix | Delete
[377] Fix | Delete
LOCK TABLES `cogsglpostings` WRITE;
[378] Fix | Delete
/*!40000 ALTER TABLE `cogsglpostings` DISABLE KEYS */;
[379] Fix | Delete
INSERT INTO `cogsglpostings` VALUES (5,'AN','ANY','5000','AN'),(6,'123','ANY','6100','AN');
[380] Fix | Delete
/*!40000 ALTER TABLE `cogsglpostings` ENABLE KEYS */;
[381] Fix | Delete
UNLOCK TABLES;
[382] Fix | Delete
[383] Fix | Delete
--
[384] Fix | Delete
-- Table structure for table `companies`
[385] Fix | Delete
--
[386] Fix | Delete
[387] Fix | Delete
DROP TABLE IF EXISTS `companies`;
[388] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[389] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[390] Fix | Delete
CREATE TABLE `companies` (
[391] Fix | Delete
`coycode` int(11) NOT NULL DEFAULT '1',
[392] Fix | Delete
`coyname` varchar(50) NOT NULL DEFAULT '',
[393] Fix | Delete
`gstno` varchar(20) NOT NULL DEFAULT '',
[394] Fix | Delete
`companynumber` varchar(20) NOT NULL DEFAULT '0',
[395] Fix | Delete
`regoffice1` varchar(40) NOT NULL DEFAULT '',
[396] Fix | Delete
`regoffice2` varchar(40) NOT NULL DEFAULT '',
[397] Fix | Delete
`regoffice3` varchar(40) NOT NULL DEFAULT '',
[398] Fix | Delete
`regoffice4` varchar(40) NOT NULL DEFAULT '',
[399] Fix | Delete
`regoffice5` varchar(20) NOT NULL DEFAULT '',
[400] Fix | Delete
`regoffice6` varchar(15) NOT NULL DEFAULT '',
[401] Fix | Delete
`telephone` varchar(25) NOT NULL DEFAULT '',
[402] Fix | Delete
`fax` varchar(25) NOT NULL DEFAULT '',
[403] Fix | Delete
`email` varchar(55) NOT NULL DEFAULT '',
[404] Fix | Delete
`currencydefault` varchar(4) NOT NULL DEFAULT '',
[405] Fix | Delete
`debtorsact` varchar(20) NOT NULL DEFAULT '70000',
[406] Fix | Delete
`pytdiscountact` varchar(20) NOT NULL DEFAULT '55000',
[407] Fix | Delete
`creditorsact` varchar(20) NOT NULL DEFAULT '80000',
[408] Fix | Delete
`payrollact` varchar(20) NOT NULL DEFAULT '84000',
[409] Fix | Delete
`grnact` varchar(20) NOT NULL DEFAULT '72000',
[410] Fix | Delete
`exchangediffact` varchar(20) NOT NULL DEFAULT '65000',
[411] Fix | Delete
`purchasesexchangediffact` varchar(20) NOT NULL DEFAULT '0',
[412] Fix | Delete
`retainedearnings` varchar(20) NOT NULL DEFAULT '90000',
[413] Fix | Delete
`gllink_debtors` tinyint(1) DEFAULT '1',
[414] Fix | Delete
`gllink_creditors` tinyint(1) DEFAULT '1',
[415] Fix | Delete
`gllink_stock` tinyint(1) DEFAULT '1',
[416] Fix | Delete
`freightact` varchar(20) NOT NULL DEFAULT '0',
[417] Fix | Delete
PRIMARY KEY (`coycode`)
[418] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[419] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[420] Fix | Delete
[421] Fix | Delete
--
[422] Fix | Delete
-- Dumping data for table `companies`
[423] Fix | Delete
--
[424] Fix | Delete
[425] Fix | Delete
LOCK TABLES `companies` WRITE;
[426] Fix | Delete
/*!40000 ALTER TABLE `companies` DISABLE KEYS */;
[427] Fix | Delete
INSERT INTO `companies` VALUES (1,'[[site_name]]','not entered yet','','123 Web Way','PO Box 123','Queen Street','Melbourne','Victoria 3043','Australia','+61 3 4567 8901','+61 3 4567 8902','weberp@weberpdemo.com','USD','1100','4900','2100','2400','2150','4200','5200','3500',1,1,1,'5600');
[428] Fix | Delete
/*!40000 ALTER TABLE `companies` ENABLE KEYS */;
[429] Fix | Delete
UNLOCK TABLES;
[430] Fix | Delete
[431] Fix | Delete
--
[432] Fix | Delete
-- Table structure for table `config`
[433] Fix | Delete
--
[434] Fix | Delete
[435] Fix | Delete
DROP TABLE IF EXISTS `config`;
[436] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[437] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[438] Fix | Delete
CREATE TABLE `config` (
[439] Fix | Delete
`confname` varchar(35) NOT NULL DEFAULT '',
[440] Fix | Delete
`confvalue` text NOT NULL,
[441] Fix | Delete
PRIMARY KEY (`confname`)
[442] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[443] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[444] Fix | Delete
[445] Fix | Delete
--
[446] Fix | Delete
-- Dumping data for table `config`
[447] Fix | Delete
--
[448] Fix | Delete
[449] Fix | Delete
LOCK TABLES `config` WRITE;
[450] Fix | Delete
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
[451] Fix | Delete
INSERT INTO `config` VALUES ('AllowOrderLineItemNarrative','1'),('AllowSalesOfZeroCostItems','0'),('AutoAuthorisePO','1'),('AutoCreateWOs','1'),('AutoDebtorNo','0'),('AutoIssue','1'),('AutoSupplierNo','0'),('CheckCreditLimits','1'),('Check_Price_Charged_vs_Order_Price','1'),('Check_Qty_Charged_vs_Del_Qty','1'),('CountryOfOperation','US'),('CreditingControlledItems_MustExist','0'),('DB_Maintenance','0'),('DB_Maintenance_LastRun','2015-08-14'),('DefaultBlindPackNote','1'),('DefaultCreditLimit','1000'),('DefaultCustomerType','1'),('DefaultDateFormat','d/m/Y'),('DefaultDisplayRecordsMax','50'),('DefaultFactoryLocation','MEL'),('DefaultPriceList','DE'),('DefaultSupplierType','1'),('DefaultTaxCategory','1'),('Default_Shipper','1'),('DefineControlledOnWOEntry','1'),('DispatchCutOffTime','14'),('DoFreightCalc','0'),('EDIHeaderMsgId','D:01B:UN:EAN010'),('EDIReference','WEBERP'),('EDI_Incoming_Orders','companies/weberpdemo/EDI_Incoming_Orders'),('EDI_MsgPending','companies/weberpdemo/EDI_Pending'),('EDI_MsgSent','companies/weberpdemo/EDI_Sent'),('ExchangeRateFeed','Google'),('Extended_CustomerInfo','1'),('Extended_SupplierInfo','1'),('FactoryManagerEmail','manager@company.com'),('FreightChargeAppliesIfLessThan','1000'),('FreightTaxCategory','1'),('FrequentlyOrderedItems','0'),('geocode_integration','0'),('GoogleTranslatorAPIKey',''),('HTTPS_Only','0'),('InventoryManagerEmail','test@company.com'),('InvoicePortraitFormat','0'),('InvoiceQuantityDefault','1'),('ItemDescriptionLanguages',',fr_FR.utf8,'),('LastDayOfWeek','0'),('LogPath',''),('LogSeverity','0'),('MaxImageSize','300'),('MaxSerialItemsIssued','50'),('MonthsAuditTrail','1'),('NumberOfMonthMustBeShown','6'),('NumberOfPeriodsOfStockUsage','12'),('OverChargeProportion','30'),('OverReceiveProportion','20'),('PackNoteFormat','1'),('PageLength','48'),('part_pics_dir','companies/weberpdemo/part_pics'),('PastDueDays1','30'),('PastDueDays2','60'),('PO_AllowSameItemMultipleTimes','1'),('ProhibitJournalsToControlAccounts','1'),('ProhibitNegativeStock','0'),('ProhibitPostingsBefore','2013-12-31'),('PurchasingManagerEmail','test@company.com'),('QualityCOAText',''),('QualityLogSamples','0'),('QualityProdSpecText',''),('QuickEntries','10'),('RadioBeaconFileCounter','/home/RadioBeacon/FileCounter'),('RadioBeaconFTP_user_name','RadioBeacon ftp server user name'),('RadioBeaconHomeDir','/home/RadioBeacon'),('RadioBeaconStockLocation','BL'),('RadioBraconFTP_server','192.168.2.2'),('RadioBreaconFilePrefix','ORDXX'),('RadionBeaconFTP_user_pass','Radio Beacon remote ftp server password'),('reports_dir','companies/weberpdemo/EDI_Incoming_Orders'),('RequirePickingNote','0'),('RomalpaClause','Ownership will not pass to the buyer until the goods have been paid for in full.'),('ShopAboutUs','This web-shop software has been developed by Logic Works Ltd for webERP. For support contact Phil Daintree by rn<a href=\\\"mailto:support@logicworks.co.nz\\\">email</a>rn'),('ShopAllowBankTransfer','1'),('ShopAllowCreditCards','1'),('ShopAllowPayPal','1'),('ShopAllowSurcharges','1'),('ShopBankTransferSurcharge','0.0'),('ShopBranchCode','ANGRY'),('ShopContactUs','For support contact Logic Works Ltd by rn<a href=\\\"mailto:support@logicworks.co.nz\\\">email</a>'),('ShopCreditCardBankAccount','1030'),('ShopCreditCardGateway','SwipeHQ'),('ShopCreditCardSurcharge','2.95'),('ShopDebtorNo','ANGRY'),('ShopFreightMethod','NoFreight'),('ShopFreightPolicy','Shipping information'),('ShopManagerEmail','shopmanager@yourdomain.com'),('ShopMode','test'),('ShopName','webERP Demo Store'),('ShopPayFlowMerchant',''),('ShopPayFlowPassword',''),('ShopPayFlowUser',''),('ShopPayFlowVendor',''),('ShopPayPalBankAccount','1040'),('ShopPaypalCommissionAccount','1'),('ShopPayPalPassword',''),('ShopPayPalProPassword',''),('ShopPayPalProSignature',''),('ShopPayPalProUser',''),('ShopPayPalSignature',''),('ShopPayPalSurcharge','3.4'),('ShopPayPalUser',''),('ShopPrivacyStatement','<h2>We are committed to protecting your privacy.</h2><p>We recognise that your personal information is confidential and we understand that it is important for you to know how we treat your personal information. Please read on for more information about our Privacy Policy.</p><ul><li><h2>1. What information do we collect and how do we use it?</h2><br />We use the information it collects from you for the following purposes:<ul><li>To assist us in providing you with a quality service</li><li>To respond to, and process, your request</li><li>To notify competition winners or fulfil promotional obligations</li><li>To inform you of, and provide you with, new and existing products and services offered by us from time to time </li></ul><p>Any information we collect will not be used in ways that you have not consented to.</p><p>If you send us an email, we will store your email address and the contents of the email. This information will only be used for the purpose for which you have provided it. Electronic mail submitted to us is handled and saved according to the provisions of the the relevant statues.</p><p>When we offer contests and promotions, customers who choose to enter are asked to provide personal information. This information may then be used by us to notify winners, or to fulfil promotional obligations.</p><p>We may use the information we collect to occasionally notify you about important functionality changes to our website, new and special offers we think you will find valuable. If at any stage you no longer wish to receive these notifications you may opt out by sending us an email.</p><p>We do monitor this website in order to identify user trends and to improve the site if necessary. Any of this information, such as the type of site browser your computer has, will be used only in aggregate form and your individual details will not be identified.</p></li><li><h2>2. How do we store and protect your personal information and who has access to that information?</h2><p>As required by statute, we follow strict procedures when storing and using the information you have provided.</p><p>We do not sell, trade or rent your personal information to others. We may provide aggregate statistics about our customers and website trends. However, these statistics will not have any personal information which would identify you.</p><p>Only specific employees within our company are able to access your personal data.</p><p>This policy means that we may require proof of identity before we disclose any information to you.</p></li><li><h2>3. What should I do if I want to change my details or if I don’t want to be contacted any more?</h2><p>At any stage you have the right to access and amend or update your personal details. If you do not want to receive any communications from us you may opt out by contacting us see <a href=\\\"index.php?Page=ContactUs\\\">the Contact Us Page</a></p></li><li><h2>4. What happens if we decide to change this Privacy Policy?</h2><p>If we change any aspect of our Privacy Policy we will post these changes on this page so that you are always aware of how we are treating your personal information.</p></li><li><h2>5. How can you contact us if you have any questions, comments or concerns about our Privacy Policy?</h2><p>We welcome any questions or comments you may have please email us via the contact details provided on our <a href=\\\"index.php?Page=ContactUs\\\">Contact Us Page</a></p></li></ul><p>Please also refer to our <a href=\\\"index.php?Page=TermsAndConditions\\\">Terms and Conditions</a> for more information.</p>'),('ShopShowOnlyAvailableItems','0'),('ShopShowQOHColumn','1'),('ShopStockLocations','MEL,TOR'),('ShopSurchargeStockID','PAYTSURCHARGE'),('ShopSwipeHQAPIKey',''),('ShopSwipeHQMerchantID',''),('ShopTermsConditions','<p>These terms cover the use of this website. Use includes visits to our sites, purchases on our sites, participation in our database and promotions. These terms of use apply to you when you use our websites. Please read these terms carefully - if you need to refer to them again they can be accessed from the link at the bottom of any page of our websites.</p><br /><ul><li><h2>1. Content</h2><p>While we endeavour to supply accurate information on this site, errors and omissions may occur. We do not accept any liability, direct or indirect, for any loss or damage which may directly or indirectly result from any advice, opinion, information, representation or omission whether negligent or otherwise, contained on this site. You are solely responsible for the actions you take in reliance on the content on, or accessed, through this site.</p><p>We reserve the right to make changes to the content on this site at any time and without notice.</p><p>To the extent permitted by law, we make no warranties in relation to the merchantability, fitness for purpose, freedom from computer virus, accuracy or availability of this web site or any other web site.</p></li><li><h2>2. Making a contract with us</h2><p>When you place an order with us, you are making an offer to buy goods. We will send you an e-mail to confirm that we have received and accepted your order, which indicates that a contract has been made between us. We will take payment from you when we accept your order. In the unlikely event that the goods are no longer available, we will refund your payment to the account it originated from, and advise that the goods are no longer available.</p><p>An order is placed on our website via adding a product to the shopping cart and proceeding through our checkout process. The checkout process includes giving us delivery and any other relevant details for your order, entering payment information and submitting your order. The final step consists of a confirmation page with full details of your order, which you are able to print as a receipt of your order. We will also email you with confirmation of your order.</p><p>We reserve the right to refuse or cancel any orders that we believe, solely by our own judgement, to be placed for commercial purposes, e.g. any kind of reseller. We also reserve the right to refuse or cancel any orders that we believe, solely by our own judgement, to have been placed fraudulently.</p><p>We reserve the right to limit the number of an item customers can purchase in a single transaction.</p></li><li><h2>3. Payment options</h2><p>We currently accept the following credit cards:</p><ul><li>Visa</li><li>MasterCard</li><li>American Express</li></ul>You can also pay using PayPal and internet bank transfer. Surcharges may apply for payment by PayPal or credit cards.</p></li><li><h2>4. Pricing</h2><p>All prices listed are inclusive of relevant taxes. All prices are correct when published. Please note that we reserve the right to alter prices at any time for any reason. If this should happen after you have ordered a product, we will contact you prior to processing your order. Online and in store pricing may differ.</p></li><li><h2>5. Website and Credit Card Security</h2><p>We want you to have a safe and secure shopping experience online. All payments via our sites are processed using SSL (Secure Socket Layer) protocol, whereby sensitive information is encrypted to protect your privacy.</p><p>You can help to protect your details from unauthorised access by logging out each time you finish using the site, particularly if you are doing so from a public or shared computer.</p><p>For security purposes certain transactions may require proof of identification.</p></li><li><h2>6. Delivery and Delivery Charges</h2><p>We do not deliver to Post Office boxes.</p><p>Please note that a signature is required for all deliveries. The goods become the recipient’s property and responsibility once they have been signed for at the time of delivery. If goods are lost or damaged in transit, please contact us within 7 business days <a href=\\\"index.php?Page=ContactUs\\\">see Contact Us page for contact details</a>. We will use this delivery information to make a claim against our courier company. We will offer you the choice of a replacement or a full refund, once we have received confirmation from our courier company that delivery was not successful.</p></li><li><h2>7. Restricted Products</h2><p>Some products on our site carry an age restriction, if a product you have selected is R16 or R18 a message will appear in the cart asking you to confirm you are an appropriate age to purchase the item(s). Confirming this means that you are of an eligible age to purchase the selected product(s). You are also agreeing that you are not purchasing the item on behalf of a person who is not the appropriate age.</p></li><li><h2>8. Delivery Period</h2><p>Delivery lead time for products may vary. Deliveries to rural addresses may take longer. You will receive an email that confirms that your order has been dispatched.</p><p>To ensure successful delivery, please provide a delivery address where someone will be present during business hours to sign for the receipt of your package. You can track your order by entering the tracking number emailed to you in the dispatch email at the Courier\\\'s web-site.</p></li><li><h2>9. Disclaimer</h2><p>Our websites are intended to provide information for people shopping our products and accessing our services, including making purchases via our website and registering on our database to receive e-mails from us.</p><p>While we endeavour to supply accurate information on this site, errors and omissions may occur. We do not accept any liability, direct or indirect, for any loss or damage which may directly or indirectly result from any advice, opinion, information, representation or omission whether negligent or otherwise, contained on this site. You are solely responsible for the actions you take in reliance on the content on, or accessed, through this site.</p><p>We reserve the right to make changes to the content on this site at any time and without notice.</p><p>To the extent permitted by law, we make no warranties in relation to the merchantability, fitness for purpose, freedom from computer virus, accuracy or availability of this web site or any other web site.</p></li><li><h2>10. Links</h2><p>Please note that although this site has some hyperlinks to other third party websites, these sites have not been prepared by us are not under our control. The links are only provided as a convenience, and do not imply that we endorse, check, or approve of the third party site. We are not responsible for the privacy principles or content of these third party sites. We are not responsible for the availability of any of these links.</p></li><li><h2>11. Jurisdiction</h2><p>This website is governed by, and is to be interpreted in accordance with, the laws of ????.</p></li><li><h2>12. Changes to this Agreement</h2><p>We reserve the right to alter, modify or update these terms of use. These terms apply to your order. We may change our terms and conditions at any time, so please do not assume that the same terms will apply to future orders.</p></li></ul>'),('ShopTitle','Shop Home'),('ShortcutMenu','0'),('ShowStockidOnImages','0'),('ShowValueOnGRN','1'),('Show_Settled_LastMonth','1'),('SmtpSetting','0'),('SO_AllowSameItemMultipleTimes','1'),('StandardCostDecimalPlaces','2'),('StockUsageShowZeroWithinPeriodRange','0'),('TaxAuthorityReferenceName',''),('UpdateCurrencyRatesDaily','0'),('VersionNumber','4.15.2'),('WeightedAverageCosting','0'),('WikiApp','DokuWiki'),('WikiPath','wiki'),('WorkingDaysWeek','5'),('YearEnd','3');
[452] Fix | Delete
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
[453] Fix | Delete
UNLOCK TABLES;
[454] Fix | Delete
[455] Fix | Delete
--
[456] Fix | Delete
-- Table structure for table `contractbom`
[457] Fix | Delete
--
[458] Fix | Delete
[459] Fix | Delete
DROP TABLE IF EXISTS `contractbom`;
[460] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[461] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[462] Fix | Delete
CREATE TABLE `contractbom` (
[463] Fix | Delete
`contractref` varchar(20) NOT NULL DEFAULT '0',
[464] Fix | Delete
`stockid` varchar(20) NOT NULL DEFAULT '',
[465] Fix | Delete
`workcentreadded` char(5) NOT NULL DEFAULT '',
[466] Fix | Delete
`quantity` double NOT NULL DEFAULT '1',
[467] Fix | Delete
PRIMARY KEY (`contractref`,`stockid`,`workcentreadded`),
[468] Fix | Delete
KEY `Stockid` (`stockid`),
[469] Fix | Delete
KEY `ContractRef` (`contractref`),
[470] Fix | Delete
KEY `WorkCentreAdded` (`workcentreadded`),
[471] Fix | Delete
CONSTRAINT `contractbom_ibfk_1` FOREIGN KEY (`workcentreadded`) REFERENCES `workcentres` (`code`),
[472] Fix | Delete
CONSTRAINT `contractbom_ibfk_3` FOREIGN KEY (`stockid`) REFERENCES `stockmaster` (`stockid`)
[473] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[474] Fix | Delete
/*!40101 SET character_set_client = @saved_cs_client */;
[475] Fix | Delete
[476] Fix | Delete
--
[477] Fix | Delete
-- Dumping data for table `contractbom`
[478] Fix | Delete
--
[479] Fix | Delete
[480] Fix | Delete
LOCK TABLES `contractbom` WRITE;
[481] Fix | Delete
/*!40000 ALTER TABLE `contractbom` DISABLE KEYS */;
[482] Fix | Delete
/*!40000 ALTER TABLE `contractbom` ENABLE KEYS */;
[483] Fix | Delete
UNLOCK TABLES;
[484] Fix | Delete
[485] Fix | Delete
--
[486] Fix | Delete
-- Table structure for table `contractcharges`
[487] Fix | Delete
--
[488] Fix | Delete
[489] Fix | Delete
DROP TABLE IF EXISTS `contractcharges`;
[490] Fix | Delete
/*!40101 SET @saved_cs_client = @@character_set_client */;
[491] Fix | Delete
/*!40101 SET character_set_client = utf8 */;
[492] Fix | Delete
CREATE TABLE `contractcharges` (
[493] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[494] Fix | Delete
`contractref` varchar(20) NOT NULL,
[495] Fix | Delete
`transtype` smallint(6) NOT NULL DEFAULT '20',
[496] Fix | Delete
`transno` int(11) NOT NULL DEFAULT '0',
[497] Fix | Delete
`amount` double NOT NULL DEFAULT '0',
[498] Fix | Delete
`narrative` text NOT NULL,
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function