-- Table structure for table `labelfields`
--

CREATE TABLE `labelfields` (
  `labelfieldid` int(11) NOT NULL AUTO_INCREMENT,
  `labelid` tinyint(4) NOT NULL,
  `fieldvalue` varchar(20) NOT NULL,
  `vpos` double NOT NULL DEFAULT '0',
  `hpos` double NOT NULL DEFAULT '0',
  `fontsize` tinyint(4) NOT NULL,
  `barcode` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`labelfieldid`),
  KEY `labelid` (`labelid`),
  KEY `vpos` (`vpos`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `labelfields`
--


--
-- Table structure for table `labels`
--

CREATE TABLE `labels` (
  `labelid` tinyint(11) NOT NULL AUTO_INCREMENT,
  `description` varchar(50) NOT NULL,
  `pagewidth` double NOT NULL DEFAULT '0',
  `pageheight` double NOT NULL DEFAULT '0',
  `height` double NOT NULL DEFAULT '0',
  `width` double NOT NULL DEFAULT '0',
  `topmargin` double NOT NULL DEFAULT '0',
  `leftmargin` double NOT NULL DEFAULT '0',
  `rowheight` double NOT NULL DEFAULT '0',
  `columnwidth` double NOT NULL DEFAULT '0',
  PRIMARY KEY (`labelid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `labels`
--


--
-- Table structure for table `lastcostrollup`
--

CREATE TABLE `lastcostrollup` (
  `stockid` char(20) NOT NULL DEFAULT '',
  `totalonhand` double NOT NULL DEFAULT '0',
  `matcost` decimal(20,4) NOT NULL DEFAULT '0.0000',
  `labcost` decimal(20,4) NOT NULL DEFAULT '0.0000',
  `oheadcost` decimal(20,4) NOT NULL DEFAULT '0.0000',
  `categoryid` char(6) NOT NULL DEFAULT '',
  `stockact` varchar(20) NOT NULL DEFAULT '0',
  `adjglact` varchar(20) NOT NULL DEFAULT '0',
  `newmatcost` decimal(20,4) NOT NULL DEFAULT '0.0000',
  `newlabcost` decimal(20,4) NOT NULL DEFAULT '0.0000',
  `newoheadcost` decimal(20,4) NOT NULL DEFAULT '0.0000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `lastcostrollup`
--


--
-- Table structure for table `locations`
--

CREATE TABLE `locations` (
  `loccode` varchar(5) NOT NULL DEFAULT '',
  `locationname` varchar(50) NOT NULL DEFAULT '',
  `deladd1` varchar(40) NOT NULL DEFAULT '',
  `deladd2` varchar(40) NOT NULL DEFAULT '',
  `deladd3` varchar(40) NOT NULL DEFAULT '',
  `deladd4` varchar(40) NOT NULL DEFAULT '',
  `deladd5` varchar(20) NOT NULL DEFAULT '',
  `deladd6` varchar(15) NOT NULL DEFAULT '',
  `tel` varchar(30) NOT NULL DEFAULT '',
  `fax` varchar(30) NOT NULL DEFAULT '',
  `email` varchar(55) NOT NULL DEFAULT '',
  `contact` varchar(30) NOT NULL DEFAULT '',
  `taxprovinceid` tinyint(4) NOT NULL DEFAULT '1',
  `cashsalecustomer` varchar(10) DEFAULT '',
  `managed` int(11) DEFAULT '0',
  `cashsalebranch` varchar(10) DEFAULT '',
  `internalrequest` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Allow (1) or not (0) internal request from this location',
  `usedforwo` tinyint(4) NOT NULL DEFAULT '1',
  `glaccountcode` varchar(20) NOT NULL DEFAULT '' COMMENT 'GL account of the location',
  `allowinvoicing` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Allow invoicing of items at this location',
  PRIMARY KEY (`loccode`),
  UNIQUE KEY `locationname` (`locationname`),
  KEY `taxprovinceid` (`taxprovinceid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `locations`
--

INSERT INTO `locations` VALUES ('NADI','Nadi Main Office',' ','','','','','','','','','Nisha',1,'',0,'',1,1,'',1),('NORTH','Labasa Office',' ','','','','','Fiji','','','','Ramlu',1,'',0,'',1,0,'',1),('SUVA','Suva Headoffice',' ','','','','','','3361999','','zhussein@wormaldfj.com','Zabeen',1,'',0,'',1,1,'',1),('VAN1','VAN 1-Reg',' ','','','','','','','','','This reg number drivers name',1,'',0,'',0,0,'',1);

--
-- Table structure for table `locationusers`
--

CREATE TABLE `locationusers` (
  `loccode` varchar(5) NOT NULL,
  `userid` varchar(20) NOT NULL,
  `canview` tinyint(4) NOT NULL DEFAULT '0',
  `canupd` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`loccode`,`userid`),
  KEY `UserId` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `locationusers`
--

INSERT INTO `locationusers` VALUES ('NADI','admin',1,1),('NADI','ashika',1,1),('NADI','joseph',1,1),('NADI','lani',1,1),('NADI','lusi',1,1),('NADI','nemani',1,1),('NADI','nisha',1,1),('NADI','shanel',1,1),('NADI','tasha',1,1),('NADI','vani',1,1),('NADI','vashneel',1,1),('NADI','waisake',1,1),('NADI','waqa',1,1),('NORTH','admin',1,1),('NORTH','akumar',1,1),('NORTH','alata',1,1),('NORTH','athil',1,1),('NORTH','bovini',1,1),('NORTH','ccrey',1,1),('NORTH','iwhippy',1,1),('NORTH','jpenjueli',1,1),('NORTH','jprasad',1,1),('NORTH','jtukana',1,1),('NORTH','mgovind',1,1),('NORTH','mkhan',1,1),('NORTH','nsaula',1,1),('NORTH','panand',1,1),('NORTH','pchand',1,1),('NORTH','pkiran',1,1),('NORTH','pwentd',1,1),('NORTH','ravinesh',1,1),('NORTH','reema',1,1),('NORTH','rramlu',1,1),('NORTH','sachin',1,1),('NORTH','schand',1,1),('NORTH','sharukh',1,1),('NORTH','skumar',1,1),('NORTH','wsisilia',1,1),('NORTH','wyosh',1,1),('NORTH','zhussein',1,1),('SUVA','10278',1,1),('SUVA','1063',1,1),('SUVA','11113',1,1),('SUVA','11327',1,0),('SUVA','11400',1,1),('SUVA','11409',1,1),('SUVA','11988',1,1),('SUVA','12019',1,1),('SUVA','3150',1,1),('SUVA','admin',1,1),('SUVA','alani',1,1),('SUVA','alata',1,1),('SUVA','annie',1,1),('SUVA','ashil',1,1),('SUVA','athil',1,1),('SUVA','ccrey',1,1),('SUVA','deepshika',1,1),('SUVA','ebusiness',1,1),('SUVA','filiti',1,1),('SUVA','filo',1,1),('SUVA','hchan',1,1),('SUVA','hola',1,1),('SUVA','iwhippy',1,1),('SUVA','jpenjueli',1,1),('SUVA','jprasad',1,1),('SUVA','jtukana',1,1),('SUVA','kelera',1,1),('SUVA','lina',1,1),('SUVA','losa',1,1),('SUVA','mere',1,1),('SUVA','mgovind',1,1),('SUVA','panand',1,1),('SUVA','pramen',1,1),('SUVA','pwentd',1,1),('SUVA','ravinesh',1,1),('SUVA','ravneet',1,1),('SUVA','reema',1,1),('SUVA','riga',1,1),('SUVA','rramlu',1,1),('SUVA','sachin',1,1),('SUVA','salata',1,1),('SUVA','sanel',1,1),('SUVA','sharukh',1,1),('SUVA','skumar',1,1),('SUVA','sonam',1,1),('SUVA','stephanie',1,1),('SUVA','tito',1,1),('SUVA','vicky',1,1),('SUVA','victoria',1,1),('SUVA','wsisilia',1,1),('SUVA','zhussein',1,1),('SUVA','zuber',1,1),('VAN1','10278',1,1),('VAN1','1063',1,1),('VAN1','11113',1,1),('VAN1','11327',1,1),('VAN1','11400',1,1),('VAN1','11409',1,1),('VAN1','11988',1,1),('VAN1','12019',1,1),('VAN1','3150',1,1),('VAN1','admin',1,1),('VAN1','akumar',1,1),('VAN1','alani',1,1),('VAN1','alata',1,1),('VAN1','ashil',1,1),('VAN1','athil',1,1),('VAN1','bovini',1,1),('VAN1','ccrey',1,1),('VAN1','duta',1,1),('VAN1','ebusiness',1,1),('VAN1','filo',1,1),('VAN1','hchan',1,1),('VAN1','iwhippy',1,1),('VAN1','joel',1,1),('VAN1','jpenjueli',1,1),('VAN1','jprasad',1,1),('VAN1','jtukana',1,1),('VAN1','lani',1,1),('VAN1','losa',1,1),('VAN1','mgovind',1,1),('VAN1','mike',1,1),('VAN1','mkhan',1,1),('VAN1','nsaula',1,1),('VAN1','panand',1,1),('VAN1','pchand',1,1),('VAN1','philly',1,1),('VAN1','pkiran',1,1),('VAN1','pramen',1,1),('VAN1','pwentd',1,1),('VAN1','ravinesh',1,1),('VAN1','ravneet',1,1),('VAN1','reema',1,1),('VAN1','roko',1,1),('VAN1','rramlu',1,1),('VAN1','sachin',1,1),('VAN1','sala',1,1),('VAN1','schand',1,1),('VAN1','sharukh',1,1),('VAN1','skumar',1,1),('VAN1','sonam',1,1),('VAN1','stephanie',1,1),('VAN1','tito',1,1),('VAN1','victoria',1,1),('VAN1','wsisilia',1,1),('VAN1','wyosh',1,1),('VAN1','zhussein',1,1),('VAN1','zuber',1,1);

--
-- Table structure for table `locstock`
--

CREATE TABLE `locstock` (
  `loccode` varchar(5) NOT NULL DEFAULT '',
  `stockid` varchar(20) NOT NULL DEFAULT '',
  `quantity` double NOT NULL DEFAULT '0',
  `reorderlevel` bigint(20) NOT NULL DEFAULT '0',
  `bin` varchar(10) NOT NULL DEFAULT '',
  PRIMARY KEY (`loccode`,`stockid`),
  KEY `bin` (`bin`),
  KEY `stockid` (`stockid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `locstock`
--

INSERT INTO `locstock` VALUES ('NADI','CIT1',0,0,''),('NADI','CIT10',0,0,''),('NADI','CIT11',0,0,''),('NADI','CIT12',0,0,''),('NADI','CIT13',0,0,''),('NADI','CIT14',0,0,''),('NADI','CIT15',0,0,''),('NADI','CIT2',0,0,''),('NADI','CIT3',0,0,''),('NADI','CIT4',0,0,''),('NADI','CIT5',0,0,''),('NADI','CIT6',0,0,''),('NADI','CIT7',0,0,''),('NADI','CIT8',0,0,''),('NADI','CIT9',0,0,''),('NADI','CONTRACTBILL',0,0,''),('NADI','FIRESERVICE',0,0,''),('NADI','LABOUR',0,0,''),('NORTH','CIT1',0,0,''),('NORTH','CIT10',0,0,''),('NORTH','CIT11',0,0,''),('NORTH','CIT12',0,0,''),('NORTH','CIT13',0,0,''),('NORTH','CIT14',0,0,''),('NORTH','CIT15',0,0,''),('NORTH','CIT2',0,0,''),('NORTH','CIT3',0,0,''),('NORTH','CIT4',0,0,''),('NORTH','CIT5',0,0,''),('NORTH','CIT6',0,0,''),('NORTH','CIT7',0,0,''),('NORTH','CIT8',0,0,''),('NORTH','CIT9',0,0,''),('NORTH','CONTRACTBILL',0,0,''),('NORTH','FIRESERVICE',0,0,''),('NORTH','LABOUR',0,0,''),('SUVA','CIT1',0,0,''),('SUVA','CIT10',0,0,''),('SUVA','CIT11',0,0,''),('SUVA','CIT12',0,0,''),('SUVA','CIT13',0,0,''),('SUVA','CIT14',0,0,''),('SUVA','CIT15',0,0,''),('SUVA','CIT2',0,0,''),('SUVA','CIT3',0,0,''),('SUVA','CIT4',0,0,''),('SUVA','CIT5',0,0,''),('SUVA','CIT6',0,0,''),('SUVA','CIT7',0,0,''),('SUVA','CIT8',0,0,''),('SUVA','CIT9',0,0,''),('SUVA','CONTRACTBILL',0,0,''),('SUVA','FIRESERVICE',0,0,''),('SUVA','LABOUR',0,0,''),('VAN1','CIT1',0,0,''),('VAN1','CIT10',0,0,''),('VAN1','CIT11',0,0,''),('VAN1','CIT12',0,0,''),('VAN1','CIT13',0,0,''),('VAN1','CIT14',0,0,''),('VAN1','CIT15',0,0,''),('VAN1','CIT2',0,0,''),('VAN1','CIT3',0,0,''),('VAN1','CIT4',0,0,''),('VAN1','CIT5',0,0,''),('VAN1','CIT6',0,0,''),('VAN1','CIT7',0,0,''),('VAN1','CIT8',0,0,''),('VAN1','CIT9',0,0,''),('VAN1','CONTRACTBILL',0,0,''),('VAN1','FIRESERVICE',0,0,''),('VAN1','LABOUR',0,0,'');

--
-- Table structure for table `loctransfercancellations`
--

CREATE TABLE `loctransfercancellations` (
  `reference` int(11) NOT NULL,
  `stockid` varchar(20) NOT NULL,
  `cancelqty` double NOT NULL,
  `canceldate` datetime NOT NULL,
  `canceluserid` varchar(20) NOT NULL,
  KEY `Index1` (`reference`,`stockid`),
  KEY `Index2` (`canceldate`,`reference`,`stockid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `loctransfercancellations`
--


--
-- Table structure for table `loctransfers`
--

CREATE TABLE `loctransfers` (
  `reference` int(11) NOT NULL DEFAULT '0',
  `stockid` varchar(20) NOT NULL DEFAULT '',
  `shipqty` double NOT NULL DEFAULT '0',
  `recqty` double NOT NULL DEFAULT '0',
  `shipdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `recdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `shiploc` varchar(7) NOT NULL DEFAULT '',
  `recloc` varchar(7) NOT NULL DEFAULT '',
  KEY `Reference` (`reference`,`stockid`),
  KEY `ShipLoc` (`shiploc`),
  KEY `RecLoc` (`recloc`),
  KEY `StockID` (`stockid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores Shipments To And From Locations';

--
-- Dumping data for table `loctransfers`
--


--
-- Table structure for table `mailgroupdetails`
--

CREATE TABLE `mailgroupdetails` (
  `groupname` varchar(100) NOT NULL,
  `userid` varchar(20) NOT NULL,
  KEY `userid` (`userid`),
  KEY `groupname` (`groupname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mailgroupdetails`
--


--
-- Table structure for table `mailgroups`
--

CREATE TABLE `mailgroups` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `groupname` varchar(100) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `groupname` (`groupname`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mailgroups`
--

INSERT INTO `mailgroups` VALUES (3,'management'),(2,'nadi office'),(1,'suva office');

--
-- Table structure for table `manufacturers`
--

CREATE TABLE `manufacturers` (
  `manufacturers_id` int(11) NOT NULL AUTO_INCREMENT,
  `manufacturers_name` varchar(32) NOT NULL,
  `manufacturers_url` varchar(50) NOT NULL DEFAULT '',
  `manufacturers_image` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`manufacturers_id`),
  KEY `manufacturers_name` (`manufacturers_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `manufacturers`
--


--
-- Table structure for table `mrpcalendar`
--

CREATE TABLE `mrpcalendar` (
  `calendardate` date NOT NULL,
  `daynumber` int(6) NOT NULL,
  `manufacturingflag` smallint(6) NOT NULL DEFAULT '1',
  PRIMARY KEY (`calendardate`),
  KEY `daynumber` (`daynumber`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mrpcalendar`
--


--
-- Table structure for table `mrpdemands`
--

CREATE TABLE `mrpdemands` (
  `demandid` int(11) NOT NULL AUTO_INCREMENT,
  `stockid` varchar(20) NOT NULL DEFAULT '',
  `mrpdemandtype` varchar(6) NOT NULL DEFAULT '',
  `quantity` double NOT NULL DEFAULT '0',
  `duedate` date NOT NULL DEFAULT '0000-00-00',
  PRIMARY KEY (`demandid`),
  KEY `StockID` (`stockid`),
  KEY `mrpdemands_ibfk_1` (`mrpdemandtype`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mrpdemands`
--


--
-- Table structure for table `mrpdemandtypes`
--

CREATE TABLE `mrpdemandtypes` (
  `mrpdemandtype` varchar(6) NOT NULL DEFAULT '',
  `description` char(30) NOT NULL DEFAULT '',
  PRIMARY KEY (`mrpdemandtype`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mrpdemandtypes`
--


--
-- Table structure for table `mrpplannedorders`
--

CREATE TABLE `mrpplannedorders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `part` char(20) DEFAULT NULL,
  `duedate` date DEFAULT NULL,
  `supplyquantity` double DEFAULT NULL,
  `ordertype` varchar(6) DEFAULT NULL,
  `orderno` int(11) DEFAULT NULL,
  `mrpdate` date DEFAULT NULL,
  `updateflag` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mrpplannedorders`
--


--
-- Table structure for table `offers`
--

CREATE TABLE `offers` (
  `offerid` int(11) NOT NULL AUTO_INCREMENT,
  `tenderid` int(11) NOT NULL DEFAULT '0',
  `supplierid` varchar(10) NOT NULL DEFAULT '',
  `stockid` varchar(20) NOT NULL DEFAULT '',
  `quantity` double NOT NULL DEFAULT '0',
  `uom` varchar(15) NOT NULL DEFAULT '',
  `price` double NOT NULL DEFAULT '0',
  `expirydate` date NOT NULL DEFAULT '0000-00-00',
  `currcode` char(3) NOT NULL DEFAULT '',
  PRIMARY KEY (`offerid`),
  KEY `offers_ibfk_1` (`supplierid`),
  KEY `offers_ibfk_2` (`stockid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `offers`
--


--
-- Table structure for table `orderdeliverydifferenceslog`
--

CREATE TABLE `orderdeliverydifferenceslog` (
  `orderno` int(11) NOT NULL DEFAULT '0',
  `invoiceno` int(11) NOT NULL DEFAULT '0',
  `stockid` varchar(20) NOT NULL DEFAULT '',
  `quantitydiff` double NOT NULL DEFAULT '0',
  `debtorno` varchar(10) NOT NULL DEFAULT '',
  `branch` varchar(10) NOT NULL DEFAULT '',
  `can_or_bo` char(3) NOT NULL DEFAULT 'CAN',
  KEY `StockID` (`stockid`),
  KEY `DebtorNo` (`debtorno`,`branch`),
  KEY `Can_or_BO` (`can_or_bo`),
  KEY `OrderNo` (`orderno`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `orderdeliverydifferenceslog`
--


--
-- Table structure for table `paycycle`
--

CREATE TABLE `paycycle` (
  `paycycleid` tinyint(4) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) CHARACTER SET utf8 NOT NULL,
  `frequency` int(11) NOT NULL,
  PRIMARY KEY (`paycycleid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `paycycle`
--

INSERT INTO `paycycle` VALUES (2,'Weekly',52),(3,'Fortnightly',26),(4,'Monthly',12);

--
-- Table structure for table `paymentmethods`
--

CREATE TABLE `paymentmethods` (
  `paymentid` tinyint(4) NOT NULL AUTO_INCREMENT,
  `paymentname` varchar(15) NOT NULL DEFAULT '',
  `paymenttype` int(11) NOT NULL DEFAULT '1',
  `receipttype` int(11) NOT NULL DEFAULT '1',
  `usepreprintedstationery` tinyint(4) NOT NULL DEFAULT '0',
  `opencashdrawer` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`paymentid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `paymentmethods`
--

INSERT INTO `paymentmethods` VALUES (1,'Cheque',1,1,1,0),(2,'Cash',1,1,0,0),(3,'Direct Credit',1,1,0,0);

--
-- Table structure for table `paymentterms`
--

CREATE TABLE `paymentterms` (
  `termsindicator` char(2) NOT NULL DEFAULT '',
  `terms` char(40) NOT NULL DEFAULT '',
  `daysbeforedue` smallint(6) NOT NULL DEFAULT '0',
  `dayinfollowingmonth` smallint(6) NOT NULL DEFAULT '0',
  PRIMARY KEY (`termsindicator`),
  KEY `DaysBeforeDue` (`daysbeforedue`),
  KEY `DayInFollowingMonth` (`dayinfollowingmonth`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `paymentterms`
--

INSERT INTO `paymentterms` VALUES ('20','Due 20th Of the Following Month',0,22),('30','Due By End Of The Following Month',0,30),('7','Payment due within 7 days',7,0),('CA','Cash Only',1,0);

--
-- Table structure for table `payrol_adjustments`
--

CREATE TABLE `payrol_adjustments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `status` varchar(100) NOT NULL,
  `entered_by` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payrol_adjustments`
--

INSERT INTO `payrol_adjustments` VALUES (1,'2018-05-01 00:00:00','2018-05-07 10:00:00','draft','admin');

--
-- Table structure for table `payrol_adjustments_details`
--

CREATE TABLE `payrol_adjustments_details` (
  `adjustid` int(11) NOT NULL AUTO_INCREMENT,
  `id` int(11) NOT NULL,
  `employeeid` int(11) NOT NULL,
  `type` varchar(100) NOT NULL,
  `type_details` varchar(100) NOT NULL,
  `amount` decimal(10,0) NOT NULL,
  `comments` varchar(100) NOT NULL,
  `department` int(11) NOT NULL,
  PRIMARY KEY (`adjustid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payrol_adjustments_details`
--

INSERT INTO `payrol_adjustments_details` VALUES (1,2,1050,'1','2',100,'',0),(2,4,10533,'2','9',250,'',0),(3,1,1512,'1','5',50,'test non fnpf',1);

--
-- Table structure for table `payrol_adjustments_type_details`
--

CREATE TABLE `payrol_adjustments_type_details` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `typeid` int(5) NOT NULL,
  `type_detail` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payrol_adjustments_type_details`
--

INSERT INTO `payrol_adjustments_type_details` VALUES (5,1,'Other allowances - non FNPF'),(6,1,'Other allowances - FNPF'),(8,2,'Loan Advances repayment'),(9,2,'Hire Purchase Repayments'),(10,2,'Medical Insurance Repayments'),(11,2,'Life Insurance repayments'),(12,2,'Mortgage Repayments'),(13,2,'Union Fees'),(14,2,'Legal family repayments'),(15,3,'Overpaymentswages-deductions'),(16,3,'Underpaymentwages-allowance');

--
-- Table structure for table `payrol_adjustments_types`
--

CREATE TABLE `payrol_adjustments_types` (
  `typeid` int(5) NOT NULL AUTO_INCREMENT,
  `type_name` varchar(100) NOT NULL,
  PRIMARY KEY (`typeid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payrol_adjustments_types`
--

INSERT INTO `payrol_adjustments_types` VALUES (1,'Allowances'),(2,'Deductions'),(3,'Adjustments');

--
-- Table structure for table `payrun_details`
--

CREATE TABLE `payrun_details` (
  `payid` int(11) NOT NULL AUTO_INCREMENT,
  `id` int(11) NOT NULL,
  `date_processed` datetime NOT NULL,
  `employee_type` varchar(100) NOT NULL,
  `employeeid` int(11) NOT NULL,
  `normal_pay` decimal(10,2) NOT NULL,
  `timehalf_amount` decimal(10,2) NOT NULL,
  `double_amount` decimal(10,2) NOT NULL,
  `leave_allowances` decimal(10,2) NOT NULL,
  `other_allowances_fnpf` decimal(10,2) NOT NULL,
  `other_allowances_nonfnpf` decimal(10,2) NOT NULL,
  `meal_allowance` decimal(10,2) NOT NULL,
  `total_bonus` decimal(10,2) NOT NULL,
  `totalgross_amount` decimal(10,2) NOT NULL,
  `pay_cycle` int(11) NOT NULL,
  `completed_cycle` int(11) NOT NULL,
  `annual_income` decimal(10,2) NOT NULL,
  `annual_income_with_bonus` decimal(10,2) NOT NULL,
  `annual_income_tax` decimal(10,2) NOT NULL,
  `annual_srt_tax` decimal(10,2) NOT NULL,
  `annual_ecal_tax` decimal(10,2) NOT NULL,
  `annual_total_tax` decimal(10,2) NOT NULL,
  `income_tax_to_withhold` decimal(10,2) NOT NULL,
  `srt_tax_to_withhold` decimal(10,2) NOT NULL,
  `ecal_tax_to_withhold` decimal(10,2) NOT NULL,
  `total_tax_to_withhold` decimal(10,2) NOT NULL,
  `fnpf` decimal(10,2) NOT NULL,
  `fnpf_employer` decimal(10,2) NOT NULL,
  `fixed_deductions` decimal(10,2) NOT NULL,
  `other_deductions` decimal(10,2) NOT NULL,
  `net_pay` decimal(10,2) NOT NULL,
  `method_of_payment` varchar(100) NOT NULL,
  `bank_name` varchar(100) NOT NULL,
  `branch` varchar(100) NOT NULL,
  `bank_account_name` varchar(100) NOT NULL,
  `bank_account_number` varchar(100) NOT NULL,
  `entered_by` varchar(100) NOT NULL,
  PRIMARY KEY (`payid`),
  FULLTEXT KEY `employee_type` (`employee_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payrun_details`
--


--
-- Table structure for table `payrun_details_ext1`
--

CREATE TABLE `payrun_details_ext1` (
  `p_id` int(11) NOT NULL AUTO_INCREMENT,
  `payid` int(11) NOT NULL,
  `employeeid` int(11) NOT NULL,
  `type` varchar(100) NOT NULL,
  `location` varchar(100) NOT NULL,
  `timesuvaid` int(11) NOT NULL,
  `customer` varchar(100) NOT NULL,
  `montime_in` datetime DEFAULT NULL,
  `montime_out` datetime DEFAULT NULL,
  `mon_gap` tinyint(1) NOT NULL,
  `mon_hrs` decimal(10,1) NOT NULL,
  `mon_rate` decimal(10,2) NOT NULL,
  `mon_premium_rate` decimal(10,2) NOT NULL,
  `tuestime_in` datetime DEFAULT NULL,
  `tuestime_out` datetime DEFAULT NULL,
  `tues_gap` tinyint(1) NOT NULL,
  `tues_hrs` decimal(10,1) NOT NULL,
  `tues_rate` decimal(10,2) NOT NULL,
  `tues_premium_rate` decimal(10,2) NOT NULL,
  `wedtime_in` datetime DEFAULT NULL,
  `wedtime_out` datetime DEFAULT NULL,
  `wed_gap` tinyint(1) NOT NULL,
  `wed_hrs` decimal(10,1) NOT NULL,
  `wed_rate` decimal(10,2) NOT NULL,
  `wed_premium_rate` decimal(10,2) NOT NULL,
  `thurstime_in` datetime DEFAULT NULL,
  `thurstime_out` datetime DEFAULT NULL,
  `thurs_gap` tinyint(1) NOT NULL,
  `thurs_hrs` decimal(10,1) NOT NULL,
  `thurs_rate` decimal(10,2) NOT NULL,
  `thurs_premium_rate` decimal(10,2) NOT NULL,
  `fritime_in` datetime DEFAULT NULL,
  `fritime_out` datetime DEFAULT NULL,
  `fri_gap` tinyint(1) NOT NULL,
  `fri_hrs` decimal(10,1) NOT NULL,
  `fri_rate` decimal(10,2) NOT NULL,
  `fri_premium_rate` decimal(10,2) NOT NULL,
  `sattime_in` datetime DEFAULT NULL,
  `sattime_out` datetime DEFAULT NULL,
  `sat_gap` tinyint(1) NOT NULL,
  `sat_hrs` decimal(10,2) NOT NULL,
  `sat_rate` decimal(10,2) NOT NULL,
  `sat_premium_rate` decimal(10,2) NOT NULL,
  `sunttime_in` datetime DEFAULT NULL,
  `sunttime_out` datetime DEFAULT NULL,
  `sun_gap` tinyint(1) NOT NULL,
  `sun_hrs` decimal(10,2) NOT NULL,
  `sun_rate` decimal(10,2) NOT NULL,
  `sun_premium_rate` decimal(10,2) NOT NULL,
  `total_hrs` decimal(10,2) NOT NULL,
  `modified_by` varchar(100) NOT NULL,
  `date_modified` datetime NOT NULL,
  `calendar_id` int(11) NOT NULL,
  PRIMARY KEY (`p_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payrun_details_ext1`
--


--
-- Table structure for table `payrun_details_extra`
--

CREATE TABLE `payrun_details_extra` (
  `p_id` int(11) NOT NULL AUTO_INCREMENT,
  `payid` int(11) NOT NULL,
  `type` varchar(100) NOT NULL,
  `description` text NOT NULL,
  `timesheet_id` int(11) DEFAULT NULL,
  `hours` decimal(10,2) DEFAULT NULL,
  `rate` decimal(10,2) DEFAULT NULL,
  `premium_rate` decimal(10,2) DEFAULT NULL,
  `amount` decimal(10,2) NOT NULL,
  `department` varchar(100) NOT NULL,
  PRIMARY KEY (`p_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payrun_details_extra`
--


--
-- Table structure for table `pcashdetails`
--

CREATE TABLE `pcashdetails` (
  `counterindex` int(20) NOT NULL AUTO_INCREMENT,
  `tabcode` varchar(20) NOT NULL,
  `date` date NOT NULL,
  `codeexpense` varchar(20) NOT NULL,
  `amount` double NOT NULL,
  `authorized` date NOT NULL COMMENT 'date cash assigment was revised and authorized by authorizer from tabs table',
  `posted` tinyint(4) NOT NULL COMMENT 'has (or has not) been posted into gltrans',
  `notes` text NOT NULL,
  `receipt` text COMMENT 'filename or path to scanned receipt or code of receipt to find physical receipt if tax guys or auditors show up',
  PRIMARY KEY (`counterindex`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pcashdetails`
--

INSERT INTO `pcashdetails` VALUES (1,'GENERAL WEST','2019-05-29','ASSIGNCASH',500,'0000-00-00',0,'','');

--
-- Table structure for table `pcexpenses`
--

CREATE TABLE `pcexpenses` (
  `codeexpense` varchar(20) NOT NULL COMMENT 'code for the group',
  `description` varchar(50) NOT NULL COMMENT 'text description, e.g. meals, train tickets, fuel, etc',
  `glaccount` varchar(20) NOT NULL DEFAULT '0',
  `tag` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`codeexpense`),
  KEY `glaccount` (`glaccount`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pcexpenses`
--

INSERT INTO `pcexpenses` VALUES ('petrol','petrol','1100001',0),('test','test','1100001',0);

--
-- Table structure for table `pctabexpenses`
--

CREATE TABLE `pctabexpenses` (
  `typetabcode` varchar(20) NOT NULL,
  `codeexpense` varchar(20) NOT NULL,
  KEY `typetabcode` (`typetabcode`),
  KEY `codeexpense` (`codeexpense`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pctabexpenses`
--


--
-- Table structure for table `pctabs`
--

CREATE TABLE `pctabs` (
  `tabcode` varchar(20) NOT NULL,
  `usercode` varchar(20) NOT NULL COMMENT 'code of user employee from www_users',
  `typetabcode` varchar(20) NOT NULL,
  `currency` char(3) NOT NULL,
  `tablimit` double NOT NULL,
  `assigner` varchar(100) DEFAULT NULL,
  `authorizer` varchar(100) DEFAULT NULL,
  `glaccountassignment` varchar(20) NOT NULL DEFAULT '0',
  `glaccountpcash` varchar(20) NOT NULL DEFAULT '0',
  PRIMARY KEY (`tabcode`),
  KEY `usercode` (`usercode`),
  KEY `typetabcode` (`typetabcode`),
  KEY `currency` (`currency`),
  KEY `authorizer` (`authorizer`),
  KEY `glaccountassignment` (`glaccountassignment`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pctabs`
--

INSERT INTO `pctabs` VALUES ('General West','admin','nadi','FJD',500,'admin','ashil','1100000','1100000'),('PCSUVA','mgovind','Suva','FJD',500,'wsisilia','ravinesh','1100000','1100001'),('TEST','admin','Suva','FJD',0,'ravinesh','ravinesh','1100000','1100000');

--
-- Table structure for table `pctypetabs`
--

CREATE TABLE `pctypetabs` (
  `typetabcode` varchar(20) NOT NULL COMMENT 'code for the type of petty cash tab',
  `typetabdescription` varchar(50) NOT NULL COMMENT 'text description, e.g. tab for CEO',
  PRIMARY KEY (`typetabcode`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pctypetabs`
--

INSERT INTO `pctypetabs` VALUES ('nadi','nadi'),('Suva','suva');

--
-- Table structure for table `periods`
--

CREATE TABLE `periods` (
  `periodno` smallint(6) NOT NULL DEFAULT '0',
  `lastdate_in_period` date NOT NULL DEFAULT '0000-00-00',
  PRIMARY KEY (`periodno`),
  KEY `LastDate_in_Period` (`lastdate_in_period`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `periods`
--

INSERT INTO `periods` VALUES (-11,'2015-01-31'),(-10,'2015-02-28'),(-9,'2015-03-31'),(-8,'2015-04-30'),(-7,'2015-05-31'),(-6,'2015-06-30'),(-5,'2015-07-31'),(-4,'2015-08-31'),(-3,'2015-09-30'),(-2,'2015-10-31'),(-1,'2015-11-30'),(0,'2015-12-31'),(1,'2016-01-31'),(2,'2016-02-29'),(3,'2016-03-31'),(4,'2016-04-30'),(5,'2016-05-31'),(6,'2016-06-30'),(7,'2016-07-31'),(8,'2016-08-31'),(9,'2016-09-30'),(10,'2016-10-31'),(11,'2016-11-30'),(12,'2016-12-31'),(13,'2017-01-31'),(14,'2017-02-28'),(15,'2017-03-31'),(16,'2017-04-30'),(17,'2017-05-31'),(18,'2017-06-30'),(19,'2017-07-31'),(20,'2017-08-31'),(21,'2017-09-30'),(22,'2017-10-31'),(23,'2017-11-30'),(24,'2017-12-31'),(25,'2018-01-31'),(26,'2018-02-28'),(27,'2018-03-31'),(28,'2018-04-30'),(29,'2018-05-31'),(30,'2018-06-30'),(31,'2018-07-31'),(32,'2018-08-31'),(33,'2018-09-30'),(34,'2018-10-31'),(35,'2018-11-30'),(36,'2018-12-31'),(37,'2019-01-31'),(38,'2019-02-28'),(39,'2019-03-31'),(40,'2019-04-30'),(41,'2019-05-31'),(42,'2019-06-30'),(43,'2019-07-31'),(44,'2019-08-31'),(45,'2019-09-30'),(46,'2019-10-31'),(47,'2019-11-30'),(48,'2019-12-31'),(49,'2020-01-31');

--
-- Table structure for table `pickinglistdetails`
--

CREATE TABLE `pickinglistdetails` (
  `pickinglistno` int(11) NOT NULL DEFAULT '0',
  `pickinglistlineno` int(11) NOT NULL DEFAULT '0',
  `orderlineno` int(11) NOT NULL DEFAULT '0',
  `qtyexpected` double NOT NULL DEFAULT '0',
  `qtypicked` double NOT NULL DEFAULT '0',
  PRIMARY KEY (`pickinglistno`,`pickinglistlineno`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pickinglistdetails`
--


--
-- Table structure for table `pool_guards_tally`
--

CREATE TABLE `pool_guards_tally` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rosterid` int(11) NOT NULL,
  `guards` int(11) NOT NULL,
  `status` varchar(100) NOT NULL,
  `location_utilized` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pool_guards_tally`
--


--
-- Table structure for table `poolguards`
--

CREATE TABLE `poolguards` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `employeeid` int(11) NOT NULL,
  `first_name` varchar(100) NOT NULL,
  `last_name` varchar(100) NOT NULL,
  `rosterid` int(11) DEFAULT NULL,
  `patrol_location` varchar(100) DEFAULT NULL,
  `customer_name` varchar(100) DEFAULT NULL,
  `rostered` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=978 DEFAULT CHARSET=utf8 COMMENT='this one needs to delete old records';

--
-- Dumping data for table `poolguards`
--

INSERT INTO `poolguards` VALUES (1,'2017-11-20 00:00:00','2017-11-26 00:00:00',1003,'Waisea','Vakalevu',NULL,NULL,NULL,0),(2,'2017-11-20 00:00:00','2017-11-26 00:00:00',1004,'Sakiusa             ','Bulivorovoro        ',NULL,NULL,NULL,0),(3,'2017-11-20 00:00:00','2017-11-26 00:00:00',1005,'Poasa','Tuinacau',NULL,NULL,NULL,0),(4,'2017-11-20 00:00:00','2017-11-26 00:00:00',1011,'Aminiasi            ','Tadrau              ',NULL,NULL,NULL,0),(5,'2017-11-20 00:00:00','2017-11-26 00:00:00',1014,'Navitalai           ','Maravu              ',NULL,NULL,NULL,0),(6,'2017-11-20 00:00:00','2017-11-26 00:00:00',1022,'Joseva              ','Kacesi              ',NULL,NULL,NULL,0),(7,'2017-11-20 00:00:00','2017-11-26 00:00:00',1025,'Manase              ','Vukialau            ',NULL,NULL,NULL,0),(8,'2017-11-20 00:00:00','2017-11-26 00:00:00',1030,'Tevita              ','Bukaniyava          ',NULL,NULL,NULL,0),(9,'2017-11-20 00:00:00','2017-11-26 00:00:00',1032,'Peni','Ketewai',NULL,NULL,NULL,0),(10,'2017-11-20 00:00:00','2017-11-26 00:00:00',1037,'Jone                ','Yaqona              ',NULL,NULL,NULL,0),(11,'2017-11-20 00:00:00','2017-11-26 00:00:00',1042,'Kameli','Salele',NULL,NULL,NULL,0),(12,'2017-11-20 00:00:00','2017-11-26 00:00:00',1049,'Jeremaia            ','Wairogo             ',NULL,NULL,NULL,0),(13,'2017-11-20 00:00:00','2017-11-26 00:00:00',1050,'Aisake              ','Tawake              ',NULL,NULL,NULL,0),(14,'2017-11-20 00:00:00','2017-11-26 00:00:00',1051,'Peni','Tagava',NULL,NULL,NULL,0),(15,'2017-11-20 00:00:00','2017-11-26 00:00:00',1053,'Metuisela           ','Tareguci            ',NULL,NULL,NULL,0),(16,'2017-11-20 00:00:00','2017-11-26 00:00:00',1056,'Setefano            ','Mocevakaca          ',NULL,NULL,NULL,0),(17,'2017-11-20 00:00:00','2017-11-26 00:00:00',1061,'Tevita              ','Rokosuka            ',NULL,NULL,NULL,0),(18,'2017-11-20 00:00:00','2017-11-26 00:00:00',1063,'Alisi               ','Liku                ',NULL,NULL,NULL,0),(19,'2017-11-20 00:00:00','2017-11-26 00:00:00',1068,'Mesake              ','T.                  ',NULL,NULL,NULL,0),(20,'2017-11-20 00:00:00','2017-11-26 00:00:00',1070,'Ulaiasi','Dua',NULL,NULL,NULL,0),(21,'2017-11-20 00:00:00','2017-11-26 00:00:00',1072,'Nilesh              ','Nath                ',NULL,NULL,NULL,0),(22,'2017-11-20 00:00:00','2017-11-26 00:00:00',1074,'Rajen               ','Prasad              ',NULL,NULL,NULL,0),(23,'2017-11-20 00:00:00','2017-11-26 00:00:00',1077,'Simeli              ','Merumeru            ',NULL,NULL,NULL,0),(24,'2017-11-20 00:00:00','2017-11-26 00:00:00',1086,'Marika              ','Balawakula          ',NULL,NULL,NULL,0),(25,'2017-11-20 00:00:00','2017-11-26 00:00:00',1092,'Malakai             ','L.I.                ',NULL,NULL,NULL,0),(26,'2017-11-20 00:00:00','2017-11-26 00:00:00',1094,'Avelina             ','Seru                ',NULL,NULL,NULL,0),(27,'2017-11-20 00:00:00','2017-11-26 00:00:00',1095,'Sulueti             ','V.                  ',NULL,NULL,NULL,0),(28,'2017-11-20 00:00:00','2017-11-26 00:00:00',1097,'Iliakimi','Namusukia',NULL,NULL,NULL,0),(29,'2017-11-20 00:00:00','2017-11-26 00:00:00',1101,'Avenai','Diodio',NULL,NULL,NULL,0),(30,'2017-11-20 00:00:00','2017-11-26 00:00:00',1102,'Millie              ','Danford             ',NULL,NULL,NULL,0),(31,'2017-11-20 00:00:00','2017-11-26 00:00:00',1112,'Raiyawa             ','Waqavuka            ',NULL,NULL,NULL,0),(32,'2017-11-20 00:00:00','2017-11-26 00:00:00',1122,'Lui                 ','Waqa                ',NULL,NULL,NULL,0),(33,'2017-11-20 00:00:00','2017-11-26 00:00:00',1126,'Elesi               ','Vasu                ',NULL,NULL,NULL,0),(34,'2017-11-20 00:00:00','2017-11-26 00:00:00',1128,'Lui','Soro',NULL,NULL,NULL,0),(35,'2017-11-20 00:00:00','2017-11-26 00:00:00',1129,'Suka','Mika',NULL,NULL,NULL,0),(36,'2017-11-20 00:00:00','2017-11-26 00:00:00',1135,'Samuel              ','Uri                 ',NULL,NULL,NULL,0),(37,'2017-11-20 00:00:00','2017-11-26 00:00:00',1136,'Jojiana             ','Lala                ',NULL,NULL,NULL,0),(38,'2017-11-20 00:00:00','2017-11-26 00:00:00',1139,'Mosese              ','Siqana              ',NULL,NULL,NULL,0),(39,'2017-11-20 00:00:00','2017-11-26 00:00:00',1143,'Taniela             ','Lotu                ',NULL,NULL,NULL,0),(40,'2017-11-20 00:00:00','2017-11-26 00:00:00',1148,'Salanieta           ','Naicere             ',NULL,NULL,NULL,0),(41,'2017-11-20 00:00:00','2017-11-26 00:00:00',1149,'Andrew','Rehiman',NULL,NULL,NULL,0),(42,'2017-11-20 00:00:00','2017-11-26 00:00:00',1158,'Nemani              ','Rokodua             ',NULL,NULL,NULL,0),(43,'2017-11-20 00:00:00','2017-11-26 00:00:00',1168,'Timoci','Mateo',NULL,NULL,NULL,0),(44,'2017-11-20 00:00:00','2017-11-26 00:00:00',1171,'Fine                ','Mapa                ',NULL,NULL,NULL,0),(45,'2017-11-20 00:00:00','2017-11-26 00:00:00',1174,'Savenaca','Nadruguca',NULL,NULL,NULL,0),(46,'2017-11-20 00:00:00','2017-11-26 00:00:00',1178,'Alumita','Votadroka',NULL,NULL,NULL,0),(47,'2017-11-20 00:00:00','2017-11-26 00:00:00',1183,'Jone                ','Civatabua           ',NULL,NULL,NULL,0),(48,'2017-11-20 00:00:00','2017-11-26 00:00:00',1192,'Navitalai           ','Ura                 ',NULL,NULL,NULL,0),(49,'2017-11-20 00:00:00','2017-11-26 00:00:00',1193,'Tukana              ','Daulako             ',NULL,NULL,NULL,0),(50,'2017-11-20 00:00:00','2017-11-26 00:00:00',1197,'Tevita              ','Manumanunitoga      ',NULL,NULL,NULL,0),(51,'2017-11-20 00:00:00','2017-11-26 00:00:00',1207,'Tifere              ','Tivaknoa            ',NULL,NULL,NULL,0),(52,'2017-11-20 00:00:00','2017-11-26 00:00:00',1213,'Peni                ','Mataitini           ',NULL,NULL,NULL,0),(53,'2017-11-20 00:00:00','2017-11-26 00:00:00',1215,'Mitieli             ','Nawaqavou           ',NULL,NULL,NULL,0),(54,'2017-11-20 00:00:00','2017-11-26 00:00:00',1217,'Orisi               ','Toloi               ',NULL,NULL,NULL,0),(55,'2017-11-20 00:00:00','2017-11-26 00:00:00',1221,'Akuila              ','Tuisalia            ',NULL,NULL,NULL,0),(56,'2017-11-20 00:00:00','2017-11-26 00:00:00',1223,'Lote                ','Bulitu              ',NULL,NULL,NULL,0),(57,'2017-11-20 00:00:00','2017-11-26 00:00:00',1225,'Lavenia             ','Dranivasa           ',NULL,NULL,NULL,0),(58,'2017-11-20 00:00:00','2017-11-26 00:00:00',1237,'Mereseini           ','Marakosuva          ',NULL,NULL,NULL,0),(59,'2017-11-20 00:00:00','2017-11-26 00:00:00',1240,'Pauliasi','Valili',NULL,NULL,NULL,0),(60,'2017-11-20 00:00:00','2017-11-26 00:00:00',1241,'Lemeki              ','Cama                ',NULL,NULL,NULL,0),(61,'2017-11-20 00:00:00','2017-11-26 00:00:00',1242,'Jeke                ','Druma               ',NULL,NULL,NULL,0),(62,'2017-11-20 00:00:00','2017-11-26 00:00:00',1244,'Ilai','Kacivitale',NULL,NULL,NULL,0),(63,'2017-11-20 00:00:00','2017-11-26 00:00:00',1247,'Joji','Nakalevu',NULL,NULL,NULL,0),(64,'2017-11-20 00:00:00','2017-11-26 00:00:00',1255,'Jonasa              ','Kabaura             ',NULL,NULL,NULL,0),(65,'2017-11-20 00:00:00','2017-11-26 00:00:00',1262,'Watisoni            ','Waitui              ',NULL,NULL,NULL,0),(66,'2017-11-20 00:00:00','2017-11-26 00:00:00',1265,'Fereti','Waqanivalu',NULL,NULL,NULL,0),(67,'2017-11-20 00:00:00','2017-11-26 00:00:00',1266,'Viliame             ','Korotini            ',NULL,NULL,NULL,0),(68,'2017-11-20 00:00:00','2017-11-26 00:00:00',1268,'Peni                ','Verebasaga          ',NULL,NULL,NULL,0),(69,'2017-11-20 00:00:00','2017-11-26 00:00:00',1275,'Pravinesh           ','Chandra             ',NULL,NULL,NULL,0),(70,'2017-11-20 00:00:00','2017-11-26 00:00:00',1294,'Pita                ','Tuberi              ',NULL,NULL,NULL,0),(71,'2017-11-20 00:00:00','2017-11-26 00:00:00',1296,'Saula               ','Lalagavesi          ',NULL,NULL,NULL,0),(72,'2017-11-20 00:00:00','2017-11-26 00:00:00',1321,'Silio               ','Tuvinaka            ',NULL,NULL,NULL,0),(73,'2017-11-20 00:00:00','2017-11-26 00:00:00',1326,'Surya               ','Prakash             ',NULL,NULL,NULL,0),(74,'2017-11-20 00:00:00','2017-11-26 00:00:00',1327,'Leone               ','Qereya              ',NULL,NULL,NULL,0),(75,'2017-11-20 00:00:00','2017-11-26 00:00:00',1329,'Toduadua            ','Epineri             ',NULL,NULL,NULL,0),(76,'2017-11-20 00:00:00','2017-11-26 00:00:00',1330,'Emani               ','Naqura              ',NULL,NULL,NULL,0),(77,'2017-11-20 00:00:00','2017-11-26 00:00:00',1334,'Sailosi             ','Sima                ',NULL,NULL,NULL,0),(78,'2017-11-20 00:00:00','2017-11-26 00:00:00',1335,'Vilisoni            ','Luvu                ',NULL,NULL,NULL,0),(79,'2017-11-20 00:00:00','2017-11-26 00:00:00',1348,'Aminio              ','Atani               ',NULL,NULL,NULL,0),(80,'2017-11-20 00:00:00','2017-11-26 00:00:00',1362,'Tutini              ','Tabusakia           ',NULL,NULL,NULL,0),(81,'2017-11-20 00:00:00','2017-11-26 00:00:00',1365,'Eparama             ','Rasauliwa           ',NULL,NULL,NULL,0),(82,'2017-11-20 00:00:00','2017-11-26 00:00:00',1373,'Bhagat              ','Ram                 ',NULL,NULL,NULL,0),(83,'2017-11-20 00:00:00','2017-11-26 00:00:00',1374,'Koresi              ','Ratuyamaka          ',NULL,NULL,NULL,0),(84,'2017-11-20 00:00:00','2017-11-26 00:00:00',1386,'Sitiveni','Aiweti',NULL,NULL,NULL,0),(85,'2017-11-20 00:00:00','2017-11-26 00:00:00',1389,'Ulaiasi             ','Tavou               ',NULL,NULL,NULL,0),(86,'2017-11-20 00:00:00','2017-11-26 00:00:00',1390,'Watisoni            ','Kama                ',NULL,NULL,NULL,0),(87,'2017-11-20 00:00:00','2017-11-26 00:00:00',1393,'Irinieta            ','Nanewa              ',NULL,NULL,NULL,0),(88,'2017-11-20 00:00:00','2017-11-26 00:00:00',1397,'Isimeli             ','Biudole             ',NULL,NULL,NULL,0),(89,'2017-11-20 00:00:00','2017-11-26 00:00:00',1401,'Taraiasi            ','Vuase               ',NULL,NULL,NULL,0),(90,'2017-11-20 00:00:00','2017-11-26 00:00:00',1408,'Varanisese          ','R.                  ',NULL,NULL,NULL,0),(91,'2017-11-20 00:00:00','2017-11-26 00:00:00',1415,'Paulo               ','Sefanaia            ',NULL,NULL,NULL,0),(92,'2017-11-20 00:00:00','2017-11-26 00:00:00',1431,'Maivuanisaki        ','Iloilovatu          ',NULL,NULL,NULL,0),(93,'2017-11-20 00:00:00','2017-11-26 00:00:00',1433,'Mosese              ','Tikoduadua          ',NULL,NULL,NULL,0),(94,'2017-11-20 00:00:00','2017-11-26 00:00:00',1435,'Varauni             ','Vueta               ',NULL,NULL,NULL,0),(95,'2017-11-20 00:00:00','2017-11-26 00:00:00',1440,'Livai','Vuanabotoboto',NULL,NULL,NULL,0),(96,'2017-11-20 00:00:00','2017-11-26 00:00:00',1441,'Miriama             ','Tuisokula           ',NULL,NULL,NULL,0),(97,'2017-11-20 00:00:00','2017-11-26 00:00:00',1442,'Akesa               ','Tuicakau            ',NULL,NULL,NULL,0),(98,'2017-11-20 00:00:00','2017-11-26 00:00:00',1446,'Penisoni','Tawake',NULL,NULL,NULL,0),(99,'2017-11-20 00:00:00','2017-11-26 00:00:00',1460,'Inosa               ','Raviko              ',NULL,NULL,NULL,0),(100,'2017-11-20 00:00:00','2017-11-26 00:00:00',1466,'Verewale            ','Sailasa             ',NULL,NULL,NULL,0),(101,'2017-11-20 00:00:00','2017-11-26 00:00:00',1470,'Sailasa             ','Vinako              ',NULL,NULL,NULL,0),(102,'2017-11-20 00:00:00','2017-11-26 00:00:00',1476,'Saula               ','Vasuvulagi          ',NULL,NULL,NULL,0),(103,'2017-11-20 00:00:00','2017-11-26 00:00:00',1478,'Merelita            ','Cirimaidaku         ',NULL,NULL,NULL,0),(104,'2017-11-20 00:00:00','2017-11-26 00:00:00',1487,'Isoa                ','Musuqio             ',NULL,NULL,NULL,0),(105,'2017-11-20 00:00:00','2017-11-26 00:00:00',1488,'Marenda             ','Agnes               ',NULL,NULL,NULL,0),(106,'2017-11-20 00:00:00','2017-11-26 00:00:00',1495,'Etonia','Tabuamadu',NULL,NULL,NULL,0),(107,'2017-11-20 00:00:00','2017-11-26 00:00:00',1496,'Kele                ','Veresi              ',NULL,NULL,NULL,0),(108,'2017-11-20 00:00:00','2017-11-26 00:00:00',1499,'Fane                ','Adikalou            ',NULL,NULL,NULL,0),(109,'2017-11-20 00:00:00','2017-11-26 00:00:00',1512,'Aisake','Tabuya',NULL,NULL,NULL,0),(110,'2017-11-20 00:00:00','2017-11-26 00:00:00',1517,'Sereana             ','Batiwaqa            ',NULL,NULL,NULL,0),(111,'2017-11-20 00:00:00','2017-11-26 00:00:00',1521,'Vilikesa','Rokona',NULL,NULL,NULL,0),(112,'2017-11-20 00:00:00','2017-11-26 00:00:00',1523,'Lutu','Weya',NULL,NULL,NULL,0),(113,'2017-11-20 00:00:00','2017-11-26 00:00:00',1527,'Manoa               ','Togomalo            ',NULL,NULL,NULL,0),(114,'2017-11-20 00:00:00','2017-11-26 00:00:00',1534,'Filimaina           ','T.                  ',NULL,NULL,NULL,0),(115,'2017-11-20 00:00:00','2017-11-26 00:00:00',1535,'Rusiane             ','Taleba              ',NULL,NULL,NULL,0),(116,'2017-11-20 00:00:00','2017-11-26 00:00:00',1538,'Bulou               ','Cokanasiga          ',NULL,NULL,NULL,0),(117,'2017-11-20 00:00:00','2017-11-26 00:00:00',1546,'Grace','Morell',NULL,NULL,NULL,0),(118,'2017-11-20 00:00:00','2017-11-26 00:00:00',1552,'Gabirieli           ','Ravalawa            ',NULL,NULL,NULL,0),(119,'2017-11-20 00:00:00','2017-11-26 00:00:00',1559,'Iowane              ','Uluibalaga          ',NULL,NULL,NULL,0),(120,'2017-11-20 00:00:00','2017-11-26 00:00:00',1562,'Emosi               ','Nacebe              ',NULL,NULL,NULL,0),(121,'2017-11-20 00:00:00','2017-11-26 00:00:00',1565,'Walusio             ','Nacola              ',NULL,NULL,NULL,0),(122,'2017-11-20 00:00:00','2017-11-26 00:00:00',1582,'Simione             ','Koroi               ',NULL,NULL,NULL,0),(123,'2017-11-20 00:00:00','2017-11-26 00:00:00',1583,'Dominika            ','K.                  ',NULL,NULL,NULL,0),(124,'2017-11-20 00:00:00','2017-11-26 00:00:00',1586,'Samuela             ','Valegi              ',NULL,NULL,NULL,0),(125,'2017-11-20 00:00:00','2017-11-26 00:00:00',1597,'Maloni              ','Daurewa             ',NULL,NULL,NULL,0),(126,'2017-11-20 00:00:00','2017-11-26 00:00:00',1598,'Ilisapeci           ','Sokidi              ',NULL,NULL,NULL,0),(127,'2017-11-20 00:00:00','2017-11-26 00:00:00',1601,'Kelepi              ','Temo                ',NULL,NULL,NULL,0),(128,'2017-11-20 00:00:00','2017-11-26 00:00:00',1607,'Siteri              ','Vakacolati          ',NULL,NULL,NULL,0),(129,'2017-11-20 00:00:00','2017-11-26 00:00:00',1610,'Noa','Vakamoce',NULL,NULL,NULL,0),(130,'2017-11-20 00:00:00','2017-11-26 00:00:00',1614,'Kacilala            ','Soko                ',NULL,NULL,NULL,0),(131,'2017-11-20 00:00:00','2017-11-26 00:00:00',1617,'Filimone            ','Bevu                ',NULL,NULL,NULL,0),(132,'2017-11-20 00:00:00','2017-11-26 00:00:00',1630,'Tevita              ','Niusiladi           ',NULL,NULL,NULL,0),(133,'2017-11-20 00:00:00','2017-11-26 00:00:00',1634,'Apakuki             ','Raravou             ',NULL,NULL,NULL,0),(134,'2017-11-20 00:00:00','2017-11-26 00:00:00',1635,'Ratu                ','Sela                ',NULL,NULL,NULL,0),(135,'2017-11-20 00:00:00','2017-11-26 00:00:00',1672,'Meli','Tikoinasoki',NULL,NULL,NULL,0),(136,'2017-11-20 00:00:00','2017-11-26 00:00:00',1676,'Sakiusa             ','Vakacautadra        ',NULL,NULL,NULL,0),(137,'2017-11-20 00:00:00','2017-11-26 00:00:00',1681,'John                ','Hughes              ',NULL,NULL,NULL,0),(138,'2017-11-20 00:00:00','2017-11-26 00:00:00',1697,'Sheikh              ','Alam                ',NULL,NULL,NULL,0),(139,'2017-11-20 00:00:00','2017-11-26 00:00:00',1702,'Jone                ','Kacunisawana        ',NULL,NULL,NULL,0),(140,'2017-11-20 00:00:00','2017-11-26 00:00:00',1705,'Karalaini           ','Ucudra              ',NULL,NULL,NULL,0),(141,'2017-11-20 00:00:00','2017-11-26 00:00:00',1707,'Mitieli             ','Rokoua              ',NULL,NULL,NULL,0),(142,'2017-11-20 00:00:00','2017-11-26 00:00:00',1715,'Joilame             ','Kuruyawa            ',NULL,NULL,NULL,0),(143,'2017-11-20 00:00:00','2017-11-26 00:00:00',1736,'Jone                ','Naivaqa             ',NULL,NULL,NULL,0),(144,'2017-11-20 00:00:00','2017-11-26 00:00:00',1739,'Tavo','Lesumainiusiladi',NULL,NULL,NULL,0),(145,'2017-11-20 00:00:00','2017-11-26 00:00:00',1745,'Jone','Finau',NULL,NULL,NULL,0),(146,'2017-11-20 00:00:00','2017-11-26 00:00:00',1746,'Taitusi             ','Tabaleka            ',NULL,NULL,NULL,0),(147,'2017-11-20 00:00:00','2017-11-26 00:00:00',1748,'Kulinio             ','Catakira            ',NULL,NULL,NULL,0),(148,'2017-11-20 00:00:00','2017-11-26 00:00:00',1749,'Jione','Waqabaca',NULL,NULL,NULL,0),(149,'2017-11-20 00:00:00','2017-11-26 00:00:00',1758,'Sanivalati','Naucalevu',NULL,NULL,NULL,0),(150,'2017-11-20 00:00:00','2017-11-26 00:00:00',1770,'Maciu               ','Turagalevaci        ',NULL,NULL,NULL,0),(151,'2017-11-20 00:00:00','2017-11-26 00:00:00',1774,'Asaeli              ','Tuidama             ',NULL,NULL,NULL,0),(152,'2017-11-20 00:00:00','2017-11-26 00:00:00',1798,'Ilaisa              ','Rokovatumeke        ',NULL,NULL,NULL,0),(153,'2017-11-20 00:00:00','2017-11-26 00:00:00',1804,'Sevanaia','Rurugi',NULL,NULL,NULL,0),(154,'2017-11-20 00:00:00','2017-11-26 00:00:00',1805,'Iliesa              ','Matai               ',NULL,NULL,NULL,0),(155,'2017-11-20 00:00:00','2017-11-26 00:00:00',1814,'Siteri              ','Brown               ',NULL,NULL,NULL,0),(156,'2017-11-20 00:00:00','2017-11-26 00:00:00',1816,'Viliame             ','Qiloisonivesi       ',NULL,NULL,NULL,0),(157,'2017-11-20 00:00:00','2017-11-26 00:00:00',1818,'Kelemedi            ','Savu                ',NULL,NULL,NULL,0),(158,'2017-11-20 00:00:00','2017-11-26 00:00:00',1819,'Baivi','Koroiravu',NULL,NULL,NULL,0),(159,'2017-11-20 00:00:00','2017-11-26 00:00:00',1824,'Torika              ','Sivoinaika          ',NULL,NULL,NULL,0),(160,'2017-11-20 00:00:00','2017-11-26 00:00:00',1829,'Suliasi             ','Suveinakama         ',NULL,NULL,NULL,0),(161,'2017-11-20 00:00:00','2017-11-26 00:00:00',1834,'Jone                ','Draunibaka          ',NULL,NULL,NULL,0),(162,'2017-11-20 00:00:00','2017-11-26 00:00:00',1835,'Jemesa              ','Toutou              ',NULL,NULL,NULL,0),(163,'2017-11-20 00:00:00','2017-11-26 00:00:00',1843,'Susana              ','Bale                ',NULL,NULL,NULL,0),(164,'2017-11-20 00:00:00','2017-11-26 00:00:00',1845,'Kelera              ','Volasiga            ',NULL,NULL,NULL,0),(165,'2017-11-20 00:00:00','2017-11-26 00:00:00',1856,'Irene               ','Whippy              ',NULL,NULL,NULL,0),(166,'2017-11-20 00:00:00','2017-11-26 00:00:00',1864,'Kalaveti            ','Natoucu             ',NULL,NULL,NULL,0),(167,'2017-11-20 00:00:00','2017-11-26 00:00:00',1868,'Kelepi              ','Karaci              ',NULL,NULL,NULL,0),(168,'2017-11-20 00:00:00','2017-11-26 00:00:00',1871,'Viliame             ','Driti               ',NULL,NULL,NULL,0),(169,'2017-11-20 00:00:00','2017-11-26 00:00:00',1874,'Vereimi             ','T.                  ',NULL,NULL,NULL,0),(170,'2017-11-20 00:00:00','2017-11-26 00:00:00',1880,'Luke                ','Vakasilimi          ',NULL,NULL,NULL,0),(171,'2017-11-20 00:00:00','2017-11-26 00:00:00',1882,'Mesake              ','Baleisawani         ',NULL,NULL,NULL,0),(172,'2017-11-20 00:00:00','2017-11-26 00:00:00',1883,'Nacanieli           ','Tuivuniqori         ',NULL,NULL,NULL,0),(173,'2017-11-20 00:00:00','2017-11-26 00:00:00',1887,'Laisiasa            ','Balilekutu          ',NULL,NULL,NULL,0),(174,'2017-11-20 00:00:00','2017-11-26 00:00:00',1890,'Sanivalati          ','Dau                 ',NULL,NULL,NULL,0),(175,'2017-11-20 00:00:00','2017-11-26 00:00:00',1912,'Timoci              ','Niumataiwalu        ',NULL,NULL,NULL,0),(176,'2017-11-20 00:00:00','2017-11-26 00:00:00',1915,'Semi                ','Suraki              ',NULL,NULL,NULL,0),(177,'2017-11-20 00:00:00','2017-11-26 00:00:00',1932,'Onisimo             ','Seru                ',NULL,NULL,NULL,0),(178,'2017-11-20 00:00:00','2017-11-26 00:00:00',1934,'Lemeki              ','Tumalu              ',NULL,NULL,NULL,0),(179,'2017-11-20 00:00:00','2017-11-26 00:00:00',1937,'Viliame             ','Kele                ',NULL,NULL,NULL,0),(180,'2017-11-20 00:00:00','2017-11-26 00:00:00',1938,'Ilikini             ','Nalomakuvu          ',NULL,NULL,NULL,0),(181,'2017-11-20 00:00:00','2017-11-26 00:00:00',1939,'Peter               ','Wendt               ',NULL,NULL,NULL,0),(182,'2017-11-20 00:00:00','2017-11-26 00:00:00',1940,'Peniasi             ','Seru                ',NULL,NULL,NULL,0),(183,'2017-11-20 00:00:00','2017-11-26 00:00:00',1945,'Josaia              ','Tamanikaibau        ',NULL,NULL,NULL,0),(184,'2017-11-20 00:00:00','2017-11-26 00:00:00',1950,'Eparama             ','Tikomaimakogai      ',NULL,NULL,NULL,0),(185,'2017-11-20 00:00:00','2017-11-26 00:00:00',1956,'Isikeli             ','Vuniwaqalevu        ',NULL,NULL,NULL,0),(186,'2017-11-20 00:00:00','2017-11-26 00:00:00',1986,'Nancy               ','Mairul              ',NULL,NULL,NULL,0),(187,'2017-11-20 00:00:00','2017-11-26 00:00:00',1994,'Isireli             ','Waqabaca            ',NULL,NULL,NULL,0),(188,'2017-11-20 00:00:00','2017-11-26 00:00:00',3047,'Clorissa','Ronette',NULL,NULL,NULL,0),(189,'2017-11-20 00:00:00','2017-11-26 00:00:00',3120,'Mere','Toisokula',NULL,NULL,NULL,0),(190,'2017-11-20 00:00:00','2017-11-26 00:00:00',3135,'Zabeen','Shehnaaz',NULL,NULL,NULL,0),(191,'2017-11-20 00:00:00','2017-11-26 00:00:00',3136,'Joyti','Devi',NULL,NULL,NULL,0),(192,'2017-11-20 00:00:00','2017-11-26 00:00:00',3150,'Preetika','Kiran',NULL,NULL,NULL,0),(193,'2017-11-20 00:00:00','2017-11-26 00:00:00',3159,'Eseta','Yanuyanulala',NULL,NULL,NULL,0),(194,'2017-11-20 00:00:00','2017-11-26 00:00:00',3172,'Artika','Anjeshni',NULL,NULL,NULL,0),(195,'2017-11-20 00:00:00','2017-11-26 00:00:00',3174,'Sharukh','Khan',NULL,NULL,NULL,0),(196,'2017-11-20 00:00:00','2017-11-26 00:00:00',3175,'Amit','Kumar',NULL,NULL,NULL,0),(197,'2017-11-20 00:00:00','2017-11-26 00:00:00',3176,'Arvin','Chand',NULL,NULL,NULL,0),(198,'2017-11-20 00:00:00','2017-11-26 00:00:00',3186,'Praneel','Anand',NULL,NULL,NULL,0),(199,'2017-11-20 00:00:00','2017-11-26 00:00:00',3194,'Ranjeeta','Vikashni',NULL,NULL,NULL,0),(200,'2017-11-20 00:00:00','2017-11-26 00:00:00',3196,'Roleen','Ranjeshmi',NULL,NULL,NULL,0),(201,'2017-11-20 00:00:00','2017-11-26 00:00:00',3197,'Mohammed','Zuber',NULL,NULL,NULL,0),(202,'2017-11-20 00:00:00','2017-11-26 00:00:00',6116,'Jovilisi','Canigata',NULL,NULL,NULL,0),(203,'2017-11-20 00:00:00','2017-11-26 00:00:00',10003,'Charles             ','R.                  ',NULL,NULL,NULL,0),(204,'2017-11-20 00:00:00','2017-11-26 00:00:00',10006,'Akuila              ','Vanakena            ',NULL,NULL,NULL,1),(205,'2017-11-20 00:00:00','2017-11-26 00:00:00',10011,'Alivereti           ','Tabacala            ',NULL,NULL,NULL,0),(206,'2017-11-20 00:00:00','2017-11-26 00:00:00',10016,'Pita                ','Cakacakabalavu      ',NULL,NULL,NULL,0),(207,'2017-11-20 00:00:00','2017-11-26 00:00:00',10023,'Sekope','Sukulu',NULL,NULL,NULL,0),(208,'2017-11-20 00:00:00','2017-11-26 00:00:00',10024,'Sosiceni            ','Namaro              ',NULL,NULL,NULL,0),(209,'2017-11-20 00:00:00','2017-11-26 00:00:00',10063,'Epeli               ','Vukitu              ',NULL,NULL,NULL,0),(210,'2017-11-20 00:00:00','2017-11-26 00:00:00',10101,'Sanjev','Kumar',NULL,NULL,NULL,0),(211,'2017-11-20 00:00:00','2017-11-26 00:00:00',10104,'Isake               ','Naduvu              ',NULL,NULL,NULL,0),(212,'2017-11-20 00:00:00','2017-11-26 00:00:00',10132,'Emele               ','Adi                 ',NULL,NULL,NULL,0),(213,'2017-11-20 00:00:00','2017-11-26 00:00:00',10136,'Ioane               ','Kuruse              ',NULL,NULL,NULL,0),(214,'2017-11-20 00:00:00','2017-11-26 00:00:00',10146,'Tomasi','Vuniyacawa',NULL,NULL,NULL,0),(215,'2017-11-20 00:00:00','2017-11-26 00:00:00',10147,'Taitusi             ','Goneduadua          ',NULL,NULL,NULL,0),(216,'2017-11-20 00:00:00','2017-11-26 00:00:00',10184,'Semesa              ','Seruvatu            ',NULL,NULL,NULL,0),(217,'2017-11-20 00:00:00','2017-11-26 00:00:00',10186,'Viliame             ','S.R.                ',NULL,NULL,NULL,0),(218,'2017-11-20 00:00:00','2017-11-26 00:00:00',10203,'Josua               ','Vorokanauto         ',NULL,NULL,NULL,0),(219,'2017-11-20 00:00:00','2017-11-26 00:00:00',10205,'Viliame             ','Senibua             ',NULL,NULL,NULL,0),(220,'2017-11-20 00:00:00','2017-11-26 00:00:00',10206,'Niko                ','Rabuku              ',NULL,NULL,NULL,0),(221,'2017-11-20 00:00:00','2017-11-26 00:00:00',10221,'Maria               ','Rodan               ',NULL,NULL,NULL,0),(222,'2017-11-20 00:00:00','2017-11-26 00:00:00',10233,'Venina              ','Mocevata            ',NULL,NULL,NULL,0),(223,'2017-11-20 00:00:00','2017-11-26 00:00:00',10235,'Varanisese          ','B.                  ',NULL,NULL,NULL,0),(224,'2017-11-20 00:00:00','2017-11-26 00:00:00',10241,'Leone','Tauleka',NULL,NULL,NULL,0),(225,'2017-11-20 00:00:00','2017-11-26 00:00:00',10244,'Taniela             ','Waqanokonoko        ',NULL,NULL,NULL,0),(226,'2017-11-20 00:00:00','2017-11-26 00:00:00',10246,'Iliana','Roligatabu',NULL,NULL,NULL,0),(227,'2017-11-20 00:00:00','2017-11-26 00:00:00',10248,'Samuela             ','Tinairokica         ',NULL,NULL,NULL,0),(228,'2017-11-20 00:00:00','2017-11-26 00:00:00',10250,'David               ','Josua               ',NULL,NULL,NULL,0),(229,'2017-11-20 00:00:00','2017-11-26 00:00:00',10254,'Kolinio             ','T.                  ',NULL,NULL,NULL,0),(230,'2017-11-20 00:00:00','2017-11-26 00:00:00',10264,'Semiti              ','Seruwaqa            ',NULL,NULL,NULL,0),(231,'2017-11-20 00:00:00','2017-11-26 00:00:00',10278,'Annie               ','Bradburg            ',NULL,NULL,NULL,0),(232,'2017-11-20 00:00:00','2017-11-26 00:00:00',10279,'Inise               ','Sere                ',NULL,NULL,NULL,0),(233,'2017-11-20 00:00:00','2017-11-26 00:00:00',10291,'John                ','Konrote             ',NULL,NULL,NULL,0),(234,'2017-11-20 00:00:00','2017-11-26 00:00:00',10309,'Ratu                ','Alifereti           ',NULL,NULL,NULL,0),(235,'2017-11-20 00:00:00','2017-11-26 00:00:00',10310,'Meli                ','Rokoua              ',NULL,NULL,NULL,0),(236,'2017-11-20 00:00:00','2017-11-26 00:00:00',10313,'Tuilomaniwai        ','Toganivalu          ',NULL,NULL,NULL,0),(237,'2017-11-20 00:00:00','2017-11-26 00:00:00',10327,'Sikele','K.',NULL,NULL,NULL,0),(238,'2017-11-20 00:00:00','2017-11-26 00:00:00',10329,'Joseva              ','Bakaniceva          ',NULL,NULL,NULL,0),(239,'2017-11-20 00:00:00','2017-11-26 00:00:00',10342,'Apenisa             ','Seru                ',NULL,NULL,NULL,0),(240,'2017-11-20 00:00:00','2017-11-26 00:00:00',10394,'Eroni               ','Riamkau             ',NULL,NULL,NULL,0),(241,'2017-11-20 00:00:00','2017-11-26 00:00:00',10395,'Livai               ','Bokini              ',NULL,NULL,NULL,0),(242,'2017-11-20 00:00:00','2017-11-26 00:00:00',10400,'Remesio             ','Cama                ',NULL,NULL,NULL,0),(243,'2017-11-20 00:00:00','2017-11-26 00:00:00',10405,'Ruveni              ','Koroitabuavou       ',NULL,NULL,NULL,0),(244,'2017-11-20 00:00:00','2017-11-26 00:00:00',10406,'Ilaisa              ','Liganimeke          ',NULL,NULL,NULL,0),(245,'2017-11-20 00:00:00','2017-11-26 00:00:00',10407,'Mataiasi','Kaulawe',NULL,NULL,NULL,0),(246,'2017-11-20 00:00:00','2017-11-26 00:00:00',10410,'Josefa              ','Ravula              ',NULL,NULL,NULL,0),(247,'2017-11-20 00:00:00','2017-11-26 00:00:00',10419,'Irinale             ','S.                  ',NULL,NULL,NULL,0),(248,'2017-11-20 00:00:00','2017-11-26 00:00:00',10429,'Eneri               ','Vuranovo            ',NULL,NULL,NULL,0),(249,'2017-11-20 00:00:00','2017-11-26 00:00:00',10441,'Galu                ','Inau                ',NULL,NULL,NULL,0),(250,'2017-11-20 00:00:00','2017-11-26 00:00:00',10442,'Sitino              ','Keteilagi           ',NULL,NULL,NULL,0),(251,'2017-11-20 00:00:00','2017-11-26 00:00:00',10446,'Inoke','Bolakania',NULL,NULL,NULL,0),(252,'2017-11-20 00:00:00','2017-11-26 00:00:00',10452,'Malakai','Raceva',NULL,NULL,NULL,0),(253,'2017-11-20 00:00:00','2017-11-26 00:00:00',10454,'Ovini               ','Baleinamau          ',NULL,NULL,NULL,0),(254,'2017-11-20 00:00:00','2017-11-26 00:00:00',10458,'Asis','Kumar',NULL,NULL,NULL,0),(255,'2017-11-20 00:00:00','2017-11-26 00:00:00',10460,'Mukhshad            ','Ali                 ',NULL,NULL,NULL,0),(256,'2017-11-20 00:00:00','2017-11-26 00:00:00',10477,'Josateki            ','W.J.W.              ',NULL,NULL,NULL,0),(257,'2017-11-20 00:00:00','2017-11-26 00:00:00',10479,'Simione             ','Gusuivalu           ',NULL,NULL,NULL,0),(258,'2017-11-20 00:00:00','2017-11-26 00:00:00',10481,'Timoci              ','Ibeco               ',NULL,NULL,NULL,0),(259,'2017-11-20 00:00:00','2017-11-26 00:00:00',10483,'Jese                ','Baledrokadroka      ',NULL,NULL,NULL,0),(260,'2017-11-20 00:00:00','2017-11-26 00:00:00',10510,'Sainivalati         ','L.                  ',NULL,NULL,NULL,0),(261,'2017-11-20 00:00:00','2017-11-26 00:00:00',10528,'Moape               ','Wailo               ',NULL,NULL,NULL,0),(262,'2017-11-20 00:00:00','2017-11-26 00:00:00',10529,'Inoke               ','Tabucala            ',NULL,NULL,NULL,0),(263,'2017-11-20 00:00:00','2017-11-26 00:00:00',10550,'Atelaite','Tauyavuvakarua',NULL,NULL,NULL,0),(264,'2017-11-20 00:00:00','2017-11-26 00:00:00',10552,'Temo                ','Cakacaka            ',NULL,NULL,NULL,0),(265,'2017-11-20 00:00:00','2017-11-26 00:00:00',10558,'Taniela             ','Rogo                ',NULL,NULL,NULL,0),(266,'2017-11-20 00:00:00','2017-11-26 00:00:00',10565,'Osea                ','Koro                ',NULL,NULL,NULL,0),(267,'2017-11-20 00:00:00','2017-11-26 00:00:00',10606,'Maleli              ','Vakavodo            ',NULL,NULL,NULL,0),(268,'2017-11-20 00:00:00','2017-11-26 00:00:00',10607,'Iliesa              ','Kunalulu            ',NULL,NULL,NULL,0),(269,'2017-11-20 00:00:00','2017-11-26 00:00:00',10610,'Apisai              ','Toganiyasawa        ',NULL,NULL,NULL,0),(270,'2017-11-20 00:00:00','2017-11-26 00:00:00',10612,'Jiuta               ','Seru                ',NULL,NULL,NULL,0),(271,'2017-11-20 00:00:00','2017-11-26 00:00:00',10622,'Ropate              ','N.                  ',NULL,NULL,NULL,0),(272,'2017-11-20 00:00:00','2017-11-26 00:00:00',10626,'George              ','Joseph              ',NULL,NULL,NULL,0),(273,'2017-11-20 00:00:00','2017-11-26 00:00:00',10628,'Lorima              ','Uluiqaravau         ',NULL,NULL,NULL,0),(274,'2017-11-20 00:00:00','2017-11-26 00:00:00',10647,'Josevata            ','Waqa                ',NULL,NULL,NULL,0),(275,'2017-11-20 00:00:00','2017-11-26 00:00:00',10657,'Apenisa','Latianaceva',NULL,NULL,NULL,0),(276,'2017-11-20 00:00:00','2017-11-26 00:00:00',10659,'Lemeki','Waqanisanini',NULL,NULL,NULL,0),(277,'2017-11-20 00:00:00','2017-11-26 00:00:00',10660,'Tevita              ','Gaunabalavu         ',NULL,NULL,NULL,0),(278,'2017-11-20 00:00:00','2017-11-26 00:00:00',10662,'Taina               ','Sovaki              ',NULL,NULL,NULL,0),(279,'2017-11-20 00:00:00','2017-11-26 00:00:00',10664,'Saini               ','Caucaunisiga        ',NULL,NULL,NULL,0),(280,'2017-11-20 00:00:00','2017-11-26 00:00:00',10672,'Mikaele','Qio',NULL,NULL,NULL,0),(281,'2017-11-20 00:00:00','2017-11-26 00:00:00',10673,'Salanieta           ','Qaduadua            ',NULL,NULL,NULL,0),(282,'2017-11-20 00:00:00','2017-11-26 00:00:00',10686,'Opeti               ','Mataravuravu        ',NULL,NULL,NULL,0),(283,'2017-11-20 00:00:00','2017-11-26 00:00:00',10690,'Pauliasi            ','Rokosawa            ',NULL,NULL,NULL,0),(284,'2017-11-20 00:00:00','2017-11-26 00:00:00',10692,'Nanise              ','Ranadiniwainibu     ',NULL,NULL,NULL,0),(285,'2017-11-20 00:00:00','2017-11-26 00:00:00',10694,'Makipani','Gonelevu',NULL,NULL,NULL,0),(286,'2017-11-20 00:00:00','2017-11-26 00:00:00',10718,'Epeneri             ','Bolaidreketi        ',NULL,NULL,NULL,0),(287,'2017-11-20 00:00:00','2017-11-26 00:00:00',10724,'Petero','Waqa',NULL,NULL,NULL,0),(288,'2017-11-20 00:00:00','2017-11-26 00:00:00',10736,'Lyn                 ','Waqa                ',NULL,NULL,NULL,0),(289,'2017-11-20 00:00:00','2017-11-26 00:00:00',10741,'Viliame','Tuimavana',NULL,NULL,NULL,0),(290,'2017-11-20 00:00:00','2017-11-26 00:00:00',10744,'Ratu','Vula',NULL,NULL,NULL,0),(291,'2017-11-20 00:00:00','2017-11-26 00:00:00',10747,'Isimeli             ','M.                  ',NULL,NULL,NULL,0),(292,'2017-11-20 00:00:00','2017-11-26 00:00:00',10749,'Emosi               ','N.                  ',NULL,NULL,NULL,0),(293,'2017-11-20 00:00:00','2017-11-26 00:00:00',10753,'Josaia              ','Ulia                ',NULL,NULL,NULL,0),(294,'2017-11-20 00:00:00','2017-11-26 00:00:00',10759,'Mosese','Tiko',NULL,NULL,NULL,0),(295,'2017-11-20 00:00:00','2017-11-26 00:00:00',10768,'Seremaia            ','Marawa              ',NULL,NULL,NULL,0),(296,'2017-11-20 00:00:00','2017-11-26 00:00:00',10782,'Emori               ','Ranakalou           ',NULL,NULL,NULL,0),(297,'2017-11-20 00:00:00','2017-11-26 00:00:00',10795,'Viliame             ','Buli                ',NULL,NULL,NULL,0),(298,'2017-11-20 00:00:00','2017-11-26 00:00:00',10796,'Daniel              ','Kenneth             ',NULL,NULL,NULL,0),(299,'2017-11-20 00:00:00','2017-11-26 00:00:00',10802,'Acura','Turagabeci',NULL,NULL,NULL,0),(300,'2017-11-20 00:00:00','2017-11-26 00:00:00',10805,'Manasa              ','Naivalu             ',NULL,NULL,NULL,0),(301,'2017-11-20 00:00:00','2017-11-26 00:00:00',10809,'Taniela             ','Toganara            ',NULL,NULL,NULL,0),(302,'2017-11-20 00:00:00','2017-11-26 00:00:00',10810,'Nemani              ','Salele              ',NULL,NULL,NULL,0),(303,'2017-11-20 00:00:00','2017-11-26 00:00:00',10816,'Timoci              ','Ledua               ',NULL,NULL,NULL,0),(304,'2017-11-20 00:00:00','2017-11-26 00:00:00',10825,'Navitalai           ','Loatuicama          ',NULL,NULL,NULL,0),(305,'2017-11-20 00:00:00','2017-11-26 00:00:00',10831,'Apete               ','Ilimotama           ',NULL,NULL,NULL,0),(306,'2017-11-20 00:00:00','2017-11-26 00:00:00',10833,'Jone                ','Waitaiti            ',NULL,NULL,NULL,0),(307,'2017-11-20 00:00:00','2017-11-26 00:00:00',10835,'Sereana             ','Laqere              ',NULL,NULL,NULL,0),(308,'2017-11-20 00:00:00','2017-11-26 00:00:00',10843,'Aporosa             ','Waimila             ',NULL,NULL,NULL,0),(309,'2017-11-20 00:00:00','2017-11-26 00:00:00',10845,'Seremaia','Baikeinuku',NULL,NULL,NULL,0),(310,'2017-11-20 00:00:00','2017-11-26 00:00:00',10850,'Amelia              ','Nino                ',NULL,NULL,NULL,0),(311,'2017-11-20 00:00:00','2017-11-26 00:00:00',10856,'Eleni               ','Vuniwai             ',NULL,NULL,NULL,0),(312,'2017-11-20 00:00:00','2017-11-26 00:00:00',10877,'Lemeki              ','Lesivou             ',NULL,NULL,NULL,0),(313,'2017-11-20 00:00:00','2017-11-26 00:00:00',10885,'Semi                ','Titoko              ',NULL,NULL,NULL,0),(314,'2017-11-20 00:00:00','2017-11-26 00:00:00',10887,'Semesa              ','Vulaono             ',NULL,NULL,NULL,0),(315,'2017-11-20 00:00:00','2017-11-26 00:00:00',10903,'Aleveo              ','Kalokalodromu       ',NULL,NULL,NULL,0),(316,'2017-11-20 00:00:00','2017-11-26 00:00:00',10905,'Samson              ','Wilson              ',NULL,NULL,NULL,0),(317,'2017-11-20 00:00:00','2017-11-26 00:00:00',10914,'Vuli                ','Biuvanua            ',NULL,NULL,NULL,0),(318,'2017-11-20 00:00:00','2017-11-26 00:00:00',10920,'Kilimo              ','Tumaqala            ',NULL,NULL,NULL,0),(319,'2017-11-20 00:00:00','2017-11-26 00:00:00',10921,'Anare               ','Rokovasili          ',NULL,NULL,NULL,0),(320,'2017-11-20 00:00:00','2017-11-26 00:00:00',10922,'Kuliniasi           ','Loco                ',NULL,NULL,NULL,0),(321,'2017-11-20 00:00:00','2017-11-26 00:00:00',10925,'Samisoni            ','Koroitamudu         ',NULL,NULL,NULL,0),(322,'2017-11-20 00:00:00','2017-11-26 00:00:00',10926,'Navitalai           ','Qerea               ',NULL,NULL,NULL,0),(323,'2017-11-20 00:00:00','2017-11-26 00:00:00',10929,'Elia','Koroi',NULL,NULL,NULL,0),(324,'2017-11-20 00:00:00','2017-11-26 00:00:00',10932,'Anthony             ','Fong                ',NULL,NULL,NULL,0),(325,'2017-11-20 00:00:00','2017-11-26 00:00:00',10934,'Viema               ','Cerecerevakalagi    ',NULL,NULL,NULL,0),(326,'2017-11-20 00:00:00','2017-11-26 00:00:00',10936,'Ilai                ','Naborisi            ',NULL,NULL,NULL,0),(327,'2017-11-20 00:00:00','2017-11-26 00:00:00',10937,'Manoa               ','Masi                ',NULL,NULL,NULL,0),(328,'2017-11-20 00:00:00','2017-11-26 00:00:00',10940,'Iliesa','Vosarogoci',NULL,NULL,NULL,0),(329,'2017-11-20 00:00:00','2017-11-26 00:00:00',10949,'Tadeo               ','Rasova              ',NULL,NULL,NULL,0),(330,'2017-11-20 00:00:00','2017-11-26 00:00:00',10950,'Salanieta           ','Marama              ',NULL,NULL,NULL,0),(331,'2017-11-20 00:00:00','2017-11-26 00:00:00',10955,'Anasa               ','Moroliti            ',NULL,NULL,NULL,0),(332,'2017-11-20 00:00:00','2017-11-26 00:00:00',10958,'Jone                ','Malimali            ',NULL,NULL,NULL,0),(333,'2017-11-20 00:00:00','2017-11-26 00:00:00',10962,'Uraia               ','Masivou             ',NULL,NULL,NULL,0),(334,'2017-11-20 00:00:00','2017-11-26 00:00:00',10964,'Samu                ','Tagisuru            ',NULL,NULL,NULL,0),(335,'2017-11-20 00:00:00','2017-11-26 00:00:00',10966,'Jimi                ','Nakai               ',NULL,NULL,NULL,0),(336,'2017-11-20 00:00:00','2017-11-26 00:00:00',10969,'Mitieli             ','Vaivono             ',NULL,NULL,NULL,0),(337,'2017-11-20 00:00:00','2017-11-26 00:00:00',10970,'Sakeo','Tamana',NULL,NULL,NULL,0),(338,'2017-11-20 00:00:00','2017-11-26 00:00:00',10974,'Nacanieli           ','Veremalua           ',NULL,NULL,NULL,0),(339,'2017-11-20 00:00:00','2017-11-26 00:00:00',10975,'Ieni','Mausio',NULL,NULL,NULL,0),(340,'2017-11-20 00:00:00','2017-11-26 00:00:00',10984,'Robin               ','Waqa                ',NULL,NULL,NULL,0),(341,'2017-11-20 00:00:00','2017-11-26 00:00:00',10988,'Epeli','Seniloli',NULL,NULL,NULL,0),(342,'2017-11-20 00:00:00','2017-11-26 00:00:00',10990,'Tevita','Bia',NULL,NULL,NULL,0),(343,'2017-11-20 00:00:00','2017-11-26 00:00:00',10992,'Ravuwame            ','Lasilevu            ',NULL,NULL,NULL,0),(344,'2017-11-20 00:00:00','2017-11-26 00:00:00',10998,'Vilikesa            ','Lagabula            ',NULL,NULL,NULL,0),(345,'2017-11-20 00:00:00','2017-11-26 00:00:00',10999,'Rusiate             ','Tudravu             ',NULL,NULL,NULL,0),(346,'2017-11-20 00:00:00','2017-11-26 00:00:00',11003,'Paul                ','Tavo                ',NULL,NULL,NULL,0),(347,'2017-11-20 00:00:00','2017-11-26 00:00:00',11006,'Kelera','Marama',NULL,NULL,NULL,0),(348,'2017-11-20 00:00:00','2017-11-26 00:00:00',11010,'Pauliasi            ','Vosadrau            ',NULL,NULL,NULL,0),(349,'2017-11-20 00:00:00','2017-11-26 00:00:00',11012,'Aselai              ','Nai                 ',NULL,NULL,NULL,0),(350,'2017-11-20 00:00:00','2017-11-26 00:00:00',11015,'Josese              ','Rogo                ',NULL,NULL,NULL,0),(351,'2017-11-20 00:00:00','2017-11-26 00:00:00',11017,'Emi                 ','Tagicimilika        ',NULL,NULL,NULL,0),(352,'2017-11-20 00:00:00','2017-11-26 00:00:00',11018,'Josaia              ','G.                  ',NULL,NULL,NULL,0),(353,'2017-11-20 00:00:00','2017-11-26 00:00:00',11022,'Ro                  ','Milinia             ',NULL,NULL,NULL,0),(354,'2017-11-20 00:00:00','2017-11-26 00:00:00',11026,'Petero','Nauqe',NULL,NULL,NULL,0),(355,'2017-11-20 00:00:00','2017-11-26 00:00:00',11030,'Samuela             ','Sereki              ',NULL,NULL,NULL,0),(356,'2017-11-20 00:00:00','2017-11-26 00:00:00',11031,'Keresi              ','Resina              ',NULL,NULL,NULL,0),(357,'2017-11-20 00:00:00','2017-11-26 00:00:00',11036,'Waisake             ','Vunibobo            ',NULL,NULL,NULL,0),(358,'2017-11-20 00:00:00','2017-11-26 00:00:00',11039,'Usaia               ','Vunivalu            ',NULL,NULL,NULL,0),(359,'2017-11-20 00:00:00','2017-11-26 00:00:00',11043,'Viliame             ','Vikila              ',NULL,NULL,NULL,0),(360,'2017-11-20 00:00:00','2017-11-26 00:00:00',11048,'Seini               ','Ranadi              ',NULL,NULL,NULL,0),(361,'2017-11-20 00:00:00','2017-11-26 00:00:00',11050,'Inoke               ','Veikoso             ',NULL,NULL,NULL,0),(362,'2017-11-20 00:00:00','2017-11-26 00:00:00',11052,'Uraia','Logani',NULL,NULL,NULL,0),(363,'2017-11-20 00:00:00','2017-11-26 00:00:00',11055,'Eremasi','Laqere',NULL,NULL,NULL,0),(364,'2017-11-20 00:00:00','2017-11-26 00:00:00',11072,'Nicholson           ','Simmons             ',NULL,NULL,NULL,0),(365,'2017-11-20 00:00:00','2017-11-26 00:00:00',11075,'Sambo               ','Poy                 ',NULL,NULL,NULL,0),(366,'2017-11-20 00:00:00','2017-11-26 00:00:00',11076,'Malakai             ','Vueti               ',NULL,NULL,NULL,0),(367,'2017-11-20 00:00:00','2017-11-26 00:00:00',11080,'Filipo              ','Lesavua             ',NULL,NULL,NULL,0),(368,'2017-11-20 00:00:00','2017-11-26 00:00:00',11089,'Savenaca            ','Wakaya              ',NULL,NULL,NULL,0),(369,'2017-11-20 00:00:00','2017-11-26 00:00:00',11091,'Semisi','Matakibau',NULL,NULL,NULL,0),(370,'2017-11-20 00:00:00','2017-11-26 00:00:00',11096,'Aminiasi            ','Ruve                ',NULL,NULL,NULL,0),(371,'2017-11-20 00:00:00','2017-11-26 00:00:00',11102,'Sevanaia','Tabua',NULL,NULL,NULL,0),(372,'2017-11-20 00:00:00','2017-11-26 00:00:00',11107,'Remeo               ','Rabawara            ',NULL,NULL,NULL,0),(373,'2017-11-20 00:00:00','2017-11-26 00:00:00',11113,'Saula','Naiqoqo',NULL,NULL,NULL,0),(374,'2017-11-20 00:00:00','2017-11-26 00:00:00',11115,'Josateki            ','Tikomailepanoni     ',NULL,NULL,NULL,0),(375,'2017-11-20 00:00:00','2017-11-26 00:00:00',11117,'Solomoni','Sigakalele',NULL,NULL,NULL,0),(376,'2017-11-20 00:00:00','2017-11-26 00:00:00',11121,'Ananth              ','Narayan             ',NULL,NULL,NULL,0),(377,'2017-11-20 00:00:00','2017-11-26 00:00:00',11126,'Jope                ','Lido                ',NULL,NULL,NULL,0),(378,'2017-11-20 00:00:00','2017-11-26 00:00:00',11127,'Cama                ','Yagiruarua          ',NULL,NULL,NULL,0),(379,'2017-11-20 00:00:00','2017-11-26 00:00:00',11136,'Alfred              ','Fatiaki             ',NULL,NULL,NULL,0),(380,'2017-11-20 00:00:00','2017-11-26 00:00:00',11149,'Metuisela           ','Ratu                ',NULL,NULL,NULL,0),(381,'2017-11-20 00:00:00','2017-11-26 00:00:00',11151,'Kaliopeti           ','Laveua              ',NULL,NULL,NULL,0),(382,'2017-11-20 00:00:00','2017-11-26 00:00:00',11155,'Volau               ','Luveniyali          ',NULL,NULL,NULL,0),(383,'2017-11-20 00:00:00','2017-11-26 00:00:00',11161,'Mesake','Waqa',NULL,NULL,NULL,0),(384,'2017-11-20 00:00:00','2017-11-26 00:00:00',11163,'Tulia               ','Gasai               ',NULL,NULL,NULL,0),(385,'2017-11-20 00:00:00','2017-11-26 00:00:00',11165,'Inoke               ','Leweni              ',NULL,NULL,NULL,0),(386,'2017-11-20 00:00:00','2017-11-26 00:00:00',11170,'Osea                ','Tawake              ',NULL,NULL,NULL,0),(387,'2017-11-20 00:00:00','2017-11-26 00:00:00',11172,'Penaia              ','Nawaqabuli          ',NULL,NULL,NULL,0),(388,'2017-11-20 00:00:00','2017-11-26 00:00:00',11174,'Josaia              ','Apenisa             ',NULL,NULL,NULL,0),(389,'2017-11-20 00:00:00','2017-11-26 00:00:00',11178,'Laisenia            ','Gonevakarua         ',NULL,NULL,NULL,0),(390,'2017-11-20 00:00:00','2017-11-26 00:00:00',11181,'Asenaca             ','Yalosavu            ',NULL,NULL,NULL,0),(391,'2017-11-20 00:00:00','2017-11-26 00:00:00',11188,'Sainivatia          ','Seru                ',NULL,NULL,NULL,0),(392,'2017-11-20 00:00:00','2017-11-26 00:00:00',11190,'Rusiate             ','Baikeitole          ',NULL,NULL,NULL,0),(393,'2017-11-20 00:00:00','2017-11-26 00:00:00',11194,'Nemani              ','Buimaiwai           ',NULL,NULL,NULL,0),(394,'2017-11-20 00:00:00','2017-11-26 00:00:00',11197,'Fipe                ','Radininayau         ',NULL,NULL,NULL,0),(395,'2017-11-20 00:00:00','2017-11-26 00:00:00',11201,'Sisa','Ramanumanu',NULL,NULL,NULL,0),(396,'2017-11-20 00:00:00','2017-11-26 00:00:00',11207,'Viliame             ','Nabou               ',NULL,NULL,NULL,0),(397,'2017-11-20 00:00:00','2017-11-26 00:00:00',11213,'Ivamere             ','Vocea               ',NULL,NULL,NULL,0),(398,'2017-11-20 00:00:00','2017-11-26 00:00:00',11222,'Toma                ','Veragteamaoi        ',NULL,NULL,NULL,0),(399,'2017-11-20 00:00:00','2017-11-26 00:00:00',11225,'Eneriko             ','Ratuloaloa          ',NULL,NULL,NULL,0),(400,'2017-11-20 00:00:00','2017-11-26 00:00:00',11226,'Sitiveni            ','Lesumaisuva         ',NULL,NULL,NULL,0),(401,'2017-11-20 00:00:00','2017-11-26 00:00:00',11230,'Vilisita            ','Naitivitivi         ',NULL,NULL,NULL,0),(402,'2017-11-20 00:00:00','2017-11-26 00:00:00',11231,'Simione             ','Baba                ',NULL,NULL,NULL,0),(403,'2017-11-20 00:00:00','2017-11-26 00:00:00',11232,'Luisa               ','Tuisovivi           ',NULL,NULL,NULL,0),(404,'2017-11-20 00:00:00','2017-11-26 00:00:00',11234,'Ramzan              ','Rafiq               ',NULL,NULL,NULL,0),(405,'2017-11-20 00:00:00','2017-11-26 00:00:00',11235,'Kolinio             ','Masi                ',NULL,NULL,NULL,0),(406,'2017-11-20 00:00:00','2017-11-26 00:00:00',11238,'Esava               ','Cimo                ',NULL,NULL,NULL,0),(407,'2017-11-20 00:00:00','2017-11-26 00:00:00',11242,'Panipasa            ','Crocker             ',NULL,NULL,NULL,0),(408,'2017-11-20 00:00:00','2017-11-26 00:00:00',11246,'Taniela','Kepa',NULL,NULL,NULL,0),(409,'2017-11-20 00:00:00','2017-11-26 00:00:00',11254,'Epi','Kurunawai',NULL,NULL,NULL,0),(410,'2017-11-20 00:00:00','2017-11-26 00:00:00',11257,'Inoke               ','Kasakilau           ',NULL,NULL,NULL,0),(411,'2017-11-20 00:00:00','2017-11-26 00:00:00',11260,'Bulou','Sisilia',NULL,NULL,NULL,0),(412,'2017-11-20 00:00:00','2017-11-26 00:00:00',11263,'Elenoa              ','Dalawa              ',NULL,NULL,NULL,0),(413,'2017-11-20 00:00:00','2017-11-26 00:00:00',11268,'Torika              ','Salusalu            ',NULL,NULL,NULL,0),(414,'2017-11-20 00:00:00','2017-11-26 00:00:00',11269,'Merewalesi','U.',NULL,NULL,NULL,0),(415,'2017-11-20 00:00:00','2017-11-26 00:00:00',11272,'Viliame','Usabiu',NULL,NULL,NULL,0),(416,'2017-11-20 00:00:00','2017-11-26 00:00:00',11277,'Ilaitia','Nasevu',NULL,NULL,NULL,0),(417,'2017-11-20 00:00:00','2017-11-26 00:00:00',11280,'Mereani             ','K.Kanasalusalu      ',NULL,NULL,NULL,0),(418,'2017-11-20 00:00:00','2017-11-26 00:00:00',11283,'Qaseaono            ','Kanavakatini        ',NULL,NULL,NULL,0),(419,'2017-11-20 00:00:00','2017-11-26 00:00:00',11284,'Ilaitia             ','Jitoko              ',NULL,NULL,NULL,0),(420,'2017-11-20 00:00:00','2017-11-26 00:00:00',11285,'Joji                ','Robo                ',NULL,NULL,NULL,0),(421,'2017-11-20 00:00:00','2017-11-26 00:00:00',11296,'Wesele              ','Raitavuwai          ',NULL,NULL,NULL,0),(422,'2017-11-20 00:00:00','2017-11-26 00:00:00',11298,'Tevita','Biaudamu',NULL,NULL,NULL,0),(423,'2017-11-20 00:00:00','2017-11-26 00:00:00',11299,'Solomone            ','Savu                ',NULL,NULL,NULL,0),(424,'2017-11-20 00:00:00','2017-11-26 00:00:00',11303,'Tevita','Dakuiboca',NULL,NULL,NULL,0),(425,'2017-11-20 00:00:00','2017-11-26 00:00:00',11305,'Steven','Kataki',NULL,NULL,NULL,0),(426,'2017-11-20 00:00:00','2017-11-26 00:00:00',11311,'Mitieli','Kuruduadua',NULL,NULL,NULL,0),(427,'2017-11-20 00:00:00','2017-11-26 00:00:00',11312,'Ilisoni','Ravutuba',NULL,NULL,NULL,0),(428,'2017-11-20 00:00:00','2017-11-26 00:00:00',11315,'Kalisito            ','Sauboro             ',NULL,NULL,NULL,0),(429,'2017-11-20 00:00:00','2017-11-26 00:00:00',11316,'Olsen               ','Seforana            ',NULL,NULL,NULL,0),(430,'2017-11-20 00:00:00','2017-11-26 00:00:00',11319,'Akuila','Koroimata',NULL,NULL,NULL,0),(431,'2017-11-20 00:00:00','2017-11-26 00:00:00',11320,'Jona','Kurukuru',NULL,NULL,NULL,0),(432,'2017-11-20 00:00:00','2017-11-26 00:00:00',11322,'Seremaia            ','Nikola              ',NULL,NULL,NULL,0),(433,'2017-11-20 00:00:00','2017-11-26 00:00:00',11324,'Adriano             ','Bukavulo            ',NULL,NULL,NULL,0),(434,'2017-11-20 00:00:00','2017-11-26 00:00:00',11327,'Ilimotama','Waqa',NULL,NULL,NULL,0),(435,'2017-11-20 00:00:00','2017-11-26 00:00:00',11331,'Ravai               ','Fesaitu             ',NULL,NULL,NULL,0),(436,'2017-11-20 00:00:00','2017-11-26 00:00:00',11337,'Petaia              ','T.                  ',NULL,NULL,NULL,0),(437,'2017-11-20 00:00:00','2017-11-26 00:00:00',11352,'Sireli              ','Rogorogoivalu       ',NULL,NULL,NULL,0),(438,'2017-11-20 00:00:00','2017-11-26 00:00:00',11354,'Anare               ','Nacokula            ',NULL,NULL,NULL,0),(439,'2017-11-20 00:00:00','2017-11-26 00:00:00',11355,'Isaia               ','Cavalevu            ',NULL,NULL,NULL,0),(440,'2017-11-20 00:00:00','2017-11-26 00:00:00',11357,'Lasaro              ','Matakibau           ',NULL,NULL,NULL,0),(441,'2017-11-20 00:00:00','2017-11-26 00:00:00',11360,'Akuila','Roko',NULL,NULL,NULL,0),(442,'2017-11-20 00:00:00','2017-11-26 00:00:00',11362,'Sitiveni','Natui',NULL,NULL,NULL,0),(443,'2017-11-20 00:00:00','2017-11-26 00:00:00',11371,'Losana              ','Tinaiavugu          ',NULL,NULL,NULL,0),(444,'2017-11-20 00:00:00','2017-11-26 00:00:00',11372,'Aporosa','Raibuli',NULL,NULL,NULL,0),(445,'2017-11-20 00:00:00','2017-11-26 00:00:00',11381,'Josefa','Waibuca',NULL,NULL,NULL,0),(446,'2017-11-20 00:00:00','2017-11-26 00:00:00',11383,'Saula               ','Tuinukumoto         ',NULL,NULL,NULL,0),(447,'2017-11-20 00:00:00','2017-11-26 00:00:00',11386,'Laisani             ','Leba                ',NULL,NULL,NULL,0),(448,'2017-11-20 00:00:00','2017-11-26 00:00:00',11387,'Solomone            ','Baikeibau           ',NULL,NULL,NULL,0),(449,'2017-11-20 00:00:00','2017-11-26 00:00:00',11389,'Isimeli             ','S.                  ',NULL,NULL,NULL,0),(450,'2017-11-20 00:00:00','2017-11-26 00:00:00',11391,'Rusiate             ','S.                  ',NULL,NULL,NULL,0),(451,'2017-11-20 00:00:00','2017-11-26 00:00:00',11392,'Stanley             ','Balekolo            ',NULL,NULL,NULL,0),(452,'2017-11-20 00:00:00','2017-11-26 00:00:00',11393,'Naivasi             ','Ledua               ',NULL,NULL,NULL,0),(453,'2017-11-20 00:00:00','2017-11-26 00:00:00',11394,'Inoke               ','Rokotolu            ',NULL,NULL,NULL,0),(454,'2017-11-20 00:00:00','2017-11-26 00:00:00',11395,'Ilaitia             ','C.                  ',NULL,NULL,NULL,0),(455,'2017-11-20 00:00:00','2017-11-26 00:00:00',11396,'Rosa                ','Rarawa              ',NULL,NULL,NULL,0),(456,'2017-11-20 00:00:00','2017-11-26 00:00:00',11397,'Eparama             ','Nanuqa              ',NULL,NULL,NULL,0),(457,'2017-11-20 00:00:00','2017-11-26 00:00:00',11398,'Ashok               ','Kumar               ',NULL,NULL,NULL,0),(458,'2017-11-20 00:00:00','2017-11-26 00:00:00',11399,'Tevita','Rauga',NULL,NULL,NULL,0),(459,'2017-11-20 00:00:00','2017-11-26 00:00:00',11400,'Malka               ','Seakar              ',NULL,NULL,NULL,0),(460,'2017-11-20 00:00:00','2017-11-26 00:00:00',11402,'Authur','Small',NULL,NULL,NULL,0),(461,'2017-11-20 00:00:00','2017-11-26 00:00:00',11403,'Eneriko','Namarua',NULL,NULL,NULL,0),(462,'2017-11-20 00:00:00','2017-11-26 00:00:00',11405,'Inoke               ','Vunisa              ',NULL,NULL,NULL,0),(463,'2017-11-20 00:00:00','2017-11-26 00:00:00',11406,'Emosi','Baleisuva',NULL,NULL,NULL,0),(464,'2017-11-20 00:00:00','2017-11-26 00:00:00',11408,'Sunia               ','Damunalagi          ',NULL,NULL,NULL,0),(465,'2017-11-20 00:00:00','2017-11-26 00:00:00',11409,'Aisea               ','Jiare               ',NULL,NULL,NULL,0),(466,'2017-11-20 00:00:00','2017-11-26 00:00:00',11411,'Keni                ','Nayato              ',NULL,NULL,NULL,0),(467,'2017-11-20 00:00:00','2017-11-26 00:00:00',11414,'Isimeli             ','Nalomaca            ',NULL,NULL,NULL,0),(468,'2017-11-20 00:00:00','2017-11-26 00:00:00',11415,'Jone','Dualase',NULL,NULL,NULL,0),(469,'2017-11-20 00:00:00','2017-11-26 00:00:00',11417,'Ledua               ','S                   ',NULL,NULL,NULL,0),(470,'2017-11-20 00:00:00','2017-11-26 00:00:00',11419,'Elisha','Newman',NULL,NULL,NULL,0),(471,'2017-11-20 00:00:00','2017-11-26 00:00:00',11424,'Maciu               ','Suguturaga          ',NULL,NULL,NULL,0),(472,'2017-11-20 00:00:00','2017-11-26 00:00:00',11428,'Akuila','Tuisaliwa',NULL,NULL,NULL,0),(473,'2017-11-20 00:00:00','2017-11-26 00:00:00',11429,'Sairusi','Ratusega',NULL,NULL,NULL,0),(474,'2017-11-20 00:00:00','2017-11-26 00:00:00',11433,'Savaira             ','Wati                ',NULL,NULL,NULL,0),(475,'2017-11-20 00:00:00','2017-11-26 00:00:00',11435,'Peni                ','Tuilawaki           ',NULL,NULL,NULL,0),(476,'2017-11-20 00:00:00','2017-11-26 00:00:00',11436,'Taniela             ','Ratawa              ',NULL,NULL,NULL,0),(477,'2017-11-20 00:00:00','2017-11-26 00:00:00',11437,'Iliesa              ','Vosarogo            ',NULL,NULL,NULL,0),(478,'2017-11-20 00:00:00','2017-11-26 00:00:00',11438,'Sokovavalagi        ','Buluvakaca          ',NULL,NULL,NULL,0),(479,'2017-11-20 00:00:00','2017-11-26 00:00:00',11439,'Iosefo              ','Nadaku              ',NULL,NULL,NULL,0),(480,'2017-11-20 00:00:00','2017-11-26 00:00:00',11441,'Lario','Salatovou',NULL,NULL,NULL,0),(481,'2017-11-20 00:00:00','2017-11-26 00:00:00',11447,'Katarina            ','Seru                ',NULL,NULL,NULL,0),(482,'2017-11-20 00:00:00','2017-11-26 00:00:00',11448,'Alani','Nabuta',NULL,NULL,NULL,0),(483,'2017-11-20 00:00:00','2017-11-26 00:00:00',11450,'Sailosi             ','Ratu                ',NULL,NULL,NULL,0),(484,'2017-11-20 00:00:00','2017-11-26 00:00:00',11451,'Nemani','Qaniucu',NULL,NULL,NULL,0),(485,'2017-11-20 00:00:00','2017-11-26 00:00:00',11452,'Makitalena          ','Lenisavou           ',NULL,NULL,NULL,0),(486,'2017-11-20 00:00:00','2017-11-26 00:00:00',11454,'Jope                ','Ratu                ',NULL,NULL,NULL,0),(487,'2017-11-20 00:00:00','2017-11-26 00:00:00',11456,'Mosese              ','Cama                ',NULL,NULL,NULL,0),(488,'2017-11-20 00:00:00','2017-11-26 00:00:00',11457,'Saiyad              ','Ali                 ',NULL,NULL,NULL,0),(489,'2017-11-20 00:00:00','2017-11-26 00:00:00',11458,'Adi','Salote',NULL,NULL,NULL,0),(490,'2017-11-20 00:00:00','2017-11-26 00:00:00',11460,'Adriu','Vuibasoga',NULL,NULL,NULL,0),(491,'2017-11-20 00:00:00','2017-11-26 00:00:00',11461,'Samisoni            ','Vasukiwai           ',NULL,NULL,NULL,0),(492,'2017-11-20 00:00:00','2017-11-26 00:00:00',11462,'Laitia              ','Tuitubou            ',NULL,NULL,NULL,0),(493,'2017-11-20 00:00:00','2017-11-26 00:00:00',11465,'Eroni               ','Nasimasima          ',NULL,NULL,NULL,0),(494,'2017-11-20 00:00:00','2017-11-26 00:00:00',11470,'Asaeli              ','Rovanalevu          ',NULL,NULL,NULL,0),(495,'2017-11-20 00:00:00','2017-11-26 00:00:00',11471,'Paulo','Nadamo',NULL,NULL,NULL,0),(496,'2017-11-20 00:00:00','2017-11-26 00:00:00',11472,'Kelera              ','Tinailakeba         ',NULL,NULL,NULL,0),(497,'2017-11-20 00:00:00','2017-11-26 00:00:00',11473,'Siteri              ','Frances             ',NULL,NULL,NULL,0),(498,'2017-11-20 00:00:00','2017-11-26 00:00:00',11474,'Iowane              ','Koroitukana         ',NULL,NULL,NULL,0),(499,'2017-11-20 00:00:00','2017-11-26 00:00:00',11477,'Joeli               ','T.                  ',NULL,NULL,NULL,0),(500,'2017-11-20 00:00:00','2017-11-26 00:00:00',11486,'Sekove              ','Qaliso              ',NULL,NULL,NULL,0),(501,'2017-11-20 00:00:00','2017-11-26 00:00:00',11487,'Vineh','Parkash',NULL,NULL,NULL,0),(502,'2017-11-20 00:00:00','2017-11-26 00:00:00',11488,'Vuli                ','Kelepi              ',NULL,NULL,NULL,0),(503,'2017-11-20 00:00:00','2017-11-26 00:00:00',11503,'Vosabeci','Cati',NULL,NULL,NULL,0),(504,'2017-11-20 00:00:00','2017-11-26 00:00:00',11504,'Wame                ','AhSing              ',NULL,NULL,NULL,0),(505,'2017-11-20 00:00:00','2017-11-26 00:00:00',11506,'Alumeci             ','Ditekuru            ',NULL,NULL,NULL,0),(506,'2017-11-20 00:00:00','2017-11-26 00:00:00',11508,'Nemani              ','Jnr                 ',NULL,NULL,NULL,0),(507,'2017-11-20 00:00:00','2017-11-26 00:00:00',11510,'Maikali             ','Vuloko              ',NULL,NULL,NULL,0),(508,'2017-11-20 00:00:00','2017-11-26 00:00:00',11516,'Mosese              ','Finau               ',NULL,NULL,NULL,0),(509,'2017-11-20 00:00:00','2017-11-26 00:00:00',11517,'Beniamino           ','Tuvutau             ',NULL,NULL,NULL,0),(510,'2017-11-20 00:00:00','2017-11-26 00:00:00',11520,'Viliame','Pailate',NULL,NULL,NULL,0),(511,'2017-11-20 00:00:00','2017-11-26 00:00:00',11523,'Solomone','Tubou',NULL,NULL,NULL,0),(512,'2017-11-20 00:00:00','2017-11-26 00:00:00',11524,'Venasio','N.',NULL,NULL,NULL,0),(513,'2017-11-20 00:00:00','2017-11-26 00:00:00',11525,'Karalo','Tamanicagi',NULL,NULL,NULL,0),(514,'2017-11-20 00:00:00','2017-11-26 00:00:00',11526,'Sakaraia            ','Korotini            ',NULL,NULL,NULL,0),(515,'2017-11-20 00:00:00','2017-11-26 00:00:00',11528,'Senirusi','Rauqe',NULL,NULL,NULL,0),(516,'2017-11-20 00:00:00','2017-11-26 00:00:00',11529,'Aselemo             ','Limavai             ',NULL,NULL,NULL,0),(517,'2017-11-20 00:00:00','2017-11-26 00:00:00',11530,'Ratu                ','Kavaia              ',NULL,NULL,NULL,0),(518,'2017-11-20 00:00:00','2017-11-26 00:00:00',11531,'Aloisio','Rauto',NULL,NULL,NULL,0),(519,'2017-11-20 00:00:00','2017-11-26 00:00:00',11532,'Suliano             ','Kalivati            ',NULL,NULL,NULL,0),(520,'2017-11-20 00:00:00','2017-11-26 00:00:00',11534,'Tevita              ','Salasalavonu        ',NULL,NULL,NULL,0),(521,'2017-11-20 00:00:00','2017-11-26 00:00:00',11536,'Kemueli             ','Bai                 ',NULL,NULL,NULL,0),(522,'2017-11-20 00:00:00','2017-11-26 00:00:00',11537,'Savike              ','Raki                ',NULL,NULL,NULL,0),(523,'2017-11-20 00:00:00','2017-11-26 00:00:00',11538,'Saimone             ','Bogi                ',NULL,NULL,NULL,0),(524,'2017-11-20 00:00:00','2017-11-26 00:00:00',11540,'Nemani              ','Cakausese           ',NULL,NULL,NULL,0),(525,'2017-11-20 00:00:00','2017-11-26 00:00:00',11544,'Cama                ','Raivola             ',NULL,NULL,NULL,0),(526,'2017-11-20 00:00:00','2017-11-26 00:00:00',11545,'Eremodo             ','Tuni                ',NULL,NULL,NULL,0),(527,'2017-11-20 00:00:00','2017-11-26 00:00:00',11546,'Viliame             ','Bolea               ',NULL,NULL,NULL,0),(528,'2017-11-20 00:00:00','2017-11-26 00:00:00',11548,'Amenatave','Raicebe',NULL,NULL,NULL,0),(529,'2017-11-20 00:00:00','2017-11-26 00:00:00',11549,'Mosese              ','Toroca              ',NULL,NULL,NULL,0),(530,'2017-11-20 00:00:00','2017-11-26 00:00:00',11553,'Amani               ','Tagi                ',NULL,NULL,NULL,0),(531,'2017-11-20 00:00:00','2017-11-26 00:00:00',11555,'Mosese              ','Rokotuiloma         ',NULL,NULL,NULL,0),(532,'2017-11-20 00:00:00','2017-11-26 00:00:00',11556,'Eremasi             ','Sukanaisoro         ',NULL,NULL,NULL,0),(533,'2017-11-20 00:00:00','2017-11-26 00:00:00',11559,'Sairusi             ','T.                  ',NULL,NULL,NULL,0),(534,'2017-11-20 00:00:00','2017-11-26 00:00:00',11561,'Isikeli','Naqau',NULL,NULL,NULL,0),(535,'2017-11-20 00:00:00','2017-11-26 00:00:00',11562,'Alikisada           ','Naisaboca           ',NULL,NULL,NULL,0),(536,'2017-11-20 00:00:00','2017-11-26 00:00:00',11564,'Elia                ','Lomani              ',NULL,NULL,NULL,0),(537,'2017-11-20 00:00:00','2017-11-26 00:00:00',11567,'Usaia               ','Masuwale            ',NULL,NULL,NULL,0),(538,'2017-11-20 00:00:00','2017-11-26 00:00:00',11568,'Vereniki','Vunibola',NULL,NULL,NULL,0),(539,'2017-11-20 00:00:00','2017-11-26 00:00:00',11571,'Anare               ','T.Koroisamanunu     ',NULL,NULL,NULL,0),(540,'2017-11-20 00:00:00','2017-11-26 00:00:00',11572,'Simeli              ','Cama                ',NULL,NULL,NULL,0),(541,'2017-11-20 00:00:00','2017-11-26 00:00:00',11574,'Stanley','Kuwei',NULL,NULL,NULL,0),(542,'2017-11-20 00:00:00','2017-11-26 00:00:00',11575,'Poasa               ','Lauvili             ',NULL,NULL,NULL,0),(543,'2017-11-20 00:00:00','2017-11-26 00:00:00',11577,'William             ','J.W.                ',NULL,NULL,NULL,0),(544,'2017-11-20 00:00:00','2017-11-26 00:00:00',11578,'Taukarawa           ','A.                  ',NULL,NULL,NULL,0),(545,'2017-11-20 00:00:00','2017-11-26 00:00:00',11581,'Watisoni            ','Navunivalu          ',NULL,NULL,NULL,0),(546,'2017-11-20 00:00:00','2017-11-26 00:00:00',11585,'Kolaia              ','Vuloko              ',NULL,NULL,NULL,0),(547,'2017-11-20 00:00:00','2017-11-26 00:00:00',11587,'Iobe','W',NULL,NULL,NULL,0),(548,'2017-11-20 00:00:00','2017-11-26 00:00:00',11590,'Ananaiasa           ','L.                  ',NULL,NULL,NULL,0),(549,'2017-11-20 00:00:00','2017-11-26 00:00:00',11592,'Josua','T.',NULL,NULL,NULL,0),(550,'2017-11-20 00:00:00','2017-11-26 00:00:00',11595,'Sefanaia            ','N.Katonivualiku     ',NULL,NULL,NULL,0),(551,'2017-11-20 00:00:00','2017-11-26 00:00:00',11597,'Nemani','Nabure',NULL,NULL,NULL,0),(552,'2017-11-20 00:00:00','2017-11-26 00:00:00',11598,'James               ','Michael             ',NULL,NULL,NULL,0),(553,'2017-11-20 00:00:00','2017-11-26 00:00:00',11599,'Ratu','Iliesa',NULL,NULL,NULL,0),(554,'2017-11-20 00:00:00','2017-11-26 00:00:00',11601,'Iowane              ','Molikula            ',NULL,NULL,NULL,0),(555,'2017-11-20 00:00:00','2017-11-26 00:00:00',11604,'Isikeli             ','Sade                ',NULL,NULL,NULL,0),(556,'2017-11-20 00:00:00','2017-11-26 00:00:00',11606,'Rakesh              ','Chand               ',NULL,NULL,NULL,0),(557,'2017-11-20 00:00:00','2017-11-26 00:00:00',11613,'Selina              ','W                   ',NULL,NULL,NULL,0),(558,'2017-11-20 00:00:00','2017-11-26 00:00:00',11614,'Asilika             ','Vakacokatabua       ',NULL,NULL,NULL,0),(559,'2017-11-20 00:00:00','2017-11-26 00:00:00',11615,'Sainimili','B',NULL,NULL,NULL,0),(560,'2017-11-20 00:00:00','2017-11-26 00:00:00',11617,'Salasaini           ','Seruvatu            ',NULL,NULL,NULL,0),(561,'2017-11-20 00:00:00','2017-11-26 00:00:00',11618,'Siteri              ','Saisulia            ',NULL,NULL,NULL,0),(562,'2017-11-20 00:00:00','2017-11-26 00:00:00',11619,'John                ','Malek               ',NULL,NULL,NULL,0),(563,'2017-11-20 00:00:00','2017-11-26 00:00:00',11621,'Petero              ','Taukeinikoro        ',NULL,NULL,NULL,0),(564,'2017-11-20 00:00:00','2017-11-26 00:00:00',11622,'Josevata            ','Tuitai              ',NULL,NULL,NULL,0),(565,'2017-11-20 00:00:00','2017-11-26 00:00:00',11624,'Kelemedi            ','Siga                ',NULL,NULL,NULL,0),(566,'2017-11-20 00:00:00','2017-11-26 00:00:00',11625,'Atelina             ','Ranadi              ',NULL,NULL,NULL,0),(567,'2017-11-20 00:00:00','2017-11-26 00:00:00',11626,'Timoci              ','Naulu               ',NULL,NULL,NULL,0),(568,'2017-11-20 00:00:00','2017-11-26 00:00:00',11627,'Sakeo               ','Rokobuli            ',NULL,NULL,NULL,0),(569,'2017-11-20 00:00:00','2017-11-26 00:00:00',11628,'Pita                ','Vugona              ',NULL,NULL,NULL,0),(570,'2017-11-20 00:00:00','2017-11-26 00:00:00',11629,'Qiokata             ','Koroi               ',NULL,NULL,NULL,0),(571,'2017-11-20 00:00:00','2017-11-26 00:00:00',11631,'Ulaiasi             ','Qiovou              ',NULL,NULL,NULL,0),(572,'2017-11-20 00:00:00','2017-11-26 00:00:00',11632,'Tauyasa             ','Savou               ',NULL,NULL,NULL,0),(573,'2017-11-20 00:00:00','2017-11-26 00:00:00',11633,'Esala               ','B                   ',NULL,NULL,NULL,0),(574,'2017-11-20 00:00:00','2017-11-26 00:00:00',11636,'Jemesa              ','Taione              ',NULL,NULL,NULL,0),(575,'2017-11-20 00:00:00','2017-11-26 00:00:00',11637,'Josefa              ','George              ',NULL,NULL,NULL,0),(576,'2017-11-20 00:00:00','2017-11-26 00:00:00',11641,'Alipate             ','Nabogi              ',NULL,NULL,NULL,0),(577,'2017-11-20 00:00:00','2017-11-26 00:00:00',11642,'Etuate              ','Lesikilau           ',NULL,NULL,NULL,0),(578,'2017-11-20 00:00:00','2017-11-26 00:00:00',11643,'Mitieli             ','Ravudolo            ',NULL,NULL,NULL,0),(579,'2017-11-20 00:00:00','2017-11-26 00:00:00',11644,'Metuisela           ','A                   ',NULL,NULL,NULL,0),(580,'2017-11-20 00:00:00','2017-11-26 00:00:00',11645,'Ratu                ','Sefanaia            ',NULL,NULL,NULL,0),(581,'2017-11-20 00:00:00','2017-11-26 00:00:00',11646,'Mereia              ','Rokoba              ',NULL,NULL,NULL,0),(582,'2017-11-20 00:00:00','2017-11-26 00:00:00',11648,'Maria               ','Rosi                ',NULL,NULL,NULL,0),(583,'2017-11-20 00:00:00','2017-11-26 00:00:00',11649,'Cama','Keleinayavutoka',NULL,NULL,NULL,0),(584,'2017-11-20 00:00:00','2017-11-26 00:00:00',11651,'Filimone            ','Rokodali            ',NULL,NULL,NULL,0),(585,'2017-11-20 00:00:00','2017-11-26 00:00:00',11653,'Peni','Delai',NULL,NULL,NULL,0),(586,'2017-11-20 00:00:00','2017-11-26 00:00:00',11654,'Pauliasi','Tabulutu',NULL,NULL,NULL,0),(587,'2017-11-20 00:00:00','2017-11-26 00:00:00',11655,'Luisa               ','Wati                ',NULL,NULL,NULL,0),(588,'2017-11-20 00:00:00','2017-11-26 00:00:00',11657,'Apete               ','Rokotuiwai          ',NULL,NULL,NULL,0),(589,'2017-11-20 00:00:00','2017-11-26 00:00:00',11659,'Maikeli             ','Ratu                ',NULL,NULL,NULL,0),(590,'2017-11-20 00:00:00','2017-11-26 00:00:00',11660,'Mere                ','Kunamuri            ',NULL,NULL,NULL,0),(591,'2017-11-20 00:00:00','2017-11-26 00:00:00',11661,'Emosi               ','Radrodro            ',NULL,NULL,NULL,0),(592,'2017-11-20 00:00:00','2017-11-26 00:00:00',11663,'Vilikesa            ','Tuilevukana         ',NULL,NULL,NULL,0),(593,'2017-11-20 00:00:00','2017-11-26 00:00:00',11664,'Vika                ','Sadole              ',NULL,NULL,NULL,0),(594,'2017-11-20 00:00:00','2017-11-26 00:00:00',11665,'Jotame              ','Seli                ',NULL,NULL,NULL,0),(595,'2017-11-20 00:00:00','2017-11-26 00:00:00',11669,'Meli                ','Cama                ',NULL,NULL,NULL,0),(596,'2017-11-20 00:00:00','2017-11-26 00:00:00',11670,'Vereti              ','Vosailagi           ',NULL,NULL,NULL,0),(597,'2017-11-20 00:00:00','2017-11-26 00:00:00',11671,'Joseva              ','Seutobo             ',NULL,NULL,NULL,0),(598,'2017-11-20 00:00:00','2017-11-26 00:00:00',11674,'Josaia              ','Radaniva            ',NULL,NULL,NULL,0),(599,'2017-11-20 00:00:00','2017-11-26 00:00:00',11675,'Setareki','Rokosaluwai',NULL,NULL,NULL,0),(600,'2017-11-20 00:00:00','2017-11-26 00:00:00',11676,'Peniame             ','Naliva              ',NULL,NULL,NULL,0),(601,'2017-11-20 00:00:00','2017-11-26 00:00:00',11677,'Watisoni','R',NULL,NULL,NULL,0),(602,'2017-11-20 00:00:00','2017-11-26 00:00:00',11680,'Emali               ','Kurulo              ',NULL,NULL,NULL,0),(603,'2017-11-20 00:00:00','2017-11-26 00:00:00',11683,'Isoa                ','Tabutabu            ',NULL,NULL,NULL,0),(604,'2017-11-20 00:00:00','2017-11-26 00:00:00',11684,'Samisoni            ','Tukana              ',NULL,NULL,NULL,0),(605,'2017-11-20 00:00:00','2017-11-26 00:00:00',11685,'Usaia               ','Waqa                ',NULL,NULL,NULL,0),(606,'2017-11-20 00:00:00','2017-11-26 00:00:00',11686,'Judah               ','Pete                ',NULL,NULL,NULL,0),(607,'2017-11-20 00:00:00','2017-11-26 00:00:00',11688,'Serenia             ','D                   ',NULL,NULL,NULL,0),(608,'2017-11-20 00:00:00','2017-11-26 00:00:00',11689,'Taitusi','Komainairukuruku',NULL,NULL,NULL,0),(609,'2017-11-20 00:00:00','2017-11-26 00:00:00',11690,'Senijieli           ','Mira                ',NULL,NULL,NULL,0),(610,'2017-11-20 00:00:00','2017-11-26 00:00:00',11691,'Tomasi','Rakita',NULL,NULL,NULL,0),(611,'2017-11-20 00:00:00','2017-11-26 00:00:00',11692,'Savenaca            ','Waqairatu           ',NULL,NULL,NULL,0),(612,'2017-11-20 00:00:00','2017-11-26 00:00:00',11695,'Penisoni','Naeka',NULL,NULL,NULL,0),(613,'2017-11-20 00:00:00','2017-11-26 00:00:00',11696,'Palu                ','Salusaluivonodra    ',NULL,NULL,NULL,0),(614,'2017-11-20 00:00:00','2017-11-26 00:00:00',11697,'Jese                ','Sovatabua           ',NULL,NULL,NULL,0),(615,'2017-11-20 00:00:00','2017-11-26 00:00:00',11698,'Maryanne            ','Shaw                ',NULL,NULL,NULL,0),(616,'2017-11-20 00:00:00','2017-11-26 00:00:00',11699,'Mesake              ','Moceisuva           ',NULL,NULL,NULL,0),(617,'2017-11-20 00:00:00','2017-11-26 00:00:00',11700,'Onisivoro','Nalawa',NULL,NULL,NULL,0),(618,'2017-11-20 00:00:00','2017-11-26 00:00:00',11701,'Ashil','Kumar',NULL,NULL,NULL,0),(619,'2017-11-20 00:00:00','2017-11-26 00:00:00',11702,'Risiate             ','Tava                ',NULL,NULL,NULL,0),(620,'2017-11-20 00:00:00','2017-11-26 00:00:00',11703,'Sairusi             ','T                   ',NULL,NULL,NULL,0),(621,'2017-11-20 00:00:00','2017-11-26 00:00:00',11704,'Railala             ','Nasi                ',NULL,NULL,NULL,0),(622,'2017-11-20 00:00:00','2017-11-26 00:00:00',11705,'Peter               ','Chong               ',NULL,NULL,NULL,0),(623,'2017-11-20 00:00:00','2017-11-26 00:00:00',11706,'Sairusi             ','Vouvakatini         ',NULL,NULL,NULL,0),(624,'2017-11-20 00:00:00','2017-11-26 00:00:00',11708,'Setareki','Dauvere',NULL,NULL,NULL,0),(625,'2017-11-20 00:00:00','2017-11-26 00:00:00',11709,'Navakayalikula      ','Seniceva            ',NULL,NULL,NULL,0),(626,'2017-11-20 00:00:00','2017-11-26 00:00:00',11710,'Ocami               ','Siaki               ',NULL,NULL,NULL,0),(627,'2017-11-20 00:00:00','2017-11-26 00:00:00',11712,'Maciu               ','Lewewaka            ',NULL,NULL,NULL,0),(628,'2017-11-20 00:00:00','2017-11-26 00:00:00',11715,'Matereti            ','B                   ',NULL,NULL,NULL,0),(629,'2017-11-20 00:00:00','2017-11-26 00:00:00',11716,'Amaan               ','Khan                ',NULL,NULL,NULL,0),(630,'2017-11-20 00:00:00','2017-11-26 00:00:00',11717,'Sailosi             ','Rakulinidogo        ',NULL,NULL,NULL,0),(631,'2017-11-20 00:00:00','2017-11-26 00:00:00',11718,'Semiti              ','Babitu              ',NULL,NULL,NULL,0),(632,'2017-11-20 00:00:00','2017-11-26 00:00:00',11719,'Saula','Taituraga',NULL,NULL,NULL,0),(633,'2017-11-20 00:00:00','2017-11-26 00:00:00',11721,'Timoci              ','Rokomokoti          ',NULL,NULL,NULL,0),(634,'2017-11-20 00:00:00','2017-11-26 00:00:00',11722,'Susana              ','Lewara              ',NULL,NULL,NULL,0),(635,'2017-11-20 00:00:00','2017-11-26 00:00:00',11723,'Anasaini            ','Bui                 ',NULL,NULL,NULL,0),(636,'2017-11-20 00:00:00','2017-11-26 00:00:00',11726,'Maciu               ','Sorenileba          ',NULL,NULL,NULL,0),(637,'2017-11-20 00:00:00','2017-11-26 00:00:00',11727,'Mitieli             ','Caucau              ',NULL,NULL,NULL,0),(638,'2017-11-20 00:00:00','2017-11-26 00:00:00',11728,'Mosese              ','Lave                ',NULL,NULL,NULL,0),(639,'2017-11-20 00:00:00','2017-11-26 00:00:00',11729,'Tomasi              ','Ciqasi              ',NULL,NULL,NULL,0),(640,'2017-11-20 00:00:00','2017-11-26 00:00:00',11730,'Esa                 ','Sikalawa            ',NULL,NULL,NULL,0),(641,'2017-11-20 00:00:00','2017-11-26 00:00:00',11731,'Amena               ','Solibula            ',NULL,NULL,NULL,0),(642,'2017-11-20 00:00:00','2017-11-26 00:00:00',11732,'Noa                 ','Raratabu            ',NULL,NULL,NULL,0),(643,'2017-11-20 00:00:00','2017-11-26 00:00:00',11733,'Firikesa            ','Rigamoto            ',NULL,NULL,NULL,0),(644,'2017-11-20 00:00:00','2017-11-26 00:00:00',11734,'Ratu                ','Emori               ',NULL,NULL,NULL,0),(645,'2017-11-20 00:00:00','2017-11-26 00:00:00',11735,'Apisalome','Naikusa',NULL,NULL,NULL,0),(646,'2017-11-20 00:00:00','2017-11-26 00:00:00',11736,'Meli','Ganilau',NULL,NULL,NULL,0),(647,'2017-11-20 00:00:00','2017-11-26 00:00:00',11737,'Petero              ','Makeleo             ',NULL,NULL,NULL,0),(648,'2017-11-20 00:00:00','2017-11-26 00:00:00',11738,'Tonia','Vosatale',NULL,NULL,NULL,0),(649,'2017-11-20 00:00:00','2017-11-26 00:00:00',11741,'Sokovoli','M',NULL,NULL,NULL,0),(650,'2017-11-20 00:00:00','2017-11-26 00:00:00',11742,'Labereto            ','Antonio             ',NULL,NULL,NULL,0),(651,'2017-11-20 00:00:00','2017-11-26 00:00:00',11744,'Laitia              ','Likudrau            ',NULL,NULL,NULL,0),(652,'2017-11-20 00:00:00','2017-11-26 00:00:00',11745,'Pita                ','Waqalevu            ',NULL,NULL,NULL,0),(653,'2017-11-20 00:00:00','2017-11-26 00:00:00',11746,'Apimeleki','N',NULL,NULL,NULL,0),(654,'2017-11-20 00:00:00','2017-11-26 00:00:00',11747,'Varanisese          ','Aditubuna           ',NULL,NULL,NULL,0),(655,'2017-11-20 00:00:00','2017-11-26 00:00:00',11748,'Adi                 ','Aga                 ',NULL,NULL,NULL,0),(656,'2017-11-20 00:00:00','2017-11-26 00:00:00',11749,'Ana                 ','Buisaru             ',NULL,NULL,NULL,0),(657,'2017-11-20 00:00:00','2017-11-26 00:00:00',11750,'Mereoni             ','Naikini             ',NULL,NULL,NULL,0),(658,'2017-11-20 00:00:00','2017-11-26 00:00:00',11751,'Waisea              ','Rogoyawa            ',NULL,NULL,NULL,0),(659,'2017-11-20 00:00:00','2017-11-26 00:00:00',11752,'Cama                ','Gonevakarua         ',NULL,NULL,NULL,0),(660,'2017-11-20 00:00:00','2017-11-26 00:00:00',11753,'Eremodo','Teki',NULL,NULL,NULL,0),(661,'2017-11-20 00:00:00','2017-11-26 00:00:00',11754,'Lusiana             ','Tinanivalu          ',NULL,NULL,NULL,0),(662,'2017-11-20 00:00:00','2017-11-26 00:00:00',11755,'Kelera              ','Ravaudra            ',NULL,NULL,NULL,0),(663,'2017-11-20 00:00:00','2017-11-26 00:00:00',11756,'Inise               ','Bale                ',NULL,NULL,NULL,0),(664,'2017-11-20 00:00:00','2017-11-26 00:00:00',11757,'Sokoveti','Delana',NULL,NULL,NULL,0),(665,'2017-11-20 00:00:00','2017-11-26 00:00:00',11758,'Waisea              ','Davetawalu          ',NULL,NULL,NULL,0),(666,'2017-11-20 00:00:00','2017-11-26 00:00:00',11759,'Vio                 ','Rakaseta            ',NULL,NULL,NULL,0),(667,'2017-11-20 00:00:00','2017-11-26 00:00:00',11760,'Adi                 ','Losalini            ',NULL,NULL,NULL,0),(668,'2017-11-20 00:00:00','2017-11-26 00:00:00',11761,'Kolinio             ','Rupeni              ',NULL,NULL,NULL,0),(669,'2017-11-20 00:00:00','2017-11-26 00:00:00',11762,'Sowani              ','Qoliqavoka          ',NULL,NULL,NULL,0),(670,'2017-11-20 00:00:00','2017-11-26 00:00:00',11763,'Manoa               ','Uvi                 ',NULL,NULL,NULL,0),(671,'2017-11-20 00:00:00','2017-11-26 00:00:00',11764,'Uraia               ','Utona               ',NULL,NULL,NULL,0),(672,'2017-11-20 00:00:00','2017-11-26 00:00:00',11766,'Eroni','Matanikoroca',NULL,NULL,NULL,0),(673,'2017-11-20 00:00:00','2017-11-26 00:00:00',11767,'Jone','Naitini',NULL,NULL,NULL,0),(674,'2017-11-20 00:00:00','2017-11-26 00:00:00',11768,'Vetaiki             ','Vido                ',NULL,NULL,NULL,0),(675,'2017-11-20 00:00:00','2017-11-26 00:00:00',11769,'Vivita              ','Naulu               ',NULL,NULL,NULL,0),(676,'2017-11-20 00:00:00','2017-11-26 00:00:00',11771,'Kelerayani          ','Tupou               ',NULL,NULL,NULL,0),(677,'2017-11-20 00:00:00','2017-11-26 00:00:00',11772,'Waisea              ','Tutolo              ',NULL,NULL,NULL,0),(678,'2017-11-20 00:00:00','2017-11-26 00:00:00',11773,'Semi                ','Matalau             ',NULL,NULL,NULL,0),(679,'2017-11-20 00:00:00','2017-11-26 00:00:00',11775,'Niko','Komaiyasa',NULL,NULL,NULL,0),(680,'2017-11-20 00:00:00','2017-11-26 00:00:00',11776,'Isoa                ','Tuberi              ',NULL,NULL,NULL,0),(681,'2017-11-20 00:00:00','2017-11-26 00:00:00',11777,'M                   ','Vulicakacakamailabas',NULL,NULL,NULL,0),(682,'2017-11-20 00:00:00','2017-11-26 00:00:00',11779,'Jiosaia             ','Qalotaki            ',NULL,NULL,NULL,0),(683,'2017-11-20 00:00:00','2017-11-26 00:00:00',11780,'Waisikia','Makamaka',NULL,NULL,NULL,0),(684,'2017-11-20 00:00:00','2017-11-26 00:00:00',11782,'Lemeki              ','Tuikubulau          ',NULL,NULL,NULL,0),(685,'2017-11-20 00:00:00','2017-11-26 00:00:00',11783,'Kaminieli           ','Mosarau             ',NULL,NULL,NULL,0),(686,'2017-11-20 00:00:00','2017-11-26 00:00:00',11784,'Maika               ','Daunikena           ',NULL,NULL,NULL,0),(687,'2017-11-20 00:00:00','2017-11-26 00:00:00',11785,'Anaisi              ','Rasiga              ',NULL,NULL,NULL,0),(688,'2017-11-20 00:00:00','2017-11-26 00:00:00',11786,'Filipe              ','Senibua             ',NULL,NULL,NULL,0),(689,'2017-11-20 00:00:00','2017-11-26 00:00:00',11787,'Esita               ','Iruia               ',NULL,NULL,NULL,0),(690,'2017-11-20 00:00:00','2017-11-26 00:00:00',11788,'Kasanita','Keteivalu',NULL,NULL,NULL,0),(691,'2017-11-20 00:00:00','2017-11-26 00:00:00',11789,'Ratu                ','Epeli               ',NULL,NULL,NULL,0),(692,'2017-11-20 00:00:00','2017-11-26 00:00:00',11790,'Isikeli','Seru',NULL,NULL,NULL,0),(693,'2017-11-20 00:00:00','2017-11-26 00:00:00',11791,'Ratu                ','Lasaro              ',NULL,NULL,NULL,0),(694,'2017-11-20 00:00:00','2017-11-26 00:00:00',11792,'Vilimoni            ','Saba                ',NULL,NULL,NULL,0),(695,'2017-11-20 00:00:00','2017-11-26 00:00:00',11793,'Erami               ','Raibe               ',NULL,NULL,NULL,0),(696,'2017-11-20 00:00:00','2017-11-26 00:00:00',11796,'Ana                 ','Vonicagi            ',NULL,NULL,NULL,0),(697,'2017-11-20 00:00:00','2017-11-26 00:00:00',11797,'Viliame             ','R                   ',NULL,NULL,NULL,0),(698,'2017-11-20 00:00:00','2017-11-26 00:00:00',11798,'Rusila              ','Dyer                ',NULL,NULL,NULL,0),(699,'2017-11-20 00:00:00','2017-11-26 00:00:00',11799,'Sakaraia            ','R                   ',NULL,NULL,NULL,0),(700,'2017-11-20 00:00:00','2017-11-26 00:00:00',11801,'Maraia              ','Neli                ',NULL,NULL,NULL,0),(701,'2017-11-20 00:00:00','2017-11-26 00:00:00',11802,'Kavaia              ','Seganabucau         ',NULL,NULL,NULL,0),(702,'2017-11-20 00:00:00','2017-11-26 00:00:00',11805,'Vueti','Sanawa',NULL,NULL,NULL,0),(703,'2017-11-20 00:00:00','2017-11-26 00:00:00',11806,'Kameli              ','Tamani              ',NULL,NULL,NULL,0),(704,'2017-11-20 00:00:00','2017-11-26 00:00:00',11807,'Asivorosi           ','Moimoi              ',NULL,NULL,NULL,0),(705,'2017-11-20 00:00:00','2017-11-26 00:00:00',11808,'Usabula             ','Gonevakarua         ',NULL,NULL,NULL,0),(706,'2017-11-20 00:00:00','2017-11-26 00:00:00',11809,'Petero              ','Matavutuka          ',NULL,NULL,NULL,0),(707,'2017-11-20 00:00:00','2017-11-26 00:00:00',11810,'Salaseini           ','Balavu              ',NULL,NULL,NULL,0),(708,'2017-11-20 00:00:00','2017-11-26 00:00:00',11811,'Ratu                ','Waisea              ',NULL,NULL,NULL,0),(709,'2017-11-20 00:00:00','2017-11-26 00:00:00',11812,'Onisivoro           ','K                   ',NULL,NULL,NULL,0),(710,'2017-11-20 00:00:00','2017-11-26 00:00:00',11814,'Keleni','Dilau',NULL,NULL,NULL,0),(711,'2017-11-20 00:00:00','2017-11-26 00:00:00',11815,'Masilina            ','Reavi               ',NULL,NULL,NULL,0),(712,'2017-11-20 00:00:00','2017-11-26 00:00:00',11816,'Lui                 ','Vasu                ',NULL,NULL,NULL,0),(713,'2017-11-20 00:00:00','2017-11-26 00:00:00',11817,'Kolinio             ','Toro                ',NULL,NULL,NULL,0),(714,'2017-11-20 00:00:00','2017-11-26 00:00:00',11818,'Paulo               ','Tawaketini          ',NULL,NULL,NULL,0),(715,'2017-11-20 00:00:00','2017-11-26 00:00:00',11819,'Viliame             ','Kamikamica          ',NULL,NULL,NULL,0),(716,'2017-11-20 00:00:00','2017-11-26 00:00:00',11820,'Roger               ','Walter              ',NULL,NULL,NULL,0),(717,'2017-11-20 00:00:00','2017-11-26 00:00:00',11821,'Semi','Cakau',NULL,NULL,NULL,0),(718,'2017-11-20 00:00:00','2017-11-26 00:00:00',11822,'Josua','Vunisa',NULL,NULL,NULL,0),(719,'2017-11-20 00:00:00','2017-11-26 00:00:00',11823,'Sanita','Loganimosi',NULL,NULL,NULL,0),(720,'2017-11-20 00:00:00','2017-11-26 00:00:00',11824,'Kamila','Maria',NULL,NULL,NULL,0),(721,'2017-11-20 00:00:00','2017-11-26 00:00:00',11825,'Lusiana             ','Buli                ',NULL,NULL,NULL,0),(722,'2017-11-20 00:00:00','2017-11-26 00:00:00',11827,'Pauliasi','Sukanatabua',NULL,NULL,NULL,0),(723,'2017-11-20 00:00:00','2017-11-26 00:00:00',11828,'Nanise              ','Dinaivalu           ',NULL,NULL,NULL,0),(724,'2017-11-20 00:00:00','2017-11-26 00:00:00',11829,'Narayan','Prasad',NULL,NULL,NULL,0),(725,'2017-11-20 00:00:00','2017-11-26 00:00:00',11830,'Susana              ','Biu                 ',NULL,NULL,NULL,0),(726,'2017-11-20 00:00:00','2017-11-26 00:00:00',11831,'Kuliniasi           ','Nailatikau          ',NULL,NULL,NULL,0),(727,'2017-11-20 00:00:00','2017-11-26 00:00:00',11832,'Himesh              ','Nand                ',NULL,NULL,NULL,0),(728,'2017-11-20 00:00:00','2017-11-26 00:00:00',11833,'Leone               ','Lewatoro            ',NULL,NULL,NULL,0),(729,'2017-11-20 00:00:00','2017-11-26 00:00:00',11834,'Alfred','Lui',NULL,NULL,NULL,0),(730,'2017-11-20 00:00:00','2017-11-26 00:00:00',11835,'Isimeli             ','Manumanunivalu      ',NULL,NULL,NULL,0),(731,'2017-11-20 00:00:00','2017-11-26 00:00:00',11836,'Losalini            ','Matanaibau          ',NULL,NULL,NULL,0),(732,'2017-11-20 00:00:00','2017-11-26 00:00:00',11837,'Nemani              ','Ramagimagi          ',NULL,NULL,NULL,0),(733,'2017-11-20 00:00:00','2017-11-26 00:00:00',11838,'Inoke               ','B                   ',NULL,NULL,NULL,0),(734,'2017-11-20 00:00:00','2017-11-26 00:00:00',11839,'Mere                ','Adisere             ',NULL,NULL,NULL,0),(735,'2017-11-20 00:00:00','2017-11-26 00:00:00',11841,'Josua               ','Gudrunavanua        ',NULL,NULL,NULL,0),(736,'2017-11-20 00:00:00','2017-11-26 00:00:00',11842,'Manueli             ','Madigibuli          ',NULL,NULL,NULL,0),(737,'2017-11-20 00:00:00','2017-11-26 00:00:00',11843,'Fonmanu             ','Apao                ',NULL,NULL,NULL,0),(738,'2017-11-20 00:00:00','2017-11-26 00:00:00',11844,'Sainimili           ','Radinibau           ',NULL,NULL,NULL,0),(739,'2017-11-20 00:00:00','2017-11-26 00:00:00',11846,'Josese              ','Tuicuku             ',NULL,NULL,NULL,0),(740,'2017-11-20 00:00:00','2017-11-26 00:00:00',11847,'Harold              ','James               ',NULL,NULL,NULL,0),(741,'2017-11-20 00:00:00','2017-11-26 00:00:00',11849,'Maikeli','Vuloko',NULL,NULL,NULL,0),(742,'2017-11-20 00:00:00','2017-11-26 00:00:00',11850,'Josefa              ','Bokolawale          ',NULL,NULL,NULL,0),(743,'2017-11-20 00:00:00','2017-11-26 00:00:00',11851,'Nasoni              ','Cama                ',NULL,NULL,NULL,0),(744,'2017-11-20 00:00:00','2017-11-26 00:00:00',11852,'Tagilala            ','Maria               ',NULL,NULL,NULL,0),(745,'2017-11-20 00:00:00','2017-11-26 00:00:00',11853,'Karalaini           ','Kuruvesi            ',NULL,NULL,NULL,0),(746,'2017-11-20 00:00:00','2017-11-26 00:00:00',11854,'Jone                ','Rokowaqa            ',NULL,NULL,NULL,0),(747,'2017-11-20 00:00:00','2017-11-26 00:00:00',11855,'Ilaitia             ','T                   ',NULL,NULL,NULL,0),(748,'2017-11-20 00:00:00','2017-11-26 00:00:00',11856,'Lemeki              ','Sukanaivalu         ',NULL,NULL,NULL,0),(749,'2017-11-20 00:00:00','2017-11-26 00:00:00',11857,'Vasenai','Rokele',NULL,NULL,NULL,0),(750,'2017-11-20 00:00:00','2017-11-26 00:00:00',11858,'Filipe','Tauyavu',NULL,NULL,NULL,0),(751,'2017-11-20 00:00:00','2017-11-26 00:00:00',11859,'Rusiate             ','Koroi               ',NULL,NULL,NULL,0),(752,'2017-11-20 00:00:00','2017-11-26 00:00:00',11860,'Tomasi              ','T                   ',NULL,NULL,NULL,0),(753,'2017-11-20 00:00:00','2017-11-26 00:00:00',11861,'Seru                ','Mario               ',NULL,NULL,NULL,0),(754,'2017-11-20 00:00:00','2017-11-26 00:00:00',11862,'George              ','Iona                ',NULL,NULL,NULL,0),(755,'2017-11-20 00:00:00','2017-11-26 00:00:00',11863,'Inoke','Nasoroa',NULL,NULL,NULL,0),(756,'2017-11-20 00:00:00','2017-11-26 00:00:00',11864,'Manasa              ','Vasu                ',NULL,NULL,NULL,0),(757,'2017-11-20 00:00:00','2017-11-26 00:00:00',11865,'Wame                ','J                   ',NULL,NULL,NULL,0),(758,'2017-11-20 00:00:00','2017-11-26 00:00:00',11866,'Rafaele','Dauvosota',NULL,NULL,NULL,0),(759,'2017-11-20 00:00:00','2017-11-26 00:00:00',11867,'Peni                ','Bulewa              ',NULL,NULL,NULL,0),(760,'2017-11-20 00:00:00','2017-11-26 00:00:00',11868,'Joji','Raimaqi',NULL,NULL,NULL,0),(761,'2017-11-20 00:00:00','2017-11-26 00:00:00',11869,'Timaima             ','Marama              ',NULL,NULL,NULL,0),(762,'2017-11-20 00:00:00','2017-11-26 00:00:00',11870,'Semesa              ','Vuli                ',NULL,NULL,NULL,0),(763,'2017-11-20 00:00:00','2017-11-26 00:00:00',11871,'Josaia              ','Soko                ',NULL,NULL,NULL,0),(764,'2017-11-20 00:00:00','2017-11-26 00:00:00',11872,'Penitati','Naisenicagi',NULL,NULL,NULL,0),(765,'2017-11-20 00:00:00','2017-11-26 00:00:00',11873,'Manish              ','Meet                ',NULL,NULL,NULL,0),(766,'2017-11-20 00:00:00','2017-11-26 00:00:00',11874,'Peniasi             ','T                   ',NULL,NULL,NULL,0),(767,'2017-11-20 00:00:00','2017-11-26 00:00:00',11875,'Emosi               ','Vunivosa            ',NULL,NULL,NULL,0),(768,'2017-11-20 00:00:00','2017-11-26 00:00:00',11876,'Savenaca','Matayawa',NULL,NULL,NULL,0),(769,'2017-11-20 00:00:00','2017-11-26 00:00:00',11877,'Waisake','Duvu',NULL,NULL,NULL,0),(770,'2017-11-20 00:00:00','2017-11-26 00:00:00',11879,'Kacaraini           ','Saqanaivalu         ',NULL,NULL,NULL,0),(771,'2017-11-20 00:00:00','2017-11-26 00:00:00',11880,'Irinale             ','Cagilaba            ',NULL,NULL,NULL,0),(772,'2017-11-20 00:00:00','2017-11-26 00:00:00',11881,'Timoci','Turagakacivi',NULL,NULL,NULL,0),(773,'2017-11-20 00:00:00','2017-11-26 00:00:00',11882,'Aralai','Tikolutu',NULL,NULL,NULL,0),(774,'2017-11-20 00:00:00','2017-11-26 00:00:00',11883,'Jeke','Gotegote',NULL,NULL,NULL,0),(775,'2017-11-20 00:00:00','2017-11-26 00:00:00',11884,'Keleto','T',NULL,NULL,NULL,0),(776,'2017-11-20 00:00:00','2017-11-26 00:00:00',11885,'Matelita            ','Sera                ',NULL,NULL,NULL,0),(777,'2017-11-20 00:00:00','2017-11-26 00:00:00',11886,'Waisea              ','Cakau               ',NULL,NULL,NULL,0),(778,'2017-11-20 00:00:00','2017-11-26 00:00:00',11887,'Metuisela           ','Vulaono             ',NULL,NULL,NULL,0),(779,'2017-11-20 00:00:00','2017-11-26 00:00:00',11888,'Rt                  ','Apenisa             ',NULL,NULL,NULL,0),(780,'2017-11-20 00:00:00','2017-11-26 00:00:00',11889,'Jonasa','Baleinadi',NULL,NULL,NULL,0),(781,'2017-11-20 00:00:00','2017-11-26 00:00:00',11890,'Atelaite            ','Adilealea           ',NULL,NULL,NULL,0),(782,'2017-11-20 00:00:00','2017-11-26 00:00:00',11891,'Eruweli             ','Naivalu             ',NULL,NULL,NULL,0),(783,'2017-11-20 00:00:00','2017-11-26 00:00:00',11892,'Filimone            ','L                   ',NULL,NULL,NULL,0),(784,'2017-11-20 00:00:00','2017-11-26 00:00:00',11893,'Rt                  ','Mosese              ',NULL,NULL,NULL,0),(785,'2017-11-20 00:00:00','2017-11-26 00:00:00',11894,'Manoa               ','Tuiveiwi            ',NULL,NULL,NULL,0),(786,'2017-11-20 00:00:00','2017-11-26 00:00:00',11895,'Ratu                ','Maxi                ',NULL,NULL,NULL,0),(787,'2017-11-20 00:00:00','2017-11-26 00:00:00',11896,'Lagani              ','Veraladanamo        ',NULL,NULL,NULL,0),(788,'2017-11-20 00:00:00','2017-11-26 00:00:00',11897,'Salanieta           ','Talaite             ',NULL,NULL,NULL,0),(789,'2017-11-20 00:00:00','2017-11-26 00:00:00',11899,'Netava              ','T                   ',NULL,NULL,NULL,0),(790,'2017-11-20 00:00:00','2017-11-26 00:00:00',11900,'Viliame             ','Rokosava            ',NULL,NULL,NULL,0),(791,'2017-11-20 00:00:00','2017-11-26 00:00:00',11901,'Sanaila             ','Duakavukavu         ',NULL,NULL,NULL,0),(792,'2017-11-20 00:00:00','2017-11-26 00:00:00',11902,'Ratu                ','Inoke               ',NULL,NULL,NULL,0),(793,'2017-11-20 00:00:00','2017-11-26 00:00:00',11903,'Maika               ','C                   ',NULL,NULL,NULL,0),(794,'2017-11-20 00:00:00','2017-11-26 00:00:00',11904,'George              ','Sonny               ',NULL,NULL,NULL,0),(795,'2017-11-20 00:00:00','2017-11-26 00:00:00',11905,'Rocky               ','Douglas             ',NULL,NULL,NULL,0),(796,'2017-11-20 00:00:00','2017-11-26 00:00:00',11906,'Lino                ','Rocky               ',NULL,NULL,NULL,0),(797,'2017-11-20 00:00:00','2017-11-26 00:00:00',11907,'Ronie','Lanya',NULL,NULL,NULL,0),(798,'2017-11-20 00:00:00','2017-11-26 00:00:00',11908,'Jonasa              ','Vueti               ',NULL,NULL,NULL,0),(799,'2017-11-20 00:00:00','2017-11-26 00:00:00',11909,'Jeremaia            ','Ledua               ',NULL,NULL,NULL,0),(800,'2017-11-20 00:00:00','2017-11-26 00:00:00',11910,'Semisi              ','Vivita              ',NULL,NULL,NULL,0),(801,'2017-11-20 00:00:00','2017-11-26 00:00:00',11911,'Waisele             ','Veileyaki           ',NULL,NULL,NULL,0),(802,'2017-11-20 00:00:00','2017-11-26 00:00:00',11912,'Beniamino           ','Ilisevaseva         ',NULL,NULL,NULL,0),(803,'2017-11-20 00:00:00','2017-11-26 00:00:00',11913,'Sekaia              ','Manakiwai           ',NULL,NULL,NULL,0),(804,'2017-11-20 00:00:00','2017-11-26 00:00:00',11914,'Filipe              ','N                   ',NULL,NULL,NULL,0),(805,'2017-11-20 00:00:00','2017-11-26 00:00:00',11915,'Taniela             ','Maafu              ',NULL,NULL,NULL,0),(806,'2017-11-20 00:00:00','2017-11-26 00:00:00',11916,'Rupeni              ','Ledua               ',NULL,NULL,NULL,0),(807,'2017-11-20 00:00:00','2017-11-26 00:00:00',11917,'Rajnesh             ','Kumar               ',NULL,NULL,NULL,0),(808,'2017-11-20 00:00:00','2017-11-26 00:00:00',11918,'Iosevo','Nabole',NULL,NULL,NULL,0),(809,'2017-11-20 00:00:00','2017-11-26 00:00:00',11919,'Waisele             ','Masiqora            ',NULL,NULL,NULL,0),(810,'2017-11-20 00:00:00','2017-11-26 00:00:00',11920,'Eroni','Bale',NULL,NULL,NULL,0),(811,'2017-11-20 00:00:00','2017-11-26 00:00:00',11921,'Apaiata             ','B                   ',NULL,NULL,NULL,0),(812,'2017-11-20 00:00:00','2017-11-26 00:00:00',11922,'Joeli               ','Monovou             ',NULL,NULL,NULL,0),(813,'2017-11-20 00:00:00','2017-11-26 00:00:00',11923,'Kesi                ','Raiseni             ',NULL,NULL,NULL,0),(814,'2017-11-20 00:00:00','2017-11-26 00:00:00',11924,'William             ','Michael             ',NULL,NULL,NULL,0),(815,'2017-11-20 00:00:00','2017-11-26 00:00:00',11925,'Suliasi             ','Namaralevu          ',NULL,NULL,NULL,0),(816,'2017-11-20 00:00:00','2017-11-26 00:00:00',11926,'Maikeli             ','Seru                ',NULL,NULL,NULL,0),(817,'2017-11-20 00:00:00','2017-11-26 00:00:00',11927,'Lorima','T',NULL,NULL,NULL,0),(818,'2017-11-20 00:00:00','2017-11-26 00:00:00',11928,'Maraia              ','M                   ',NULL,NULL,NULL,0),(819,'2017-11-20 00:00:00','2017-11-26 00:00:00',11929,'Eliki               ','P                   ',NULL,NULL,NULL,0),(820,'2017-11-20 00:00:00','2017-11-26 00:00:00',11930,'Peceli              ','Viriki              ',NULL,NULL,NULL,0),(821,'2017-11-20 00:00:00','2017-11-26 00:00:00',11931,'Josefa','Nagonevulavula',NULL,NULL,NULL,0),(822,'2017-11-20 00:00:00','2017-11-26 00:00:00',11932,'Govind              ','Sami                ',NULL,NULL,NULL,0),(823,'2017-11-20 00:00:00','2017-11-26 00:00:00',11933,'Jemesa              ','N                   ',NULL,NULL,NULL,0),(824,'2017-11-20 00:00:00','2017-11-26 00:00:00',11934,'Ratu                ','Apenisa             ',NULL,NULL,NULL,0),(825,'2017-11-20 00:00:00','2017-11-26 00:00:00',11935,'Jese','Rokonaitaka',NULL,NULL,NULL,0),(826,'2017-11-20 00:00:00','2017-11-26 00:00:00',11936,'Kitione             ','Drakabula           ',NULL,NULL,NULL,0),(827,'2017-11-20 00:00:00','2017-11-26 00:00:00',11938,'Viuta','Loco',NULL,NULL,NULL,0),(828,'2017-11-20 00:00:00','2017-11-26 00:00:00',11939,'Setoki              ','Naisuqewaka         ',NULL,NULL,NULL,0),(829,'2017-11-20 00:00:00','2017-11-26 00:00:00',11940,'Vakacegu            ','Jone                ',NULL,NULL,NULL,0),(830,'2017-11-20 00:00:00','2017-11-26 00:00:00',11941,'Akuila              ','Vakacegu            ',NULL,NULL,NULL,0),(831,'2017-11-20 00:00:00','2017-11-26 00:00:00',11942,'Aisake              ','Vulawalu            ',NULL,NULL,NULL,0),(832,'2017-11-20 00:00:00','2017-11-26 00:00:00',11943,'Vakarusa','Seremaia',NULL,NULL,NULL,0),(833,'2017-11-20 00:00:00','2017-11-26 00:00:00',11944,'Metuisela','Bainilago',NULL,NULL,NULL,0),(834,'2017-11-20 00:00:00','2017-11-26 00:00:00',11945,'Josua               ','Saunivalu           ',NULL,NULL,NULL,0),(835,'2017-11-20 00:00:00','2017-11-26 00:00:00',11946,'Waisea              ','Levaci              ',NULL,NULL,NULL,0),(836,'2017-11-20 00:00:00','2017-11-26 00:00:00',11947,'Amani','Nayau',NULL,NULL,NULL,0),(837,'2017-11-20 00:00:00','2017-11-26 00:00:00',11948,'David','Robert',NULL,NULL,NULL,0),(838,'2017-11-20 00:00:00','2017-11-26 00:00:00',11949,'Mesulame','Bose',NULL,NULL,NULL,0),(839,'2017-11-20 00:00:00','2017-11-26 00:00:00',11950,'Samisoni            ','Vetawa              ',NULL,NULL,NULL,0),(840,'2017-11-20 00:00:00','2017-11-26 00:00:00',11951,'Cakacaka','Tuipulotu',NULL,NULL,NULL,0),(841,'2017-11-20 00:00:00','2017-11-26 00:00:00',11952,'Josese              ','Barnabas            ',NULL,NULL,NULL,0),(842,'2017-11-20 00:00:00','2017-11-26 00:00:00',11953,'Iosefo              ','Dau                 ',NULL,NULL,NULL,0),(843,'2017-11-20 00:00:00','2017-11-26 00:00:00',11954,'Ratu                ','Maopa               ',NULL,NULL,NULL,0),(844,'2017-11-20 00:00:00','2017-11-26 00:00:00',11957,'Karalaini           ','Vata                ',NULL,NULL,NULL,0),(845,'2017-11-20 00:00:00','2017-11-26 00:00:00',11958,'Ema                 ','Bui                 ',NULL,NULL,NULL,0),(846,'2017-11-20 00:00:00','2017-11-26 00:00:00',11959,'Suliano             ','Veibilitaki         ',NULL,NULL,NULL,0),(847,'2017-11-20 00:00:00','2017-11-26 00:00:00',11962,'Kitione             ','N                   ',NULL,NULL,NULL,0),(848,'2017-11-20 00:00:00','2017-11-26 00:00:00',11963,'Kitiana             ','Naivalu             ',NULL,NULL,NULL,0),(849,'2017-11-20 00:00:00','2017-11-26 00:00:00',11964,'Karalaini           ','E                   ',NULL,NULL,NULL,0),(850,'2017-11-20 00:00:00','2017-11-26 00:00:00',11965,'Isikeli             ','Ramumu              ',NULL,NULL,NULL,0),(851,'2017-11-20 00:00:00','2017-11-26 00:00:00',11966,'Vilimone            ','Nabuca              ',NULL,NULL,NULL,0),(852,'2017-11-20 00:00:00','2017-11-26 00:00:00',11967,'Mere                ','Nasau               ',NULL,NULL,NULL,0),(853,'2017-11-20 00:00:00','2017-11-26 00:00:00',11968,'Verenaisi           ','Rokovosa            ',NULL,NULL,NULL,0),(854,'2017-11-20 00:00:00','2017-11-26 00:00:00',11969,'Ledua               ','Mavule              ',NULL,NULL,NULL,0),(855,'2017-11-20 00:00:00','2017-11-26 00:00:00',11970,'Ruci','L',NULL,NULL,NULL,0),(856,'2017-11-20 00:00:00','2017-11-26 00:00:00',11971,'Evia                ','Matasawalevu        ',NULL,NULL,NULL,0),(857,'2017-11-20 00:00:00','2017-11-26 00:00:00',11974,'Timoci','I',NULL,NULL,NULL,0),(858,'2017-11-20 00:00:00','2017-11-26 00:00:00',11975,'Mereani             ','Niufou              ',NULL,NULL,NULL,0),(859,'2017-11-20 00:00:00','2017-11-26 00:00:00',11976,'Tokasa              ','Vakatawase          ',NULL,NULL,NULL,0),(860,'2017-11-20 00:00:00','2017-11-26 00:00:00',11977,'Salanieta           ','V                   ',NULL,NULL,NULL,0),(861,'2017-11-20 00:00:00','2017-11-26 00:00:00',11978,'Antonio             ','Pene                ',NULL,NULL,NULL,0),(862,'2017-11-20 00:00:00','2017-11-26 00:00:00',11979,'Alipate             ','Vukivakawalu        ',NULL,NULL,NULL,0),(863,'2017-11-20 00:00:00','2017-11-26 00:00:00',11980,'Viliame             ','Volau               ',NULL,NULL,NULL,0),(864,'2017-11-20 00:00:00','2017-11-26 00:00:00',11981,'Suliasi             ','Cakau               ',NULL,NULL,NULL,0),(865,'2017-11-20 00:00:00','2017-11-26 00:00:00',11982,'Sivaniolo           ','Batitoa             ',NULL,NULL,NULL,0),(866,'2017-11-20 00:00:00','2017-11-26 00:00:00',11983,'Maleli              ','Baleisuva           ',NULL,NULL,NULL,0),(867,'2017-11-20 00:00:00','2017-11-26 00:00:00',11984,'Ravinesh            ','Kishor              ',NULL,NULL,NULL,0),(868,'2017-11-20 00:00:00','2017-11-26 00:00:00',11985,'Vilimone            ','Tarai               ',NULL,NULL,NULL,0),(869,'2017-11-20 00:00:00','2017-11-26 00:00:00',11986,'Sanaila             ','Vesikula            ',NULL,NULL,NULL,0),(870,'2017-11-20 00:00:00','2017-11-26 00:00:00',11987,'Kaiva               ','Saro                ',NULL,NULL,NULL,0),(871,'2017-11-20 00:00:00','2017-11-26 00:00:00',11988,'Inosa','Naisau',NULL,NULL,NULL,0),(872,'2017-11-20 00:00:00','2017-11-26 00:00:00',11989,'Inia                ','Suvarua             ',NULL,NULL,NULL,0),(873,'2017-11-20 00:00:00','2017-11-26 00:00:00',11990,'Sivoni              ','Ligaiviu            ',NULL,NULL,NULL,0),(874,'2017-11-20 00:00:00','2017-11-26 00:00:00',11991,'Samuela             ','M.I.                ',NULL,NULL,NULL,0),(875,'2017-11-20 00:00:00','2017-11-26 00:00:00',11992,'Tomasi','Dekedeke',NULL,NULL,NULL,0),(876,'2017-11-20 00:00:00','2017-11-26 00:00:00',11993,'Liget','Goneduadua',NULL,NULL,NULL,0),(877,'2017-11-20 00:00:00','2017-11-26 00:00:00',11994,'Vatemo              ','Ravouvou            ',NULL,NULL,NULL,0),(878,'2017-11-20 00:00:00','2017-11-26 00:00:00',11995,'Savenaca            ','Vakalolo            ',NULL,NULL,NULL,0),(879,'2017-11-20 00:00:00','2017-11-26 00:00:00',11996,'Sepuloni            ','Toroyanavanua       ',NULL,NULL,NULL,0),(880,'2017-11-20 00:00:00','2017-11-26 00:00:00',11997,'Keleto              ','Cavuvakasuka        ',NULL,NULL,NULL,0),(881,'2017-11-20 00:00:00','2017-11-26 00:00:00',11998,'Isaia','Bolakavu',NULL,NULL,NULL,0),(882,'2017-11-20 00:00:00','2017-11-26 00:00:00',11999,'Manasa              ','Raibe               ',NULL,NULL,NULL,0),(883,'2017-11-20 00:00:00','2017-11-26 00:00:00',12000,'Sailosi','Ramatu',NULL,NULL,NULL,0),(884,'2017-11-20 00:00:00','2017-11-26 00:00:00',12001,'Onisimo             ','Navila              ',NULL,NULL,NULL,0),(885,'2017-11-20 00:00:00','2017-11-26 00:00:00',12003,'Ratu','Meli',NULL,NULL,NULL,0),(886,'2017-11-20 00:00:00','2017-11-26 00:00:00',12004,'Timasi              ','Waqanidrola         ',NULL,NULL,NULL,0),(887,'2017-11-20 00:00:00','2017-11-26 00:00:00',12005,'Moave','Matau',NULL,NULL,NULL,0),(888,'2017-11-20 00:00:00','2017-11-26 00:00:00',12006,'Nitin               ','Nolesh              ',NULL,NULL,NULL,0),(889,'2017-11-20 00:00:00','2017-11-26 00:00:00',12007,'Ratu                ','Elia                ',NULL,NULL,NULL,0),(890,'2017-11-20 00:00:00','2017-11-26 00:00:00',12008,'Isaia','Gasa',NULL,NULL,NULL,0),(891,'2017-11-20 00:00:00','2017-11-26 00:00:00',12009,'Taniela','Tabaiwalu',NULL,NULL,NULL,0),(892,'2017-11-20 00:00:00','2017-11-26 00:00:00',12010,'Vilikesa            ','Komaiwailoaloa      ',NULL,NULL,NULL,0),(893,'2017-11-20 00:00:00','2017-11-26 00:00:00',12011,'Apaitia','Donu',NULL,NULL,NULL,0),(894,'2017-11-20 00:00:00','2017-11-26 00:00:00',12012,'Peni','Nayalo',NULL,NULL,NULL,0),(895,'2017-11-20 00:00:00','2017-11-26 00:00:00',12013,'Iliesa              ','Delana              ',NULL,NULL,NULL,0),(896,'2017-11-20 00:00:00','2017-11-26 00:00:00',12014,'Sakenasa','Nasovea',NULL,NULL,NULL,0),(897,'2017-11-20 00:00:00','2017-11-26 00:00:00',12015,'Nemani              ','Ravula              ',NULL,NULL,NULL,0),(898,'2017-11-20 00:00:00','2017-11-26 00:00:00',12016,'Viliame','Lotawa',NULL,NULL,NULL,0),(899,'2017-11-20 00:00:00','2017-11-26 00:00:00',12017,'Jona','Rasiga',NULL,NULL,NULL,0),(900,'2017-11-20 00:00:00','2017-11-26 00:00:00',12018,'Maikeli             ','Waqabaca            ',NULL,NULL,NULL,0),(901,'2017-11-20 00:00:00','2017-11-26 00:00:00',12019,'Jone                ','T                   ',NULL,NULL,NULL,0),(902,'2017-11-20 00:00:00','2017-11-26 00:00:00',12020,'Silivenusi','Delai',NULL,NULL,NULL,0),(903,'2017-11-20 00:00:00','2017-11-26 00:00:00',12022,'Anaseini            ','Wilivula            ',NULL,NULL,NULL,0),(904,'2017-11-20 00:00:00','2017-11-26 00:00:00',12023,'Meli                ','Tawacoko            ',NULL,NULL,NULL,0),(905,'2017-11-20 00:00:00','2017-11-26 00:00:00',12024,'Iosefo              ','Ligavici            ',NULL,NULL,NULL,0),(906,'2017-11-20 00:00:00','2017-11-26 00:00:00',12025,'Ratu                ','Sikeli              ',NULL,NULL,NULL,0),(907,'2017-11-20 00:00:00','2017-11-26 00:00:00',12026,'Sirilo              ','Tuicolo             ',NULL,NULL,NULL,0),(908,'2017-11-20 00:00:00','2017-11-26 00:00:00',12027,'Alivereti           ','Gade                ',NULL,NULL,NULL,0),(909,'2017-11-20 00:00:00','2017-11-26 00:00:00',12028,'Josua               ','Dovia               ',NULL,NULL,NULL,0),(910,'2017-11-20 00:00:00','2017-11-26 00:00:00',12029,'Usaia','Dinavuso',NULL,NULL,NULL,0),(911,'2017-11-20 00:00:00','2017-11-26 00:00:00',12030,'Mosese','R',NULL,NULL,NULL,0),(912,'2017-11-20 00:00:00','2017-11-26 00:00:00',12031,'Ioane','Rokotuitai',NULL,NULL,NULL,0),(913,'2017-11-20 00:00:00','2017-11-26 00:00:00',12032,'Abaramo             ','Vereto              ',NULL,NULL,NULL,0),(914,'2017-11-20 00:00:00','2017-11-26 00:00:00',12033,'Penisoni            ','Tawake              ',NULL,NULL,NULL,0),(915,'2017-11-20 00:00:00','2017-11-26 00:00:00',12034,'Ratu                ','Masi                ',NULL,NULL,NULL,0),(916,'2017-11-20 00:00:00','2017-11-26 00:00:00',12035,'Abhinesh            ','Chand               ',NULL,NULL,NULL,0),(917,'2017-11-20 00:00:00','2017-11-26 00:00:00',12036,'Teroba              ','Tekiau              ',NULL,NULL,NULL,0),(918,'2017-11-20 00:00:00','2017-11-26 00:00:00',12038,'Laisiasa            ','Roko                ',NULL,NULL,NULL,0),(919,'2017-11-20 00:00:00','2017-11-26 00:00:00',12039,'Pita                ','Tukana              ',NULL,NULL,NULL,0),(920,'2017-11-20 00:00:00','2017-11-26 00:00:00',12040,'Jone','Tawake',NULL,NULL,NULL,0),(921,'2017-11-20 00:00:00','2017-11-26 00:00:00',12041,'Inoke               ','N                   ',NULL,NULL,NULL,0),(922,'2017-11-20 00:00:00','2017-11-26 00:00:00',12042,'Ilaisa              ','Raisele             ',NULL,NULL,NULL,0),(923,'2017-11-20 00:00:00','2017-11-26 00:00:00',12043,'Samuela             ','C                   ',NULL,NULL,NULL,0),(924,'2017-11-20 00:00:00','2017-11-26 00:00:00',12044,'Pacolo','Tawake',NULL,NULL,NULL,0),(925,'2017-11-20 00:00:00','2017-11-26 00:00:00',12045,'Josateki','Tuilawaki',NULL,NULL,NULL,0),(926,'2017-11-20 00:00:00','2017-11-26 00:00:00',12046,'Meli                ','Bogileka            ',NULL,NULL,NULL,0),(927,'2017-11-20 00:00:00','2017-11-26 00:00:00',12047,'Kotoicolo           ','Takalesu            ',NULL,NULL,NULL,0),(928,'2017-11-20 00:00:00','2017-11-26 00:00:00',12048,'Maika               ','Iranasau            ',NULL,NULL,NULL,0),(929,'2017-11-20 00:00:00','2017-11-26 00:00:00',12049,'Taitusi             ','Goneduadua          ',NULL,NULL,NULL,0),(930,'2017-11-20 00:00:00','2017-11-26 00:00:00',12050,'Sefanaia','Kau',NULL,NULL,NULL,0),(931,'2017-11-20 00:00:00','2017-11-26 00:00:00',12051,'Maraia','Marawa',NULL,NULL,NULL,0),(932,'2017-11-20 00:00:00','2017-11-26 00:00:00',12052,'Waisea              ','Junior              ',NULL,NULL,NULL,0),(933,'2017-11-20 00:00:00','2017-11-26 00:00:00',12053,'Vuniani             ','Tuqata              ',NULL,NULL,NULL,0),(934,'2017-11-20 00:00:00','2017-11-26 00:00:00',12054,'Laisenia','Taletawa',NULL,NULL,NULL,0),(935,'2017-11-20 00:00:00','2017-11-26 00:00:00',12055,'Mesulame            ','Seyawa              ',NULL,NULL,NULL,0),(936,'2017-11-20 00:00:00','2017-11-26 00:00:00',12057,'Ratu','Onisivoro',NULL,NULL,NULL,0),(937,'2017-11-20 00:00:00','2017-11-26 00:00:00',12058,'Viliame             ','L                   ',NULL,NULL,NULL,0),(938,'2017-11-20 00:00:00','2017-11-26 00:00:00',12059,'Jimione             ','Sukabula            ',NULL,NULL,NULL,0),(939,'2017-11-20 00:00:00','2017-11-26 00:00:00',12060,'Terio               ','Manoa               ',NULL,NULL,NULL,0),(940,'2017-11-20 00:00:00','2017-11-26 00:00:00',12061,'Iliesa              ','Vosarogo            ',NULL,NULL,NULL,0),(941,'2017-11-20 00:00:00','2017-11-26 00:00:00',12062,'Vetaia              ','Tikomailepanoni     ',NULL,NULL,NULL,0),(942,'2017-11-20 00:00:00','2017-11-26 00:00:00',12063,'Taito','Veikoso',NULL,NULL,NULL,0),(943,'2017-11-20 00:00:00','2017-11-26 00:00:00',12064,'Navitalai           ','Loatuicama          ',NULL,NULL,NULL,0),(944,'2017-11-20 00:00:00','2017-11-26 00:00:00',12065,'Sakaraia            ','R                   ',NULL,NULL,NULL,0),(945,'2017-11-20 00:00:00','2017-11-26 00:00:00',12066,'Onisimo','Seru',NULL,NULL,NULL,0),(946,'2017-11-20 00:00:00','2017-11-26 00:00:00',12067,'Rt Samuela','Gudruvanua',NULL,NULL,NULL,0),(947,'2017-11-20 00:00:00','2017-11-26 00:00:00',12068,'Jiune','Yabaki',NULL,NULL,NULL,0),(948,'2017-11-20 00:00:00','2017-11-26 00:00:00',12069,'Sainivalati','Naucalevu',NULL,NULL,NULL,0),(949,'2017-11-20 00:00:00','2017-11-26 00:00:00',12070,'Waisake','Vati',NULL,NULL,NULL,0),(950,'2017-11-20 00:00:00','2017-11-26 00:00:00',12072,'Pravinesh','Chandra',NULL,NULL,NULL,0),(951,'2017-11-20 00:00:00','2017-11-26 00:00:00',12073,'Sekove','K Iranasivo',NULL,NULL,NULL,0),(952,'2017-11-20 00:00:00','2017-11-26 00:00:00',12081,'Sailasa','Likuvoivoi',NULL,NULL,NULL,0),(953,'2017-11-20 00:00:00','2017-11-26 00:00:00',12083,'Wilisoni','Jitoka',NULL,NULL,NULL,0),(954,'2017-11-20 00:00:00','2017-11-26 00:00:00',12086,'Anasa','Naulivou',NULL,NULL,NULL,0),(955,'2017-11-20 00:00:00','2017-11-26 00:00:00',12094,'Jovilisi','Moce',NULL,NULL,NULL,0),(956,'2017-11-20 00:00:00','2017-11-26 00:00:00',12095,'Henry','Fong',NULL,NULL,NULL,0),(957,'2017-11-20 00:00:00','2017-11-26 00:00:00',12099,'Moape','Nabogi',NULL,NULL,NULL,0),(958,'2017-11-20 00:00:00','2017-11-26 00:00:00',12101,'Mereani','Romatini',NULL,NULL,NULL,0),(959,'2017-11-20 00:00:00','2017-11-26 00:00:00',12102,'Alesi','Waitawa',NULL,NULL,NULL,0),(960,'2017-11-20 00:00:00','2017-11-26 00:00:00',12103,'Filipe','Wilikibau',NULL,NULL,NULL,0),(961,'2017-11-20 00:00:00','2017-11-26 00:00:00',12105,'Jale','Ltidamu',NULL,NULL,NULL,0),(962,'2017-11-20 00:00:00','2017-11-26 00:00:00',12106,'Samu','Biturogoiwasa',NULL,NULL,NULL,0),(963,'2017-11-20 00:00:00','2017-11-26 00:00:00',12108,'Livai','Rovuru',NULL,NULL,NULL,0),(964,'2017-11-20 00:00:00','2017-11-26 00:00:00',12111,'Rosa','Ravuwai',NULL,NULL,NULL,0),(965,'2017-11-20 00:00:00','2017-11-26 00:00:00',12112,'Vaviano','Tuinidau',NULL,NULL,NULL,0),(966,'2017-11-20 00:00:00','2017-11-26 00:00:00',12113,'Marika','Rasekaseka',NULL,NULL,NULL,0),(967,'2017-11-20 00:00:00','2017-11-26 00:00:00',12114,'Toma','Tanicakau',NULL,NULL,NULL,0),(968,'2017-11-20 00:00:00','2017-11-26 00:00:00',12116,'Savenaca','Dausiga',NULL,NULL,NULL,0),(969,'2017-11-20 00:00:00','2017-11-26 00:00:00',12117,'Sakaraia','Maqanatagane',NULL,NULL,NULL,0),(970,'2017-11-20 00:00:00','2017-11-26 00:00:00',12118,'Jope','Turagakula',NULL,NULL,NULL,0),(971,'2017-11-20 00:00:00','2017-11-26 00:00:00',12119,'Elisio','Nadaku',NULL,NULL,NULL,0),(972,'2017-11-20 00:00:00','2017-11-26 00:00:00',12122,'Hiagi','Aisake',NULL,NULL,NULL,0),(973,'2017-11-20 00:00:00','2017-11-26 00:00:00',12124,'Saula','Mate',NULL,NULL,NULL,0),(974,'2017-11-20 00:00:00','2017-11-26 00:00:00',12125,'Peni','Delana',NULL,NULL,NULL,0),(975,'2017-11-20 00:00:00','2017-11-26 00:00:00',12126,'Emosi','Verebasaga',NULL,NULL,NULL,0),(976,'2017-11-20 00:00:00','2017-11-26 00:00:00',12144,'Enesi','Rusaqoli',NULL,NULL,NULL,0),(977,'2017-11-20 00:00:00','2017-11-26 00:00:00',12165,'Uraia N','Betani',NULL,NULL,NULL,1);

--
-- Table structure for table `prices`
--

CREATE TABLE `prices` (
  `stockid` varchar(20) NOT NULL DEFAULT '',
  `typeabbrev` char(2) NOT NULL DEFAULT '',
  `currabrev` char(3) NOT NULL DEFAULT '',
  `debtorno` varchar(10) NOT NULL DEFAULT '',
  `price` decimal(20,4) NOT NULL DEFAULT '0.0000',
  `branchcode` varchar(10) NOT NULL DEFAULT '',
  `startdate` date NOT NULL DEFAULT '0000-00-00',
  `enddate` date NOT NULL DEFAULT '9999-12-31',
  PRIMARY KEY (`stockid`,`typeabbrev`,`currabrev`,`debtorno`,`branchcode`,`startdate`,`enddate`),
  KEY `CurrAbrev` (`currabrev`),
  KEY `DebtorNo` (`debtorno`),
  KEY `StockID` (`stockid`),
  KEY `TypeAbbrev` (`typeabbrev`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `prices`
--

INSERT INTO `prices` VALUES ('CIT1','04','FJD','',140.0000,'','2017-11-07','0000-00-00'),('CIT10','04','FJD','',0.0063,'','2017-11-07','0000-00-00'),('CIT11','04','FJD','',0.8000,'','2017-11-07','0000-00-00'),('CIT12','04','FJD','',700.0000,'','2017-11-07','0000-00-00'),('CIT13','04','FJD','',25.0000,'','2017-11-07','0000-00-00'),('CIT14','DF','FJD','',0.0063,'','2017-12-06','0000-00-00'),('CIT15','DF','FJD','',300.0000,'','2017-12-06','0000-00-00'),('CIT2','04','FJD','',0.0063,'','2017-11-07','0000-00-00'),('CIT3','04','FJD','',130.0000,'','2017-11-07','0000-00-00'),('CIT4','04','FJD','',300.0000,'','2017-11-07','0000-00-00'),('CIT5','04','FJD','',140.0000,'','2017-11-07','0000-00-00'),('CIT6','04','FJD','',3.5000,'','2017-11-07','0000-00-00'),('CIT7','04','FJD','',0.0063,'','2017-11-07','0000-00-00'),('CIT8','04','FJD','',0.8000,'','2017-11-07','0000-00-00'),('CIT9','04','FJD','',1.6000,'','2017-11-07','0000-00-00'),('FIRESERVICE','DF','FJD','',150.0000,'','2018-06-04','0000-00-00'),('LABOUR','DF','FJD','',22.5000,'','2019-05-10','0000-00-00');

--
-- Table structure for table `prodspecs`
--

CREATE TABLE `prodspecs` (
  `keyval` varchar(25) NOT NULL,
  `testid` int(11) NOT NULL,
  `defaultvalue` varchar(150) NOT NULL DEFAULT '',
  `targetvalue` varchar(30) NOT NULL DEFAULT '',
  `rangemin` float DEFAULT NULL,
  `rangemax` float DEFAULT NULL,
  `showoncert` tinyint(11) NOT NULL DEFAULT '1',
  `showonspec` tinyint(4) NOT NULL DEFAULT '1',
  `showontestplan` tinyint(4) NOT NULL DEFAULT '1',
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`keyval`,`testid`),
  KEY `testid` (`testid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `prodspecs`
--


--
-- Table structure for table `productivity`
--

CREATE TABLE `productivity` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `employeeid` int(5) NOT NULL,
  `date` date NOT NULL,
  `targets` varchar(100) NOT NULL,
  `achieved` tinyint(1) NOT NULL,
  `remarks` text NOT NULL,
  `entered_date` datetime NOT NULL,
  `entered_by` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `productivity`
--


--
-- Table structure for table `progressive_billing`
--

CREATE TABLE `progressive_billing` (
  `pgid` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `phase_name` varchar(100) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `actual_material` decimal(10,2) NOT NULL,
  `actual_labor` decimal(10,2) DEFAULT '0.00',
  `actual_others` decimal(10,2) DEFAULT '0.00',
  `total_actual_cost` decimal(10,2) NOT NULL,
  `costing_no` int(11) DEFAULT NULL,
  `bill_rate` decimal(10,2) NOT NULL,
  `billing_amount_vep` decimal(10,2) NOT NULL,
  `billing_amount_vip` decimal(10,2) NOT NULL,
  `narrative` varchar(1000) DEFAULT NULL,
  `comments` varchar(200) DEFAULT NULL,
  `status` varchar(100) NOT NULL,
  PRIMARY KEY (`pgid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `progressive_billing`
--

INSERT INTO `progressive_billing` VALUES (1,41,'phase1/month1','2018-02-01','2018-02-28',2687.08,0.00,2500.00,5187.08,37,0.37,8711.79,9495.85,'Install fire system. claim: 345','test2','approved'),(2,57,'month1','2018-09-01','2018-09-30',0.00,0.00,0.00,0.00,52,0.00,0.00,0.00,NULL,NULL,'approved');

--
-- Table structure for table `project_actual_labor_cost`
--

CREATE TABLE `project_actual_labor_cost` (
  `actuallaborcostid` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `projectperiodid` int(11) NOT NULL,
  `date_entered` date NOT NULL,
  `timesheet_id` decimal(10,0) NOT NULL,
  `employee_name` varchar(20) NOT NULL,
  `hours` decimal(10,0) NOT NULL,
  `rate_paid` decimal(10,0) NOT NULL,
  `total_paid` decimal(10,0) NOT NULL,
  PRIMARY KEY (`actuallaborcostid`),
  KEY `projectid` (`projectid`),
  KEY `projectperiodid` (`projectperiodid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `project_actual_labor_cost`
--


--
-- Table structure for table `project_notes`
--

CREATE TABLE `project_notes` (
  `notes_id` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `date` date NOT NULL,
  `notes` varchar(100) NOT NULL,
  PRIMARY KEY (`notes_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `project_notes`
--


--
-- Table structure for table `project_report`
--

CREATE TABLE `project_report` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `project_value` decimal(10,2) NOT NULL,
  `budgeted_cost` decimal(10,2) NOT NULL,
  `actual_cost_till _date` decimal(10,2) NOT NULL,
  `cost_to_complete` decimal(10,2) NOT NULL,
  `total_invoiced_till_date` decimal(10,2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `project_report`
--


--
-- Table structure for table `project_stages`
--

CREATE TABLE `project_stages` (
  `stage_id` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `date` date NOT NULL,
  `name` varchar(100) NOT NULL,
  `phase_name` varchar(100) NOT NULL,
  `duration_days` int(11) NOT NULL,
  PRIMARY KEY (`stage_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `project_stages`
--

INSERT INTO `project_stages` VALUES (1,1,'2019-05-01','First meetings','Meeting',3),(2,59,'2019-05-02','setting up customer','Setup',2),(3,59,'2019-05-07','Costing job','Costing',1),(4,59,'2019-05-09','Quoting for job','Quotation',2),(5,60,'2019-05-29','costing','Costing phase',2);

--
-- Table structure for table `project_stock`
--

CREATE TABLE `project_stock` (
  `project_stock_id` int(11) NOT NULL AUTO_INCREMENT,
  `stockid` varchar(200) NOT NULL,
  `projectid` int(11) NOT NULL,
  `date_received` date NOT NULL,
  `location_received_from` varchar(100) NOT NULL,
  `department_received_from` tinyint(4) NOT NULL,
  `qty_received` decimal(10,2) NOT NULL,
  PRIMARY KEY (`project_stock_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf32;

--
-- Dumping data for table `project_stock`
--

INSERT INTO `project_stock` VALUES (1,'03650D-1',2,'2018-04-03','SUVA',52,10.00),(2,'1418',2,'2018-05-03','SUVA',52,10.00);

--
-- Table structure for table `project_tally`
--

CREATE TABLE `project_tally` (
  `id` int(11) NOT NULL,
  `projectid` int(11) NOT NULL,
  `actual_cost_till_date` decimal(10,2) NOT NULL,
  `cost_to_complete` decimal(10,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `project_tally`
--


--
-- Table structure for table `projectactualmaterials`
--

CREATE TABLE `projectactualmaterials` (
  `actualmaterialsid` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `projectperiodid` tinyint(4) NOT NULL,
  `cost_name` varchar(20) NOT NULL,
  `qty` decimal(10,0) NOT NULL,
  `unit_price` decimal(10,0) NOT NULL,
  `total_cost` decimal(10,0) NOT NULL,
  `tax_type` varchar(20) NOT NULL,
  `vat_paid` decimal(10,0) NOT NULL,
  PRIMARY KEY (`actualmaterialsid`),
  KEY `projectid` (`projectid`),
  KEY `projectperiodid` (`projectperiodid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectactualmaterials`
--


--
-- Table structure for table `projectactualperiod`
--

CREATE TABLE `projectactualperiod` (
  `projectperiodid` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `period_name` varchar(20) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `actual_material_cost` decimal(10,2) NOT NULL,
  `actual_labor_cost` decimal(10,2) NOT NULL,
  `actual_total_cost` decimal(10,2) NOT NULL,
  `sales_ratio` decimal(10,2) NOT NULL,
  `sales_revenue` decimal(10,0) NOT NULL,
  `margin` decimal(10,2) NOT NULL,
  `status` varchar(20) NOT NULL,
  PRIMARY KEY (`projectperiodid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectactualperiod`
--


--
-- Table structure for table `projectadjustments`
--

CREATE TABLE `projectadjustments` (
  `ac_id` int(11) NOT NULL AUTO_INCREMENT,
  `pgid` int(11) NOT NULL,
  `sector` varchar(100) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `comment` varchar(100) NOT NULL,
  `costed_by` varchar(100) NOT NULL,
  `approved` tinyint(1) NOT NULL,
  `approved_by` varchar(100) NOT NULL,
  PRIMARY KEY (`ac_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectadjustments`
--

INSERT INTO `projectadjustments` VALUES (1,1,'Project Manager',2000.00,'testing','sachin',0,''),(2,1,'Finance Team',500.00,'test3','sachin',0,'');

--
-- Table structure for table `projectattachments`
--

CREATE TABLE `projectattachments` (
  `projectattachid` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `name` varchar(20) NOT NULL,
  `file` blob NOT NULL,
  PRIMARY KEY (`projectattachid`),
  KEY `projectid` (`projectid`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectattachments`
--

INSERT INTO `projectattachments` VALUES (1,6,'',''),(2,21,'','Quote_MHCC_upgrade_sample.pdf'),(3,24,'Abhinesh','W2720-17_Peninsula_International_Hotel_FAS_FP1600_rev_2.xlsx'),(4,24,'Abhinesh','W2720-17_Peninsula_International_Hotel_FAS_FP1600_REV.pdf'),(5,24,'Abhinesh','Peninsula_LPO.pdf'),(6,31,'','Housing_Annual_Survey_Defects_FAS.doc'),(7,32,'Value City, Valelevu',''),(8,35,'','JOB_COSTING.csv'),(9,38,'',''),(10,42,'Holiday Inn',''),(11,35,'lawhill limited','jobcosting_36rp8xj4o5kww.csv'),(12,43,'',''),(13,44,'Shop N Save Nabua',''),(14,45,'ShopNSaveWarehsNabua','LPO215191ShopNSave.pdf'),(15,47,'AHCRes Hs#3 42RsrvRd',''),(16,48,'6 Waimate',''),(18,49,'Pacific Power Ass.','Inv_8870_PACIFIC_POWER_ASSOCIATION.pdf'),(19,50,'21 Burerua St',''),(20,51,'27 Salato',''),(21,52,'9 Vere Road',''),(22,52,'9 Vere',''),(23,53,'6 Waimate',''),(24,56,'FAS Costing Sheet','W3399-18_Burger_King_Suva_Central_Level_2_FAS_FE_SPK_383gowh6g0000.xlsx'),(25,56,'Quotation','W3399-18_Burger_King_Suva_Central_Level_2_FAS_FE_SPK.pdf'),(26,56,'LPO','LPO_Copy.pdf');

--
-- Table structure for table `projectcosting`
--

CREATE TABLE `projectcosting` (
  `pcid` int(11) NOT NULL AUTO_INCREMENT,
  `projectid` int(11) NOT NULL,
  `date` date NOT NULL,
  `name` varchar(100) NOT NULL,
  `gl_type` varchar(100) NOT NULL,
  `sales_gl` varchar(100) NOT NULL,
  `cogs_gl` varchar(100) NOT NULL,
  `budgeted_material` decimal(10,2) NOT NULL,
  `budgeted_labor` decimal(10,2) NOT NULL,
  `budgeted_others` decimal(10,2) NOT NULL,
  `budgeted_total_cost` decimal(10,2) NOT NULL,
  `contract_value` decimal(10,2) NOT NULL,
  `estimated_profit` decimal(10,2) NOT NULL,
  `contract_vip` decimal(10,2) NOT NULL,
  `notes` varchar(1000) NOT NULL,
  `status` varchar(100) NOT NULL,
  PRIMARY KEY (`pcid`),
  UNIQUE KEY `projectid` (`projectid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectcosting`
--


--
-- Table structure for table `projectcostingdetail`
--

CREATE TABLE `projectcostingdetail` (
  `projectcostingid` int(11) NOT NULL AUTO_INCREMENT,
  `pcid` int(11) NOT NULL,
  `cost_type` varchar(100) NOT NULL,
  `item_id` varchar(100) DEFAULT NULL,
  `item_details` varchar(1000) NOT NULL,
  `narrative` varchar(500) DEFAULT NULL,
  `unit_cost` decimal(10,2) NOT NULL,
  `qty` decimal(10,0) NOT NULL,
  `uom` varchar(20) NOT NULL,
  `total_cost` decimal(10,2) NOT NULL,
  `margin` decimal(10,2) NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `sales_gl` varchar(100) NOT NULL,
  `cogs_gl` varchar(100) NOT NULL,
  PRIMARY KEY (`projectcostingid`),
  KEY `projectid` (`pcid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectcostingdetail`
--


--
-- Table structure for table `projectcostingdetailbackup`
--

CREATE TABLE `projectcostingdetailbackup` (
  `projectcostingid` int(11) NOT NULL AUTO_INCREMENT,
  `pcid` int(11) NOT NULL,
  `cost_type` varchar(100) NOT NULL,
  `job_costing_sheet_category` char(6) NOT NULL,
  `product_details_nonstock` int(11) DEFAULT NULL,
  `nonstocknarrative` varchar(100) NOT NULL,
  `unit_price` int(11) DEFAULT NULL,
  `stock_details` varchar(20) NOT NULL,
  `stocknarrative` varchar(100) NOT NULL,
  `stock_unit_cost` varchar(20) NOT NULL,
  `other_description` varchar(100) NOT NULL,
  `other_cost` decimal(10,2) NOT NULL,
  `other_narrative` varchar(100) NOT NULL,
  `labor_type` varchar(100) DEFAULT NULL,
  `labor_rate` decimal(10,2) DEFAULT NULL,
  `qty` decimal(10,0) NOT NULL,
  `uom` varchar(20) NOT NULL,
  `total_cost` decimal(10,2) NOT NULL,
  `margin` decimal(10,2) NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `nonstockprice` decimal(10,2) NOT NULL,
  `stockprice` decimal(20,2) NOT NULL,
  `stockname` varchar(50) NOT NULL,
  `nonstockname` varchar(100) NOT NULL,
  PRIMARY KEY (`projectcostingid`),
  KEY `projectid` (`pcid`)
) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectcostingdetailbackup`
--

INSERT INTO `projectcostingdetailbackup` VALUES (1,1,'materials','ANAL',438,'Testing',438,'','','','',0.00,'','',0.00,5,'each',174.05,40.00,243.67,48.73,0.00,'','DHM-5B Deckhead Mount'),(3,4,'materials','CONVEN',8,'',8,'','','','',0.00,'','',0.00,10,'each',446.70,40.00,625.38,0.00,0.00,'',''),(4,3,'materials','RC',315,'',315,'','','0.00','',0.00,'','',0.00,0,'bag',0.00,50.00,0.00,0.00,0.00,'',''),(5,4,'materials','CONVEN',22,'',22,'','','0.00','',0.00,'','',0.00,10,'each',72.60,40.00,101.64,0.00,0.00,'',''),(8,6,'materials','',NULL,'',NULL,'','','0.00','',0.00,'','',0.00,0,'each',0.00,50.00,0.00,0.00,0.00,'',''),(11,1,'materials','FIRE-S',NULL,'',NULL,'03650D-1','Cabinet','03650D-1','',0.00,'','',0.00,2,'each',90.00,40.00,126.00,0.00,63.00,'FULL CABINET REEL C/',''),(13,1,'labour','',NULL,'',NULL,'','','','',0.00,'','4',25.00,7,'each',175.00,40.00,245.00,0.00,0.00,'',''),(14,2,'labour','',NULL,'',NULL,'','','','',0.00,'','3',17.50,320,'hours',5600.00,40.00,7840.00,0.00,0.00,'',''),(15,2,'materials','ANAL',328,'',328,'','','','',0.00,'',NULL,NULL,15,'each',1506.75,40.00,2109.45,140.63,0.00,'','MX Smoke Detector'),(16,2,'materials','ANAL',403,'',403,'','','','',0.00,'',NULL,NULL,30,'each',480.00,40.00,672.00,22.40,0.00,'','Standard 5 inch base Conventinal '),(17,2,'materials','ANAL',329,'',329,'','','','',0.00,'',NULL,NULL,15,'each',1175.85,40.00,1646.19,109.75,0.00,'','MX Heat Detector'),(18,2,'materials','ANAL',379,'',379,'','','','',0.00,'',NULL,NULL,5,'each',600.00,40.00,840.00,168.00,0.00,'','1.5MM 7/0.50 2 CORE CABLE tps red'),(19,2,'others','TRADE',142,'',142,'','','','',0.00,'',NULL,NULL,25,'each',141.25,40.00,197.75,7.91,0.00,'','25mm conduit'),(21,5,'materials','SEC',NULL,'',NULL,'100','testing','','CONTINGENCY',0.00,'',NULL,NULL,10,'each',0.00,40.00,0.00,0.00,0.00,'PARADOX PRO DETECTOR',''),(22,4,'labour','FIRE-S',NULL,'',NULL,'','','','',0.00,'','3',17.50,15,'hours',262.50,40.00,367.50,0.00,0.00,'',''),(23,5,'labour','',NULL,'',NULL,'','','','',0.00,'','3',17.50,4,'hours',70.00,40.00,98.00,0.00,0.00,'',''),(24,4,'materials','',NULL,'',NULL,'','','','',0.00,'',NULL,NULL,0,'each',0.00,40.00,0.00,0.00,0.00,'',''),(25,5,'materials','SEC',NULL,'',NULL,'10411MG','','','CONTINGENCY',0.00,'',NULL,NULL,5,'each',0.00,40.00,0.00,0.00,0.00,'MAGELIAN WIRELESS SENSOR',''),(26,5,'others','',NULL,'',NULL,'','','','CONTINGENCY',200.00,'',NULL,NULL,1,'each',200.00,40.00,280.00,0.00,0.00,'',''),(27,5,'others','',NULL,'',NULL,'','','','CONTINGENCY',0.00,'','1',150.00,5,'hours',750.00,40.00,1050.00,0.00,0.00,'',''),(28,3,'materials','SEC',NULL,'',NULL,'20307','','','CONTINGENCY',0.00,'',NULL,NULL,0,'each',0.00,40.00,0.00,0.00,0.00,'ELITE TERMINAL FOR 3000/4',''),(29,3,'materials','SEC',NULL,'',NULL,'65120','','65120','CONTINGENCY',0.00,'','3',17.50,1,'each',17.50,40.00,24.50,0.00,0.00,'SP5500 SMART PACK',''),(30,7,'materials','SEC-W',NULL,'Cables',NULL,'60100','QTY 4','','CONTINGENCY',0.00,'','3',17.50,2,'hours',35.00,40.00,49.00,0.00,0.00,'CABLE 4 CORE 2MM-100M',''),(31,9,'materials','FIRE-W',NULL,'',NULL,'2351E','Detectors','','CONTINGENCY',0.00,'',NULL,NULL,10,'each',0.00,40.00,0.00,0.00,0.00,'OPITCAL 300 SERIES SMOKE D',''),(32,9,'materials','',NULL,'',NULL,'','','','CONTINGENCY',0.00,'','3',17.50,90,'hours',1575.00,40.00,2205.00,0.00,0.00,'',''),(33,8,'materials','SEC-W',NULL,'',NULL,'ADCA5DWOC4RP','','ADCA5DWOC4RP','CONTINGENCY',0.00,'',NULL,NULL,0,'each',0.00,40.00,0.00,0.00,0.00,'18205 DISC500 700TVL OUTDO',''),(34,12,'materials','SEC',NULL,'none.',NULL,'65120','Returned items - 2 x DG Pro & 1 x Piezo','','CONTINGENCY',41.91,'','3',17.50,8,'hours',475.28,40.00,665.39,0.00,0.00,'SP5500 SMART PACK',''),(35,12,'materials','SEC',NULL,'',NULL,'100','to be excluded from pack','','CONTINGENCY',0.00,'',NULL,NULL,-2,'each',0.00,40.00,0.00,0.00,0.00,'PARADOX PRO DETECTOR',''),(36,12,'materials','SEC',NULL,'',NULL,'40200','to be excluded from pack.','','CONTINGENCY',0.00,'',NULL,NULL,-1,'each',0.00,40.00,0.00,0.00,0.00,'TOP HAT PIEZO',''),(37,14,'materials','SEC',NULL,'',NULL,'30202','','','CONTINGENCY',0.00,'',NULL,NULL,0,'each',0.00,40.00,0.00,0.00,0.00,'POSIPROX STD CARD',''),(38,16,'materials','CONVEN',5,'',5,'','','','CONTINGENCY',0.00,'','3',NULL,1,'each',1302.06,35.00,1757.78,1757.78,0.00,'','FRONT SERVICE PANEL FP1600'),(39,16,'materials','CONVEN',8,'',8,'','','','CONTINGENCY',0.00,'',NULL,NULL,160,'each',7147.20,35.00,9648.72,60.30,0.00,'','Smoke Detector  '),(40,16,'materials','CONVEN',22,'',22,'','','','CONTINGENCY',0.00,'',NULL,NULL,160,'each',1161.60,35.00,1568.16,9.80,0.00,'','B401 Base'),(41,16,'materials','CONVEN',9,'',9,'','','','CONTINGENCY',0.00,'',NULL,NULL,70,'each',2167.90,35.00,2926.67,41.81,0.00,'','Indi-VIGIL Blue Heat Detector'),(42,16,'materials','CONVEN',26,'',26,'','','','CONTINGENCY',0.00,'',NULL,NULL,21,'each',1204.77,35.00,1626.44,77.45,0.00,'','MCP Indicating Type Surface'),(43,16,'materials','CONVEN',32,'',32,'','','','CONTINGENCY',0.00,'',NULL,NULL,1,'each',374.50,35.00,505.58,505.58,0.00,'','T-Gen 50 24volts'),(44,16,'materials','CONVEN',38,'',38,'','','','CONTINGENCY',0.00,'',NULL,NULL,1,'each',114.88,35.00,155.09,155.09,0.00,'','Hand Held Microphone T Gen 50'),(45,16,'materials','CONVEN',40,'',40,'','','','CONTINGENCY',0.00,'',NULL,NULL,1,'each',584.25,35.00,788.74,788.74,0.00,'','Power Supply 12V/24volts'),(46,16,'materials','CONVEN',43,'',43,'','','','CONTINGENCY',0.00,'',NULL,NULL,21,'each',1355.55,35.00,1829.99,87.14,0.00,'','Horn speaker'),(47,16,'materials','CONVEN',45,'',45,'','','','CONTINGENCY',0.00,'',NULL,NULL,3,'each',96.57,35.00,130.37,43.46,0.00,'','Speakers'),(48,16,'materials','CONVEN',46,'',46,'','','','CONTINGENCY',0.00,'',NULL,NULL,1,'each',83.34,35.00,112.51,112.51,0.00,'','External Fire Alarm Strobe'),(49,16,'materials','CONVEN',52,'',52,'','','','CONTINGENCY',0.00,'',NULL,NULL,3,'each',136.71,35.00,184.56,61.52,0.00,'','12V 6.5 AMP BATTERY'),(50,16,'materials','CONVEN',66,'',66,'','','','CONTINGENCY',0.00,'',NULL,NULL,30,'each',3600.00,35.00,4860.00,162.00,0.00,'','1.5MM 7/0.50 2 CORE CABLE tps red'),(51,16,'materials','CONVEN',67,'',67,'','','','CONTINGENCY',0.00,'',NULL,NULL,18,'each',3564.00,35.00,4811.40,267.30,0.00,'','2.5MM 7/0.67 PVC TPS CABLE tps red'),(52,16,'labour','CONVEN',NULL,'',NULL,'','','','CONTINGENCY',0.00,'','3',17.50,600,'hours',10500.00,35.00,14175.00,0.00,0.00,'',''),(53,16,'others','CONVEN',NULL,'',NULL,'','','','VEHICLE',330.00,'',NULL,NULL,1,'each',330.00,35.00,445.50,0.00,0.00,'',''),(54,16,'others','CONVEN',NULL,'',NULL,'','','','OTHER',2500.00,'',NULL,NULL,1,'each',2500.00,35.00,3375.00,0.00,0.00,'',''),(55,16,'others','CONVEN',NULL,'',NULL,'','','','SHROULD',800.00,'',NULL,NULL,1,'each',800.00,35.00,1080.00,0.00,0.00,'',''),(56,16,'others','CONVEN',NULL,'',NULL,'','','','INDEX ENGRAVING',250.00,'',NULL,NULL,1,'each',250.00,35.00,337.50,0.00,0.00,'',''),(57,16,'others','CONVEN',NULL,'',NULL,'','','','CONTINGENCY',1300.00,'',NULL,NULL,1,'each',1300.00,35.00,1755.00,0.00,0.00,'',''),(58,16,'others','CONVEN',NULL,'',NULL,'','','','FPIS INSPECTION/ICONZ',200.00,'',NULL,NULL,1,'each',200.00,35.00,270.00,0.00,0.00,'','');

--
-- Table structure for table `projectcostingdetaillabor`
--

CREATE TABLE `projectcostingdetaillabor` (
  `pclaborid` int(11) NOT NULL AUTO_INCREMENT,
  `pcid` int(11) NOT NULL,
  `labortypeid` tinyint(4) NOT NULL,
  `rate` decimal(10,2) NOT NULL,
  `hours` decimal(10,0) NOT NULL,
  `total_labor` decimal(10,2) NOT NULL,
  `margin` decimal(10,2) NOT NULL,
  `labor_price` decimal(10,2) NOT NULL,
  PRIMARY KEY (`pclaborid`),
  KEY `projectid` (`pcid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectcostingdetaillabor`
--

INSERT INTO `projectcostingdetaillabor` VALUES (1,1,1,150.00,2,300.00,40.00,420.00),(2,2,3,17.50,16,280.00,50.00,420.00),(3,3,2,50.00,30,1500.00,40.00,2100.00),(4,5,3,17.50,80,1400.00,40.00,1960.00),(5,4,3,17.50,45,787.50,40.00,1102.50);

--
-- Table structure for table `projectdetails`
--

CREATE TABLE `projectdetails` (
  `projectid` int(11) NOT NULL AUTO_INCREMENT,
  `project_type` varchar(100) NOT NULL,
  `date` date NOT NULL,
  `prospectid` int(11) NOT NULL,
  `project_name` varchar(100) NOT NULL,
  `description` text NOT NULL,
  `employees_allocated` text NOT NULL,
  `customer` varchar(10) NOT NULL,
  `branch` varchar(100) DEFAULT NULL,
  `account_number` varchar(100) NOT NULL,
  `sys_account_number` int(11) DEFAULT NULL,
  `department` varchar(100) NOT NULL,
  `purchase_order` varchar(100) NOT NULL,
  `contact_person` varchar(20) NOT NULL,
  `contact_number` varchar(20) NOT NULL,
  `project_manager` varchar(20) NOT NULL,
  `required_date` date NOT NULL,
  `retention_rate` decimal(10,2) NOT NULL,
  `tender_close_date` date DEFAULT NULL,
  `start_date` date NOT NULL,
  `age` decimal(10,2) NOT NULL,
  `comments` text NOT NULL,
  `reviewers_comments` text NOT NULL,
  `status` varchar(20) NOT NULL,
  `managed_by` varchar(100) DEFAULT NULL,
  `completed` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`projectid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectdetails`
--


--
-- Table structure for table `projectdetailsreports`
--

CREATE TABLE `projectdetailsreports` (
  `projectid` int(11) NOT NULL AUTO_INCREMENT,
  `budgeted_labor` decimal(10,2) NOT NULL,
  `budgeted_material` decimal(10,2) NOT NULL,
  `budgeted_others` decimal(10,2) NOT NULL,
  `budgeted_total_cost` decimal(10,2) NOT NULL,
  `budgeted_total_price` decimal(10,2) NOT NULL,
  `budgeted_profit` decimal(10,2) NOT NULL,
  `margin` decimal(10,2) NOT NULL,
  `actual_labor_cost` decimal(10,2) NOT NULL,
  `actual_material_cost` decimal(10,2) NOT NULL,
  `actual_other_cost` decimal(10,2) NOT NULL,
  `actual_total_cost` decimal(10,2) NOT NULL,
  `estimate_ctc_project_manager` decimal(10,2) NOT NULL,
  `estimate_ctc_accs` decimal(10,2) NOT NULL,
  `estimate_ctc_total` decimal(10,2) NOT NULL,
  `estimate_final_cost` decimal(10,2) NOT NULL,
  `variance_estimate_finalcost_to_buget` decimal(10,2) NOT NULL,
  `estimate_final_profit` decimal(10,2) NOT NULL,
  `estimate_gp` decimal(10,2) NOT NULL,
  `profit_taken_up_to_date` decimal(10,2) NOT NULL,
  `wip_crosscheck` decimal(10,2) NOT NULL,
  `profit_to_come` decimal(10,2) NOT NULL,
  `invoiced` decimal(10,2) NOT NULL,
  `invoicing_to_come` decimal(10,2) NOT NULL,
  `nett_wip` decimal(10,2) NOT NULL,
  `labor_usage` decimal(10,0) NOT NULL,
  `material_usage` decimal(10,0) NOT NULL,
  `others_usage` decimal(10,0) NOT NULL,
  `sales_taken_up` decimal(10,2) NOT NULL,
  `cos_taken_up` decimal(10,2) NOT NULL,
  `profit_taken_up` decimal(10,2) NOT NULL,
  `ctc_invoiced` decimal(10,0) NOT NULL,
  `actual_cost_spent_against_est_final_cost` decimal(10,0) NOT NULL,
  `sales_based_on_cost_spent` decimal(10,0) NOT NULL,
  `cos_based_on_ctc` decimal(10,0) NOT NULL,
  `gm_based_on_ctc` decimal(10,0) NOT NULL,
  `sales_taken_upto_date` decimal(10,2) NOT NULL,
  `cos_taken_upto_date` decimal(10,2) NOT NULL,
  `gm_taken_upto_date` decimal(10,2) NOT NULL,
  `cd_taken_upto_date` decimal(10,2) NOT NULL,
  `sales_to_be_taken_up` decimal(10,2) NOT NULL,
  `cos_to_be_taken_up` decimal(10,2) NOT NULL,
  `gm_to_be_taken_up` decimal(10,2) NOT NULL,
  `cd_to_be_taken_up` decimal(10,2) NOT NULL,
  `sales_progress` decimal(10,2) NOT NULL,
  `cos_progress` decimal(10,2) NOT NULL,
  `profit_or_loss_progress` decimal(10,2) NOT NULL,
  `cd_progress` decimal(10,2) NOT NULL,
  `progress_ratio` decimal(10,2) NOT NULL,
  PRIMARY KEY (`projectid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `projectdetailsreports`
--

INSERT INTO `projectdetailsreports` VALUES (2,750.00,1394.00,0.00,2144.00,3366.67,1346.67,40.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0.00,0,0,0,0,0,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00);

--
-- Table structure for table `prospect_notes`
--

CREATE TABLE `prospect_notes` (
  `notes_id` int(11) NOT NULL AUTO_INCREMENT,
  `prospectid` int(11) NOT NULL,
  `date` date NOT NULL,
  `notes` varchar(100) NOT NULL,
  PRIMARY KEY (`notes_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `prospect_notes`
--


--
-- Table structure for table `prospect_stages`
--

CREATE TABLE `prospect_stages` (
  `stage_id` int(11) NOT NULL AUTO_INCREMENT,
  `prospectid` int(11) NOT NULL,
  `date` date NOT NULL,
  `name` varchar(100) NOT NULL,
  `phase_name` varchar(100) NOT NULL,
  `duration_days` int(11) NOT NULL,
  PRIMARY KEY (`stage_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `prospect_stages`
--

INSERT INTO `prospect_stages` VALUES (1,1,'2019-05-01','First meetings','Meeting',3);

--
-- Table structure for table `prospecting`
--

CREATE TABLE `prospecting` (
  `prospectid` tinyint(4) NOT NULL AUTO_INCREMENT,
  `date_entered` date NOT NULL,
  `customer` int(11) NOT NULL,
  `business_name` varchar(100) CHARACTER SET utf8 NOT NULL,
  `contact_person` varchar(100) CHARACTER SET utf8 NOT NULL,
  `phone` int(11) NOT NULL,
  `mobile` int(11) NOT NULL,
  `email` varchar(100) CHARACTER SET utf8 NOT NULL,
  `address` varchar(100) CHARACTER SET utf8 NOT NULL,
  `suburb` varchar(100) CHARACTER SET utf8 NOT NULL,
  `department` int(11) NOT NULL,
  `products_interested_in` varchar(100) CHARACTER SET utf8 NOT NULL,
  `probability_of_conversion` varchar(100) CHARACTER SET utf8 NOT NULL,
  `phases` varchar(100) CHARACTER SET utf8 NOT NULL,
  `deal_value` decimal(10,2) NOT NULL,
  `lead_source` varchar(100) NOT NULL,
  `prospect_type` varchar(100) NOT NULL,
  `revenue_projection_date` date NOT NULL,
  `margin` decimal(10,2) NOT NULL DEFAULT '0.00',
  `jan_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `feb_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `mar_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `apr_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `may_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `jun_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `jul_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `aug_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `sept_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `oct_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `nov_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `dec_projection` decimal(10,2) NOT NULL DEFAULT '0.00',
  `cy_total_year1` decimal(10,2) NOT NULL DEFAULT '0.00',
  `cy_total_year2` decimal(10,2) NOT NULL DEFAULT '0.00',
  `cy_total_year3` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tender_close_date` date NOT NULL,
  PRIMARY KEY (`prospectid`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `prospecting`
--

INSERT INTO `prospecting` VALUES (1,'2016-07-12',383,'Westpac Bank-suva headoffice','Mr something',3311664,9223300,'info@westpac.com.au','main street','Suva',18,'Cameras with  monitoring','60%','Discussion',10000000.00,'Existing Customer','','2016-08-10',0.30,0.00,0.00,0.00,0.00,0.00,0.00,0.00,50000.00,30000.00,30000.00,30000.00,30000.00,170000.00,340000.00,340000.00,'0000-00-00'),(2,'2016-07-13',0,'ANZ bank','Happy Smitch',3213000,9996850,'happy@anz.com.au','kalabo','Valelevu',18,'Security Seal Chambers','40%','Negotiating',25000000.00,'Networking Events','','2017-01-03',0.20,70000.00,70000.00,70000.00,70000.00,70000.00,70000.00,70000.00,70000.00,70000.00,70000.00,70000.00,70000.00,840000.00,1680000.00,2520000.00,'0000-00-00'),(3,'2019-05-13',0,'Capital Insurance','Tevita',0,0,'','','',6,'','','Lead',25000.00,'facebook','','0000-00-00',0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'0000-00-00'),(4,'2019-01-02',1996,'Suva Campus','',0,0,'','','',6,'','','Tender Won',3000000.00,'Existing Customer','Tender','0000-00-00',0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'0000-00-00'),(5,'2019-05-03',0,'New customer test','test',9223300,0,'','','sachinebusiness@gmail.com',11,'','','Discussion',2500.00,'facebook','General','0000-00-00',0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'0000-00-00'),(6,'2019-05-29',2052,'WALT SMITH - LAUTOKA','DEB',0,0,'','','LAUTOKA',10,'','','Discussion',0.00,'Existing Customer','General','0000-00-00',0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'0000-00-00');

--
-- Table structure for table `provisional_tax_management`
--

CREATE TABLE `provisional_tax_management` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `name` varchar(100) NOT NULL,
  `invoice` varchar(100) NOT NULL,
  `invoice_amount` decimal(10,2) NOT NULL,
  `ptax` decimal(10,2) NOT NULL,
  `comment` varchar(200) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `provisional_tax_management`
--

INSERT INTO `provisional_tax_management` VALUES (1,'2017-12-18','612','3454',4.50,0.23,''),(2,'0000-00-00','383','3443',53376.00,2448.44,'');

--
-- Table structure for table `provisional_tax_management_manual`
--

CREATE TABLE `provisional_tax_management_manual` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `name` varchar(100) NOT NULL,
  `invoice` varchar(100) NOT NULL,
  `invoice_amount` decimal(10,2) NOT NULL,
  `ptax` decimal(10,2) NOT NULL,
  `comment` varchar(200) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `provisional_tax_management_manual`
--

INSERT INTO `provisional_tax_management_manual` VALUES (1,'2017-10-30','433','6678',23.70,1.19,'');

--
-- Table structure for table `publicholidaycalender`
--

CREATE TABLE `publicholidaycalender` (
  `id` tinyint(4) NOT NULL AUTO_INCREMENT,
  `ocassion` varchar(100) NOT NULL,
  `date` date NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `publicholidaycalender`
--

INSERT INTO `publicholidaycalender` VALUES (1,'New YearÔÇÖs Day','2017-01-02'),(2,'Good Friday','2017-04-14'),(3,'Easter Saturday','2017-04-15'),(4,'Easter Monday','2017-04-17'),(5,'National Sports Day','2017-06-30'),(6,'Constitution Day','2017-09-07'),(7,'Fiji Day','2017-10-10'),(8,'Diwali','2017-10-19'),(9,'Prophet MohammedÔÇÖs Birthday','2017-12-04'),(10,'Christmas Day','2017-12-25'),(11,'Boxing Day','2017-12-26');

--
-- Table structure for table `purchdata`
--

CREATE TABLE `purchdata` (
  `supplierno` char(10) NOT NULL DEFAULT '',
  `stockid` char(20) NOT NULL DEFAULT '',
  `price` decimal(20,4) NOT NULL DEFAULT '0.0000',
  `suppliersuom` char(50) NOT NULL DEFAULT '',
  `conversionfactor` double NOT NULL DEFAULT '1',
  `supplierdescription` char(50) NOT NULL DEFAULT '',
  `leadtime` smallint(6) NOT NULL DEFAULT '1',
  `preferred` tinyint(4) NOT NULL DEFAULT '0',
  `effectivefrom` date NOT NULL,
  `suppliers_partno` varchar(50) NOT NULL DEFAULT '',
  `minorderqty` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`supplierno`,`stockid`,`effectivefrom`),
  KEY `StockID` (`stockid`),
  KEY `SupplierNo` (`supplierno`),
  KEY `Preferred` (`preferred`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `purchdata`
--


--
-- Table structure for table `purchorderauth`
--

CREATE TABLE `purchorderauth` (
  `userid` varchar(20) NOT NULL DEFAULT '',
  `currabrev` char(3) NOT NULL DEFAULT '',
  `cancreate` smallint(2) NOT NULL DEFAULT '0',
  `authlevel` double NOT NULL DEFAULT '0',
  `offhold` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`userid`,`currabrev`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `purchorderauth`
--

INSERT INTO `purchorderauth` VALUES ('admin','FJD',0,10000,0),('akumar','FJD',0,0,0);

--
-- Table structure for table `purchorderdetails`
--

CREATE TABLE `purchorderdetails` (
  `podetailitem` int(11) NOT NULL AUTO_INCREMENT,
  `orderno` int(11) NOT NULL DEFAULT '0',
  `itemcode` varchar(20) NOT NULL DEFAULT '0',
  `deliverydate` date NOT NULL DEFAULT '0000-00-00',
  `itemdescription` varchar(100) NOT NULL,
  `glcode` varchar(20) NOT NULL DEFAULT '0',
  `qtyinvoiced` double NOT NULL DEFAULT '0',
  `unitprice` double NOT NULL DEFAULT '0',
  `actprice` double NOT NULL DEFAULT '0',
  `stdcostunit` double NOT NULL DEFAULT '0',
  `quantityord` double NOT NULL DEFAULT '0',
  `quantityrecd` double NOT NULL DEFAULT '0',
  `shiptref` int(11) NOT NULL DEFAULT '0',
  `jobref` varchar(20) NOT NULL DEFAULT '',
  `completed` tinyint(4) NOT NULL DEFAULT '0',
  `suppliersunit` varchar(50) DEFAULT NULL,
  `suppliers_partno` varchar(50) NOT NULL DEFAULT '',
  `assetid` int(11) NOT NULL DEFAULT '0',
  `conversionfactor` double NOT NULL DEFAULT '1',
  PRIMARY KEY (`podetailitem`),
  KEY `DeliveryDate` (`deliverydate`),
  KEY `GLCode` (`glcode`),
  KEY `ItemCode` (`itemcode`),
  KEY `JobRef` (`jobref`),
  KEY `OrderNo` (`orderno`),
  KEY `ShiptRef` (`shiptref`),
  KEY `Completed` (`completed`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `purchorderdetails`
--


--
-- Table structure for table `purchorders`
--

CREATE TABLE `purchorders` (
  `orderno` int(11) NOT NULL AUTO_INCREMENT,
  `supplierno` varchar(10) NOT NULL DEFAULT '',
  `comments` longblob,
  `orddate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `rate` double NOT NULL DEFAULT '1',
  `dateprinted` datetime DEFAULT NULL,
  `allowprint` tinyint(4) NOT NULL DEFAULT '1',
  `initiator` varchar(20) DEFAULT NULL,
  `requisitionno` varchar(15) DEFAULT NULL,
  `intostocklocation` varchar(5) NOT NULL DEFAULT '',
  `deladd1` varchar(40) NOT NULL DEFAULT '',
  `deladd2` varchar(40) NOT NULL DEFAULT '',
  `deladd3` varchar(40) NOT NULL DEFAULT '',
  `deladd4` varchar(40) NOT NULL DEFAULT '',
  `deladd5` varchar(20) NOT NULL DEFAULT '',
  `deladd6` varchar(15) NOT NULL DEFAULT '',
  `tel` varchar(30) NOT NULL DEFAULT '',
  `suppdeladdress1` varchar(40) NOT NULL DEFAULT '',
  `suppdeladdress2` varchar(40) NOT NULL DEFAULT '',
  `suppdeladdress3` varchar(40) NOT NULL DEFAULT '',
  `suppdeladdress4` varchar(40) NOT NULL DEFAULT '',
  `suppdeladdress5` varchar(20) NOT NULL DEFAULT '',
  `suppdeladdress6` varchar(15) NOT NULL DEFAULT '',
  `suppliercontact` varchar(30) NOT NULL DEFAULT '',
  `supptel` varchar(30) NOT NULL DEFAULT '',
  `contact` varchar(30) NOT NULL DEFAULT '',
  `version` decimal(3,2) NOT NULL DEFAULT '1.00',
  `revised` date NOT NULL DEFAULT '0000-00-00',
  `realorderno` varchar(16) NOT NULL DEFAULT '',
  `deliveryby` varchar(100) NOT NULL DEFAULT '',
  `deliverydate` date NOT NULL DEFAULT '0000-00-00',
  `status` varchar(12) NOT NULL DEFAULT '',
  `stat_comment` text NOT NULL,
  `paymentterms` char(2) NOT NULL DEFAULT '',
  `port` varchar(40) NOT NULL DEFAULT '',
  `projectid` tinyint(4) NOT NULL,
  `projectperiodid` tinyint(4) NOT NULL,
  `department` varchar(100) NOT NULL,
  PRIMARY KEY (`orderno`),
  KEY `OrdDate` (`orddate`),
  KEY `SupplierNo` (`supplierno`),
  KEY `IntoStockLocation` (`intostocklocation`),
  KEY `AllowPrintPO` (`allowprint`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `purchorders`
--


--
-- Table structure for table `qasamples`
--

CREATE TABLE `qasamples` (
  `sampleid` int(11) NOT NULL AUTO_INCREMENT,
  `prodspeckey` varchar(25) NOT NULL DEFAULT '',
  `lotkey` varchar(25) NOT NULL DEFAULT '',
  `identifier` varchar(10) NOT NULL DEFAULT '',
  `createdby` varchar(15) NOT NULL DEFAULT '',
  `sampledate` date NOT NULL DEFAULT '0000-00-00',
  `comments` varchar(255) NOT NULL DEFAULT '',
  `cert` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`sampleid`),
  KEY `prodspeckey` (`prodspeckey`,`lotkey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `qasamples`
--


--
-- Table structure for table `qatests`
--

CREATE TABLE `qatests` (
  `testid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `method` varchar(20) DEFAULT NULL,
  `groupby` varchar(20) DEFAULT NULL,
  `units` varchar(20) NOT NULL,
  `type` varchar(15) NOT NULL,
  `defaultvalue` varchar(150) NOT NULL DEFAULT '''''',
  `numericvalue` tinyint(4) NOT NULL DEFAULT '0',
  `showoncert` int(11) NOT NULL DEFAULT '1',
  `showonspec` int(11) NOT NULL DEFAULT '1',
  `showontestplan` tinyint(4) NOT NULL DEFAULT '1',
  `active` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`testid`),
  KEY `name` (`name`),
  KEY `groupname` (`groupby`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `qatests`
--


--
-- Table structure for table `quickpay_bank`
--

CREATE TABLE `quickpay_bank` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `bank_name` varchar(100) NOT NULL,
  `code` int(2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quickpay_bank`
--

INSERT INTO `quickpay_bank` VALUES (1,'Westpac',3),(2,'ANZ',9),(3,'Bank of South Pacific',7),(4,'Bank of Baroda',5),(5,'BRED Bank',11);

--
-- Table structure for table `quickpay_bank_branch`
--

CREATE TABLE `quickpay_bank_branch` (
  `branch_id` int(11) NOT NULL AUTO_INCREMENT,
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `code` int(3) NOT NULL,
  PRIMARY KEY (`branch_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quickpay_bank_branch`
--


--
-- Table structure for table `quickpay_batchnumbers`
--

CREATE TABLE `quickpay_batchnumbers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `batchtype` int(11) NOT NULL,
  `batch_#` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quickpay_batchnumbers`
--

INSERT INTO `quickpay_batchnumbers` VALUES (1,1,201),(2,1,202),(3,1,203),(4,1,204),(5,1,205),(6,1,206),(7,1,207),(8,1,208),(9,1,209),(10,1,210),(11,2,211),(12,2,212),(13,2,213),(14,2,214),(15,2,215),(16,2,216),(17,2,217),(18,2,218),(19,2,219),(20,2,220),(21,3,221),(22,3,222),(23,3,223),(24,3,224),(25,3,225),(26,3,226),(27,3,227),(28,3,228),(29,3,229),(30,3,230),(31,4,231),(32,4,232),(33,4,233),(34,4,234),(35,4,235),(36,4,236),(37,4,237),(38,4,238),(39,4,239),(40,4,240),(41,5,241),(42,5,242),(43,5,243),(44,5,244),(45,5,245),(46,5,246),(47,5,247),(48,5,248),(49,5,249),(50,5,250),(51,6,251),(52,6,252),(53,6,253),(54,6,254),(55,6,255),(56,6,256),(57,6,257),(58,6,258),(59,6,259),(60,6,260);

--
-- Table structure for table `quickpay_batchtype`
--

CREATE TABLE `quickpay_batchtype` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quickpay_batchtype`
--

INSERT INTO `quickpay_batchtype` VALUES (1,'Weekly pays'),(2,'Fortnightly pays'),(3,'Monthly pays'),(4,'Casual/Temp pays'),(5,'Bonus Pays'),(6,'Other');

--
-- Table structure for table `recurringsalesorders`
--

CREATE TABLE `recurringsalesorders` (
  `recurrorderno` int(11) NOT NULL,
  `debtorno` varchar(10) NOT NULL DEFAULT '',
  `branchcode` varchar(10) NOT NULL DEFAULT '',
  `customerref` varchar(50) NOT NULL DEFAULT '',
  `buyername` varchar(50) DEFAULT NULL,
  `comments` longblob,
  `orddate` date NOT NULL DEFAULT '0000-00-00',
  `ordertype` char(2) NOT NULL DEFAULT '',
  `shipvia` int(11) NOT NULL DEFAULT '0',
  `deladd1` varchar(40) NOT NULL DEFAULT '',
  `deladd2` varchar(40) NOT NULL DEFAULT '',
  `deladd3` varchar(40) NOT NULL DEFAULT '',
  `deladd4` varchar(40) DEFAULT NULL,
  `deladd5` varchar(20) NOT NULL DEFAULT '',
  `deladd6` varchar(15) NOT NULL DEFAULT '',
  `contactphone` varchar(25) DEFAULT NULL,
  `contactemail` varchar(25) DEFAULT NULL,
  `deliverto` varchar(40) NOT NULL DEFAULT '',
  `freightcost` double NOT NULL DEFAULT '0',
  `fromstkloc` varchar(5) NOT NULL DEFAULT '',
  `lastrecurrence` date NOT NULL DEFAULT '0000-00-00',
  `stopdate` date NOT NULL DEFAULT '0000-00-00',
  `frequency` tinyint(4) NOT NULL DEFAULT '1',
  `autoinvoice` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`recurrorderno`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `recurringsalesorders`
--


--
-- Table structure for table `recurrsalesorderdetails`
--

CREATE TABLE `recurrsalesorderdetails` (
  `recurrorderno` int(11) NOT NULL DEFAULT '0',
  `stkcode` varchar(20) NOT NULL DEFAULT '',
  `unitprice` double NOT NULL DEFAULT '0',
  `quantity` double NOT NULL DEFAULT '0',
  `discountpercent` double NOT NULL DEFAULT '0',
  `narrative` text NOT NULL,
  KEY `orderno` (`recurrorderno`),
  KEY `stkcode` (`stkcode`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `recurrsalesorderdetails`
--


--
-- Table structure for table `relateditems`
--

CREATE TABLE `relateditems` (
  `stockid` varchar(20) CHARACTER SET utf8 NOT NULL,
  `related` varchar(20) CHARACTER SET utf8 NOT NULL,
  PRIMARY KEY (`stockid`,`related`),
  UNIQUE KEY `Related` (`related`,`stockid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `relateditems`
--


--
-- Table structure for table `reportcolumns`
--

CREATE TABLE `reportcolumns` (
  `reportid` smallint(6) NOT NULL DEFAULT '0',
  `colno` smallint(6) NOT NULL DEFAULT '0',
  `heading1` varchar(15) NOT NULL DEFAULT '',
  `heading2` varchar(15) DEFAULT NULL,
  `calculation` tinyint(1) NOT NULL DEFAULT '0',
  `periodfrom` smallint(6) DEFAULT NULL,
  `periodto` smallint(6) DEFAULT NULL,
  `datatype` varchar(15) DEFAULT NULL,
  `colnumerator` tinyint(4) DEFAULT NULL,
  `coldenominator` tinyint(4) DEFAULT NULL,
  `calcoperator` char(1) DEFAULT NULL,
  `budgetoractual` tinyint(1) NOT NULL DEFAULT '0',
  `valformat` char(1) NOT NULL DEFAULT 'N',
  `constant` double NOT NULL DEFAULT '0',
  PRIMARY KEY (`reportid`,`colno`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `reportcolumns`
--


--
-- Table structure for table `reportfields`
--

CREATE TABLE `reportfields` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `reportid` int(5) NOT NULL DEFAULT '0',
  `entrytype` varchar(15) NOT NULL DEFAULT '',
  `seqnum` int(3) NOT NULL DEFAULT '0',
  `fieldname` varchar(80) NOT NULL DEFAULT '',
  `displaydesc` varchar(25) NOT NULL DEFAULT '',
  `visible` enum('1','0') NOT NULL DEFAULT '1',
  `columnbreak` enum('1','0') NOT NULL DEFAULT '1',
  `params` text,
  PRIMARY KEY (`id`),
  KEY `reportid` (`reportid`)
) ENGINE=MyISAM AUTO_INCREMENT=1805 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `reportfields`
--


--
-- Table structure for table `reportheaders`
--

CREATE TABLE `reportheaders` (
  `reportid` smallint(6) NOT NULL AUTO_INCREMENT,
  `reportheading` varchar(80) NOT NULL DEFAULT '',
  `groupbydata1` varchar(15) NOT NULL DEFAULT '',
  `newpageafter1` tinyint(1) NOT NULL DEFAULT '0',
  `lower1` varchar(10) NOT NULL DEFAULT '',
  `upper1` varchar(10) NOT NULL DEFAULT '',
  `groupbydata2` varchar(15) DEFAULT NULL,
  `newpageafter2` tinyint(1) NOT NULL DEFAULT '0',
  `lower2` varchar(10) DEFAULT NULL,
  `upper2` varchar(10) DEFAULT NULL,
  `groupbydata3` varchar(15) DEFAULT NULL,
  `newpageafter3` tinyint(1) NOT NULL DEFAULT '0',
  `lower3` varchar(10) DEFAULT NULL,
  `upper3` varchar(10) DEFAULT NULL,
  `groupbydata4` varchar(15) NOT NULL DEFAULT '',
  `newpageafter4` tinyint(1) NOT NULL DEFAULT '0',
  `upper4` varchar(10) NOT NULL DEFAULT '',
  `lower4` varchar(10) NOT NULL DEFAULT '',
  PRIMARY KEY (`reportid`),
  KEY `ReportHeading` (`reportheading`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `reportheaders`
--


--
-- Table structure for table `reportlinks`
--

CREATE TABLE `reportlinks` (
  `table1` varchar(25) NOT NULL DEFAULT '',
  `table2` varchar(25) NOT NULL DEFAULT '',
  `equation` varchar(75) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `reportlinks`
--

INSERT INTO `reportlinks` VALUES ('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation'),('accountgroups','accountsection','accountgroups.sectioninaccounts=accountsection.sectionid'),('accountsection','accountgroups','accountsection.sectionid=accountgroups.sectioninaccounts'),('bankaccounts','chartmaster','bankaccounts.accountcode=chartmaster.accountcode'),('chartmaster','bankaccounts','chartmaster.accountcode=bankaccounts.accountcode'),('banktrans','systypes','banktrans.type=systypes.typeid'),('systypes','banktrans','systypes.typeid=banktrans.type'),('banktrans','bankaccounts','banktrans.bankact=bankaccounts.accountcode'),('bankaccounts','banktrans','bankaccounts.accountcode=banktrans.bankact'),('bom','stockmaster','bom.parent=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.parent'),('bom','stockmaster','bom.component=stockmaster.stockid'),('stockmaster','bom','stockmaster.stockid=bom.component'),('bom','workcentres','bom.workcentreadded=workcentres.code'),('workcentres','bom','workcentres.code=bom.workcentreadded'),('bom','locations','bom.loccode=locations.loccode'),('locations','bom','locations.loccode=bom.loccode'),('buckets','workcentres','buckets.workcentre=workcentres.code'),('workcentres','buckets','workcentres.code=buckets.workcentre'),('chartdetails','chartmaster','chartdetails.accountcode=chartmaster.accountcode'),('chartmaster','chartdetails','chartmaster.accountcode=chartdetails.accountcode'),('chartdetails','periods','chartdetails.period=periods.periodno'),('periods','chartdetails','periods.periodno=chartdetails.period'),('chartmaster','accountgroups','chartmaster.group_=accountgroups.groupname'),('accountgroups','chartmaster','accountgroups.groupname=chartmaster.group_'),('contractbom','workcentres','contractbom.workcentreadded=workcentres.code'),('workcentres','contractbom','workcentres.code=contractbom.workcentreadded'),('contractbom','locations','contractbom.loccode=locations.loccode'),('locations','contractbom','locations.loccode=contractbom.loccode'),('contractbom','stockmaster','contractbom.component=stockmaster.stockid'),('stockmaster','contractbom','stockmaster.stockid=contractbom.component'),('contractreqts','contracts','contractreqts.contract=contracts.contractref'),('contracts','contractreqts','contracts.contractref=contractreqts.contract'),('contracts','custbranch','contracts.debtorno=custbranch.debtorno'),('custbranch','contracts','custbranch.debtorno=contracts.debtorno'),('contracts','stockcategory','contracts.branchcode=stockcategory.categoryid'),('stockcategory','contracts','stockcategory.categoryid=contracts.branchcode'),('contracts','salestypes','contracts.typeabbrev=salestypes.typeabbrev'),('salestypes','contracts','salestypes.typeabbrev=contracts.typeabbrev'),('custallocns','debtortrans','custallocns.transid_allocfrom=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocfrom'),('custallocns','debtortrans','custallocns.transid_allocto=debtortrans.id'),('debtortrans','custallocns','debtortrans.id=custallocns.transid_allocto'),('custbranch','debtorsmaster','custbranch.debtorno=debtorsmaster.debtorno'),('debtorsmaster','custbranch','debtorsmaster.debtorno=custbranch.debtorno'),('custbranch','areas','custbranch.area=areas.areacode'),('areas','custbranch','areas.areacode=custbranch.area'),('custbranch','salesman','custbranch.salesman=salesman.salesmancode'),('salesman','custbranch','salesman.salesmancode=custbranch.salesman'),('custbranch','locations','custbranch.defaultlocation=locations.loccode'),('locations','custbranch','locations.loccode=custbranch.defaultlocation'),('custbranch','shippers','custbranch.defaultshipvia=shippers.shipper_id'),('shippers','custbranch','shippers.shipper_id=custbranch.defaultshipvia'),('debtorsmaster','holdreasons','debtorsmaster.holdreason=holdreasons.reasoncode'),('holdreasons','debtorsmaster','holdreasons.reasoncode=debtorsmaster.holdreason'),('debtorsmaster','currencies','debtorsmaster.currcode=currencies.currabrev'),('currencies','debtorsmaster','currencies.currabrev=debtorsmaster.currcode'),('debtorsmaster','paymentterms','debtorsmaster.paymentterms=paymentterms.termsindicator'),('paymentterms','debtorsmaster','paymentterms.termsindicator=debtorsmaster.paymentterms'),('debtorsmaster','salestypes','debtorsmaster.salestype=salestypes.typeabbrev'),('salestypes','debtorsmaster','salestypes.typeabbrev=debtorsmaster.salestype'),('debtortrans','custbranch','debtortrans.debtorno=custbranch.debtorno'),('custbranch','debtortrans','custbranch.debtorno=debtortrans.debtorno'),('debtortrans','systypes','debtortrans.type=systypes.typeid'),('systypes','debtortrans','systypes.typeid=debtortrans.type'),('debtortrans','periods','debtortrans.prd=periods.periodno'),('periods','debtortrans','periods.periodno=debtortrans.prd'),('debtortranstaxes','taxauthorities','debtortranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','debtortranstaxes','taxauthorities.taxid=debtortranstaxes.taxauthid'),('debtortranstaxes','debtortrans','debtortranstaxes.debtortransid=debtortrans.id'),('debtortrans','debtortranstaxes','debtortrans.id=debtortranstaxes.debtortransid'),('discountmatrix','salestypes','discountmatrix.salestype=salestypes.typeabbrev'),('salestypes','discountmatrix','salestypes.typeabbrev=discountmatrix.salestype'),('freightcosts','locations','freightcosts.locationfrom=locations.loccode'),('locations','freightcosts','locations.loccode=freightcosts.locationfrom'),('freightcosts','shippers','freightcosts.shipperid=shippers.shipper_id'),('shippers','freightcosts','shippers.shipper_id=freightcosts.shipperid'),('gltrans','chartmaster','gltrans.account=chartmaster.accountcode'),('chartmaster','gltrans','chartmaster.accountcode=gltrans.account'),('gltrans','systypes','gltrans.type=systypes.typeid'),('systypes','gltrans','systypes.typeid=gltrans.type'),('gltrans','periods','gltrans.periodno=periods.periodno'),('periods','gltrans','periods.periodno=gltrans.periodno'),('grns','suppliers','grns.supplierid=suppliers.supplierid'),('suppliers','grns','suppliers.supplierid=grns.supplierid'),('grns','purchorderdetails','grns.podetailitem=purchorderdetails.podetailitem'),('purchorderdetails','grns','purchorderdetails.podetailitem=grns.podetailitem'),('locations','taxprovinces','locations.taxprovinceid=taxprovinces.taxprovinceid'),('taxprovinces','locations','taxprovinces.taxprovinceid=locations.taxprovinceid'),('locstock','locations','locstock.loccode=locations.loccode'),('locations','locstock','locations.loccode=locstock.loccode'),('locstock','stockmaster','locstock.stockid=stockmaster.stockid'),('stockmaster','locstock','stockmaster.stockid=locstock.stockid'),('loctransfers','locations','loctransfers.shiploc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.shiploc'),('loctransfers','locations','loctransfers.recloc=locations.loccode'),('locations','loctransfers','locations.loccode=loctransfers.recloc'),('loctransfers','stockmaster','loctransfers.stockid=stockmaster.stockid'),('stockmaster','loctransfers','stockmaster.stockid=loctransfers.stockid'),('orderdeliverydifferencesl','stockmaster','orderdeliverydifferenceslog.stockid=stockmaster.stockid'),('stockmaster','orderdeliverydifferencesl','stockmaster.stockid=orderdeliverydifferenceslog.stockid'),('orderdeliverydifferencesl','custbranch','orderdeliverydifferenceslog.debtorno=custbranch.debtorno'),('custbranch','orderdeliverydifferencesl','custbranch.debtorno=orderdeliverydifferenceslog.debtorno'),('orderdeliverydifferencesl','salesorders','orderdeliverydifferenceslog.branchcode=salesorders.orderno'),('salesorders','orderdeliverydifferencesl','salesorders.orderno=orderdeliverydifferenceslog.branchcode'),('prices','stockmaster','prices.stockid=stockmaster.stockid'),('stockmaster','prices','stockmaster.stockid=prices.stockid'),('prices','currencies','prices.currabrev=currencies.currabrev'),('currencies','prices','currencies.currabrev=prices.currabrev'),('prices','salestypes','prices.typeabbrev=salestypes.typeabbrev'),('salestypes','prices','salestypes.typeabbrev=prices.typeabbrev'),('purchdata','stockmaster','purchdata.stockid=stockmaster.stockid'),('stockmaster','purchdata','stockmaster.stockid=purchdata.stockid'),('purchdata','suppliers','purchdata.supplierno=suppliers.supplierid'),('suppliers','purchdata','suppliers.supplierid=purchdata.supplierno'),('purchorderdetails','purchorders','purchorderdetails.orderno=purchorders.orderno'),('purchorders','purchorderdetails','purchorders.orderno=purchorderdetails.orderno'),('purchorders','suppliers','purchorders.supplierno=suppliers.supplierid'),('suppliers','purchorders','suppliers.supplierid=purchorders.supplierno'),('purchorders','locations','purchorders.intostocklocation=locations.loccode'),('locations','purchorders','locations.loccode=purchorders.intostocklocation'),('recurringsalesorders','custbranch','recurringsalesorders.branchcode=custbranch.branchcode'),('custbranch','recurringsalesorders','custbranch.branchcode=recurringsalesorders.branchcode'),('recurrsalesorderdetails','recurringsalesorders','recurrsalesorderdetails.recurrorderno=recurringsalesorders.recurrorderno'),('recurringsalesorders','recurrsalesorderdetails','recurringsalesorders.recurrorderno=recurrsalesorderdetails.recurrorderno'),('recurrsalesorderdetails','stockmaster','recurrsalesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','recurrsalesorderdetails','stockmaster.stockid=recurrsalesorderdetails.stkcode'),('reportcolumns','reportheaders','reportcolumns.reportid=reportheaders.reportid'),('reportheaders','reportcolumns','reportheaders.reportid=reportcolumns.reportid'),('salesanalysis','periods','salesanalysis.periodno=periods.periodno'),('periods','salesanalysis','periods.periodno=salesanalysis.periodno'),('salescatprod','stockmaster','salescatprod.stockid=stockmaster.stockid'),('stockmaster','salescatprod','stockmaster.stockid=salescatprod.stockid'),('salescatprod','salescat','salescatprod.salescatid=salescat.salescatid'),('salescat','salescatprod','salescat.salescatid=salescatprod.salescatid'),('salesorderdetails','salesorders','salesorderdetails.orderno=salesorders.orderno'),('salesorders','salesorderdetails','salesorders.orderno=salesorderdetails.orderno'),('salesorderdetails','stockmaster','salesorderdetails.stkcode=stockmaster.stockid'),('stockmaster','salesorderdetails','stockmaster.stockid=salesorderdetails.stkcode'),('salesorders','custbranch','salesorders.branchcode=custbranch.branchcode'),('custbranch','salesorders','custbranch.branchcode=salesorders.branchcode'),('salesorders','shippers','salesorders.debtorno=shippers.shipper_id'),('shippers','salesorders','shippers.shipper_id=salesorders.debtorno'),('salesorders','locations','salesorders.fromstkloc=locations.loccode'),('locations','salesorders','locations.loccode=salesorders.fromstkloc'),('securitygroups','securityroles','securitygroups.secroleid=securityroles.secroleid'),('securityroles','securitygroups','securityroles.secroleid=securitygroups.secroleid'),('securitygroups','securitytokens','securitygroups.tokenid=securitytokens.tokenid'),('securitytokens','securitygroups','securitytokens.tokenid=securitygroups.tokenid'),('shipmentcharges','shipments','shipmentcharges.shiptref=shipments.shiptref'),('shipments','shipmentcharges','shipments.shiptref=shipmentcharges.shiptref'),('shipmentcharges','systypes','shipmentcharges.transtype=systypes.typeid'),('systypes','shipmentcharges','systypes.typeid=shipmentcharges.transtype'),('shipments','suppliers','shipments.supplierid=suppliers.supplierid'),('suppliers','shipments','suppliers.supplierid=shipments.supplierid'),('stockcheckfreeze','stockmaster','stockcheckfreeze.stockid=stockmaster.stockid'),('stockmaster','stockcheckfreeze','stockmaster.stockid=stockcheckfreeze.stockid'),('stockcheckfreeze','locations','stockcheckfreeze.loccode=locations.loccode'),('locations','stockcheckfreeze','locations.loccode=stockcheckfreeze.loccode'),('stockcounts','stockmaster','stockcounts.stockid=stockmaster.stockid'),('stockmaster','stockcounts','stockmaster.stockid=stockcounts.stockid'),('stockcounts','locations','stockcounts.loccode=locations.loccode'),('locations','stockcounts','locations.loccode=stockcounts.loccode'),('stockmaster','stockcategory','stockmaster.categoryid=stockcategory.categoryid'),('stockcategory','stockmaster','stockcategory.categoryid=stockmaster.categoryid'),('stockmaster','taxcategories','stockmaster.taxcatid=taxcategories.taxcatid'),('taxcategories','stockmaster','taxcategories.taxcatid=stockmaster.taxcatid'),('stockmoves','stockmaster','stockmoves.stockid=stockmaster.stockid'),('stockmaster','stockmoves','stockmaster.stockid=stockmoves.stockid'),('stockmoves','systypes','stockmoves.type=systypes.typeid'),('systypes','stockmoves','systypes.typeid=stockmoves.type'),('stockmoves','locations','stockmoves.loccode=locations.loccode'),('locations','stockmoves','locations.loccode=stockmoves.loccode'),('stockmoves','periods','stockmoves.prd=periods.periodno'),('periods','stockmoves','periods.periodno=stockmoves.prd'),('stockmovestaxes','taxauthorities','stockmovestaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','stockmovestaxes','taxauthorities.taxid=stockmovestaxes.taxauthid'),('stockserialitems','stockmaster','stockserialitems.stockid=stockmaster.stockid'),('stockmaster','stockserialitems','stockmaster.stockid=stockserialitems.stockid'),('stockserialitems','locations','stockserialitems.loccode=locations.loccode'),('locations','stockserialitems','locations.loccode=stockserialitems.loccode'),('stockserialmoves','stockmoves','stockserialmoves.stockmoveno=stockmoves.stkmoveno'),('stockmoves','stockserialmoves','stockmoves.stkmoveno=stockserialmoves.stockmoveno'),('stockserialmoves','stockserialitems','stockserialmoves.stockid=stockserialitems.stockid'),('stockserialitems','stockserialmoves','stockserialitems.stockid=stockserialmoves.stockid'),('suppallocs','supptrans','suppallocs.transid_allocfrom=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocfrom'),('suppallocs','supptrans','suppallocs.transid_allocto=supptrans.id'),('supptrans','suppallocs','supptrans.id=suppallocs.transid_allocto'),('suppliercontacts','suppliers','suppliercontacts.supplierid=suppliers.supplierid'),('suppliers','suppliercontacts','suppliers.supplierid=suppliercontacts.supplierid'),('suppliers','currencies','suppliers.currcode=currencies.currabrev'),('currencies','suppliers','currencies.currabrev=suppliers.currcode'),('suppliers','paymentterms','suppliers.paymentterms=paymentterms.termsindicator'),('paymentterms','suppliers','paymentterms.termsindicator=suppliers.paymentterms'),('suppliers','taxgroups','suppliers.taxgroupid=taxgroups.taxgroupid'),('taxgroups','suppliers','taxgroups.taxgroupid=suppliers.taxgroupid'),('supptrans','systypes','supptrans.type=systypes.typeid'),('systypes','supptrans','systypes.typeid=supptrans.type'),('supptrans','suppliers','supptrans.supplierno=suppliers.supplierid'),('suppliers','supptrans','suppliers.supplierid=supptrans.supplierno'),('supptranstaxes','taxauthorities','supptranstaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','supptranstaxes','taxauthorities.taxid=supptranstaxes.taxauthid'),('supptranstaxes','supptrans','supptranstaxes.supptransid=supptrans.id'),('supptrans','supptranstaxes','supptrans.id=supptranstaxes.supptransid'),('taxauthorities','chartmaster','taxauthorities.taxglcode=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.taxglcode'),('taxauthorities','chartmaster','taxauthorities.purchtaxglaccount=chartmaster.accountcode'),('chartmaster','taxauthorities','chartmaster.accountcode=taxauthorities.purchtaxglaccount'),('taxauthrates','taxauthorities','taxauthrates.taxauthority=taxauthorities.taxid'),('taxauthorities','taxauthrates','taxauthorities.taxid=taxauthrates.taxauthority'),('taxauthrates','taxcategories','taxauthrates.taxcatid=taxcategories.taxcatid'),('taxcategories','taxauthrates','taxcategories.taxcatid=taxauthrates.taxcatid'),('taxauthrates','taxprovinces','taxauthrates.dispatchtaxprovince=taxprovinces.taxprovinceid'),('taxprovinces','taxauthrates','taxprovinces.taxprovinceid=taxauthrates.dispatchtaxprovince'),('taxgrouptaxes','taxgroups','taxgrouptaxes.taxgroupid=taxgroups.taxgroupid'),('taxgroups','taxgrouptaxes','taxgroups.taxgroupid=taxgrouptaxes.taxgroupid'),('taxgrouptaxes','taxauthorities','taxgrouptaxes.taxauthid=taxauthorities.taxid'),('taxauthorities','taxgrouptaxes','taxauthorities.taxid=taxgrouptaxes.taxauthid'),('workcentres','locations','workcentres.location=locations.loccode'),('locations','workcentres','locations.loccode=workcentres.location'),('worksorders','locations','worksorders.loccode=locations.loccode'),('locations','worksorders','locations.loccode=worksorders.loccode'),('worksorders','stockmaster','worksorders.stockid=stockmaster.stockid'),('stockmaster','worksorders','stockmaster.stockid=worksorders.stockid'),('www_users','locations','www_users.defaultlocation=locations.loccode'),('locations','www_users','locations.loccode=www_users.defaultlocation');

--
