-- Table structure for table `_ref_acct_group`
--

CREATE TABLE IF NOT EXISTS `_ref_acct_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `acctTypeID` int(11) NOT NULL,
  `acctGroupName` varchar(128) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `parentID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  KEY `ID` (`ID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=40 ;

--
-- Dumping data for table `_ref_acct_group`
--

INSERT INTO `_ref_acct_group` (`ID`, `acctTypeID`, `acctGroupName`, `acctCode`, `orderNo`, `parentID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
(1, 5, 'CapitalRetainedEarnings', '', 45, 0, 1, '2014-05-30 07:47:09', 0, '2014-08-07 09:57:00'),
(2, 1, 'FixedAssets', '', 10, 29, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(3, 1, 'CurrentAssets', '', 30, 29, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(4, 2, 'CurrentLiabilities', '', 40, 39, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(5, 2, 'OtherLiabilites', '', 20, 30, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(6, 2, 'LongTermLiabilities', '', 50, 30, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(7, 3, 'revenue', '', 110, 33, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(8, 4, 'COGS', '', 120, 33, 1, '2014-05-30 07:47:09', 0, '2014-08-07 10:09:08'),
(9, 3, 'othersincome', '', 200, 35, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(10, 4, 'operatingexpenses', '', 220, 35, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(12, 4, 'taxation', '', 400, 38, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(29, 1, 'Assets', '', 0, 39, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(30, 1, 'Liabilities', '', 50, 0, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(31, 1, 'OthersAssets', '', 20, 29, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(32, 4, 'othercomprehensiveincome', '', 500, 38, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(33, 3, 'grossprofit', '', 100, 34, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(34, 3, 'operatingprofit', '', 10, 37, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(35, 4, 'operatingincome', '', 0, 34, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(36, 4, 'financeincome', '', 20, 37, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(37, 4, 'profitNlossb4tax', '', 30, 38, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(38, 4, 'currentyear', '', 10, 0, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00'),
(39, 1, 'NetCurrent', '', 0, 0, 1, '2014-05-30 07:47:09', 0, '0000-00-00 00:00:00');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_acct_group_bakup`
--

CREATE TABLE IF NOT EXISTS `_ref_acct_group_bakup` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `acctTypeID` int(11) NOT NULL,
  `acctGroupName` varchar(128) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `orderNo` int(11) NOT NULL,
  `parentID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `_ref_acct_group_bakup`
--

INSERT INTO `_ref_acct_group_bakup` (`ID`, `acctTypeID`, `acctGroupName`, `acctCode`, `orderNo`, `parentID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
(1, 1, 'Capital/Retained Earnings', '', 10, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(2, 1, 'Fixed Assets', '', 20, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(3, 1, 'Current Assets', '', 30, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(4, 2, 'Current Liabilities', '', 100, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(5, 2, 'Other Liabilites', '', 110, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(6, 2, 'Long-Term Liabilities', '', 120, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(7, 3, 'Revenue', '', 200, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(8, 3, 'Cost of Sales', '', 210, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(9, 3, 'Other Income', '', 220, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(10, 4, 'Expenses', '', 300, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(11, 4, 'Other Expenses', '', 310, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00'),
(12, 4, 'Taxation', '', 320, 0, 1, '2014-05-06 02:27:15', 0, '0000-00-00 00:00:00');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_acct_type`
--

CREATE TABLE IF NOT EXISTS `_ref_acct_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `acctTypeName` varchar(128) NOT NULL,
  `acctClass` smallint(6) NOT NULL COMMENT '0=Balance Shit, 1=Profit and Lost',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `_ref_acct_type`
--

INSERT INTO `_ref_acct_type` (`ID`, `acctTypeName`, `acctClass`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
(1, 'Assets', 0, 1, '2014-05-06 01:43:31', 0, '0000-00-00 00:00:00'),
(2, 'Liability', 0, 1, '2014-05-06 01:43:31', 0, '0000-00-00 00:00:00'),
(3, 'Income', 1, 1, '2014-05-06 01:43:31', 0, '0000-00-00 00:00:00'),
(4, 'Expences', 1, 1, '2014-05-06 01:43:31', 0, '0000-00-00 00:00:00');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_business_type`
--

CREATE TABLE IF NOT EXISTS `_ref_business_type` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `industryID` int(11) NOT NULL,
  `name` varchar(128) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=27 ;

--
-- Dumping data for table `_ref_business_type`
--

INSERT INTO `_ref_business_type` (`ID`, `industryID`, `name`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
(1, 1, 'Manufacturing', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(2, 2, 'Audio Visual', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(3, 2, 'Bakery', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(4, 2, 'Cafe', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(5, 2, 'Car Dealer', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(6, 2, 'Furniture Dealer', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(7, 2, 'Gift Shop', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(8, 2, 'Hardware Store', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(9, 2, 'Restaurant', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(10, 2, 'Video Store', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(11, 3, 'Accounting Firm', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(12, 3, 'Advertising Agency', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(13, 3, 'Architect', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(14, 3, 'Banquet Facilty', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(15, 3, 'Beauty Salon', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(16, 3, 'Cleaning Services', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(17, 3, 'Construction Company', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(18, 3, 'Education Institution', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(19, 3, 'Financial Services', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(20, 3, 'Insurance Agency', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(21, 3, 'Legal Firm', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(22, 3, 'Non-profit Organization', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(23, 3, 'Travel Agency', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(24, 4, 'Partnership', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(25, 4, 'sole Proprietorship', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00'),
(26, 4, 'Wholesale Business', 1, '2014-05-06 01:32:56', 0, '0000-00-00 00:00:00');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_chart_of_acct`
--

CREATE TABLE IF NOT EXISTS `_ref_chart_of_acct` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `businessTypeID` int(11) NOT NULL,
  `acctGroupID` int(11) NOT NULL,
  `acctCode` char(9) NOT NULL,
  `parentID` int(11) NOT NULL,
  `acctName` varchar(128) NOT NULL,
  `acctDescription` varchar(128) NOT NULL,
  `defaultID` int(11) DEFAULT NULL COMMENT 'id default acct for general setup',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=422 ;

--
-- Dumping data for table `_ref_chart_of_acct`
--

INSERT INTO `_ref_chart_of_acct` (`ID`, `businessTypeID`, `acctGroupID`, `acctCode`, `parentID`, `acctName`, `acctDescription`, `defaultID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
(1, 1, 1, '100000000', 0, 'Owner''s/Shareholder''s capital', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(2, 1, 1, '120000000', 0, 'Retained Earnings-Prior Year', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(3, 1, 1, '130000000', 0, 'Current Year Earnings', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(4, 1, 2, '200000000', 0, 'Fixed Assets', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(5, 1, 2, '200010000', 4, 'Manufacturing Plant', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(6, 1, 2, '200010010', 5, 'Manufacturing Plant at Cost', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(7, 1, 2, '200010020', 5, 'Manufacturing Plant Accum Dep''n', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(8, 1, 2, '200020000', 4, 'Manufacturing Equipment', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(9, 1, 2, '200020010', 8, 'Manufacturing Equipment at Cost', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(10, 1, 2, '200020020', 8, 'Manufacturing Equipment Accum Dep''n', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(11, 1, 2, '200030000', 4, 'Furniture & Fixtures', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(12, 1, 2, '200030010', 11, 'Furn & Fixtures at Cost', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(13, 1, 2, '200030020', 11, 'Furn & Fixtures Accum Dep''n', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(14, 1, 2, '200040000', 4, 'Office Equipment', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(15, 1, 2, '200040010', 14, 'Office Equipment at Cost', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(16, 1, 2, '200040020', 14, 'Office Equipment Accum Dep''n', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(17, 1, 2, '200050000', 4, 'Motor Vehicles', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(18, 1, 2, '200050010', 17, 'Motor Vehicles at Cost', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(19, 1, 2, '200050020', 17, 'Motor Vehicles Accum Dep''n', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(20, 1, 3, '210000000', 0, 'Trade Receivable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(21, 1, 3, '220000000', 0, 'Cash and Bank Balances', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(22, 1, 3, '220010000', 21, 'Bank', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(23, 1, 3, '220020000', 21, 'Cash in Hand', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(24, 1, 3, '220030000', 21, 'Petty Cash''s', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(25, 1, 3, '230000000', 0, 'Inventories', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(26, 1, 3, '230010000', 25, 'Stock of Work in Progress', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(27, 1, 3, '240000000', 0, 'Other Receivables', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(28, 1, 3, '250000000', 0, 'Prepayments and Deposits', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(29, 1, 3, '250010000', 28, 'Prepayments', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(30, 1, 3, '250020000', 28, 'Deposits Paid', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(31, 1, 3, '260000000', 0, 'Tax Claimable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(32, 1, 3, '260010000', 31, 'GST Input Tax', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(33, 1, 3, '260011000', 31, 'Provision for GST Non-Claimable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(34, 1, 3, '260020000', 31, 'Suspense GST - Input Tax', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(35, 1, 4, '300000000', 0, 'Trade Payable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(36, 1, 4, '320000000', 0, 'Other Payables', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(37, 1, 4, '330000000', 0, 'Tax Payable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(38, 1, 4, '330010000', 37, 'GST Output Tax', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(39, 1, 4, '330020000', 37, 'Suspense GST - Output Tax', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(40, 1, 4, '330030000', 37, 'Import Duty Payable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(41, 1, 4, '330040000', 37, 'Sales Tax Payable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(42, 1, 4, '330050000', 37, 'Service Tax Payable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(43, 1, 4, '340000000', 0, 'Accruals', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(44, 1, 4, '340010000', 43, 'Accrued Payroll', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(45, 1, 4, '340020000', 43, 'Payroll Deductions', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(46, 1, 4, '340030000', 43, 'PAYE Tax Payable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(47, 1, 4, '340040000', 43, 'Commission Payable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(48, 1, 4, '350000000', 0, 'Client Deposits', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(49, 1, 5, '360000000', 0, 'Deffered Tax Liabilities', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(50, 1, 6, '370000000', 0, 'Borrowing', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(51, 1, 6, '370010000', 50, 'Bank Loan', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(52, 1, 6, '370080000', 50, 'Other Long-Term Liabilities', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(53, 1, 7, '400000000', 0, 'Sales', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(54, 1, 7, '400010000', 53, 'Sales-Baked Items', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(55, 1, 7, '400020000', 53, 'Sales-Novelty Items', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(56, 1, 7, '480000000', 0, 'Miscellaneous Income', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(57, 1, 8, '500000000', 0, 'Cost of Goods Sold', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(58, 1, 8, '500010000', 57, 'Baked Items', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(59, 1, 8, '500020000', 57, 'Novelty Items', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(60, 1, 8, '510000000', 0, 'Purchase Price Variance', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(61, 1, 8, '560000000', 0, 'Freight', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(62, 1, 8, '570000000', 0, 'Inventory Adjustment Account', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(63, 1, 8, '580000000', 0, 'Commission Expense', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(64, 1, 35, '710000000', 0, 'Discount Received', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 10:14:31'),
(65, 1, 35, '711000000', 0, 'Interest Income', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 10:14:31'),
(66, 1, 35, '712000000', 0, 'Late Fees Collected', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 10:14:31'),
(67, 1, 35, '713000000', 0, 'Freight Collected', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 10:14:31'),
(68, 1, 10, '810000000', 0, 'Administration Expenses', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(69, 1, 10, '810011100', 68, 'Accounting Fees', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(70, 1, 10, '810011200', 68, 'Legal Fees', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(71, 1, 10, '810014000', 68, 'Dues & Subscriptions', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(72, 1, 10, '810015000', 68, 'Office Supplies', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(73, 1, 10, '810016000', 68, 'Freight', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(74, 1, 10, '810017000', 68, 'Late Payment Charges', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(75, 1, 10, '810019000', 68, 'Advertising & Promotion Exp', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(76, 1, 10, '810019020', 75, 'In-store Promotions', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(77, 1, 10, '810020000', 68, 'Depreciation Expense', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(78, 1, 10, '810040000', 68, 'GST- Non Claimable', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(79, 1, 10, '810050000', 68, 'Bad Debt Expense', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 10:06:07'),
(80, 1, 10, '820000000', 0, 'Operation Expenses', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(81, 1, 10, '820011000', 80, 'Cleaning	Expenses', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(82, 1, 10, '820012000', 80, 'Postage & Delivery', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(83, 1, 10, '820013000', 80, 'Printing', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(84, 1, 10, '820014000', 80, 'Rent', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(85, 1, 10, '820015000', 80, 'Store Supplies', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(86, 1, 10, '820016000', 80, 'Telephone', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(87, 1, 10, '820017000', 80, 'Water', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(88, 1, 10, '820018000', 80, 'Shrinkage/Spoilage', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(89, 1, 10, '820019000', 80, 'Employment Expenses', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(90, 1, 10, '820019010', 80, 'Fringe Benefits Tax', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(91, 1, 10, '820019020', 80, 'Staff Amenities ', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(92, 1, 10, '820019030', 80, 'Wages & Salaries ', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(93, 1, 10, '820019040', 80, 'Workers'' Compensation', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(94, 1, 10, '820019050', 80, 'Other Employment Expenses', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(95, 1, 10, '820020000', 80, 'Uniforms & Laundry', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(96, 1, 10, '830000000', 0, 'Interest & Bank Charges', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(97, 1, 10, '810060000', 0, 'Discounts Given', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 10:24:04'),
(98, 1, 10, '810060010', 0, 'Prompt Payment Discount', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 10:25:50'),
(99, 1, 10, '810070000', 0, 'Zakat Expense', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 10:26:56'),
(100, 1, 10, '860000000', 0, 'Bad Debt Expense', '', NULL, 1, '2014-05-06 04:22:45', 0, '2014-08-07 03:15:18'),
(101, 1, 11, '870000000', 0, 'Exchange Difference', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(102, 1, 12, '860000000', 0, 'Income Tax Expense', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(103, 1, 10, '810019010', 75, 'Advertising', '', NULL, 1, '2014-05-06 04:22:45', 0, '0000-00-00 00:00:00'),
(104, 2, 1, '120000000', 0, 'Retained Earnings-Prior Year', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(105, 2, 1, '130000000', 0, 'Current Year Earnings', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(106, 2, 2, '200000000', 0, 'Fixed Assets', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(107, 2, 2, '200010000', 106, 'Buildings & Improvements', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(108, 2, 2, '200010010', 107, 'Bldgs & Imprv at Cost', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(109, 2, 2, '200010020', 107, 'Bldgs & Imprv Accum Dep''n', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(110, 2, 2, '200020000', 106, 'Production Equipment', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(111, 2, 2, '200020010', 110, 'Production Equipment at Cost', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(112, 2, 2, '200020020', 110, 'Production Equipment Accum Dep''n', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(113, 2, 2, '200030000', 106, 'Furniture and Fixtures', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(114, 2, 2, '200030010', 113, 'Furniture & Fixtures at Cost', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(115, 2, 2, '200030020', 113, 'Furniture & Fixtures Accum Dep''n', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(116, 2, 2, '200040000', 106, 'Motor Vehicles', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(117, 2, 2, '200040010', 116, 'Motor Vehicles at Cost', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(118, 2, 2, '200040020', 116, 'Motor Vehicles Accum Dep''n', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(119, 2, 2, '200050000', 106, 'Leasehold Improvements', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(120, 2, 2, '200050010', 119, 'Improvements at Cost', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(121, 2, 2, '200050020', 119, 'Improvements Amortisation', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(122, 2, 3, '210000000', 0, 'Trade Receivable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(123, 2, 3, '220000000', 0, 'Cash and Bank Balances', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(124, 2, 3, '220010000', 123, 'Bank', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(125, 2, 3, '220020000', 123, 'Cash in Hand', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(126, 2, 3, '220030000', 123, 'Petty Cash', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(127, 2, 3, '230000000', 0, 'Inventories', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(128, 2, 3, '230010000', 128, 'Stock of Work in Progress', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(129, 2, 3, '240000000', 0, 'Other Receivables', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(130, 2, 3, '250000000', 0, 'Prepayments and Deposits', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(131, 2, 3, '250010000', 130, 'Prepayments', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(132, 2, 3, '250020000', 130, 'Deposits Paid', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(133, 2, 3, '260000000', 0, 'Tax Claimable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(134, 2, 3, '260010000', 133, 'GST Input Tax', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(135, 2, 3, '260011000', 133, 'Provision for GST Non-Claimable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(136, 2, 3, '260020000', 133, 'Suspense GST - Input Tax', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(137, 2, 4, '300000000', 0, 'Trade Payable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(138, 2, 4, '320000000', 0, 'Other Payables', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(139, 2, 4, '330000000', 0, 'Tax Payable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(140, 2, 4, '330010000', 139, 'GST Output Tax', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(141, 2, 4, '330020000', 139, 'Suspense GST - Output Tax', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(142, 2, 4, '330030000', 139, 'Import Duty Payable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(143, 2, 4, '330040000', 139, 'Sales Tax Payable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(144, 2, 4, '330050000', 139, 'Service Tax Payable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(145, 2, 4, '340000000', 0, 'Accruals', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(146, 2, 4, '340010000', 145, 'Accrued Payroll', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(147, 2, 4, '340020000', 145, 'Payroll Deductions Payable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(148, 2, 4, '340030000', 145, 'PAYE Tax Payable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(149, 2, 4, '340040000', 145, 'Commission Payable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(150, 2, 4, '350000000', 0, 'Client Deposits', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(151, 2, 5, '360000000', 0, 'Deffered Tax Liabilities', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(152, 2, 6, '370000000', 0, 'Borrowing', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-05-06 07:39:30'),
(153, 2, 6, '370010000', 152, 'Bank Loans', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-05-06 07:39:36'),
(154, 2, 6, '370080000', 152, 'Other Long-Term Liabilities', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-05-06 07:39:40'),
(155, 2, 7, '400000000', 0, 'Sales', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(156, 2, 7, '410000000', 0, 'Audio Equip Rental Income', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(157, 2, 7, '420000000', 0, 'Video Equip Rental Income', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(158, 2, 7, '430000000', 0, 'Other Service Fees', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(159, 2, 7, '460000000', 0, 'Miscellaneous Income', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(160, 2, 8, '500000000', 0, 'Cost of Goods Sold', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(161, 2, 8, '500010000', 160, 'Purchases - Audio Equip', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(162, 2, 8, '500020000', 160, 'Purchases - Video Equip', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(163, 2, 8, '510000000', 0, 'Purchase Price Variance', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(164, 2, 8, '560000000', 0, 'Freight', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(165, 2, 8, '570000000', 0, 'Inventory Adjustment Account', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(166, 2, 8, '580000000', 0, 'Commission Expense', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(167, 2, 35, '710000000', 0, 'Discount Received', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-08-07 10:14:31'),
(168, 2, 35, '711000000', 0, 'Interest Income', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-08-07 10:14:31'),
(169, 2, 35, '712000000', 0, 'Late Fees Collected', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-08-07 10:14:31'),
(170, 2, 35, '713000000', 0, 'Freight Collected', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-08-07 10:14:31'),
(171, 2, 10, '810000000', 0, 'Administration Expenses', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(172, 2, 10, '810010000', 171, 'Accounting Fees', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(173, 2, 10, '810011000', 171, 'Legal Fees', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(174, 2, 10, '810012000', 171, 'Postage & Delivery', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(175, 2, 10, '810013000', 171, 'Office Supplies', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(176, 2, 10, '810014000', 171, 'Dues & Subscriptions', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(177, 2, 10, '810015000', 171, 'Telephone', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(178, 2, 10, '810016000', 171, 'Advertising', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(179, 2, 10, '810017000', 171, 'Maintenance & Repairs', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(180, 2, 10, '810018000', 171, 'Freight', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(181, 2, 10, '810019000', 171, 'Late Payment Charges', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(182, 2, 10, '810020000', 171, 'Rent', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(183, 2, 10, '810021000', 171, 'Electricity', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(184, 2, 10, '810022000', 171, 'Depreciation Expense', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(185, 2, 10, '810040000', 171, 'GST- Non Claimable', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(186, 2, 10, '810050000', 171, 'Bad Debt Expense', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-08-07 10:06:07'),
(187, 2, 10, '820000000', 0, 'Employment Expenses', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(188, 2, 10, '820010000', 187, 'Staff Amenities', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(189, 2, 10, '820030000', 187, 'Wages & Salaries', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(190, 2, 10, '820040000', 187, 'Workers'' Compensation', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(191, 2, 10, '820050000', 187, 'Other Employment Expenses', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(192, 2, 10, '830000000', 187, 'Interest & Bank Charges', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(193, 2, 10, '810060000', 0, 'Discounts Given', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-08-07 10:24:04'),
(194, 2, 10, '810060010', 0, 'Prompt Payment Discount', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-08-07 10:25:50'),
(195, 2, 10, '810070000', 0, 'Zakat Expense', '', NULL, 1, '2014-05-06 07:07:01', 0, '2014-08-07 10:26:56'),
(196, 2, 11, '860000000', 0, 'Bad Debt Expense', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(197, 2, 11, '870000000', 0, 'Exchange Difference', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(198, 2, 12, '860000000', 0, 'Income Tax Expense', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(199, 2, 1, '110000000', 0, 'Share Capital', '', NULL, 1, '2014-05-06 07:07:01', 0, '0000-00-00 00:00:00'),
(200, 3, 1, '110000000', 0, 'Share Capital', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(201, 3, 1, '120000000', 0, 'Retained Earnings-Prior Year', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(202, 3, 1, '130000000', 0, 'Current Year Earnings', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(203, 3, 2, '200000000', 0, 'Fixed Assets', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(204, 3, 2, '200010000', 203, 'Kitchen Equipment', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(205, 3, 2, '200010010', 204, 'Kitchen Equip at Cost', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(206, 3, 2, '200010020', 204, 'Kitchen Equip Accum Depr''n', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(207, 3, 2, '200020000', 203, 'Store Equipment	', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(208, 3, 2, '200020010', 207, 'Store Equipment at Cost', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(209, 3, 2, '200020020', 207, 'Store Equipment Accum Dep''n', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(210, 3, 2, '200030000', 203, 'Building', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(211, 3, 2, '200030010', 210, 'Building at Cost', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(212, 3, 2, '200030020', 210, 'Building Accum Dep''n', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(213, 3, 2, '200050000', 203, 'Leasehold Improvements', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(214, 3, 2, '200050010', 213, 'Improvements at Cost', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(215, 3, 2, '200050020', 213, 'Improvements Amortisation', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(216, 3, 3, '210000000', 0, 'Trade Receivable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(217, 3, 3, '220000000', 0, 'Cash and Bank Balances', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(218, 3, 3, '220010000', 217, 'Bank', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(219, 3, 3, '220020000', 217, 'Cash in Hand', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(220, 3, 3, '220030000', 217, 'Petty Cash', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(221, 3, 3, '230000000', 0, 'Inventories', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(222, 3, 3, '230010000', 221, 'Stock of Work in Progress', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(223, 3, 3, '230020000', 221, 'Ingredients', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(224, 3, 3, '230030000', 221, 'Cake Boxes & Containers', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(225, 3, 3, '230040000', 221, 'Novelty Items', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(226, 3, 3, '240000000', 0, 'Other Receivables', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(227, 3, 3, '250000000', 0, 'Prepayments and Deposits', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(228, 3, 3, '250010000', 227, 'Prepayments', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(229, 3, 3, '250020000', 227, 'Deposits Paid', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(230, 3, 3, '260000000', 0, 'Tax Claimable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(231, 3, 3, '260010000', 230, 'GST Input Tax', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(232, 3, 3, '260011000', 230, 'Provision for GST Non-Claimable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(233, 3, 3, '260020000', 230, 'Suspense GST - Input Tax', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(234, 3, 4, '300000000', 0, 'Trade Payable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(235, 3, 4, '320000000', 0, 'Other Payables', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(236, 3, 4, '330000000', 0, 'Tax Payable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(237, 3, 4, '330010000', 236, 'GST Output Tax', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(238, 3, 4, '330020000', 236, 'Suspense GST - Output Tax', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(239, 3, 4, '330030000', 236, 'Import Duty Payable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(240, 3, 4, '330040000', 236, 'Sales Tax Payable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(241, 3, 4, '330050000', 236, 'Service Tax Payable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(242, 3, 4, '340000000', 0, 'Accruals', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(243, 3, 4, '340010000', 242, 'Accrued Payroll', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(244, 3, 4, '340020000', 242, 'Payroll Deductions Payable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(245, 3, 4, '340030000', 242, 'PAYE Tax Payable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(246, 3, 4, '340040000', 242, 'Commission Payable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(247, 3, 4, '350000000', 0, 'Client Deposits', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(248, 3, 5, '360000000', 0, 'Deffered Tax Liabilities', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(249, 3, 6, '370000000', 0, 'Borrowing', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(250, 3, 6, '370010000', 249, 'Bank Loans', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(251, 3, 6, '370080000', 249, 'Other Long-Term Liabilities', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(252, 3, 7, '400000000', 0, 'Sales', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(253, 3, 7, '400010000', 252, 'Sales-Baked Items', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(254, 3, 7, '400020000', 252, 'Sales-Novelty Items', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(255, 3, 7, '480000000', 0, 'Miscellaneous Income', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(256, 3, 8, '500000000', 0, 'Cost of Goods Sold', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(257, 3, 8, '500010000', 256, 'Baked Items', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(258, 3, 8, '500020000', 256, 'Novelty Items', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(259, 3, 8, '510000000', 0, 'Purchase Price Variance', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(260, 3, 8, '560000000', 0, 'Freight', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(261, 3, 8, '570000000', 0, 'Inventory Adjustment Account', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(262, 3, 8, '580000000', 0, 'Commission Expense', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(263, 3, 35, '710000000', 0, 'Discount Received', '', NULL, 1, '2014-05-06 09:16:10', 0, '2014-08-07 10:14:31'),
(264, 3, 35, '711000000', 0, 'Interest Income', '', NULL, 1, '2014-05-06 09:16:10', 0, '2014-08-07 10:14:31'),
(265, 3, 35, '712000000', 0, 'Late Fees Collected', '', NULL, 1, '2014-05-06 09:16:10', 0, '2014-08-07 10:14:31'),
(266, 3, 35, '713000000', 0, 'Freight Collected', '', NULL, 1, '2014-05-06 09:16:10', 0, '2014-08-07 10:14:31'),
(267, 3, 10, '810000000', 0, 'Administration Expenses', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(268, 3, 10, '810011100', 267, 'Accounting Fees', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(269, 3, 10, '810011200', 267, 'Legal Fees', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(270, 3, 10, '810014000', 267, 'Dues & Subscriptions', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(271, 3, 10, '810015000', 267, 'Office Supplies', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(272, 3, 10, '810016000', 267, 'Freight', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(273, 3, 10, '810017000', 267, 'Late Payment Charges', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(274, 3, 10, '810019000', 267, 'Advertising & Promotion Ex', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(275, 3, 10, '810019010', 274, 'Advertising', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(276, 3, 10, '810019020', 274, 'In-store Promotions', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(277, 3, 10, '810020000', 267, 'Depreciation Expense', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(278, 3, 10, '810040000', 267, 'GST- Non Claimable', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(279, 3, 10, '810050000', 267, 'Bad Debt Expense', '', NULL, 1, '2014-05-06 09:16:10', 0, '2014-08-07 10:06:07'),
(280, 3, 10, '820000000', 0, 'Operation Expenses', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(281, 3, 10, '820011000', 280, 'Cleaning', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(282, 3, 10, '820012000', 280, 'Postage & Delivery', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(283, 3, 10, '820013000', 280, 'Printing', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(284, 3, 10, '820014000', 280, 'Rent ', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(285, 3, 10, '820015000', 280, 'Store Supplies', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(286, 3, 10, '820016000', 280, 'Telephone', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(287, 3, 10, '820017000', 280, 'Water', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(288, 3, 10, '820018000', 280, 'Shrinkage/Spoilage', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(289, 3, 10, '820019000', 280, 'Employment Expenses', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(290, 3, 10, '820019010', 289, 'Fringe Benefits Tax', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(291, 3, 10, '820019020', 289, 'Staff Amenities ', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(292, 3, 10, '820019030', 289, 'Wages & Salaries ', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(293, 3, 10, '820019040', 289, 'Workers'' Compensation ', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(294, 3, 10, '820019050', 289, 'Other Employment Expenses ', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(295, 3, 10, '820020000', 280, 'Uniforms & Laundry', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(296, 3, 10, '830000000', 0, 'Interest & Bank Charges', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(297, 3, 10, '810060000', 0, 'Discounts Given', '', NULL, 1, '2014-05-06 09:16:10', 0, '2014-08-07 10:24:04'),
(298, 3, 10, '810060010', 0, 'Prompt Payment Discount', '', NULL, 1, '2014-05-06 09:16:10', 0, '2014-08-07 10:25:50'),
(299, 3, 10, '810070000', 0, 'Zakat Expense', '', NULL, 1, '2014-05-06 09:16:10', 0, '2014-08-07 10:26:56'),
(300, 3, 11, '860000000', 0, 'Bad Debt Expense', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(301, 3, 11, '870000000', 0, 'Exchange Difference', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(302, 3, 12, '860000000', 0, 'Income Tax Expense', '', NULL, 1, '2014-05-06 09:16:10', 0, '0000-00-00 00:00:00'),
(303, 4, 1, '110000000', 0, 'Share Capital', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(304, 4, 1, '120000000', 0, 'Retained Earnings-Prior Year', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(305, 4, 1, '130000000', 0, 'Current Year Earnings', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(306, 4, 2, '200000000', 0, 'Fixed Assets', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(307, 4, 2, '200010000', 306, 'Leasehold Improvements', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(308, 4, 2, '200010010', 307, 'Improvements at Cost', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(309, 4, 2, '200010020', 307, 'Improvements Amortisation', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(310, 4, 2, '200020000', 306, 'Building', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(311, 4, 2, '200020010', 310, 'Building at Cost', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(312, 4, 2, '200020020', 310, 'Building Accum Dep''n', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(313, 4, 2, '200030000', 306, 'Delivery Vehicles', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(314, 4, 2, '200030010', 313, 'Delivery Vehicles at Cost', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(315, 4, 2, '200030020', 313, 'Delivery Vehicles Accum Dep''n', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(316, 4, 2, '200040000', 306, 'Office Equipment', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(317, 4, 2, '200040010', 316, 'Office Equipment at Cost ', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(318, 4, 2, '200040020', 316, 'Office Equipment Accum Dep''n', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(319, 4, 2, '200050000', 306, 'Store Equipment ', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(320, 4, 2, '200050010', 319, 'Store Equipment at Cost ', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(321, 4, 2, '200050020', 319, 'Store Equipment Accum Dep''n', '', NULL, 1, '2014-07-22 00:43:40', 0, '0000-00-00 00:00:00'),
(330, 4, 3, '210000000', 0, 'Trade Receivable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(331, 4, 3, '220000000', 0, 'Cash and Bank Balances', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(332, 4, 13, '220010000', 331, 'Bank	Current', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(333, 4, 3, '220020000', 331, 'Cash in Hand', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(334, 4, 3, '220030000', 331, 'Petty Cash', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(335, 4, 3, '230000000', 0, 'Inventories', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(336, 4, 3, '230010000', 335, 'Stock of Work in Progress', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(337, 4, 3, '240000000', 0, 'Other Receivables', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(338, 4, 3, '250000000', 0, 'Prepayments and Deposits', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(339, 4, 3, '250010000', 338, 'Prepayments', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(340, 4, 3, '250020000', 338, 'Deposits Paid', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(341, 4, 3, '260000000', 0, 'Tax Claimable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(342, 4, 3, '260010000', 341, 'GST Input Tax', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(343, 4, 3, '260011000', 341, 'Provision for GST Non-Claimable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(344, 4, 3, '260020000', 341, 'Suspense GST - Input Tax', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(345, 4, 4, '300000000', 0, 'Trade Payable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(346, 4, 4, '320000000', 0, 'Other Payables', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(347, 4, 4, '330000000', 0, 'Tax Payable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(348, 4, 4, '330010000', 139, 'GST Output Tax', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(349, 4, 4, '330020000', 139, 'Suspense GST - Output Tax', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(350, 4, 4, '330030000', 139, 'Import Duty Payable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(351, 4, 4, '330040000', 139, 'Sales Tax Payable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(352, 4, 4, '330050000', 139, 'Service Tax Payable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(353, 4, 4, '340000000', 0, 'Accruals', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(354, 4, 4, '340010000', 145, 'Accrued Payroll', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(355, 4, 4, '340020000', 145, 'Payroll Deductions Payable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(356, 4, 4, '340030000', 145, 'PAYE Tax Payable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(357, 4, 4, '340040000', 145, 'Commission Payable', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(358, 4, 4, '350000000', 0, 'Client Deposits', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(359, 4, 5, '360000000', 0, 'Deffered Tax Liabilities', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(360, 4, 6, '370000000', 0, 'Borrowing', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(361, 4, 6, '370010000', 152, 'Bank Loans', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(362, 4, 6, '370080000', 152, 'Other Long-Term Liabilities', '', NULL, 1, '2014-07-22 00:43:41', 0, '0000-00-00 00:00:00'),
(363, 4, 7, '400000000', 0, 'Sales', '', NULL, 1, '2014-07-22 00:55:39', 0, '0000-00-00 00:00:00'),
(364, 4, 7, '480000000', 0, 'Miscellaneous Income', '', NULL, 1, '2014-07-22 00:55:39', 0, '0000-00-00 00:00:00'),
(365, 4, 8, '500000000', 0, 'Cost of Good Sold', '', NULL, 1, '2014-07-22 00:55:39', 0, '0000-00-00 00:00:00'),
(366, 4, 8, '510000000', 0, 'Purchase Price Variance', '', NULL, 1, '2014-07-22 00:55:39', 0, '0000-00-00 00:00:00'),
(367, 4, 8, '520000000', 0, 'Purchase Returns & Allowance', '', NULL, 1, '2014-07-22 00:55:39', 0, '0000-00-00 00:00:00'),
(368, 4, 8, '560000000', 0, 'Freight', '', NULL, 1, '2014-07-22 00:55:39', 0, '0000-00-00 00:00:00'),
(369, 4, 8, '570000000', 0, 'Inventory Adjustment Account', '', NULL, 1, '2014-07-22 00:55:39', 0, '0000-00-00 00:00:00'),
(370, 4, 8, '580000000', 0, 'Commission Expense', '', NULL, 1, '2014-07-22 00:56:33', 0, '0000-00-00 00:00:00'),
(371, 4, 35, '710000000', 0, 'Discount Received', '', NULL, 1, '2014-07-22 00:56:33', 0, '2014-08-07 10:14:31'),
(372, 4, 35, '711000000', 0, 'Interest Income ', '', NULL, 1, '2014-07-22 00:56:33', 0, '2014-08-07 10:14:31'),
(373, 4, 35, '712000000', 0, 'Late Fees Collected', '', NULL, 1, '2014-07-22 00:56:33', 0, '2014-08-07 10:14:31'),
(374, 4, 35, '713000000', 0, 'Freight Collected', '', NULL, 1, '2014-07-22 00:56:33', 0, '2014-08-07 10:14:31'),
(375, 4, 10, '810000000', 0, 'Administration Expenses', '', NULL, 1, '2014-07-22 00:56:33', 0, '0000-00-00 00:00:00'),
(376, 4, 10, '810011100', 375, 'Accounting Fees', '', NULL, 1, '2014-07-22 00:56:33', 0, '0000-00-00 00:00:00'),
(377, 4, 10, '810011200', 375, 'Legal Fees', '', NULL, 1, '2014-07-22 00:57:59', 0, '0000-00-00 00:00:00'),
(378, 4, 10, '810014000', 375, 'Office Supplies', '', NULL, 1, '2014-07-22 00:57:59', 0, '0000-00-00 00:00:00'),
(379, 4, 10, '810015000', 375, 'Dues & Subscriptions', '', NULL, 1, '2014-07-22 00:57:59', 0, '0000-00-00 00:00:00'),
(380, 4, 10, '810016000', 375, 'Telephone', '', NULL, 1, '2014-07-22 00:57:59', 0, '0000-00-00 00:00:00'),
(381, 4, 10, '810017000', 375, 'Repairs & Maintenance', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(382, 4, 10, '810019000', 375, 'Freight', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(383, 4, 10, '810020000', 375, 'Late Payment Charges', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(384, 4, 10, '810021000', 375, 'Advertising & Promotion Exp', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(385, 4, 10, '810022000', 375, 'Advertising', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(386, 4, 10, '810023000', 375, 'In-store Promotions', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(387, 4, 10, '810024000', 375, 'Depreciation Expense', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(388, 4, 10, '810040000', 375, 'GST- Non Claimable', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(389, 4, 10, '810050000', 375, 'Bad Debt Expense', '', NULL, 1, '2014-07-22 00:58:19', 0, '2014-08-07 10:06:07'),
(390, 4, 10, '820000000', 0, 'Operation Expenses', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(391, 4, 10, '820011000', 390, 'Cleaning', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(392, 4, 10, '820012000', 390, 'Postage & Delivery', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(393, 4, 10, '820013000', 390, 'Printing', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(394, 4, 10, '820014000', 390, 'Store Supplies', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(395, 4, 10, '820015000', 390, 'Shrinkage/Spoilage', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(396, 4, 10, '820017000', 390, 'Employment Expenses', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(397, 4, 10, '820017010', 396, 'Fringe Benefits Tax', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(398, 4, 10, '820017020', 396, 'Staff Amenities', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(399, 4, 10, '820017030', 396, 'Wages & Salaries', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(400, 4, 10, '820017040', 396, 'Workers\n'' Compensation', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(401, 4, 10, '820017080', 396, 'Other Employment Expenses', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(402, 4, 10, '820018000', 390, 'Occupancy Costs', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(403, 4, 10, '820018010', 402, 'Rent', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(404, 4, 10, '820018020', 402, 'Property Taxes', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(405, 4, 10, '820018030', 402, 'Electricity', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(406, 4, 10, '820018040', 402, 'Water', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(407, 4, 10, '830000000', 0, 'Interest & Bank Charges', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(408, 4, 10, '810060000', 0, 'Discounts Given', '', NULL, 1, '2014-07-22 00:58:19', 0, '2014-08-07 10:24:04'),
(409, 4, 10, '810060010', 0, 'Prompt Payment Discount', '', NULL, 1, '2014-07-22 00:58:19', 0, '2014-08-07 10:25:50'),
(410, 4, 10, '810070000', 0, 'Zakat Expense', '', NULL, 1, '2014-07-22 00:58:19', 0, '2014-08-07 10:26:56'),
(411, 4, 11, '860000000', 0, 'Bad Debt Expense', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(412, 4, 11, '870000000', 0, 'Exchange Difference', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(413, 4, 12, '860000000', 0, 'Income Tax Expense', '', NULL, 1, '2014-07-22 00:58:19', 0, '0000-00-00 00:00:00'),
(414, 1, 10, '810080000', 0, 'Wakaf Expense', '', NULL, 1, '2014-08-08 00:34:56', 0, '0000-00-00 00:00:00'),
(415, 1, 4, '340050000', 0, 'Wakaf Accrual', '', NULL, 1, '2014-08-08 00:34:56', 0, '2014-08-08 01:04:45'),
(416, 2, 10, '810080000', 0, 'Wakaf Expense', '', NULL, 1, '2014-08-08 00:34:56', 0, '0000-00-00 00:00:00'),
(417, 2, 4, '340050000', 0, 'Wakaf Accrual', '', NULL, 1, '2014-08-08 00:34:56', 0, '2014-08-08 01:04:34'),
(418, 3, 10, '810080000', 0, 'Wakaf Expense', '', NULL, 1, '2014-08-08 00:34:56', 0, '0000-00-00 00:00:00'),
(419, 3, 4, '340050000', 0, 'Wakaf Accrual', '', NULL, 1, '2014-08-08 00:34:56', 0, '2014-08-08 01:04:28'),
(420, 4, 10, '810080000', 0, 'Wakaf Expense', '', NULL, 1, '2014-08-08 00:34:56', 0, '0000-00-00 00:00:00'),
(421, 4, 4, '340050000', 0, 'Wakaf Accrual', '', NULL, 1, '2014-08-08 00:34:56', 0, '2014-08-08 01:04:01');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_country`
--

CREATE TABLE IF NOT EXISTS `_ref_country` (
  `fldid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fldcountry` varchar(45) DEFAULT NULL,
  `fldcontinent` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT AUTO_INCREMENT=895 ;

--
-- Dumping data for table `_ref_country`
--

INSERT INTO `_ref_country` (`fldid`, `fldcountry`, `fldcontinent`) VALUES
(4, 'AFGHANISTAN', 'AS'),
(8, 'ALBANIA', 'EU'),
(10, 'ANTARCTICA', 'AN'),
(12, 'ALGERIA', 'AF'),
(16, 'AMERICAN SAMOA', 'OC'),
(20, 'ANDORRA', 'EU'),
(24, 'ANGOLA', 'AF'),
(28, 'ANTIGUA AND BARBUDA', 'NA'),
(31, 'AZERBAIJAN', 'AS'),
(32, 'ARGENTINA', 'SA'),
(36, 'AUSTRALIA', 'OC'),
(40, 'AUSTRIA', 'EU'),
(44, 'BAHAMAS', 'NA'),
(48, 'BAHRAIN', 'AS'),
(50, 'BANGLADESH', 'AS'),
(51, 'ARMENIA', 'AS'),
(52, 'BARBADOS', 'NA'),
(56, 'BELGIUM', 'EU'),
(60, 'BERMUDA', 'NA'),
(64, 'BHUTAN', 'AS'),
(68, 'BOLIVIA', 'SA'),
(70, 'BOSNIA AND HERZEGOVINA', 'EU'),
(72, 'BOTSWANA', 'AF'),
(74, 'BOUVET ISLAND', 'AN'),
(76, 'BRAZIL', 'SA'),
(84, 'BELIZE', 'NA'),
(86, 'BRITISH INDIAN OCEAN TERRITORY', 'AS'),
(90, 'SOLOMON ISLANDS', 'OC'),
(92, 'BRITISH VIRGIN ISLANDS', 'NA'),
(96, 'BRUNEI', 'AS'),
(100, 'BULGARIA', 'EU'),
(104, 'MYANMAR', 'AS'),
(108, 'BURUNDI', 'AF'),
(112, 'BELARUS', 'EU'),
(116, 'CAMBODIA', 'AS'),
(120, 'CAMEROON', 'AF'),
(124, 'CANADA', 'NA'),
(132, 'CAPE VERDE', 'AF'),
(136, 'CAYMAN ISLANDS', 'NA'),
(140, 'CENTRAL AFRICAN REPUBLIC', 'AF'),
(144, 'SRI LANKA', 'AS'),
(148, 'CHAD', 'AF'),
(152, 'CHILE', 'SA'),
(156, 'CHINA', 'AS'),
(158, 'TAIWAN', 'AS'),
(162, 'CHRISTMAS ISLAND', 'AS'),
(166, 'COCOS ISLANDS', 'AS'),
(170, 'COLOMBIA', 'SA'),
(174, 'COMOROS', 'AF'),
(175, 'MAYOTTE', 'AF'),
(178, 'REPUBLIC OF THE CONGO', 'AF'),
(180, 'DEMOCRATIC REPUBLIC OF THE CONGO', 'AF'),
(184, 'COOK ISLANDS', 'OC'),
(188, 'COSTA RICA', 'NA'),
(191, 'CROATIA', 'EU'),
(192, 'CUBA', 'NA'),
(196, 'CYPRUS', 'EU'),
(203, 'CZECH REPUBLIC', 'EU'),
(204, 'BENIN', 'AF'),
(208, 'DENMARK', 'EU'),
(212, 'DOMINICA', 'NA'),
(214, 'DOMINICAN REPUBLIC', 'NA'),
(218, 'ECUADOR', 'SA'),
(222, 'EL SALVADOR', 'NA'),
(226, 'EQUATORIAL GUINEA', 'AF'),
(231, 'ETHIOPIA', 'AF'),
(232, 'ERITREA', 'AF'),
(233, 'ESTONIA', 'EU'),
(234, 'FAROE ISLANDS', 'EU'),
(238, 'FALKLAND ISLANDS', 'SA'),
(239, 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', 'AN'),
(242, 'FIJI', 'OC'),
(246, 'FINLAND', 'EU'),
(248, 'ALAND ISLANDS', 'EU'),
(250, 'FRANCE', 'EU'),
(254, 'FRENCH GUIANA', 'SA'),
(258, 'FRENCH POLYNESIA', 'OC'),
(260, 'FRENCH SOUTHERN TERRITORIES', 'AN'),
(262, 'DJIBOUTI', 'AF'),
(266, 'GABON', 'AF'),
(268, 'GEORGIA', 'AS'),
(270, 'GAMBIA', 'AF'),
(275, 'PALESTINIAN TERRITORY', 'AS'),
(276, 'GERMANY', 'EU'),
(288, 'GHANA', 'AF'),
(292, 'GIBRALTAR', 'EU'),
(296, 'KIRIBATI', 'OC'),
(300, 'GREECE', 'EU'),
(304, 'GREENLAND', 'NA'),
(308, 'GRENADA', 'NA'),
(312, 'GUADELOUPE', 'NA'),
(316, 'GUAM', 'OC'),
(320, 'GUATEMALA', 'NA'),
(324, 'GUINEA', 'AF'),
(328, 'GUYANA', 'SA'),
(332, 'HAITI', 'NA'),
(334, 'HEARD ISLAND AND MCDONALD ISLANDS', 'AN'),
(336, 'VATICAN', 'EU'),
(340, 'HONDURAS', 'NA'),
(344, 'HONG KONG', 'AS'),
(348, 'HUNGARY', 'EU'),
(352, 'ICELAND', 'EU'),
(356, 'INDIA', 'AS'),
(360, 'INDONESIA', 'AS'),
(364, 'IRAN', 'AS'),
(368, 'IRAQ', 'AS'),
(372, 'IRELAND', 'EU'),
(376, 'ISRAEL', 'AS'),
(380, 'ITALY', 'EU'),
(384, 'IVORY COAST', 'AF'),
(388, 'JAMAICA', 'NA'),
(392, 'JAPAN', 'AS'),
(398, 'KAZAKHSTAN', 'AS'),
(400, 'JORDAN', 'AS'),
(404, 'KENYA', 'AF'),
(408, 'NORTH KOREA', 'AS'),
(410, 'SOUTH KOREA', 'AS'),
(414, 'KUWAIT', 'AS'),
(417, 'KYRGYZSTAN', 'AS'),
(418, 'LAOS', 'AS'),
(422, 'LEBANON', 'AS'),
(426, 'LESOTHO', 'AF'),
(428, 'LATVIA', 'EU'),
(430, 'LIBERIA', 'AF'),
(434, 'LIBYA', 'AF'),
(438, 'LIECHTENSTEIN', 'EU'),
(440, 'LITHUANIA', 'EU'),
(442, 'LUXEMBOURG', 'EU'),
(446, 'MACAO', 'AS'),
(450, 'MADAGASCAR', 'AF'),
(454, 'MALAWI', 'AF'),
(458, 'MALAYSIA', 'AS'),
(462, 'MALDIVES', 'AS'),
(466, 'MALI', 'AF'),
(470, 'MALTA', 'EU'),
(474, 'MARTINIQUE', 'NA'),
(478, 'MAURITANIA', 'AF'),
(480, 'MAURITIUS', 'AF'),
(484, 'MEXICO', 'NA'),
(492, 'MONACO', 'EU'),
(496, 'MONGOLIA', 'AS'),
(498, 'MOLDOVA', 'EU'),
(499, 'MONTENEGRO', 'EU'),
(500, 'MONTSERRAT', 'NA'),
(504, 'MOROCCO', 'AF'),
(508, 'MOZAMBIQUE', 'AF'),
(512, 'OMAN', 'AS'),
(516, 'NAMIBIA', 'AF'),
(520, 'NAURU', 'OC'),
(524, 'NEPAL', 'AS'),
(528, 'NETHERLANDS', 'EU'),
(530, 'NETHERLANDS ANTILLES', 'NA'),
(533, 'ARUBA', 'NA'),
(540, 'NEW CALEDONIA', 'OC'),
(548, 'VANUATU', 'OC'),
(554, 'NEW ZEALAND', 'OC'),
(558, 'NICARAGUA', 'NA'),
(562, 'NIGER', 'AF'),
(566, 'NIGERIA', 'AF'),
(570, 'NIUE', 'OC'),
(574, 'NORFOLK ISLAND', 'OC'),
(578, 'NORWAY', 'EU'),
(580, 'NORTHERN MARIANA ISLANDS', 'OC'),
(581, 'UNITED STATES MINOR OUTLYING ISLANDS', 'OC'),
(583, 'MICRONESIA', 'OC'),
(584, 'MARSHALL ISLANDS', 'OC'),
(585, 'PALAU', 'OC'),
(586, 'PAKISTAN', 'AS'),
(591, 'PANAMA', 'NA'),
(598, 'PAPUA NEW GUINEA', 'OC'),
(600, 'PARAGUAY', 'SA'),
(604, 'PERU', 'SA'),
(608, 'PHILIPPINES', 'AS'),
(612, 'PITCAIRN', 'OC'),
(616, 'POLAND', 'EU'),
(620, 'PORTUGAL', 'EU'),
(624, 'GUINEA-BISSAU', 'AF'),
(626, 'EAST TIMOR', 'OC'),
(630, 'PUERTO RICO', 'NA'),
(634, 'QATAR', 'AS'),
(638, 'REUNION', 'AF'),
(642, 'ROMANIA', 'EU'),
(643, 'RUSSIA', 'EU'),
(646, 'RWANDA', 'AF'),
(652, 'SAINT BARTHÉLEMY', 'NA'),
(654, 'SAINT HELENA', 'AF'),
(659, 'SAINT KITTS AND NEVIS', 'NA'),
(660, 'ANGUILLA', 'NA'),
(662, 'SAINT LUCIA', 'NA'),
(663, 'SAINT MARTIN', 'NA'),
(666, 'SAINT PIERRE AND MIQUELON', 'NA'),
(670, 'SAINT VINCENT AND THE GRENADINES', 'NA'),
(674, 'SAN MARINO', 'EU'),
(678, 'SAO TOME AND PRINCIPE', 'AF'),
(682, 'SAUDI ARABIA', 'AS'),
(686, 'SENEGAL', 'AF'),
(688, 'SERBIA', 'EU'),
(690, 'SEYCHELLES', 'AF'),
(694, 'SIERRA LEONE', 'AF'),
(702, 'SINGAPORE', 'AS'),
(703, 'SLOVAKIA', 'EU'),
(704, 'VIETNAM', 'AS'),
(705, 'SLOVENIA', 'EU'),
(706, 'SOMALIA', 'AF'),
(710, 'SOUTH AFRICA', 'AF'),
(716, 'ZIMBABWE', 'AF'),
(724, 'SPAIN', 'EU'),
(732, 'WESTERN SAHARA', 'AF'),
(736, 'SUDAN', 'AF'),
(740, 'SURINAME', 'SA'),
(744, 'SVALBARD AND JAN MAYEN', 'EU'),
(748, 'SWAZILAND', 'AF'),
(752, 'SWEDEN', 'EU'),
(756, 'SWITZERLAND', 'EU'),
(760, 'SYRIA', 'AS'),
(762, 'TAJIKISTAN', 'AS'),
(764, 'THAILAND', 'AS'),
(768, 'TOGO', 'AF'),
(772, 'TOKELAU', 'OC'),
(776, 'TONGA', 'OC'),
(780, 'TRINIDAD AND TOBAGO', 'NA'),
(784, 'UNITED ARAB EMIRATES', 'AS'),
(788, 'TUNISIA', 'AF'),
(792, 'TURKEY', 'AS'),
(795, 'TURKMENISTAN', 'AS'),
(796, 'TURKS AND CAICOS ISLANDS', 'NA'),
(798, 'TUVALU', 'OC'),
(800, 'UGANDA', 'AF'),
(804, 'UKRAINE', 'EU'),
(807, 'MACEDONIA', 'EU'),
(818, 'EGYPT', 'AF'),
(826, 'UNITED KINGDOM', 'EU'),
(831, 'GUERNSEY', 'EU'),
(832, 'JERSEY', 'EU'),
(833, 'ISLE OF MAN', 'EU'),
(834, 'TANZANIA', 'AF'),
(840, 'UNITED STATES', 'NA'),
(850, 'U.S. VIRGIN ISLANDS', 'NA'),
(854, 'BURKINA FASO', 'AF'),
(855, 'KOSOVO', 'EU'),
(858, 'URUGUAY', 'SA'),
(860, 'UZBEKISTAN', 'AS'),
(862, 'VENEZUELA', 'SA'),
(876, 'WALLIS AND FUTUNA', 'OC'),
(882, 'SAMOA', 'OC'),
(887, 'YEMEN', 'AS'),
(891, 'SERBIA AND MONTENEGRO', 'EU'),
(894, 'ZAMBIA', 'AF');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_currency`
--

CREATE TABLE IF NOT EXISTS `_ref_currency` (
  `fldid` int(5) NOT NULL AUTO_INCREMENT,
  `fldcurr_code` varchar(5) DEFAULT NULL,
  `fldcurr_desc` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT AUTO_INCREMENT=13 ;

--
-- Dumping data for table `_ref_currency`
--

INSERT INTO `_ref_currency` (`fldid`, `fldcurr_code`, `fldcurr_desc`) VALUES
(1, 'MYR', 'Ringgit Malaysia'),
(2, 'USD', 'US Dollar'),
(3, 'RMB', 'China Remibi'),
(4, 'SGD', 'Singapore Dollar'),
(5, 'AUD', 'Australia Dollar'),
(6, 'JPY', 'Japanese Yen'),
(7, 'WON', 'Korea WON'),
(8, 'HKD', 'Hong Kong Dollar'),
(9, 'GBP', 'Great Britain Pound'),
(10, 'EUR', 'Euro'),
(11, 'CAD', 'Canadian Dollar'),
(12, 'THB', 'Thai Baht');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_dateformat`
--

CREATE TABLE IF NOT EXISTS `_ref_dateformat` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(24) DEFAULT NULL,
  `codeJava` varchar(24) DEFAULT NULL,
  `description` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `_ref_dateformat`
--

INSERT INTO `_ref_dateformat` (`ID`, `code`, `codeJava`, `description`) VALUES
(1, 'd-m-Y', 'dd-mm-yy', 'Day-Month-Year ( Eg. 01-05-2014 )'),
(2, 'd/m/Y\r\n', 'dd/mm/yy', 'Day/Month/Year ( Eg. 01/05/2014 )'),
(3, 'Y-m-d', 'yy-mm-dd', 'Year-Month-Day ( Eg. 2014-05-01 )'),
(4, 'Y/m/d', 'yy/mm/dd', 'Year/Month/Day ( Eg. 2014/05/01 )');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_industry`
--

CREATE TABLE IF NOT EXISTS `_ref_industry` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(128) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `_ref_industry`
--

INSERT INTO `_ref_industry` (`ID`, `name`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
(1, 'Manufacturing', 1, '2014-05-06 01:06:56', 0, '2014-05-06 01:32:24'),
(2, 'Retail', 1, '2014-05-06 01:06:56', 0, '2014-05-06 01:32:44'),
(3, 'Services', 1, '2014-05-06 01:08:14', 0, '2014-05-06 01:32:44'),
(4, 'Others', 1, '2014-05-06 01:08:14', 0, '2014-05-06 01:32:44');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_language`
--

CREATE TABLE IF NOT EXISTS `_ref_language` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(3) DEFAULT '0',
  `description` varchar(64) DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `_ref_language`
--

INSERT INTO `_ref_language` (`ID`, `code`, `description`) VALUES
(1, 'en', 'English (International)'),
(2, 'ms', 'Bahasa Malaysia'),
(3, 'ar', 'Arabic');

-- --------------------------------------------------------

--
-- Table structure for table `_ref_state`
--

CREATE TABLE IF NOT EXISTS `_ref_state` (
  `fldid` int(10) NOT NULL AUTO_INCREMENT,
  `fldregion_id` int(10) unsigned DEFAULT NULL,
  `fldname` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`fldid`),
  KEY `subregion_region_id` (`fldregion_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT AUTO_INCREMENT=3880 ;

--
-- Dumping data for table `_ref_state`
--

INSERT INTO `_ref_state` (`fldid`, `fldregion_id`, `fldname`) VALUES
(1, 4, 'BADAKHSHAN'),
(2, 4, 'BADGHIS PROVINCE'),
(3, 4, 'BAGHLĀN'),
(4, 4, 'BĀMĪĀN'),
(5, 4, 'FARAH'),
(6, 4, 'FARYAB PROVINCE'),
(7, 4, 'GHAZNĪ'),
(8, 4, 'GHOWR'),
(9, 4, 'HELMAND PROVINCE'),
(10, 4, 'HERAT PROVINCE'),
(11, 4, 'KABUL'),
(12, 4, 'KĀPĪSĀ'),
(13, 4, 'LOWGAR'),
(14, 4, 'NANGARHĀR'),
(15, 4, 'NĪMRŪZ'),
(16, 4, 'ORŪZGĀN'),
(17, 4, 'KANDAHĀR'),
(18, 4, 'KUNDUZ PROVINCE'),
(19, 4, 'TAKHĀR'),
(20, 4, 'VARDAK'),
(21, 4, 'ZABUL PROVINCE'),
(22, 4, 'PAKTĪKĀ'),
(23, 4, 'BALKH'),
(24, 4, 'JOWZJĀN'),
(25, 4, 'SAMANGĀN'),
(26, 4, 'SAR-E POL'),
(27, 4, 'KONAR'),
(28, 4, 'LAGHMĀN'),
(29, 4, 'PAKTIA PROVINCE'),
(30, 4, 'KHOWST'),
(31, 4, 'NŪRESTĀN'),
(32, 4, 'PARVĀN'),
(33, 4, 'DĀYKONDĪ'),
(34, 4, 'PANJSHĪR'),
(35, 8, 'BERAT'),
(36, 8, 'DIBËR'),
(37, 8, 'DURRËS'),
(38, 8, 'ELBASAN'),
(39, 8, 'FIER'),
(40, 8, 'GJIROKASTËR'),
(41, 8, 'KORÇË'),
(42, 8, 'KUKËS'),
(43, 8, 'LEZHË'),
(44, 8, 'SHKODËR'),
(45, 8, 'TIRANË'),
(46, 8, 'VLORË'),
(47, 12, 'ALGER'),
(48, 12, 'BATNA'),
(49, 12, 'CONSTANTINE'),
(50, 12, 'MÉDÉA'),
(51, 12, 'MOSTAGANEM'),
(52, 12, 'ORAN'),
(53, 12, 'SAÃDA'),
(54, 12, 'SÉTIF'),
(55, 12, 'TIARET'),
(56, 12, 'TIZI OUZOU'),
(57, 12, 'TLEMCEN'),
(58, 12, 'BEJAÃA'),
(59, 12, 'BISKRA'),
(60, 12, 'BLIDA'),
(61, 12, 'BOUIRA'),
(62, 12, 'DJELFA'),
(63, 12, 'GUELMA'),
(64, 12, 'JIJEL'),
(65, 12, 'LAGHOUAT'),
(66, 12, 'MASCARA'),
(67, 12, 'MʼSILA'),
(68, 12, 'OUM EL BOUAGHI'),
(69, 12, 'SIDI BEL ABBÈS'),
(70, 12, 'SKIKDA'),
(71, 12, 'TÉBESSA'),
(72, 12, 'ADRAR'),
(73, 12, 'AÃN DEFLA'),
(74, 12, 'AÃN TEMOUCHENT'),
(75, 12, 'ANNABA'),
(76, 12, 'BÉCHAR'),
(77, 12, 'BORDJ BOU ARRÉRIDJ'),
(78, 12, 'BOUMERDES'),
(79, 12, 'CHLEF'),
(80, 12, 'EL BAYADH'),
(81, 12, 'EL OUED'),
(82, 12, 'EL TARF'),
(83, 12, 'GHARDAÃA'),
(84, 12, 'ILLIZI'),
(85, 12, 'KHENCHELA'),
(86, 12, 'MILA'),
(87, 12, 'NAAMA النعامة'),
(88, 12, 'OUARGLA'),
(89, 12, 'RELIZANE'),
(90, 12, 'SOUK AHRAS'),
(91, 12, 'TAMANGHASSET'),
(92, 12, 'TINDOUF'),
(93, 12, 'TIPAZA'),
(94, 12, 'TISSEMSILT'),
(95, 16, 'AMERICAN SAMOA'),
(96, 20, 'PARRÒQUIA DE CANILLO'),
(97, 20, 'PARRÒQUIA DʼENCAMP'),
(98, 20, 'PARRÒQUIA DE LA MASSANA'),
(99, 20, 'PARRÒQUIA DʼORDINO'),
(100, 20, 'PARRÒQUIA DE SANT JULIÀ DE LÒRIA'),
(101, 20, 'PARRÒQUIA DʼANDORRA LA VELLA'),
(102, 20, 'PARRÒQUIA DʼESCALDES-ENGORDANY'),
(103, 24, 'BENGUELA'),
(104, 24, 'BIÉ'),
(105, 24, 'CABINDA'),
(106, 24, 'CUANDO CUBANGO'),
(107, 24, 'CUANZA NORTE'),
(108, 24, 'CUANZA SUL'),
(109, 24, 'CUNENE'),
(110, 24, 'HUAMBO'),
(111, 24, 'HUÃLA'),
(112, 24, 'LUANDA'),
(113, 24, 'MALANJE'),
(114, 24, 'NAMIBE'),
(115, 24, 'MOXICO'),
(116, 24, 'UÃGE'),
(117, 24, 'ZAIRE'),
(118, 24, 'LUNDA NORTE'),
(119, 24, 'LUNDA SUL'),
(120, 24, 'BENGO'),
(121, 28, 'REDONDA'),
(122, 28, 'BARBUDA'),
(123, 28, 'SAINT GEORGE'),
(124, 28, 'SAINT JOHN'),
(125, 28, 'SAINT MARY'),
(126, 28, 'SAINT PAUL'),
(127, 28, 'SAINT PETER'),
(128, 28, 'SAINT PHILIP'),
(129, 31, 'ABŞERON'),
(130, 31, 'AĞCABƎDI'),
(131, 31, 'AĞDAM'),
(132, 31, 'AĞDAŞ'),
(133, 31, 'AĞSTAFA'),
(134, 31, 'AĞSU'),
(135, 31, 'ÆLI BAYRAMLI'),
(136, 31, 'ASTARA'),
(137, 31, 'BAKI'),
(138, 31, 'BALAKƎN'),
(139, 31, 'BƎRDƎ'),
(140, 31, 'BEYLƎQAN'),
(141, 31, 'BILƎSUVAR'),
(142, 31, 'CƎBRAYIL'),
(143, 31, 'CƎLILABAD'),
(144, 31, 'DAŞKƎSƎN'),
(145, 31, 'DƎVƎÇI'),
(146, 31, 'FÜZULI'),
(147, 31, 'GƎDƎBƎY'),
(148, 31, 'GƎNCƎ'),
(149, 31, 'GORANBOY'),
(150, 31, 'GÖYÇAY'),
(151, 31, 'HACIQABUL'),
(152, 31, 'İMIŞLI'),
(153, 31, 'İSMAYILLI'),
(154, 31, 'KƎLBƎCƎR'),
(155, 31, 'KÜRDƎMIR'),
(156, 31, 'LAÇIN'),
(157, 31, 'LƎNKƎRAN'),
(158, 31, 'LƎNKƎRAN ŞƎHƎRI'),
(159, 31, 'LERIK'),
(160, 31, 'MASALLI'),
(161, 31, 'MINGƎCEVIR'),
(162, 31, 'NAFTALAN'),
(163, 31, 'NAKHICHEVAN'),
(164, 31, 'NEFTÇALA'),
(165, 31, 'OĞUZ'),
(166, 31, 'QƎBƎLƎ'),
(167, 31, 'QƎX'),
(168, 31, 'QAZAX'),
(169, 31, 'QOBUSTAN'),
(170, 31, 'QUBA'),
(171, 31, 'QUBADLI'),
(172, 31, 'QUSAR'),
(173, 31, 'SAATLI'),
(174, 31, 'SABIRABAD'),
(175, 31, 'ŞƎKI'),
(176, 31, 'ŞƎKI'),
(177, 31, 'SALYAN'),
(178, 31, 'ŞAMAXI'),
(179, 31, 'ŞƎMKIR'),
(180, 31, 'SAMUX'),
(181, 31, 'SIYƎZƎN'),
(182, 31, 'SUMQAYIT'),
(183, 31, 'ŞUŞA'),
(184, 31, 'ŞUŞA ŞÆHÆRI'),
(185, 31, 'TƎRTƎR'),
(186, 31, 'TOVUZ'),
(187, 31, 'UCAR'),
(188, 31, 'XAÇMAZ'),
(189, 31, 'XANKƎNDI'),
(190, 31, 'XANLAR'),
(191, 31, 'XIZI'),
(192, 31, 'XOCALI'),
(193, 31, 'XOCAVƎND'),
(194, 31, 'YARDIMLI'),
(195, 31, 'YEVLAX'),
(196, 31, 'YEVLAX'),
(197, 31, 'ZƎNGILAN'),
(198, 31, 'ZAQATALA'),
(199, 31, 'ZƎRDAB'),
(200, 32, 'BUENOS AIRES'),
(201, 32, 'CATAMARCA'),
(202, 32, 'CHACO'),
(203, 32, 'CHUBUT'),
(204, 32, 'CÓRDOBA'),
(205, 32, 'CORRIENTES'),
(206, 32, 'DISTRITO FEDERAL'),
(207, 32, 'ENTRE RÃOS'),
(208, 32, 'FORMOSA'),
(209, 32, 'JUJUY'),
(210, 32, 'LA PAMPA'),
(211, 32, 'LA RIOJA'),
(212, 32, 'MENDOZA'),
(213, 32, 'MISIONES'),
(214, 32, 'NEUQUÉN'),
(215, 32, 'RÃO NEGRO'),
(216, 32, 'SALTA'),
(217, 32, 'SAN JUAN'),
(218, 32, 'SAN LUIS'),
(219, 32, 'SANTA CRUZ'),
(220, 32, 'SANTA FE'),
(221, 32, 'SANTIAGO DEL ESTERO'),
(222, 32, 'TIERRA DEL FUEGO, ANTÃRTIDA E ISLAS DEL ATLÃ'),
(223, 32, 'TUCUMÃN'),
(224, 36, 'AUSTRALIAN CAPITAL TERRITORY'),
(225, 36, 'NEW SOUTH WALES'),
(226, 36, 'NORTHERN TERRITORY'),
(227, 36, 'QUEENSLAND'),
(228, 36, 'SOUTH AUSTRALIA'),
(229, 36, 'TASMANIA'),
(230, 36, 'VICTORIA'),
(231, 36, 'WESTERN AUSTRALIA'),
(232, 40, 'BURGENLAND'),
(233, 40, 'CARINTHIA'),
(234, 40, 'LOWER AUSTRIA'),
(235, 40, 'UPPER AUSTRIA'),
(236, 40, 'SALZBURG'),
(237, 40, 'STYRIA'),
(238, 40, 'TYROL'),
(239, 40, 'VORARLBERG'),
(240, 40, 'VIENNA'),
(241, 44, 'BIMINI'),
(242, 44, 'CAT ISLAND'),
(243, 44, 'INAGUA'),
(244, 44, 'LONG ISLAND'),
(245, 44, 'MAYAGUANA'),
(246, 44, 'RAGGED ISLAND'),
(247, 44, 'HARBOUR ISLAND, ELEUTHERA'),
(248, 44, 'NORTH ABACO'),
(249, 44, 'ACKLINS'),
(250, 44, 'CITY OF FREEPORT, GRAND BAHAMA'),
(251, 44, 'SOUTH ANDROS'),
(252, 44, 'HOPE TOWN, ABACO'),
(253, 44, 'MANGROVE CAY, ANDROS'),
(254, 44, 'MOOREʼS ISLAND, ABACO'),
(255, 44, 'RUM CAY'),
(256, 44, 'NORTH ANDROS'),
(257, 44, 'NORTH ELEUTHERA'),
(258, 44, 'SOUTH ELEUTHERA'),
(259, 44, 'SOUTH ABACO'),
(260, 44, 'SAN SALVADOR'),
(261, 44, 'BERRY ISLANDS'),
(262, 44, 'BLACK POINT, EXUMA'),
(263, 44, 'CENTRAL ABACO'),
(264, 44, 'CENTRAL ANDROS'),
(265, 44, 'CENTRAL ELEUTHERA'),
(266, 44, 'CROOKED ISLAND'),
(267, 44, 'EAST GRAND BAHAMA'),
(268, 44, 'EXUMA'),
(269, 44, 'GRAND CAY, ABACO'),
(270, 44, 'SPANISH WELLS, ELEUTHERA'),
(271, 44, 'WEST GRAND BAHAMA'),
(272, 48, 'SOUTHERN GOVERNATE'),
(273, 48, 'NORTHERN GOVERNATE'),
(274, 48, 'CAPITAL GOVERNATE'),
(275, 48, 'CENTRAL GOVERNATE'),
(276, 48, 'MUHARRAQ GOVERNATE'),
(277, 50, 'BG80'),
(278, 50, 'DHAKA'),
(279, 50, 'KHULNA'),
(280, 50, 'RĀJSHĀHI'),
(281, 50, 'CHITTAGONG'),
(282, 50, 'BARISĀL'),
(283, 50, 'SYLHET'),
(284, 51, 'ARAGATSOTN'),
(285, 51, 'ARARAT'),
(286, 51, 'ARMAVIR'),
(287, 51, 'GEGHARKʼUNIKʼ'),
(288, 51, 'KOTAYKʼ'),
(289, 51, 'LORRI'),
(290, 51, 'SHIRAK'),
(291, 51, 'SYUNIKʼ'),
(292, 51, 'TAVUSH'),
(293, 51, 'VAYOTSʼ DZOR'),
(294, 51, 'YEREVAN'),
(295, 52, 'CHRIST CHURCH'),
(296, 52, 'SAINT ANDREW'),
(297, 52, 'SAINT GEORGE'),
(298, 52, 'SAINT JAMES'),
(299, 52, 'SAINT JOHN'),
(300, 52, 'SAINT JOSEPH'),
(301, 52, 'SAINT LUCY'),
(302, 52, 'SAINT MICHAEL'),
(303, 52, 'SAINT PETER'),
(304, 52, 'SAINT PHILIP'),
(305, 52, 'SAINT THOMAS'),
(306, 56, 'BRUXELLES-CAPITALE'),
(307, 56, 'FLANDERS'),
(308, 56, 'WALLONIA'),
(309, 60, 'DEVONSHIRE'),
(310, 60, 'HAMILTON (PARISH)'),
(311, 60, 'HAMILTON (CITY)'),
(312, 60, 'PAGET'),
(313, 60, 'PEMBROKE'),
(314, 60, 'SAINT GEORGEʼS (PARISH)'),
(315, 60, 'SAINT GEORGEʼS (CITY)'),
(316, 60, 'SANDYS'),
(317, 60, 'SMITHʼS'),
(318, 60, 'SOUTHAMPTON'),
(319, 60, 'WARWICK'),
(320, 64, 'BUMTHANG'),
(321, 64, 'CHHUKHA'),
(322, 64, 'CHIRANG'),
(323, 64, 'DAGA'),
(324, 64, 'GEYLEGPHUG'),
(325, 64, 'HA'),
(326, 64, 'LHUNTSHI'),
(327, 64, 'MONGAR'),
(328, 64, 'PARO DISTRICT'),
(329, 64, 'PEMAGATSEL'),
(330, 64, 'SAMCHI'),
(331, 64, 'SAMDRUP JONGKHAR DISTRICT'),
(332, 64, 'SHEMGANG'),
(333, 64, 'TASHIGANG'),
(334, 64, 'THIMPHU'),
(335, 64, 'TONGSA'),
(336, 64, 'WANGDI PHODRANG'),
(337, 68, 'CHUQUISACA'),
(338, 68, 'COCHABAMBA'),
(339, 68, 'EL BENI'),
(340, 68, 'LA PAZ'),
(341, 68, 'ORURO'),
(342, 68, 'PANDO'),
(343, 68, 'POTOSÃ'),
(344, 68, 'SANTA CRUZ'),
(345, 68, 'TARIJA'),
(346, 70, 'FEDERATION OF BOSNIA AND HERZEGOVINA'),
(347, 70, 'REPUBLIKA SRPSKA'),
(348, 70, 'BRČKO'),
(349, 72, 'CENTRAL'),
(350, 72, 'CHOBE'),
(351, 72, 'GHANZI'),
(352, 72, 'KGALAGADI'),
(353, 72, 'KGATLENG'),
(354, 72, 'KWENENG'),
(355, 72, 'NGAMILAND'),
(356, 72, 'NORTH EAST'),
(357, 72, 'SOUTH EAST'),
(358, 72, 'SOUTHERN'),
(359, 72, 'NORTH WEST'),
(360, 76, 'ACRE'),
(361, 76, 'ALAGOAS'),
(362, 76, 'AMAPÃ'),
(363, 76, 'ESTADO DO AMAZONAS'),
(364, 76, 'BAHIA'),
(365, 76, 'CEARÃ'),
(366, 76, 'DISTRITO FEDERAL'),
(367, 76, 'ESPÃRITO SANTO'),
(368, 76, 'FERNANDO DE NORONHA'),
(369, 76, 'GOIAS'),
(370, 76, 'MATO GROSSO DO SUL'),
(371, 76, 'MARANHÃO'),
(372, 76, 'MATO GROSSO'),
(373, 76, 'MINAS GERAIS'),
(374, 76, 'PARÃ'),
(375, 76, 'PARAÃBA'),
(376, 76, 'PARANÃ'),
(377, 76, 'PERNAMBUCO'),
(378, 76, 'PIAUÃ'),
(379, 76, 'STATE OF RIO DE JANEIRO'),
(380, 76, 'RIO GRANDE DO NORTE'),
(381, 76, 'RIO GRANDE DO SUL'),
(382, 76, 'RONDÔNIA'),
(383, 76, 'RORAIMA'),
(384, 76, 'SANTA CATARINA'),
(385, 76, 'SÃO PAULO'),
(386, 76, 'SERGIPE'),
(387, 76, 'ESTADO DE GOIÃS'),
(388, 76, 'PERNAMBUCO'),
(389, 76, 'TOCANTINS'),
(390, 84, 'BELIZE'),
(391, 84, 'CAYO'),
(392, 84, 'COROZAL'),
(393, 84, 'ORANGE WALK'),
(394, 84, 'STANN CREEK'),
(395, 84, 'TOLEDO'),
(396, 86, 'BRITISH INDIAN OCEAN TERRITORY'),
(397, 90, 'MALAITA'),
(398, 90, 'WESTERN'),
(399, 90, 'CENTRAL'),
(400, 90, 'GUADALCANAL'),
(401, 90, 'ISABEL'),
(402, 90, 'MAKIRA'),
(403, 90, 'TEMOTU'),
(404, 90, 'CENTRAL PROVINCE'),
(405, 90, 'CHOISEUL'),
(406, 90, 'RENNELL AND BELLONA'),
(407, 90, 'RENNELL AND BELLONA'),
(408, 92, 'BRITISH VIRGIN ISLANDS'),
(409, 96, 'BELAIT'),
(410, 96, 'BRUNEI AND MUARA'),
(411, 96, 'TEMBURONG'),
(412, 96, 'TUTONG'),
(413, 100, 'BURGAS'),
(414, 100, 'GRAD'),
(415, 100, 'KHASKOVO'),
(416, 100, 'LOVECH'),
(417, 100, 'MIKHAYLOVGRAD'),
(418, 100, 'PLOVDIV'),
(419, 100, 'RAZGRAD'),
(420, 100, 'SOFIYA'),
(421, 100, 'VARNA'),
(422, 100, 'BLAGOEVGRAD'),
(423, 100, 'BURGAS'),
(424, 100, 'DOBRICH'),
(425, 100, 'GABROVO'),
(426, 100, 'OBLAST SOFIYA-GRAD'),
(427, 100, 'KHASKOVO'),
(428, 100, 'KŬRDZHALI'),
(429, 100, 'KYUSTENDIL'),
(430, 100, 'LOVECH'),
(431, 100, 'MONTANA'),
(432, 100, 'PAZARDZHIT'),
(433, 100, 'PERNIK'),
(434, 100, 'PLEVEN'),
(435, 100, 'PLOVDIV'),
(436, 100, 'RAZGRAD'),
(437, 100, 'RUSE'),
(438, 100, 'SHUMEN'),
(439, 100, 'SILISTRA'),
(440, 100, 'SLIVEN'),
(441, 100, 'SMOLYAN'),
(442, 100, 'SOFIYA'),
(443, 100, 'STARA ZAGORA'),
(444, 100, 'TŬRGOVISHTE'),
(445, 100, 'VARNA'),
(446, 100, 'VELIKO TŬRNOVO'),
(447, 100, 'VIDIN'),
(448, 100, 'VRATSA'),
(449, 100, 'YAMBOL'),
(450, 104, 'RAKHINE STATE'),
(451, 104, 'CHIN STATE'),
(452, 104, 'AYEYARWADY'),
(453, 104, 'KACHIN STATE'),
(454, 104, 'KAYIN STATE'),
(455, 104, 'KAYAH STATE'),
(456, 104, 'MAGWE'),
(457, 104, 'MANDALAY'),
(458, 104, 'PEGU'),
(459, 104, 'SAGAIN'),
(460, 104, 'SHAN STATE'),
(461, 104, 'TANINTHARYI'),
(462, 104, 'MON STATE'),
(463, 104, 'RANGOON'),
(464, 104, 'MAGWAY'),
(465, 104, 'BAGO'),
(466, 104, 'YANGON'),
(467, 108, 'BUJUMBURA'),
(468, 108, 'BUBANZA'),
(469, 108, 'BURURI'),
(470, 108, 'CANKUZO'),
(471, 108, 'CIBITOKE'),
(472, 108, 'GITEGA'),
(473, 108, 'KARUZI'),
(474, 108, 'KAYANZA'),
(475, 108, 'KIRUNDO'),
(476, 108, 'MAKAMBA'),
(477, 108, 'MUYINGA'),
(478, 108, 'NGOZI'),
(479, 108, 'RUTANA'),
(480, 108, 'RUYIGI'),
(481, 108, 'MURAMVYA'),
(482, 108, 'MWARO'),
(483, 112, 'BRESTSKAYA VOBLASTSʼ'),
(484, 112, 'HOMYELʼSKAYA VOBLASTSʼ'),
(485, 112, 'HRODZYENSKAYA VOBLASTSʼ'),
(486, 112, 'MAHILYOWSKAYA VOBLASTSʼ'),
(487, 112, 'HORAD MINSK'),
(488, 112, 'MINSKAYA VOBLASTSʼ'),
(489, 112, 'VITSYEBSKAYA VOBLASTSʼ'),
(490, 116, 'KRŎNG PREĂH SEIHÂNŬ'),
(491, 116, 'KÂMPÓNG CHAM'),
(492, 116, 'KÂMPÓNG CHHNĂNG'),
(493, 116, 'KHÉTT KÂMPÓNG SPŒ'),
(494, 116, 'KÂMPÓNG THUM'),
(495, 116, 'KÂNDAL'),
(496, 116, 'KAÔH KŎNG'),
(497, 116, 'KRÂCHÉH'),
(498, 116, 'MÔNDÓL KIRI'),
(499, 116, 'PHNUM PENH'),
(500, 116, 'POŬTHĬSĂT'),
(501, 116, 'PREĂH VIHÉAR'),
(502, 116, 'PREY VÊNG'),
(503, 116, 'STŒ̆NG TRÊNG'),
(504, 116, 'SVAY RIĔNG'),
(505, 116, 'TAKÊV'),
(506, 116, 'KÂMPÔT'),
(507, 116, 'PHNUM PÉNH'),
(508, 116, 'RÔTÂNĂH KIRI'),
(509, 116, 'SIĔM RÉAB'),
(510, 116, 'BANTÉAY MÉAN CHEĂY'),
(511, 116, 'KÊB'),
(512, 116, 'ŎTDÂR MÉAN CHEĂY'),
(513, 116, 'PREĂH SEIHÂNŬ'),
(514, 116, 'BĂTDÂMBÂNG'),
(515, 116, 'PALĬN'),
(516, 120, 'EST'),
(517, 120, 'LITTORAL'),
(518, 120, 'NORTH-WEST PROVINCE'),
(519, 120, 'OUEST'),
(520, 120, 'SOUTH-WEST PROVINCE'),
(521, 120, 'ADAMAOUA'),
(522, 120, 'CENTRE'),
(523, 120, 'EXTREME-NORD'),
(524, 120, 'NORTH PROVINCE'),
(525, 120, 'SOUTH PROVINCE'),
(526, 124, 'ALBERTA'),
(527, 124, 'BRITISH COLUMBIA'),
(528, 124, 'MANITOBA'),
(529, 124, 'NEW BRUNSWICK'),
(530, 124, 'NEWFOUNDLAND AND LABRADOR'),
(531, 124, 'NOVA SCOTIA'),
(532, 124, 'ONTARIO'),
(533, 124, 'PRINCE EDWARD ISLAND'),
(534, 124, 'QUEBEC'),
(535, 124, 'SASKATCHEWAN'),
(536, 124, 'YUKON'),
(537, 124, 'NORTHWEST TERRITORIES'),
(538, 124, 'NUNAVUT'),
(539, 132, 'BOA VISTA'),
(540, 132, 'BRAVA'),
(541, 132, 'MAIO'),
(542, 132, 'PAUL'),
(543, 132, 'PRAIA'),
(544, 132, 'RIBEIRA GRANDE'),
(545, 132, 'SAL'),
(546, 132, 'SANTA CATARINA   '),
(547, 132, 'SÃO NICOLAU'),
(548, 132, 'SÃO VICENTE'),
(549, 132, 'TARRAFAL '),
(550, 132, 'MOSTEIROS'),
(551, 132, 'PRAIA'),
(552, 132, 'SANTA CATARINA'),
(553, 132, 'SANTA CRUZ'),
(554, 132, 'SÃO DOMINGOS'),
(555, 132, 'SÃO FILIPE'),
(556, 132, 'SÃO MIGUEL'),
(557, 132, 'TARRAFAL'),
(558, 136, 'CREEK'),
(559, 136, 'EASTERN'),
(560, 136, 'MIDLAND'),
(561, 136, 'SOUTH TOWN'),
(562, 136, 'SPOT BAY'),
(563, 136, 'STAKE BAY'),
(564, 136, 'WEST END'),
(565, 136, 'WESTERN'),
(566, 140, 'BAMINGUI-BANGORAN'),
(567, 140, 'BASSE-KOTTO'),
(568, 140, 'HAUTE-KOTTO'),
(569, 140, 'MAMBÉRÉ-KADÉÃ'),
(570, 140, 'HAUT-MBOMOU'),
(571, 140, 'KÉMO'),
(572, 140, 'LOBAYE'),
(573, 140, 'MBOMOU'),
(574, 140, 'NANA-MAMBÉRÉ'),
(575, 140, 'OUAKA'),
(576, 140, 'OUHAM'),
(577, 140, 'OUHAM-PENDÉ'),
(578, 140, 'VAKAGA'),
(579, 140, 'NANA-GRÉBIZI'),
(580, 140, 'SANGHA-MBAÉRÉ'),
(581, 140, 'OMBELLA-MPOKO'),
(582, 140, 'BANGUI'),
(583, 144, 'CENTRAL'),
(584, 144, 'NORTH CENTRAL'),
(585, 144, 'NORTH EASTERN'),
(586, 144, 'NORTH WESTERN'),
(587, 144, 'SABARAGAMUWA'),
(588, 144, 'SOUTHERN'),
(589, 144, 'UVA'),
(590, 144, 'WESTERN'),
(591, 148, 'BATHA'),
(592, 148, 'BILTINE'),
(593, 148, 'BORKOU-ENNEDI-TIBESTI'),
(594, 148, 'CHARI-BAGUIRMI'),
(595, 148, 'GUÉRA'),
(596, 148, 'KANEM'),
(597, 148, 'LAC'),
(598, 148, 'LOGONE OCCIDENTAL'),
(599, 148, 'LOGONE ORIENTAL'),
(600, 148, 'MAYO-KÉBBI'),
(601, 148, 'MOYEN-CHARI'),
(602, 148, 'OUADDAÃ'),
(603, 148, 'SALAMAT'),
(604, 148, 'TANDJILÉ'),
(605, 152, 'VALPARAÃSO'),
(606, 152, 'AISÉN DEL GENERAL CARLOS IBÃÑEZ DEL CAMPO'),
(607, 152, 'ANTOFAGASTA'),
(608, 152, 'ARAUCANÃA'),
(609, 152, 'ATACAMA'),
(610, 152, 'BÃO-BÃO'),
(611, 152, 'COQUIMBO'),
(612, 152, 'LIBERTADOR GENERAL BERNARDO OʼHIGGINS'),
(613, 152, 'LOS LAGOS'),
(614, 152, 'MAGALLANES Y ANTÃRTICA CHILENA'),
(615, 152, 'MAULE'),
(616, 152, 'REGIÓN METROPOLITANA'),
(617, 152, 'TARAPACA'),
(618, 152, 'LOS LAGOS'),
(619, 152, 'TARAPACÃ'),
(620, 152, 'REGIÓN DE ARICA Y PARINACOTA'),
(621, 152, 'REGIÓN DE LOS RÃOS'),
(622, 156, 'ANHUI'),
(623, 156, 'ZHEJIANG'),
(624, 156, 'JIANGXI'),
(625, 156, 'JIANGSU'),
(626, 156, 'JILIN'),
(627, 156, 'QINGHAI'),
(628, 156, 'FUJIAN'),
(629, 156, 'HEILONGJIANG'),
(630, 156, 'HENAN'),
(631, 156, 'DISPUTED'),
(632, 156, 'HEBEI'),
(633, 156, 'HUNAN PROVINCE'),
(634, 156, 'HUBEI'),
(635, 156, 'XINJIANG'),
(636, 156, 'XIZANG'),
(637, 156, 'GANSU'),
(638, 156, 'GUANGXI'),
(639, 156, 'GUIZHOU'),
(640, 156, 'LIAONING PROVINCE'),
(641, 156, 'INNER MONGOLIA'),
(642, 156, 'NINGXIA'),
(643, 156, 'BEIJING'),
(644, 156, 'SHANGHAI'),
(645, 156, 'SHANXI'),
(646, 156, 'SHANDONG'),
(647, 156, 'SHAANXI'),
(648, 156, 'TIANJIN'),
(649, 156, 'YUNNAN PROVINCE'),
(650, 156, 'GUANGDONG'),
(651, 156, 'HAINAN PROVINCE'),
(652, 156, 'SICHUAN'),
(653, 156, 'CHONGQING'),
(654, 156, 'PF99'),
(655, 158, 'FUKIEN'),
(656, 158, 'KAOHSIUNG'),
(657, 158, 'TAIPEI'),
(658, 158, 'TAIWAN'),
(659, 162, 'CHRISTMAS ISLAND'),
(660, 166, 'COCOS (KEELING) ISLANDS'),
(661, 170, 'AMAZONAS'),
(662, 170, 'ANTIOQUIA'),
(663, 170, 'ARAUCA'),
(664, 170, 'ATLÃNTICO'),
(665, 170, 'BOLÃVAR'),
(666, 170, 'BOYACÃ'),
(667, 170, 'CALDAS'),
(668, 170, 'CAQUETÃ'),
(669, 170, 'CAUCA'),
(670, 170, 'CESAR'),
(671, 170, 'CHOCÓ'),
(672, 170, 'CÓRDOBA'),
(673, 170, 'GUAVIARE'),
(674, 170, 'GUAINÃA'),
(675, 170, 'HUILA'),
(676, 170, 'LA GUAJIRA'),
(677, 170, 'MAGDALENA'),
(678, 170, 'META'),
(679, 170, 'NARIÑO'),
(680, 170, 'NORTE DE SANTANDER'),
(681, 170, 'PUTUMAYO'),
(682, 170, 'QUINDÃO'),
(683, 170, 'RISARALDA'),
(684, 170, 'ARCHIPIÉLAGO DE SAN ANDRÉS, PROVIDENCIA Y S'),
(685, 170, 'SANTANDER'),
(686, 170, 'SUCRE'),
(687, 170, 'TOLIMA'),
(688, 170, 'VALLE DEL CAUCA'),
(689, 170, 'VAUPÉS'),
(690, 170, 'VICHADA'),
(691, 170, 'CASANARE'),
(692, 170, 'CUNDINAMARCA'),
(693, 170, 'BOGOTA D.C.'),
(694, 170, 'BOLÃVAR'),
(695, 170, 'BOYACÃ'),
(696, 170, 'CALDAS'),
(697, 170, 'MAGDALENA'),
(698, 174, 'ANJOUAN'),
(699, 174, 'GRANDE COMORE'),
(700, 174, 'MOHÉLI'),
(701, 175, 'MAYOTTE'),
(702, 178, 'BOUENZA'),
(703, 178, 'CF03'),
(704, 178, 'KOUILOU'),
(705, 178, 'LÉKOUMOU'),
(706, 178, 'LIKOUALA'),
(707, 178, 'NIARI'),
(708, 178, 'PLATEAUX'),
(709, 178, 'SANGHA'),
(710, 178, 'POOL'),
(711, 178, 'BRAZZAVILLE'),
(712, 178, 'CUVETTE'),
(713, 178, 'CUVETTE-OUEST'),
(714, 178, 'POINTE-NOIRE'),
(715, 180, 'BANDUNDU'),
(716, 180, 'ÉQUATEUR'),
(717, 180, 'KASAÃ-OCCIDENTAL'),
(718, 180, 'KASAÃ-ORIENTAL'),
(719, 180, 'KATANGA'),
(720, 180, 'KINSHASA'),
(721, 180, 'BAS-CONGO'),
(722, 180, 'ORIENTALE'),
(723, 180, 'MANIEMA'),
(724, 180, 'NORD-KIVU'),
(725, 180, 'SUD-KIVU'),
(726, 184, 'COOK ISLANDS'),
(727, 188, 'ALAJUELA'),
(728, 188, 'CARTAGO'),
(729, 188, 'GUANACASTE'),
(730, 188, 'HEREDIA'),
(731, 188, 'LIMÓN'),
(732, 188, 'PUNTARENAS'),
(733, 188, 'SAN JOSÉ'),
(734, 191, 'BJELOVARSKO-BILOGORSKA'),
(735, 191, 'BRODSKO-POSAVSKA'),
(736, 191, 'DUBROVAČKO-NERETVANSKA'),
(737, 191, 'ISTARSKA'),
(738, 191, 'KARLOVAČKA'),
(739, 191, 'KOPRIVNIČKO-KRIŽEVAČKA'),
(740, 191, 'KRAPINSKO-ZAGORSKA'),
(741, 191, 'LIČKO-SENJSKA'),
(742, 191, 'MEÄIMURSKA'),
(743, 191, 'OSJEČKO-BARANJSKA'),
(744, 191, 'POŽEŠKO-SLAVONSKA'),
(745, 191, 'PRIMORSKO-GORANSKA'),
(746, 191, 'ŠIBENSKO-KNINISKA'),
(747, 191, 'SISAČKO-MOSLAVAČKA'),
(748, 191, 'SPLITSKO-DALMATINSKA'),
(749, 191, 'VARAŽDINSKA'),
(750, 191, 'VIROVITIČK-PODRAVSKA'),
(751, 191, 'VUKOVARSKO-SRIJEMSKA'),
(752, 191, 'ZADARSKA'),
(753, 191, 'ZAGREBAČKA'),
(754, 191, 'GRAD ZAGREB'),
(755, 192, 'PINAR DEL RÃO'),
(756, 192, 'CIUDAD DE LA HABANA'),
(757, 192, 'MATANZAS'),
(758, 192, 'ISLA DE LA JUVENTUD'),
(759, 192, 'CAMAGÜEY'),
(760, 192, 'CIEGO DE ÃVILA'),
(761, 192, 'CIENFUEGOS'),
(762, 192, 'GRANMA'),
(763, 192, 'GUANTÃNAMO'),
(764, 192, 'LA HABANA'),
(765, 192, 'HOLGUÃN'),
(766, 192, 'LAS TUNAS'),
(767, 192, 'SANCTI SPÃRITUS'),
(768, 192, 'SANTIAGO DE CUBA'),
(769, 192, 'VILLA CLARA'),
(770, 196, 'FAMAGUSTA'),
(771, 196, 'KYRENIA'),
(772, 196, 'LARNACA'),
(773, 196, 'NICOSIA'),
(774, 196, 'LIMASSOL'),
(775, 196, 'PAPHOS'),
(776, 203, 'HRADEC KRALOVE'),
(777, 203, 'JABLONEC NAD NISOU'),
(778, 203, 'JIEIN'),
(779, 203, 'JIHLAVA'),
(780, 203, 'KOLIN'),
(781, 203, 'LIBEREC'),
(782, 203, 'MELNIK'),
(783, 203, 'MLADA BOLESLAV'),
(784, 203, 'NACHOD'),
(785, 203, 'NYMBURK'),
(786, 203, 'PARDUBICE'),
(787, 203, 'HLAVNÃ MESTO PRAHA'),
(788, 203, 'SEMILY'),
(789, 203, 'TRUTNOV'),
(790, 203, 'SOUTH MORAVIAN REGION'),
(791, 203, 'JIHOČESKÃ KRAJ'),
(792, 203, 'VYSOČINA'),
(793, 203, 'KARLOVARSKÃ KRAJ'),
(794, 203, 'KRÃLOVÉHRADECKÃ KRAJ'),
(795, 203, 'LIBERECKÃ KRAJ'),
(796, 203, 'OLOMOUCKÃ KRAJ'),
(797, 203, 'MORAVSKOSLEZSKÃ KRAJ'),
(798, 203, 'PARDUBICKÃ KRAJ'),
(799, 203, 'PLZEŇSKÃ KRAJ'),
(800, 203, 'STŘEDOČESKÃ KRAJ'),
(801, 203, 'ÚSTECKÃ KRAJ'),
(802, 203, 'ZLÃNSKÃ KRAJ'),
(803, 204, 'ATAKORA'),
(804, 204, 'ATLANTIQUE'),
(805, 204, 'ALIBORI'),
(806, 204, 'BORGOU'),
(807, 204, 'COLLINES'),
(808, 204, 'KOUFFO'),
(809, 204, 'DONGA'),
(810, 204, 'LITTORAL'),
(811, 204, 'MONO'),
(812, 204, 'OUÉMÉ'),
(813, 204, 'PLATEAU'),
(814, 204, 'ZOU'),
(815, 208, 'ÅRHUS'),
(816, 208, 'BORNHOLM'),
(817, 208, 'FREDERIKSBORG'),
(818, 208, 'FYN'),
(819, 208, 'COPENHAGEN CITY'),
(820, 208, 'KØBENHAVN'),
(821, 208, 'NORDJYLLAND'),
(822, 208, 'RIBE'),
(823, 208, 'RINGKØBING'),
(824, 208, 'ROSKILDE'),
(825, 208, 'SØNDERJYLLAND'),
(826, 208, 'STORSTRØM'),
(827, 208, 'VEJLE'),
(828, 208, 'VESTSJÆLLAND'),
(829, 208, 'VIBORG'),
(830, 208, 'FREDRIKSBERG'),
(831, 208, 'CAPITAL REGION'),
(832, 208, 'CENTRAL JUTLAND'),
(833, 208, 'NORTH JUTLAND'),
(834, 208, 'REGION ZEALAND'),
(835, 208, 'REGION SOUTH DENMARK'),
(836, 212, 'SAINT ANDREW'),
(837, 212, 'SAINT DAVID'),
(838, 212, 'SAINT GEORGE'),
(839, 212, 'SAINT JOHN'),
(840, 212, 'SAINT JOSEPH'),
(841, 212, 'SAINT LUKE'),
(842, 212, 'SAINT MARK'),
(843, 212, 'SAINT PATRICK'),
(844, 212, 'SAINT PAUL'),
(845, 212, 'SAINT PETER'),
(846, 214, 'AZUA'),
(847, 214, 'BAORUCO'),
(848, 214, 'BARAHONA'),
(849, 214, 'DAJABÓN'),
(850, 214, 'DUARTE'),
(851, 214, 'ESPAILLAT'),
(852, 214, 'INDEPENDENCIA'),
(853, 214, 'LA ALTAGRACIA'),
(854, 214, 'ELÃAS PIÑA'),
(855, 214, 'LA ROMANA'),
(856, 214, 'MARÃA TRINIDAD SÃNCHEZ'),
(857, 214, 'MONTE CRISTI'),
(858, 214, 'PEDERNALES'),
(859, 214, 'PUERTO PLATA'),
(860, 214, 'SALCEDO'),
(861, 214, 'SAMANÃ'),
(862, 214, 'SÃNCHEZ RAMÃREZ'),
(863, 214, 'SAN JUAN'),
(864, 214, 'SAN PEDRO DE MACORÃS'),
(865, 214, 'SANTIAGO'),
(866, 214, 'SANTIAGO RODRÃGUEZ'),
(867, 214, 'VALVERDE'),
(868, 214, 'EL SEÃBO'),
(869, 214, 'HATO MAYOR'),
(870, 214, 'LA VEGA'),
(871, 214, 'MONSEÑOR NOUEL'),
(872, 214, 'MONTE PLATA'),
(873, 214, 'SAN CRISTÓBAL'),
(874, 214, 'DISTRITO NACIONAL'),
(875, 214, 'PERAVIA'),
(876, 214, 'SAN JOSÉ DE OCOA'),
(877, 214, 'SANTO DOMINGO'),
(878, 218, 'GALÃPAGOS'),
(879, 218, 'AZUAY'),
(880, 218, 'BOLÃVAR'),
(881, 218, 'CAÑAR'),
(882, 218, 'CARCHI'),
(883, 218, 'CHIMBORAZO'),
(884, 218, 'COTOPAXI'),
(885, 218, 'EL ORO'),
(886, 218, 'ESMERALDAS'),
(887, 218, 'GUAYAS'),
(888, 218, 'IMBABURA'),
(889, 218, 'LOJA'),
(890, 218, 'LOS RÃOS'),
(891, 218, 'MANABÃ'),
(892, 218, 'MORONA-SANTIAGO'),
(893, 218, 'NAPO'),
(894, 218, 'PASTAZA'),
(895, 218, 'PICHINCHA'),
(896, 218, 'TUNGURAHUA'),
(897, 218, 'ZAMORA-CHINCHIPE'),
(898, 218, 'SUCUMBIOS'),
(899, 218, 'NAPO'),
(900, 218, 'ORELLANA'),
(901, 218, 'PROVINCIA DE SANTA ELENA'),
(902, 218, 'PROVINCIA DE SANTO DOMINGO DE LOS TSÃCHILAS'),
(903, 222, 'AHUACHAPÃN'),
(904, 222, 'CABAÑAS'),
(905, 222, 'CHALATENANGO'),
(906, 222, 'CUSCATLÃN'),
(907, 222, 'LA LIBERTAD'),
(908, 222, 'LA PAZ'),
(909, 222, 'LA UNIÓN'),
(910, 222, 'MORAZÃN'),
(911, 222, 'SAN MIGUEL'),
(912, 222, 'SAN SALVADOR'),
(913, 222, 'SANTA ANA'),
(914, 222, 'SAN VICENTE'),
(915, 222, 'SONSONATE'),
(916, 222, 'USULUTÃN'),
(917, 226, 'ANNOBÓN'),
(918, 226, 'BIOKO NORTE'),
(919, 226, 'BIOKO SUR'),
(920, 226, 'CENTRO SUR'),
(921, 226, 'KIÉ-NTEM'),
(922, 226, 'LITORAL'),
(923, 226, 'WELE-NZAS'),
(924, 231, 'ARSI'),
(925, 231, 'GONDER'),
(926, 231, 'BALE'),
(927, 231, 'ERITREA'),
(928, 231, 'GAMO GOFA'),
(929, 231, 'GOJAM'),
(930, 231, 'HARERGE'),
(931, 231, 'ILUBABOR'),
(932, 231, 'KEFA'),
(933, 231, 'ADDIS ABEBA'),
(934, 231, 'SIDAMO'),
(935, 231, 'TIGRAY'),
(936, 231, 'WELEGA KIFLE HAGER'),
(937, 231, 'WELO'),
(938, 231, 'ADIS ABEBA'),
(939, 231, 'ASOSA'),
(940, 231, 'BORENA '),
(941, 231, 'DEBUB GONDER'),
(942, 231, 'DEBUB SHEWA'),
(943, 231, 'DEBUB WELO'),
(944, 231, 'DIRE DAWA'),
(945, 231, 'GAMBELA'),
(946, 231, 'METEKEL'),
(947, 231, 'MIRAB GOJAM'),
(948, 231, 'MIRAB HARERGE'),
(949, 231, 'MIRAB SHEWA'),
(950, 231, 'MISRAK GOJAM'),
(951, 231, 'MISRAK HARERGE'),
(952, 231, 'NAZRET'),
(953, 231, 'OGADEN'),
(954, 231, 'OMO'),
(955, 231, 'SEMEN GONDER'),
(956, 231, 'SEMEN SHEWA'),
(957, 231, 'SEMEN WELO'),
(958, 231, 'TIGRAY'),
(959, 231, 'BALE'),
(960, 231, 'GAMO GOFA'),
(961, 231, 'ILUBABOR'),
(962, 231, 'KEFA'),
(963, 231, 'SIDAMO'),
(964, 231, 'WELEGA'),
(965, 231, 'ĀDĪS ĀBEBA'),
(966, 231, 'ĀFAR'),
(967, 231, 'ĀMARA'),
(968, 231, 'BĪNSHANGUL GUMUZ'),
(969, 231, 'DIRĒ DAWA'),
(970, 231, 'GAMBĒLA HIZBOCH'),
(971, 231, 'HĀRERĪ HIZB'),
(972, 231, 'OROMĪYA'),
(973, 231, 'SUMALĒ'),
(974, 231, 'TIGRAY'),
(975, 231, 'YEDEBUB BIHĒROCH BIHĒRESEBOCH NA HIZBOCH'),
(976, 232, 'ĀNSEBA'),
(977, 232, 'DEBUB'),
(978, 232, 'DEBUBAWĪ KʼEYIH BAHRĪ'),
(979, 232, 'GASH BARKA'),
(980, 232, 'MAʼĀKEL'),
(981, 232, 'SEMĒNAWĪ KʼEYIH BAHRĪ'),
(982, 233, 'HARJUMAA'),
(983, 233, 'HIIUMAA'),
(984, 233, 'IDA-VIRUMAA'),
(985, 233, 'JÄRVAMAA'),
(986, 233, 'JÕGEVAMAA'),
(987, 233, 'LÄÄNEMAA'),
(988, 233, 'LÄÄNE-VIRUMAA'),
(989, 233, 'PÄRNUMAA'),
(990, 233, 'PÕLVAMAA'),
(991, 233, 'RAPLAMAA'),
(992, 233, 'SAAREMAA'),
(993, 233, 'TARTUMAA'),
(994, 233, 'VALGAMAA'),
(995, 233, 'VILJANDIMAA'),
(996, 233, 'VÕRUMAA'),
(997, 234, 'NORÃOYAR REGION'),
(998, 234, 'EYSTUROY REGION'),
(999, 234, 'SANDOY REGION'),
(1000, 234, 'STREYMOY REGION'),
(1001, 234, 'SUÃUROY REGION'),
(1002, 234, 'VÃGAR REGION'),
(1003, 238, 'FALKLAND ISLANDS (ISLAS MALVINAS)'),
(1004, 239, 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS '),
(1005, 242, 'CENTRAL'),
(1006, 242, 'EASTERN'),
(1007, 242, 'NORTHERN'),
(1008, 242, 'ROTUMA'),
(1009, 242, 'WESTERN'),
(1010, 246, 'ÅLAND'),
(1011, 246, 'HAME'),
(1012, 246, 'KESKI-SUOMI'),
(1013, 246, 'KUOPIO'),
(1014, 246, 'KYMI'),
(1015, 246, 'LAPPONIA'),
(1016, 246, 'MIKKELI'),
(1017, 246, 'OULU'),
(1018, 246, 'POHJOIS-KARJALA'),
(1019, 246, 'TURKU JA PORI'),
(1020, 246, 'UUSIMAA'),
(1021, 246, 'VAASA'),
(1022, 246, 'SOUTHERN FINLAND'),
(1023, 246, 'EASTERN FINLAND'),
(1024, 246, 'WESTERN FINLAND'),
(1025, 250, 'AQUITAINE'),
(1026, 250, 'AUVERGNE'),
(1027, 250, 'BASSE-NORMANDIE'),
(1028, 250, 'BOURGOGNE'),
(1029, 250, 'BRITTANY'),
(1030, 250, 'CENTRE'),
(1031, 250, 'CHAMPAGNE-ARDENNE'),
(1032, 250, 'CORSICA'),
(1033, 250, 'FRANCHE-COMTÉ'),
(1034, 250, 'HAUTE-NORMANDIE'),
(1035, 250, 'ÎLE-DE-FRANCE'),
(1036, 250, 'LANGUEDOC-ROUSSILLON'),
(1037, 250, 'LIMOUSIN'),
(1038, 250, 'LORRAINE'),
(1039, 250, 'MIDI-PYRÉNÉES'),
(1040, 250, 'NORD-PAS-DE-CALAIS'),
(1041, 250, 'PAYS DE LA LOIRE'),
(1042, 250, 'PICARDIE'),
(1043, 250, 'POITOU-CHARENTES'),
(1044, 250, 'PROVENCE-ALPES-CÔTE DʼAZUR'),
(1045, 250, 'RHÔNE-ALPES'),
(1046, 250, 'ALSACE'),
(1047, 254, 'GUYANE'),
(1048, 260, 'SAINT-PAUL-ET-AMSTERDAM'),
(1049, 260, 'CROZET'),
(1050, 260, 'KERGUELEN'),
(1051, 260, 'TERRE ADÉLIE'),
(1052, 260, 'ÎLES ÉPARSES'),
(1053, 262, 'ALI SABIEH'),
(1054, 262, 'DIKHIL   '),
(1055, 262, 'DJIBOUTI  '),
(1056, 262, 'OBOCK'),
(1057, 262, 'TADJOURAH'),
(1058, 262, 'DIKHIL'),
(1059, 262, 'DJIBOUTI'),
(1060, 262, 'ARTA'),
(1061, 266, 'ESTUAIRE'),
(1062, 266, 'HAUT-OGOOUÉ'),
(1063, 266, 'MOYEN-OGOOUÉ'),
(1064, 266, 'NGOUNIÉ'),
(1065, 266, 'NYANGA'),
(1066, 266, 'OGOOUÉ-IVINDO'),
(1067, 266, 'OGOOUÉ-LOLO'),
(1068, 266, 'OGOOUÉ-MARITIME'),
(1069, 266, 'WOLEU-NTEM'),
(1070, 268, 'AJARIA'),
(1071, 268, 'TʼBILISI'),
(1072, 268, 'ABKHAZIA'),
(1073, 268, 'KVEMO KARTLI'),
(1074, 268, 'KAKHETI'),
(1075, 268, 'GURIA'),
(1076, 268, 'IMERETI'),
(1077, 268, 'SHIDA KARTLI'),
(1078, 268, 'MTSKHETA-MTIANETI'),
(1079, 268, 'RACHA-LECHKHUMI AND KVEMO SVANETI'),
(1080, 268, 'SAMEGRELO AND ZEMO SVANETI'),
(1081, 268, 'SAMTSKHE-JAVAKHETI'),
(1082, 270, 'BANJUL'),
(1083, 270, 'LOWER RIVER'),
(1084, 270, 'CENTRAL RIVER'),
(1085, 270, 'UPPER RIVER'),
(1086, 270, 'WESTERN'),
(1087, 270, 'NORTH BANK'),
(1088, 275, 'GAZA STRIP'),
(1089, 275, 'WEST BANK'),
(1090, 276, 'BADEN-WÜRTTEMBERG'),
(1091, 276, 'BAVARIA'),
(1092, 276, 'BREMEN'),
(1093, 276, 'HAMBURG'),
(1094, 276, 'HESSE'),
(1095, 276, 'LOWER SAXONY'),
(1096, 276, 'NORTH RHINE-WESTPHALIA'),
(1097, 276, 'RHINELAND-PALATINATE'),
(1098, 276, 'SAARLAND'),
(1099, 276, 'SCHLESWIG-HOLSTEIN'),
(1100, 276, 'BRANDENBURG'),
(1101, 276, 'MECKLENBURG-VORPOMMERN'),
(1102, 276, 'SAXONY'),
(1103, 276, 'SAXONY-ANHALT'),
(1104, 276, 'THURINGIA'),
(1105, 276, 'BERLIN'),
(1106, 288, 'GREATER ACCRA'),
(1107, 288, 'ASHANTI'),
(1108, 288, 'BRONG-AHAFO REGION'),
(1109, 288, 'CENTRAL'),
(1110, 288, 'EASTERN'),
(1111, 288, 'NORTHERN'),
(1112, 288, 'VOLTA'),
(1113, 288, 'WESTERN'),
(1114, 288, 'UPPER EAST'),
(1115, 288, 'UPPER WEST'),
(1116, 292, 'GIBRALTAR'),
(1117, 296, 'LINE ISLANDS'),
(1118, 296, 'GILBERT ISLANDS'),
(1119, 296, 'PHOENIX ISLANDS'),
(1120, 300, 'MOUNT ATHOS'),
(1121, 300, 'EAST MACEDONIA AND THRACE'),
(1122, 300, 'CENTRAL MACEDONIA'),
(1123, 300, 'WEST MACEDONIA'),
(1124, 300, 'THESSALY'),
(1125, 300, 'EPIRUS'),
(1126, 300, 'IONIAN ISLANDS'),
(1127, 300, 'WEST GREECE'),
(1128, 300, 'CENTRAL GREECE'),
(1129, 300, 'PELOPONNESE'),
(1130, 300, 'ATTICA'),
(1131, 300, 'NORTH AEGEAN'),
(1132, 300, 'SOUTH AEGEAN'),
(1133, 300, 'CRETE'),
(1134, 304, 'NORDGRØNLAND'),
(1135, 304, 'ØSTGRØNLAND'),
(1136, 304, 'VESTGRØNLAND'),
(1137, 308, 'SAINT ANDREW'),
(1138, 308, 'SAINT DAVID'),
(1139, 308, 'SAINT GEORGE'),
(1140, 308, 'SAINT JOHN'),
(1141, 308, 'SAINT MARK'),
(1142, 308, 'SAINT PATRICK'),
(1143, 312, 'GUADELOUPE'),
(1144, 316, 'GUAM'),
(1145, 320, 'ALTA VERAPAZ'),
(1146, 320, 'BAJA VERAPAZ'),
(1147, 320, 'CHIMALTENANGO'),
(1148, 320, 'CHIQUIMULA'),
(1149, 320, 'EL PROGRESO'),
(1150, 320, 'ESCUINTLA'),
(1151, 320, 'GUATEMALA'),
(1152, 320, 'HUEHUETENANGO'),
(1153, 320, 'IZABAL'),
(1154, 320, 'JALAPA'),
(1155, 320, 'JUTIAPA'),
(1156, 320, 'PETÉN'),
(1157, 320, 'QUETZALTENANGO'),
(1158, 320, 'QUICHÉ'),
(1159, 320, 'RETALHULEU'),
(1160, 320, 'SACATEPÉQUEZ'),
(1161, 320, 'SAN MARCOS'),
(1162, 320, 'SANTA ROSA'),
(1163, 320, 'SOLOLÃ'),
(1164, 320, 'SUCHITEPÉQUEZ'),
(1165, 320, 'TOTONICAPÃN'),
(1166, 320, 'ZACAPA'),
(1167, 324, 'BEYLA'),
(1168, 324, 'BOFFA'),
(1169, 324, 'BOKÉ'),
(1170, 324, 'CONAKRY'),
(1171, 324, 'DABOLA'),
(1172, 324, 'DALABA'),
(1173, 324, 'DINGUIRAYE'),
(1174, 324, 'FARANAH'),
(1175, 324, 'FORÉCARIAH'),
(1176, 324, 'FRIA'),
(1177, 324, 'GAOUAL'),
(1178, 324, 'GUÉCKÉDOU'),
(1179, 324, 'KANKAN'),
(1180, 324, 'KÉROUANÉ'),
(1181, 324, 'KINDIA'),
(1182, 324, 'KISSIDOUGOU'),
(1183, 324, 'KOUNDARA'),
(1184, 324, 'KOUROUSSA'),
(1185, 324, 'MACENTA'),
(1186, 324, 'MALI'),
(1187, 324, 'MAMOU'),
(1188, 324, 'PITA'),
(1189, 324, 'SIGUIRI'),
(1190, 324, 'TÉLIMÉLÉ'),
(1191, 324, 'TOUGUÉ'),
(1192, 324, 'YOMOU'),
(1193, 324, 'COYAH'),
(1194, 324, 'DUBRÉKA'),
(1195, 324, 'KANKAN'),
(1196, 324, 'KOUBIA'),
(1197, 324, 'LABÉ'),
(1198, 324, 'LÉLOUMA'),
(1199, 324, 'LOLA'),
(1200, 324, 'MANDIANA'),
(1201, 324, 'NZÉRÉKORÉ'),
(1202, 324, 'SIGUIRI'),
(1203, 328, 'BARIMA-WAINI'),
(1204, 328, 'CUYUNI-MAZARUNI'),
(1205, 328, 'DEMERARA-MAHAICA'),
(1206, 328, 'EAST BERBICE-CORENTYNE'),
(1207, 328, 'ESSEQUIBO ISLANDS-WEST DEMERARA'),
(1208, 328, 'MAHAICA-BERBICE'),
(1209, 328, 'POMEROON-SUPENAAM'),
(1210, 328, 'POTARO-SIPARUNI'),
(1211, 328, 'UPPER DEMERARA-BERBICE'),
(1212, 328, 'UPPER TAKUTU-UPPER ESSEQUIBO'),
(1213, 332, 'NORD-OUEST'),
(1214, 332, 'ARTIBONITE'),
(1215, 332, 'CENTRE'),
(1216, 332, 'NORD'),
(1217, 332, 'NORD-EST'),
(1218, 332, 'OUEST'),
(1219, 332, 'SUD'),
(1220, 332, 'SUD-EST'),
(1221, 332, 'GRANDʼANSE'),
(1222, 332, 'NIPPES'),
(1223, 336, 'VATICAN CITY'),
(1224, 340, 'ATLÃNTIDA'),
(1225, 340, 'CHOLUTECA'),
(1226, 340, 'COLÓN'),
(1227, 340, 'COMAYAGUA'),
(1228, 340, 'COPÃN'),
(1229, 340, 'CORTÉS'),
(1230, 340, 'EL PARAÃSO'),
(1231, 340, 'FRANCISCO MORAZÃN'),
(1232, 340, 'GRACIAS A DIOS'),
(1233, 340, 'INTIBUCÃ'),
(1234, 340, 'ISLAS DE LA BAHÃA'),
(1235, 340, 'LA PAZ'),
(1236, 340, 'LEMPIRA'),
(1237, 340, 'OCOTEPEQUE'),
(1238, 340, 'OLANCHO'),
(1239, 340, 'SANTA BÃRBARA'),
(1240, 340, 'VALLE'),
(1241, 340, 'YORO'),
(1242, 344, 'HONG KONG'),
(1243, 348, 'BÃCS-KISKUN'),
(1244, 348, 'BARANYA'),
(1245, 348, 'BÉKÉS'),
(1246, 348, 'BORSOD-ABAÚJ-ZEMPLÉN'),
(1247, 348, 'BUDAPEST'),
(1248, 348, 'CSONGRÃD'),
(1249, 348, 'FEJÉR'),
(1250, 348, 'GYÅR-MOSON-SOPRON'),
(1251, 348, 'HAJDÚ-BIHAR'),
(1252, 348, 'HEVES'),
(1253, 348, 'KOMÃROM-ESZTERGOM'),
(1254, 348, 'NÓGRÃD'),
(1255, 348, 'PEST'),
(1256, 348, 'SOMOGY'),
(1257, 348, 'SZABOLCS-SZATMÃR-BEREG'),
(1258, 348, 'JÃSZ-NAGYKUN-SZOLNOK'),
(1259, 348, 'TOLNA'),
(1260, 348, 'VAS'),
(1261, 348, 'VESZPRÉM'),
(1262, 348, 'ZALA'),
(1263, 352, 'BORGARFJARDARSYSLA'),
(1264, 352, 'DALASYSLA'),
(1265, 352, 'EYJAFJARDARSYSLA'),
(1266, 352, 'GULLBRINGUSYSLA'),
(1267, 352, 'HAFNARFJÖRDUR'),
(1268, 352, 'HUSAVIK'),
(1269, 352, 'ISAFJÖRDUR'),
(1270, 352, 'KEFLAVIK'),
(1271, 352, 'KJOSARSYSLA'),
(1272, 352, 'KOPAVOGUR'),
(1273, 352, 'MYRASYSLA'),
(1274, 352, 'NESKAUPSTADUR'),
(1275, 352, 'NORDUR-ISAFJARDARSYSLA'),
(1276, 352, 'NORDUR-MULASYSLA'),
(1277, 352, 'NORDUR-TINGEYJARSYSLA'),
(1278, 352, 'OLAFSFJÖRDUR'),
(1279, 352, 'RANGARVALLASYSLA'),
(1280, 352, 'REYKJAVÃK'),
(1281, 352, 'SAUDARKROKUR'),
(1282, 352, 'SEYDISFJORDUR'),
(1283, 352, 'SIGLUFJORDUR'),
(1284, 352, 'SKAGAFJARDARSYSLA'),
(1285, 352, 'SNAFELLSNES- OG HNAPPADALSSYSLA'),
(1286, 352, 'STRANDASYSLA'),
(1287, 352, 'SUDUR-MULASYSLA'),
(1288, 352, 'SUDUR-TINGEYJARSYSLA'),
(1289, 352, 'VESTMANNAEYJAR'),
(1290, 352, 'VESTUR-BARDASTRANDARSYSLA'),
(1291, 352, 'VESTUR-HUNAVATNSSYSLA'),
(1292, 352, 'VESTUR-ISAFJARDARSYSLA'),
(1293, 352, 'VESTUR-SKAFTAFELLSSYSLA'),
(1294, 352, 'EAST'),
(1295, 352, 'CAPITAL REGION'),
(1296, 352, 'NORTHEAST'),
(1297, 352, 'NORTHWEST'),
(1298, 352, 'SOUTH'),
(1299, 352, 'SOUTHERN PENINSULA'),
(1300, 352, 'WESTFJORDS'),
(1301, 352, 'WEST'),
(1302, 356, 'ANDAMAN AND NICOBAR ISLANDS'),
(1303, 356, 'ANDHRA PRADESH'),
(1304, 356, 'ASSAM'),
(1305, 356, 'BIHAR'),
(1306, 356, 'CHANDĪGARH'),
(1307, 356, 'DĀDRA AND NAGAR HAVELI'),
(1308, 356, 'NCT'),
(1309, 356, 'GUJARĀT'),
(1310, 356, 'HARYANA'),
(1311, 356, 'HIMĀCHAL PRADESH'),
(1312, 356, 'KASHMIR'),
(1313, 356, 'KERALA'),
(1314, 356, 'LACCADIVES'),
(1315, 356, 'MADHYA PRADESH '),
(1316, 356, 'MAHĀRĀSHTRA'),
(1317, 356, 'MANIPUR'),
(1318, 356, 'MEGHĀLAYA'),
(1319, 356, 'KARNĀTAKA'),
(1320, 356, 'NĀGĀLAND'),
(1321, 356, 'ORISSA'),
(1322, 356, 'PONDICHERRY'),
(1323, 356, 'PUNJAB'),
(1324, 356, 'STATE OF RĀJASTHĀN'),
(1325, 356, 'TAMIL NĀDU'),
(1326, 356, 'TRIPURA'),
(1327, 356, 'UTTAR PRADESH'),
(1328, 356, 'BENGAL'),
(1329, 356, 'SIKKIM'),
(1330, 356, 'ARUNĀCHAL PRADESH'),
(1331, 356, 'MIZORAM'),
(1332, 356, 'DAMAN AND DIU'),
(1333, 356, 'GOA'),
(1334, 356, 'BIHĀR'),
(1335, 356, 'MADHYA PRADESH'),
(1336, 356, 'UTTAR PRADESH'),
(1337, 356, 'CHHATTISGARH'),
(1338, 356, 'JHARKHAND'),
(1339, 356, 'UTTARAKHAND'),
(1340, 360, 'ACEH'),
(1341, 360, 'BALI'),
(1342, 360, 'BENGKULU'),
(1343, 360, 'JAKARTA RAYA'),
(1344, 360, 'JAMBI'),
(1345, 360, 'JAWA BARAT'),
(1346, 360, 'CENTRAL JAVA'),
(1347, 360, 'EAST JAVA'),
(1348, 360, 'YOGYAKARTA '),
(1349, 360, 'WEST KALIMANTAN'),
(1350, 360, 'SOUTH KALIMANTAN'),
(1351, 360, 'KALIMANTAN TENGAH'),
(1352, 360, 'EAST KALIMANTAN'),
(1353, 360, 'LAMPUNG'),
(1354, 360, 'NUSA TENGGARA BARAT'),
(1355, 360, 'EAST NUSA TENGGARA'),
(1356, 360, 'CENTRAL SULAWESI'),
(1357, 360, 'SULAWESI TENGGARA'),
(1358, 360, 'SULAWESI UTARA'),
(1359, 360, 'WEST SUMATRA'),
(1360, 360, 'SUMATERA SELATAN'),
(1361, 360, 'NORTH SUMATRA'),
(1362, 360, 'TIMOR TIMUR'),
(1363, 360, 'MALUKU '),
(1364, 360, 'MALUKU UTARA'),
(1365, 360, 'WEST JAVA'),
(1366, 360, 'NORTH SULAWESI'),
(1367, 360, 'SOUTH SUMATRA'),
(1368, 360, 'BANTEN'),
(1369, 360, 'GORONTALO'),
(1370, 360, 'BANGKA-BELITUNG'),
(1371, 360, 'PAPUA'),
(1372, 360, 'RIAU'),
(1373, 360, 'SOUTH SULAWESI'),
(1374, 360, 'IRIAN JAYA BARAT'),
(1375, 360, 'RIAU ISLANDS'),
(1376, 360, 'SULAWESI BARAT'),
(1377, 364, 'ĀZ̄ĀRBĀYJĀN-E GHARBĪ'),
(1378, 364, 'CHAHĀR MAḨĀLL VA BAKHTĪĀRĪ'),
(1379, 364, 'SĪSTĀN VA BALŪCHESTĀN'),
(1380, 364, 'KOHGĪLŪYEH VA BŪYER AḨMAD'),
(1381, 364, 'FĀRS PROVINCE'),
(1382, 364, 'GĪLĀN'),
(1383, 364, 'HAMADĀN'),
(1384, 364, 'ĪLĀM'),
(1385, 364, 'HORMOZGĀN PROVINCE'),
(1386, 364, 'KERMAN'),
(1387, 364, 'KERMĀNSHĀH'),
(1388, 364, 'KHŪZESTĀN'),
(1389, 364, 'KORDESTĀN'),
(1390, 364, 'MAZANDARAN'),
(1391, 364, 'MARKAZI'),
(1392, 364, 'ZANJAN'),
(1393, 364, 'BUSHEHR PROVINCE'),
(1394, 364, 'LORESTĀN'),
(1395, 364, 'MARKAZI'),
(1396, 364, 'SEMNĀN PROVINCE'),
(1397, 364, 'TEHRĀN'),
(1398, 364, 'ZANJAN'),
(1399, 364, 'EŞFAHĀN'),
(1400, 364, 'KERMĀN'),
(1401, 364, 'OSTAN-E KHORASAN-E RAZAVI'),
(1402, 364, 'YAZD'),
(1403, 364, 'ARDABĪL'),
(1404, 364, 'ĀZ̄ĀRBĀYJĀN-E SHARQĪ'),
(1405, 364, 'MARKAZI PROVINCE'),
(1406, 364, 'MĀZANDARĀN PROVINCE'),
(1407, 364, 'ZANJAN PROVINCE'),
(1408, 364, 'GOLESTĀN'),
(1409, 364, 'QAZVĪN'),
(1410, 364, 'QOM'),
(1411, 364, 'YAZD'),
(1412, 364, 'KHORĀSĀN-E JONŪBĪ'),
(1413, 364, 'RAZAVI KHORASAN PROVINCE'),
(1414, 364, 'KHORĀSĀN-E SHOMĀLĪ'),
(1415, 368, 'ANBAR'),
(1416, 368, 'AL BAŞRAH'),
(1417, 368, 'AL MUTHANNÃ'),
(1418, 368, 'AL QĀDISĪYAH'),
(1419, 368, 'AS SULAYMĀNĪYAH'),
(1420, 368, 'BĀBIL'),
(1421, 368, 'BAGHDĀD'),
(1422, 368, 'DAHŪK'),
(1423, 368, 'DHI QAR'),
(1424, 368, 'DIYALA'),
(1425, 368, 'ARBĪL'),
(1426, 368, 'KARBALĀʼ'),
(1427, 368, 'AT TAʼMĪM'),
(1428, 368, 'MAYSAN'),
(1429, 368, 'NĪNAWÃ'),
(1430, 368, 'WĀSIŢ'),
(1431, 368, 'AN NAJAF'),
(1432, 368, 'ŞALĀḨ AD DĪN'),
(1433, 372, 'CARLOW'),
(1434, 372, 'CAVAN'),
(1435, 372, 'COUNTY CLARE'),
(1436, 372, 'CORK'),
(1437, 372, 'DONEGAL'),
(1438, 372, 'GALWAY'),
(1439, 372, 'COUNTY KERRY'),
(1440, 372, 'COUNTY KILDARE'),
(1441, 372, 'COUNTY KILKENNY'),
(1442, 372, 'LEITRIM'),
(1443, 372, 'LAOIS'),
(1444, 372, 'LIMERICK'),
(1445, 372, 'COUNTY LONGFORD'),
(1446, 372, 'COUNTY LOUTH'),
(1447, 372, 'COUNTY MAYO'),
(1448, 372, 'COUNTY MEATH'),
(1449, 372, 'MONAGHAN'),
(1450, 372, 'COUNTY OFFALY'),
(1451, 372, 'COUNTY ROSCOMMON'),
(1452, 372, 'COUNTY SLIGO'),
(1453, 372, 'COUNTY WATERFORD'),
(1454, 372, 'COUNTY WESTMEATH'),
(1455, 372, 'COUNTY WEXFORD'),
(1456, 372, 'COUNTY WICKLOW'),
(1457, 372, 'DÚN LAOGHAIRE-RATHDOWN'),
(1458, 372, 'FINGAL COUNTY'),
(1459, 372, 'TIPPERARY NORTH RIDING'),
(1460, 372, 'SOUTH DUBLIN'),
(1461, 372, 'TIPPERARY SOUTH RIDING'),
(1462, 376, 'HADAROM'),
(1463, 376, 'HAMERKAZ'),
(1464, 376, 'NORTHERN DISTRICT'),
(1465, 376, 'H̱EFA'),
(1466, 376, 'TEL AVIV'),
(1467, 376, 'YERUSHALAYIM'),
(1468, 380, 'ABRUZZO'),
(1469, 380, 'BASILICATE'),
(1470, 380, 'CALABRIA'),
(1471, 380, 'CAMPANIA'),
(1472, 380, 'EMILIA-ROMAGNA'),
(1473, 380, 'FRIULI'),
(1474, 380, 'LAZIO'),
(1475, 380, 'LIGURIA'),
(1476, 380, 'LOMBARDY'),
(1477, 380, 'THE MARCHES'),
(1478, 380, 'MOLISE'),
(1479, 380, 'PIEDMONT'),
(1480, 380, 'APULIA'),
(1481, 380, 'SARDINIA'),
(1482, 380, 'SICILY'),
(1483, 380, 'TUSCANY'),
(1484, 380, 'TRENTINO-ALTO ADIGE'),
(1485, 380, 'UMBRIA'),
(1486, 380, 'AOSTA VALLEY'),
(1487, 380, 'VENETO'),
(1488, 384, 'VALPARAÃSO REGION'),
(1489, 384, 'ANTOFAGASTA REGION'),
(1490, 384, 'ARAUCANÃA REGION'),
(1491, 384, 'ATACAMA REGION'),
(1492, 384, 'BIOBÃO REGION'),
(1493, 384, 'COQUIMBO REGION'),
(1494, 384, 'MAULE REGION'),
(1495, 384, 'SANTIAGO METROPOLITAN REGION'),
(1496, 384, 'DANANE'),
(1497, 384, 'DIVO'),
(1498, 384, 'FERKESSEDOUGOU'),
(1499, 384, 'GAGNOA'),
(1500, 384, 'KATIOLA'),
(1501, 384, 'KORHOGO'),
(1502, 384, 'ODIENNE'),
(1503, 384, 'SEGUELA'),
(1504, 384, 'TOUBA'),
(1505, 384, 'BONGOUANOU'),
(1506, 384, 'ISSIA'),
(1507, 384, 'LAKOTA'),
(1508, 384, 'MANKONO'),
(1509, 384, 'OUME'),
(1510, 384, 'SOUBRE'),
(1511, 384, 'TINGRELA'),
(1512, 384, 'ZUENOULA'),
(1513, 384, 'BANGOLO'),
(1514, 384, 'BEOUMI'),
(1515, 384, 'BONDOUKOU'),
(1516, 384, 'BOUAFLE'),
(1517, 384, 'BOUAKE'),
(1518, 384, 'DALOA'),
(1519, 384, 'DAOUKRO'),
(1520, 384, 'DUEKOUE'),
(1521, 384, 'GRAND-LAHOU'),
(1522, 384, 'MAN'),
(1523, 384, 'MBAHIAKRO'),
(1524, 384, 'SAKASSOU'),
(1525, 384, 'SAN PEDRO'),
(1526, 384, 'SASSANDRA'),
(1527, 384, 'SINFRA'),
(1528, 384, 'TABOU'),
(1529, 384, 'TANDA'),
(1530, 384, 'TIASSALE'),
(1531, 384, 'TOUMODI'),
(1532, 384, 'VAVOUA'),
(1533, 384, 'ABIDJAN'),
(1534, 384, 'ABOISSO'),
(1535, 384, 'ADIAKE'),
(1536, 384, 'ALEPE'),
(1537, 384, 'BOCANDA'),
(1538, 384, 'DABOU'),
(1539, 384, 'DIMBOKRO'),
(1540, 384, 'GRAND-BASSAM'),
(1541, 384, 'GUIGLO'),
(1542, 384, 'JACQUEVILLE'),
(1543, 384, 'TIEBISSOU'),
(1544, 384, 'TOULEPLEU'),
(1545, 384, 'YAMOUSSOUKRO'),
(1546, 384, 'AGNÉBY'),
(1547, 384, 'BAFING'),
(1548, 384, 'BAS-SASSANDRA'),
(1549, 384, 'DENGUÉLÉ'),
(1550, 384, 'DIX-HUIT MONTAGNES'),
(1551, 384, 'FROMAGER'),
(1552, 384, 'HAUT-SASSANDRA'),
(1553, 384, 'LACS'),
(1554, 384, 'LAGUNES'),
(1555, 384, 'MARAHOUÉ'),
(1556, 384, 'MOYEN-CAVALLY'),
(1557, 384, 'MOYEN-COMOÉ'),
(1558, 384, 'NʼZI-COMOÉ'),
(1559, 384, 'SAVANES'),
(1560, 384, 'SUD-BANDAMA'),
(1561, 384, 'SUD-COMOÉ'),
(1562, 384, 'VALLÉE DU BANDAMA'),
(1563, 384, 'WORODOUGOU'),
(1564, 384, 'ZANZAN'),
(1565, 388, 'CLARENDON'),
(1566, 388, 'HANOVER PARISH'),
(1567, 388, 'MANCHESTER'),
(1568, 388, 'PORTLAND'),
(1569, 388, 'SAINT ANDREW'),
(1570, 388, 'SAINT ANN'),
(1571, 388, 'SAINT CATHERINE'),
(1572, 388, 'ST. ELIZABETH'),
(1573, 388, 'SAINT JAMES'),
(1574, 388, 'SAINT MARY'),
(1575, 388, 'SAINT THOMAS'),
(1576, 388, 'TRELAWNY'),
(1577, 388, 'WESTMORELAND'),
(1578, 388, 'KINGSTON'),
(1579, 392, 'AICHI'),
(1580, 392, 'AKITA'),
(1581, 392, 'AOMORI'),
(1582, 392, 'CHIBA'),
(1583, 392, 'EHIME'),
(1584, 392, 'FUKUI'),
(1585, 392, 'FUKUOKA'),
(1586, 392, 'FUKUSHIMA'),
(1587, 392, 'GIFU'),
(1588, 392, 'GUMMA'),
(1589, 392, 'HIROSHIMA'),
(1590, 392, 'HOKKAIDŌ'),
(1591, 392, 'HYŌGO'),
(1592, 392, 'IBARAKI'),
(1593, 392, 'ISHIKAWA'),
(1594, 392, 'IWATE'),
(1595, 392, 'KAGAWA'),
(1596, 392, 'KAGOSHIMA'),
(1597, 392, 'KANAGAWA'),
(1598, 392, 'KŌCHI'),
(1599, 392, 'KUMAMOTO'),
(1600, 392, 'KYŌTO'),
(1601, 392, 'MIE'),
(1602, 392, 'MIYAGI'),
(1603, 392, 'MIYAZAKI'),
(1604, 392, 'NAGANO'),
(1605, 392, 'NAGASAKI'),
(1606, 392, 'NARA'),
(1607, 392, 'NIIGATA'),
(1608, 392, 'ŌITA'),
(1609, 392, 'OKAYAMA'),
(1610, 392, 'ŌSAKA'),
(1611, 392, 'SAGA'),
(1612, 392, 'SAITAMA'),
(1613, 392, 'SHIGA'),
(1614, 392, 'SHIMANE'),
(1615, 392, 'SHIZUOKA'),
(1616, 392, 'TOCHIGI'),
(1617, 392, 'TOKUSHIMA'),
(1618, 392, 'TŌKYŌ'),
(1619, 392, 'TOTTORI'),
(1620, 392, 'TOYAMA'),
(1621, 392, 'WAKAYAMA'),
(1622, 392, 'YAMAGATA'),
(1623, 392, 'YAMAGUCHI'),
(1624, 392, 'YAMANASHI'),
(1625, 392, 'OKINAWA'),
(1626, 398, 'ALMATY'),
(1627, 398, 'ALMATY QALASY'),
(1628, 398, 'AQMOLA'),
(1629, 398, 'AQTÖBE'),
(1630, 398, 'ASTANA QALASY'),
(1631, 398, 'ATYRAŪ'),
(1632, 398, 'BATYS QAZAQSTAN'),
(1633, 398, 'BAYQONGYR QALASY'),
(1634, 398, 'MANGGHYSTAŪ'),
(1635, 398, 'ONGTÜSTIK QAZAQSTAN'),
(1636, 398, 'PAVLODAR'),
(1637, 398, 'QARAGHANDY'),
(1638, 398, 'QOSTANAY'),
(1639, 398, 'QYZYLORDA'),
(1640, 398, 'EAST KAZAKHSTAN'),
(1641, 398, 'SOLTÜSTIK QAZAQSTAN'),
(1642, 398, 'ZHAMBYL'),
(1643, 400, 'BALQA'),
(1644, 400, 'MA’AN'),
(1645, 400, 'KARAK'),
(1646, 400, 'AL MAFRAQ'),
(1647, 400, 'TAFIELAH'),
(1648, 400, 'AZ ZARQA'),
(1649, 400, 'IRBID'),
(1650, 400, 'MAFRAQ'),
(1651, 400, 'AMMAN'),
(1652, 400, 'ZARQA'),
(1653, 400, 'IRBID'),
(1654, 400, 'MA’AN'),
(1655, 400, 'AJLUN'),
(1656, 400, 'AQABA'),
(1657, 400, 'JERASH'),
(1658, 400, 'MADABA'),
(1659, 404, 'CENTRAL'),
(1660, 404, 'COAST'),
(1661, 404, 'EASTERN'),
(1662, 404, 'NAIROBI AREA'),
(1663, 404, 'NORTH-EASTERN'),
(1664, 404, 'NYANZA'),
(1665, 404, 'RIFT VALLEY'),
(1666, 404, 'WESTERN'),
(1667, 408, 'CHAGANG-DO'),
(1668, 408, 'HAMGYŎNG-NAMDO'),
(1669, 408, 'HWANGHAE-NAMDO'),
(1670, 408, 'HWANGHAE-BUKTO'),
(1671, 408, 'KAESŎNG-SI'),
(1672, 408, 'GANGWON'),
(1673, 408, 'PʼYŎNGAN-BUKTO'),
(1674, 408, 'PʼYŎNGYANG-SI'),
(1675, 408, 'YANGGANG-DO'),
(1676, 408, 'NAMPʼO-SI'),
(1677, 408, 'PʼYŎNGAN-NAMDO'),
(1678, 408, 'HAMGYŎNG-BUKTO'),
(1679, 408, 'NAJIN SŎNBONG-SI'),
(1680, 410, 'JEJU'),
(1681, 410, 'NORTH JEOLLA'),
(1682, 410, 'NORTH CHUNGCHEONG'),
(1683, 410, 'GANGWON'),
(1684, 410, 'BUSAN'),
(1685, 410, 'SEOUL'),
(1686, 410, 'INCHEON'),
(1687, 410, 'GYEONGGI'),
(1688, 410, 'NORTH GYEONGSANG'),
(1689, 410, 'DAEGU'),
(1690, 410, 'SOUTH JEOLLA'),
(1691, 410, 'SOUTH CHUNGCHEONG'),
(1692, 410, 'GWANGJU'),
(1693, 410, 'DAEJEON'),
(1694, 410, 'SOUTH GYEONGSANG'),
(1695, 410, 'ULSAN'),
(1696, 414, 'MUḨĀFAZ̧ATALWAFRAH'),
(1697, 414, 'AL ‘ĀŞIMAH'),
(1698, 414, 'AL AḨMADĪ'),
(1699, 414, 'AL JAHRĀʼ'),
(1700, 414, 'AL FARWANIYAH'),
(1701, 414, 'ḨAWALLĪ'),
(1702, 417, 'BISHKEK'),
(1703, 417, 'CHÜY'),
(1704, 417, 'JALAL-ABAD'),
(1705, 417, 'NARYN'),
(1706, 417, 'TALAS'),
(1707, 417, 'YSYK-KÖL'),
(1708, 417, 'OSH'),
(1709, 417, 'BATKEN'),
(1710, 418, 'ATTAPU'),
(1711, 418, 'CHAMPASAK'),
(1712, 418, 'HOUAPHAN'),
(1713, 418, 'KHAMMOUAN'),
(1714, 418, 'LOUANG NAMTHA'),
(1715, 418, 'LOUANGPHRABANG'),
(1716, 418, 'OUDÔMXAI'),
(1717, 418, 'PHONGSALI'),
(1718, 418, 'SARAVAN'),
(1719, 418, 'SAVANNAKHET'),
(1720, 418, 'VIENTIANE'),
(1721, 418, 'XIAGNABOULI'),
(1722, 418, 'XIANGKHOANG'),
(1723, 418, 'KHAMMOUAN'),
(1724, 418, 'LOUNGNAMTHA'),
(1725, 418, 'LOUANGPHABANG'),
(1726, 418, 'PHÔNGSALI'),
(1727, 418, 'SALAVAN'),
(1728, 418, 'SAVANNAHKHÉT'),
(1729, 418, 'BOKÈO'),
(1730, 418, 'BOLIKHAMXAI'),
(1731, 418, 'VIANGCHAN'),
(1732, 418, 'XÉKONG'),
(1733, 418, 'VIANGCHAN'),
(1734, 422, 'BÉQAA'),
(1735, 422, 'LIBAN-NORD'),
(1736, 422, 'BEYROUTH'),
(1737, 422, 'MONT-LIBAN'),
(1738, 422, 'LIBAN-SUD'),
(1739, 422, 'NABATÎYÉ'),
(1740, 422, 'BÉQAA'),
(1741, 422, 'LIBAN-NORD'),
(1742, 422, 'AAKKÂR'),
(1743, 422, 'BAALBEK-HERMEL'),
(1744, 426, 'BALZERS COMMUNE'),
(1745, 426, 'ESCHEN COMMUNE'),
(1746, 426, 'GAMPRIN COMMUNE'),
(1747, 426, 'MAUREN COMMUNE'),
(1748, 426, 'PLANKEN COMMUNE'),
(1749, 426, 'RUGGELL COMMUNE'),
(1750, 426, 'BEREA DISTRICT'),
(1751, 426, 'BUTHA-BUTHE DISTRICT'),
(1752, 426, 'LERIBE DISTRICT'),
(1753, 426, 'MAFETENG'),
(1754, 426, 'MASERU'),
(1755, 426, 'MOHALEʼS HOEK'),
(1756, 426, 'MOKHOTLONG'),
(1757, 426, 'QACHAʼS NEK'),
(1758, 426, 'QUTHING DISTRICT'),
(1759, 426, 'THABA-TSEKA DISTRICT'),
(1760, 428, 'DOBELES RAJONS'),
(1761, 428, 'AIZKRAUKLES RAJONS'),
(1762, 428, 'ALŪKSNES RAJONS'),
(1763, 428, 'BALVU RAJONS'),
(1764, 428, 'BAUSKAS RAJONS'),
(1765, 428, 'CĒSU RAJONS'),
(1766, 428, 'DAUGAVPILS'),
(1767, 428, 'DAUGAVPILS RAJONS'),
(1768, 428, 'DOBELES RAJONS'),
(1769, 428, 'GULBENES RAJONS'),
(1770, 428, 'JĒKABPILS RAJONS'),
(1771, 428, 'JELGAVA'),
(1772, 428, 'JELGAVAS RAJONS'),
(1773, 428, 'JŪRMALA'),
(1774, 428, 'KRĀSLAVAS RAJONS'),
(1775, 428, 'KULDĪGAS RAJONS'),
(1776, 428, 'LIEPĀJA'),
(1777, 428, 'LIEPĀJAS RAJONS'),
(1778, 428, 'LIMBAŽU RAJONS'),
(1779, 428, 'LUDZAS RAJONS'),
(1780, 428, 'MADONAS RAJONS'),
(1781, 428, 'OGRES RAJONS'),
(1782, 428, 'PREIĻU RAJONS'),
(1783, 428, 'RĒZEKNE'),
(1784, 428, 'RĒZEKNES RAJONS'),
(1785, 428, 'RĪGA'),
(1786, 428, 'RĪGAS RAJONS'),
(1787, 428, 'SALDUS RAJONS'),
(1788, 428, 'TALSU RAJONS'),
(1789, 428, 'TUKUMA RAJONS'),
(1790, 428, 'VALKAS RAJONS'),
(1791, 428, 'VALMIERAS RAJONS'),
(1792, 428, 'VENTSPILS'),
(1793, 428, 'VENTSPILS RAJONS'),
(1794, 430, 'BONG'),
(1795, 430, 'GRAND JIDE'),
(1796, 430, 'GRAND CAPE MOUNT'),
(1797, 430, 'LOFA'),
(1798, 430, 'NIMBA'),
(1799, 430, 'SINOE'),
(1800, 430, 'GRAND BASSA COUNTY'),
(1801, 430, 'GRAND CAPE MOUNT'),
(1802, 430, 'MARYLAND'),
(1803, 430, 'MONTSERRADO'),
(1804, 430, 'BOMI'),
(1805, 430, 'GRAND KRU'),
(1806, 430, 'MARGIBI'),
(1807, 430, 'RIVER CESS'),
(1808, 430, 'GRAND GEDEH'),
(1809, 430, 'LOFA'),
(1810, 430, 'GBARPOLU'),
(1811, 430, 'RIVER GEE'),
(1812, 434, 'AL ABYĀR'),
(1813, 434, 'AL ‘AZĪZĪYAH'),
(1814, 434, 'AL BAYá¸Ā’'),
(1815, 434, 'AL JUFRAH'),
(1816, 434, 'AL JUMAYL'),
(1817, 434, 'AL KUFRAH'),
(1818, 434, 'AL MARJ'),
(1819, 434, 'AL QARĀBŪLL'),
(1820, 434, 'AL QUBBAH'),
(1821, 434, 'AL AJAYLĀT'),
(1822, 434, 'ASH SHĀŢIʼ'),
(1823, 434, 'AZ ZAHRA’'),
(1824, 434, 'BANĪ WALĪD'),
(1825, 434, 'BIN JAWWĀD'),
(1826, 434, 'GHĀT'),
(1827, 434, 'JĀDŪ'),
(1828, 434, 'JĀLŪ'),
(1829, 434, 'JANZŪR'),
(1830, 434, 'MASALLATAH'),
(1831, 434, 'MIZDAH'),
(1832, 434, 'MURZUQ'),
(1833, 434, 'NĀLŪT'),
(1834, 434, 'QAMĪNIS'),
(1835, 434, 'QAŞR BIN GHASHĪR'),
(1836, 434, 'SABHĀ'),
(1837, 434, 'ŞABRĀTAH'),
(1838, 434, 'SHAḨḨĀT'),
(1839, 434, 'ŞURMĀN'),
(1840, 434, 'TAJURA’ '),
(1841, 434, 'TARHŪNAH'),
(1842, 434, 'ŢUBRUQ'),
(1843, 434, 'TŪKRAH'),
(1844, 434, 'ZLĪŢAN'),
(1845, 434, 'ZUWĀRAH'),
(1846, 434, 'AJDĀBIYĀ'),
(1847, 434, 'AL FĀTIḨ'),
(1848, 434, 'AL JABAL AL AKHá¸AR'),
(1849, 434, 'AL KHUMS'),
(1850, 434, 'AN NUQĀŢ AL KHAMS'),
(1851, 434, 'AWBĀRĪ'),
(1852, 434, 'AZ ZĀWIYAH'),
(1853, 434, 'BANGHĀZĪ'),
(1854, 434, 'DARNAH'),
(1855, 434, 'GHADĀMIS'),
(1856, 434, 'GHARYĀN'),
(1857, 434, 'MIŞRĀTAH'),
(1858, 434, 'SAWFAJJĪN'),
(1859, 434, 'SURT'),
(1860, 434, 'ŢARĀBULUS'),
(1861, 434, 'YAFRAN'),
(1862, 438, 'BALZERS'),
(1863, 438, 'ESCHEN'),
(1864, 438, 'GAMPRIN'),
(1865, 438, 'MAUREN'),
(1866, 438, 'PLANKEN'),
(1867, 438, 'RUGGELL'),
(1868, 438, 'SCHAAN'),
(1869, 438, 'SCHELLENBERG'),
(1870, 438, 'TRIESEN'),
(1871, 438, 'TRIESENBERG'),
(1872, 438, 'VADUZ'),
(1873, 440, 'ALYTAUS APSKRITIS'),
(1874, 440, 'KAUNO APSKRITIS'),
(1875, 440, 'KLAIPĖDOS APSKRITIS'),
(1876, 440, 'MARIJAMPOLĖS APSKRITIS'),
(1877, 440, 'PANEVĖŽIO APSKRITIS'),
(1878, 440, 'ŠIAULIŲ APSKRITIS'),
(1879, 440, 'TAURAGĖS APSKRITIS'),
(1880, 440, 'TELŠIŲ APSKRITIS'),
(1881, 440, 'UTENOS APSKRITIS'),
(1882, 440, 'VILNIAUS APSKRITIS'),
(1883, 442, 'DIEKIRCH'),
(1884, 442, 'GREVENMACHER'),
(1885, 442, 'LUXEMBOURG'),
(1886, 446, 'ILHAS'),
(1887, 446, 'MACAU'),
(1888, 450, 'ANTSIRANANA'),
(1889, 450, 'FIANARANTSOA'),
(1890, 450, 'MAHAJANGA'),
(1891, 450, 'TOAMASINA'),
(1892, 450, 'ANTANANARIVO'),
(1893, 450, 'TOLIARA'),
(1894, 454, 'CHIKWAWA'),
(1895, 454, 'CHIRADZULU'),
(1896, 454, 'CHITIPA'),
(1897, 454, 'THYOLO'),
(1898, 454, 'DEDZA'),
(1899, 454, 'DOWA'),
(1900, 454, 'KARONGA'),
(1901, 454, 'KASUNGU'),
(1902, 454, 'LILONGWE'),
(1903, 454, 'MANGOCHI'),
(1904, 454, 'MCHINJI'),
(1905, 454, 'MZIMBA'),
(1906, 454, 'NTCHEU'),
(1907, 454, 'NKHATA BAY'),
(1908, 454, 'NKHOTAKOTA'),
(1909, 454, 'NSANJE'),
(1910, 454, 'NTCHISI'),
(1911, 454, 'RUMPHI'),
(1912, 454, 'SALIMA'),
(1913, 454, 'ZOMBA'),
(1914, 454, 'BLANTYRE'),
(1915, 454, 'MWANZA'),
(1916, 454, 'BALAKA'),
(1917, 454, 'LIKOMA'),
(1918, 454, 'MACHINGA'),
(1919, 454, 'MULANJE'),
(1920, 454, 'PHALOMBE'),
(1921, 458, 'JOHOR'),
(1922, 458, 'KEDAH'),
(1923, 458, 'KELANTAN'),
(1924, 458, 'MELAKA'),
(1925, 458, 'NEGERI SEMBILAN'),
(1926, 458, 'PAHANG'),
(1927, 458, 'PERAK'),
(1928, 458, 'PERLIS'),
(1929, 458, 'PULAU PINANG'),
(1930, 458, 'SARAWAK'),
(1931, 458, 'SELANGOR'),
(1932, 458, 'TERENGGANU'),
(1933, 458, 'KUALA LUMPUR'),
(1934, 458, 'FEDERAL TERRITORY OF LABUAN'),
(1935, 458, 'SABAH'),
(1936, 458, 'PUTRAJAYA'),
(1937, 462, 'MAALE'),
(1938, 462, 'SEENU'),
(1939, 462, 'ALIFU ATHOLHU'),
(1940, 462, 'LHAVIYANI ATHOLHU'),
(1941, 462, 'VAAVU ATHOLHU'),
(1942, 462, 'LAAMU'),
(1943, 462, 'HAA ALIFU ATHOLHU'),
(1944, 462, 'THAA ATHOLHU'),
(1945, 462, 'MEEMU ATHOLHU'),
(1946, 462, 'RAA ATHOLHU'),
(1947, 462, 'FAAFU ATHOLHU'),
(1948, 462, 'DHAALU ATHOLHU'),
(1949, 462, 'BAA ATHOLHU'),
(1950, 462, 'HAA DHAALU ATHOLHU'),
(1951, 462, 'SHAVIYANI ATHOLHU'),
(1952, 462, 'NOONU ATHOLHU'),
(1953, 462, 'KAAFU ATHOLHU'),
(1954, 462, 'GAAFU ALIFU ATHOLHU'),
(1955, 462, 'GAAFU DHAALU ATHOLHU'),
(1956, 462, 'GNYAVIYANI ATOLL'),
(1957, 462, 'ALIFU'),
(1958, 462, 'BAA'),
(1959, 462, 'DHAALU'),
(1960, 462, 'FAAFU'),
(1961, 462, 'GAAFU ALIFU'),
(1962, 462, 'GAAFU DHAALU'),
(1963, 462, 'HAA ALIFU'),
(1964, 462, 'HAA DHAALU'),
(1965, 462, 'KAAFU');
INSERT INTO `_ref_state` (`fldid`, `fldregion_id`, `fldname`) VALUES
(1966, 462, 'LHAVIYANI'),
(1967, 462, 'MAALE'),
(1968, 462, 'MEEMU'),
(1969, 462, 'GNAVIYANI'),
(1970, 462, 'NOONU'),
(1971, 462, 'RAA'),
(1972, 462, 'SHAVIYANI'),
(1973, 462, 'THAA'),
(1974, 462, 'VAAVU'),
(1975, 466, 'BAMAKO'),
(1976, 466, 'GAO'),
(1977, 466, 'KAYES'),
(1978, 466, 'MOPTI'),
(1979, 466, 'SÉGOU'),
(1980, 466, 'SIKASSO'),
(1981, 466, 'KOULIKORO'),
(1982, 466, 'TOMBOUCTOU'),
(1983, 466, 'GAO'),
(1984, 466, 'KIDAL'),
(1985, 470, 'MALTA'),
(1986, 474, 'MARTINIQUE'),
(1987, 478, 'NOUAKCHOTT'),
(1988, 478, 'HODH ECH CHARGUI'),
(1989, 478, 'HODH EL GHARBI'),
(1990, 478, 'ASSABA'),
(1991, 478, 'GORGOL'),
(1992, 478, 'BRAKNA'),
(1993, 478, 'TRARZA'),
(1994, 478, 'ADRAR'),
(1995, 478, 'DAKHLET NOUADHIBOU'),
(1996, 478, 'TAGANT'),
(1997, 478, 'GUIDIMAKA'),
(1998, 478, 'TIRIS ZEMMOUR'),
(1999, 478, 'INCHIRI'),
(2000, 480, 'BLACK RIVER'),
(2001, 480, 'FLACQ'),
(2002, 480, 'GRAND PORT'),
(2003, 480, 'MOKA'),
(2004, 480, 'PAMPLEMOUSSES'),
(2005, 480, 'PLAINES WILHEMS'),
(2006, 480, 'PORT LOUIS'),
(2007, 480, 'RIVIÈRE DU REMPART'),
(2008, 480, 'SAVANNE'),
(2009, 480, 'AGALEGA ISLANDS'),
(2010, 480, 'CARGADOS CARAJOS'),
(2011, 480, 'RODRIGUES'),
(2012, 484, 'AGUASCALIENTES'),
(2013, 484, 'BAJA CALIFORNIA'),
(2014, 484, 'BAJA CALIFORNIA SUR'),
(2015, 484, 'CAMPECHE'),
(2016, 484, 'CHIAPAS'),
(2017, 484, 'CHIHUAHUA'),
(2018, 484, 'COAHUILA'),
(2019, 484, 'COLIMA'),
(2020, 484, 'THE FEDERAL DISTRICT'),
(2021, 484, 'DURANGO'),
(2022, 484, 'GUANAJUATO'),
(2023, 484, 'GUERRERO'),
(2024, 484, 'HIDALGO'),
(2025, 484, 'JALISCO'),
(2026, 484, 'MÉXICO'),
(2027, 484, 'MICHOACÃN'),
(2028, 484, 'MORELOS'),
(2029, 484, 'NAYARIT'),
(2030, 484, 'NUEVO LEÓN'),
(2031, 484, 'OAXACA'),
(2032, 484, 'PUEBLA'),
(2033, 484, 'QUERÉTARO'),
(2034, 484, 'QUINTANA ROO'),
(2035, 484, 'SAN LUIS POTOSÃ'),
(2036, 484, 'SINALOA'),
(2037, 484, 'SONORA'),
(2038, 484, 'TABASCO'),
(2039, 484, 'TAMAULIPAS'),
(2040, 484, 'TLAXCALA'),
(2041, 484, 'VERACRUZ-LLAVE'),
(2042, 484, 'YUCATÃN'),
(2043, 484, 'ZACATECAS'),
(2044, 492, 'MONACO'),
(2045, 496, 'ARHANGAY'),
(2046, 496, 'BAYANHONGOR'),
(2047, 496, 'BAYAN-ÖLGIY'),
(2048, 496, 'EAST AIMAK'),
(2049, 496, 'EAST GOBI AYMAG'),
(2050, 496, 'MIDDLE GOVĬ'),
(2051, 496, 'DZAVHAN'),
(2052, 496, 'GOVĬ-ALTAY'),
(2053, 496, 'HENTIY'),
(2054, 496, 'HOVD'),
(2055, 496, 'HÖVSGÖL'),
(2056, 496, 'SOUTH GOBI AIMAK'),
(2057, 496, 'SOUTH HANGAY'),
(2058, 496, 'SELENGE'),
(2059, 496, 'SÜHBAATAR'),
(2060, 496, 'CENTRAL AIMAK'),
(2061, 496, 'UVS'),
(2062, 496, 'ULAANBAATAR'),
(2063, 496, 'BULGAN'),
(2064, 496, 'DARHAN UUL'),
(2065, 496, 'GOVĬ-SUMBER'),
(2066, 496, 'ORHON'),
(2067, 498, 'UNGHENI JUDETUL'),
(2068, 498, 'BALTI'),
(2069, 498, 'CAHUL'),
(2070, 498, 'STINGA NISTRULUI'),
(2071, 498, 'EDINET'),
(2072, 498, 'GĂGĂUZIA'),
(2073, 498, 'LAPUSNA'),
(2074, 498, 'ORHEI'),
(2075, 498, 'SOROCA'),
(2076, 498, 'TIGHINA'),
(2077, 498, 'UNGHENI'),
(2078, 498, 'CHIŞINĂU'),
(2079, 498, 'STÎNGA NISTRULUI'),
(2080, 498, 'RAIONUL ANENII NOI'),
(2081, 498, 'BĂLŢI'),
(2082, 498, 'RAIONUL BASARABEASCA'),
(2083, 498, 'BENDER'),
(2084, 498, 'RAIONUL BRICENI'),
(2085, 498, 'RAIONUL CAHUL'),
(2086, 498, 'RAIONUL CANTEMIR'),
(2087, 498, 'CĂLĂRAŞI'),
(2088, 498, 'CĂUŞENI'),
(2089, 498, 'RAIONUL CIMIŞLIA'),
(2090, 498, 'RAIONUL CRIULENI'),
(2091, 498, 'RAIONUL DONDUŞENI'),
(2092, 498, 'RAIONUL DROCHIA'),
(2093, 498, 'DUBĂSARI'),
(2094, 498, 'RAIONUL EDINEŢ'),
(2095, 498, 'RAIONUL FĂLEŞTI'),
(2096, 498, 'RAIONUL FLOREŞTI'),
(2097, 498, 'RAIONUL GLODENI'),
(2098, 498, 'RAIONUL HÎNCEŞTI'),
(2099, 498, 'RAIONUL IALOVENI'),
(2100, 498, 'RAIONUL LEOVA'),
(2101, 498, 'RAIONUL NISPORENI'),
(2102, 498, 'RAIONUL OCNIŢA'),
(2103, 498, 'RAIONUL ORHEI'),
(2104, 498, 'RAIONUL REZINA'),
(2105, 498, 'RAIONUL RÎŞCANI'),
(2106, 498, 'RAIONUL SÎNGEREI'),
(2107, 498, 'RAIONUL ŞOLDĂNEŞTI'),
(2108, 498, 'RAIONUL SOROCA'),
(2109, 498, 'ŞTEFAN-VODĂ'),
(2110, 498, 'RAIONUL STRĂŞENI'),
(2111, 498, 'RAIONUL TARACLIA'),
(2112, 498, 'RAIONUL TELENEŞTI'),
(2113, 498, 'RAIONUL UNGHENI'),
(2114, 499, 'OPŠTINA ANDRIJEVICA'),
(2115, 499, 'OPŠTINA BAR'),
(2116, 499, 'OPŠTINA BERANE'),
(2117, 499, 'OPŠTINA BIJELO POLJE'),
(2118, 499, 'OPŠTINA BUDVA'),
(2119, 499, 'OPŠTINA CETINJE'),
(2120, 499, 'OPŠTINA DANILOVGRAD'),
(2121, 499, 'OPŠTINA HERCEG NOVI'),
(2122, 499, 'OPŠTINA KOLAŠIN'),
(2123, 499, 'OPŠTINA KOTOR'),
(2124, 499, 'OPŠTINA MOJKOVAC'),
(2125, 499, 'OPŠTINA NIKŠIĆ'),
(2126, 499, 'OPŠTINA PLAV'),
(2127, 499, 'OPŠTINA PLJEVLJA'),
(2128, 499, 'OPŠTINA PLUŽINE'),
(2129, 499, 'OPŠTINA PODGORICA'),
(2130, 499, 'OPŠTINA ROŽAJE'),
(2131, 499, 'OPŠTINA ŠAVNIK'),
(2132, 499, 'OPŠTINA TIVAT'),
(2133, 499, 'OPŠTINA ULCINJ'),
(2134, 499, 'OPŠTINA ŽABLJAK'),
(2135, 500, 'SAINT ANTHONY'),
(2136, 500, 'SAINT GEORGES'),
(2137, 500, 'SAINT PETER'),
(2138, 504, 'AGADIR'),
(2139, 504, 'AL HOCEÃMA'),
(2140, 504, 'AZIZAL'),
(2141, 504, 'BEN SLIMANE'),
(2142, 504, 'BENI MELLAL'),
(2143, 504, 'BOULEMANE'),
(2144, 504, 'CASABLANCA'),
(2145, 504, 'CHAOUEN'),
(2146, 504, 'EL JADIDA'),
(2147, 504, 'EL KELAA DES SRARHNA'),
(2148, 504, 'ER RACHIDIA'),
(2149, 504, 'ESSAOUIRA'),
(2150, 504, 'FES'),
(2151, 504, 'FIGUIG'),
(2152, 504, 'KENITRA'),
(2153, 504, 'KHEMISSET'),
(2154, 504, 'KHENIFRA'),
(2155, 504, 'KHOURIBGA'),
(2156, 504, 'MARRAKECH'),
(2157, 504, 'MEKNES'),
(2158, 504, 'NADOR'),
(2159, 504, 'OUARZAZATE'),
(2160, 504, 'OUJDA'),
(2161, 504, 'RABAT-SALE'),
(2162, 504, 'SAFI'),
(2163, 504, 'SETTAT'),
(2164, 504, 'TANGER'),
(2165, 504, 'TATA'),
(2166, 504, 'TAZA'),
(2167, 504, 'TIZNIT'),
(2168, 504, 'GUELMIM'),
(2169, 504, 'IFRANE'),
(2170, 504, 'LAAYOUNE'),
(2171, 504, 'TAN-TAN'),
(2172, 504, 'TAOUNATE'),
(2173, 504, 'SIDI KACEM'),
(2174, 504, 'TAROUDANNT'),
(2175, 504, 'TETOUAN'),
(2176, 504, 'LARACHE'),
(2177, 504, 'GRAND CASABLANCA'),
(2178, 504, 'FÈS-BOULEMANE'),
(2179, 504, 'MARRAKECH-TENSIFT-AL HAOUZ'),
(2180, 504, 'MEKNÈS-TAFILALET'),
(2181, 504, 'RABAT-SALÉ-ZEMMOUR-ZAËR'),
(2182, 504, 'CHAOUIA-OUARDIGHA'),
(2183, 504, 'DOUKKALA-ABDA'),
(2184, 504, 'GHARB-CHRARDA-BENI HSSEN'),
(2185, 504, 'GUELMIM-ES SMARA'),
(2186, 504, 'ORIENTAL'),
(2187, 504, 'SOUSS-MASSA-DRÂA'),
(2188, 504, 'TADLA-AZILAL'),
(2189, 504, 'TANGER-TÉTOUAN'),
(2190, 504, 'TAZA-AL HOCEIMA-TAOUNATE'),
(2191, 504, 'LAÂYOUNE-BOUJDOUR-SAKIA EL HAMRA'),
(2192, 508, 'CABO DELGADO'),
(2193, 508, 'GAZA'),
(2194, 508, 'INHAMBANE'),
(2195, 508, 'MAPUTO PROVINCE'),
(2196, 508, 'SOFALA'),
(2197, 508, 'NAMPULA'),
(2198, 508, 'NIASSA'),
(2199, 508, 'TETE'),
(2200, 508, 'ZAMBÉZIA'),
(2201, 508, 'MANICA'),
(2202, 508, 'MAPUTO'),
(2203, 512, 'AD DĀKHILĪYAH'),
(2204, 512, 'AL BĀŢINAH'),
(2205, 512, 'AL WUSŢÃ'),
(2206, 512, 'ASH SHARQĪYAH'),
(2207, 512, 'MASQAŢ'),
(2208, 512, 'MUSANDAM'),
(2209, 512, 'Z̧UFĀR'),
(2210, 512, 'AZ̧ Z̧ĀHIRAH'),
(2211, 512, 'MUḨĀFAZ̧AT AL BURAYMĪ'),
(2212, 516, 'BETHANIEN'),
(2213, 516, 'CAPRIVI OOS'),
(2214, 516, 'KAOKOLAND'),
(2215, 516, 'OTJIWARONGO'),
(2216, 516, 'OUTJO'),
(2217, 516, 'OWAMBO'),
(2218, 516, 'KHOMAS'),
(2219, 516, 'KAVANGO'),
(2220, 516, 'CAPRIVI'),
(2221, 516, 'ERONGO'),
(2222, 516, 'HARDAP'),
(2223, 516, 'KARAS'),
(2224, 516, 'KUNENE'),
(2225, 516, 'OHANGWENA'),
(2226, 516, 'OKAVANGO'),
(2227, 516, 'OMAHEKE'),
(2228, 516, 'OMUSATI'),
(2229, 516, 'OSHANA'),
(2230, 516, 'OSHIKOTO'),
(2231, 516, 'OTJOZONDJUPA'),
(2232, 520, 'AIWO'),
(2233, 520, 'ANABAR'),
(2234, 520, 'ANETAN'),
(2235, 520, 'ANIBARE'),
(2236, 520, 'BAITI'),
(2237, 520, 'BOE'),
(2238, 520, 'BUADA'),
(2239, 520, 'DENIGOMODU'),
(2240, 520, 'EWA'),
(2241, 520, 'IJUW'),
(2242, 520, 'MENENG'),
(2243, 520, 'NIBOK'),
(2244, 520, 'UABOE'),
(2245, 520, 'YAREN'),
(2246, 524, 'BĀGMATĪ'),
(2247, 524, 'BHERĪ'),
(2248, 524, 'DHAWALĀGIRI'),
(2249, 524, 'GANDAKĪ'),
(2250, 524, 'JANAKPUR'),
(2251, 524, 'KARNĀLĪ'),
(2252, 524, 'KOSĪ'),
(2253, 524, 'LUMBINĪ'),
(2254, 524, 'MAHĀKĀLĪ'),
(2255, 524, 'MECHĪ'),
(2256, 524, 'NĀRĀYANĪ'),
(2257, 524, 'RĀPTĪ'),
(2258, 524, 'SAGARMĀTHĀ'),
(2259, 524, 'SETĪ'),
(2260, 528, 'PROVINCIE DRENTHE'),
(2261, 528, 'PROVINCIE FRIESLAND'),
(2262, 528, 'GELDERLAND'),
(2263, 528, 'GRONINGEN'),
(2264, 528, 'LIMBURG'),
(2265, 528, 'NORTH BRABANT'),
(2266, 528, 'NORTH HOLLAND'),
(2267, 528, 'UTRECHT'),
(2268, 528, 'ZEELAND'),
(2269, 528, 'SOUTH HOLLAND'),
(2270, 528, 'OVERIJSSEL'),
(2271, 528, 'FLEVOLAND'),
(2272, 530, 'NETHERLANDS ANTILLES'),
(2273, 533, 'ARUBA'),
(2274, 548, 'AMBRYM'),
(2275, 548, 'AOBA/MAÉWO'),
(2276, 548, 'TORBA'),
(2277, 548, 'ÉFATÉ'),
(2278, 548, 'ÉPI'),
(2279, 548, 'MALAKULA'),
(2280, 548, 'PAAMA'),
(2281, 548, 'PENTECÔTE'),
(2282, 548, 'SANMA'),
(2283, 548, 'SHEPHERD'),
(2284, 548, 'TAFEA'),
(2285, 548, 'MALAMPA'),
(2286, 548, 'PENAMA'),
(2287, 548, 'SHEFA'),
(2288, 554, 'TASMAN'),
(2289, 554, 'AUCKLAND'),
(2290, 554, 'BAY OF PLENTY'),
(2291, 554, 'CANTERBURY'),
(2292, 554, 'GISBORNE'),
(2293, 554, 'HAWKEʼS BAY'),
(2294, 554, 'MANAWATU-WANGANUI'),
(2295, 554, 'MARLBOROUGH'),
(2296, 554, 'NELSON'),
(2297, 554, 'NORTHLAND'),
(2298, 554, 'OTAGO'),
(2299, 554, 'SOUTHLAND'),
(2300, 554, 'TARANAKI'),
(2301, 554, 'WAIKATO'),
(2302, 554, 'WELLINGTON'),
(2303, 554, 'WEST COAST'),
(2304, 558, 'BOACO'),
(2305, 558, 'CARAZO'),
(2306, 558, 'CHINANDEGA'),
(2307, 558, 'CHONTALES'),
(2308, 558, 'ESTELÃ'),
(2309, 558, 'GRANADA'),
(2310, 558, 'JINOTEGA'),
(2311, 558, 'LEÓN'),
(2312, 558, 'MADRIZ'),
(2313, 558, 'MANAGUA'),
(2314, 558, 'MASAYA'),
(2315, 558, 'MATAGALPA'),
(2316, 558, 'NUEVA SEGOVIA'),
(2317, 558, 'RÃO SAN JUAN'),
(2318, 558, 'RIVAS'),
(2319, 558, 'OGUN STATE'),
(2320, 558, 'ATLÃNTICO NORTE'),
(2321, 558, 'ATLÃNTICO SUR'),
(2322, 562, 'AGADEZ'),
(2323, 562, 'DIFFA'),
(2324, 562, 'DOSSO'),
(2325, 562, 'MARADI'),
(2326, 562, 'TAHOUA'),
(2327, 562, 'ZINDER'),
(2328, 562, 'NIAMEY'),
(2329, 562, 'TILLABÉRI'),
(2330, 566, 'LAGOS'),
(2331, 566, 'ABUJA FEDERAL CAPITAL TERRITORY'),
(2332, 566, 'OGUN'),
(2333, 566, 'AKWA IBOM'),
(2334, 566, 'CROSS RIVER'),
(2335, 566, 'KADUNA'),
(2336, 566, 'KATSINA'),
(2337, 566, 'ANAMBRA'),
(2338, 566, 'BENUE'),
(2339, 566, 'BORNO'),
(2340, 566, 'IMO'),
(2341, 566, 'KANO'),
(2342, 566, 'KWARA'),
(2343, 566, 'NIGER'),
(2344, 566, 'OYO'),
(2345, 566, 'ADAMAWA'),
(2346, 566, 'DELTA'),
(2347, 566, 'EDO'),
(2348, 566, 'JIGAWA'),
(2349, 566, 'KEBBI'),
(2350, 566, 'KOGI'),
(2351, 566, 'OSUN'),
(2352, 566, 'TARABA'),
(2353, 566, 'YOBE'),
(2354, 566, 'ABIA'),
(2355, 566, 'BAUCHI'),
(2356, 566, 'ENUGU'),
(2357, 566, 'ONDO'),
(2358, 566, 'PLATEAU'),
(2359, 566, 'RIVERS'),
(2360, 566, 'SOKOTO'),
(2361, 566, 'BAYELSA'),
(2362, 566, 'EBONYI'),
(2363, 566, 'EKITI'),
(2364, 566, 'GOMBE'),
(2365, 566, 'NASSARAWA'),
(2366, 566, 'ZAMFARA'),
(2367, 570, 'NIUE'),
(2368, 574, 'NORFOLK ISLAND'),
(2369, 578, 'SVALBARD'),
(2370, 578, 'AKERSHUS'),
(2371, 578, 'AUST-AGDER'),
(2372, 578, 'BUSKERUD'),
(2373, 578, 'FINNMARK'),
(2374, 578, 'HEDMARK'),
(2375, 578, 'HORDALAND'),
(2376, 578, 'MØRE OG ROMSDAL'),
(2377, 578, 'NORDLAND'),
(2378, 578, 'NORD-TRØNDELAG'),
(2379, 578, 'OPPLAND'),
(2380, 578, 'OSLO COUNTY'),
(2381, 578, 'ØSTFOLD'),
(2382, 578, 'ROGALAND'),
(2383, 578, 'SOGN OG FJORDANE'),
(2384, 578, 'SØR-TRØNDELAG'),
(2385, 578, 'TELEMARK'),
(2386, 578, 'TROMS'),
(2387, 578, 'VEST-AGDER'),
(2388, 578, 'VESTFOLD'),
(2389, 583, 'KOSRAE'),
(2390, 583, 'POHNPEI'),
(2391, 583, 'CHUUK'),
(2392, 583, 'YAP'),
(2393, 584, 'MARSHALL ISLANDS'),
(2394, 585, 'STATE OF NGEREMLENGUI'),
(2395, 586, 'FEDERALLY ADMINISTERED TRIBAL AREAS'),
(2396, 586, 'BALOCHISTĀN'),
(2397, 586, 'NORTH WEST FRONTIER PROVINCE'),
(2398, 586, 'PUNJAB'),
(2399, 586, 'SINDH'),
(2400, 586, 'AZAD KASHMIR'),
(2401, 586, 'GILGIT-BALTISTAN'),
(2402, 586, 'ISLĀMĀBĀD'),
(2403, 591, 'BOCAS DEL TORO'),
(2404, 591, 'CHIRIQUÃ'),
(2405, 591, 'COCLÉ'),
(2406, 591, 'COLÓN'),
(2407, 591, 'DARIÉN'),
(2408, 591, 'HERRERA'),
(2409, 591, 'LOS SANTOS'),
(2410, 591, 'PANAMÃ'),
(2411, 591, 'SAN BLAS'),
(2412, 591, 'VERAGUAS'),
(2413, 598, 'CENTRAL'),
(2414, 598, 'GULF'),
(2415, 598, 'MILNE BAY'),
(2416, 598, 'NORTHERN'),
(2417, 598, 'SOUTHERN HIGHLANDS'),
(2418, 598, 'WESTERN'),
(2419, 598, 'BOUGAINVILLE'),
(2420, 598, 'CHIMBU'),
(2421, 598, 'EASTERN HIGHLANDS'),
(2422, 598, 'EAST NEW BRITAIN'),
(2423, 598, 'EAST SEPIK'),
(2424, 598, 'MADANG'),
(2425, 598, 'MANUS'),
(2426, 598, 'MOROBE'),
(2427, 598, 'NEW IRELAND'),
(2428, 598, 'WESTERN HIGHLANDS'),
(2429, 598, 'WEST NEW BRITAIN'),
(2430, 598, 'SANDAUN'),
(2431, 598, 'ENGA'),
(2432, 598, 'NATIONAL CAPITAL'),
(2433, 600, 'ALTO PARANÃ'),
(2434, 600, 'AMAMBAY'),
(2435, 600, 'CAAGUAZÚ'),
(2436, 600, 'CAAZAPÃ'),
(2437, 600, 'CENTRAL'),
(2438, 600, 'CONCEPCIÓN'),
(2439, 600, 'CORDILLERA'),
(2440, 600, 'GUAIRÃ'),
(2441, 600, 'ITAPÚA'),
(2442, 600, 'MISIONES'),
(2443, 600, 'ÑEEMBUCÚ'),
(2444, 600, 'PARAGUARÃ'),
(2445, 600, 'PRESIDENTE HAYES'),
(2446, 600, 'SAN PEDRO'),
(2447, 600, 'CANINDEYÚ'),
(2448, 600, 'ASUNCIÓN'),
(2449, 600, 'DEPARTAMENTO DE ALTO PARAGUAY'),
(2450, 600, 'BOQUERÓN'),
(2451, 604, 'AMAZONAS'),
(2452, 604, 'ANCASH'),
(2453, 604, 'APURÃMAC'),
(2454, 604, 'AREQUIPA'),
(2455, 604, 'AYACUCHO'),
(2456, 604, 'CAJAMARCA'),
(2457, 604, 'CALLAO'),
(2458, 604, 'CUSCO'),
(2459, 604, 'HUANCAVELICA'),
(2460, 604, 'HUANUCO'),
(2461, 604, 'ICA'),
(2462, 604, 'JUNÃN'),
(2463, 604, 'LA LIBERTAD'),
(2464, 604, 'LAMBAYEQUE'),
(2465, 604, 'LIMA'),
(2466, 604, 'PROVINCIA DE LIMA'),
(2467, 604, 'LORETO'),
(2468, 604, 'MADRE DE DIOS'),
(2469, 604, 'MOQUEGUA'),
(2470, 604, 'PASCO'),
(2471, 604, 'PIURA'),
(2472, 604, 'PUNO'),
(2473, 604, 'SAN MARTÃN'),
(2474, 604, 'TACNA'),
(2475, 604, 'TUMBES'),
(2476, 604, 'UCAYALI'),
(2477, 608, 'ABRA'),
(2478, 608, 'AGUSAN DEL NORTE'),
(2479, 608, 'AGUSAN DEL SUR'),
(2480, 608, 'AKLAN'),
(2481, 608, 'ALBAY'),
(2482, 608, 'ANTIQUE'),
(2483, 608, 'BATAAN'),
(2484, 608, 'BATANES'),
(2485, 608, 'BATANGAS'),
(2486, 608, 'BENGUET'),
(2487, 608, 'BOHOL'),
(2488, 608, 'BUKIDNON'),
(2489, 608, 'BULACAN'),
(2490, 608, 'CAGAYAN'),
(2491, 608, 'CAMARINES NORTE'),
(2492, 608, 'CAMARINES SUR'),
(2493, 608, 'CAMIGUIN'),
(2494, 608, 'CAPIZ'),
(2495, 608, 'CATANDUANES'),
(2496, 608, 'CEBU'),
(2497, 608, 'BASILAN'),
(2498, 608, 'EASTERN SAMAR'),
(2499, 608, 'DAVAO DEL SUR'),
(2500, 608, 'DAVAO ORIENTAL'),
(2501, 608, 'IFUGAO'),
(2502, 608, 'ILOCOS NORTE'),
(2503, 608, 'ILOCOS SUR'),
(2504, 608, 'ILOILO'),
(2505, 608, 'ISABELA'),
(2506, 608, 'LAGUNA'),
(2507, 608, 'LANAO DEL SUR'),
(2508, 608, 'LA UNION'),
(2509, 608, 'LEYTE'),
(2510, 608, 'MARINDUQUE'),
(2511, 608, 'MASBATE'),
(2512, 608, 'OCCIDENTAL MINDORO'),
(2513, 608, 'ORIENTAL MINDORO'),
(2514, 608, 'MISAMIS ORIENTAL'),
(2515, 608, 'MOUNTAIN PROVINCE'),
(2516, 608, 'NEGROS ORIENTAL'),
(2517, 608, 'NUEVA ECIJA'),
(2518, 608, 'NUEVA VIZCAYA'),
(2519, 608, 'PALAWAN'),
(2520, 608, 'PAMPANGA'),
(2521, 608, 'PANGASINAN'),
(2522, 608, 'RIZAL'),
(2523, 608, 'ROMBLON'),
(2524, 608, 'SAMAR'),
(2525, 608, 'MAGUINDANAO'),
(2526, 608, 'COTABATO CITY'),
(2527, 608, 'SORSOGON'),
(2528, 608, 'SOUTHERN LEYTE'),
(2529, 608, 'SULU'),
(2530, 608, 'SURIGAO DEL NORTE'),
(2531, 608, 'SURIGAO DEL SUR'),
(2532, 608, 'TARLAC'),
(2533, 608, 'ZAMBALES'),
(2534, 608, 'ZAMBOANGA DEL NORTE'),
(2535, 608, 'ZAMBOANGA DEL SUR'),
(2536, 608, 'NORTHERN SAMAR'),
(2537, 608, 'QUIRINO'),
(2538, 608, 'SIQUIJOR'),
(2539, 608, 'SOUTH COTABATO'),
(2540, 608, 'SULTAN KUDARAT'),
(2541, 608, 'KALINGA'),
(2542, 608, 'APAYAO'),
(2543, 608, 'TAWI-TAWI'),
(2544, 608, 'ANGELES'),
(2545, 608, 'BACOLOD CITY'),
(2546, 608, 'COMPOSTELA VALLEY'),
(2547, 608, 'BAGUIO'),
(2548, 608, 'DAVAO DEL NORTE'),
(2549, 608, 'BUTUAN'),
(2550, 608, 'GUIMARAS'),
(2551, 608, 'LANAO DEL NORTE'),
(2552, 608, 'MISAMIS OCCIDENTAL'),
(2553, 608, 'CALOOCAN'),
(2554, 608, 'CAVITE'),
(2555, 608, 'CEBU CITY'),
(2556, 608, 'COTABATO'),
(2557, 608, 'DAGUPAN'),
(2558, 608, 'CAGAYAN DE ORO'),
(2559, 608, 'ILIGAN'),
(2560, 608, 'DAVAO'),
(2561, 608, 'LAS PIÑAS'),
(2562, 608, 'MALABON'),
(2563, 608, 'GENERAL SANTOS'),
(2564, 608, 'MUNTINLUPA'),
(2565, 608, 'ILOILO CITY'),
(2566, 608, 'NAVOTAS'),
(2567, 608, 'PARAÑAQUE'),
(2568, 608, 'QUEZON CITY'),
(2569, 608, 'LAPU-LAPU'),
(2570, 608, 'TAGUIG'),
(2571, 608, 'VALENZUELA'),
(2572, 608, 'LUCENA'),
(2573, 608, 'MANDAUE'),
(2574, 608, 'MANILA'),
(2575, 608, 'ZAMBOANGA SIBUGAY'),
(2576, 608, 'NAGA'),
(2577, 608, 'OLONGAPO'),
(2578, 608, 'ORMOC'),
(2579, 608, 'SANTIAGO'),
(2580, 608, 'PATEROS'),
(2581, 608, 'PASAY'),
(2582, 608, 'PUERTO PRINCESA'),
(2583, 608, 'QUEZON'),
(2584, 608, 'TACLOBAN'),
(2585, 608, 'ZAMBOANGA CITY'),
(2586, 608, 'AURORA'),
(2587, 608, 'NEGROS OCCIDENTAL'),
(2588, 608, 'BILIRAN'),
(2589, 608, 'MAKATI CITY'),
(2590, 608, 'SARANGANI'),
(2591, 608, 'MANDALUYONG CITY'),
(2592, 608, 'MARIKINA'),
(2593, 608, 'PASIG'),
(2594, 608, 'SAN JUAN'),
(2595, 612, 'PITCAIRN ISLANDS'),
(2596, 616, 'BIALA PODLASKA'),
(2597, 616, 'BIALYSTOK'),
(2598, 616, 'BIELSKO'),
(2599, 616, 'BYDGOSZCZ'),
(2600, 616, 'CHELM'),
(2601, 616, 'CIECHANOW'),
(2602, 616, 'CZESTOCHOWA'),
(2603, 616, 'ELBLAG'),
(2604, 616, 'GDANSK'),
(2605, 616, 'GORZOW'),
(2606, 616, 'JELENIA GORA'),
(2607, 616, 'KALISZ'),
(2608, 616, 'KATOWICE'),
(2609, 616, 'KIELCE'),
(2610, 616, 'KONIN'),
(2611, 616, 'KOSZALIN'),
(2612, 616, 'KRAKOW'),
(2613, 616, 'KROSNO'),
(2614, 616, 'LEGNICA'),
(2615, 616, 'LESZNO'),
(2616, 616, 'LODZ'),
(2617, 616, 'LOMZA'),
(2618, 616, 'LUBLIN'),
(2619, 616, 'NOWY SACZ'),
(2620, 616, 'OLSZTYN'),
(2621, 616, 'OPOLE'),
(2622, 616, 'OSTROLEKA'),
(2623, 616, 'PITA'),
(2624, 616, 'PIOTRKOW'),
(2625, 616, 'PLOCK'),
(2626, 616, 'POZNAN'),
(2627, 616, 'PRZEMYSL'),
(2628, 616, 'RADOM'),
(2629, 616, 'RZESZOW'),
(2630, 616, 'SIEDLCE'),
(2631, 616, 'SIERADZ'),
(2632, 616, 'SKIERNIEWICE'),
(2633, 616, 'SLUPSK'),
(2634, 616, 'SUWALKI'),
(2635, 616, 'SZCZECIN'),
(2636, 616, 'TARNOBRZEG'),
(2637, 616, 'TARNOW'),
(2638, 616, 'TORUFI'),
(2639, 616, 'WALBRZYCH'),
(2640, 616, 'WARSZAWA'),
(2641, 616, 'WLOCLAWEK'),
(2642, 616, 'WROCLAW'),
(2643, 616, 'ZAMOSC'),
(2644, 616, 'ZIELONA GORA'),
(2645, 616, 'LOWER SILESIAN VOIVODESHIP'),
(2646, 616, 'KUJAWSKO-POMORSKIE VOIVODSHIP'),
(2647, 616, 'ÅÓDŹ VOIVODESHIP'),
(2648, 616, 'LUBLIN VOIVODESHIP'),
(2649, 616, 'LUBUSZ VOIVODSHIP'),
(2650, 616, 'LESSER POLAND VOIVODESHIP'),
(2651, 616, 'MASOVIAN VOIVODESHIP'),
(2652, 616, 'OPOLE VOIVODESHIP'),
(2653, 616, 'SUBCARPATHIAN VOIVODESHIP'),
(2654, 616, 'PODLASIE VOIVODSHIP'),
(2655, 616, 'POMERANIAN VOIVODESHIP'),
(2656, 616, 'SILESIAN VOIVODESHIP'),
(2657, 616, 'ŚWIĘTOKRZYSKIE VOIVODSHIP'),
(2658, 616, 'WARMIAN-MASURIAN VOIVODESHIP'),
(2659, 616, 'GREATER POLAND VOIVODESHIP'),
(2660, 616, 'WEST POMERANIAN VOIVODESHIP'),
(2661, 620, 'AVEIRO'),
(2662, 620, 'BEJA'),
(2663, 620, 'BRAGA'),
(2664, 620, 'BRAGANÇA'),
(2665, 620, 'CASTELO BRANCO'),
(2666, 620, 'COIMBRA'),
(2667, 620, 'ÉVORA'),
(2668, 620, 'FARO'),
(2669, 620, 'MADEIRA'),
(2670, 620, 'GUARDA'),
(2671, 620, 'LEIRIA'),
(2672, 620, 'LISBON'),
(2673, 620, 'PORTALEGRE'),
(2674, 620, 'PORTO'),
(2675, 620, 'SANTARÉM'),
(2676, 620, 'SETÚBAL'),
(2677, 620, 'VIANA DO CASTELO'),
(2678, 620, 'VILA REAL'),
(2679, 620, 'VISEU'),
(2680, 620, 'AZORES'),
(2681, 624, 'BAFATÃ'),
(2682, 624, 'QUINARA'),
(2683, 624, 'OIO'),
(2684, 624, 'BOLAMA'),
(2685, 624, 'CACHEU'),
(2686, 624, 'TOMBALI'),
(2687, 624, 'GABÚ'),
(2688, 624, 'BISSAU'),
(2689, 624, 'BIOMBO'),
(2690, 626, 'BOBONARO'),
(2691, 630, 'PUERTO RICO'),
(2692, 634, 'AD DAWḨAH'),
(2693, 634, 'AL GHUWAYRĪYAH'),
(2694, 634, 'AL JUMAYLĪYAH'),
(2695, 634, 'AL KHAWR'),
(2696, 634, 'AL WAKRAH MUNICIPALITY'),
(2697, 634, 'AR RAYYĀN'),
(2698, 634, 'JARAYAN AL BATINAH'),
(2699, 634, 'MADĪNAT ASH SHAMĀL'),
(2700, 634, 'UMM ŞALĀL'),
(2701, 634, 'AL WAKRAH'),
(2702, 634, 'JARAYĀN AL BĀŢINAH'),
(2703, 634, 'UMM SA‘ĪD'),
(2704, 638, 'RÉUNION'),
(2705, 642, 'ALBA'),
(2706, 642, 'ARAD'),
(2707, 642, 'ARGEŞ'),
(2708, 642, 'BACĂU'),
(2709, 642, 'BIHOR'),
(2710, 642, 'BISTRIŢA-NĂSĂUD'),
(2711, 642, 'BOTOŞANI'),
(2712, 642, 'BRĂILA'),
(2713, 642, 'BRAŞOV'),
(2714, 642, 'BUCUREŞTI'),
(2715, 642, 'BUZĂU'),
(2716, 642, 'CARAŞ-SEVERIN'),
(2717, 642, 'CLUJ'),
(2718, 642, 'CONSTANŢA'),
(2719, 642, 'COVASNA'),
(2720, 642, 'DÂMBOVIŢA'),
(2721, 642, 'DOLJ'),
(2722, 642, 'GALAŢI'),
(2723, 642, 'GORJ'),
(2724, 642, 'HARGHITA'),
(2725, 642, 'HUNEDOARA'),
(2726, 642, 'IALOMIŢA'),
(2727, 642, 'IAŞI'),
(2728, 642, 'MARAMUREŞ'),
(2729, 642, 'MEHEDINŢI'),
(2730, 642, 'MUREŞ'),
(2731, 642, 'NEAMŢ'),
(2732, 642, 'OLT'),
(2733, 642, 'PRAHOVA'),
(2734, 642, 'SĂLAJ'),
(2735, 642, 'SATU MARE'),
(2736, 642, 'SIBIU'),
(2737, 642, 'SUCEAVA'),
(2738, 642, 'TELEORMAN'),
(2739, 642, 'TIMIŞ'),
(2740, 642, 'TULCEA'),
(2741, 642, 'VASLUI'),
(2742, 642, 'VÂLCEA'),
(2743, 642, 'JUDEŢUL VRANCEA'),
(2744, 642, 'CĂLĂRAŞI'),
(2745, 642, 'GIURGIU'),
(2746, 642, 'ILFOV'),
(2747, 643, 'ADYGEYA'),
(2748, 643, 'ALTAY'),
(2749, 643, 'ALTAYSKIY KRAY'),
(2750, 643, 'AMUR'),
(2751, 643, 'ARKHANGELSKAYA OBLAST'),
(2752, 643, 'ASTRAKHAN'),
(2753, 643, 'BASHKORTOSTAN'),
(2754, 643, 'BELGOROD'),
(2755, 643, 'BRJANSK'),
(2756, 643, 'BURYATIYA'),
(2757, 643, 'CHECHNYA'),
(2758, 643, 'TSJELJABINSK'),
(2759, 643, 'ZABAÃKALSKI KRAY'),
(2760, 643, 'CHUKOTSKIY AVTONOMNYY OKRUG'),
(2761, 643, 'CHUVASHIA'),
(2762, 643, 'DAGESTAN'),
(2763, 643, 'INGUSHETIYA'),
(2764, 643, 'IRKUTSK'),
(2765, 643, 'IVANOVO'),
(2766, 643, 'KABARDINO-BALKARIYA'),
(2767, 643, 'KALININGRAD'),
(2768, 643, 'KALMYKIYA'),
(2769, 643, 'KALUGA'),
(2770, 643, 'KARACHAYEVO-CHERKESIYA'),
(2771, 643, 'KARELIYA'),
(2772, 643, 'KEMEROVO'),
(2773, 643, 'KHABAROVSK KRAI'),
(2774, 643, 'KHAKASIYA'),
(2775, 643, 'KHANTY-MANSIYSKIY AVTONOMNYY OKRUG'),
(2776, 643, 'KIROV'),
(2777, 643, 'KOMI'),
(2778, 643, 'KOSTROMA'),
(2779, 643, 'KRASNODARSKIY KRAY'),
(2780, 643, 'KURGAN'),
(2781, 643, 'KURSK'),
(2782, 643, 'LENINGRADSKAYA OBLASTʼ'),
(2783, 643, 'LIPETSK'),
(2784, 643, 'MAGADAN'),
(2785, 643, 'MARIY-EL'),
(2786, 643, 'MORDOVIYA'),
(2787, 643, 'MOSKOVSKAYA OBLASTʼ'),
(2788, 643, 'MOSCOW'),
(2789, 643, 'MURMANSK OBLAST'),
(2790, 643, 'NENETSKIY AVTONOMNYY OKRUG'),
(2791, 643, 'NIZJNIJ NOVGOROD'),
(2792, 643, 'NOVGOROD'),
(2793, 643, 'NOVOSIBIRSK'),
(2794, 643, 'OMSK'),
(2795, 643, 'ORENBURG'),
(2796, 643, 'ORJOL'),
(2797, 643, 'PENZA'),
(2798, 643, 'PRIMORSKIY KRAY'),
(2799, 643, 'PSKOV'),
(2800, 643, 'ROSTOV'),
(2801, 643, 'RJAZAN'),
(2802, 643, 'SAKHA'),
(2803, 643, 'SAKHALIN'),
(2804, 643, 'SAMARA'),
(2805, 643, 'SANKT-PETERBURG'),
(2806, 643, 'SARATOV'),
(2807, 643, 'SEVERNAYA OSETIYA-ALANIYA'),
(2808, 643, 'SMOLENSK'),
(2809, 643, 'STAVROPOLʼSKIY KRAY'),
(2810, 643, 'SVERDLOVSK'),
(2811, 643, 'TAMBOV'),
(2812, 643, 'TATARSTAN'),
(2813, 643, 'TOMSK'),
(2814, 643, 'TULA'),
(2815, 643, 'TVERSKAYA OBLAST’'),
(2816, 643, 'TJUMEN'),
(2817, 643, 'TYVA'),
(2818, 643, 'UDMURTIYA'),
(2819, 643, 'ULJANOVSK'),
(2820, 643, 'VLADIMIR'),
(2821, 643, 'VOLGOGRAD'),
(2822, 643, 'VOLOGDA'),
(2823, 643, 'VORONEZJ'),
(2824, 643, 'YAMALO-NENETSKIY AVTONOMNYY OKRUG'),
(2825, 643, 'JAROSLAVL'),
(2826, 643, 'JEWISH AUTONOMOUS OBLAST'),
(2827, 643, 'PERM'),
(2828, 643, 'KRASNOYARSKIY KRAY'),
(2829, 643, 'KAMTSJATKA'),
(2830, 643, 'RSJA'),
(2831, 646, 'EASTERN PROVINCE'),
(2832, 646, 'KIGALI CITY'),
(2833, 646, 'NORTHERN PROVINCE'),
(2834, 646, 'WESTERN PROVINCE'),
(2835, 646, 'SOUTHERN PROVINCE'),
(2836, 654, 'ASCENSION'),
(2837, 654, 'SAINT HELENA'),
(2838, 654, 'TRISTAN DA CUNHA'),
(2839, 659, 'CHRIST CHURCH NICHOLA TOWN'),
(2840, 659, 'SAINT ANNE SANDY POINT'),
(2841, 659, 'SAINT GEORGE BASSETERRE'),
(2842, 659, 'SAINT GEORGE GINGERLAND'),
(2843, 659, 'SAINT JAMES WINDWA'),
(2844, 659, 'SAINT JOHN CAPESTERRE'),
(2845, 659, 'SAINT JOHN FIGTREE'),
(2846, 659, 'SAINT MARY CAYON'),
(2847, 659, 'SAINT PAUL CAPESTERRE'),
(2848, 659, 'SAINT PAUL CHARLESTOWN'),
(2849, 659, 'SAINT PETER BASSETERRE'),
(2850, 659, 'SAINT THOMAS LOWLAND'),
(2851, 659, 'SAINT THOMAS MIDDLE ISLAND'),
(2852, 659, 'TRINITY PALMETTO POINT'),
(2853, 660, 'ANGUILLA'),
(2854, 662, 'ANSE-LA-RAYE'),
(2855, 662, 'DAUPHIN'),
(2856, 662, 'CASTRIES'),
(2857, 662, 'CHOISEUL'),
(2858, 662, 'DENNERY'),
(2859, 662, 'GROS-ISLET'),
(2860, 662, 'LABORIE'),
(2861, 662, 'MICOUD'),
(2862, 662, 'SOUFRIÈRE'),
(2863, 662, 'VIEUX-FORT'),
(2864, 662, 'PRASLIN'),
(2865, 666, 'SAINT-PIERRE-ET-MIQUELON'),
(2866, 670, 'CHARLOTTE'),
(2867, 670, 'SAINT ANDREW'),
(2868, 670, 'SAINT DAVID'),
(2869, 670, 'SAINT GEORGE'),
(2870, 670, 'SAINT PATRICK'),
(2871, 670, 'GRENADINES'),
(2872, 674, 'ACQUAVIVA'),
(2873, 674, 'CHIESANUOVA'),
(2874, 674, 'DOMAGNANO'),
(2875, 674, 'FAETANO'),
(2876, 674, 'FIORENTINO'),
(2877, 674, 'BORGO MAGGIORE'),
(2878, 674, 'SAN MARINO'),
(2879, 674, 'MONTEGIARDINO'),
(2880, 674, 'SERRAVALLE'),
(2881, 678, 'PRÃNCIPE'),
(2882, 678, 'PRÃNCIPE'),
(2883, 678, 'SÃO TOMÉ'),
(2884, 682, 'AL BĀḨAH'),
(2885, 682, 'AL MADĪNAH'),
(2886, 682, 'ASH SHARQĪYAH'),
(2887, 682, 'AL QAŞĪM'),
(2888, 682, 'AR RIYĀá¸'),
(2889, 682, '‘ASĪR'),
(2890, 682, 'ḨĀʼIL'),
(2891, 682, 'MAKKAH'),
(2892, 682, 'NORTHERN BORDERS REGION'),
(2893, 682, 'NAJRĀN'),
(2894, 682, 'JĪZĀN'),
(2895, 682, 'TABŪK'),
(2896, 682, 'AL JAWF'),
(2897, 686, 'DAKAR'),
(2898, 686, 'DIOURBEL'),
(2899, 686, 'SAINT-LOUIS'),
(2900, 686, 'TAMBACOUNDA'),
(2901, 686, 'THIÈS'),
(2902, 686, 'LOUGA'),
(2903, 686, 'FATICK'),
(2904, 686, 'KAOLACK'),
(2905, 686, 'KOLDA REGION'),
(2906, 686, 'ZIGUINCHOR'),
(2907, 686, 'LOUGA'),
(2908, 686, 'SAINT-LOUIS'),
(2909, 686, 'MATAM'),
(2910, 688, 'AUTONOMNA POKRAJINA VOJVODINA'),
(2911, 690, 'ANSE AUX PINS'),
(2912, 690, 'ANSE BOILEAU'),
(2913, 690, 'ANSE ETOILE'),
(2914, 690, 'ANSE LOUIS'),
(2915, 690, 'ANSE ROYALE'),
(2916, 690, 'BAIE LAZARE'),
(2917, 690, 'BAIE SAINTE ANNE'),
(2918, 690, 'BEAU VALLON'),
(2919, 690, 'BEL AIR'),
(2920, 690, 'BEL OMBRE'),
(2921, 690, 'CASCADE'),
(2922, 690, 'GLACIS'),
(2923, 690, 'SAINT THOMAS MIDDLE ISLAND PARISH'),
(2924, 690, 'GRAND ANSE PRASLIN'),
(2925, 690, 'TRINITY PALMETTO POINT PARISH'),
(2926, 690, 'LA RIVIERE ANGLAISE'),
(2927, 690, 'MONT BUXTON'),
(2928, 690, 'MONT FLEURI'),
(2929, 690, 'PLAISANCE'),
(2930, 690, 'POINTE LARUE'),
(2931, 690, 'PORT GLAUD'),
(2932, 690, 'SAINT LOUIS'),
(2933, 690, 'TAKAMAKA'),
(2934, 690, 'ANSE AUX PINS'),
(2935, 690, 'INNER ISLANDS'),
(2936, 690, 'ENGLISH RIVER'),
(2937, 690, 'PORT GLAUD'),
(2938, 690, 'BAIE LAZARE'),
(2939, 690, 'BEAU VALLON'),
(2940, 690, 'BEL OMBRE'),
(2941, 690, 'GLACIS'),
(2942, 690, 'GRAND ANSE MAHE'),
(2943, 690, 'GRAND ANSE PRASLIN'),
(2944, 690, 'INNER ISLANDS'),
(2945, 690, 'ENGLISH RIVER'),
(2946, 690, 'MONT FLEURI'),
(2947, 690, 'PLAISANCE'),
(2948, 690, 'POINTE LARUE'),
(2949, 690, 'PORT GLAUD'),
(2950, 690, 'TAKAMAKA'),
(2951, 690, 'AU CAP'),
(2952, 690, 'LES MAMELLES'),
(2953, 690, 'ROCHE CAIMAN'),
(2954, 694, 'EASTERN PROVINCE'),
(2955, 694, 'NORTHERN PROVINCE'),
(2956, 694, 'SOUTHERN PROVINCE'),
(2957, 694, 'WESTERN AREA'),
(2958, 702, 'SINGAPORE'),
(2959, 703, 'BANSKOBYSTRICKÃ'),
(2960, 703, 'BRATISLAVSKÃ'),
(2961, 703, 'KOŠICKÃ'),
(2962, 703, 'NITRIANSKY'),
(2963, 703, 'PREŠOVSKÃ'),
(2964, 703, 'TRENČIANSKY'),
(2965, 703, 'TRNAVSKÃ'),
(2966, 703, 'ŽILINSKÃ'),
(2967, 704, 'AN GIANG'),
(2968, 704, 'BẮC THÃI TỈNH'),
(2969, 704, 'BẾN TRE'),
(2970, 704, 'CAO BANG'),
(2971, 704, 'CAO BẰNG'),
(2972, 704, 'TEN BAI'),
(2973, 704, 'ÃỒNG THÃP'),
(2974, 704, 'HÀ BẮC TỈNH'),
(2975, 704, 'HẢI HƯNG TỈNH'),
(2976, 704, 'HẢI PHÒNG'),
(2977, 704, 'HOA BINH'),
(2978, 704, 'HA TAY'),
(2979, 704, 'HỒ CHÃ MINH'),
(2980, 704, 'KIẾN GIANG'),
(2981, 704, 'LÂM ÃỒNG'),
(2982, 704, 'LONG AN'),
(2983, 704, 'MINH HẢI TỈNH'),
(2984, 704, 'THUA THIEN-HUE'),
(2985, 704, 'QUANG NAM'),
(2986, 704, 'KON TUM'),
(2987, 704, 'QUẢNG NAM-ÃÀ NẴNG TỈNH'),
(2988, 704, 'QUẢNG NINH'),
(2989, 704, 'SÔNG BÉ TỈNH'),
(2990, 704, 'SƠN LA'),
(2991, 704, 'TÂY NINH'),
(2992, 704, 'THANH HÓA'),
(2993, 704, 'THÃI BÌNH'),
(2994, 704, 'NIN THUAN'),
(2995, 704, 'TIỀN GIANG'),
(2996, 704, 'VINH PHÚ TỈNH'),
(2997, 704, 'LẠNG SƠN'),
(2998, 704, 'BINH THUAN'),
(2999, 704, 'LONG AN'),
(3000, 704, 'ÃỒNG NAI'),
(3001, 704, 'HA NỘI'),
(3002, 704, 'BÀ RỊA-VŨNG TÀU'),
(3003, 704, 'BÌNH ÃỊNH'),
(3004, 704, 'BÌNH THUẬN'),
(3005, 704, 'GIA LAI'),
(3006, 704, 'HÀ GIANG'),
(3007, 704, 'HÀ TÂY'),
(3008, 704, 'HÀ TĨNH'),
(3009, 704, 'HÒA BÌNH'),
(3010, 704, 'KHÃNH HÒA'),
(3011, 704, 'KON TUM'),
(3012, 704, 'NAM HÀ TỈNH'),
(3013, 704, 'NGHỆ AN'),
(3014, 704, 'NINH BÌNH'),
(3015, 704, 'NINH THUẬN'),
(3016, 704, 'PHÚ YÊN'),
(3017, 704, 'QUẢNG BÌNH'),
(3018, 704, 'QUẢNG NGÃI'),
(3019, 704, 'QUẢNG TRỊ'),
(3020, 704, 'SÓC TRĂNG'),
(3021, 704, 'THỪA THIÊN-HUẾ'),
(3022, 704, 'TRÀ VINH'),
(3023, 704, 'TUYÊN QUANG'),
(3024, 704, 'VĨNH LONG'),
(3025, 704, 'YÊN BÃI'),
(3026, 704, 'BẮC GIANG'),
(3027, 704, 'BẮC KẠN'),
(3028, 704, 'BẠC LIÊU'),
(3029, 704, 'BẮC NINH'),
(3030, 704, 'BÌNH DƯƠNG'),
(3031, 704, 'BÌNH PHƯỚC'),
(3032, 704, 'CÀ MAU'),
(3033, 704, 'ÃÀ NẴNG'),
(3034, 704, 'HẢI DƯƠNG'),
(3035, 704, 'HÀ NAM'),
(3036, 704, 'HƯNG YÊN'),
(3037, 704, 'NAM ÃỊNH'),
(3038, 704, 'PHÚ THỌ'),
(3039, 704, 'QUẢNG NAM'),
(3040, 704, 'THÃI NGUYÊN'),
(3041, 704, 'VĨNH PHÚC'),
(3042, 704, 'CẦN THƠ'),
(3043, 704, 'ÃẮC LẮK'),
(3044, 704, 'LAI CHÂU'),
(3045, 704, 'LÀO CAI'),
(3046, 705, 'NOTRANJSKA'),
(3047, 705, 'KOROŠKA'),
(3048, 705, 'ŠTAJERSKA'),
(3049, 705, 'PREKMURJE'),
(3050, 705, 'PRIMORSKA'),
(3051, 705, 'GORENJSKA'),
(3052, 705, 'DOLENJSKA'),
(3053, 706, 'BAKOOL'),
(3054, 706, 'BANAADIR'),
(3055, 706, 'BARI'),
(3056, 706, 'BAY'),
(3057, 706, 'GALGUDUUD'),
(3058, 706, 'GEDO'),
(3059, 706, 'HIIRAAN'),
(3060, 706, 'MIDDLE JUBA'),
(3061, 706, 'LOWER JUBA'),
(3062, 706, 'MUDUG'),
(3063, 706, 'SANAAG'),
(3064, 706, 'MIDDLE SHABELE'),
(3065, 706, 'SHABEELLAHA HOOSE'),
(3066, 706, 'NUGAAL'),
(3067, 706, 'TOGDHEER'),
(3068, 706, 'WOQOOYI GALBEED'),
(3069, 706, 'AWDAL'),
(3070, 706, 'SOOL'),
(3071, 710, 'KWAZULU-NATAL'),
(3072, 710, 'FREE STATE'),
(3073, 710, 'EASTERN CAPE'),
(3074, 710, 'GAUTENG'),
(3075, 710, 'MPUMALANGA'),
(3076, 710, 'NORTHERN CAPE'),
(3077, 710, 'LIMPOPO'),
(3078, 710, 'NORTH-WEST'),
(3079, 710, 'WESTERN CAPE'),
(3080, 716, 'MANICALAND'),
(3081, 716, 'MIDLANDS'),
(3082, 716, 'MASHONALAND CENTRAL'),
(3083, 716, 'MASHONALAND EAST'),
(3084, 716, 'MASHONALAND WEST'),
(3085, 716, 'MATABELELAND NORTH'),
(3086, 716, 'MATABELELAND SOUTH'),
(3087, 716, 'MASVINGO'),
(3088, 716, 'BULAWAYO'),
(3089, 716, 'HARARE'),
(3090, 724, 'CEUTA'),
(3091, 724, 'BALEARIC ISLANDS'),
(3092, 724, 'LA RIOJA'),
(3093, 724, 'AUTONOMOUS REGION OF MADRID'),
(3094, 724, 'MURCIA'),
(3095, 724, 'NAVARRE'),
(3096, 724, 'ASTURIAS'),
(3097, 724, 'CANTABRIA'),
(3098, 724, 'ANDALUSIA'),
(3099, 724, 'ARAGON'),
(3100, 724, 'CANARY ISLANDS'),
(3101, 724, 'CASTILLE-LA MANCHA'),
(3102, 724, 'CASTILLE AND LEÓN'),
(3103, 724, 'CATALONIA'),
(3104, 724, 'EXTREMADURA'),
(3105, 724, 'GALICIA'),
(3106, 724, 'BASQUE COUNTRY'),
(3107, 724, 'VALENCIA'),
(3108, 732, 'WESTERN SAHARA'),
(3109, 736, 'AL WILĀYAH AL WUSŢÃ'),
(3110, 736, 'AL WILĀYAH AL ISTIWĀʼĪYAH'),
(3111, 736, 'KHARTOUM'),
(3112, 736, 'ASH SHAMALIYAH'),
(3113, 736, 'AL WILĀYAH ASH SHARQĪYAH'),
(3114, 736, 'BA?R AL GHAZAL WILAYAT'),
(3115, 736, 'DARFUR WILAYAT'),
(3116, 736, 'KURDUFAN WILAYAT'),
(3117, 736, 'UPPER NILE'),
(3118, 736, 'RED SEA'),
(3119, 736, 'LAKES'),
(3120, 736, 'AL JAZIRAH'),
(3121, 736, 'AL QADARIF'),
(3122, 736, 'UNITY'),
(3123, 736, 'WHITE NILE'),
(3124, 736, 'BLUE NILE'),
(3125, 736, 'NORTHERN'),
(3126, 736, 'CENTRAL EQUATORIA'),
(3127, 736, 'GHARB AL ISTIWĀʼĪYAH'),
(3128, 736, 'WESTERN BAHR AL GHAZAL'),
(3129, 736, 'GHARB DĀRFŪR'),
(3130, 736, 'GHARB KURDUFĀN'),
(3131, 736, 'JANŪB DĀRFŪR'),
(3132, 736, 'JANŪB KURDUFĀN'),
(3133, 736, 'JUNQALĪ'),
(3134, 736, 'KASSALĀ'),
(3135, 736, 'NAHR AN NĪL'),
(3136, 736, 'SHAMĀL BAḨR AL GHAZĀL'),
(3137, 736, 'SHAMĀL DĀRFŪR'),
(3138, 736, 'SHAMĀL KURDUFĀN'),
(3139, 736, 'EASTERN EQUATORIA'),
(3140, 736, 'SINNĀR'),
(3141, 736, 'WARAB'),
(3142, 740, 'BROKOPONDO'),
(3143, 740, 'COMMEWIJNE'),
(3144, 740, 'CORONIE'),
(3145, 740, 'MAROWIJNE'),
(3146, 740, 'NICKERIE'),
(3147, 740, 'PARA'),
(3148, 740, 'PARAMARIBO'),
(3149, 740, 'SARAMACCA'),
(3150, 740, 'SIPALIWINI'),
(3151, 740, 'WANICA'),
(3152, 748, 'HHOHHO'),
(3153, 748, 'LUBOMBO'),
(3154, 748, 'MANZINI'),
(3155, 748, 'SHISELWENI'),
(3156, 752, 'BLEKINGE'),
(3157, 752, 'GÄVLEBORG'),
(3158, 752, 'GOTLAND'),
(3159, 752, 'HALLAND'),
(3160, 752, 'JÄMTLAND'),
(3161, 752, 'JÖNKÖPING'),
(3162, 752, 'KALMAR'),
(3163, 752, 'DALARNA'),
(3164, 752, 'KRONOBERG'),
(3165, 752, 'NORRBOTTEN'),
(3166, 752, 'ÖREBRO'),
(3167, 752, 'ÖSTERGÖTLAND'),
(3168, 752, 'SÖDERMANLAND'),
(3169, 752, 'UPPSALA'),
(3170, 752, 'VÄRMLAND'),
(3171, 752, 'VÄSTERBOTTEN'),
(3172, 752, 'VÄSTERNORRLAND'),
(3173, 752, 'VÄSTMANLAND'),
(3174, 752, 'STOCKHOLM'),
(3175, 752, 'SKÅNE'),
(3176, 752, 'VÄSTRA GÖTALAND'),
(3177, 756, 'AARGAU'),
(3178, 756, 'APPENZELL INNERRHODEN'),
(3179, 756, 'APPENZELL AUSSERRHODEN'),
(3180, 756, 'BERN'),
(3181, 756, 'BASEL-LANDSCHAFT'),
(3182, 756, 'KANTON BASEL-STADT'),
(3183, 756, 'FRIBOURG'),
(3184, 756, 'GENÈVE'),
(3185, 756, 'GLARUS'),
(3186, 756, 'GRAUBÜNDEN'),
(3187, 756, 'JURA'),
(3188, 756, 'LUZERN'),
(3189, 756, 'NEUCHÂTEL'),
(3190, 756, 'NIDWALDEN'),
(3191, 756, 'OBWALDEN'),
(3192, 756, 'KANTON ST. GALLEN'),
(3193, 756, 'SCHAFFHAUSEN'),
(3194, 756, 'SOLOTHURN'),
(3195, 756, 'SCHWYZ'),
(3196, 756, 'THURGAU'),
(3197, 756, 'TICINO'),
(3198, 756, 'URI'),
(3199, 756, 'VAUD'),
(3200, 756, 'VALAIS'),
(3201, 756, 'ZUG'),
(3202, 756, 'ZÜRICH'),
(3203, 760, 'AL-HASAKAH'),
(3204, 760, 'LATAKIA'),
(3205, 760, 'QUNEITRA'),
(3206, 760, 'AR-RAQQAH'),
(3207, 760, 'AS-SUWAYDA'),
(3208, 760, 'DARAA'),
(3209, 760, 'DEIR EZ-ZOR'),
(3210, 760, 'RIF-DIMASHQ'),
(3211, 760, 'ALEPPO'),
(3212, 760, 'HAMA GOVERNORATE'),
(3213, 760, 'HOMS'),
(3214, 760, 'IDLIB'),
(3215, 760, 'DAMASCUS CITY'),
(3216, 760, 'TARTUS'),
(3217, 762, 'GORNO-BADAKHSHAN'),
(3218, 762, 'KHATLON'),
(3219, 762, 'SUGHD'),
(3220, 762, 'DUSHANBE'),
(3221, 762, 'REGION OF REPUBLICAN SUBORDINATION'),
(3222, 764, 'MAE HONG SON'),
(3223, 764, 'CHIANG MAI'),
(3224, 764, 'CHIANG RAI'),
(3225, 764, 'NAN'),
(3226, 764, 'LAMPHUN'),
(3227, 764, 'LAMPANG'),
(3228, 764, 'PHRAE'),
(3229, 764, 'TAK'),
(3230, 764, 'SUKHOTHAI'),
(3231, 764, 'UTTARADIT'),
(3232, 764, 'KAMPHAENG PHET'),
(3233, 764, 'PHITSANULOK'),
(3234, 764, 'PHICHIT'),
(3235, 764, 'PHETCHABUN'),
(3236, 764, 'UTHAI THANI'),
(3237, 764, 'NAKHON SAWAN'),
(3238, 764, 'NONG KHAI'),
(3239, 764, 'LOEI'),
(3240, 764, 'SAKON NAKHON'),
(3241, 764, 'NAKHON PHANOM'),
(3242, 764, 'KHON KAEN'),
(3243, 764, 'KALASIN'),
(3244, 764, 'MAHA SARAKHAM'),
(3245, 764, 'ROI ET'),
(3246, 764, 'CHAIYAPHUM'),
(3247, 764, 'NAKHON RATCHASIMA'),
(3248, 764, 'BURIRAM'),
(3249, 764, 'SURIN'),
(3250, 764, 'SISAKET'),
(3251, 764, 'NARATHIWAT'),
(3252, 764, 'CHAI NAT'),
(3253, 764, 'SING BURI'),
(3254, 764, 'LOP BURI'),
(3255, 764, 'ANG THONG'),
(3256, 764, 'PHRA NAKHON SI AYUTTHAYA'),
(3257, 764, 'SARA BURI'),
(3258, 764, 'NONTHABURI'),
(3259, 764, 'PATHUM THANI'),
(3260, 764, 'BANGKOK'),
(3261, 764, 'PHAYAO'),
(3262, 764, 'SAMUT PRAKAN'),
(3263, 764, 'NAKHON NAYOK'),
(3264, 764, 'CHACHOENGSAO'),
(3265, 764, 'CHON BURI'),
(3266, 764, 'RAYONG'),
(3267, 764, 'CHANTHABURI'),
(3268, 764, 'TRAT'),
(3269, 764, 'KANCHANABURI'),
(3270, 764, 'SUPHAN BURI'),
(3271, 764, 'RATCHABURI'),
(3272, 764, 'NAKHON PATHOM'),
(3273, 764, 'SAMUT SONGKHRAM'),
(3274, 764, 'SAMUT SAKHON'),
(3275, 764, 'PHETCHABURI'),
(3276, 764, 'PRACHUAP KHIRI KHAN'),
(3277, 764, 'CHUMPHON'),
(3278, 764, 'RANONG'),
(3279, 764, 'SURAT THANI'),
(3280, 764, 'PHANGNGA'),
(3281, 764, 'PHUKET'),
(3282, 764, 'KRABI'),
(3283, 764, 'NAKHON SI THAMMARAT'),
(3284, 764, 'TRANG'),
(3285, 764, 'PHATTHALUNG'),
(3286, 764, 'SATUN'),
(3287, 764, 'SONGKHLA'),
(3288, 764, 'PATTANI'),
(3289, 764, 'YALA'),
(3290, 764, 'YASOTHON'),
(3291, 764, 'NAKHON PHANOM'),
(3292, 764, 'PRACHIN BURI'),
(3293, 764, 'UBON RATCHATHANI'),
(3294, 764, 'UDON THANI'),
(3295, 764, 'AMNAT CHAROEN'),
(3296, 764, 'MUKDAHAN'),
(3297, 764, 'NONG BUA LAMPHU'),
(3298, 764, 'SA KAEO'),
(3299, 768, 'AMLAME'),
(3300, 768, 'ANEHO'),
(3301, 768, 'ATAKPAME'),
(3302, 768, 'BAFILO'),
(3303, 768, 'BASSAR'),
(3304, 768, 'DAPAONG'),
(3305, 768, 'KANTE'),
(3306, 768, 'KLOUTO'),
(3307, 768, 'LAMA-KARA'),
(3308, 768, 'LOME'),
(3309, 768, 'MANGO'),
(3310, 768, 'NIAMTOUGOU'),
(3311, 768, 'NOTSE'),
(3312, 768, 'KPAGOUDA'),
(3313, 768, 'BADOU'),
(3314, 768, 'SOTOUBOUA'),
(3315, 768, 'TABLIGBO'),
(3316, 768, 'TSEVIE'),
(3317, 768, 'TCHAMBA'),
(3318, 768, 'TCHAOUDJO'),
(3319, 768, 'VOGAN'),
(3320, 768, 'CENTRALE'),
(3321, 768, 'KARA'),
(3322, 768, 'MARITIME'),
(3323, 768, 'PLATEAUX'),
(3324, 768, 'SAVANES'),
(3325, 772, 'TOKELAU'),
(3326, 776, 'HA‘APAI'),
(3327, 776, 'TONGATAPU'),
(3328, 776, 'VAVA‘U'),
(3329, 780, 'PORT OF SPAIN'),
(3330, 780, 'SAN FERNANDO'),
(3331, 780, 'CHAGUANAS'),
(3332, 780, 'ARIMA'),
(3333, 780, 'POINT FORTIN BOROUGH'),
(3334, 780, 'COUVA-TABAQUITE-TALPARO'),
(3335, 780, 'DIEGO MARTIN'),
(3336, 780, 'PENAL-DEBE'),
(3337, 780, 'PRINCES TOWN'),
(3338, 780, 'RIO CLARO-MAYARO'),
(3339, 780, 'SAN JUAN-LAVENTILLE'),
(3340, 780, 'SANGRE GRANDE'),
(3341, 780, 'SIPARIA'),
(3342, 780, 'TUNAPUNA-PIARCO'),
(3343, 784, 'ABŪ Z̧ABY'),
(3344, 784, 'AJMAN'),
(3345, 784, 'DUBAYY'),
(3346, 784, 'AL FUJAYRAH'),
(3347, 784, 'RAʼS AL KHAYMAH'),
(3348, 784, 'ASH SHĀRIQAH'),
(3349, 784, 'UMM AL QAYWAYN'),
(3350, 788, 'TUNIS AL JANUBIYAH WILAYAT'),
(3351, 788, 'AL QAŞRAYN'),
(3352, 788, 'AL QAYRAWĀN'),
(3353, 788, 'JUNDŪBAH'),
(3354, 788, 'KEF'),
(3355, 788, 'AL MAHDĪYAH'),
(3356, 788, 'AL MUNASTĪR'),
(3357, 788, 'BĀJAH'),
(3358, 788, 'BANZART'),
(3359, 788, 'NĀBUL'),
(3360, 788, 'SILYĀNAH'),
(3361, 788, 'SŪSAH'),
(3362, 788, 'BIN ‘ARŪS'),
(3363, 788, 'MADANĪN'),
(3364, 788, 'QĀBIS'),
(3365, 788, 'QAFŞAH'),
(3366, 788, 'QIBILĪ'),
(3367, 788, 'ŞAFĀQIS'),
(3368, 788, 'SĪDĪ BŪ ZAYD'),
(3369, 788, 'TAŢĀWĪN'),
(3370, 788, 'TAWZAR'),
(3371, 788, 'TŪNIS'),
(3372, 788, 'ZAGHWĀN'),
(3373, 788, 'ARIANA'),
(3374, 788, 'MANOUBA'),
(3375, 792, 'ADIYAMAN'),
(3376, 792, 'AFYONKARAHISAR'),
(3377, 792, 'AĞRI PROVINCE'),
(3378, 792, 'AMASYA PROVINCE'),
(3379, 792, 'ANTALYA PROVINCE'),
(3380, 792, 'ARTVIN PROVINCE'),
(3381, 792, 'AYDIN PROVINCE'),
(3382, 792, 'BALIKESIR PROVINCE'),
(3383, 792, 'BILECIK PROVINCE'),
(3384, 792, 'BINGÖL PROVINCE'),
(3385, 792, 'BITLIS PROVINCE'),
(3386, 792, 'BOLU PROVINCE'),
(3387, 792, 'BURDUR PROVINCE'),
(3388, 792, 'BURSA'),
(3389, 792, 'ÇANAKKALE PROVINCE'),
(3390, 792, 'ÇORUM PROVINCE'),
(3391, 792, 'DENIZLI PROVINCE'),
(3392, 792, 'DIYARBAKIR'),
(3393, 792, 'EDIRNE PROVINCE'),
(3394, 792, 'ELAZIĞ'),
(3395, 792, 'ERZINCAN PROVINCE'),
(3396, 792, 'ERZURUM PROVINCE'),
(3397, 792, 'ESKIŞEHIR PROVINCE'),
(3398, 792, 'GIRESUN PROVINCE'),
(3399, 792, 'HATAY PROVINCE'),
(3400, 792, 'MERSIN PROVINCE'),
(3401, 792, 'ISPARTA PROVINCE'),
(3402, 792, 'ISTANBUL'),
(3403, 792, 'İZMIR'),
(3404, 792, 'KASTAMONU PROVINCE'),
(3405, 792, 'KAYSERI PROVINCE'),
(3406, 792, 'KIRKLARELI PROVINCE'),
(3407, 792, 'KIRŞEHIR PROVINCE'),
(3408, 792, 'KOCAELI PROVINCE'),
(3409, 792, 'KÜTAHYA PROVINCE'),
(3410, 792, 'MALATYA PROVINCE'),
(3411, 792, 'MANISA PROVINCE'),
(3412, 792, 'KAHRAMANMARAŞ PROVINCE'),
(3413, 792, 'MUĞLA PROVINCE'),
(3414, 792, 'MUŞ PROVINCE'),
(3415, 792, 'NEVŞEHIR'),
(3416, 792, 'ORDU'),
(3417, 792, 'RIZE'),
(3418, 792, 'SAKARYA PROVINCE'),
(3419, 792, 'SAMSUN PROVINCE'),
(3420, 792, 'SINOP PROVINCE'),
(3421, 792, 'SIVAS PROVINCE'),
(3422, 792, 'TEKIRDAĞ PROVINCE'),
(3423, 792, 'TOKAT'),
(3424, 792, 'TRABZON PROVINCE'),
(3425, 792, 'TUNCELI PROVINCE'),
(3426, 792, 'ŞANLIURFA PROVINCE'),
(3427, 792, 'UŞAK PROVINCE'),
(3428, 792, 'VAN PROVINCE'),
(3429, 792, 'YOZGAT PROVINCE'),
(3430, 792, 'ANKARA PROVINCE'),
(3431, 792, 'GÜMÜŞHANE'),
(3432, 792, 'HAKKÂRI PROVINCE'),
(3433, 792, 'KONYA PROVINCE'),
(3434, 792, 'MARDIN PROVINCE'),
(3435, 792, 'NIĞDE'),
(3436, 792, 'SIIRT PROVINCE'),
(3437, 792, 'AKSARAY PROVINCE'),
(3438, 792, 'BATMAN PROVINCE'),
(3439, 792, 'BAYBURT'),
(3440, 792, 'KARAMAN PROVINCE'),
(3441, 792, 'KIRIKKALE PROVINCE'),
(3442, 792, 'ŞIRNAK PROVINCE'),
(3443, 792, 'ADANA PROVINCE'),
(3444, 792, 'ÇANKIRI PROVINCE'),
(3445, 792, 'GAZIANTEP PROVINCE'),
(3446, 792, 'KARS'),
(3447, 792, 'ZONGULDAK'),
(3448, 792, 'ARDAHAN PROVINCE'),
(3449, 792, 'BARTIN PROVINCE'),
(3450, 792, 'IĞDIR PROVINCE'),
(3451, 792, 'KARABÜK'),
(3452, 792, 'KILIS PROVINCE'),
(3453, 792, 'OSMANIYE PROVINCE'),
(3454, 792, 'YALOVA PROVINCE'),
(3455, 792, 'DÜZCE'),
(3456, 795, 'AHAL'),
(3457, 795, 'BALKAN'),
(3458, 795, 'DAŞOGUZ'),
(3459, 795, 'LEBAP'),
(3460, 795, 'MARY'),
(3461, 796, 'TURKS AND CAICOS ISLANDS'),
(3462, 798, 'TUVALU'),
(3463, 800, 'EASTERN REGION'),
(3464, 800, 'NORTHERN REGION'),
(3465, 800, 'CENTRAL REGION'),
(3466, 800, 'WESTERN REGION'),
(3467, 804, 'CHERKASʼKA OBLASTʼ'),
(3468, 804, 'CHERNIHIVSʼKA OBLASTʼ'),
(3469, 804, 'CHERNIVETSʼKA OBLASTʼ'),
(3470, 804, 'DNIPROPETROVSʼKA OBLASTʼ'),
(3471, 804, 'DONETSʼKA OBLASTʼ'),
(3472, 804, 'IVANO-FRANKIVSʼKA OBLASTʼ'),
(3473, 804, 'KHARKIVSʼKA OBLASTʼ'),
(3474, 804, 'KHERSON OBLAST'),
(3475, 804, 'KHMELʼNYTSʼKA OBLASTʼ'),
(3476, 804, 'KIROVOHRADSʼKA OBLASTʼ'),
(3477, 804, 'AVTONOMNA RESPUBLIKA KRYM'),
(3478, 804, 'MISTO KYYIV'),
(3479, 804, 'KIEV OBLAST'),
(3480, 804, 'LUHANSʼKA OBLASTʼ'),
(3481, 804, 'LʼVIVSʼKA OBLASTʼ'),
(3482, 804, 'MYKOLAYIVSʼKA OBLASTʼ'),
(3483, 804, 'ODESSA OBLAST'),
(3484, 804, 'POLTAVA OBLAST'),
(3485, 804, 'RIVNENSʼKA OBLASTʼ'),
(3486, 804, 'MISTO SEVASTOPOL'),
(3487, 804, 'SUMY OBLAST'),
(3488, 804, 'TERNOPILʼSʼKA OBLASTʼ'),
(3489, 804, 'VINNYTSʼKA OBLASTʼ'),
(3490, 804, 'VOLYNSʼKA OBLASTʼ'),
(3491, 804, 'ZAKARPATSʼKA OBLASTʼ'),
(3492, 804, 'ZAPORIZʼKA OBLASTʼ'),
(3493, 804, 'ZHYTOMYRSʼKA OBLASTʼ'),
(3494, 807, 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF'),
(3495, 807, 'ARAČINOVO'),
(3496, 807, 'BAČ'),
(3497, 807, 'BELČIŠTA'),
(3498, 807, 'BEROVO'),
(3499, 807, 'BISTRICA'),
(3500, 807, 'BITOLA'),
(3501, 807, 'BLATEC'),
(3502, 807, 'BOGDANCI'),
(3503, 807, 'OPSTINA BOGOMILA'),
(3504, 807, 'BOGOVINJE'),
(3505, 807, 'BOSILOVO'),
(3506, 807, 'BRVENICA'),
(3507, 807, 'ČAIR'),
(3508, 807, 'CAPARI'),
(3509, 807, 'ČAŠKA'),
(3510, 807, 'ČEGRANA'),
(3511, 807, 'CENTAR'),
(3512, 807, 'CENTAR ŽUPA'),
(3513, 807, 'ČEŠINOVO'),
(3514, 807, 'ČUČER-SANDEVO'),
(3515, 807, 'DEBAR'),
(3516, 807, 'DELČEVO'),
(3517, 807, 'DELOGOŽDI'),
(3518, 807, 'DEMIR HISAR'),
(3519, 807, 'DEMIR KAPIJA'),
(3520, 807, 'DOBRUŠEVO'),
(3521, 807, 'DOLNA BANJICA'),
(3522, 807, 'DOLNENI'),
(3523, 807, 'OPSTINA GJORCE PETROV'),
(3524, 807, 'DRUGOVO'),
(3525, 807, 'DŽEPČIŠTE'),
(3526, 807, 'GAZI BABA'),
(3527, 807, 'GEVGELIJA'),
(3528, 807, 'GOSTIVAR'),
(3529, 807, 'GRADSKO'),
(3530, 807, 'ILINDEN'),
(3531, 807, 'IZVOR'),
(3532, 807, 'JEGUNOVCE'),
(3533, 807, 'KAMENJANE'),
(3534, 807, 'KARBINCI'),
(3535, 807, 'KARPOŠ'),
(3536, 807, 'KAVADARCI'),
(3537, 807, 'KIČEVO'),
(3538, 807, 'KISELA VODA'),
(3539, 807, 'KLEČEVCE'),
(3540, 807, 'KOČANI'),
(3541, 807, 'KONČE'),
(3542, 807, 'KONDOVO'),
(3543, 807, 'KONOPIŠTE'),
(3544, 807, 'KOSEL'),
(3545, 807, 'KRATOVO'),
(3546, 807, 'KRIVA PALANKA'),
(3547, 807, 'KRIVOGAŠTANI'),
(3548, 807, 'KRUŠEVO'),
(3549, 807, 'KUKLIŠ'),
(3550, 807, 'KUKUREČANI'),
(3551, 807, 'KUMANOVO'),
(3552, 807, 'LABUNIŠTA'),
(3553, 807, 'OPSTINA LIPKOVO'),
(3554, 807, 'LOZOVO'),
(3555, 807, 'LUKOVO'),
(3556, 807, 'MAKEDONSKA KAMENICA'),
(3557, 807, 'MAKEDONSKI BROD'),
(3558, 807, 'MAVROVI ANOVI'),
(3559, 807, 'MEŠEIŠTA'),
(3560, 807, 'MIRAVCI'),
(3561, 807, 'MOGILA'),
(3562, 807, 'MURTINO'),
(3563, 807, 'NEGOTINO'),
(3564, 807, 'NEGOTINO-POLOŠKO'),
(3565, 807, 'NOVACI'),
(3566, 807, 'NOVO SELO'),
(3567, 807, 'OBLEŠEVO'),
(3568, 807, 'OHRID'),
(3569, 807, 'ORAŠAC'),
(3570, 807, 'ORIZARI'),
(3571, 807, 'OSLOMEJ'),
(3572, 807, 'PEHČEVO'),
(3573, 807, 'PETROVEC'),
(3574, 807, 'PLASNICA'),
(3575, 807, 'PODAREŠ'),
(3576, 807, 'PRILEP'),
(3577, 807, 'PROBIŠTIP'),
(3578, 807, 'RADOVIŠ'),
(3579, 807, 'OPSTINA RANKOVCE'),
(3580, 807, 'RESEN'),
(3581, 807, 'ROSOMAN'),
(3582, 807, 'OPŠTINA ROSTUŠA'),
(3583, 807, 'SAMOKOV'),
(3584, 807, 'SARAJ'),
(3585, 807, 'ŠIPKOVICA'),
(3586, 807, 'SOPIŠTE'),
(3587, 807, 'SOPOTNICA'),
(3588, 807, 'SRBINOVO'),
(3589, 807, 'STARAVINA'),
(3590, 807, 'STAR DOJRAN'),
(3591, 807, 'STARO NAGORIČANE'),
(3592, 807, 'ŠTIP'),
(3593, 807, 'STRUGA'),
(3594, 807, 'STRUMICA'),
(3595, 807, 'STUDENIČANI'),
(3596, 807, 'ŠUTO ORIZARI'),
(3597, 807, 'SVETI NIKOLE'),
(3598, 807, 'TEARCE'),
(3599, 807, 'TETOVO'),
(3600, 807, 'TOPOLČANI'),
(3601, 807, 'VALANDOVO'),
(3602, 807, 'VASILEVO'),
(3603, 807, 'VELES'),
(3604, 807, 'VELEŠTA'),
(3605, 807, 'VEVČANI'),
(3606, 807, 'VINICA'),
(3607, 807, 'VITOLIŠTE'),
(3608, 807, 'VRANEŠTICA'),
(3609, 807, 'VRAPČIŠTE'),
(3610, 807, 'VRATNICA'),
(3611, 807, 'VRUTOK'),
(3612, 807, 'ZAJAS'),
(3613, 807, 'ZELENIKOVO'),
(3614, 807, 'ŽELINO'),
(3615, 807, 'ŽITOŠE'),
(3616, 807, 'ZLETOVO'),
(3617, 807, 'ZRNOVCI'),
(3618, 818, 'AD DAQAHLĪYAH'),
(3619, 818, 'AL BAḨR AL AḨMAR'),
(3620, 818, 'AL BUḨAYRAH'),
(3621, 818, 'AL FAYYŪM'),
(3622, 818, 'AL GHARBĪYAH'),
(3623, 818, 'ALEXANDRIA'),
(3624, 818, 'AL ISMĀ‘ĪLĪYAH'),
(3625, 818, 'AL JĪZAH'),
(3626, 818, 'AL MINŪFĪYAH'),
(3627, 818, 'AL MINYĀ'),
(3628, 818, 'AL QĀHIRAH'),
(3629, 818, 'AL QALYŪBĪYAH'),
(3630, 818, 'AL WĀDĪ AL JADĪD'),
(3631, 818, 'EASTERN PROVINCE'),
(3632, 818, 'AS SUWAYS'),
(3633, 818, 'ASWĀN'),
(3634, 818, 'ASYŪŢ'),
(3635, 818, 'BANĪ SUWAYF'),
(3636, 818, 'BŪR SA‘ĪD'),
(3637, 818, 'DUMYĀŢ'),
(3638, 818, 'KAFR ASH SHAYKH'),
(3639, 818, 'MAŢRŪḨ'),
(3640, 818, 'QINĀ'),
(3641, 818, 'SŪHĀJ'),
(3642, 818, 'JANŪB SĪNĀʼ'),
(3643, 818, 'SHAMĀL SĪNĀʼ'),
(3644, 818, 'LUXOR'),
(3645, 818, 'HELWAN'),
(3646, 818, '6TH OF OCTOBER'),
(3647, 826, 'ENGLAND'),
(3648, 826, 'NORTHERN IRELAND'),
(3649, 826, 'SCOTLAND'),
(3650, 826, 'WALES'),
(3651, 831, 'GUERNSEY'),
(3652, 833, 'ISLE OF MAN'),
(3653, 834, 'ARUSHA'),
(3654, 834, 'PWANI'),
(3655, 834, 'DODOMA'),
(3656, 834, 'IRINGA'),
(3657, 834, 'KIGOMA'),
(3658, 834, 'KILIMANJARO'),
(3659, 834, 'LINDI'),
(3660, 834, 'MARA'),
(3661, 834, 'MBEYA'),
(3662, 834, 'MOROGORO'),
(3663, 834, 'MTWARA'),
(3664, 834, 'MWANZA'),
(3665, 834, 'PEMBA NORTH'),
(3666, 834, 'RUVUMA'),
(3667, 834, 'SHINYANGA'),
(3668, 834, 'SINGIDA'),
(3669, 834, 'TABORA'),
(3670, 834, 'TANGA'),
(3671, 834, 'KAGERA'),
(3672, 834, 'PEMBA SOUTH'),
(3673, 834, 'ZANZIBAR CENTRAL/SOUTH'),
(3674, 834, 'ZANZIBAR NORTH'),
(3675, 834, 'DAR ES SALAAM'),
(3676, 834, 'RUKWA'),
(3677, 834, 'ZANZIBAR URBAN/WEST'),
(3678, 834, 'ARUSHA'),
(3679, 834, 'MANYARA'),
(3680, 840, 'ALASKA'),
(3681, 840, 'ALABAMA'),
(3682, 840, 'ARKANSAS'),
(3683, 840, 'ARIZONA'),
(3684, 840, 'CALIFORNIA'),
(3685, 840, 'COLORADO'),
(3686, 840, 'CONNECTICUT'),
(3687, 840, 'DISTRICT OF COLUMBIA'),
(3688, 840, 'DELAWARE'),
(3689, 840, 'FLORIDA'),
(3690, 840, 'GEORGIA'),
(3691, 840, 'HAWAII'),
(3692, 840, 'IOWA'),
(3693, 840, 'IDAHO'),
(3694, 840, 'ILLINOIS'),
(3695, 840, 'INDIANA'),
(3696, 840, 'KANSAS'),
(3697, 840, 'KENTUCKY'),
(3698, 840, 'LOUISIANA'),
(3699, 840, 'MASSACHUSETTS'),
(3700, 840, 'MARYLAND'),
(3701, 840, 'MAINE'),
(3702, 840, 'MICHIGAN'),
(3703, 840, 'MINNESOTA'),
(3704, 840, 'MISSOURI'),
(3705, 840, 'MISSISSIPPI'),
(3706, 840, 'MONTANA'),
(3707, 840, 'NORTH CAROLINA'),
(3708, 840, 'NORTH DAKOTA'),
(3709, 840, 'NEBRASKA'),
(3710, 840, 'NEW HAMPSHIRE'),
(3711, 840, 'NEW JERSEY'),
(3712, 840, 'NEW MEXICO'),
(3713, 840, 'NEVADA'),
(3714, 840, 'NEW YORK'),
(3715, 840, 'OHIO'),
(3716, 840, 'OKLAHOMA'),
(3717, 840, 'OREGON'),
(3718, 840, 'PENNSYLVANIA'),
(3719, 840, 'RHODE ISLAND'),
(3720, 840, 'SOUTH CAROLINA'),
(3721, 840, 'SOUTH DAKOTA'),
(3722, 840, 'TENNESSEE'),
(3723, 840, 'TEXAS'),
(3724, 840, 'UTAH'),
(3725, 840, 'VIRGINIA'),
(3726, 840, 'VERMONT'),
(3727, 840, 'WASHINGTON'),
(3728, 840, 'WISCONSIN'),
(3729, 840, 'WEST VIRGINIA'),
(3730, 840, 'WYOMING'),
(3731, 850, 'VIRGIN ISLANDS'),
(3732, 854, 'BOUCLE DU MOUHOUN'),
(3733, 854, 'CASCADES'),
(3734, 854, 'CENTRE'),
(3735, 854, 'CENTRE-EST'),
(3736, 854, 'CENTRE-NORD'),
(3737, 854, 'CENTRE-OUEST'),
(3738, 854, 'CENTRE-SUD'),
(3739, 854, 'EST'),
(3740, 854, 'HAUTS-BASSINS'),
(3741, 854, 'NORD'),
(3742, 854, 'PLATEAU-CENTRAL'),
(3743, 854, 'SAHEL'),
(3744, 854, 'SUD-OUEST'),
(3745, 855, 'KOMUNA E DEÇANIT'),
(3746, 855, 'KOMUNA E DRAGASHIT'),
(3747, 855, 'KOMUNA E FERIZAJT'),
(3748, 855, 'KOMUNA E FUSHË KOSOVËS'),
(3749, 855, 'KOMUNA E GJAKOVËS'),
(3750, 855, 'KOMUNA E GJILANIT'),
(3751, 855, 'KOMUNA E DRENASIT'),
(3752, 855, 'KOMUNA E ISTOGUT'),
(3753, 855, 'KOMUNA E KAÇANIKUT'),
(3754, 855, 'KOMUNA E KAMENICËS'),
(3755, 855, 'KOMUNA E KLINËS'),
(3756, 855, 'KOMUNA E LEPOSAVIQIT'),
(3757, 855, 'KOMUNA E LIPJANIT'),
(3758, 855, 'KOMUNA E MALISHEVES'),
(3759, 855, 'KOMUNA E MITROVICËS'),
(3760, 855, 'KOMUNA E NOVOBËRDËS'),
(3761, 855, 'KOMUNA E OBILIQIT'),
(3762, 855, 'KOMUNA E PEJËS'),
(3763, 855, 'KOMUNA E PODUJEVËS'),
(3764, 855, 'KOMUNA E PRISHTINËS'),
(3765, 855, 'KOMUNA E PRIZRENIT'),
(3766, 855, 'KOMUNA E RAHOVECIT'),
(3767, 855, 'KOMUNA E SHTËRPCËS'),
(3768, 855, 'KOMUNA E SHTIMES'),
(3769, 855, 'KOMUNA E SKENDERAJT'),
(3770, 855, 'KOMUNA E THËRANDËS'),
(3771, 855, 'KOMUNA E VITISË'),
(3772, 855, 'KOMUNA E VUSHTRRISË'),
(3773, 855, 'KOMUNA E ZUBIN POTOKUT'),
(3774, 855, 'KOMUNA E ZVEÇANIT'),
(3775, 858, 'ARTIGAS DEPARTMENT'),
(3776, 858, 'CANELONES DEPARTMENT'),
(3777, 858, 'CERRO LARGO DEPARTMENT'),
(3778, 858, 'COLONIA DEPARTMENT'),
(3779, 858, 'DURAZNO'),
(3780, 858, 'FLORES'),
(3781, 858, 'FLORIDA DEPARTMENT'),
(3782, 858, 'LAVALLEJA DEPARTMENT'),
(3783, 858, 'MALDONADO DEPARTMENT'),
(3784, 858, 'MONTEVIDEO'),
(3785, 858, 'PAYSANDÚ'),
(3786, 858, 'RÃO NEGRO'),
(3787, 858, 'RIVERA'),
(3788, 858, 'ROCHA'),
(3789, 858, 'SALTO'),
(3790, 858, 'SAN JOSÉ'),
(3791, 858, 'SORIANO DEPARTMENT'),
(3792, 858, 'TACUAREMBÓ'),
(3793, 858, 'TREINTA Y TRES'),
(3794, 860, 'ANDIJON'),
(3795, 860, 'BUXORO'),
(3796, 860, 'FARG ONA'),
(3797, 860, 'XORAZM'),
(3798, 860, 'NAMANGAN'),
(3799, 860, 'NAVOIY'),
(3800, 860, 'QASHQADARYO'),
(3801, 860, 'KARAKALPAKSTAN'),
(3802, 860, 'SAMARQAND'),
(3803, 860, 'SURXONDARYO'),
(3804, 860, 'TOSHKENT SHAHRI'),
(3805, 860, 'TOSHKENT'),
(3806, 860, 'JIZZAX'),
(3807, 860, 'SIRDARYO'),
(3808, 862, 'AMAZONAS'),
(3809, 862, 'ANZOÃTEGUI'),
(3810, 862, 'APURE'),
(3811, 862, 'ARAGUA'),
(3812, 862, 'BARINAS'),
(3813, 862, 'BOLÃVAR'),
(3814, 862, 'CARABOBO'),
(3815, 862, 'COJEDES'),
(3816, 862, 'DELTA AMACURO'),
(3817, 862, 'DISTRITO FEDERAL'),
(3818, 862, 'FALCÓN'),
(3819, 862, 'GUÃRICO'),
(3820, 862, 'LARA'),
(3821, 862, 'MÉRIDA'),
(3822, 862, 'MIRANDA'),
(3823, 862, 'MONAGAS'),
(3824, 862, 'ISLA MARGARITA'),
(3825, 862, 'PORTUGUESA'),
(3826, 862, 'SUCRE'),
(3827, 862, 'TÃCHIRA'),
(3828, 862, 'TRUJILLO'),
(3829, 862, 'YARACUY'),
(3830, 862, 'ZULIA'),
(3831, 862, 'DEPENDENCIAS FEDERALES'),
(3832, 862, 'DISTRITO CAPITAL'),
(3833, 862, 'VARGAS'),
(3834, 882, 'A‘ANA'),
(3835, 882, 'AIGA-I-LE-TAI'),
(3836, 882, 'ATUA'),
(3837, 882, 'FA‘ASALELEAGA'),
(3838, 882, 'GAGA‘EMAUGA'),
(3839, 882, 'VA‘A-O-FONOTI'),
(3840, 882, 'GAGAIFOMAUGA'),
(3841, 882, 'PALAULI'),
(3842, 882, 'SATUPA‘ITEA'),
(3843, 882, 'TUAMASAGA'),
(3844, 882, 'VAISIGANO'),
(3845, 887, 'ABYAN'),
(3846, 887, '‘ADAN'),
(3847, 887, 'AL MAHRAH'),
(3848, 887, 'ḨAá¸RAMAWT'),
(3849, 887, 'SHABWAH'),
(3850, 887, 'SAN’A’'),
(3851, 887, 'TA’IZZ'),
(3852, 887, 'AL ḨUDAYDAH'),
(3853, 887, 'DHAMAR'),
(3854, 887, 'AL MAḨWĪT'),
(3855, 887, 'DHAMĀR'),
(3856, 887, 'MAʼRIB'),
(3857, 887, 'ŞA‘DAH'),
(3858, 887, 'ŞAN‘Āʼ'),
(3859, 887, 'Aá¸ á¸ĀLI‘'),
(3860, 887, 'OMRAN');
INSERT INTO `_ref_state` (`fldid`, `fldregion_id`, `fldname`) VALUES
(3861, 887, 'AL BAYá¸Āʼ'),
(3862, 887, 'AL JAWF'),
(3863, 887, 'ḨAJJAH'),
(3864, 887, 'IBB'),
(3865, 887, 'LAḨIJ'),
(3866, 887, 'TA‘IZZ'),
(3867, 887, 'AMANAT AL ASIMAH'),
(3868, 887, 'MUḨĀFAZ̧AT RAYMAH'),
(3869, 891, 'CRNA GORA (MONTENEGRO)'),
(3870, 891, 'SRBIJA (SERBIA)'),
(3871, 894, 'NORTH-WESTERN'),
(3872, 894, 'COPPERBELT'),
(3873, 894, 'WESTERN'),
(3874, 894, 'SOUTHERN'),
(3875, 894, 'CENTRAL'),
(3876, 894, 'EASTERN'),
(3877, 894, 'NORTHERN'),
(3878, 894, 'LUAPULA'),
(3879, 894, 'LUSAKA');

-- --------------------------------------------------------

--
-- Table structure for table `_sys_menu`
--

CREATE TABLE IF NOT EXISTS `_sys_menu` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(8) DEFAULT NULL,
  `name` varchar(30) DEFAULT NULL,
  `parents` varchar(8) DEFAULT '0',
  `module` varchar(8) DEFAULT '0',
  `submenu` smallint(1) DEFAULT '0',
  `urls` varchar(100) DEFAULT '0',
  `urls2` varchar(100) DEFAULT '0',
  `access` varchar(100) DEFAULT NULL,
  `seq` int(11) NOT NULL,
  `display` smallint(1) DEFAULT '1',
  `icons` varchar(32) DEFAULT 'i-film',
  `language` varchar(3) DEFAULT 'EN',
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT AUTO_INCREMENT=306 ;

--
-- Dumping data for table `_sys_menu`
--

INSERT INTO `_sys_menu` (`fldid`, `code`, `name`, `parents`, `module`, `submenu`, `urls`, `urls2`, `access`, `seq`, `display`, `icons`, `language`) VALUES
(1, 'DB', 'Dashboard', '0', '0', 0, 'home', 'home', 'ALL', 1, 1, 'icondashboard.png', 'EN'),
(5, 'STP', 'Setup', '0', '10', 1, '#', '0', 'ALL', 90, 1, 'iconsetup.png', 'EN'),
(6, 'UM', 'UserMaster', '12', '9', 0, 'admin/usermaster', '0', 'ALL', 1, 1, 'iconuser.png', 'EN'),
(7, 'UML', 'UserMasterList', '12', '9', 0, 'admin/usermasterlist', '0', 'ALL', 2, 1, 'iconuser.png', 'EN'),
(12, 'ADM', 'Admin', '0', '9', 1, '#', '0', 'ADMIN', 99, 1, 'iconadmin.png', 'EN'),
(14, 'MUL', 'MenuList', '12', '9', 0, 'admin/menumasterlist', '0', 'ALL', 4, 1, 'iconuser.png', 'EN'),
(39, 'MSCL', 'CountryMasterList', '5', '10', 0, 'setting/countrylist', '0', 'ALL', 81, 1, 'iconcompanysetup.png', 'EN'),
(40, 'MSSL', 'StateList', '5', '10', 0, 'setting/statelist', '0', 'ALL', 80, 1, 'iconcompanysetup.png', 'EN'),
(41, 'MSLM', 'LocationMaster', '91', '4', 0, 'setting/locationlist', '0', 'ALL', 70, 1, 'iconsetupsub.png', 'EN'),
(45, 'GLM', 'GeneralLedger', '0', '1', 1, '#', '0', 'ALL', 2, 1, 'icongeneralledger.png', 'EN'),
(46, 'GLSETUP', 'Setup', '45', '1', 1, '#', '0', 'ALL', 90, 1, 'iconsetupsub.png', 'EN'),
(50, 'PUR', 'Purchasing', '0', '8', 1, '#', '0', 'ALL', 30, 1, 'iconpurchasing.png', 'EN'),
(51, 'PURSETUP', 'Setup', '50', '5', 1, '#', '0', 'ALL', 90, 1, 'iconsetupsub.png', 'EN'),
(52, 'PURRPT', 'Reports', '50', '5', 1, '#', '0', 'ALL', 70, 1, 'iconreport.png', 'EN'),
(54, 'PURSTSPL', 'Supplierslist', '51', '5', 0, 'supplier/supplierList', '0', 'ALL', 51, 1, 'iconsetupsub.png', 'EN'),
(67, 'PURSTUM', 'uom', '51', '5', 0, 'purchasesetting/unitmeasurelist', '0', 'ALL', 55, 1, 'iconsetupsub.png', 'EN'),
(68, 'PURSTUMC', 'UOMCONV', '51', '5', 0, 'purchasesetting/umconversionlist', '0', 'ALL', 56, 1, 'iconsetupsub.png', 'EN'),
(80, 'ARDASHB', 'AccountReceivables', '0', '2', 1, '#', '0', 'ALL', 5, 1, 'iconaccountreceivables.png', 'EN'),
(81, 'APDASHB', 'AccountPayables', '0', '3', 1, '#', '0', 'ALL', 10, 1, 'iconaccountpayables.png', 'EN'),
(82, 'SALES', 'SalesOrders', '0', '5', 1, '#', '0', 'ALL', 70, 1, 'iconsalesorder.png', 'EN'),
(83, 'GST', 'GST', '0', '6', 1, '#', '0', 'ALL', 30, 1, 'icongoodserviestax.png', 'EN'),
(84, 'ZAKAT', 'Zakat', '0', '7', 1, '#', '0', 'ALL', 80, 1, 'iconzakatwakaf.png', 'EN'),
(85, 'APSETUP', 'Setup', '81', '3', 1, '#', '0', 'ALL', 90, 1, 'iconsetupsub.png', 'EN'),
(86, 'ARSETUP', 'Setup', '80', '2', 1, '#', '0', 'ALL', 90, 1, 'iconsetupsub.png', 'EN'),
(87, 'APRPT', 'Reports', '81', '3', 1, '#', '0', 'ALL', 80, 1, 'iconreport.png', 'EN'),
(88, 'GLRPT', 'Reports', '45', '1', 1, '#', '0', 'ALL', 80, 1, 'iconreport.png', 'EN'),
(89, 'ARRPT', 'Reports', '80', '2', 1, '#', '0', 'ALL', 80, 1, 'iconreport.png', 'EN'),
(90, 'INVCTRL', 'InventoryControl', '0', '4', 1, '#', '0', 'ALL', 25, 1, 'iconinventorycontrol.png', 'EN'),
(91, 'ICSETUP', 'Setup', '90', '4', 1, '#', '0', 'ALL', 90, 1, 'iconsetupsub.png', 'EN'),
(92, 'ICRPT', 'Reports', '90', '4', 1, '#', '0', 'ALL', 80, 1, 'iconreport.png', 'EN'),
(93, 'MSTRCOMP', 'CompanySetup', '5', '10', 1, 'company/setup', '0', 'ALL', 5, 1, 'iconcompanysetup.png', 'EN'),
(94, 'GLMCAL', 'Fycalendar', '46', '1', 0, 'glsetting/createCalendar', '0', 'ALL', 10, 1, 'iconsetupsub.png', 'EN'),
(95, 'GLHOME', 'Home', '45', '1', 0, 'GeneralLedger/Home', '0', 'ALL', 1, 1, 'icongeneralledgerSUB.png', 'EN'),
(96, 'ARHOME', 'Home', '80', '2', 0, 'AccountReceivables', '0', 'ALL', 1, 1, 'iconaccountreceivablesSUB.png', 'EN'),
(97, 'APHOME', 'Home', '81', '3', 0, '#', '0', 'ALL', 1, 1, 'iconaccountpayablesSUB.png', 'EN'),
(98, 'ICHOME', 'Home', '90', '4', 0, '#', '0', 'ALL', 1, 1, 'iconinventorycontrolSUB.png', 'EN'),
(99, 'PURHOME', 'Home', '50', '5', 0, '#', '0', 'ALL', 1, 1, 'iconpurchasingSUB.png', 'EN'),
(100, 'GSTHOME', 'Home', '83', '6', 0, '#', '0', 'ALL', 1, 1, 'icongoodserviestaxSUB.png', 'EN'),
(102, 'GSTSETUP', 'Setup', '83', '6', 1, '#', '0', 'ALL', 90, 1, 'iconsetupsub.png', 'EN'),
(103, 'GSTRPT', 'Reports', '83', '6', 1, '#', '0', 'ALL', 80, 1, 'iconreport.png', 'EN'),
(104, 'SOHOME', 'Home', '82', '5', 0, 'SalesOrder', '0', 'ALL', 1, 1, 'iconsalesorderSUB.png', 'EN'),
(105, 'SOSETUP', 'Setup', '82', '5', 1, '#', '0', 'ALL', 90, 1, 'iconsetupsub.png', 'EN'),
(106, 'SORPT', 'Reports', '82', '5', 1, '#', '0', 'ALL', 80, 1, 'iconreport.png', 'EN'),
(107, 'ZKTHOME', 'Home', '84', '7', 0, '#', '0', 'ALL', 1, 1, 'iconzakatwakafSUB.png', 'EN'),
(108, 'ZKTSETUP', 'Setup', '84', '7', 1, '#', '0', 'ALL', 90, 1, 'iconsetupsub.png', 'EN'),
(109, 'ZKTRPT', 'Reports', '84', '7', 1, '#', '0', 'ALL', 80, 1, 'iconreport.png', 'EN'),
(110, 'MSTRCOMP', 'List', '93', '10', 0, 'setting/companyList', '0', 'ALL', 5, 1, 'iconcompanysetup.png', 'EN'),
(114, 'MSTRSUPP', 'SupplierSetup', '85', '3', 0, 'supplier/supplierList', '0', 'ALL', 11, 1, 'iconsetupsub.png', 'EN'),
(124, 'APTRANS', 'Transaction', '81', '3', 1, '#', '0', 'ALL', 10, 1, 'icon-transaction.png', 'EN'),
(129, 'APSUPPAY', 'SupplierPayment', '124', '3', 0, 'aptransaction/payment', '0', 'ALL', 50, 1, 'icon-transaction.png', 'EN'),
(130, 'ARSETCUS', 'CustomerSetup', '86', '2', 0, 'customerSetup/customerList', '0', 'ALL', 5, 1, 'iconsetupsub.png', 'EN'),
(131, 'ARTRANS', 'Transaction', '80', '2', 1, '#', '0', 'ALL', 10, 1, 'icon-transaction.png', 'EN'),
(141, 'APPURDN', 'PurchaseDebitNote', '124', '3', 0, 'aptransaction/newDebitNote', '0', 'ALL', 23, 1, 'icon-transaction.png', 'EN'),
(142, 'APPURCN', 'PurchaseCreditNote', '124', '3', 0, 'aptransaction/newCreditNote', '0', 'ALL', 25, 1, 'icon-transaction.png', 'EN'),
(143, 'ITEMCAT', 'ItemCategory', '91', '4', 0, 'icsetting/itemCategoryList', '0', 'ALL', 5, 1, 'iconsetupsub.png', 'EN'),
(144, 'ITEMTYP', 'ItemType', '91', '4', 0, 'icsetting/itemTypeList', '0', 'ALL', 10, 1, 'iconsetupsub.png', 'EN'),
(145, 'ITEMSET', 'ItemSetup', '91', '4', 0, 'icsetting/itemList', '0', 'ALL', 25, 1, 'iconsetupsub.png', 'EN'),
(147, 'PURTRANS', 'Transaction', '50', '5', 1, '#', '0', 'ALL', 5, 1, 'icon-transaction.png', 'EN'),
(148, 'ICTRANS', 'Transaction', '90', '4', 1, '#', '0', 'ALL', 5, 1, 'icon-transaction.png', 'EN'),
(150, 'GLTRANS', 'Transaction', '45', '1', 1, '#', '0', 'ALL', 5, 1, 'icon-transaction.png', 'EN'),
(151, 'GSTTRANS', 'Transaction', '83', '6', 1, '#', '0', 'ALL', 5, 1, 'icon-transaction.png', 'EN'),
(152, 'SOTRANS', 'Transaction', '82', '5', 1, '#', '0', 'ALL', 5, 1, 'icon-transaction.png', 'EN'),
(153, 'SOQUOT', 'SalesQuotation', '152', '5', 0, 'sotransaction/SalesQuotationList', '0', 'ALL', 1, 1, 'icon-transaction.png', 'EN'),
(154, 'GLTRJRNL', 'JlEntry', '150', '1', 0, 'gltransaction/journal', '0', '', 5, 1, 'icon-transaction.png', 'EN'),
(155, 'GLMCALL', 'Fycalendarlist', '46', '1', 0, 'glsetting/financialCalendarList', '0', 'ALL', 10, 1, 'iconsetupsub.png', 'EN'),
(156, 'PROJECT', 'ProjectList', '5', '0', 0, 'project/projectlist', '0', 'ALL', 50, 1, 'iconcompanysetup.png', 'EN'),
(157, 'TERM', 'Terms', '5', '0', 0, 'term/termlist', '0', 'ALL', 60, 1, 'iconcompanysetup.png', 'EN'),
(158, 'GSTMSTR', 'Gsttable', '102', '6', 0, 'tax/taxtableList', '0', 'ALL', 1, 1, 'iconsetupsub.png', 'EN'),
(159, 'GSTTYPE', 'taxclass', '102', '6', 0, 'tax/classList', '0', 'ALL', 30, 1, 'iconsetupsub.png', 'EN'),
(160, 'GSTGROUP', 'taxgroup', '102', '6', 0, 'tax/groupList', '0', 'ALL', 31, 1, 'iconsetupsub.png', 'EN'),
(161, 'GSTTYPE', 'taxtype', '102', '6', 0, 'tax/typeList', '0', 'ALL', 32, 1, 'iconsetupsub.png', 'EN'),
(162, 'INVUM', 'uom', '91', '4', 0, 'icsetting/unitmeasurelist', '0', 'ALL', 70, 1, 'iconsetupsub.png', 'EN'),
(163, 'INVUMCOV', 'UOMCONV', '91', '4', 0, 'icsetting/umconversion', '0', '', 71, 1, 'iconsetupsub.png', 'EN'),
(164, 'INUMCVLS', 'uocvlist', '91', '4', 0, 'icsetting/umconversionlist', '0', '', 72, 1, 'iconsetupsub.png', 'EN'),
(166, 'GLRPBS', 'Financialposition', '88', '1', 0, 'glreports/financialposition', '0', '', 20, 1, 'iconreport.png', 'EN'),
(167, 'GLRPTB', 'Trialbalance', '88', '1', 0, 'glreports/trialBalance', '0', 'ALL', 5, 1, 'iconreport.png', 'EN'),
(168, 'GLSTCOA', 'ChartOfAccount', '46', '1', 0, 'glsetting/chartOfAcctList', '0', 'ALL', 60, 1, 'iconsetupsub.png', 'EN'),
(169, 'MSMTRCD', 'Mastercode', '5', '1', 0, 'setting/masterCodeSetupList', '0', '', 40, 1, 'iconcompanysetup.png', 'EN'),
(171, 'GLTRJlCY', 'JlCopy', '150', '1', 0, 'Gltransaction/journalCopy', '0', '', 20, 1, 'icon-transaction.png', 'EN'),
(172, 'GLTRJlRV', 'JlReverse', '150', '1', 0, 'Gltransaction/reverse', '0', '', 30, 1, 'icon-transaction.png', 'EN'),
(173, 'GLTRPOST', 'Posting', '150', '1', 0, 'Gltransaction/posting', '0', '', 40, 1, 'icon-transaction.png', 'EN'),
(174, 'GLRPJLPS', 'Jlpost', '88', '1', 0, 'glreports/postedjournal', '0', '', 40, 1, 'iconreport.png', 'EN'),
(175, 'GLRPJLUP', 'Jlunposted', '88', '1', 0, 'glreports/unpostedjournal', '0', '', 35, 1, 'iconreport.png', 'EN'),
(176, 'GLRPTBFC', 'Trialbalancefc', '88', '1', 0, 'glreports/trialbalanceFiscalyear', '0', '', 7, 1, 'iconreport.png', 'EN'),
(178, 'GLRPABSM', 'Accountbalancesummary', '88', '1', 0, 'glreports/accountBalanceSummary', '0', '', 2, 1, 'iconreport.png', 'EN'),
(179, 'EMP', 'employeeSetup', '5', '0', 0, 'employeeSetup/employeeList', '0', '', 7, 1, 'iconcompanysetup.png', 'EN'),
(180, 'APPURDNL', 'PurchaseDebitNoteList', '87', '3', 0, 'apreports/debitnoteList', '0', '', 26, 1, 'iconreport.png', 'EN'),
(181, 'APPURDNC', 'PurchaseDebitNoteConfirm', '124', '3', 0, 'aptransaction/debitnotePost', '0', '', 24, 1, 'icon-transaction.png', 'EN'),
(184, 'APPURCNL', 'PurchaseCreditNoteList', '87', '3', 0, 'apreports/creditnoteList', '0', '', 27, 1, 'iconreport.png', 'EN'),
(185, 'APPURCNC', 'PurchaseCreditNoteConfirm', '124', '3', 0, 'aptransaction/creditnotePost', '0', '', 27, 1, 'icon-transaction.png', 'EN'),
(186, 'APPAYCFM', 'SupplierPaymentConfirm', '124', '3', 0, 'aptransaction/supplierpaymentList', '0', '', 51, 1, 'icon-transaction.png', 'EN'),
(187, 'APSUPPAY', 'SupplierPaymentList', '87', '3', 0, 'apreports/supplierpaymentlist', '0', '', 52, 1, 'iconreport.png', 'EN'),
(189, 'GLRPPNLM', 'Profitnloss', '88', '1', 0, 'glreports/profitNloss', '0', '', 30, 1, 'iconreport.png', 'EN'),
(190, 'FORM', 'formSetup', '93', '0', 0, 'companySetup/formSetup', '0', '', 30, 1, 'i-pen ', 'EN'),
(191, 'GLSTBDGT', 'Budget', '46', '1', 0, 'glsetting/budgetEntry', '0', '', 20, 1, 'iconsetupsub.png', 'EN'),
(192, 'APOPWI', 'NewOtherPaymentWithItem', '124', '3', 0, 'othersPayment/newPayWithItem', '0', '', 54, 1, 'i-pen ', 'EN'),
(193, 'APPAYICM', 'NewOtherPaymentWithItemConfirm', '124', '3', 0, 'aptransaction/otherpaywithItemPost', '0', '', 55, 1, 'icon-transaction.png', 'EN'),
(194, 'APOPWOI', 'NewOtherPaymentWithoutItem', '124', '3', 0, 'othersPayment/newPayWithoutItem', '0', '', 56, 1, 'i-pen ', 'EN'),
(196, 'APRPTOPW', 'OtherPaymentWithItemList', '87', '3', 0, 'othersPayment/otherpaywithList', '0', '', 58, 1, 'iconreport.png', 'EN'),
(197, 'APRPTOPW', 'OtherPaymentWithoutItemList', '87', '3', 0, 'othersPayment/otherpaywithoutList', '0', '', 59, 1, 'iconreport.png', 'EN'),
(198, 'GLRPBGLT', 'Budgetlist', '88', '1', 0, 'glreports/budgetList', '0', '', 70, 1, 'iconreport.png', 'EN'),
(200, 'SOTRNWSO', 'SalesOrder', '152', '5', 0, 'sotransaction/salesOrderList', '0', '', 10, 1, 'icon-transaction.png', 'EN'),
(201, 'INVLOCTR', 'LocationTransfer', '148', '4', 0, 'locationtransfer/add', '0', '', 6, 1, 'i-film', 'EN'),
(202, 'INVSALEP', 'SalesPricing', '148', '5', 0, 'soreport/SalesPriceList', '0', '', 12, 1, 'iconreport.png', 'EN'),
(203, 'INVPURPR', 'PurchasePricing', '148', '4', 0, 'purchasepricing', '0', '', 10, 1, 'i-pen ', 'EN'),
(204, 'INVITEMC', 'ItemCountAdjust', '148', '4', 0, 'itemcountadjust', '0', '', 8, 1, 'i-pen ', 'EN'),
(207, 'CSSYSGEN', 'SystemGeneral', '93', '0', 0, 'systemgeneral/generalSetup', '0', '', 31, 1, 'i-pen ', 'EN'),
(208, 'APRPTSTL', 'SupplierStatementList', '87', '3', 0, 'supplierStatement/supplierList', '0', '', 53, 1, 'iconreport.png', 'EN'),
(209, 'SOTRQOLT', 'Salesquotelist', '106', '5', 0, 'soreport/SalesQuotationList', '0', 'ALL', 17, 1, 'iconreport.png', 'EN'),
(210, 'SOSTSLPC', 'Salesprice', '105', '5', 0, 'sosetup/SalesPrice', '0', '', 10, 1, 'iconsetupsub.png', 'EN'),
(211, 'SORPPCLT', 'Salesprice', '106', '5', 0, 'soreport/SalesPriceList', '0', '', 10, 1, 'iconreport.png', 'EN'),
(212, 'CHAOFACC', 'ChartOfAccountSetup', '93', '1', 0, 'setting/chartOfAccountsSetup', '0', '', 29, 1, 'i-film', 'EN'),
(216, 'SOTRDOLT', 'DeliveryOrderList', '106', '5', 0, 'sotransaction/SalesDOList', '0', 'ALL', 19, 1, 'iconreport.png', 'EN'),
(217, 'SOTRDO', 'DeliveryOrder', '152', '5', 0, 'sotransaction/SalesDO', '0', 'ALL', 40, 1, 'icon-transaction.png', 'EN'),
(218, 'PURORDER', 'PurchaseOrder', '147', '5', 0, 'PO_Transaction/newPO', '0', '', 6, 1, 'icon-transaction.png', 'EN'),
(219, 'PURORLST', 'PurchaseOrderList', '52', '5', 0, 'purchaseReports/poLIST/rpt', '0', '', 7, 1, 'iconreport.png', 'EN'),
(220, 'PURRCV', 'PurchaseReceive', '147', '5', 0, 'receiveItems/newITemReceived', '0', '', 9, 1, 'i-pen ', 'EN'),
(224, 'APPURINV', 'PurchaseInvoice', '124', '3', 0, 'purchaseinvoice', '0', '', 19, 1, 'i-pen ', 'EN'),
(225, 'APDIRINV', 'DirectPurchaseInvoice', '124', '3', 0, 'purchasetransaction/invoices', '0', '', 20, 1, 'icon-transaction.png', 'EN'),
(226, 'APDIRINV', 'DirectPurchaseInvoiceConfirm', '124', '3', 0, 'purchasetransaction/invoicesConfirm', '0', '', 22, 1, 'icon-transaction.png', 'EN'),
(227, 'ARSALINV', 'SalesInvoice', '131', '2', 0, 'artransaction/salesinvoice', '0', '', 10, 1, 'icon-transaction.png', 'EN'),
(229, 'ARSDBN', 'SalesDebitNote', '131', '2', 0, 'artransaction/newSaleDebitNote', '0', '', 19, 1, 'icon-transaction.png', 'EN'),
(230, 'ARDBNC', 'SalesDebitNoteConfirm', '131', '2', 0, 'artransaction/salesdebitnotePost', '0', '', 20, 1, 'i-pen ', 'EN'),
(231, 'ARSCN', 'SalesCreditNote', '131', '2', 0, 'artransaction/newSaleCreditNote', '0', '', 21, 1, 'i-pen ', 'EN'),
(232, 'ARSCNC', 'SalesCreditNoteConfirm', '131', '2', 0, 'artransaction/salescreditnotePost', '0', '', 22, 1, 'icon-transaction.png', 'EN'),
(233, 'ARRCVP', 'ReceivePayment', '131', '2', 0, 'artransaction/newReceivePayment', '0', '', 23, 1, 'icon-transaction.png', 'EN'),
(234, 'ARRCVPC', 'ReceivePaymentConfirm', '131', '2', 0, 'artransaction/receivedPaymentPost', '0', '', 24, 1, 'icon-transaction.png', 'EN'),
(235, 'ARINVLST', 'DirectSalesInvoiceList', '89', '2', 0, 'salesInvoice/salesInvoiceList', '0', '', 18, 1, 'iconreport.png', 'EN'),
(236, 'ARDBNLST', 'SalesDebitNoteList', '89', '2', 0, 'salesInvoice/salesdebitnotelist', '0', '', 26, 1, 'iconreport.png', 'EN'),
(237, 'ARCDNLST', 'SalesCreditNoteList', '89', '2', 0, 'salesInvoice/salescreditnoteList', '0', '', 27, 1, 'iconreport.png', 'EN'),
(238, 'ARRCVPLS', 'ReceivePaymentList', '89', '2', 0, 'companySetup/compRecPaymentList/rpt', '0', '', 28, 1, 'iconreport.png', 'EN'),
(239, 'ARDSLINV', 'NewDirectSaleInvoice', '131', '2', 0, 'arTransaction/newDirectSaleInvoice', '0', '', 13, 1, 'icon-transaction.png', 'EN'),
(240, 'AGENTSTP', 'AgentSetup', '5', '0', 0, 'saleagentSetup/agentList', '0', '', 32, 1, 'iconcompanysetup.png', 'EN'),
(241, 'SOTRSOLT', 'Saleslist', '106', '5', 0, 'soreport/SalesOrderList', '0', 'ALL', 18, 1, 'iconreport.png', 'EN'),
(243, 'INVPLNRP', 'InventoryPlanningReport', '92', '4', 0, 'inventory/rptstatus', '0', '', 81, 1, 'iconreport.png', 'EN'),
(244, 'INVVALRP', 'InventoryValuationReport', '92', '4', 0, '#', '0', '', 82, 1, 'iconreport.png', 'EN'),
(245, 'INVSTORP', 'StockCheckReport', '92', '4', 0, 'inventory/stocklist', '0', '', 84, 1, 'iconreport.png', 'EN'),
(248, 'INVOUTRP', 'OutstandingGRNReport', '92', '4', 0, 'inventory/rptgrnvaluation', '0', '', 87, 1, 'iconreport.png', 'EN'),
(249, 'INVMOVRP', 'InventoryMovementReport', '92', '4', 0, 'inventory/rptmovement', '0', '', 88, 1, 'iconreport.png', 'EN'),
(250, 'INVLSTRP', 'InventoryList', '92', '4', 0, 'inventory/rptbylocation', '0', '', 89, 1, 'iconreport.png', 'EN'),
(251, 'PURORDCF', 'PurchaseOrderConfirm', '147', '5', 0, 'po_transaction/poList/post', '0', '', 8, 1, 'icon-transaction.png', 'EN'),
(252, 'PURRCVC', 'PurchaseReceiveConfirm', '147', '5', 0, 'purchasetransaction/receiveItemPosting', '0', '', 10, 1, 'icon-transaction.png', 'EN'),
(253, 'PURRCVLS', 'PurchaseReceiveList', '52', '5', 0, 'receiveItems/receiveItemList2', '0', '', 8, 1, 'iconreport.png', 'EN'),
(255, 'GLSTCURC', 'Currencyconversion', '46', '1', 0, 'glsetting/currencyConvertion', '0', '', 50, 1, 'iconsetupsub.png', 'EN'),
(256, 'ARDRSINV', 'SaleInvoiceConfirm', '131', '2', 0, 'artransaction/directsalesinvPost', '0', '', 15, 1, 'icon-transaction.png', 'EN'),
(257, 'TXTRPROC', 'GAFFiles', '151', '0', 0, 'taxTransaction/processGAF', '0', '', 10, 1, 'icon-transaction.png', 'EN'),
(258, 'APPURINV', 'PurchaseInvoiceList', '87', '3', 0, 'purchasetransaction/purchaseinvoicelist', '0', '', 25, 1, 'iconreport.png', 'EN'),
(259, 'SORPSOCU', 'Salesbycustomer', '106', '5', 0, 'soreport/SalesByCustomer', '0', '', 20, 1, 'iconreport.png', 'EN'),
(260, 'DELCNFRM', 'DeliveryOrderConfirm', '152', '0', 0, 'sotransaction/salesDOPost', '0', '', 42, 1, 'icon-transaction.png', 'EN'),
(261, 'SORPYRSL', 'SalesbycustomerYears', '106', '5', 0, 'soreport/SalesByCustomerYears', '0', '', 25, 1, 'iconreport.png', 'EN'),
(262, 'ICSTIDTL', 'Itemdetails', '91', '4', 0, 'icsetting/ItemDetails', '0', '', 40, 1, 'iconsetupsub.png', 'EN'),
(263, 'SORPSLIT', 'Salesbyitem', '106', '5', 0, 'soreport/SalesByItem', '0', '', 26, 1, 'iconreport.png', 'EN'),
(264, 'INVLOCTC', 'LocationTransferConfirm', '148', '4', 0, 'locationtransfer/locationtransfer', '0', '', 7, 1, 'i-film', 'EN'),
(265, 'INVITCC', 'ItemCountAdjustConfirm', '148', '4', 0, 'itemcountadjust/confirm', '0', '', 9, 1, 'i-film', 'EN'),
(266, 'INVSALC', 'SalesPricingConfirm', '148', '4', 0, '#', '0', '', 13, 1, 'i-film', 'EN'),
(267, 'INVPURCC', 'PurchasePricingConfirm', '148', '0', 0, '#', '0', '', 11, 1, 'i-film', 'EN'),
(268, 'IVSTCKCS', 'StockCountSheet', '92', '4', 0, 'countsheet', '0', '', 83, 1, 'iconreport.png', 'EN'),
(269, 'LTL', 'LocationTransferList', '92', '4', 0, 'locationtransfer/report', '0', '', 10, 1, 'iconreport.png', 'EN'),
(270, 'ICAA', 'ItemCountAndAdjustmentList', '92', '4', 0, 'itemcountadjust/report', '0', '', 20, 1, 'iconreport.png', 'EN'),
(272, 'BNKSETUP', 'BankSetup', '5', '10', 0, 'bankSetup/bankList', '0', '', 78, 1, 'iconcompanysetup.png', 'EN'),
(274, 'ZKTSTGRP', 'Zakatgroup', '108', '7', 0, 'zakatsetup/Group', '0', '', 30, 1, 'iconsetupsub.png', 'EN'),
(275, 'ZKTSTNSB', 'nisab', '108', '7', 0, 'zakatsetup/nisab', '0', NULL, 20, 1, 'iconsetupsub.png', 'EN'),
(276, 'ZKTRGPLT', 'Zakatgrouplist', '109', '7', 0, 'zakatreport/groupList', '0', '', 20, 1, 'iconreport.png', 'EN'),
(277, 'ZKTSTNSD', 'Nisabdetails', '108', '7', 0, 'zakatsetup/NisabDetails', '0', '', 10, 1, 'iconsetupsub.png', 'EN'),
(278, 'ZKTTRANS', 'Transaction', '84', '7', 1, '#', '0', '', 20, 1, 'icon-transaction.png', 'EN'),
(279, 'ZKTTRCAL', 'Zakatcalculate', '278', '7', 0, 'zakatTransaction/Calculation', '0', '', 10, 1, 'icon-transaction.png', 'EN'),
(280, 'ZKSTCNTR', 'Zakatcenter', '108', '7', 0, 'zakatsetup/Center', '0', '', 55, 1, 'iconsetupsub.png', 'EN'),
(281, 'ZKRPCTRL', 'Zakatcenter', '109', '7', 0, 'zakatreport/centerList', '0', '', 10, 1, 'iconreport.png', 'EN'),
(282, 'ZKRPNBLT', 'Zakatnisab', '109', '7', 0, 'zakatreport/nisabList', '0', '', 5, 1, 'iconreport.png', 'EN'),
(283, 'ZKRPSMLT', 'Zakatsummary', '109', '7', 0, 'zakatreport/zakatSummaryList', '0', '', 80, 1, 'iconreport.png', 'EN'),
(284, 'PUROUTGR', 'OutstandingGRNReport', '52', '5', 0, 'inventory/rptgrnvaluation', '0', '', 9, 1, 'iconreport.png', 'EN'),
(285, 'WKSTMSTR', 'Wakafsetup', '108', '7', 0, 'wakafsetup/wakaf_acrual_list', '0', '', 60, 1, 'iconsetupsub.png', 'EN'),
(286, 'ARCUSTST', 'CustomerStatement', '89', '2', 0, 'customerStatement/customerList', '0', '', 29, 1, 'iconreport.png', 'EN'),
(287, 'ARCPYSI', 'copySalesInvoice', '131', '2', 0, 'arinvoiceclone', '0', '', 14, 1, 'i-film', 'EN'),
(288, 'APCPYPI', 'copyPurchaseInvoice', '124', '3', 0, 'apinvoiceclone', '0', '', 21, 1, 'i-film', 'EN'),
(289, 'SORPORCT', 'Salesorderbycustomer', '106', '5', 0, 'soreport/SalesOrderByCustomer', '0', '', 60, 1, 'iconreport.png', 'EN'),
(290, 'SORPSOIT', 'Salesorderbyitem', '106', '5', 0, 'soreport/SalesOrderByItem', '0', '', 65, 1, 'iconreport.png', 'EN'),
(292, 'SORPOROT', 'Salesorderoutstandingbyitem', '106', '5', 0, 'soreport/SalesOrderOutstandingByItem', '0', '', 75, 1, 'iconreport.png', 'EN'),
(294, 'APBANKRE', 'BankReconciliation', '124', '3', 0, 'BankReconciliation', '0', '', 57, 1, 'i-film', 'EN'),
(295, 'WCQCNTR', 'WaqafCenter', '108', '0', 0, 'waqafsetup/waqaflist', '0', '', 61, 1, 'iconsetupsub.png', 'EN'),
(297, 'WKFCAL', 'wakafCalculation', '278', '0', 0, 'wakafSetup/newwakaf', '0', '', 11, 1, 'i-film', 'EN'),
(298, 'WKFLST', 'wakafList', '109', '0', 0, 'wakafSetup/wakafList', '0', '', 81, 1, 'iconreport.png', 'EN'),
(299, 'APDRNOTE', 'PurchaseDebitNoteEdit', '124', '3', 0, 'aptransaction/editDebitNote', '0', '', 100, 0, 'icon-transaction.png', 'EN'),
(302, 'GLTRYECL', 'YearEndClose', '150', '1', 0, 'Gltransaction/YearEndClose', '0', '0', 90, 1, 'icon-transaction.png', 'EN'),
(304, 'LOGRPT', 'LogReport', '12', '9', 0, 'logreport', '0', '0', 5, 1, 'iconreport.png', 'EN'),
(305, 'USRGD', 'UserGuide', '0', '0', 0, 'userguide', '0', '0', 1000, 1, 'i-film', 'EN');

-- --------------------------------------------------------

--
-- Table structure for table `_sys_um`
--

CREATE TABLE IF NOT EXISTS `_sys_um` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) DEFAULT NULL,
  `desc` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT AUTO_INCREMENT=15 ;

--
-- Dumping data for table `_sys_um`
--

INSERT INTO `_sys_um` (`fldid`, `code`, `desc`) VALUES
(1, 'cm', 'Centimeter'),
(2, 'pcs', 'Pieces'),
(3, 'ea', 'Each'),
(4, 'km', 'Kilometer'),
(5, 'm', 'Meter'),
(6, 'L', 'Liter'),
(7, 'ml', 'Mililiter'),
(8, 'g', 'Grams'),
(9, 'kg', 'Kilograms'),
(10, 'tons', 'Tons'),
(11, 'mm', 'Milimeter'),
(12, 'drum', 'Drums'),
(13, 'box', 'Boxes'),
(14, 'pallet', 'Pallets');

-- --------------------------------------------------------

--
-- Table structure for table `_sys_um_conv`
--

CREATE TABLE IF NOT EXISTS `_sys_um_conv` (
  `fldid` int(11) NOT NULL AUTO_INCREMENT,
  `from_um` int(11) DEFAULT NULL,
  `to_um` int(11) DEFAULT NULL,
  `unitm` decimal(10,5) DEFAULT NULL,
  `factor` decimal(10,5) DEFAULT NULL,
  `create_by` varchar(50) DEFAULT NULL,
  `create_dt` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified_by` varchar(50) DEFAULT NULL,
  `modified_dt` datetime DEFAULT NULL,
  PRIMARY KEY (`fldid`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `_sys_um_conv`
--

INSERT INTO `_sys_um_conv` (`fldid`, `from_um`, `to_um`, `unitm`, `factor`, `create_by`, `create_dt`, `modified_by`, `modified_dt`) VALUES
(3, 1, 5, '1.00000', '100.00000', 'yahaya', '2014-07-01 03:53:35', NULL, NULL),
(6, 8, 9, '1000.00000', '1.00000', 'yahaya', '2014-07-01 03:53:13', NULL, NULL);

-- --------------------------------------------------------

--
-- Structure for view `view_account_balance`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_account_balance` AS select `a`.`companyID` AS `companyID`,`a`.`acctID` AS `acctID`,concat(left(`b`.`acctCode`,4),'-',substr(`b`.`acctCode`,4,3),'-',right(`b`.`acctCode`,2),' ',`b`.`acctName`) AS `acctName`,`a`.`year` AS `year`,`a`.`period` AS `period`,sum(`a`.`total`) AS `closing` from (`comp_acc_det` `a` join `comp_chart_of_acct` `b`) where (`b`.`ID` = `a`.`acctID`) group by `a`.`companyID`,`a`.`acctID`,`b`.`acctName`,`a`.`year`,`a`.`period`;

-- --------------------------------------------------------

--
-- Structure for view `view_ar_inventory`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_ar_inventory` AS select `comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`customerID` AS `customerID`,concat(`comp_sales_invoice`.`formNo`,'[',convert(lpad(`comp_sales_invoice`.`ID`,8,'0') using latin1),']') AS `formNo`,`comp_sales_invoice`.`salesInvoiceDate` AS `salesinvoiceDate`,`comp_sales_invoice`.`totalReceivable` AS `totalReceivable` from `comp_sales_invoice` where (`comp_sales_invoice`.`totalReceivable` > 0);

-- --------------------------------------------------------

--
-- Structure for view `view_customer_aging`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_customer_aging` AS select `a`.`ID` AS `customerID`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 0))) AS `current`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 1))) AS `month1`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 2))) AS `month2`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 3))) AS `month3`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 4))) AS `month4`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 5))) AS `month5`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 6))) AS `month6`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 7))) AS `month7`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 8))) AS `month8`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 9))) AS `month9`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) = 10))) AS `month10`,(select sum(`comp_sales_invoice`.`totalReceivable`) from `comp_sales_invoice` where ((`comp_sales_invoice`.`companyID` = `a`.`companyID`) and (`comp_sales_invoice`.`customerID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_sales_invoice`.`salesInvoiceDate`,now()) > 10))) AS `month11` from `customer` `a`;

-- --------------------------------------------------------

--
-- Structure for view `view_customer_statement`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_customer_statement` AS select `comp_sales_invoice`.`ID` AS `ID`,`comp_sales_invoice`.`ID` AS `parent`,`comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`customerID` AS `customerID`,'Invoice' AS `transType`,`comp_sales_invoice`.`salesInvoiceDate` AS `transDate`,`comp_sales_invoice`.`customerPoNo` AS `refNo`,concat(concat(concat(`comp_sales_invoice`.`formNo`,'['),convert(lpad(`comp_sales_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`comp_sales_invoice`.`totalamount` AS `dr`,NULL AS `cr`,1 AS `seq` from `comp_sales_invoice` union select `comp_sales_debitnote`.`ID` AS `ID`,`comp_sales_debitnote`.`salesInvoiceID` AS `parent`,`comp_sales_debitnote`.`companyID` AS `companyID`,`comp_sales_debitnote`.`customerID` AS `customerID`,'DebitNote' AS `transType`,`comp_sales_debitnote`.`debitNoteDate` AS `transDate`,NULL AS `refno`,concat(concat(concat(`comp_sales_debitnote`.`formNo`,'['),convert(lpad(`comp_sales_debitnote`.`ID`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`comp_sales_debitnote`.`totalAmount` AS `cr`,2 AS `seq` from `comp_sales_debitnote` union select `comp_sales_creditnote`.`ID` AS `ID`,`comp_sales_creditnote`.`salesInvoiceID` AS `parent`,`comp_sales_creditnote`.`companyID` AS `companyID`,`comp_sales_creditnote`.`customerID` AS `customerID`,'CreditNote' AS `transType`,`comp_sales_creditnote`.`creditNoteDate` AS `transDate`,NULL AS `refno`,concat(concat(concat(`comp_sales_creditnote`.`formNo`,'['),convert(lpad(`comp_sales_creditnote`.`ID`,8,'0') using latin1)),']') AS `formNo`,`comp_sales_creditnote`.`totalAmount` AS `dr`,NULL AS `cr`,3 AS `seq` from `comp_sales_creditnote` union select `a`.`ID` AS `ID`,`a`.`receivePaymentID` AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,'Payment' AS `transType`,`b`.`receivePaymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`ID`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`amountApplied` AS `cr`,4 AS `seq` from (`comp_receive_payment_detail` `a` join `comp_receive_payment` `b`) where (`a`.`receivePaymentID` = `b`.`ID`);

-- --------------------------------------------------------

--
-- Structure for view `view_gaf`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_gaf` AS select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`invoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`ID`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_invoice` `b`) join `comp_supplier_invoice_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`invoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`ID`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_invoice` `b`) join `comp_supplier_invoice_charges` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`debitNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`ID`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_debitnote` `b`) join `comp_supplier_debitnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`debitnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`creditNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`ID`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_creditnote` `b`) join `comp_supplier_creditnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`creditnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`salesInvoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`ID`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`g`.`description` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((((`customer` `a` join `comp_sales_invoice` `b`) join `comp_sales_invoice_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) join `item` `g`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`) and (`g`.`ID` = `c`.`itemID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`salesInvoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`ID`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`chargeDescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_invoice` `b`) join `comp_sales_invoice_charges` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`debitNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`ID`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`itemdescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_debitnote` `b`) join `comp_sales_debitnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`debitnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`creditNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`ID`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`itemdescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_creditnote` `b`) join `comp_sales_creditnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`creditnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`));

-- --------------------------------------------------------

--
-- Structure for view `view_inventorylist_subtotal`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_inventorylist_subtotal` AS select `a`.`companyID` AS `companyid`,`a`.`locationID` AS `locationid`,`b`.`itemID` AS `itemID`,concat('[',`b`.`itemCode`,']',`b`.`itemName`) AS `itemName`,`d`.`name` AS `category`,`b`.`description` AS `description`,sum((`b`.`balanceItem` * `b`.`unitPrice`)) AS `stockValue` from (((`comp_receive_item` `a` join `comp_receive_item_detail` `b`) join `item` `c`) join `master_code` `d`) where ((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0) and (`c`.`ID` = `b`.`itemID`) and (`c`.`itemCategoryID` = `d`.`ID`)) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemName`,`category`,`b`.`description`;

-- --------------------------------------------------------

--
-- Structure for view `view_inventory_statement`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_inventory_statement` AS select `a`.`companyID` AS `companyID`,`a`.`deliveryDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`g`.`supplierName` AS `supplierCustomer`,1 AS `transactionCode`,'Purchase' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,`b`.`quantityReceived` AS `quantityIn`,NULL AS `quantityOut`,`a`.`updateAble` AS `updateable` from ((((((`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on((`a`.`ID` = `b`.`receiveID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) join `tbl_location` `d`) join `_sys_um` `e`) join `supplier` `g`) where ((`f`.`locationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`) and (`a`.`supplierID` = `f`.`ID`)) union select `a`.`companyID` AS `companyID`,`a`.`adjustmentDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,2 AS `transactionCode`,'stockAdjustment' AS `transactionType`,`a`.`formNo` AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,if(((`b`.`counted` - `b`.`qtyOnHand`) > 0),(`b`.`counted` - `b`.`qtyOnHand`),NULL) AS `quantityIn`,if(((`b`.`counted` - `b`.`qtyOnHand`) < 0),(`b`.`counted` - `b`.`qtyOnHand`),NULL) AS `quantityOut`,`a`.`updateAble` AS `updateable` from (((((`item_adjustment` `a` left join `item_adjustment_detail` `b` on((`a`.`ID` = `b`.`adjustmentID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) left join `tbl_location` `d` on((`d`.`fldid` = `a`.`locationID`))) left join `_sys_um` `e` on((`e`.`fldid` = `b`.`unitOfMeasureID`))) union select `a`.`companyID` AS `companyID`,`a`.`deliveryOrderDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`g`.`customerName` AS `supplierCustomer`,3 AS `transactionCode`,'Sale' AS `transactionType`,`a`.`formNo` AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,NULL AS `quantityIn`,(`b`.`quantitySent` * -(1)) AS `quantityOut`,`a`.`updateAble` AS `updateable` from ((((((`comp_delivery_order` `a` left join `comp_delivery_detail` `b` on((`a`.`ID` = `b`.`deliveryID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) join `tbl_location` `d`) join `_sys_um` `e`) join `customer` `g`) where ((`a`.`locationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`) and (`a`.`customerID` = `f`.`ID`)) union select `a`.`companyID` AS `companyID`,`a`.`dateTransfer` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,4 AS `transactionCode`,'TransferOut' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`fromLocationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,NULL AS `quantityIn`,(`b`.`quantity` * -(1)) AS `quantityOut`,`a`.`updateable` AS `updateable` from ((((`comp_location_transfer` `a` left join `comp_location_transfer_detail` `b` on((`a`.`ID` = `b`.`locationTransferID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`fromLocationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`)) union select `a`.`companyID` AS `companyID`,`a`.`dateTransfer` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,5 AS `transactionCode`,'TransferIn' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`toLocationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,`b`.`quantity` AS `quantityIn`,NULL AS `quantityOut`,`a`.`updateable` AS `updateable` from ((((`comp_location_transfer` `a` left join `comp_location_transfer_detail` `b` on((`a`.`ID` = `b`.`locationTransferID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`fromLocationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`));

-- --------------------------------------------------------

--
-- Structure for view `view_item_details`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_item_details` AS select `b`.`companyID` AS `companyid`,`a`.`itemID` AS `itemid`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`c`.`description` AS `description`,`b`.`locationID` AS `locationid`,sum(`a`.`balanceItem`) AS `onHandQty`,`a`.`umID` AS `umID`,`c`.`inventoriesID` AS `acctID`,`d`.`code` AS `location`,`e`.`code` AS `unitOfMeasure` from ((((`comp_receive_item_detail` `a` join `comp_receive_item` `b`) join `item` `c`) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`receiveID` = `b`.`ID`) and (`a`.`itemID` = `c`.`ID`) and (`d`.`fldid` = `b`.`locationID`) and (`e`.`fldid` = `a`.`umID`) and (`a`.`balanceItem` > 0)) group by `b`.`companyID`,`a`.`itemID`,`a`.`itemName`,`c`.`description`,`b`.`locationID`,`a`.`umID`,`acctID`,`location`,`unitOfMeasure`;

-- --------------------------------------------------------

--
-- Structure for view `view_open_ar_invoice`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`192.168.1.174` SQL SECURITY DEFINER VIEW `view_open_ar_invoice` AS select `comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`salesInvoiceDate` AS `salesInvoiceDate`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%Y') AS `salesYear`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%m') AS `salesMonth`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%b') AS `slsMonth`,(`comp_sales_invoice`.`totalReceivable` * if((`comp_sales_invoice`.`exchangeRate` = 0),1,`comp_sales_invoice`.`exchangeRate`)) AS `totalAmount` from `comp_sales_invoice` where (`comp_sales_invoice`.`totalReceivable` <> 0);

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_delivery_order`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_delivery_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_delivery_order` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 49))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_payment`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_payment` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_payment` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 44))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_payment_others`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_payment_others` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_payment_others` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 55))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_purchase_order`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_purchase_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`po`.`serialNo`) from `comp_purchase_order` `po` where (`c`.`ID` = `po`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 40))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_quotation`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_quotation` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_quotation` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 47))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_receive_item`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_receive_item` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_receive_item` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 54))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_receive_payment`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_receive_payment` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_receive_payment` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 53))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_sales_creditnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_sales_creditnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_creditnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 52))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_sales_debitnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_sales_debitnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_debitnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 51))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_sales_invoice`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_sales_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 50))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_sales_order`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_sales_order` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_sales_order` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 48))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_supplier_creditnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_supplier_creditnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_creditnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 43))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_supplier_debitnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_supplier_debitnote` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_debitnote` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 42))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_serial_comp_supplier_invoice`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_serial_comp_supplier_invoice` AS select `c`.`ID` AS `companyID`,ifnull(((select max(`t`.`serialNo`) from `comp_supplier_invoice` `t` where (`c`.`ID` = `t`.`companyID`)) + 1),ifnull((select `frm`.`formInitialNo` from `comp_form_control` `frm` where ((`frm`.`companyID` = `c`.`ID`) and (`frm`.`formID` = 41))),1)) AS `nextSerialNo` from `company` `c`;

-- --------------------------------------------------------

--
-- Structure for view `view_supplier_aging`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_supplier_aging` AS select `a`.`ID` AS `supplierID`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 0) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `current`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 1) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month1`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 2) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month2`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 3) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month3`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 4) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month4`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 5) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month5`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 6) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month6`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 7) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month7`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 8) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month8`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 9) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month9`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) = 10) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month10`,(select sum(`comp_supplier_invoice`.`totalPayable`) from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`companyID` = `a`.`companyID`) and (`comp_supplier_invoice`.`supplierID` = `a`.`ID`) and (timestampdiff(MONTH,`comp_supplier_invoice`.`invoiceDate`,now()) > 10) and (`comp_supplier_invoice`.`updateAble` = 0))) AS `month11` from `supplier` `a`;

-- --------------------------------------------------------

--
-- Structure for view `view_supplier_statement`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_supplier_statement` AS select `comp_supplier_invoice`.`ID` AS `ID`,`comp_supplier_invoice`.`ID` AS `parent`,`comp_supplier_invoice`.`companyID` AS `companyID`,`comp_supplier_invoice`.`supplierID` AS `supplierID`,'Invoice' AS `transType`,`comp_supplier_invoice`.`invoiceDate` AS `transDate`,`comp_supplier_invoice`.`supplierInvoiceNo` AS `refNo`,concat(concat(concat(`comp_supplier_invoice`.`formNo`,'['),convert(lpad(`comp_supplier_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`comp_supplier_invoice`.`totalAmount` AS `dr`,NULL AS `cr`,1 AS `seq` from `comp_supplier_invoice` where (`comp_supplier_invoice`.`updateAble` = 0) union select `comp_supplier_debitnote`.`ID` AS `ID`,`comp_supplier_debitnote`.`supplierInvoiceID` AS `parent`,`comp_supplier_debitnote`.`companyID` AS `companyID`,`comp_supplier_debitnote`.`supplierID` AS `supplierID`,'DebitNote' AS `transType`,`comp_supplier_debitnote`.`debitNoteDate` AS `transDate`,NULL AS `refno`,concat(concat(concat(`comp_supplier_debitnote`.`formNo`,'['),convert(lpad(`comp_supplier_debitnote`.`ID`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`comp_supplier_debitnote`.`totalAmount` AS `cr`,2 AS `seq` from `comp_supplier_debitnote` where (`comp_supplier_debitnote`.`updateAble` = 0) union select `comp_supplier_creditnote`.`ID` AS `ID`,`comp_supplier_creditnote`.`supplierInvoiceID` AS `parent`,`comp_supplier_creditnote`.`companyID` AS `companyID`,`comp_supplier_creditnote`.`supplierID` AS `supplierID`,'CreditNote' AS `transType`,`comp_supplier_creditnote`.`creditNoteDate` AS `transDate`,NULL AS `refno`,concat(concat(concat(`comp_supplier_creditnote`.`formNo`,'['),convert(lpad(`comp_supplier_creditnote`.`ID`,8,'0') using latin1)),']') AS `formNo`,`comp_supplier_creditnote`.`totalAmount` AS `dr`,NULL AS `cr`,3 AS `seq` from `comp_supplier_creditnote` where (`comp_supplier_creditnote`.`updateAble` = 0) union select `a`.`ID` AS `ID`,`a`.`purchaseInvoiceID` AS `parent`,`b`.`companyID` AS `companyID`,`b`.`supplierID` AS `supplierID`,'Payment' AS `transType`,`b`.`paymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`ID`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`amountApplied` AS `cr`,4 AS `seq` from (`comp_payment_detail` `a` join `comp_payment` `b`) where ((`a`.`paymentID` = `b`.`ID`) and (`b`.`updateAble` = 0)) union select `a`.`ID` AS `ID`,`a`.`purchaseInvoiceID` AS `parent`,`b`.`companyID` AS `companyID`,`b`.`supplierID` AS `supplierID`,'Payment' AS `transType`,`b`.`paymentDate` AS `transDate`,'Discount' AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`ID`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`discount` AS `cr`,5 AS `seq` from (`comp_payment_detail` `a` join `comp_payment` `b`) where ((`a`.`paymentID` = `b`.`ID`) and (`b`.`updateAble` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_total_comp_sales_creditnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_total_comp_sales_creditnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_creditnote_charges`.`taxAmount`),0) from `comp_sales_creditnote_charges` where (`comp_sales_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_creditnote_detail`.`taxAmount`),0) from `comp_sales_creditnote_detail` where (`comp_sales_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_creditnote_detail`.`amountIncludedTax`),0) from `comp_sales_creditnote_detail` where (`comp_sales_creditnote_detail`.`creditnoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_creditnote_charges`.`amountIncludedTax`),0) from `comp_sales_creditnote_charges` where (`comp_sales_creditnote_charges`.`creditNoteID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_creditnote` `a` group by `a`.`ID`;

-- --------------------------------------------------------

--
-- Structure for view `view_total_comp_sales_debitnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_total_comp_sales_debitnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_debitnote_charges`.`taxAmount`),0) from `comp_sales_debitnote_charges` where (`comp_sales_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_debitnote_detail`.`taxAmount`),0) from `comp_sales_debitnote_detail` where (`comp_sales_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_debitnote_charges`.`amountIncludedTax`),0) from `comp_sales_debitnote_charges` where (`comp_sales_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_debitnote_detail`.`amountIncludedTax`),0) from `comp_sales_debitnote_detail` where (`comp_sales_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_debitnote` `a` group by `a`.`ID`;

-- --------------------------------------------------------

--
-- Structure for view `view_total_comp_sales_invoice`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_total_comp_sales_invoice` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_sales_invoice_charges`.`taxAmount`),0) from `comp_sales_invoice_charges` where (`comp_sales_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_invoice_detail`.`taxAmount`),0) from `comp_sales_invoice_detail` where (`comp_sales_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_sales_invoice_charges`.`amountIncludedTax`),0) from `comp_sales_invoice_charges` where (`comp_sales_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_sales_invoice_detail`.`amountIncludedTax`),0) from `comp_sales_invoice_detail` where (`comp_sales_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalAmount` from `comp_sales_invoice` `a` group by `a`.`ID`;

-- --------------------------------------------------------

--
-- Structure for view `view_total_comp_supplier_creditnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_total_comp_supplier_creditnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_creditnote_charges`.`taxAmount`),0) from `comp_supplier_creditnote_charges` where (`comp_supplier_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_creditnote_detail`.`taxAmount`),0) from `comp_supplier_creditnote_detail` where (`comp_supplier_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_creditnote_charges`.`amountIncludedTax`),0) from `comp_supplier_creditnote_charges` where (`comp_supplier_creditnote_charges`.`creditNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_creditnote_detail`.`amountIncludedTax`),0) from `comp_supplier_creditnote_detail` where (`comp_supplier_creditnote_detail`.`creditnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_creditnote_detail` `a` group by `a`.`ID`;

-- --------------------------------------------------------

--
-- Structure for view `view_total_comp_supplier_debitnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_total_comp_supplier_debitnote` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_debitnote_charges`.`taxAmount`),0) from `comp_supplier_debitnote_charges` where (`comp_supplier_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_debitnote_detail`.`taxAmount`),0) from `comp_supplier_debitnote_detail` where (`comp_supplier_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_debitnote_charges`.`amountIncludedTax`),0) from `comp_supplier_debitnote_charges` where (`comp_supplier_debitnote_charges`.`debitNoteID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_debitnote_detail`.`amountIncludedTax`),0) from `comp_supplier_debitnote_detail` where (`comp_supplier_debitnote_detail`.`debitnoteID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_debitnote` `a` group by `a`.`ID`;

-- --------------------------------------------------------

--
-- Structure for view `view_total_comp_supplier_invoice`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_total_comp_supplier_invoice` AS select distinct `a`.`ID` AS `ID`,((select ifnull(sum(`comp_supplier_invoice_charges`.`taxAmount`),0) from `comp_supplier_invoice_charges` where (`comp_supplier_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_invoice_detail`.`taxAmount`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalTaxAmount`,((select ifnull(sum(`comp_supplier_invoice_charges`.`amountIncludedTax`),0) from `comp_supplier_invoice_charges` where (`comp_supplier_invoice_charges`.`invoiceID` = `a`.`ID`)) + (select ifnull(sum(`comp_supplier_invoice_detail`.`amountIncludedTax`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `totalAmount` from `comp_supplier_invoice` `a` group by `a`.`ID`;

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_ap_creditnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_ap_creditnote` AS select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `creditnoteID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_creditnote` `a` join (`comp_supplier_creditnote_detail` `b` left join `item` `d` on((`b`.`itemID` = `d`.`ID`)))) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`e`.`ID` = `a`.`supplierID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_ap_debitnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_ap_debitnote` AS select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `debitnoteID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from (((`comp_supplier_debitnote` `a` join (`comp_supplier_debitnote_detail` `b` left join `item` `d` on((`b`.`itemID` = `d`.`ID`)))) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`supplierID` = `e`.`ID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_ap_invoice`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_ap_invoice` AS select `d`.`supplierName` AS `supplier`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAP'))) AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_invoice` `a` left join `comp_supplier_invoice_detail` `b` on((`a`.`ID` = `b`.`invoiceID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `supplier` `d` on((`d`.`ID` = `a`.`supplierID`))) where ((`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `d`.`supplierName` AS `supplier`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,(`b`.`lineNo` + (select ifnull(max(`comp_supplier_invoice_detail`.`lineNo`),0) from `comp_supplier_invoice_detail` where (`comp_supplier_invoice_detail`.`invoiceID` = `a`.`ID`))) AS `lineNo`,NULL AS `itemID`,`b`.`itemname` AS `itemname`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from ((`comp_supplier_invoice` `a` left join `comp_supplier_invoice_charges` `b` on((`a`.`ID` = `b`.`invoiceID`))) left join `supplier` `d` on((`d`.`ID` = `a`.`supplierID`))) where ((`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_ar_creditnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_ar_creditnote` AS select `a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `creditnoteID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`ID`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from (((((`comp_sales_creditnote` `a` left join `comp_sales_creditnote_detail` `b` on((`a`.`ID` = `b`.`creditnoteID`))) left join `item` `d` on((`b`.`itemID` = `d`.`ID`))) left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_ar_debitnote`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_ar_debitnote` AS select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `debitnoteID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`ID`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from (((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_detail` `b` on((`a`.`ID` = `b`.`debitnoteID`))) left join `item` `d` on((`b`.`itemID` = `d`.`ID`))) left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`debitnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `debitnoteID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`ID`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,NULL AS `itemID`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'freightcharges'))) AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from ((((`comp_sales_debitnote` `a` left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) join `comp_sales_debitnote_charges` `b`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`debitNoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_ar_invoice`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_ar_invoice` AS select `e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join (`comp_sales_invoice_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `NULL`,`b`.`chargeDescription` AS `chargedescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join `comp_sales_invoice_charges` `b`) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`e`.`ID` = `a`.`customerID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,0 AS `0`,'commission' AS `itemName`,(`a`.`totalamount` * `b`.`commisionRate`) AS `a.totalamount * b.commisionRate`,0 AS `0`,0 AS `0`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'commissionexp'))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'commissionpay'))) AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID` from ((`comp_sales_invoice` `a` join `comp_sales_agent` `b`) join `customer` `e`) where ((`a`.`companyID` = `b`.`companyID`) and (`a`.`agentID` = `b`.`ID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`agentID` > 0) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`customerName` AS `customer`,`a`.`ID` AS `invoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,0 AS `0`,'wakaf' AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,0 AS `0`,0 AS `0`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'wakafExpense'))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'wakafAcrual'))) AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID` from ((((`comp_sales_invoice` `a` join `comp_sales_invoice_detail` `b`) join `wakaf_acrual` `c`) join `item` `d`) join `customer` `e`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `e`.`ID`) and (`a`.`companyID` = `c`.`companyID`) and (`b`.`itemID` = `d`.`ID`) and (`d`.`incomeID` = `c`.`salesAccountID`) and (`a`.`salesInvoiceDate` between `c`.`from` and `c`.`to`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_ar_payment`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_ar_payment` AS select `a`.`ID` AS `paymentID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`a`.`referenceNo` AS `referenceNo`,`b`.`ID` AS `paymentDetailID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`ID`,8,'0') using latin1),']') AS `salesInvoiceNo`,(`b`.`amountApplied` - `b`.`discount`) AS `amtPaid_amtAppl`,`b`.`discount` AS `discount_bankCharges`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drAccountID`,NULL AS `crAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `crDiscountAccountID` from ((`comp_receive_payment` `a` join `comp_receive_payment_detail` `b`) join `comp_sales_invoice` `c`) where ((`a`.`ID` = `b`.`receivePaymentID`) and (`c`.`ID` = `b`.`invoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_do`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`192.168.1.174` SQL SECURITY DEFINER VIEW `view_unpost_do` AS select `a`.`ID` AS `deliveryOrderID`,`a`.`formNo` AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID` from `comp_delivery_order` `a` where (`a`.`updateAble` = 1);

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_other_payment`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_other_payment` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountIncludedTax` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payAcct'))) AS `drAccountID`,`a`.`accountID` AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payAcct'))) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (`comp_payment_others` `a` join `comp_payment_others_with_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`ID`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemdescription` AS `itemdescription`,`b`.`amountIncludedTax` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payAcct'))) AS `drAccountID`,`a`.`accountID` AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payAcct'))) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_payment`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_payment` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,NULL AS `purchaseInvoiceID`,NULL AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`a`.`amountPaid` AS `amtPaid_amtAppl`,`a`.`bankCharges` AS `discount_bankCharges`,NULL AS `drAccountID`,`a`.`accountID` AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'bankchargesAccount'))) AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from `comp_payment` `a` where ((`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`ID`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`purchaseInvoiceID` AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,(`b`.`amountApplied` - `b`.`discount`) AS `amtPaid_amtAppl`,`b`.`discount` AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,NULL AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from ((`comp_payment` `a` join `comp_payment_detail` `b`) join `comp_supplier_invoice` `c`) where ((`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`purchaseInvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0));

-- --------------------------------------------------------

--
-- Structure for view `view_unpost_receive_item`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_unpost_receive_item` AS select `a`.`ID` AS `receiveID`,`a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`a`.`deliveryDate` AS `transactionDate`,`a`.`supplierID` AS `supplierID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`a`.`exchangeRate` AS `exchangeRate`,`b`.`unitPrice` AS `unitPrice`,`b`.`quantityReceived` AS `quantityReceived`,`b`.`umID` AS `umID`,`b`.`amount` AS `amount`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAP'))) AS `drAccountID`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID` from ((`comp_receive_item` `a` join `comp_receive_item_detail` `b`) join `item` `c`) where ((`a`.`updateAble` = 1) and (`a`.`ID` = `b`.`receiveID`) and (`b`.`itemID` = `c`.`ID`));

-- --------------------------------------------------------

--
-- Structure for view `view_wakaf_accrual`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view_wakaf_accrual` AS select `b`.`companyID` AS `companyID`,`b`.`acctID` AS `acctID`,sum(`b`.`total`) AS `totalAmount` from (`company` `a` join `comp_acc_det` `b`) where ((`a`.`ID` = `b`.`companyID`) and `b`.`acctID` in (select distinct `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where (`comp_control_acct_setup`.`accountCode` = 'wakafAcrual'))) group by `b`.`companyID`,`b`.`acctID`;

DELIMITER $$
--
-- Events
--
CREATE DEFINER=`root`@`localhost` EVENT `countSupplierBalance` ON SCHEDULE EVERY 1 MONTH STARTS '2014-06-25 16:43:47' ON COMPLETION PRESERVE ENABLE DO insert into comp_supplier_closing (companyID, supplierID, yearMonth,openBalance,totalDr,totalCr,balance)
	select c.companyID, c.ID as supplierID, date_format(now(),"%Y%m") as yearMonth, 
	coalesce(b.openBalance,0) as openBalance, coalesce(sum(a.dr),0) as totalDr, 
	coalesce(sum(a.cr),0) as totalCr, 
	coalesce(b.openBalance,0) - coalesce(sum(a.dr),0) - coalesce(sum(a.cr),0) as balance
	from (supplier c left outer join view_supplier_statement a on c.ID = a.supplierID 
	and date_format(a.transDate,"%Y%m") = date_format(now(),"%Y%m")) 
	left outer join comp_supplier_closing b on a.supplierID = b.supplierID
	and a.companyID = b.companyID 
	and b.yearMonth = date_format(a.transDate - interval 1 month,"%Y%m")
	
	group by c.id, a.companyID$$

CREATE DEFINER=`root`@`localhost` EVENT `countSupplierBalanceDaily` ON SCHEDULE EVERY 1 DAY STARTS '2014-06-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO insert into comp_supplier_closing_daily (companyID, supplierID, transDate,openBalance,totalDr,totalCr,balance)
	select c.companyID, c.ID as supplierID,  date_format(now(),"%Y%m%d") as transDate, 
	coalesce(b.openBalance,0) as openBanlance, coalesce(sum(a.dr),0) as totalDr, 
	coalesce(sum(a.cr),0) as totalCr, 
	coalesce(b.openBalance,0) - coalesce(sum(a.dr),0) - coalesce(sum(a.cr),0) as balance 
	from (supplier c left outer join view_supplier_statement a on c.ID = a.supplierID 
		and date_format(a.transDate,"%Y%m%d") = date_format(now(),"%Y%m%d")) 
		left outer join comp_supplier_closing_daily b on a.supplierID = b.supplierID and a.companyID = b.companyID 
		and b.transDate = a.transDate - interval 1 day 
	group by c.id, a.companyID$$

DELIMITER ;

