CREATE TABLE IF NOT EXISTS `comp_receive_payment_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receivePaymentID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `ARBalance` double NOT NULL,
  `discount` double NOT NULL,
  `amountApplied` double NOT NULL,
  `debtRecoverID` int(11) NOT NULL DEFAULT '0',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=98 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_receive_payment_detail: ~91 rows (approximately)
DELETE FROM `comp_receive_payment_detail`;
INSERT INTO `comp_receive_payment_detail` (`ID`, `receivePaymentID`, `lineNo`, `invoiceID`, `totalAmount`, `ARBalance`, `discount`, `amountApplied`, `debtRecoverID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(1, 8, 0, 18, 0, 0, 121, 10000, 0, 0, '2014-06-26 15:12:55', 0, '0000-00-00 00:00:00'),
	(2, 8, 0, 19, 0, 0, 121, 10000, 0, 0, '2014-06-26 15:14:52', 0, '0000-00-00 00:00:00'),
	(3, 10, 0, 18, 0, 0, 0, 10000, 0, 0, '2014-07-03 09:21:11', 0, '0000-00-00 00:00:00'),
	(4, 10, 0, 19, 0, 0, 0, 10000, 0, 0, '2014-07-03 09:22:59', 0, '0000-00-00 00:00:00'),
	(5, 11, 0, 0, 0, 0, 0, 10000, 0, 0, '2014-06-17 20:10:28', 0, '0000-00-00 00:00:00'),
	(6, 11, 0, 0, 0, 0, 0, 10000, 0, 0, '2014-06-17 20:10:28', 0, '0000-00-00 00:00:00'),
	(7, 12, 0, 0, 0, 0, 0, 10000, 0, 0, '2014-06-17 20:10:29', 0, '0000-00-00 00:00:00'),
	(8, 12, 0, 0, 0, 0, 0, 10000, 0, 0, '2014-06-17 20:10:29', 0, '0000-00-00 00:00:00'),
	(9, 13, 0, 0, 0, 0, 0, 10000, 0, 0, '2014-06-17 20:13:35', 0, '0000-00-00 00:00:00'),
	(10, 14, 0, 0, 0, 0, 0, 10000, 0, 0, '2014-07-03 09:21:00', 0, '0000-00-00 00:00:00'),
	(11, 15, 0, 0, 0, 0, 0, 10000, 0, 0, '2014-06-17 20:13:44', 0, '0000-00-00 00:00:00'),
	(12, 16, 0, 0, 0, 0, 0, 10000, 0, 0, '2014-06-17 20:13:48', 0, '0000-00-00 00:00:00'),
	(13, 17, 0, 18, 0, 0, 1, 2509.44, 0, 0, '2014-06-27 10:30:38', 0, '0000-00-00 00:00:00'),
	(14, 18, 0, 18, 0, 0, 1, 2509.44, 0, 0, '2014-06-27 10:30:46', 0, '0000-00-00 00:00:00'),
	(15, 19, 0, 19, 0, 0, 0, 1, 0, 0, '2014-06-27 10:33:52', 0, '0000-00-00 00:00:00'),
	(16, 20, 0, 20, 0, 0, 0, 12, 0, 0, '2014-06-27 15:18:03', 0, '0000-00-00 00:00:00'),
	(17, 22, 0, 21, 0, 0, 0, 1.01, 0, 0, '2014-06-27 15:24:55', 0, '0000-00-00 00:00:00'),
	(18, 23, 0, 22, 0, 0, 11, 3.16, 0, 0, '2014-06-27 15:28:48', 0, '0000-00-00 00:00:00'),
	(19, 24, 0, 23, 0, 0, 0, 1, 0, 0, '2014-06-27 15:38:01', 0, '0000-00-00 00:00:00'),
	(20, 24, 0, 24, 0, 0, 0, 1, 0, 0, '2014-06-27 15:38:01', 0, '0000-00-00 00:00:00'),
	(21, 25, 1, 26, 0, 0, 1, 1, 0, 0, '2014-06-27 15:49:42', 0, '0000-00-00 00:00:00'),
	(22, 25, 2, 27, 0, 0, 1, 1, 0, 0, '2014-06-27 15:49:42', 0, '0000-00-00 00:00:00'),
	(23, 26, 1, 32, 0, 0, 1, 1, 0, 0, '2014-06-30 11:57:14', 0, '0000-00-00 00:00:00'),
	(24, 27, 1, 30, 0, 0, 1, 1, 0, 0, '2014-06-30 12:00:22', 0, '0000-00-00 00:00:00'),
	(28, 28, 4, 30, 0, 0, 11, 0, 0, 0, '2014-07-01 13:20:23', 0, '0000-00-00 00:00:00'),
	(29, 28, 5, 31, 0, 0, 0, 12, 0, 0, '2014-07-01 13:20:34', 0, '0000-00-00 00:00:00'),
	(30, 29, 1, 28, 0, 0, 1, 1, 0, 0, '2014-06-30 12:51:01', 0, '0000-00-00 00:00:00'),
	(31, 29, 2, 29, 0, 0, 0, 1, 0, 0, '2014-06-30 12:51:01', 0, '0000-00-00 00:00:00'),
	(32, 29, 3, 30, 0, 0, 0, 1, 0, 0, '2014-06-30 12:51:01', 0, '0000-00-00 00:00:00'),
	(33, 29, 4, 31, 0, 0, 1, 1, 0, 0, '2014-06-30 12:51:01', 0, '0000-00-00 00:00:00'),
	(34, 30, 1, 28, 0, 0, 0, 1, 0, 0, '2014-07-01 09:42:58', 0, '0000-00-00 00:00:00'),
	(35, 30, 2, 30, 0, 0, 12, 0, 0, 0, '2014-07-01 09:30:42', 0, '0000-00-00 00:00:00'),
	(36, 30, 3, 31, 0, 0, 1, 1, 0, 0, '2014-06-30 13:01:26', 0, '0000-00-00 00:00:00'),
	(37, 28, 6, 30, 0, 0, 0, 1, 0, 0, '2014-07-01 16:15:41', 0, '0000-00-00 00:00:00'),
	(39, 28, 7, 29, 0, 0, 0, 1, 0, 0, '2014-07-01 16:18:47', 0, '0000-00-00 00:00:00'),
	(40, 28, 8, 31, 0, 0, 0, 1, 0, 0, '2014-07-01 16:18:47', 0, '0000-00-00 00:00:00'),
	(41, 31, 1, 19, 0, 0, 0, 6293.5, 0, 0, '2014-08-29 16:36:35', 0, '0000-00-00 00:00:00'),
	(42, 32, 1, 171, 0, 0, 0, 636, 0, 0, '2014-09-16 10:40:19', 0, '0000-00-00 00:00:00'),
	(43, 33, 1, 171, 0, 0, 0, 636, 0, 0, '2014-09-16 10:40:19', 0, '0000-00-00 00:00:00'),
	(44, 34, 1, 174, 0, 0, 0, 254400, 0, 0, '2014-09-16 14:22:07', 0, '0000-00-00 00:00:00'),
	(45, 35, 1, 161, 0, 0, 0, 246, 0, 0, '2014-09-17 10:40:43', 0, '0000-00-00 00:00:00'),
	(46, 35, 2, 162, 0, 0, 0, 6000, 0, 0, '2014-09-17 10:40:43', 0, '0000-00-00 00:00:00'),
	(47, 36, 1, 163, 0, 0, 0, 3, 0, 0, '2014-09-17 11:37:38', 0, '0000-00-00 00:00:00'),
	(48, 37, 1, 163, 0, 0, 0, 3, 0, 0, '2014-09-17 11:52:24', 0, '0000-00-00 00:00:00'),
	(49, 38, 1, 163, 0, 0, 0, 3, 0, 0, '2014-09-17 11:52:28', 0, '0000-00-00 00:00:00'),
	(50, 39, 1, 163, 0, 0, 0, 4, 0, 0, '2014-09-17 11:53:49', 0, '0000-00-00 00:00:00'),
	(51, 40, 1, 163, 0, 0, 0, 4, 0, 0, '2014-09-17 11:53:54', 0, '0000-00-00 00:00:00'),
	(52, 41, 1, 163, 0, 0, 0, 4, 0, 0, '2014-09-17 11:54:02', 0, '0000-00-00 00:00:00'),
	(53, 42, 1, 163, 0, 0, 0, 4, 0, 0, '2014-09-17 11:54:03', 0, '0000-00-00 00:00:00'),
	(54, 43, 1, 163, 0, 0, 0, 4, 0, 0, '2014-09-17 11:54:03', 0, '0000-00-00 00:00:00'),
	(56, 45, 1, 163, 0, 0, 0, 362, 0, 0, '2014-09-17 12:44:29', 0, '0000-00-00 00:00:00'),
	(57, 46, 1, 163, 0, 0, 0, 362, 0, 0, '2014-09-17 12:44:38', 0, '0000-00-00 00:00:00'),
	(58, 47, 1, 164, 0, 0, 0, 369, 0, 0, '2014-09-17 12:46:11', 0, '0000-00-00 00:00:00'),
	(59, 48, 1, 165, 0, 0, 0, 5, 0, 0, '2014-09-17 12:46:53', 0, '0000-00-00 00:00:00'),
	(61, 44, 1, 163, 0, 0, 0, 100, 0, 0, '2014-09-17 13:32:20', 0, '0000-00-00 00:00:00'),
	(62, 49, 1, 163, 0, 0, 0, 262, 0, 0, '2014-09-17 16:10:13', 0, '0000-00-00 00:00:00'),
	(63, 49, 2, 165, 0, 0, 0, 339, 0, 0, '2014-09-17 16:10:14', 0, '0000-00-00 00:00:00'),
	(64, 49, 3, 178, 0, 0, 0, 123, 0, 0, '2014-09-17 16:10:14', 0, '0000-00-00 00:00:00'),
	(65, 49, 4, 184, 0, 0, 0, 1.06, 0, 0, '2014-09-17 16:10:14', 0, '0000-00-00 00:00:00'),
	(66, 49, 5, 185, 0, 0, 0, 106, 0, 0, '2014-09-17 16:10:14', 0, '0000-00-00 00:00:00'),
	(67, 52, 1, 167, 0, 0, 10, 886, 0, 0, '2014-09-18 17:20:55', 0, '0000-00-00 00:00:00'),
	(68, 53, 1, 160, 0, 0, 0, 2345, 0, 0, '2014-09-26 11:09:50', 0, '0000-00-00 00:00:00'),
	(69, 53, 2, 172, 0, 0, 0, 123, 0, 0, '2014-09-26 11:09:50', 0, '0000-00-00 00:00:00'),
	(70, 53, 3, 173, 0, 0, 0, 374.18, 0, 0, '2014-09-26 11:09:50', 0, '0000-00-00 00:00:00'),
	(71, 53, 4, 176, 0, 0, 0, 400, 0, 0, '2014-09-26 11:09:50', 0, '0000-00-00 00:00:00'),
	(72, 54, 1, 166, 0, 0, 0, 4579, 0, 0, '2014-09-26 15:57:23', 0, '0000-00-00 00:00:00'),
	(73, 54, 2, 169, 0, 0, 0, 14003, 0, 0, '2014-09-26 15:57:23', 0, '0000-00-00 00:00:00'),
	(74, 54, 3, 170, 0, 0, 0, 2000, 0, 0, '2014-09-26 15:57:23', 0, '0000-00-00 00:00:00'),
	(75, 55, 1, 177, 0, 0, 0, 248.04, 0, 0, '2014-09-26 16:50:14', 0, '0000-00-00 00:00:00'),
	(76, 55, 2, 191, 0, 0, 0, 82667.28, 0, 0, '2014-09-26 16:50:14', 0, '0000-00-00 00:00:00'),
	(77, 56, 1, 179, 0, 0, 0, 566.04, 0, 0, '2014-09-29 11:37:47', 0, '0000-00-00 00:00:00'),
	(78, 56, 2, 192, 0, 0, 0, 5196.12, 0, 0, '2014-09-29 11:37:48', 0, '0000-00-00 00:00:00'),
	(79, 57, 1, 25, 0, 0, 0, 1, 0, 0, '2014-09-30 16:48:13', 0, '0000-00-00 00:00:00'),
	(80, 57, 2, 28, 0, 0, 0, 1060.31, 0, 0, '2014-09-30 16:48:13', 0, '0000-00-00 00:00:00'),
	(81, 57, 3, 29, 0, 0, 0, 7535.36, 0, 0, '2014-09-30 16:48:13', 0, '0000-00-00 00:00:00'),
	(82, 57, 4, 31, 0, 0, 0, 13, 0, 0, '2014-09-30 16:48:13', 0, '0000-00-00 00:00:00'),
	(83, 57, 5, 33, 0, 0, 0, 1020.78, 0, 0, '2014-09-30 16:48:13', 0, '0000-00-00 00:00:00'),
	(84, 57, 6, 34, 0, 0, 0, 3103.68, 0, 0, '2014-09-30 16:48:13', 0, '0000-00-00 00:00:00'),
	(85, 58, 1, 209, 0, 0, 1000, 20000, 0, 0, '2014-10-02 09:59:18', 0, '0000-00-00 00:00:00'),
	(86, 59, 1, 209, 0, 0, 0, 1000, 11, 0, '2014-10-03 18:06:13', 0, '0000-00-00 00:00:00'),
	(87, 60, 1, 209, 0, 0, 0, 1000, 11, 0, '2014-10-03 18:06:13', 0, '0000-00-00 00:00:00'),
	(88, 61, 1, 211, 0, 0, 0, 30000.7, 11, 0, '2014-10-03 18:06:13', 0, '0000-00-00 00:00:00'),
	(89, 62, 1, 209, 0, 0, 0, 1000, 11, 0, '2014-10-03 18:06:13', 0, '0000-00-00 00:00:00'),
	(90, 63, 1, 209, 0, 0, 0, 1000, 12, 0, '2014-10-10 17:25:12', 0, '0000-00-00 00:00:00'),
	(91, 63, 2, 210, 0, 0, 0, 2000, 0, 0, '2014-10-10 17:17:59', 0, '0000-00-00 00:00:00'),
	(92, 64, 1, 223, 0, 0, 0, 300.04, 0, 0, '2014-10-10 17:52:46', 0, '0000-00-00 00:00:00'),
	(93, 65, 1, 223, 0, 0, 0, 100, 14, 0, '2014-10-10 18:07:37', 0, '0000-00-00 00:00:00'),
	(94, 66, 1, 224, 0, 0, 0, 1000, 0, 0, '2014-10-15 10:47:26', 0, '0000-00-00 00:00:00'),
	(95, 67, 1, 225, 0, 0, 0, 300, 0, 0, '2014-10-15 10:51:17', 0, '0000-00-00 00:00:00'),
	(96, 68, 1, 224, 0, 0, 0, 60, 0, 0, '2014-10-31 15:36:24', 0, '0000-00-00 00:00:00'),
	(97, 68, 2, 225, 0, 0, 0, 230, 0, 0, '2014-10-31 15:36:24', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_receive_payment_others
CREATE TABLE IF NOT EXISTS `comp_receive_payment_others` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `receiveFrom` varchar(128) NOT NULL,
  `projectID` int(11) NOT NULL,
  `paymentMethodID` int(11) NOT NULL,
  `referenceNo` int(11) NOT NULL,
  `bankID` int(11) NOT NULL,
  `accountID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `receivePaymentDate` date NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `addressID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `totalDiscount` double NOT NULL,
  `bankCharges` double NOT NULL,
  `totalOtherCharge` double NOT NULL,
  `totalReceived` double NOT NULL,
  `totalApplied` double NOT NULL,
  `updateAble` smallint(1) NOT NULL DEFAULT '1',
  `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,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_receive_payment_others: ~88 rows (approximately)
DELETE FROM `comp_receive_payment_others`;
INSERT INTO `comp_receive_payment_others` (`ID`, `serialNo`, `companyID`, `receiveFrom`, `projectID`, `paymentMethodID`, `referenceNo`, `bankID`, `accountID`, `formNo`, `receivePaymentDate`, `currencyID`, `exchangeRate`, `addressID`, `memo`, `totalDiscount`, `bankCharges`, `totalOtherCharge`, `totalReceived`, `totalApplied`, `updateAble`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `journalNo`) VALUES
	(1, 1, 93, 'ASAA', 30, 119, 0, 37, 0, 'ORI', '2014-09-24', 0, 0, 0, 'XAA', 0, 0, 0, 121, 0, 0, 16, '2014-09-24 11:39:38', 0, '2014-09-24 15:13:34', 0, 'AR20140900000017'),
	(2, 2, 1, 'zxax awES', 31, 69, 0, 37, 0, 'ORI', '2014-09-24', 0, 0, 0, 'DQE', 0, 0, 0, 121, 0, 1, 16, '2014-09-24 11:44:51', 0, '2014-10-03 09:18:20', 0, ''),
	(3, 1, 107, 'dsf', 0, 69, 0, 46, 0, 'ORI', '2014-09-30', 0, 0, 0, '', 0, 0, 0, 1060, 0, 1, 19, '2014-09-30 09:09:15', 0, '0000-00-00 00:00:00', 0, ''),
	(4, 1, 111, 'wdsfsdf', 0, 69, 32423, 49, 0, 'ORI', '2014-10-21', 0, 0, 0, '', 0, 0, 0, 1000, 0, 0, 19, '2014-10-21 17:38:21', 0, '2014-10-27 11:45:41', 0, 'AR20141000000004'),
	(5, 2, 111, 'admad', 0, 69, 56897, 49, 0, 'ORI', '2014-10-24', 0, 0, 0, '', 0, 0, 0, 20, 0, 0, 16, '2014-10-24 10:56:14', 0, '2014-10-27 11:56:44', 0, 'AR20141000000005'),
	(6, 2, 93, 'sdsc', 0, 126, 121, 37, 0, 'ORI', '2014-10-24', 0, 0, 0, 'sdsdc', 0, 0, 0, 121, 0, 1, 16, '2014-10-24 14:25:55', 0, '0000-00-00 00:00:00', 0, ''),
	(7, 3, 1, '213', 0, 69, 72831, 15, 0, 'ORI', '2014-10-24', 0, 0, 0, '', 0, 0, 0, 2312, 0, 1, 1, '2014-10-24 16:05:39', 0, '0000-00-00 00:00:00', 0, ''),
	(8, 3, 111, 'sdsad', 0, 69, 12333, 49, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 1060, 0, 0, 19, '2014-10-27 09:40:07', 0, '2014-10-27 12:11:46', 0, 'AR20141000000006'),
	(9, 4, 111, 'hgf', 0, 69, 6456, 49, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 1060, 0, 0, 19, '2014-10-27 12:18:19', 0, '2014-10-27 12:18:54', 0, 'AR20141000000007'),
	(10, 5, 111, 'JOJO', 0, 68, 0, 49, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 600, 0, 0, 52, '2014-10-27 16:07:56', 0, '2014-10-27 16:08:02', 0, 'AR20141000000008'),
	(11, 6, 111, 'WAWA', 0, 69, 0, 52, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 6360, 0, 0, 43, '2014-10-27 16:37:31', 0, '2014-10-27 16:37:54', 0, 'AR20141000000009'),
	(12, 7, 111, 'LULU', 0, 69, 0, 49, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 500, 0, 0, 52, '2014-10-27 16:45:44', 0, '2014-10-27 16:45:54', 0, 'AR20141000000010'),
	(13, 8, 111, 'FERHAD', 0, 68, 0, 52, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 2500, 0, 0, 43, '2014-10-27 16:59:36', 0, '2014-10-27 16:59:59', 0, 'AR20141000000011'),
	(14, 9, 111, 'ZAZA', 0, 69, 0, 52, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 10600, 0, 0, 43, '2014-10-27 17:03:56', 0, '2014-10-27 17:04:14', 0, 'AR20141000000012'),
	(15, 10, 111, 'WAWA', 0, 69, 0, 49, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 3500, 0, 0, 52, '2014-10-27 17:05:50', 0, '2014-10-27 17:05:59', 0, 'AR20141000000013'),
	(16, 11, 111, 'WANA', 0, 69, 0, 50, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 5900, 0, 0, 52, '2014-10-27 17:13:06', 0, '2014-10-27 17:13:14', 0, 'AR20141000000014'),
	(17, 12, 111, 'DATO\' K', 0, 69, 0, 52, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 1000000, 0, 0, 43, '2014-10-27 17:13:19', 0, '2014-10-27 17:13:42', 0, 'AR20141000000015'),
	(18, 13, 111, 'JENNY', 0, 69, 0, 50, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 3500, 0, 0, 52, '2014-10-27 17:15:04', 0, '2014-10-27 17:15:14', 0, 'AR20141000000016'),
	(19, 14, 111, 'MERA', 0, 69, 0, 50, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 45600, 0, 0, 52, '2014-10-27 17:19:23', 0, '2014-10-27 17:19:31', 0, 'AR20141000000017'),
	(20, 15, 111, 'YUSOF', 0, 69, 0, 50, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 10000, 0, 0, 52, '2014-10-27 17:24:42', 0, '2014-10-27 17:25:09', 0, 'AR20141000000018'),
	(21, 16, 111, 'NANA', 0, 69, 0, 52, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 53000, 0, 0, 43, '2014-10-27 17:25:42', 0, '2014-10-27 17:26:00', 0, 'AR20141000000019'),
	(22, 17, 111, 'WANI', 0, 68, 0, 52, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 4500, 0, 0, 52, '2014-10-27 17:25:57', 0, '2014-10-27 17:26:05', 0, 'AR20141000000020'),
	(23, 18, 111, 'HARIS', 0, 69, 0, 52, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 7000, 0, 0, 43, '2014-10-27 17:29:23', 0, '2014-10-27 17:29:43', 0, 'AR20141000000021'),
	(24, 19, 111, 'HANI', 0, 69, 0, 49, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 5000, 0, 0, 52, '2014-10-27 17:30:05', 0, '2014-10-27 17:30:15', 0, 'AR20141000000022'),
	(25, 20, 111, 'MONA', 0, 68, 0, 52, 0, 'ORI', '2014-10-27', 0, 0, 0, '', 0, 0, 0, 8480, 0, 0, 43, '2014-10-27 17:31:52', 0, '2014-10-27 17:32:06', 0, 'AR20141000000023'),
	(26, 21, 111, 'meor', 0, 69, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 9700, 0, 0, 52, '2014-10-28 08:52:57', 0, '2014-10-28 08:53:06', 0, 'AR20141000000024'),
	(27, 22, 111, 'MAYA', 0, 68, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 8600, 0, 0, 52, '2014-10-28 09:04:58', 0, '2014-10-28 09:05:43', 0, 'AR20141000000025'),
	(28, 23, 111, 'JUJU', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 3000, 0, 0, 52, '2014-10-28 09:22:13', 0, '2014-10-28 09:22:37', 0, 'AR20141000000026'),
	(29, 24, 111, 'MIA', 0, 69, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 7700, 0, 0, 52, '2014-10-28 09:28:52', 0, '2014-10-28 09:29:16', 0, 'AR20141000000027'),
	(30, 25, 111, 'NORA', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 8900, 0, 0, 52, '2014-10-28 09:31:12', 0, '2014-10-28 09:31:18', 0, 'AR20141000000028'),
	(31, 26, 111, 'MEME', 0, 69, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 4500, 0, 1, 52, '2014-10-28 09:34:59', 0, '0000-00-00 00:00:00', 0, ''),
	(32, 27, 111, 'MEME', 0, 69, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 4500, 0, 0, 52, '2014-10-28 09:35:08', 0, '2014-10-28 09:38:01', 0, 'AR20141000000030'),
	(33, 28, 111, 'AMINA', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 6300, 0, 0, 52, '2014-10-28 09:37:42', 0, '2014-10-28 09:37:52', 0, 'AR20141000000029'),
	(34, 29, 111, 'FAHSYA', 0, 68, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 5600, 0, 0, 52, '2014-10-28 09:40:55', 0, '2014-10-28 09:41:05', 0, 'AR20141000000031'),
	(35, 30, 111, 'NADIA', 0, 69, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 5980, 0, 0, 52, '2014-10-28 09:42:41', 0, '2014-10-28 09:43:28', 0, 'AR20141000000032'),
	(36, 31, 111, 'REMY', 0, 68, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 300, 0, 0, 52, '2014-10-28 09:45:00', 0, '2014-10-28 09:45:11', 0, 'AR20141000000033'),
	(37, 32, 111, 'FIZA', 0, 68, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 7650, 0, 0, 52, '2014-10-28 09:45:43', 0, '2014-10-28 09:46:21', 0, 'AR20141000000034'),
	(38, 33, 111, 'YAQIN', 0, 69, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 3350, 0, 0, 52, '2014-10-28 09:50:17', 0, '2014-10-28 09:51:20', 0, 'AR20141000000035'),
	(39, 34, 111, 'AZWA', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 27000, 0, 0, 52, '2014-10-28 09:54:43', 0, '2014-10-28 09:54:50', 0, 'AR20141000000036'),
	(40, 35, 111, 'ALUM', 0, 69, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 45000, 0, 0, 52, '2014-10-28 09:56:51', 0, '2014-10-28 09:57:08', 0, 'AR20141000000037'),
	(41, 36, 111, 'ARIFF', 0, 68, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 37000, 0, 0, 52, '2014-10-28 09:59:24', 0, '2014-10-28 09:59:31', 0, 'AR20141000000038'),
	(42, 37, 111, 'NANA', 0, 69, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 4000, 0, 0, 52, '2014-10-28 10:01:22', 0, '2014-10-28 10:01:42', 0, 'AR20141000000039'),
	(43, 38, 111, 'SITI', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 7900, 0, 0, 52, '2014-10-28 10:02:42', 0, '2014-10-28 10:02:58', 0, 'AR20141000000040'),
	(44, 39, 111, 'HAKIM', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 5700, 0, 0, 52, '2014-10-28 10:05:06', 0, '2014-10-28 10:06:00', 0, 'AR20141000000041'),
	(45, 40, 111, 'BOBOY', 0, 69, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 23550, 0, 0, 52, '2014-10-28 10:08:00', 0, '2014-10-28 10:08:11', 0, 'AR20141000000042'),
	(46, 41, 111, 'SHUIB', 0, 69, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 2390, 0, 0, 52, '2014-10-28 10:09:26', 0, '2014-10-28 10:09:43', 0, 'AR20141000000043'),
	(47, 42, 111, 'IZHAN', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 8450, 0, 0, 52, '2014-10-28 10:18:35', 0, '2014-10-28 10:18:52', 0, 'AR20141000000044'),
	(48, 43, 111, 'HEGAD', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 3456, 0, 0, 52, '2014-10-28 10:31:13', 0, '2014-10-28 10:31:20', 0, 'AR20141000000045'),
	(49, 44, 111, 'KALSOM', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 3750, 0, 0, 52, '2014-10-28 10:48:00', 0, '2014-10-28 10:48:27', 0, 'AR20141000000046'),
	(50, 45, 111, 'FARARA', 0, 69, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 5600, 0, 0, 52, '2014-10-28 10:57:40', 0, '2014-10-28 10:57:52', 0, 'AR20141000000047'),
	(51, 46, 111, 'IHSAN', 0, 69, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 3500, 0, 0, 52, '2014-10-28 11:09:30', 0, '2014-10-28 11:09:46', 0, 'AR20141000000048'),
	(52, 47, 111, 'AMER', 0, 69, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 3245, 0, 0, 52, '2014-10-28 11:11:45', 0, '2014-10-28 11:12:18', 0, 'AR20141000000049'),
	(53, 48, 111, 'SUFIA', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 5578, 0, 0, 52, '2014-10-28 11:14:39', 0, '2014-10-28 11:15:39', 0, 'AR20141000000050'),
	(54, 49, 111, 'HANA', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 2700, 0, 0, 52, '2014-10-28 11:18:31', 0, '2014-10-28 11:20:52', 0, 'AR20141000000051'),
	(55, 50, 111, 'HAREZ', 0, 68, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 1543, 0, 0, 52, '2014-10-28 11:24:19', 0, '2014-10-28 11:24:44', 0, 'AR20141000000052'),
	(56, 51, 111, 'MUTHU', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 350, 0, 0, 52, '2014-10-28 11:28:12', 0, '2014-10-28 11:28:21', 0, 'AR20141000000053'),
	(57, 52, 111, 'KASSIM', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 470, 0, 0, 52, '2014-10-28 11:30:55', 0, '2014-10-28 11:31:18', 0, 'AR20141000000054'),
	(58, 53, 111, 'FAREEDA', 0, 69, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 3760, 0, 0, 52, '2014-10-28 11:33:13', 0, '2014-10-28 11:33:46', 0, 'AR20141000000055'),
	(59, 54, 111, 'dfds', 0, 69, 5435, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 1060, 0, 0, 19, '2014-10-28 12:05:24', 0, '2014-10-28 12:05:56', 0, 'AR20141000000056'),
	(60, 55, 111, 'bella', 0, 69, 0, 53, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 5600, 0, 0, 52, '2014-10-28 14:52:02', 0, '2014-10-28 14:52:12', 0, 'AR20141000000057'),
	(61, 56, 111, 'fatin', 0, 69, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 7300, 0, 0, 52, '2014-10-28 14:54:39', 0, '2014-10-28 14:54:59', 0, 'AR20141000000058'),
	(62, 57, 111, 'nadia', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 47000, 0, 0, 52, '2014-10-28 14:56:57', 0, '2014-10-28 14:57:13', 0, 'AR20141000000059'),
	(63, 58, 111, 'amri', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 12500, 0, 0, 52, '2014-10-28 14:58:52', 0, '2014-10-28 14:58:59', 0, 'AR20141000000060'),
	(64, 59, 111, 'rina', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 33600, 0, 0, 52, '2014-10-28 15:01:40', 0, '2014-10-28 15:02:59', 0, 'AR20141000000061'),
	(65, 60, 111, 'lina', 0, 69, 0, 49, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 59000, 0, 0, 52, '2014-10-28 15:11:11', 0, '2014-10-28 15:11:33', 0, 'AR20141000000062'),
	(66, 61, 111, 'fina', 0, 68, 0, 50, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 7900, 0, 0, 52, '2014-10-28 15:15:16', 0, '2014-10-28 15:15:24', 0, 'AR20141000000063'),
	(67, 62, 111, 'nani', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 8400, 0, 0, 52, '2014-10-28 15:39:02', 0, '2014-10-28 15:39:14', 0, 'AR20141000000064'),
	(68, 63, 111, 'nuha', 0, 68, 0, 53, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 3500, 0, 0, 52, '2014-10-28 15:41:11', 0, '2014-10-28 15:41:25', 0, 'AR20141000000065'),
	(69, 64, 111, 'fikri', 0, 69, 0, 52, 0, 'ORI', '2014-10-28', 0, 0, 0, '', 0, 0, 0, 4200, 0, 0, 52, '2014-10-28 15:44:27', 0, '2014-10-28 15:44:35', 0, 'AR20141000000066'),
	(70, 65, 111, 'kila', 0, 69, 0, 49, 0, 'ORI', '2014-10-29', 0, 0, 0, '', 0, 0, 0, 40400, 0, 0, 52, '2014-10-29 08:52:38', 0, '2014-10-29 08:52:43', 0, 'AR20141000000067'),
	(71, 66, 111, 'HANI', 0, 68, 0, 49, 0, 'ORI', '2014-10-29', 0, 0, 0, '', 0, 0, 0, 100, 0, 0, 52, '2014-10-29 08:57:21', 0, '2014-10-29 08:57:27', 0, 'AR20141000000068'),
	(72, 67, 111, 'HANA', 0, 68, 0, 49, 0, 'ORI', '2014-10-29', 0, 0, 0, '', 0, 0, 0, 200, 0, 0, 52, '2014-10-29 09:04:04', 0, '2014-10-29 09:04:10', 0, 'AR20141000000069'),
	(73, 68, 111, 'MURAD', 0, 69, 0, 50, 0, 'ORI', '2014-10-29', 0, 0, 0, '', 0, 0, 0, 4000, 0, 0, 52, '2014-10-29 09:08:47', 0, '2014-10-29 09:09:01', 0, 'AR20141000000070'),
	(74, 69, 111, 'AZMI', 0, 69, 0, 52, 0, 'ORI', '2014-10-29', 0, 0, 0, '', 0, 0, 0, 10000, 0, 0, 43, '2014-10-29 09:10:39', 0, '2014-10-29 09:11:17', 0, 'AR20141000000071'),
	(75, 70, 111, 'HAKIM', 0, 126, 0, 52, 0, 'ORI', '2014-10-29', 0, 0, 0, '', 0, 0, 0, 56000, 0, 0, 52, '2014-10-29 09:15:50', 0, '2014-10-29 09:16:18', 0, 'AR20141000000072'),
	(76, 71, 111, 'ZAZA FATIMAH', 0, 68, 0, 50, 0, 'ORI', '2014-10-29', 0, 0, 0, '', 0, 0, 0, 3000, 0, 0, 52, '2014-10-29 09:19:25', 0, '2014-10-29 09:20:35', 0, 'AR20141000000073'),
	(77, 72, 111, 'ZUBIR ', 0, 69, 0, 52, 0, 'ORI', '2014-10-29', 0, 0, 0, '', 0, 0, 0, 4378, 0, 0, 52, '2014-10-29 09:42:50', 0, '2014-10-29 09:43:18', 0, 'AR20141000000074'),
	(78, 73, 111, 'SUHANA', 0, 69, 0, 50, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 3870, 0, 0, 52, '2014-10-30 09:57:47', 0, '2014-10-30 09:58:00', 0, 'AR20141000000075'),
	(79, 74, 111, 'WAWA', 0, 69, 0, 49, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 47800, 0, 0, 52, '2014-10-30 10:03:36', 0, '2014-10-30 10:03:56', 0, 'AR20141000000076'),
	(80, 75, 111, 'IKRAM', 0, 69, 0, 52, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 5753, 0, 0, 52, '2014-10-30 10:06:42', 0, '2014-10-30 10:07:11', 0, 'AR20141000000077'),
	(81, 76, 111, 'ZOZO', 0, 69, 0, 49, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 3473, 0, 0, 52, '2014-10-30 10:09:19', 0, '2014-10-30 10:09:56', 0, 'AR20141000000078'),
	(82, 77, 111, 'SARAH', 0, 126, 0, 49, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 70810, 0, 0, 52, '2014-10-30 10:11:53', 0, '2014-10-30 10:12:01', 0, 'AR20141000000079'),
	(83, 78, 111, 'XX', 0, 68, 0, 52, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 1000, 0, 0, 43, '2014-10-30 11:43:50', 0, '2014-10-30 11:43:57', 0, 'AR20141000000080'),
	(84, 79, 111, 'CHACHA', 0, 69, 0, 52, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 50000, 0, 0, 43, '2014-10-30 11:48:55', 0, '2014-10-30 11:49:08', 0, 'AR20141000000081'),
	(85, 80, 111, 'CHICHI', 0, 69, 0, 52, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 10000, 0, 0, 43, '2014-10-30 11:55:00', 0, '2014-10-30 11:55:27', 0, 'AR20141000000082'),
	(86, 81, 111, 'UPIN', 0, 69, 0, 52, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 100000, 0, 0, 43, '2014-10-30 12:00:45', 0, '2014-10-30 12:01:00', 0, 'AR20141000000083'),
	(87, 82, 111, 'IPIN', 0, 69, 0, 52, 0, 'ORI', '2014-10-30', 0, 0, 0, '', 0, 0, 0, 100000, 0, 0, 43, '2014-10-30 13:00:09', 0, '2014-10-30 13:00:15', 0, 'AR20141000000084'),
	(88, 3, 93, 'fdvdfc', 30, 69, 1212, 37, 0, 'ORI', '2014-11-03', 0, 0, 0, 'fdfd', 0, 0, 0, 121, 0, 1, 16, '2014-11-03 10:33:32', 0, '0000-00-00 00:00:00', 0, '');


-- Dumping structure for table iaccountdb.comp_receive_payment_others_detail
CREATE TABLE IF NOT EXISTS `comp_receive_payment_others_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `receivePaymentOthersID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `description` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double 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 AUTO_INCREMENT=98 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_receive_payment_others_detail: ~95 rows (approximately)
DELETE FROM `comp_receive_payment_others_detail`;
INSERT INTO `comp_receive_payment_others_detail` (`ID`, `receivePaymentOthersID`, `lineNo`, `accountNoID`, `description`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(1, 2, 1, 29556, 'ZASA', 12, 768, 6, 0.72, 12.72, 16, '2014-09-24 11:44:51', 0, '0000-00-00 00:00:00'),
	(2, 2, 2, 28370, 'wwwww', 2, 784, 0, 0.12, 2.12, 16, '2014-09-24 11:45:33', 16, '2014-09-24 13:06:08'),
	(3, 2, 3, 28382, 'aasa', 1, 786, 0, 0.06, 1.06, 16, '2014-09-24 13:12:24', 16, '2014-09-24 13:16:40'),
	(4, 2, 4, 28380, 'asa', 1, 785, 0, 0, 1, 16, '2014-09-24 13:14:15', 16, '2014-09-24 13:16:49'),
	(6, 1, 1, 28370, 'xcsds', 1, 784, 6, 0.06, 1.06, 16, '2014-09-24 14:49:55', 0, '0000-00-00 00:00:00'),
	(7, 3, 1, 29347, 'dsf', 1000, 1384, 6, 60, 1060, 19, '2014-09-30 09:09:15', 0, '0000-00-00 00:00:00'),
	(8, 4, 1, 29764, 'terima', 1000, 1560, 6, 60, 1060, 19, '2014-10-21 17:38:21', 16, '2014-10-27 10:18:51'),
	(9, 5, 1, 29765, 'cukai tertunggak', 20, 1560, 6, 1.2, 21.2, 16, '2014-10-24 10:56:14', 19, '2014-10-27 09:45:55'),
	(10, 6, 1, 29428, 'sdsd', 12, 773, 1, 0.12, 12.12, 16, '2014-10-24 14:25:56', 0, '0000-00-00 00:00:00'),
	(11, 6, 2, 28370, 'sds', 12, 775, 0, 0, 12, 16, '2014-10-24 14:26:21', 0, '0000-00-00 00:00:00'),
	(12, 6, 3, 29428, 'sdsds', 10, 768, 6, 0.6, 10.6, 16, '2014-10-24 15:56:54', 16, '2014-10-24 16:06:45'),
	(13, 7, 1, 1218, '213123', 213, 1, 6, 12.78, 225.78, 1, '2014-10-24 16:05:39', 1, '2014-10-24 16:06:23'),
	(15, 6, 4, 28370, '111', 121121, 768, 6, 7267.26, 128388.26, 16, '2014-10-24 16:10:19', 16, '2014-10-24 16:10:39'),
	(16, 8, 1, 29766, 'ddd', 1000, 1560, 6, 60, 1060, 19, '2014-10-27 09:40:08', 19, '2014-10-27 09:45:46'),
	(17, 9, 1, 30059, 'ghfh', 1000, 1560, 6, 60, 1060, 19, '2014-10-27 12:18:20', 0, '0000-00-00 00:00:00'),
	(18, 10, 1, 29764, 'JOJO', 600, 0, 0, 0, 600, 52, '2014-10-27 16:07:56', 0, '0000-00-00 00:00:00'),
	(19, 11, 1, 30126, 'B', 6000, 1560, 6, 360, 6360, 43, '2014-10-27 16:37:31', 0, '0000-00-00 00:00:00'),
	(20, 12, 1, 30119, 'LULU', 500, 1560, 6, 30, 530, 52, '2014-10-27 16:45:44', 0, '0000-00-00 00:00:00'),
	(21, 13, 1, 30127, 'BB', 2500, 0, 0, 0, 2500, 43, '2014-10-27 16:59:36', 0, '0000-00-00 00:00:00'),
	(22, 14, 1, 30128, 'BBB', 10000, 1560, 6, 600, 10600, 43, '2014-10-27 17:03:56', 0, '0000-00-00 00:00:00'),
	(23, 15, 1, 30121, 'SALES - WAWA JUBAH', 3500, 1560, 6, 210, 3710, 52, '2014-10-27 17:05:50', 0, '0000-00-00 00:00:00'),
	(24, 16, 1, 30133, 'SALES - WANA DRESS', 5900, 1560, 6, 354, 6254, 52, '2014-10-27 17:13:06', 0, '0000-00-00 00:00:00'),
	(25, 17, 1, 30165, 'ADV', 1000000, 0, 0, 0, 1000000, 43, '2014-10-27 17:13:19', 0, '0000-00-00 00:00:00'),
	(26, 18, 1, 30120, 'JENNY', 3400, 1561, 6, 204, 3604, 52, '2014-10-27 17:15:04', 0, '0000-00-00 00:00:00'),
	(27, 19, 1, 30122, 'MERA', 45600, 0, 0, 0, 45600, 52, '2014-10-27 17:19:23', 0, '0000-00-00 00:00:00'),
	(28, 20, 1, 30123, 'YUSOF', 10000, 0, 0, 0, 10000, 52, '2014-10-27 17:24:43', 0, '0000-00-00 00:00:00'),
	(29, 21, 1, 30132, 'BBBB', 50000, 1560, 6, 3000, 53000, 43, '2014-10-27 17:25:42', 0, '0000-00-00 00:00:00'),
	(30, 22, 1, 30135, 'WANI DRESS', 4500, 1560, 6, 270, 4770, 52, '2014-10-27 17:25:57', 0, '0000-00-00 00:00:00'),
	(31, 23, 1, 30134, 'BBBBB', 7000, 1560, 6, 420, 7420, 43, '2014-10-27 17:29:23', 0, '0000-00-00 00:00:00'),
	(32, 24, 1, 30138, 'TUDUNG HANI', 5000, 1560, 6, 300, 5300, 52, '2014-10-27 17:30:05', 0, '0000-00-00 00:00:00'),
	(33, 25, 1, 30139, 'BBBBBB', 8000, 1560, 6, 480, 8480, 43, '2014-10-27 17:31:52', 0, '0000-00-00 00:00:00'),
	(34, 26, 1, 30140, 'VIDEO EQUIP MEOR', 9700, 1560, 6, 582, 10282, 52, '2014-10-28 08:52:57', 0, '0000-00-00 00:00:00'),
	(35, 27, 1, 30144, 'MAYA VIDEO EQUIP', 8600, 1560, 6, 516, 9116, 52, '2014-10-28 09:04:58', 0, '0000-00-00 00:00:00'),
	(36, 28, 1, 30124, 'JUJU ', 3000, 1560, 6, 180, 3180, 52, '2014-10-28 09:22:14', 0, '0000-00-00 00:00:00'),
	(37, 29, 1, 30144, 'MIA VIDEO EQUIP', 7700, 1560, 6, 462, 8162, 52, '2014-10-28 09:28:52', 0, '0000-00-00 00:00:00'),
	(38, 30, 1, 30145, 'NORA VIDEO EQUIP', 8900, 1560, 6, 534, 9434, 52, '2014-10-28 09:31:12', 0, '0000-00-00 00:00:00'),
	(39, 31, 1, 30125, 'MEME TRADING', 4500, 1560, 6, 270, 4770, 52, '2014-10-28 09:34:59', 0, '0000-00-00 00:00:00'),
	(40, 32, 1, 30125, 'MEME TRADING', 4500, 1560, 6, 270, 4770, 52, '2014-10-28 09:35:08', 0, '0000-00-00 00:00:00'),
	(41, 33, 1, 30148, 'AMINA VIDEO EQUIP', 6300, 1560, 6, 378, 6678, 52, '2014-10-28 09:37:43', 0, '0000-00-00 00:00:00'),
	(42, 34, 1, 30151, 'FAHSYA VIDEO EQUIP', 5600, 1560, 6, 336, 5936, 52, '2014-10-28 09:40:55', 0, '0000-00-00 00:00:00'),
	(43, 35, 1, 30153, 'NADIA VIDEO EQUIP', 5980, 1560, 6, 358.8, 6338.8, 52, '2014-10-28 09:42:41', 0, '0000-00-00 00:00:00'),
	(44, 36, 1, 30129, 'REMY INK', 300, 0, 0, 0, 300, 52, '2014-10-28 09:45:00', 0, '0000-00-00 00:00:00'),
	(45, 37, 1, 30155, 'FIZA VIDEO EQUIP', 7650, 1560, 6, 459, 8109, 52, '2014-10-28 09:45:43', 0, '0000-00-00 00:00:00'),
	(46, 38, 1, 30157, 'YAQIN AUDIO EQUIP', 3350, 1560, 6, 201, 3551, 52, '2014-10-28 09:50:17', 0, '0000-00-00 00:00:00'),
	(47, 39, 1, 30158, 'AZWA- OTHER SERVICE', 27000, 1560, 6, 1620, 28620, 52, '2014-10-28 09:54:43', 0, '0000-00-00 00:00:00'),
	(48, 40, 1, 30159, 'ALUM- OTHER SERVICE', 45000, 1560, 6, 2700, 47700, 52, '2014-10-28 09:56:51', 0, '0000-00-00 00:00:00'),
	(49, 41, 1, 30160, 'ARIFF- OTHER SERVICE', 37000, 1560, 6, 2220, 39220, 52, '2014-10-28 09:59:25', 0, '0000-00-00 00:00:00'),
	(50, 42, 1, 30130, 'NANA COLLECTION', 4000, 1560, 6, 240, 4240, 52, '2014-10-28 10:01:22', 0, '0000-00-00 00:00:00'),
	(51, 43, 1, 30161, 'SITI - MISCL INCOME', 7900, 1560, 6, 474, 8374, 52, '2014-10-28 10:02:42', 0, '0000-00-00 00:00:00'),
	(52, 44, 1, 30162, 'HAKIM - MISCL INCOME', 5700, 1560, 6, 342, 6042, 52, '2014-10-28 10:05:07', 0, '0000-00-00 00:00:00'),
	(53, 45, 1, 30163, 'BOBOY - MISCL INCOME', 23550, 1560, 6, 1413, 24963, 52, '2014-10-28 10:08:00', 0, '0000-00-00 00:00:00'),
	(54, 46, 1, 30131, 'SHUIB ATTIRES', 2390, 1560, 6, 143.4, 2533.4, 52, '2014-10-28 10:09:26', 0, '0000-00-00 00:00:00'),
	(55, 47, 1, 30136, 'JUBAH LELAKI', 8450, 1560, 6, 507, 8957, 52, '2014-10-28 10:18:35', 0, '0000-00-00 00:00:00'),
	(56, 48, 1, 30164, 'HEGAD MISCL INCOME', 3456, 1560, 6, 207.36, 3663.36, 52, '2014-10-28 10:31:13', 0, '0000-00-00 00:00:00'),
	(57, 49, 1, 30137, 'KALSOM SCARF', 3750, 1560, 6, 225, 3975, 52, '2014-10-28 10:48:00', 0, '0000-00-00 00:00:00'),
	(58, 50, 1, 30141, 'FARARA APPAREL', 5600, 1560, 6, 336, 5936, 52, '2014-10-28 10:57:40', 0, '0000-00-00 00:00:00'),
	(59, 51, 1, 30143, 'IHSAN TRADING', 3500, 1560, 6, 210, 3710, 52, '2014-10-28 11:09:31', 0, '0000-00-00 00:00:00'),
	(60, 52, 1, 30146, 'AMER SHOP', 3245, 1560, 6, 194.7, 3439.7, 52, '2014-10-28 11:11:45', 0, '0000-00-00 00:00:00'),
	(61, 53, 1, 30147, 'SUFIA SCARF', 5578, 1560, 6, 334.68, 5912.68, 52, '2014-10-28 11:14:39', 0, '0000-00-00 00:00:00'),
	(62, 54, 1, 30149, 'HANA COLLECTION', 2700, 1560, 6, 162, 2862, 52, '2014-10-28 11:18:31', 0, '0000-00-00 00:00:00'),
	(63, 55, 1, 30150, 'HAREZ MEN', 1543, 1560, 6, 92.58, 1635.58, 52, '2014-10-28 11:24:19', 0, '0000-00-00 00:00:00'),
	(64, 56, 1, 30152, 'MUTHU ', 350, 0, 0, 0, 350, 52, '2014-10-28 11:28:12', 0, '0000-00-00 00:00:00'),
	(65, 57, 1, 30154, 'KASSIM MARKETING', 470, 0, 0, 0, 470, 52, '2014-10-28 11:30:55', 0, '0000-00-00 00:00:00'),
	(66, 58, 1, 30156, 'TUDUNG FAREEDA', 3760, 1560, 6, 225.6, 3985.6, 52, '2014-10-28 11:33:13', 0, '0000-00-00 00:00:00'),
	(67, 59, 1, 30166, 'fdgfd', 1000, 1560, 6, 60, 1060, 19, '2014-10-28 12:05:24', 0, '0000-00-00 00:00:00'),
	(68, 60, 1, 30167, 'sales 1', 5600, 1560, 6, 336, 5936, 52, '2014-10-28 14:52:02', 0, '0000-00-00 00:00:00'),
	(69, 61, 1, 30168, 'sales 2', 7300, 1560, 6, 438, 7738, 52, '2014-10-28 14:54:39', 0, '0000-00-00 00:00:00'),
	(70, 62, 1, 30169, 'sales 3', 47000, 1560, 6, 2820, 49820, 52, '2014-10-28 14:56:57', 0, '0000-00-00 00:00:00'),
	(71, 63, 1, 30170, 'sales 4', 12500, 1560, 6, 750, 13250, 52, '2014-10-28 14:58:52', 0, '0000-00-00 00:00:00'),
	(72, 64, 1, 30172, 'sales 10', 33600, 1560, 6, 2016, 35616, 52, '2014-10-28 15:01:40', 0, '0000-00-00 00:00:00'),
	(73, 65, 1, 30173, 'sales 87', 59000, 1560, 6, 3540, 62540, 52, '2014-10-28 15:11:11', 0, '0000-00-00 00:00:00'),
	(74, 66, 1, 30174, 'misc inc 1', 7900, 1560, 6, 474, 8374, 52, '2014-10-28 15:15:16', 0, '0000-00-00 00:00:00'),
	(75, 67, 1, 30175, 'misc inc 76', 8400, 1560, 6, 504, 8904, 52, '2014-10-28 15:39:02', 0, '0000-00-00 00:00:00'),
	(76, 68, 1, 30176, 'misc inc 65', 3500, 1560, 6, 210, 3710, 52, '2014-10-28 15:41:12', 0, '0000-00-00 00:00:00'),
	(77, 69, 1, 30177, 'misc inc 454', 4200, 1560, 6, 252, 4452, 52, '2014-10-28 15:44:27', 0, '0000-00-00 00:00:00'),
	(78, 70, 1, 30209, 'Sales 40', 40400, 1560, 6, 2424, 42824, 52, '2014-10-29 08:52:38', 0, '0000-00-00 00:00:00'),
	(79, 71, 1, 30198, 'HANI ', 100, 0, 0, 0, 100, 52, '2014-10-29 08:57:21', 0, '0000-00-00 00:00:00'),
	(80, 72, 1, 30211, 'HANA TAILOR', 200, 0, 0, 0, 200, 52, '2014-10-29 09:04:04', 0, '0000-00-00 00:00:00'),
	(81, 73, 1, 30199, 'MURAD COLLECTIONS', 4000, 1560, 6, 240, 4240, 52, '2014-10-29 09:08:47', 0, '0000-00-00 00:00:00'),
	(82, 74, 1, 30212, 'B6A', 10000, 1560, 6, 600, 10600, 43, '2014-10-29 09:10:39', 0, '0000-00-00 00:00:00'),
	(83, 75, 1, 30200, 'HAKIM TEXTILES', 56000, 1560, 6, 3360, 59360, 52, '2014-10-29 09:15:50', 0, '0000-00-00 00:00:00'),
	(84, 76, 1, 30201, 'MESIN JAHIT TEPI', 3000, 1561, 6, 180, 3180, 52, '2014-10-29 09:19:25', 52, '2014-10-29 09:20:01'),
	(85, 77, 1, 30202, 'FABRICS', 4378, 1560, 6, 262.68, 4640.68, 52, '2014-10-29 09:42:50', 0, '0000-00-00 00:00:00'),
	(86, 78, 1, 30203, 'SUHANA CLOTHING', 3870, 1560, 6, 232.2, 4102.2, 52, '2014-10-30 09:57:47', 0, '0000-00-00 00:00:00'),
	(87, 79, 1, 30204, 'WAWA SCARF', 47800, 1560, 6, 2868, 50668, 52, '2014-10-30 10:03:37', 0, '0000-00-00 00:00:00'),
	(88, 80, 1, 30205, 'IKRAM TEXTILES', 5753, 1560, 6, 345.18, 6098.18, 52, '2014-10-30 10:06:42', 0, '0000-00-00 00:00:00'),
	(89, 81, 1, 30206, 'ZOZO', 3473, 1560, 6, 208.38, 3681.38, 52, '2014-10-30 10:09:19', 0, '0000-00-00 00:00:00'),
	(90, 82, 1, 30207, 'SARAH TRADING', 70810, 0, 0, 0, 70810, 52, '2014-10-30 10:11:53', 0, '0000-00-00 00:00:00'),
	(91, 83, 1, 30087, 'XX', 1000, 0, 0, 0, 1000, 43, '2014-10-30 11:43:50', 0, '0000-00-00 00:00:00'),
	(92, 84, 1, 30093, 'CHACHA', 50000, 1560, 6, 3000, 53000, 43, '2014-10-30 11:48:55', 0, '0000-00-00 00:00:00'),
	(93, 85, 1, 30188, 'UPIN', 10000, 0, 0, 0, 10000, 43, '2014-10-30 11:55:00', 0, '0000-00-00 00:00:00'),
	(94, 86, 1, 30194, 'RR', 100000, 0, 0, 0, 100000, 43, '2014-10-30 12:00:45', 0, '0000-00-00 00:00:00'),
	(95, 87, 1, 29834, 'KKK', 100000, 0, 0, 0, 100000, 43, '2014-10-30 13:00:09', 0, '0000-00-00 00:00:00'),
	(96, 88, 1, 28369, 'erere', 1, 769, 6, 0.06, 1.06, 16, '2014-11-03 10:33:32', 0, '0000-00-00 00:00:00'),
	(97, 88, 2, 29428, '232', 10, 6, 6, 0.6, 10.6, 16, '2014-11-03 10:34:07', 16, '2014-11-03 10:38:25');


-- Dumping structure for table iaccountdb.comp_sales_agent
CREATE TABLE IF NOT EXISTS `comp_sales_agent` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `agentCode` varchar(32) NOT NULL,
  `agentName` varchar(128) NOT NULL,
  `position` varchar(32) NOT NULL,
  `telOffice` varchar(32) NOT NULL,
  `telHp` varchar(32) NOT NULL,
  `email` varchar(64) NOT NULL,
  `commisionRate` double NOT NULL,
  `remarks` text NOT NULL,
  `createdID` 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 AUTO_INCREMENT=26 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_agent: ~23 rows (approximately)
DELETE FROM `comp_sales_agent`;
INSERT INTO `comp_sales_agent` (`ID`, `companyID`, `agentCode`, `agentName`, `position`, `telOffice`, `telHp`, `email`, `commisionRate`, `remarks`, `createdID`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(1, 1, '', 'sdsd', 'sdsd', '', '', '', 10, '', 0, '2014-06-09 15:15:56', 0, '2014-07-24 13:57:28'),
	(2, 27, '', 'farhana', 'agent01', '', '', 'bee@gmail.com', 10, '', 0, '2014-06-10 10:15:27', 0, '2014-06-10 12:46:12'),
	(5, 27, '', 'Aizat Jamil', 'Executive', '012 61778564', '012 61778564', 'aizat@salihin.com.my', 10, 'new agent', 0, '2014-06-10 15:02:36', 0, '0000-00-00 00:00:00'),
	(6, 55, '', 'Wan Amin', 'Pengurus Rangkaian', '012 5678798', '012 5678798', 'amin@fabrica.com.my', 10, '', 0, '2014-07-03 09:59:23', 0, '0000-00-00 00:00:00'),
	(7, 57, '', 'george', 'sales ', '012 5678767', '012 5678767', 'george@gmail.com', 10, '10% ', 0, '2014-07-09 10:16:34', 0, '0000-00-00 00:00:00'),
	(8, 75, '', 'james bond', 'sales marketing', '0123234343', '0123234343', 'asdsd@salihin.com.my', 10, '', 0, '2014-07-17 12:17:25', 0, '0000-00-00 00:00:00'),
	(9, 76, '', 'jimmy', 'marketing', '0125678767', '0125678767', 'jimmy@borong.com', 10, '', 0, '2014-07-17 12:17:39', 0, '0000-00-00 00:00:00'),
	(10, 81, '', 'Munira Yasin', 'Marketing Manager', '0126767567', '0126767567', 'moon@gmail.com', 10, 'komisen 10% based on project basis', 0, '2014-07-21 10:06:51', 0, '2014-07-21 10:08:27'),
	(11, 81, '', 'Miza Ahmad', 'Sales Consultant', '019 3456545', '019 3456545', 'miza@gmail.com', 10, 'komisen 10% on project basis', 0, '2014-07-21 10:08:09', 0, '0000-00-00 00:00:00'),
	(12, 81, '', 'Farhana Zahari', 'Marketing', '603 61451245', '012 6666610', 'farhana@salihin.com.my', 10, 'project basis', 0, '2014-07-25 08:56:30', 0, '2014-07-25 09:00:42'),
	(13, 84, '', 'Agent 1', 'Senior Executive', ' 603 61851515', '012 61851515', 'accounts@salihin.com.my', 5, 'Good', 0, '2014-08-05 09:40:52', 0, '0000-00-00 00:00:00'),
	(14, 15, 'B-007', 'en fadhirul bond', 'manager', '', '', '', 10, '', 0, '2014-08-11 15:56:12', 0, '2014-08-14 16:44:35'),
	(15, 1, 'A001', 'robert', 'marketing ', '603 61887878', '012 5456546', 'robert@yahoo.com', 10, 'agent baru', 0, '2014-08-12 15:35:07', 0, '2014-09-15 15:23:32'),
	(16, 86, '', 'Salman Khan', 'sales marketing', '', '012 8226466', 'salman@gmail.com', 10, 'Agent', 0, '2014-08-13 13:35:21', 0, '0000-00-00 00:00:00'),
	(17, 86, '', 'Amir Khan', 'msrketing', '', '', '', 10, '', 0, '2014-08-13 15:38:08', 0, '0000-00-00 00:00:00'),
	(18, 87, '001', 'Rahman', '', '7987978', '87978978', '', 5, '', 0, '2014-08-21 10:53:13', 0, '0000-00-00 00:00:00'),
	(19, 93, '002', 'Fairuz', '', '', '', '', 10, '', 0, '2014-09-02 15:36:20', 0, '2014-09-02 15:36:57'),
	(20, 102, '778899', 'ASHRAF', '', '603 45678991', '012 88888888', 'ashraf@agent.com', 2, '', 0, '2014-09-12 12:17:48', 0, '0000-00-00 00:00:00'),
	(21, 105, 'S 02', 'Suraidah', 'agent', '603 12344321', '012 2345432', 'surey@salihin.com.my', 5, '', 0, '2014-09-16 11:26:49', 0, '0000-00-00 00:00:00'),
	(22, 110, 'K001', 'Khairul Naim', 'Agent', '', '', '', 10, '', 0, '2014-09-30 17:17:05', 0, '0000-00-00 00:00:00'),
	(23, 111, 'AG001', 'AYU', '', '', '012 334 5678', 'AYU@YAHOO.COM', 10, '', 0, '2014-10-13 12:49:10', 0, '0000-00-00 00:00:00'),
	(24, 111, 'AG002', 'RAUDHAH', 'SALES MNGR', '03 4138 4433', '013 223 4567', 'RAUDHAH@HOTMAIL.COM', 15, 'XXX', 0, '2014-10-13 12:54:46', 0, '0000-00-00 00:00:00'),
	(25, 114, '0', 'LAILA AZRINA', 'SELLING AGENT', '03 4678930', '013 8902345', 'lailaazrina@gmail.com', 6, 'SELLING AGENT', 0, '2014-10-17 15:21:56', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_sales_bad_debt
CREATE TABLE IF NOT EXISTS `comp_sales_bad_debt` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `custID` int(11) NOT NULL,
  `valueBadDebt` double NOT NULL,
  `gstBadDebt` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) 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 AUTO_INCREMENT=26 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_bad_debt: ~11 rows (approximately)
DELETE FROM `comp_sales_bad_debt`;
INSERT INTO `comp_sales_bad_debt` (`ID`, `companyID`, `custID`, `valueBadDebt`, `gstBadDebt`, `transDate`, `updateAble`, `journalNo`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(12, 93, 40, 2022.48, 114.48, '2015-09-01', 0, 'BD20150900000015', 16, '2014-09-29 18:20:18', 16, '2014-09-30 19:23:20'),
	(13, 93, 41, 51701.5, 2926.5, '2015-09-01', 0, 'BD20150900000016', 16, '2014-09-30 10:17:16', 16, '2014-09-30 19:24:01'),
	(14, 93, 40, 74530.72, 3404.04, '2018-09-01', 1, '', 16, '2014-09-30 10:18:42', 16, '2014-09-30 10:19:35'),
	(15, 93, 40, 4353.92, 48.66, '2015-09-16', 0, 'BD20150900000017', 16, '2014-09-30 16:23:07', 0, '2014-09-30 19:25:16'),
	(16, 93, 41, 5440, 0.21, '2014-10-02', 0, 'BD20141000000001', 16, '2014-10-02 10:01:25', 0, '2014-10-02 10:01:55'),
	(18, 93, 41, 48065.7, 2, '2014-10-02', 0, 'BD20141000000002', 16, '2014-10-02 12:31:39', 0, '2014-10-02 12:32:16'),
	(19, 1, 0, 24830.5, 2, '2014-12-24', 0, 'BD20141200000001', 16, '2014-10-08 10:41:37', 0, '2014-10-08 10:41:53'),
	(20, 93, 41, 3540, 6, '2015-10-09', 0, 'BD20151000000001', 19, '2014-10-10 17:16:12', 0, '2014-10-10 17:16:27'),
	(22, 110, 47, 319, 18.06, '2014-10-10', 0, 'BD20141000000001', 19, '2014-10-10 18:00:10', 0, '2014-10-10 18:00:17'),
	(24, 111, 52, 530, 30, '2015-10-01', 0, 'BD20151000000001', 19, '2014-10-15 10:45:33', 0, '2014-10-15 10:45:44'),
	(25, 107, 49, 6360, 360, '2014-10-13', 0, 'BD20141000000001', 19, '2014-10-16 10:41:41', 0, '2014-10-16 10:42:03');


-- Dumping structure for table iaccountdb.comp_sales_creditnote
CREATE TABLE IF NOT EXISTS `comp_sales_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `creditNoteDate` date NOT NULL,
  `salesInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double 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,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_creditnote: ~30 rows (approximately)
DELETE FROM `comp_sales_creditnote`;
INSERT INTO `comp_sales_creditnote` (`ID`, `serialNo`, `companyID`, `customerID`, `formNo`, `creditNoteDate`, `salesInvoiceID`, `projectID`, `termsID`, `currencyID`, `exchangeRate`, `agentID`, `memo`, `employeeID`, `shippingMethodID`, `totalAmount`, `amountPaid`, `totalTaxAmount`, `totalPayable`, `total`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `updateAble`, `journalNo`) VALUES
	(1, 1, 1, 12, 'CRN', '2014-06-04', 18, 0, 0, 1, 1, 0, '', 0, 0, 10000, 0, 600, 0, 0, 0, '2014-06-24 09:39:38', 0, '2014-06-24 09:41:34', 0, 1, ''),
	(2, 1, 1, 12, 'SCN', '2014-07-02', 21, 17, 0, 0, 3.1305, 0, 'ergfwr', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-02 15:40:30', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(3, 1, 1, 12, 'SCN', '2014-07-02', 19, 1, 0, 0, 3.1305, 0, 'ewwew', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-02 15:47:10', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(4, 1, 1, 12, 'SCN', '2014-07-03', 18, 15, 0, 0, 3.1305, 0, 'ghf fhymf', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-03 09:25:05', 0, '2014-07-17 16:44:37', 0, 0, ''),
	(5, 1, 1, 12, 'SCN', '2014-07-03', 18, 1, 0, 0, 3.1305, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-03 09:30:10', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(6, 1, 1, 12, 'SCN', '2014-07-03', 18, 15, 0, 0, 3.1305, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-03 12:02:06', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(7, 1, 1, 12, 'SCN', '2014-07-03', 18, 0, 0, 0, 3.1305, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-03 12:06:00', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(8, 1, 1, 0, 'SCN', '2014-07-03', 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-03 12:11:55', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(9, 1, 1, 12, 'SCN', '2014-07-03', 18, 10, 0, 0, 3.1305, 0, 'asda', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-03 12:14:29', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(10, 1, 1, 12, 'SCN', '2014-07-14', 18, 1, 0, 0, 3.1305, 0, 'asasda', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-14 10:09:30', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(11, 1, 1, 12, 'SCN', '2014-07-14', 18, 15, 5, 1, 3.1305, 0, 'fg dgst', 0, 0, 682.52, 0, 19.26, 0, 0, 16, '2014-07-14 10:15:35', 0, '2014-08-14 13:14:35', 0, 1, ''),
	(12, 1, 1, 12, 'SCN', '2014-07-14', 18, 15, 0, 0, 3.1305, 0, 'sds', 0, 0, 356.44, 0, 19.44, 0, 0, 16, '2014-07-14 10:26:20', 0, '2014-07-14 11:08:55', 0, 1, ''),
	(13, 2, 1, 12, 'SCN', '2014-08-14', 18, 1, 0, 0, 3.23, 0, '', 0, 0, 7825.98, 0, 442.98, 0, 0, 33, '2014-08-14 11:10:09', 0, '2014-08-14 11:10:09', 0, 1, ''),
	(14, 1, 93, 41, 'SCN', '2014-09-09', 160, 0, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-09-09 17:04:44', 0, '2014-09-17 12:34:15', 0, 1, ''),
	(15, 2, 93, 40, 'SCN', '2014-09-09', 163, 0, 0, 0, 1, 0, '', 0, 0, 434, 0, 0, 0, 0, 16, '2014-09-09 17:06:36', 0, '2014-09-09 17:06:36', 0, 1, ''),
	(16, 3, 93, 40, 'SCN', '2014-09-09', 164, 0, 0, 0, 1, 0, '', 0, 0, 24214, 0, 0, 0, 0, 16, '2014-09-09 17:09:06', 0, '2014-09-09 17:09:16', 0, 1, ''),
	(17, 4, 93, 41, 'SCN', '2014-09-09', 160, 0, 0, 0, 1, 0, '', 0, 0, 250090, 0, 0, 0, 0, 16, '2014-09-09 17:10:28', 0, '2014-09-09 17:19:44', 0, 1, ''),
	(18, 5, 93, 40, 'SCN', '2014-09-09', 163, 0, 0, 0, 1, 0, '', 0, 0, 43702, 0, 0, 0, 0, 16, '2014-09-09 17:24:21', 0, '2014-09-09 17:24:48', 0, 1, ''),
	(19, 1, 105, 45, 'SCN 123', '2014-09-18', 174, 0, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 51, '2014-09-18 09:45:54', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(20, 6, 93, 40, 'SCN', '2014-09-18', 162, 30, 0, 0, 1, 0, '', 0, 0, 9001.52, 0, 509.52, 0, 0, 16, '2014-09-18 15:25:24', 0, '2014-09-18 15:25:24', 0, 1, ''),
	(21, 7, 93, 40, 'SCN', '2014-09-18', 162, 30, 0, 0, 1, 0, '', 0, 0, 6787.18, 0, 384.18, 0, 0, 16, '2014-09-18 15:50:15', 0, '2014-09-18 16:33:48', 0, 1, ''),
	(22, 8, 93, 40, 'SCN', '2014-09-18', 162, 30, 0, 0, 1, 0, '', 0, 0, 5171.74, 0, 292.74, 0, 0, 16, '2014-09-18 15:53:07', 0, '2014-09-18 15:54:35', 0, 1, ''),
	(23, 9, 93, 40, 'SCN', '2014-09-19', 161, 30, 0, 0, 1, 0, '', 0, 0, 8200.46, 0, 534.8399999999999, 0, 0, 16, '2014-09-19 15:20:06', 0, '2014-09-19 17:42:47', 0, 1, ''),
	(24, 10, 93, 40, 'SCN', '2014-09-19', 161, 30, 0, 0, 1, 0, '', 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-19 17:40:00', 0, '2014-09-19 17:40:01', 0, 1, ''),
	(25, 11, 93, 40, 'SCN', '2014-09-19', 161, 31, 0, 0, 1, 0, '', 0, 0, 2323, 0, 0, 0, 0, 16, '2014-09-19 17:40:58', 0, '2014-09-19 17:40:58', 0, 1, ''),
	(26, 12, 93, 40, 'SCN', '2014-10-27', 245, 30, 0, 0, 1, 0, '', 0, 0, 2109401.06, 0, 119400.06, 0, 0, 16, '2014-10-27 18:10:55', 0, '2014-10-28 16:35:55', 0, 1, ''),
	(27, 1, 111, 52, 'SCN', '2014-10-31', 225, 0, 0, 0, 1, 0, '', 0, 0, 530, 0, 30, 0, 0, 33, '2014-10-31 11:19:36', 0, '2014-10-31 11:19:36', 0, 1, ''),
	(28, 13, 93, 40, 'SCN', '2014-10-31', 263, 0, 0, 0, 1, 0, '', 0, 0, 42.4, 0, 2.4, 0, 0, 16, '2014-10-31 15:29:17', 0, '2014-10-31 15:56:41', 0, 1, ''),
	(29, 14, 93, 40, 'SCN', '2014-10-31', 263, 0, 0, 0, 1, 0, '', 0, 0, 10.6, 0, 0.6, 0, 0, 16, '2014-10-31 15:30:24', 0, '2014-10-31 15:30:24', 0, 1, ''),
	(30, 15, 93, 40, 'SCN', '2014-10-31', 263, 0, 0, 0, 1, 0, '', 0, 0, 10.6, 0, 0.6, 0, 0, 16, '2014-10-31 15:31:38', 0, '2014-10-31 15:31:38', 0, 1, '');


-- Dumping structure for table iaccountdb.comp_sales_creditnote_charges
CREATE TABLE IF NOT EXISTS `comp_sales_creditnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` 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,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_creditnote_charges: ~27 rows (approximately)
DELETE FROM `comp_sales_creditnote_charges`;
INSERT INTO `comp_sales_creditnote_charges` (`ID`, `creditNoteID`, `lineNo`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `drAccountID`, `crAccountID`, `drTaxAccountID`, `crTaxAccountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(37, 18, 1, 86, 'delivery charges', 0, 9, 0, 0, 1212, 0, 0, 0, 0, 16, '2014-06-18 10:19:53', 0, '2014-06-18 12:06:10'),
	(39, 7, 1, 102, 'ghkjh', 0, 11, 10, 1.2, 12, 0, 0, 0, 0, 16, '2014-07-03 12:06:00', 0, '0000-00-00 00:00:00'),
	(40, 7, 2, 100, 'sdsw', 0, 3, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-03 12:06:23', 0, '0000-00-00 00:00:00'),
	(41, 8, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-03 12:11:56', 0, '0000-00-00 00:00:00'),
	(43, 4, 1, 101, 'ASA', 0, 1, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-07-07 15:52:02', 0, '0000-00-00 00:00:00'),
	(44, 4, 2, 101, 'DS', 0, 2, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-07 15:56:54', 0, '0000-00-00 00:00:00'),
	(46, 4, 3, 102, 'WEW', 0, 1, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-07-07 15:58:41', 0, '0000-00-00 00:00:00'),
	(47, 0, 1, 100, 'asdas', 0, 4, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-14 10:20:44', 0, '0000-00-00 00:00:00'),
	(48, 11, 1, 100, 'asdas', 0, 4, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-14 10:23:51', 0, '0000-00-00 00:00:00'),
	(49, 11, 2, 100, 'sdas', 0, 4, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-14 10:24:58', 0, '0000-00-00 00:00:00'),
	(50, 12, 1, 100, 'asa', 0, 4, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-14 10:26:21', 0, '0000-00-00 00:00:00'),
	(51, 12, 2, 100, 'dfsf', 0, 2, 0, 0, 2, 0, 0, 0, 0, 16, '2014-07-14 10:35:56', 0, '0000-00-00 00:00:00'),
	(52, 15, 1, 28369, 'asfasdf245345', 0, 775, 0, 0, 434, 0, 0, 0, 0, 16, '2014-09-09 17:06:36', 0, '0000-00-00 00:00:00'),
	(53, 16, 1, 28370, 'sdwe', 0, 775, 0, 0, 23432, 0, 0, 0, 0, 16, '2014-09-09 17:09:16', 0, '0000-00-00 00:00:00'),
	(54, 17, 1, 28369, 'adsfasdf', 0, 775, 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-09 17:10:28', 0, '0000-00-00 00:00:00'),
	(55, 17, 2, 28371, 'sdfasdf', 0, 775, 0, 0, 243234, 0, 0, 0, 0, 16, '2014-09-09 17:10:37', 0, '0000-00-00 00:00:00'),
	(56, 17, 3, 28369, 'adfsdf', 0, 775, 0, 0, 3422, 0, 0, 0, 0, 16, '2014-09-09 17:19:44', 0, '0000-00-00 00:00:00'),
	(57, 18, 1, 28370, 'asdfsdfas', 0, 775, 0, 0, 3444, 0, 0, 0, 0, 16, '2014-09-09 17:24:21', 0, '0000-00-00 00:00:00'),
	(58, 18, 2, 28370, 'safsfg', 0, 775, 0, 0, 34344, 0, 0, 0, 0, 16, '2014-09-09 17:24:28', 0, '0000-00-00 00:00:00'),
	(64, 21, 2, 28370, 'sfs34234', 34, 769, 6, 2.04, 36.04, 0, 0, 0, 0, 16, '2014-09-18 15:50:28', 16, '2014-09-18 16:31:09'),
	(65, 22, 1, 28370, 'asfdasdf234534', 4534, 770, 6, 272.04, 4806.04, 0, 0, 0, 0, 16, '2014-09-18 15:53:07', 0, '0000-00-00 00:00:00'),
	(66, 22, 2, 28371, 'asdf34545', 345, 769, 6, 20.7, 365.7, 0, 0, 0, 0, 16, '2014-09-18 15:54:12', 16, '2014-09-18 15:54:35'),
	(67, 23, 1, 28371, 'asdfasdf', 2345, 770, 6, 140.7, 2485.7, 0, 0, 0, 0, 16, '2014-09-19 15:20:06', 0, '0000-00-00 00:00:00'),
	(72, 23, 2, 28370, 'asdfasfd223', 2, 775, 0, 139.38, 2, 0, 0, 0, 0, 16, '2014-09-19 15:26:52', 16, '2014-09-19 17:42:35'),
	(73, 24, 1, 28370, 'asdfasfd', 3434, 775, 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-19 17:40:01', 0, '0000-00-00 00:00:00'),
	(74, 25, 1, 28371, 'asdf', 2323, 775, 0, 0, 2323, 0, 0, 0, 0, 16, '2014-09-19 17:40:58', 0, '0000-00-00 00:00:00'),
	(75, 23, 3, 28370, 'adfasdf', 1212, 775, 0, 0, 1212, 0, 0, 0, 0, 16, '2014-09-19 17:42:47', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_sales_creditnote_detail
CREATE TABLE IF NOT EXISTS `comp_sales_creditnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_creditnote_detail: ~33 rows (approximately)
DELETE FROM `comp_sales_creditnote_detail`;
INSERT INTO `comp_sales_creditnote_detail` (`ID`, `creditnoteID`, `invoiceDetailID`, `lineNo`, `itemID`, `itemname`, `itemdescription`, `umID`, `quantity`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `accountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(1, 1, 0, 1, 8, 'A25 Plastic Chair', 'Plastic Chair - White', 0, 10, 200, 2000, 1, 6, 120, 2120, 0, 0, '2014-06-24 10:16:19', 0, '0000-00-00 00:00:00'),
	(2, 2, 0, 1, 9, '', 'Nasi Goreng Ayam', 0, 1, 652, 652, 26, 11, 71.72, 723.72, 0, 16, '2014-07-02 15:40:30', 0, '0000-00-00 00:00:00'),
	(3, 2, 0, 2, 4, '', 'Plastic Chair - Blue', 0, 3, 3, 9, 1, 0, 0, 9, 0, 16, '2014-07-02 15:41:19', 0, '0000-00-00 00:00:00'),
	(4, 2, 0, 3, 7, '', 'Plastic Chair - Red', 0, 1, 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-02 15:43:48', 0, '0000-00-00 00:00:00'),
	(5, 3, 0, 1, 8, '', 'Plastic Chair - White', 0, 1, 1, 1, 28, 0, 0, 1, 0, 16, '2014-07-02 15:47:10', 0, '0000-00-00 00:00:00'),
	(6, 4, 0, 1, 4, '', 'Plastic Chair - Blue', 0, 2, 1, 2, 0, 0, 0, 2, 0, 16, '2014-07-03 09:25:05', 0, '0000-00-00 00:00:00'),
	(7, 4, 0, 2, 10, '', 'Bola Tampar Buaya', 0, 12, 1, 12, 1, 6, 0.72, 12.72, 0, 16, '2014-07-03 10:39:30', 16, '0000-00-00 00:00:00'),
	(9, 5, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 12, 6, 19.26, 340.26, 0, 16, '2014-07-03 09:30:10', 0, '0000-00-00 00:00:00'),
	(10, 5, 0, 2, 8, '', 'Plastic Chair - White', 0, 1, 0, 321, 10, 0, 19.26, 340.26, 0, 16, '2014-07-03 09:30:25', 0, '0000-00-00 00:00:00'),
	(11, 7, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 12, 6, 19.26, 340.26, 0, 16, '2014-07-03 12:06:47', 0, '0000-00-00 00:00:00'),
	(12, 9, 0, 1, 7, '', 'Plastic Chair - Red', 0, 1, 1, 1, 0, 0, 0, 1, 0, 16, '2014-07-03 12:14:43', 0, '0000-00-00 00:00:00'),
	(13, 10, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 10:09:30', 0, '0000-00-00 00:00:00'),
	(14, 11, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 10:15:35', 0, '0000-00-00 00:00:00'),
	(15, 11, 0, 2, 4, '', 'Plastic Chair - Blue', 0, 1, 1, 1, 0, 0, 0, 1, 0, 16, '2014-07-14 10:19:24', 0, '0000-00-00 00:00:00'),
	(16, 12, 0, 1, 4, '', 'Plastic Chair - Blue', 0, 1, 12, 12, 0, 1, 0.12, 12.12, 0, 16, '2014-07-14 10:36:28', 0, '0000-00-00 00:00:00'),
	(17, 12, 0, 2, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 10:52:54', 0, '0000-00-00 00:00:00'),
	(18, 12, 0, 3, 1, '', 'Teak wooden chair with natural finish', 0, 1, 1, 1, 1, 6, 0.06, 1.06, 0, 16, '2014-07-14 11:08:55', 16, '0000-00-00 00:00:00'),
	(19, 13, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 23, 321, 7383, 1, 6, 442.98, 7825.98, 0, 33, '2014-08-14 11:10:09', 0, '0000-00-00 00:00:00'),
	(21, 16, 0, 1, 27, '', 'STAT', 0, 34, 23, 782, 0, 0, 0, 782, 0, 16, '2014-09-09 17:09:07', 0, '0000-00-00 00:00:00'),
	(22, 18, 0, 1, 29, '', 'Laptop Dell', 0, 2, 2000, 4, 0, 0, 0, 4000, 0, 16, '2014-09-09 17:24:39', 0, '0000-00-00 00:00:00'),
	(23, 18, 0, 2, 25, '', 'Table with Glass', 0, 3, 234, 702, 0, 0, 0, 702, 0, 16, '2014-09-09 17:24:48', 0, '0000-00-00 00:00:00'),
	(28, 19, 0, 1, 36, '', 'Proton Iswara full spec', 0, 1, 0, 0, 1308, 6, 0, 0, 0, 51, '2014-09-18 09:45:54', 0, '0000-00-00 00:00:00'),
	(29, 20, 0, 1, 26, '', 'Chair with Cover', 0, 4, 2123, 8492, 769, 6, 509.52, 9001.52, 0, 16, '2014-09-18 15:25:24', 0, '0000-00-00 00:00:00'),
	(30, 21, 0, 1, 26, '', 'Chair with Cover', 0, 3, 2123, 6, 769, 6, 382.14, 6751.14, 0, 16, '2014-09-18 15:50:41', 0, '0000-00-00 00:00:00'),
	(31, 23, 0, 1, 26, '', 'Chair with Cover', 0, 2, 2123, 4, 0, 0, 254.76, 4500.76, 0, 16, '2014-09-19 17:42:31', 16, '0000-00-00 00:00:00'),
	(32, 26, 0, 1, 29, '', 'Laptop Dell', 2, 1, 1990000, 1990000, 769, 6, 119400, 2109400, 0, 16, '2014-10-28 16:35:26', 16, '0000-00-00 00:00:00'),
	(33, 26, 0, 2, 26, '', 'Chair with Cover', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-28 16:35:55', 0, '0000-00-00 00:00:00'),
	(34, 27, 0, 1, 71, '', 'BLACK', 1, 1, 500, 500, 1560, 6, 30, 530, 0, 33, '2014-10-31 11:19:36', 0, '0000-00-00 00:00:00'),
	(35, 28, 126, 1, 27, '', 'STAT', 3, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 15:58:33', 16, '0000-00-00 00:00:00'),
	(36, 29, 126, 1, 27, '', 'STAT', 3, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 15:30:24', 0, '0000-00-00 00:00:00'),
	(38, 28, 0, 2, 127, '', 'Laptop Dell', 1, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 15:48:10', 0, '0000-00-00 00:00:00'),
	(39, 28, 127, 2, 29, '', 'Laptop Dell', 1, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 15:55:12', 0, '0000-00-00 00:00:00'),
	(40, 28, 127, 3, 29, '', 'Laptop Dell', 1, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 15:56:41', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_sales_debitnote
CREATE TABLE IF NOT EXISTS `comp_sales_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `debitNoteDate` date NOT NULL,
  `salesInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double 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,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_debitnote: ~52 rows (approximately)
DELETE FROM `comp_sales_debitnote`;
INSERT INTO `comp_sales_debitnote` (`ID`, `serialNo`, `companyID`, `customerID`, `formNo`, `debitNoteDate`, `salesInvoiceID`, `projectID`, `termsID`, `currencyID`, `exchangeRate`, `agentID`, `memo`, `employeeID`, `shippingMethodID`, `totalAmount`, `amountPaid`, `totalTaxAmount`, `totalPayable`, `total`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `updateAble`, `journalNo`) VALUES
	(5, 1, 1, 12, 'SDN', '2014-06-12', 17, 1, 0, 0, 1, 0, 'ewe', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-12 17:52:06', 0, '2014-06-23 10:39:10', 0, 1, 'AR20140600000004'),
	(6, 1, 1, 12, 'SDN', '2014-06-20', 18, 2, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 1, '2014-06-20 11:57:55', 0, '2014-06-20 12:32:04', 0, 1, 'AR20140600000002'),
	(7, 1, 1, 12, 'SDN', '2014-06-23', 18, 2, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 17:52:58', 0, '2014-06-24 09:01:34', 0, 0, 'AR20140600000008'),
	(8, 1, 1, 15, 'SDN', '2014-07-02', 20, 1, 0, 0, 3.1305, 0, 'sdsf', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-02 14:49:41', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(9, 1, 1, 12, 'SDN', '2014-07-02', 18, 15, 0, 0, 3.1305, 0, 'dfd', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-02 14:52:25', 0, '2014-07-17 16:06:33', 0, 0, ''),
	(10, 1, 1, 12, 'SDN', '2014-07-03', 18, 1, 0, 0, 3.1305, 0, 'GDF GH', 0, 0, 797.55, 0, 38.67, 797.55, 0, 16, '2014-07-03 08:07:54', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(11, 1, 1, 12, 'SDN', '2014-07-03', 18, 15, 0, 0, 3.1305, 0, 'sds', 0, 0, 14.01, 0, 0.01, 14.01, 0, 16, '2014-07-03 13:00:15', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(12, 1, 1, 12, 'SDN', '2014-07-03', 18, 1, 0, 0, 3.1305, 0, '', 0, 0, 0, 0, 0, 0, 0, 1, '2014-07-03 16:16:47', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(13, 1, 1, 12, 'SDN', '2014-07-14', 18, 1, 0, 0, 3.1305, 0, 'sds sds', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-14 08:27:09', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(14, 1, 1, 12, 'SDN', '2014-07-14', 18, 1, 0, 0, 3.1305, 0, 'sds sds', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-14 08:27:29', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(15, 1, 1, 12, 'SDN', '2014-07-14', 18, 1, 0, 0, 3.1305, 0, 'sds sds', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-14 08:32:59', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(16, 1, 1, 12, 'SDN', '2014-07-14', 18, 1, 0, 0, 3.1305, 0, 'sds sds', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-14 08:44:23', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(17, 1, 1, 12, 'SDN', '2014-07-14', 18, 1, 0, 0, 3.1305, 0, 'sds sds', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-14 08:48:49', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(18, 1, 1, 12, 'SDN', '2014-07-14', 18, 1, 0, 0, 3.1305, 0, 'sds sds', 0, 0, 0, 0, 0, 0, 0, 16, '2014-07-14 08:49:12', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(19, 1, 1, 12, 'SDN', '2014-07-14', 18, 1, 0, 0, 3.1305, 0, 'sds sds', 0, 0, 12, 0, 0, 12, 0, 16, '2014-07-14 08:55:51', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(20, 1, 81, 33, 'SDN', '2014-07-21', 97, 22, 0, 0, 3.4, 0, '', 0, 0, 11660, 0, 660, 11660, 0, 29, '2014-07-21 14:48:38', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(21, 2, 1, 12, 'SDN', '2014-08-20', 23, 1, 0, 0, 2, 0, '', 0, 0, 1701.3, 0, 96.3, 1701.3, 0, 1, '2014-08-20 10:50:57', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(22, 3, 1, 12, 'SDN', '2014-08-20', 18, 10, 0, 0, 2, 0, '', 0, 0, 340.26, 0, 19.26, 340.26, 0, 1, '2014-08-20 11:01:06', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(23, 1, 15, 17, 'SDN', '2014-08-21', 146, 19, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-08-21 09:34:02', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(24, 1, 93, 40, 'SDN', '2014-09-09', 161, 0, 0, 0, 1, 0, '', 0, 0, 6490.38, 0, 367.38, 6490.38, 0, 16, '2014-09-09 15:05:44', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(25, 2, 93, 40, 'SDN', '2014-09-09', 163, 0, 0, 0, 1, 0, '', 0, 0, 7002, 0, 0, 7002, 0, 16, '2014-09-09 15:14:18', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(26, 3, 93, 40, 'SDN', '2014-09-09', 162, 0, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-09-09 15:43:29', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(27, 4, 93, 40, 'SDN', '2014-09-09', 162, 0, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-09-09 15:43:49', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(28, 5, 93, 40, 'SDN', '2014-09-09', 162, 0, 0, 0, 1, 0, '', 0, 0, 2829, 0, 0, 2829, 0, 16, '2014-09-09 15:55:04', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(29, 6, 93, 40, 'SDN', '2014-09-09', 162, 0, 0, 0, 1, 0, '', 0, 0, 5382, 0, 0, 5382, 0, 16, '2014-09-09 15:56:50', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(30, 7, 93, 40, 'SDN', '2014-09-09', 161, 0, 0, 0, 1, 0, '', 0, 0, 3434, 0, 0, 3434, 0, 16, '2014-09-09 16:04:09', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(31, 8, 93, 40, 'SDN', '2014-09-09', 161, 0, 0, 0, 1, 0, '', 0, 0, 234, 0, 0, 234, 0, 16, '2014-09-09 16:08:40', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(32, 9, 93, 40, 'SDN', '2014-09-09', 162, 0, 0, 0, 1, 0, '', 0, 0, 8480, 0, 480, 8480, 0, 16, '2014-09-09 16:18:02', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(33, 10, 93, 40, 'SDN', '2014-09-09', 162, 0, 0, 0, 1, 0, '', 0, 0, 4059, 0, 0, 4059, 0, 16, '2014-09-09 16:20:49', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(34, 11, 93, 40, 'SDN', '2014-09-09', 161, 0, 0, 0, 1, 0, '', 0, 0, 3434, 0, 0, 3434, 0, 16, '2014-09-09 16:22:19', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(35, 12, 93, 40, 'SDN', '2014-09-09', 163, 0, 0, 0, 1, 0, '', 0, 0, 8000, 0, 0, 8000, 0, 16, '2014-09-09 16:25:14', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(36, 13, 93, 40, 'SDN', '2014-09-09', 163, 0, 0, 0, 1, 0, '', 0, 0, 6000, 0, 0, 6000, 0, 16, '2014-09-09 16:33:43', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(37, 14, 93, 41, 'SDN', '2014-09-09', 159, 0, 0, 0, 1, 0, '', 0, 0, 232323, 0, 0, 232323, 0, 16, '2014-09-09 16:35:29', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(38, 15, 93, 40, 'SDN', '2014-09-09', 164, 0, 0, 0, 1, 0, '', 0, 0, 34234, 0, 0, 34234, 0, 16, '2014-09-09 16:36:29', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(39, 16, 93, 40, 'SDN', '2014-09-17', 161, 30, 0, 0, 1, 0, '', 0, 0, 4605.7, 0, 260.7, 4605.7, 0, 16, '2014-09-17 12:06:29', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(40, 17, 93, 40, 'SDN', '2014-09-17', 161, 30, 0, 0, 1, 0, '', 0, 0, 10600, 0, 600, 10600, 0, 16, '2014-09-17 16:07:56', 0, '2014-09-19 12:38:20', 0, 0, 'AR20140900000006'),
	(41, 18, 93, 41, 'SDN', '2014-09-18', 160, 30, 0, 0, 1, 0, '', 0, 0, 1234, 0, 74.04, 1234, 0, 16, '2014-09-18 09:50:11', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(42, 19, 93, 40, 'SDN', '2014-09-18', 162, 30, 0, 0, 1, 0, '', 0, 0, 16319.7, 0, 740.7, 16319.7, 0, 16, '2014-09-18 09:52:57', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(43, 1, 105, 45, 'SDN 234', '2014-09-18', 175, 0, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 51, '2014-09-18 10:04:40', 0, '2014-09-18 10:04:46', 0, 0, 'AR20140900000003'),
	(44, 20, 93, 40, 'SDN', '2014-09-18', 161, 30, 0, 0, 1, 0, '', 0, 0, 2343, 0, 140.58, 2343, 0, 16, '2014-09-18 14:19:24', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(45, 21, 93, 41, 'SDN', '2014-09-18', 167, 30, 0, 0, 1, 0, '', 0, 0, 12345, 0, 740.7, 12345, 0, 16, '2014-09-18 14:24:43', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(46, 22, 93, 40, 'SDN', '2014-09-18', 161, 30, 0, 0, 1, 0, '', 0, 0, 19327.34, 0, 95313.01, 4500.76, 0, 16, '2014-09-18 14:29:28', 0, '2014-09-19 12:52:42', 0, 1, ''),
	(47, 23, 93, 41, 'SDN', '2014-09-18', 160, 30, 0, 0, 1, 0, '', 0, 0, 3434, 0, 26407.46, 3434, 0, 16, '2014-09-18 14:35:29', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(48, 24, 93, 40, 'SDN', '2014-09-18', 161, 30, 0, 0, 1, 0, '', 0, 0, 8059.18, 0, 456.18, 8059.18, 0, 16, '2014-09-18 14:57:42', 0, '2014-09-19 12:38:20', 0, 1, ''),
	(49, 25, 93, 40, 'SDN', '2014-09-18', 161, 30, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-09-18 15:05:43', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(50, 26, 93, 40, 'SDN', '2014-09-19', 161, 30, 0, 0, 1, 0, '', 0, 0, 4555, 0, 1799.46, 0, 0, 16, '2014-09-19 15:07:29', 0, '2014-09-19 16:20:44', 0, 0, 'AR20140900000010'),
	(51, 27, 93, 41, 'SDN', '2014-09-19', 160, 30, 0, 0, 1, 0, '', 0, 0, 2323, 0, 0, 0, 0, 16, '2014-09-19 17:34:45', 0, '2014-09-19 17:38:24', 0, 1, ''),
	(52, 28, 93, 41, 'SDN', '2014-09-19', 160, 31, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-09-19 17:35:57', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(53, 29, 93, 40, 'SDN', '2014-10-28', 245, 0, 0, 0, 1, 0, '', 0, 0, 2109402.12, 0, 119400.12, 0, 0, 16, '2014-10-28 09:48:38', 0, '2014-10-28 14:10:30', 0, 1, ''),
	(54, 1, 111, 52, 'SDN', '2014-10-31', 260, 0, 0, 0, 1, 0, '', 0, 0, 50880, 0, 2880, 0, 0, 33, '2014-10-31 11:18:00', 0, '2014-10-31 11:18:42', 0, 0, 'AR20141000000088'),
	(56, 30, 93, 40, 'SDN', '2014-10-31', 263, 0, 0, 0, 1, 0, '', 0, 0, 21.2, 0, 1.2, 0, 0, 16, '2014-10-31 12:09:17', 0, '2014-10-31 15:10:04', 0, 1, ''),
	(57, 2, 111, 52, 'SDN', '2014-11-03', 248, 35, 0, 0, 1, 0, '', 0, 0, 12.72, 0, 0.72, 0, 0, 33, '2014-11-03 10:03:38', 0, '2014-11-03 10:03:38', 0, 1, '');


-- Dumping structure for table iaccountdb.comp_sales_debitnote_charges
CREATE TABLE IF NOT EXISTS `comp_sales_debitnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` 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,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=111 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_debitnote_charges: ~58 rows (approximately)
DELETE FROM `comp_sales_debitnote_charges`;
INSERT INTO `comp_sales_debitnote_charges` (`ID`, `debitNoteID`, `lineNo`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `drAccountID`, `crAccountID`, `drTaxAccountID`, `crTaxAccountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(38, 11, 1, 102, 'dsa', 0, 5, 0, 0, 12, 0, 0, 0, 0, 16, '2014-07-03 13:00:15', 0, '0000-00-00 00:00:00'),
	(39, 0, 2, 102, 'dewe', 0, 11, 10, 0.1, 1, 0, 0, 0, 0, 16, '2014-07-03 13:00:35', 0, '0000-00-00 00:00:00'),
	(40, 0, 3, 100, 'we', 0, 5, 0, 1, 1, 0, 0, 0, 0, 16, '2014-07-03 13:02:36', 0, '0000-00-00 00:00:00'),
	(41, 0, 4, 100, 'as', 0, 5, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-03 13:04:17', 0, '0000-00-00 00:00:00'),
	(42, 0, 1, 101, 'dfd', 0, 1, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-07-07 16:24:59', 0, '0000-00-00 00:00:00'),
	(43, 0, 1, 101, 'sd', 0, 1, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-07-07 16:27:25', 0, '0000-00-00 00:00:00'),
	(44, 10, 1, 101, 'WE', 0, 2, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-07 16:29:31', 0, '0000-00-00 00:00:00'),
	(45, 10, 2, 101, '12', 0, 1, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-07-07 16:29:56', 0, '0000-00-00 00:00:00'),
	(46, 10, 3, 101, 'sds', 0, 1, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-07-07 16:46:25', 0, '0000-00-00 00:00:00'),
	(47, 10, 4, 98, 'sds', 111111, 2, 0, 0, 111, 0, 0, 0, 0, 16, '2014-07-07 16:46:44', 16, '2014-07-14 14:31:45'),
	(48, 19, 1, 100, 'xcsxd', 0, 4, 0, 0, 12, 0, 0, 0, 0, 16, '2014-07-14 08:57:19', 0, '0000-00-00 00:00:00'),
	(49, 23, 1, 292, 'yuran khas', 0, 44, 6, 0.6, 10, 0, 0, 0, 0, 16, '2014-08-21 09:34:02', 0, '0000-00-00 00:00:00'),
	(50, 25, 1, 28370, 'adfsfafd', 0, 0, 0, 0, 2334, 0, 0, 0, 0, 16, '2014-09-09 15:14:20', 0, '0000-00-00 00:00:00'),
	(51, 25, 1, 28370, 'adfsfafd', 0, 0, 0, 0, 2334, 0, 0, 0, 0, 16, '2014-09-09 15:14:32', 0, '0000-00-00 00:00:00'),
	(52, 25, 1, 28370, 'adfsfafd', 0, 0, 0, 0, 2334, 0, 0, 0, 0, 16, '2014-09-09 15:19:44', 0, '0000-00-00 00:00:00'),
	(54, 26, 1, 28370, 'asdfasf343', 0, 775, 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-09 15:43:29', 0, '0000-00-00 00:00:00'),
	(55, 27, 1, 28370, 'asdfasf343', 0, 775, 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-09 15:43:50', 0, '0000-00-00 00:00:00'),
	(56, 28, 1, 28371, 'zsdfsfsafd', 0, 775, 0, 0, 3423, 0, 0, 0, 0, 16, '2014-09-09 15:55:12', 0, '0000-00-00 00:00:00'),
	(57, 28, 1, 28371, 'zsdfsfsafd', 0, 775, 0, 0, 3423, 0, 0, 0, 0, 16, '2014-09-09 15:55:24', 0, '0000-00-00 00:00:00'),
	(58, 0, 1, 28370, 'asdfad', 0, 775, 0, 0, 345, 0, 0, 0, 0, 16, '2014-09-09 15:57:32', 0, '0000-00-00 00:00:00'),
	(59, 0, 2, 28369, 'adasda34', 0, 775, 0, 0, 453, 0, 0, 0, 0, 16, '2014-09-09 15:57:42', 0, '0000-00-00 00:00:00'),
	(60, 30, 1, 28371, 'fdgsd3434', 0, 775, 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-09 16:04:09', 0, '0000-00-00 00:00:00'),
	(61, 0, 2, 28369, 'dfasdfsafd', 0, 775, 0, 0, 232, 0, 0, 0, 0, 16, '2014-09-09 16:04:15', 0, '0000-00-00 00:00:00'),
	(62, 31, 1, 28370, 'adfsadf', 0, 775, 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-09 16:08:40', 0, '0000-00-00 00:00:00'),
	(63, 0, 2, 28371, 'sadfasd343', 0, 775, 0, 0, 345, 0, 0, 0, 0, 16, '2014-09-09 16:08:50', 0, '0000-00-00 00:00:00'),
	(64, 0, 3, 28369, 'adfas245', 0, 775, 0, 0, 100, 0, 0, 0, 0, 16, '2014-09-09 16:09:06', 0, '0000-00-00 00:00:00'),
	(65, 34, 1, 28370, 'asdfsadf', 0, 775, 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-09 16:22:19', 0, '0000-00-00 00:00:00'),
	(66, 0, 2, 28369, '343434', 0, 775, 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-09 16:22:39', 0, '0000-00-00 00:00:00'),
	(67, 0, 1, 28371, 'eew3', 0, 775, 0, 0, 342, 0, 0, 0, 0, 16, '2014-09-09 16:25:25', 0, '0000-00-00 00:00:00'),
	(68, 0, 2, 28371, 'sadfasd', 0, 775, 0, 0, 34, 0, 0, 0, 0, 16, '2014-09-09 16:25:33', 0, '0000-00-00 00:00:00'),
	(69, 0, 3, 28371, 'sgffsdf345', 0, 775, 0, 0, 1111, 0, 0, 0, 0, 16, '2014-09-09 16:25:44', 0, '0000-00-00 00:00:00'),
	(70, 0, 4, 28369, 'zfxgsdfg', 0, 775, 0, 0, 345, 0, 0, 0, 0, 16, '2014-09-09 16:25:56', 0, '0000-00-00 00:00:00'),
	(71, 0, 1, 28370, 'sdfsdf', 0, 775, 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-09 16:34:07', 0, '0000-00-00 00:00:00'),
	(72, 0, 2, 28370, 'sdfsdf', 0, 775, 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-09 16:34:16', 0, '0000-00-00 00:00:00'),
	(73, 37, 1, 28370, 'dfsfsf', 0, 775, 0, 0, 232323, 0, 0, 0, 0, 16, '2014-09-09 16:35:29', 0, '0000-00-00 00:00:00'),
	(74, 0, 2, 28370, 'sdfsdf425', 0, 775, 0, 0, 454545, 0, 0, 0, 0, 16, '2014-09-09 16:35:52', 0, '0000-00-00 00:00:00'),
	(75, 38, 1, 28380, 'sdfgdfg3435', 0, 775, 0, 0, 34234, 0, 0, 0, 0, 16, '2014-09-09 16:36:29', 0, '0000-00-00 00:00:00'),
	(76, 0, 2, 28369, 'fsf3434', 0, 775, 0, 0, 3453434, 0, 0, 0, 0, 16, '2014-09-09 16:36:39', 0, '0000-00-00 00:00:00'),
	(77, 41, 1, 28370, 'zscvzxcv', 0, 769, 6, 74.04, 1234, 0, 0, 0, 0, 16, '2014-09-18 09:50:11', 0, '0000-00-00 00:00:00'),
	(78, 0, 2, 28371, 'asfda42554', 0, 0, 0, 0, 4323, 0, 0, 0, 0, 16, '2014-09-18 09:50:32', 0, '0000-00-00 00:00:00'),
	(80, 0, 2, 28371, 'asfafd', 0, 6, 0, 2059.38, 34323, 0, 0, 0, 0, 16, '2014-09-18 09:53:11', 0, '0000-00-00 00:00:00'),
	(81, 42, 2, 28370, 'asdfas432345', 12345, 769, 0, 740.7, 13085.7, 0, 0, 0, 0, 16, '2014-09-18 10:02:24', 16, '2014-09-18 12:34:53'),
	(82, 42, 2, 28370, 'asdfas432345', 3234, 774, 0, 0, 3234, 0, 0, 0, 0, 16, '2014-09-18 10:02:32', 16, '2014-09-18 12:37:44'),
	(84, 44, 1, 28371, 'ghjgh46546', 7332842, 769, 6, 140.58, 2343, 0, 0, 0, 0, 16, '2014-09-18 14:19:24', 0, '0000-00-00 00:00:00'),
	(85, 45, 1, 28370, 'sss', 0, 769, 6, 740.7, 12345, 0, 0, 0, 0, 16, '2014-09-18 14:24:44', 0, '0000-00-00 00:00:00'),
	(86, 0, 1, 28370, 'asda12342234', 0, 6, 0, 74.04, 1234, 0, 0, 0, 0, 16, '2014-09-18 14:29:41', 0, '0000-00-00 00:00:00'),
	(88, 47, 1, 28370, 'cdfafasdf2345345', 0, 769, 6, 26407.46, 3434, 0, 0, 0, 0, 16, '2014-09-18 14:49:57', 0, '0000-00-00 00:00:00'),
	(89, 48, 1, 28370, 'asdfasfd', 1234, 770, 0, 74.04, 1308.04, 0, 0, 0, 0, 16, '2014-09-18 14:57:42', 16, '2014-09-18 15:02:21'),
	(90, 49, 1, 28371, 'as', 0, 778, 6, 0.72, 12, 0, 0, 0, 0, 16, '2014-09-18 15:05:43', 0, '0000-00-00 00:00:00'),
	(91, 0, 1, 28370, 'jhgjg', 0, 769, 6, 9481.77, 1233, 0, 0, 0, 0, 16, '2014-09-19 12:19:56', 0, '0000-00-00 00:00:00'),
	(92, 0, 1, 28370, 'asdf323', 0, 769, 6, 1784.08, 232, 0, 0, 0, 0, 16, '2014-09-19 12:20:21', 0, '0000-00-00 00:00:00'),
	(93, 0, 2, 28370, 'zdsf234', 0, 769, 6, 1791.77, 233, 0, 0, 0, 0, 16, '2014-09-19 12:36:01', 0, '0000-00-00 00:00:00'),
	(101, 46, 5, 28370, 'asdfasdf', 12343, 769, 6, 94917.67, 12343, 0, 0, 0, 0, 16, '2014-09-19 12:50:53', 0, '0000-00-00 00:00:00'),
	(102, 46, 6, 28370, 'sadfasfsdf', 2343, 770, 6, 140.58, 2483.58, 0, 0, 0, 0, 16, '2014-09-19 12:52:08', 16, '2014-09-19 12:52:42'),
	(104, 50, 1, 28370, 'zvxzfg23', 234, 769, 6, 1799.46, 234, 0, 0, 0, 0, 16, '2014-09-19 15:10:01', 0, '0000-00-00 00:00:00'),
	(108, 50, 2, 28370, 'sadf', 4321, 774, 0, 0, 4321, 0, 0, 0, 0, 16, '2014-09-19 15:17:54', 16, '2014-09-19 15:18:32'),
	(109, 51, 1, 28370, 'sadfa', 2323, 775, 0, 0, 2323, 0, 0, 0, 0, 16, '2014-09-19 17:34:45', 16, '2014-09-19 17:37:05'),
	(110, 52, 1, 28370, 'asdf', 2323, 775, 0, 0, 2323, 0, 0, 0, 0, 16, '2014-09-19 17:35:57', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_sales_debitnote_detail
CREATE TABLE IF NOT EXISTS `comp_sales_debitnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=83 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_debitnote_detail: ~62 rows (approximately)
DELETE FROM `comp_sales_debitnote_detail`;
INSERT INTO `comp_sales_debitnote_detail` (`ID`, `debitnoteID`, `invoiceDetailID`, `lineNo`, `itemID`, `itemname`, `itemdescription`, `umID`, `quantity`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `accountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(6, 5, 0, 1, 2, 'Steel chair for outdoor', 'B13 Steel Chair', 0, 1, 1, 1, 1, 6, 0.06, 1.06, 0, 16, '2014-06-18 12:06:39', 0, '0000-00-00 00:00:00'),
	(7, 6, 0, 1, 1, 'Teak wooden chair with natural finish', 'A12 Wooden Chair', 0, 1, 120, 120, 10, 6, 7.2, 127.2, 0, 1, '2014-06-20 11:59:35', 0, '0000-00-00 00:00:00'),
	(9, 7, 0, 1, 2, 'Steel chair for outdoor', 'B13 Steel Chair', 0, 1, 1, 1, 1, 6, 0.06, 1.06, 0, 16, '2014-06-24 08:50:01', 0, '0000-00-00 00:00:00'),
	(10, 8, 0, 0, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 0, 6, 19.26, 340.26, 0, 16, '2014-07-02 14:49:41', 0, '0000-00-00 00:00:00'),
	(11, 8, 0, 0, 10, '', 'Bola Tampar Buaya', 0, 1, 1, 1, 0, 6, 0.06, 1.06, 0, 16, '2014-07-02 14:51:41', 0, '0000-00-00 00:00:00'),
	(12, 9, 0, 0, 4, '', 'Plastic Chair - Blue', 0, 12, 1, 12, 1, 0, 0, 12, 0, 16, '2014-07-02 14:52:25', 0, '0000-00-00 00:00:00'),
	(13, 9, 0, 0, 7, '', 'Plastic Chair - Red', 0, 21, 12, 252, 0, 0, 0, 252, 0, 16, '2014-07-02 14:52:36', 0, '0000-00-00 00:00:00'),
	(15, 10, 0, 1, 4, '', 'Plastic Chair - Blue', 0, 1, 1, 1, 6, 1, 0.01, 1.01, 0, 16, '2014-07-03 08:07:54', 0, '0000-00-00 00:00:00'),
	(16, 10, 0, 2, 8, '', 'Plastic Chair - White', 0, 2, 1, 2, 5, 1, 0.02, 2.02, 0, 16, '2014-07-03 09:22:03', 16, '0000-00-00 00:00:00'),
	(17, 11, 0, 1, 7, '', 'Plastic Chair - Red', 0, 1, 1, 1, 0, 0, 0, 1, 0, 16, '2014-07-03 13:00:48', 0, '0000-00-00 00:00:00'),
	(18, 11, 0, 2, 7, '', 'Plastic Chair - Red', 0, 1, 1, 1, 0, 1, 0.01, 1.01, 0, 16, '2014-07-03 13:01:17', 0, '0000-00-00 00:00:00'),
	(19, 12, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 10, 321, 3210, 12, 6, 192.6, 3402.6, 0, 1, '2014-07-03 16:16:47', 0, '0000-00-00 00:00:00'),
	(20, 10, 0, 3, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-07 16:53:03', 0, '0000-00-00 00:00:00'),
	(22, 10, 0, 4, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-07 16:54:59', 0, '0000-00-00 00:00:00'),
	(23, 13, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 08:27:09', 0, '0000-00-00 00:00:00'),
	(24, 14, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 08:27:29', 0, '0000-00-00 00:00:00'),
	(25, 15, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 08:32:59', 0, '0000-00-00 00:00:00'),
	(26, 16, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 08:44:23', 0, '0000-00-00 00:00:00'),
	(27, 17, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 08:48:49', 0, '0000-00-00 00:00:00'),
	(28, 18, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 16, '2014-07-14 08:49:12', 0, '0000-00-00 00:00:00'),
	(30, 20, 0, 1, 16, '', 'Wireless', 0, 10, 1100, 11000, 0, 6, 660, 11660, 0, 29, '2014-07-21 14:48:39', 0, '0000-00-00 00:00:00'),
	(31, 21, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 5, 321, 1605, 1, 6, 96.3, 1701.3, 0, 1, '2014-08-20 10:50:57', 0, '0000-00-00 00:00:00'),
	(32, 22, 0, 1, 1, '', 'Teak wooden chair with natural finish', 0, 1, 321, 321, 1, 6, 19.26, 340.26, 0, 1, '2014-08-20 11:01:06', 0, '0000-00-00 00:00:00'),
	(35, 27, 0, 1, 26, '', 'Chair with Cover', 0, 2, 12, 24, 0, 0, 0, 24, 0, 16, '2014-09-09 15:44:12', 0, '0000-00-00 00:00:00'),
	(36, 27, 0, 1, 26, '', 'Chair with Cover', 0, 2, 12, 24, 0, 0, 0, 24, 0, 16, '2014-09-09 15:44:24', 0, '0000-00-00 00:00:00'),
	(37, 27, 0, 1, 26, '', 'Chair with Cover', 0, 2, 12, 24, 0, 0, 0, 24, 0, 16, '2014-09-09 15:44:29', 0, '0000-00-00 00:00:00'),
	(38, 27, 0, 1, 26, '', 'Chair with Cover', 0, 2, 12, 24, 0, 0, 0, 24, 0, 16, '2014-09-09 15:49:57', 0, '0000-00-00 00:00:00'),
	(39, 27, 0, 1, 26, '', 'Chair with Cover', 0, 2, 12, 24, 0, 0, 0, 24, 0, 16, '2014-09-09 15:52:08', 0, '0000-00-00 00:00:00'),
	(40, 28, 0, 1, 26, '', 'Chair with Cover', 0, 23, 123, 2829, 0, 0, 0, 2829, 0, 16, '2014-09-09 15:55:04', 0, '0000-00-00 00:00:00'),
	(41, 29, 0, 1, 26, '', 'Chair with Cover', 0, 23, 234, 5382, 0, 0, 0, 5382, 0, 16, '2014-09-09 15:56:50', 0, '0000-00-00 00:00:00'),
	(42, 0, 0, 2, 29, '', 'Laptop Dell', 0, 3, 2000, 6000, 0, 0, 0, 6000, 0, 16, '2014-09-09 15:57:04', 0, '0000-00-00 00:00:00'),
	(43, 0, 0, 1, 26, '', 'Chair with Cover', 0, 3, 123, 369, 0, 0, 0, 369, 0, 16, '2014-09-09 16:09:17', 0, '0000-00-00 00:00:00'),
	(44, 32, 0, 1, 29, '', 'Laptop Dell', 0, 4, 2000, 8000, 769, 6, 480, 8480, 0, 16, '2014-09-09 16:18:02', 0, '0000-00-00 00:00:00'),
	(45, 33, 0, 1, 26, '', 'Chair with Cover', 0, 33, 123, 4059, 0, 0, 0, 4059, 0, 16, '2014-09-09 16:20:50', 0, '0000-00-00 00:00:00'),
	(46, 0, 0, 2, 29, '', 'Laptop Dell', 0, 3, 2000, 6000, 0, 0, 0, 6000, 0, 16, '2014-09-09 16:20:58', 0, '0000-00-00 00:00:00'),
	(47, 0, 0, 1, 29, '', 'Laptop Dell', 0, 3, 2000, 6000, 0, 0, 0, 6000, 0, 16, '2014-09-09 16:22:26', 0, '0000-00-00 00:00:00'),
	(48, 0, 0, 2, 29, '', 'Laptop Dell', 0, 3, 2000, 6000, 0, 0, 0, 6000, 0, 16, '2014-09-09 16:22:32', 0, '0000-00-00 00:00:00'),
	(49, 0, 0, 3, 27, '', 'STAT', 0, 3, 23, 69, 0, 0, 0, 69, 0, 16, '2014-09-09 16:22:51', 0, '0000-00-00 00:00:00'),
	(50, 35, 0, 1, 29, '', 'Laptop Dell', 0, 4, 2000, 8000, 0, 0, 0, 8000, 0, 16, '2014-09-09 16:25:14', 0, '0000-00-00 00:00:00'),
	(51, 0, 0, 2, 29, '', 'Laptop Dell', 0, 3, 2000, 6000, 0, 0, 0, 6000, 0, 16, '2014-09-09 16:31:17', 0, '0000-00-00 00:00:00'),
	(52, 36, 0, 1, 29, '', 'Laptop Dell', 0, 3, 2000, 6000, 0, 0, 0, 6000, 0, 16, '2014-09-09 16:33:44', 0, '0000-00-00 00:00:00'),
	(53, 0, 0, 1, 26, '', 'Chair with Cover', 0, 343434, 23, 7898982, 0, 0, 0, 7898982, 0, 16, '2014-09-09 16:37:01', 0, '0000-00-00 00:00:00'),
	(54, 24, 0, 1, 26, '', 'Chair with Cover', 0, 1, 2123, 2123, 769, 6, 127.38, 2250.38, 0, 16, '2014-09-17 11:56:57', 16, '0000-00-00 00:00:00'),
	(58, 24, 0, 2, 29, '', 'Laptop Dell', 0, 2, 2000, 4000, 769, 6, 240, 4240, 0, 16, '2014-09-17 12:04:55', 16, '0000-00-00 00:00:00'),
	(59, 39, 0, 1, 27, '', 'STAT', 0, 1, 4345, 4345, 769, 6, 260.7, 4605.7, 0, 16, '2014-09-17 12:06:29', 0, '0000-00-00 00:00:00'),
	(60, 40, 0, 1, 29, '', 'Laptop Dell', 0, 5, 2000, 10000, 769, 6, 600, 10600, 0, 16, '2014-09-17 16:07:57', 0, '0000-00-00 00:00:00'),
	(61, 43, 0, 1, 37, '', 'Proton Saga full spec', 0, 1, 0, 0, 1308, 6, 0, 0, 0, 51, '2014-09-18 10:04:41', 0, '0000-00-00 00:00:00'),
	(62, 0, 0, 1, 26, '', 'Chair with Cover', 0, 3, 2123, 6369, 769, 6, 382.14, 6751.14, 0, 16, '2014-09-18 14:19:37', 0, '0000-00-00 00:00:00'),
	(63, 0, 0, 1, 26, '', 'Chair with Cover', 0, 3, 2123, 6369, 769, 6, 382.14, 6751.14, 0, 16, '2014-09-18 14:19:46', 0, '0000-00-00 00:00:00'),
	(64, 0, 0, 1, 26, '', 'Chair with Cover', 0, 3, 2123, 6369, 769, 6, 382.14, 6751.14, 0, 16, '2014-09-18 14:22:26', 0, '0000-00-00 00:00:00'),
	(65, 0, 0, 1, 26, '', 'Chair with Cover', 0, 23, 34, 782, 769, 6, 46.92, 828.92, 0, 16, '2014-09-18 14:24:56', 0, '0000-00-00 00:00:00'),
	(66, 0, 0, 2, 29, '', 'Laptop Dell', 0, 4, 435, 1740, 769, 6, 104.4, 1844.4, 0, 16, '2014-09-18 14:25:23', 0, '0000-00-00 00:00:00'),
	(67, 46, 0, 1, 26, '', 'Chair with Cover', 0, 2, 2123, 4246, 769, 6, 254.76, 4500.76, 0, 16, '2014-09-18 14:29:28', 0, '0000-00-00 00:00:00'),
	(69, 48, 0, 1, 26, '', 'Chair with Cover', 0, 3, 2123, 6369, 769, 6, 382.14, 6751.14, 0, 16, '2014-09-18 14:57:47', 0, '0000-00-00 00:00:00'),
	(72, 53, 0, 1, 29, '', 'Laptop Dell', 2, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-28 13:09:36', 16, '0000-00-00 00:00:00'),
	(73, 53, 0, 2, 26, '', 'Chair with Cover', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-28 11:36:31', 0, '0000-00-00 00:00:00'),
	(74, 53, 0, 3, 29, '', 'Laptop Dell', 1, 1, 1990000, 1990000, 769, 6, 119400, 2109400, 0, 16, '2014-10-28 14:10:54', 16, '0000-00-00 00:00:00'),
	(75, 54, 0, 1, 93, '', 'Samsung Note 4', 13, 1, 24000, 24000, 1560, 6, 1440, 25440, 0, 33, '2014-10-31 11:18:00', 0, '0000-00-00 00:00:00'),
	(76, 54, 0, 1, 93, '', 'Samsung Note 4', 13, 1, 24000, 24000, 1560, 6, 1440, 25440, 0, 33, '2014-10-31 11:18:14', 0, '0000-00-00 00:00:00'),
	(78, 56, 127, 1, 29, '', 'Laptop Dell', 1, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 14:39:49', 16, '0000-00-00 00:00:00'),
	(81, 56, 126, 2, 27, '', 'STAT', 3, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 15:10:04', 16, '0000-00-00 00:00:00'),
	(82, 57, 103, 1, 90, '', 'Mineral water(box=12unit)', 13, 1, 12, 12, 1560, 6, 0.72, 12.72, 0, 33, '2014-11-03 10:03:38', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_sales_debt_recover
CREATE TABLE IF NOT EXISTS `comp_sales_debt_recover` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `custID` int(11) NOT NULL,
  `valueDebtRecover` double NOT NULL,
  `gstDebtRecover` double NOT NULL,
  `transDate` date NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(255) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE 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 AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_debt_recover: ~3 rows (approximately)
DELETE FROM `comp_sales_debt_recover`;
INSERT INTO `comp_sales_debt_recover` (`ID`, `companyID`, `custID`, `valueDebtRecover`, `gstDebtRecover`, `transDate`, `updateAble`, `journalNo`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(11, 93, 41, 33000.7, 1.29, '2014-10-03', 1, '', 16, '2014-10-03 18:06:13', 16, '2014-10-03 18:06:13'),
	(12, 93, 0, 1000, 0.04, '2015-12-31', 1, '', 19, '2014-10-10 17:25:12', 0, '0000-00-00 00:00:00'),
	(14, 110, 47, 100, 5.66, '2014-10-25', 1, '', 19, '2014-10-10 18:07:37', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_sales_detail
CREATE TABLE IF NOT EXISTS `comp_sales_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `salesID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL DEFAULT '0',
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `description` varchar(200) DEFAULT NULL,
  `unitPrice` double DEFAULT NULL,
  `unitmeasure` int(11) DEFAULT NULL,
  `umID` int(11) NOT NULL,
  `standUM` int(11) NOT NULL,
  `quantityOrder` double DEFAULT NULL,
  `quantityShip` double DEFAULT '0',
  `amount` double DEFAULT NULL,
  `requiredDate` date DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updatedTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_detail: ~44 rows (approximately)
DELETE FROM `comp_sales_detail`;
INSERT INTO `comp_sales_detail` (`ID`, `salesID`, `invoiceID`, `lineNo`, `itemID`, `description`, `unitPrice`, `unitmeasure`, `umID`, `standUM`, `quantityOrder`, `quantityShip`, `amount`, `requiredDate`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(1, 1, 89, 0, 1, 'Teak wooden chair with natural finish', 120, 2, 2, 0, 120, 83, 14400, '2014-06-11', 1, '2014-06-11 15:24:02', 1, '2014-06-11 15:24:02'),
	(2, 1, 0, 0, 7, 'Plastic Chair - Red', 15, 2, 2, 0, 1000, 500, 15000, '2014-06-11', 1, '2014-06-11 15:24:16', 1, '2014-06-11 15:24:16'),
	(3, 1, 89, 0, 2, 'Steel chair for outdoor', 90, 2, 2, 0, 250, 0, 22500, '2014-06-11', 1, '2014-06-11 15:24:37', NULL, '2014-06-11 15:24:37'),
	(4, 2, 0, 0, 1, 'Teak wooden chair with natural finish', 30, 2, 2, 0, 1200, 12, 36000, '2014-06-11', 1, '2014-06-11 15:25:26', 1, '2014-06-11 15:25:26'),
	(5, 2, 0, 0, 8, 'Plastic Chair - White', 122, 2, 2, 0, 120, 10, 14640, '2014-06-11', 1, '2014-06-11 15:25:39', 1, '2014-06-11 15:25:39'),
	(6, 2, 0, 0, 10, 'Bola Tampar Buaya', 30, 2, 2, 0, 20, 0, 600, '2014-06-11', 1, '2014-06-11 15:25:52', NULL, '2014-06-11 15:25:52'),
	(7, 3, 90, 0, 1, 'Teak wooden chair with natural finish', 120, 2, 2, 0, 10, 0, 1200, '2014-06-18', 1, '2014-06-18 09:45:07', NULL, '2014-06-18 09:45:07'),
	(8, 3, 0, 0, 2, 'Steel chair for outdoor', 230, 2, 2, 0, 2300, 0, 529000, '2014-06-18', 1, '2014-06-18 09:45:21', NULL, '2014-06-18 09:45:21'),
	(9, 2, 0, 0, 7, 'Plastic Chair - Red', 10, 2, 2, 0, 1234, 0, 12340, '2014-06-18', 1, '2014-06-18 09:45:35', NULL, '2014-06-18 09:45:35'),
	(10, 4, 0, 0, 8, 'Plastic Chair - White', 1000, 2, 2, 0, 1000, 0, 1000000, '2014-06-18', 1, '2014-06-18 11:49:20', NULL, '2014-06-18 11:49:20'),
	(11, 5, 0, 0, 10, 'Bola Tampar Buaya', 35, 2, 2, 0, 1000, 0, 35000, '2014-06-18', 1, '2014-06-18 11:49:52', NULL, '2014-06-18 11:49:52'),
	(12, 6, 0, 0, 11, 'saiz 10. warna gold', 250, 2, 2, 0, 1, 1, 250, '2014-07-17', 16, '2014-07-17 11:09:34', 16, '2014-07-17 11:09:34'),
	(13, 7, 0, 0, 4, 'Plastic Chair - Blue', 23, 2, 2, 0, 3, 0, 69, '2014-07-18', 16, '2014-07-18 14:57:43', NULL, '2014-07-18 14:57:43'),
	(14, 8, 0, 0, 7, 'Plastic Chair - Red', 34, 2, 2, 0, 4, 0, 136, '2014-07-18', 16, '2014-07-18 15:02:35', NULL, '2014-07-18 15:02:35'),
	(15, 8, 0, 0, 2, 'Steel chair for outdoor', 56, 2, 2, 0, 8, 0, 448, '2014-07-18', 16, '2014-07-18 15:02:55', NULL, '2014-07-18 15:02:55'),
	(16, 10, 0, 0, 29, 'Laptop Dell', 2000, 3, 3, 0, 2, 2, 4000, '2014-09-08', 43, '2014-09-08 10:02:33', 16, '2014-09-08 10:02:33'),
	(17, 11, 0, 0, 8, 'Plastic Chair - White', 10, 2, 2, 0, 10, 0, 100, '2014-09-08', 16, '2014-09-08 15:20:09', NULL, '2014-09-08 15:20:09'),
	(18, 11, 0, 0, 2, 'Steel chair for outdoor', 10, 2, 2, 0, 10, 1, 100, '2014-09-08', 16, '2014-09-08 15:20:31', 16, '2014-09-08 15:20:31'),
	(19, 12, 0, 0, 2, 'Steel chair for outdoor', 1, 2, 2, 0, 1, 1, 1, '2014-09-08', 16, '2014-09-08 15:21:56', 16, '2014-09-08 15:21:56'),
	(20, 13, 0, 0, 20, 'asdfasdf asdf asfd', 23, 12, 12, 0, 5, 5, 115, '2014-09-08', 33, '2014-09-08 18:17:02', 33, '2014-09-08 18:17:02'),
	(21, 13, 0, 0, 19, 'New Item description', 342, 3, 3, 0, 5, 5, 1710, '2014-09-08', 33, '2014-09-08 18:17:19', 33, '2014-09-08 18:17:19'),
	(22, 14, 0, 0, 27, 'STATsd sddddddddddddw', 1, 3, 3, 0, 10, 10, 10, '2014-09-09', 16, '2014-09-09 09:27:41', 16, '2014-09-09 09:27:41'),
	(23, 14, 0, 0, 25, 'Table with Glass', 1, 3, 3, 0, 12, 16, 12, '2014-09-09', 16, '2014-09-09 09:28:01', 16, '2014-09-09 09:28:01'),
	(25, 16, 0, 0, 29, 'Laptop Dell', 100, 3, 3, 0, 10, 10, 1000, '2014-09-10', 16, '2014-09-10 15:47:31', 16, '2014-09-10 15:47:31'),
	(26, 17, 0, 0, 27, 'STAT', 10, 3, 3, 0, 10, 10, 100, '2014-09-10', 16, '2014-09-10 17:40:28', 16, '2014-09-10 17:40:28'),
	(27, 18, 0, 0, 32, 'cake', 3, 9, 9, 0, 200, 200, 600, '2014-09-16', 50, '2014-09-16 10:12:20', 50, '2014-09-16 10:12:20'),
	(28, 19, 0, 0, 39, 'Toyota Wish 2.0 Recon', 120000, 3, 3, 0, 2, 2, 240000, '2014-09-16', 19, '2014-09-16 13:48:00', 19, '2014-09-16 13:48:00'),
	(29, 20, 0, 0, 27, 'STAT', 1, 3, 3, 0, 1, 0, 1, '2014-09-23', 16, '2014-09-23 10:29:49', NULL, '2014-09-23 10:29:49'),
	(31, 22, 0, 0, 37, 'Proton Saga full spec', 30000, 3, 3, 0, 1, 1, 30000, '2014-09-23', 51, '2014-09-23 10:33:43', 51, '2014-09-23 10:33:43'),
	(32, 23, 0, 0, 38, 'Toyota Alphard recon', 100000, 3, 3, 0, 1, 1, 100000, '2014-09-23', 51, '2014-09-23 12:39:13', 51, '2014-09-23 12:39:13'),
	(33, 24, 0, 0, 41, 'tangga', 10, 3, 3, 0, 10, 2, 100, '2014-09-23', 16, '2014-09-23 12:44:30', 16, '2014-09-23 12:44:30'),
	(37, 27, 0, 0, 71, 'BLACK', 342, 2, 2, 0, 4, 4, 1368, '2014-10-14', 19, '2014-10-14 15:29:25', 19, '2014-10-14 15:29:25'),
	(41, 31, 0, 0, 90, 'Mineral Water', 12, 13, 13, 0, 5, 4, 60, '2014-10-24', 33, '2014-10-24 16:49:29', 33, '2014-10-24 16:49:29'),
	(42, 31, 0, 0, 80, 'Proton Car', 70000, 3, 3, 0, 4, 1, 280000, '2014-10-24', 33, '2014-10-24 16:49:46', 33, '2014-10-24 16:49:46'),
	(43, 32, 0, 0, 90, 'Mineral Water', 20, NULL, 13, 0, 4, 0, 80, '2014-10-27', 33, '2014-10-27 16:34:48', NULL, '2014-10-27 16:34:48'),
	(44, 33, 0, 0, 93, 'Samsung Note 4', 24000, NULL, 13, 0, 2, 1, 48000, '2014-10-27', 33, '2014-10-27 16:39:06', 33, '2014-10-27 16:39:06'),
	(45, 34, 0, 0, 90, 'Mineral Water', 20, NULL, 13, 0, 3, 2, 60, '2014-10-27', 33, '2014-10-27 16:54:52', 33, '2014-10-27 16:54:52'),
	(46, 34, 0, 0, 93, 'Samsung Note 4', 3, NULL, 13, 0, 4, 2, 12, '2014-10-27', 33, '2014-10-27 16:56:23', 33, '2014-10-27 16:56:23'),
	(48, 90, 0, 0, 93, 'Samsung Note 4', 24000, NULL, 13, 0, 2, 0, 48000, '2014-10-27', 33, '2014-10-27 17:02:23', NULL, '2014-10-27 17:02:23'),
	(52, 26, 0, 0, 90, 'Mineral Water', 8, NULL, 35, 0, 5, 0, 40, '2014-10-27', 33, '2014-10-27 17:50:24', NULL, '2014-10-27 17:50:24'),
	(53, 26, 0, 0, 93, 'Samsung Note 4', 24000, NULL, 13, 0, 3, 0, 72000, '2014-10-27', 33, '2014-10-27 17:50:40', NULL, '2014-10-27 17:50:40'),
	(54, 26, 0, 0, 77, 'Proton Car', 30000, NULL, 3, 0, 3, 0, 90000, '2014-10-27', 33, '2014-10-27 17:51:10', NULL, '2014-10-27 17:51:10'),
	(56, 35, 0, 0, 78, 'TUDUNG BAWAL', 10, NULL, 3, 0, 10, 10, 100, '2014-10-30', 43, '2014-10-30 16:14:49', 43, '2014-10-30 16:14:49'),
	(57, 36, 0, 0, 97, 'Wallet Kulit', 300, NULL, 3, 0, 100, 100, 30000, '2014-11-03', 55, '2014-11-03 10:19:30', 55, '2014-11-03 10:19:30');


-- Dumping structure for table iaccountdb.comp_sales_invoice
CREATE TABLE IF NOT EXISTS `comp_sales_invoice` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `invoiceCodeID` int(11) NOT NULL COMMENT '1=sales inv, 2=direct sales inv,  3=debitNote, 4=creditNte',
  `salesID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `salesInvoiceDate` date NOT NULL,
  `customerPoNo` varchar(32) NOT NULL,
  `locationID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `shipToID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `printInInvoice` smallint(6) NOT NULL DEFAULT '0',
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `showSaleAgent` tinyint(4) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalReceivable` double NOT NULL,
  `totalamount` double 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,
  `is_delete` smallint(6) NOT NULL DEFAULT '0',
  `updateAble` smallint(6) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  `salesOrderID` int(11) DEFAULT NULL,
  `badDebtID` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=265 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_invoice: ~199 rows (approximately)
DELETE FROM `comp_sales_invoice`;
INSERT INTO `comp_sales_invoice` (`ID`, `serialNo`, `companyID`, `invoiceCodeID`, `salesID`, `customerID`, `formNo`, `salesInvoiceDate`, `customerPoNo`, `locationID`, `projectID`, `termsID`, `shipToID`, `currencyID`, `exchangeRate`, `agentID`, `printInInvoice`, `memo`, `employeeID`, `showSaleAgent`, `shippingMethodID`, `totalTaxAmount`, `totalReceivable`, `totalamount`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `updateAble`, `journalNo`, `salesOrderID`, `badDebtID`) VALUES
	(18, 1, 1, 0, 0, 12, 'SON20140618', '2014-06-18', 'aaw', 1, 1, 5, 1, 1, 1, 1, 0, 'sdadc', 7, 0, 3, 0, -2509.44, 2509.44, 16, '2014-06-18 10:11:17', 0, '2014-06-27 10:30:38', 0, 1, 'AR20140600000005', NULL, 0),
	(19, 1, 1, 0, 0, 12, 'SON20140626', '2014-06-26', 'ghj', 1, 1, 5, 1, 1, 0, 1, 0, '1ygul', 7, 0, 4, 39.24, 0, 6293.5, 16, '2014-06-26 14:49:57', 0, '2014-08-29 16:36:35', 0, 1, '', NULL, 0),
	(20, 1, 1, 0, 0, 15, 'SON20140627', '2014-06-17', '12', 1, 1, 6, 1, 0, 3.1305, 1, 0, 'sds', 7, 0, 4, 0, -12, 36.72, 16, '2014-06-27 15:11:02', 0, '2014-10-02 10:39:40', 1, 1, '', NULL, 0),
	(21, 1, 1, 0, 0, 12, 'SON20140627', '2014-06-25', 'w3', 1, 2, 5, 1, 0, 3.1305, 1, 0, 'de', 7, 0, 4, 0, -1.01, 1.01, 16, '2014-06-27 15:22:31', 0, '2014-06-27 15:24:55', 0, 1, '', NULL, 0),
	(22, 1, 1, 0, 0, 12, 'SON20140627', '2014-06-24', 'sd', 1, 2, 5, 1, 0, 3.1305, 1, 0, 'wew', 7, 0, 3, 0, -3.16, 3.16, 16, '2014-06-27 15:27:12', 0, '2014-06-27 15:28:48', 0, 1, '', NULL, 0),
	(23, 1, 1, 0, 0, 12, 'SON20140627', '2014-06-10', 'sds', 1, 2, 7, 1, 0, 3.1305, 1, 0, 'sds', 6, 0, 5, 0, -1, 12, 16, '2014-06-27 15:34:10', 0, '2014-06-27 15:38:01', 0, 1, '', NULL, 0),
	(24, 1, 1, 0, 0, 12, 'SON20140627', '2014-06-04', 'w', 1, 1, 7, 2, 0, 3.1305, 1, 0, 'sds', 6, 0, 5, 0, -1, 1, 16, '2014-06-27 15:34:59', 0, '2014-06-27 15:38:01', 0, 1, '', NULL, 0),
	(25, 1, 1, 0, 0, 12, 'SON20140627', '2014-06-06', 'q1', 2, 1, 5, 1, 0, 3.1305, 1, 0, 'ada', 7, 0, 5, 0, 0, 1, 16, '2014-06-27 15:46:47', 0, '2014-09-30 16:48:13', 0, 1, '', NULL, 0),
	(26, 1, 1, 0, 0, 15, 'SON20140627', '2014-06-06', 'we', 2, 1, 5, 2, 0, 3.1305, 1, 0, 'wew', 7, 0, 8, 0, -1, 1, 16, '2014-06-27 15:47:23', 0, '2014-06-27 15:49:42', 0, 1, '', NULL, 0),
	(27, 1, 1, 0, 0, 15, 'SON20140627', '2014-06-03', 'as', 2, 1, 5, 2, 0, 3.1305, 1, 0, 'as', 6, 0, 8, 0, -1, 1, 16, '2014-06-27 15:48:33', 0, '2014-06-27 15:49:42', 0, 1, '', NULL, 0),
	(28, 1, 1, 0, 0, 12, 'SON20140627', '2014-06-25', '12', 2, 1, 8, 1, 0, 3.1305, 1, 0, 'sd', 6, 0, 5, 0, 0, 1394.36, 16, '2014-06-30 08:35:53', 0, '2014-09-30 16:48:13', 0, 1, '', NULL, 0),
	(29, 1, 1, 0, 0, 12, 'SON20140711', '2014-07-07', 'we', 2, 15, 7, 4, 0, 3.1305, 1, 0, 'sdw', 7, 0, 6, 27.36, 0, 7535.36, 16, '2014-06-30 08:42:25', 0, '2014-09-30 16:48:13', 0, 1, '', NULL, 0),
	(30, 1, 1, 0, 0, 12, 'SON20140630', '2014-06-24', 'sew', 2, 17, 7, 1, 0, 3.1305, 1, 0, 'sdw', 6, 0, 5, 0, 0, 12, 16, '2014-06-30 08:44:08', 0, '2014-07-01 16:15:41', 0, 1, '', NULL, 0),
	(31, 1, 1, 0, 0, 12, 'SON20140709', '2014-07-07', 'sew', 2, 17, 7, 1, 0, 3.1305, 1, 0, 'ewe', 7, 0, 73, 0.72, 0, 13, 16, '2014-06-30 09:01:13', 0, '2014-09-30 16:48:13', 0, 1, '', NULL, 0),
	(32, 1, 1, 0, 0, 16, 'SON20140630', '2014-07-07', 'as', 2, 1, 5, 1, 0, 3.1305, 1, 0, 'wewd', 7, 0, 8, 0, -1, 654.06, 16, '2014-06-30 11:42:50', 0, '2014-07-09 10:15:59', 0, 1, '', NULL, 0),
	(33, 1, 1, 0, 0, 12, 'SON20140702', '2014-07-02', 'asdfasdf245345345', 1, 1, 5, 1, 0, 3.1305, 1, 0, '', 6, 0, 73, 0, 0, 1020.78, 16, '2014-07-02 14:40:16', 0, '2014-09-30 16:48:13', 0, 0, 'AR20140700000001', NULL, 0),
	(34, 1, 1, 0, 0, 12, 'SON20140702', '2014-07-02', 'wafasdfasdf', 1, 1, 5, 1, 0, 3.1305, 1, 0, '', 7, 0, 74, 0, 0, 3103.68, 16, '2014-07-02 15:54:56', 0, '2014-09-30 16:48:13', 0, 1, '', NULL, 0),
	(35, 1, 1, 2, 0, 12, 'SON20140704', '2014-06-11', 'safsfg234', 1, 2, 5, 8, 0, 1, 1, 0, 'test memo', 6, 0, 73, 2, 24830.5, 24830.5, 16, '2014-07-04 11:43:21', 0, '2014-10-08 10:41:38', 0, 1, '', NULL, 19),
	(36, 1, 1, 2, 0, 12, 'SON20140704', '2014-06-11', 'dsfas2452345', 1, 2, 8, 1, 0, 1, 1, 0, 'test memo', 6, 0, 74, 207.18, 42671.04, 42671.04, 16, '2014-07-04 11:45:10', 0, '2014-07-04 11:47:24', 0, 1, '', NULL, 0),
	(37, 1, 1, 1, 0, 12, 'SON20140704', '2014-06-11', 'ADASR353254', 1, 1, 6, 8, 0, 1, 1, 0, 'test memo', 6, 0, 73, 2, 26017.7, 26017.7, 16, '2014-07-04 11:53:15', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(38, 1, 1, 2, 0, 12, 'SON20140707', '2014-07-07', 'd', 1, 1, 5, 2, 0, 3.1305, 1, 0, 'vcv s', 7, 0, 5, 2.7, 60.7, 60.7, 16, '2014-07-07 14:04:17', 0, '2014-07-08 16:07:10', 0, 1, '', NULL, 0),
	(39, 1, 1, 2, 0, 12, 'SON20140707', '2014-07-07', 'er', 2, 1, 7, 1, 0, 3.1305, 1, 0, 'er', 7, 0, 8, 0, 686.58, 686.58, 16, '2014-07-07 14:13:13', 0, '2014-07-07 14:59:04', 0, 1, '', NULL, 0),
	(40, 1, 1, 1, 0, 12, 'SON20140707', '2014-06-18', 'asdfas45345', 2, 2, 6, 7, 0, 1, 1, 0, '', 7, 0, 73, 31, 0, 0, 16, '2014-07-07 14:42:29', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(41, 1, 1, 1, 0, 15, 'SON20140707', '2014-06-18', 'asdfasdf23452345', 1, 1, 5, 7, 0, 1, 1, 0, 'sfdgsdfgsdg', 7, 0, 74, 272.7, 58223.4, 58223.4, 16, '2014-07-07 14:45:19', 0, '2014-07-07 14:45:33', 0, 1, '', NULL, 0),
	(75, 1, 1, 2, 0, 15, 'SON20140709', '2014-07-01', 'Clone invoice', 2, 17, 5, 1, 0, 0, 1, 0, 'vcv s', 6, 0, 5, 27.36, 483.36, 483.36, 16, '2014-07-07 14:04:17', 0, '2014-07-09 11:14:22', 0, 1, '', NULL, 0),
	(76, 1, 1, 2, 0, 12, 'SON20140707', '2014-07-07', 'd', 1, 1, 5, 2, 0, 3.1305, 1, 0, 'vcv s', 7, 0, 5, 2.7, -122, 60.7, 16, '2014-07-07 14:04:17', 0, '2014-07-10 12:02:58', 0, 1, '', NULL, 0),
	(77, 1, 1, 0, 0, 12, 'SON20140711', '2014-07-07', 'we', 2, 15, 7, 4, 0, 3.1305, 1, 0, 'sdw', 7, 0, 6, 27.36, 7535.36, 7535.36, 16, '2014-06-30 08:42:25', 0, '2014-07-11 10:34:42', 0, 1, '', NULL, 0),
	(80, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'asfa45', 1, 10, 7, 2, 0, 3.23, 1, 0, 'fdasdfafd', 7, 0, 73, 864, 493.96, 493.96, 16, '2014-07-11 16:51:41', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(81, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'asdf2345', 1, 2, 6, 1, 0, 2.34, 1, 0, '', 6, 0, 73, 33145.02, 491.84, 1889.6799999999998, 16, '2014-07-11 16:59:06', 0, '2014-07-11 16:59:34', 0, 1, '', NULL, 0),
	(82, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'asdf2345', 1, 1, 5, 1, 0, 3.44, 1, 0, '', 6, 0, 74, 33, 0, 0, 16, '2014-07-11 17:00:31', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(83, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'asdf2345', 1, 1, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 72, 0, 0, 16, '2014-07-11 17:01:29', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(84, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'adfa2345', 1, 10, 5, 1, 0, 0, 1, 0, '', 7, 0, 5, 72, 0, 0, 16, '2014-07-11 17:02:05', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(85, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'asfasgf324543', 1, 10, 5, 1, 0, 4.33, 1, 0, '', 6, 0, 73, 1, 0, 0, 16, '2014-07-11 17:03:17', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(86, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'sadfas2345', 1, 2, 6, 1, 0, 0, 1, 0, '', 6, 0, 73, 31, 0, 0, 16, '2014-07-11 17:08:40', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(87, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'adfas2345', 1, 2, 6, 1, 0, 3.33, 1, 0, '', 6, 0, 74, 31, 0, 0, 16, '2014-07-11 17:29:31', 0, '2014-07-17 14:56:38', 0, 0, '', NULL, 0),
	(88, 1, 1, 1, 0, 12, 'SON20140711', '2014-07-11', 'asdf324523', 1, 1, 6, 1, 0, 3.44, 1, 0, '', 6, 0, 73, 2, 0, 0, 16, '2014-07-11 17:30:18', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(89, 1, 1, 1, 0, 12, 'SON20140714', '2014-07-14', 'asdf234523', 1, 10, 6, 1, 0, 3.1305, 1, 0, 'sd adadf afd', 6, 0, 74, 2, 480.18, 480.18, 16, '2014-07-14 08:47:46', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(90, 1, 1, 1, 0, 12, 'SON20140714', '2014-07-14', 'fsfsaf453', 2, 15, 6, 1, 0, 3.24, 1, 0, 'sdfggfs', 6, 0, 73, 72, 0, 0, 16, '2014-07-14 08:50:58', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(91, 1, 1, 2, 0, 12, 'SON20140714', '2014-07-14', 'asa', 1, 10, 5, 1, 0, 3.1305, 1, 0, 'eqwwe', 7, 0, 5, 0.06, 2.06, 0, 16, '2014-07-14 14:42:06', 0, '2014-07-14 14:48:09', 0, 1, '', NULL, 0),
	(92, 1, 1, 2, 0, 15, 'SON20140714', '2014-07-14', 'asa', 1, 17, 5, 1, 0, 3.1305, 1, 0, 'asa sdas', 6, 0, 8, 6.666666666666668e18, 341.26, 1.1777777777777779e20, 16, '2014-07-14 14:55:31', 0, '2014-07-14 14:58:13', 0, 1, '', NULL, 0),
	(93, 1, 1, 2, 0, 12, 'SON20140714', '2014-07-14', 'sa', 1, 2, 7, 1, 0, 3.1305, 1, 0, 'sas', 6, 0, 5, 7.319999999999999, 1.06, 129.32, 16, '2014-07-14 15:08:01', 0, '2014-07-14 15:08:35', 0, 1, '', NULL, 0),
	(94, 1, 1, 2, 0, 12, 'SON20140714', '2014-07-14', 'asa', 1, 10, 5, 1, 0, 3.1305, 1, 0, 'eqwwe', 7, 0, 5, 0.06, 2.06, 0, 16, '2014-07-14 14:42:06', 0, '2014-07-14 14:48:09', 0, 1, '', NULL, 0),
	(95, 1, 1, 1, 0, 12, 'SON20140716', '2014-06-12', 'asdfrtrt', 1, 1, 5, 1, 0, 2.34, 1, 0, '', 6, 0, 73, 434.7, 7679.7, 7679.7, 16, '2014-07-16 12:29:50', 0, '2014-07-16 12:30:49', 0, 1, '', NULL, 0),
	(96, 1, 1, 2, 0, 15, 'SON20140714', '2014-07-14', 'asa', 1, 17, 5, 1, 1, 3.1305, 1, 0, 'asa sdas', 6, 0, 8, 6.666666666666668e18, 341.26, 1.1777777777777779e20, 16, '2014-07-14 14:55:31', 0, '2014-08-11 15:18:20', 0, 1, '', NULL, 0),
	(97, 1, 81, 1, 0, 33, 'SON', '2014-07-21', '001', 9, 22, 17, 1, 1, 0, 11, 0, '', 21, 0, 6, 0, 0, 0, 29, '2014-07-21 12:01:52', 0, '2014-08-11 15:18:16', 0, 1, '', NULL, 0),
	(98, 2, 1, 2, 0, 12, 'SON20140801', '2014-08-01', 'das', 1, 1, 17, 1, 1, 3.1305, 1, 0, 'sada', 6, 0, 6, 19.26, 340.26, 340.26, 1, '2014-08-01 11:46:15', 0, '2014-08-11 15:18:12', 0, 0, 'AR20140800000005', NULL, 0),
	(99, 3, 1, 2, 0, 12, 'SON20140801', '2014-08-01', 'das', 1, 1, 17, 1, 1, 3.1305, 1, 0, 'sada', 6, 0, 6, 19.26, 340.26, 340.26, 1, '2014-08-01 11:46:15', 0, '2014-08-11 15:18:09', 0, 0, 'AR20140800000002', NULL, 0),
	(100, 4, 1, 2, 0, 12, 'SON20140801', '2014-08-01', 'das', 1, 1, 17, 1, 1, 3.1305, 1, 0, 'sada', 6, 0, 6, 77.04, 1361.04, 1361.04, 1, '2014-08-01 11:46:15', 0, '2014-08-11 15:18:06', 0, 0, 'AR20140800000001', NULL, 0),
	(101, 5, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 8772, 8772, 1, '2014-08-05 10:00:09', 0, '2014-08-11 15:18:00', 0, 1, '', NULL, 0),
	(102, 6, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 118.72, 118.72, 1, '2014-08-05 10:00:22', 0, '2014-08-11 15:17:55', 0, 1, '', NULL, 0),
	(103, 7, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 118.72, 118.72, 1, '2014-08-05 10:00:25', 0, '2014-08-11 15:17:51', 0, 1, '', NULL, 0),
	(104, 8, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 118.72, 118.72, 1, '2014-08-05 10:00:35', 0, '2014-08-11 15:17:45', 0, 1, '', NULL, 0),
	(105, 9, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 118.72, 118.72, 1, '2014-08-05 10:00:38', 0, '2014-08-11 15:17:40', 0, 1, '', NULL, 0),
	(106, 10, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 8772, 8772, 1, '2014-08-05 10:00:41', 0, '2014-08-11 15:17:35', 0, 1, '', NULL, 0),
	(107, 11, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 8772, 8772, 1, '2014-08-05 10:00:46', 0, '2014-08-11 15:17:23', 0, 1, '', NULL, 0),
	(108, 12, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 8772, 8772, 1, '2014-08-05 10:00:49', 0, '2014-08-11 15:17:17', 0, 1, '', NULL, 0),
	(109, 13, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'lkjnlk', 1, 1, 17, 3, 1, 0, 1, 0, 'sdsd', 26, 0, 5, 72, 8772, 8772, 1, '2014-08-05 10:00:58', 0, '2014-08-11 15:17:11', 0, 1, '', NULL, 0),
	(110, 14, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'asdfa3435', 1, 1, 5, 1, 1, 3.2, 1, 0, '', 6, 0, 74, 165.6, 2925.6, 2925.6, 16, '2014-08-05 10:14:55', 0, '2014-08-11 15:17:06', 0, 1, '', NULL, 0),
	(111, 15, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'asdfa3435', 1, 1, 5, 1, 1, 3.2, 1, 0, '', 6, 0, 74, 165.6, 2925.6, 2925.6, 16, '2014-08-05 10:15:07', 0, '2014-08-11 15:15:45', 0, 1, '', NULL, 0),
	(112, 16, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'asdfa3435', 1, 1, 5, 1, 1, 3.2, 1, 0, '', 6, 0, 74, 165.6, 2925.6, 2925.6, 16, '2014-08-05 10:23:53', 0, '2014-08-11 15:15:37', 0, 1, '', NULL, 0),
	(113, 17, 1, 1, 0, 12, 'SON20140805', '2014-08-05', 'sd', 1, 1, 17, 1, 1, 2, 1, 0, 'sdfs', 26, 0, 8, 0, 20, 20, 1, '2014-08-05 10:30:00', 0, '2014-08-11 15:15:34', 0, 0, 'AR20140800000003', NULL, 0),
	(114, 18, 1, 2, 0, 12, 'SON20140805', '2014-08-05', 'sds', 1, 1, 17, 1, 1, 3.1305, 1, 0, 'sds', 6, 0, 5, 19.26, 340.26, 340.26, 1, '2014-08-05 15:16:18', 0, '2014-08-11 15:15:28', 0, 0, 'AR20140800000004', NULL, 0),
	(115, 19, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'po-009099546', 1, 1, 5, 2, 1, 3.1305, 1, 0, '', 6, 0, 73, 3, 53, 53, 16, '2014-08-11 14:59:13', 0, '2014-08-11 15:15:22', 0, 0, 'AR20140800000006', NULL, 0),
	(116, 20, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'PO-0987667', 1, 17, 17, 2, 0, 3.1305, 1, 0, '', 30, 0, 74, 19.26, 340.26, 341.26, 16, '2014-08-11 15:19:48', 0, '2014-08-11 16:48:31', 0, 1, '', NULL, 0),
	(117, 21, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'SDS', 1, 17, 17, 1, 0, 3.1305, 1, 0, 'SDS', 7, 0, 74, 19.26, 340.26, 340.26, 1, '2014-08-11 15:22:32', 0, '2014-08-11 15:22:32', 0, 1, '', NULL, 0),
	(118, 22, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'asa', 1, 2, 17, 1, 0, 3.1305, 1, 0, 'sds', 30, 0, 5, 19.26, 340.26, 340.26, 1, '2014-08-11 15:29:04', 0, '2014-08-11 15:29:04', 0, 1, '', NULL, 0),
	(119, 23, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'QW', 2, 17, 17, 1, 0, 3.1305, 1, 0, 'SD', 30, 0, 74, 19.26, 340.26, 340.26, 1, '2014-08-11 15:32:40', 0, '2014-08-11 15:32:40', 0, 1, '', NULL, 0),
	(120, 24, 1, 2, 0, 12, 'SON20140811', '2014-08-05', 'AS', 1, 17, 5, 1, 0, 3.1305, 1, 0, 'SD', 30, 0, 74, 19.26, 340.26, 340.26, 1, '2014-08-11 15:37:04', 0, '2014-08-11 15:37:04', 0, 1, '', NULL, 0),
	(121, 25, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'QW', 1, 17, 17, 2, 0, 3.1305, 1, 0, 'A', 26, 0, 5, 0, 1, 1, 1, '2014-08-11 15:38:29', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(122, 26, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'sd', 1, 15, 18, 1, 0, 3.1305, 1, 0, 'sd', 6, 0, 74, 19.26, 340.26, 340.26, 1, '2014-08-11 15:41:12', 0, '2014-08-11 15:41:12', 0, 1, '', NULL, 0),
	(123, 27, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'sdw', 2, 24, 18, 1, 1, 3.1305, 1, 0, 'cvx', 6, 0, 5, 0, 12, 12, 1, '2014-08-11 15:42:43', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(124, 28, 1, 2, 0, 12, 'SON20140811', '2014-08-11', 'SD', 1, 15, 18, 1, 1, 3.1305, 1, 0, 'XC', 6, 0, 8, 0, 1, 1, 1, '2014-08-11 15:47:27', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(125, 29, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'SA', 1, 17, 18, 1, 0, 12, 1, 0, 'SD', 6, 0, 74, 21.6, 381.6, 381.6, 1, '2014-08-11 15:49:46', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(126, 1, 15, 2, 0, 18, 'SON', '2014-08-11', 'cust po 0121234124', 3, 19, 17, 2, 2, 3.1305, 14, 0, '', 9, 0, 8, 4.2, 74.2, 74.2, 16, '2014-08-11 15:57:52', 0, '2014-08-15 17:12:26', 0, 0, 'AR20140300000002', NULL, 0),
	(127, 30, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'DA', 2, 17, 7, 1, 0, 1, 1, 0, 'DS', 6, 0, 5, 0, 1, 1, 1, '2014-08-11 16:12:31', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(128, 31, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'e', 2, 2, 7, 1, 2, 2, 1, 0, 'er', 30, 0, 74, 0, 1, 1, 1, '2014-08-11 16:15:48', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(129, 32, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'we', 1, 17, 5, 1, 2, 1, 1, 0, 'wq', 6, 0, 74, 73.2, 1293.2, 1293.2, 1, '2014-08-11 16:17:09', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(130, 33, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'sadf34', 1, 1, 5, 1, 0, 0, 1, 0, '', 30, 0, 74, 0, 36.04, 36.04, 33, '2014-08-11 16:18:38', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(131, 34, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'asdfasf242134', 1, 2, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-11 18:35:42', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(132, 35, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'asdfasf242134', 1, 2, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-11 18:35:54', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(133, 36, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'asdfasf242134', 1, 2, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-11 18:36:57', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(134, 37, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'asdfasf242134', 1, 2, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-11 18:37:13', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(135, 38, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'asdfasf242134', 1, 2, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-11 18:37:31', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(136, 39, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'asdfasf242134', 1, 2, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-11 18:38:02', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(137, 40, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'asdfasf242134', 1, 2, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-11 18:38:13', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(138, 41, 1, 1, 0, 15, 'SON20140811', '2014-08-11', 'asdfasf242134', 1, 2, 5, 1, 0, 0, 1, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-11 18:44:03', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(139, 42, 1, 1, 0, 12, 'SON20140812', '2014-08-12', 'ASDFAR2EQWER', 1, 1, 5, 1, 1, 3.23, 15, 0, '', 30, 1, 74, 72, 1272, 1272, 33, '2014-08-12 15:56:53', 0, '2014-08-12 15:58:47', 0, 1, '', NULL, 0),
	(140, 43, 1, 1, 0, 12, 'SON20140812', '2014-08-12', 'asfasfd234', 1, 1, 5, 2, 1, 3.23, 15, 0, '', 6, 1, 73, 72, 1272, 1272, 33, '2014-08-12 16:02:32', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(141, 44, 1, 2, 0, 15, 'SON20140813', '2014-08-13', 'sdfgdsf4563456', 1, 1, 17, 14, 2, 3, 15, 0, 'ssdfgsdfgsdgf', 6, 1, 73, 288.9, 5, 5, 33, '2014-08-13 18:47:43', 0, '2014-08-21 12:03:24', 0, 1, '', NULL, 0),
	(142, 1, 84, 1, 0, 35, 'SON', '2014-01-16', 'dfbnrt6757', 10, 26, 17, 18, 0, 34, 13, 0, '', 29, 0, 73, 0, 0, 0, 33, '2014-08-13 19:12:11', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(143, 2, 84, 1, 0, 35, 'SON', '2014-01-16', 'dfbnrt6757', 10, 26, 17, 18, 0, 34, 13, 0, '', 29, 0, 73, 0, 0, 0, 33, '2014-08-13 19:12:33', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(144, 3, 84, 1, 0, 35, 'SON', '2014-01-16', 'dfbnrt6757', 10, 26, 17, 0, 0, 34, 13, 0, '', 29, 0, 73, 0, 0, 0, 33, '2014-08-13 19:12:33', 0, '2014-08-13 19:12:56', 0, 1, '', NULL, 0),
	(145, 45, 1, 2, 0, 12, 'SON20140815', '2014-08-15', 'sa', 1, 1, 17, 7, 1, 12, 15, 0, 'asa', 30, 0, 74, 1.1, 21.1, 21.1, 1, '2014-08-15 14:44:39', 0, '2014-08-15 18:02:14', 0, 0, 'AR20140800000009', NULL, 0),
	(146, 2, 15, 2, 0, 17, 'SON', '2014-08-15', 'asfdasf867', 3, 19, 17, 5, 1, 3.45, 14, 0, '', 12, 0, 5, 17.4, 307.4, 307.4, 33, '2014-08-15 17:46:33', 0, '2014-08-20 09:34:37', 0, 1, '', NULL, 0),
	(147, 4, 84, 1, 0, 0, 'SON', '2014-01-18', '', 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 33, '2014-08-18 09:28:34', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(148, 5, 84, 1, 0, 35, 'SON', '2014-01-18', 'ADDF2354235', 10, 26, 17, 18, 0, 0, 13, 0, '', 29, 0, 5, 0, 0, 0, 33, '2014-08-18 09:29:43', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(149, 6, 84, 2, 0, 35, 'SON', '2014-01-15', 'afsgafg3543', 10, 26, 17, 18, 0, 3.34, 13, 0, 'fs dfgsf sdfgsdfg sdgf', 29, 0, 74, 74.04, 1308.04, 1308.04, 33, '2014-08-18 10:41:58', 0, '2014-08-18 10:41:58', 0, 1, '', NULL, 0),
	(150, 46, 1, 1, 0, 12, 'SON20140818', '2014-08-18', 'sdfs35635', 1, 1, 5, 8, 1, 3.23, 15, 0, '', 6, 0, 74, 0, 0, 0, 33, '2014-08-18 11:03:29', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(151, 47, 1, 1, 0, 12, 'SON20140818', '2014-08-18', 'asf3453525', 1, 1, 5, 8, 1, 3.23, 15, 0, '', 30, 1, 6, 0, 0, 0, 33, '2014-08-18 11:12:50', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(152, 48, 1, 1, 0, 16, 'SON20140818', '2014-08-18', 'asdf234523', 1, 1, 17, 15, 1, 3.23, 15, 0, '', 30, 0, 74, 0, 0, 0, 33, '2014-08-18 11:16:31', 0, '2014-08-18 11:49:19', 0, 1, '', NULL, 0),
	(153, 7, 84, 1, 0, 35, 'SON', '2014-08-18', 'WDADS234234', 10, 26, 17, 18, 10, 0, 13, 0, '', 29, 0, 74, 0, 0, 0, 33, '2014-08-18 12:50:03', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(154, 8, 84, 1, 0, 35, 'SON', '2014-08-18', 'svcsf2345234', 10, 26, 5, 19, 10, 0, 13, 0, '', 29, 0, 74, 0, 0, 0, 33, '2014-08-18 12:51:33', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(155, 9, 84, 1, 0, 35, 'SON', '2014-01-15', 'fasdfas245245', 10, 26, 5, 18, 10, 0, 13, 0, '', 29, 1, 6, 0, 0, 0, 33, '2014-08-18 12:54:07', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(156, 10, 84, 1, 0, 35, 'SON', '2014-01-01', 'asfdasdf245354', 10, 26, 17, 18, 10, 3.23, 13, 0, 'asdfasfd', 29, 0, 5, 67.32, 1189.32, 1189.32, 33, '2014-08-20 11:19:22', 0, '2014-08-20 11:20:01', 0, 1, '', NULL, 0),
	(157, 3, 15, 2, 0, 19, 'SON', '2014-08-21', 'cust po 0121234124', 3, 19, 17, 2, 2, 0, 14, 0, '', 9, 0, 8, 4.2, 74.2, 74.2, 16, '2014-08-11 15:57:52', 0, '2014-08-21 09:26:39', 0, 1, 'AR20140300000002', NULL, 0),
	(158, 49, 1, 2, 0, 12, 'SON20140821', '2014-08-21', 'sew', 1, 1, 17, 8, 1, 3.5, 15, 0, '', 7, 0, 74, 23.400000000000002, 413.4, 413.4, 33, '2014-08-21 14:00:30', 0, '2014-08-21 14:01:35', 0, 1, '', NULL, 0),
	(159, 1, 93, 2, 0, 0, 'SON', '2014-09-09', 'sag343', 15, 0, 2, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 1086, 4755, 16, '2014-09-09 11:59:51', 0, '2014-09-12 09:39:08', 0, 1, '', NULL, 0),
	(160, 2, 93, 2, 0, 41, 'SON', '2014-09-09', 'dfr4', 15, 0, 2, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 2468, 16, '2014-09-09 12:33:23', 0, '2014-09-26 11:09:50', 0, 1, '', NULL, 0),
	(161, 3, 93, 2, 0, 40, 'SON', '2014-09-09', 'fdf34', 15, 0, 2, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 11050, 16, '2014-09-09 12:40:09', 0, '2014-09-17 10:40:43', 0, 1, '', NULL, 0),
	(162, 4, 93, 2, 0, 40, 'SON', '2014-09-09', 'asdfds34345', 15, 0, 3, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 6000, 16, '2014-09-09 12:43:19', 0, '2014-09-17 10:40:43', 0, 1, '', NULL, 0),
	(163, 5, 93, 2, 0, 40, 'SON', '2014-09-09', 'asdg3434', 15, 0, 1, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 603, 16, '2014-09-09 12:48:04', 0, '2014-09-17 16:10:13', 0, 1, '', NULL, 0),
	(164, 6, 93, 2, 0, 40, 'SON', '2014-09-09', 'sdfasf2345', 15, 0, 1, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 369, 16, '2014-09-09 12:50:10', 0, '2014-09-17 12:46:11', 0, 1, '', NULL, 0),
	(165, 7, 93, 2, 0, 40, 'SON', '2014-09-09', 'asfs3434', 15, 0, 1, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 2689, 16, '2014-09-09 12:51:20', 0, '2014-09-17 16:10:14', 0, 1, '', NULL, 0),
	(166, 8, 93, 2, 0, 40, 'SON', '2014-09-09', 'sdf34523', 15, 0, 1, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 4579, 16, '2014-09-09 12:55:08', 0, '2014-09-26 15:57:23', 0, 1, '', NULL, 0),
	(167, 9, 93, 2, 0, 41, 'SON', '2014-09-09', 'asdf234', 15, 0, 2, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 886, 16, '2014-09-09 12:56:22', 0, '2014-09-18 17:20:55', 0, 1, '', NULL, 0),
	(168, 10, 93, 1, 0, 41, 'SON 1231', '2014-09-11', '123123123', 18, 0, 2, 21, 1, 1, 19, 0, 'dasfasfsfsaf', 37, 1, 4, 0, 0, 0, 42, '2014-09-11 15:18:15', 0, '2014-09-17 12:35:56', 0, 1, '', NULL, 0),
	(169, 11, 93, 2, 0, 40, 'SON 1232', '2014-09-11', '12312312324213', 15, 0, 1, 0, 0, 1, 19, 0, 'asdadasdas', 41, 1, 4, 0, 0, 17000, 42, '2014-09-11 17:14:33', 0, '2014-09-26 15:57:23', 0, 1, '', NULL, 0),
	(170, 12, 93, 2, 0, 40, 'SON', '2014-09-15', 'zsa', 18, 30, 3, 0, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 2000, 16, '2014-09-15 14:30:20', 0, '2014-09-26 15:57:23', 0, 1, '', NULL, 0),
	(171, 1, 103, 1, 0, 44, '123', '2014-09-16', '123', 23, 0, 1, 22, 1, 1, 0, 0, '', 44, 0, 8, 36, 0, 636, 50, '2014-09-16 10:35:29', 0, '2014-09-16 10:40:19', 0, 0, 'AR20140900000001', NULL, 0),
	(172, 13, 93, 1, 0, 41, 'SON', '2014-09-16', 'asdfas234', 15, 0, 2, 21, 1, 1, 0, 0, '', 37, 0, 74, 56.22, 0, 937, 16, '2014-09-16 12:05:39', 0, '2014-09-26 11:09:50', 0, 1, '', NULL, 0),
	(173, 14, 93, 1, 0, 41, 'SON', '2014-09-16', 'sdfsdf234234', 15, 30, 2, 21, 1, 1, 0, 0, '', 0, 0, 0, 141.18, 0, 2463, 16, '2014-09-16 12:07:56', 0, '2014-09-26 11:09:50', 0, 1, '', NULL, 0),
	(174, 1, 105, 1, 0, 45, 'SON', '2014-09-16', '4564', 25, 0, 2, 23, 1, 1, 0, 0, '', 0, 0, 0, 14, 0, 254400, 19, '2014-09-16 13:54:33', 0, '2014-09-16 14:22:07', 0, 0, 'AR20140900000001', NULL, 0),
	(175, 2, 105, 2, 0, 45, 'SON', '2014-09-16', 'fgfgf', 24, 0, 2, 0, 1, 1, 21, 0, '', 0, 0, 0, 6000, 106000, 106000, 19, '2014-09-16 14:36:11', 0, '2014-09-16 14:36:21', 0, 0, 'AR20140900000002', NULL, 0),
	(176, 15, 93, 1, 0, 41, 'SON', '2014-09-16', 'sadfarq42345', 15, 0, 2, 21, 1, 1, 0, 0, '', 0, 0, 0, 0, 0, 400, 16, '2014-09-16 16:05:31', 0, '2014-09-26 11:09:50', 0, 1, '', NULL, 0),
	(177, 16, 93, 1, 0, 41, 'SON', '2014-09-17', 'asf2435345', 15, 0, 2, 21, 1, 1, 0, 0, '', 0, 0, 0, 14.04, 0, 235, 16, '2014-09-17 09:35:10', 0, '2014-09-26 16:50:14', 0, 1, '', NULL, 0),
	(178, 17, 93, 1, 0, 40, 'SON', '2014-09-17', 'fdasdf234', 17, 30, 1, 24, 1, 1, 0, 0, '', 0, 0, 0, 6.66, 0, 123, 16, '2014-09-17 09:47:59', 0, '2014-09-17 16:10:14', 0, 1, '', NULL, 0),
	(179, 18, 93, 1, 0, 41, 'SON', '2014-09-17', 'asdad123', 15, 0, 2, 21, 1, 1, 0, 0, '', 0, 0, 0, 32.04, 0, 566.04, 16, '2014-09-17 15:19:48', 0, '2014-09-29 11:37:48', 0, 1, '', NULL, 0),
	(180, 19, 93, 1, 0, 40, 'SON', '2014-09-17', 'sayem1234', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 1, 0, 3404.0400000000004, 60138.04, 60138.04, 16, '2014-09-17 15:25:05', 0, '2014-09-30 10:19:35', 0, 1, '', NULL, 14),
	(181, 20, 93, 1, 0, 40, 'SON', '2014-09-17', 'sayem123', 15, 30, 1, 24, 1, 1, 0, 0, '', 0, 0, 0, 0, 13084.64, 13084.64, 16, '2014-09-17 15:43:25', 0, '2014-09-30 10:19:35', 0, 1, '', NULL, 14),
	(182, 21, 93, 1, 0, 40, 'SON', '2014-09-17', 'Sayem1234', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 1, 0, 0, 1308.04, 1308.04, 16, '2014-09-17 15:45:00', 0, '2014-09-30 10:19:35', 0, 1, '', NULL, 14),
	(183, 22, 93, 1, 0, 40, 'SON', '2014-09-17', 'Sayem1234', 15, 31, 1, 24, 1, 1, 19, 0, '', 0, 1, 0, 74.1, 1309.1, 1309.1, 16, '2014-09-17 15:56:39', 0, '2014-09-30 10:19:35', 0, 1, '', NULL, 0),
	(184, 23, 93, 1, 0, 40, 'SON', '2014-09-17', 'Sayem123456', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 0, 0, 0.06, 0, 0, 16, '2014-09-17 16:02:34', 0, '2014-09-17 16:10:14', 0, 1, '', NULL, 0),
	(185, 24, 93, 1, 0, 40, 'SON', '2014-09-17', 'khkjhjh', 15, 30, 2, 24, 1, 1, 19, 0, '', 0, 0, 0, 6, 0, 0, 16, '2014-09-17 16:04:31', 0, '2014-09-17 16:10:14', 0, 1, '', NULL, 0),
	(186, 25, 93, 1, 0, 40, 'SON', '2014-09-17', 'asdfas2452345', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 0, 0, 74.04, 1308.04, 1308.04, 16, '2014-09-17 16:06:31', 0, '2014-09-29 18:10:34', 0, 0, 'AR20140900000005', NULL, 0),
	(187, 26, 93, 1, 0, 40, 'SON', '2014-09-17', 'Sayem-last-test123', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 1, 0, 3328.74, 58807.74, 58807.74, 16, '2014-09-17 16:14:05', 0, '2014-09-30 10:12:50', 0, 0, 'AR20140900000009', NULL, 0),
	(188, 27, 93, 1, 0, 40, 'SON', '2014-09-17', 'sayem1235', 15, 30, 2, 24, 1, 1, 19, 0, '', 0, 1, 0, 114.48, 2022.4799999999998, 2022.4799999999998, 16, '2014-09-17 17:17:57', 0, '2014-09-30 10:13:39', 0, 1, '', NULL, 12),
	(189, 28, 93, 1, 0, 40, 'SON', '2014-09-18', 'cust po 0121234124', 15, 0, 1, 24, 1, 1, 0, 0, '', 0, 0, 0, 0.6, 10.6, 10.6, 19, '2014-09-18 15:35:52', 0, '2014-09-30 10:13:39', 0, 1, '', NULL, 0),
	(190, 29, 93, 1, 0, 40, 'SON', '2014-09-18', 'sfd234', 15, 0, 1, 24, 1, 1, 19, 0, '', 0, 1, 0, 20.7, 710.7, 710.7, 16, '2014-09-18 16:28:27', 0, '2014-09-30 16:23:07', 0, 1, '', NULL, 15),
	(191, 30, 93, 1, 0, 41, 'SON', '2014-09-18', 'asdf34345', 15, 30, 2, 21, 1, 1, 19, 0, '', 0, 0, 0, 4679.28, 0, 82667.28, 16, '2014-09-18 16:39:22', 0, '2014-09-26 16:50:14', 0, 1, '', NULL, 0),
	(192, 31, 93, 1, 0, 41, 'SON', '2014-09-18', 'asfdd345', 15, 30, 2, 0, 1, 1, 19, 0, '', 0, 0, 0, 294.12, 0, 5196.12, 16, '2014-09-18 16:43:06', 0, '2014-09-29 11:37:48', 0, 1, '', NULL, 0),
	(193, 32, 93, 1, 0, 41, 'SON', '2014-09-18', 'asfasf3434', 15, 30, 2, 21, 1, 1, 19, 0, '', 0, 0, 0, 2926.5, 51701.5, 51701.5, 16, '2014-09-18 16:47:47', 0, '2014-09-30 10:17:56', 0, 1, '', NULL, 13),
	(194, 33, 93, 1, 0, 40, 'SON', '2014-09-19', 'safasf4343', 15, 30, 2, 24, 1, 1, 19, 0, '', 0, 0, 0, 206.22, 3643.22, 26875.219999999998, 16, '2014-09-19 12:11:36', 0, '2014-09-30 16:23:07', 0, 1, '', NULL, 15),
	(195, 34, 93, 1, 0, 41, 'SON', '2014-09-19', 'asdf342', 15, 0, 2, 21, 1, 1, 0, 0, '', 0, 0, 0, 0, 3434, 3434, 16, '2014-09-19 17:29:49', 0, '2014-10-10 17:16:12', 0, 1, '', NULL, 20),
	(196, 50, 1, 1, 0, 12, 'SON20140925', '2014-09-25', 'adfas344', 2, 1, 27, 7, 1, 1, 15, 0, '', 0, 0, 0, 15.84, 279.84, 279.84, 16, '2014-09-25 11:33:45', 0, '2014-09-29 18:06:02', 0, 1, '', NULL, 0),
	(197, 35, 93, 1, 0, 40, 'SON', '2014-09-25', 'asa', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 0, 0, 0, 0, 0, 16, '2014-09-25 14:11:39', 0, '2014-09-25 14:12:37', 0, 1, '', NULL, 0),
	(198, 36, 93, 1, 0, 41, 'SON', '2014-09-25', 'asqw', 15, 0, 2, 21, 1, 1, 0, 0, '', 0, 0, 0, 6, 106, 106, 16, '2014-09-25 14:14:22', 0, '2014-10-10 17:16:12', 0, 1, '', NULL, 20),
	(199, 37, 93, 1, 0, 42, 'SON', '2014-09-25', 'sds', 16, 0, 2, 0, 1, 1, 0, 0, '', 0, 0, 0, 0, 0, 0, 16, '2014-09-25 15:22:06', 0, '2014-09-25 15:23:28', 0, 1, '', NULL, 0),
	(200, 38, 93, 1, 0, 42, 'SON', '2014-09-25', 'asaa', 17, 0, 2, 0, 1, 1, 0, 0, '', 0, 0, 0, 0, 0, 0, 16, '2014-09-25 15:59:33', 0, '2014-09-25 16:07:04', 0, 1, '', NULL, 0),
	(201, 39, 93, 1, 0, 40, 'SON', '2014-09-29', '324423423', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 1, 0, 0, 0, 0, 19, '2014-09-29 17:19:19', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(202, 1, 107, 2, 0, 49, 'SON', '2014-09-30', '45454', 26, 0, 2, 25, 1, 1, 0, 0, '', 0, 0, 0, 600, 10600, 10600, 19, '2014-09-30 09:19:22', 0, '2014-09-30 09:19:50', 0, 0, 'AR20140900000001', NULL, 0),
	(203, 2, 107, 1, 0, 49, 'SON', '2014-09-30', '5456', 26, 0, 2, 25, 1, 1, 0, 0, '', 47, 0, 3, 2, 42400, 42400, 19, '2014-09-30 09:25:29', 0, '2014-09-30 09:25:39', 0, 0, 'AR20140900000002', NULL, 0),
	(204, 3, 107, 2, 0, 49, 'SON', '2014-09-30', '4565', 28, 0, 2, 25, 1, 1, 0, 0, '', 0, 0, 0, 600, 10600, 10600, 19, '2014-09-30 09:58:30', 0, '2014-09-30 09:58:39', 0, 0, 'AR20140900000003', NULL, 0),
	(205, 51, 1, 1, 0, 12, 'SON20140930', '2014-09-30', 'sdfgsd45', 0, 0, 27, 7, 1, 1, 15, 0, '', 0, 0, 0, 412.08, 7280.08, 7280.08, 16, '2014-09-30 11:01:30', 0, '2014-09-30 11:06:25', 0, 1, '', NULL, 0),
	(206, 4, 107, 2, 0, 49, 'SON', '2014-09-30', '4564', 28, 0, 2, 25, 1, 1, 0, 0, '', 0, 0, 0, 600, 10600, 10600, 19, '2014-09-30 16:08:41', 0, '2014-09-30 16:08:51', 0, 0, 'AR20140900000004', NULL, 0),
	(207, 5, 107, 1, 0, 49, 'SON', '2014-09-30', '444', 0, 0, 2, 25, 1, 1, 0, 0, '', 0, 0, 0, 2, 42400, 42400, 19, '2014-09-30 16:10:10', 0, '2014-09-30 16:10:27', 0, 0, 'AR20140900000005', NULL, 0),
	(208, 52, 1, 2, 0, 12, 'SON20141001', '2014-10-01', '123', 2, 0, 27, 0, 1, 1, 0, 0, '', 0, 0, 0, 0, 10, 10, 16, '2014-10-01 08:22:45', 0, '2014-10-08 15:43:01', 0, 0, '', NULL, 0),
	(209, 40, 93, 1, 0, 41, 'SON', '2014-01-15', 'asdf345345', 0, 0, 2, 21, 1, 1, 19, 0, '', 37, 1, 74, 1, 1440, 25440, 16, '2014-10-02 09:56:08', 0, '2014-10-10 17:17:59', 0, 0, 'AR20140100000001', NULL, 16),
	(210, 41, 93, 1, 0, 41, 'SON', '2014-10-02', 'asfgasdf', 0, 30, 2, 21, 1, 1, 19, 0, '', 0, 0, 0, 1, 23440, 25440, 16, '2014-10-02 12:28:55', 0, '2014-10-10 17:17:59', 0, 1, '', NULL, 0),
	(211, 42, 93, 1, 0, 41, 'SON', '2014-01-22', 'fdasdf345', 0, 31, 2, 21, 1, 1, 19, 0, '', 0, 0, 0, 2, 18065, 48065.7, 16, '2014-10-02 12:30:47', 0, '2014-10-03 11:02:39', 0, 0, 'AR20140100000002', NULL, 18),
	(212, 53, 1, 2, 0, 12, 'SON20141008', '2014-10-08', 'asa', 2, 2, 27, 7, 1, 1, 15, 0, '', 0, 0, 0, 0.24, 4.24, 4.24, 16, '2014-10-08 14:51:00', 0, '2014-10-08 14:51:33', 0, 0, 'AR20141000000001', NULL, 0),
	(213, 54, 1, 2, 0, 12, 'SON20141008', '2014-10-08', 'hkjhb', 2, 2, 27, 7, 1, 1, 15, 0, 'hkl;', 33, 0, 0, 0.06, 2.06, 2.06, 16, '2014-10-08 15:17:53', 0, '2014-10-08 15:22:57', 0, 0, '', NULL, 0),
	(214, 55, 1, 2, 0, 12, 'SON20141008', '2014-10-08', 'jklk', 2, 2, 27, 7, 1, 1, 15, 0, '', 0, 0, 0, 4.2, 74.2, 74.2, 16, '2014-10-08 15:28:24', 0, '2014-10-08 15:28:44', 0, 0, '', NULL, 0),
	(215, 56, 1, 2, 0, 12, 'SON20141008', '2014-10-08', 'kjlk', 2, 2, 27, 7, 1, 1, 15, 0, '', 0, 0, 0, 0.6, 10.6, 10.6, 16, '2014-10-08 15:34:15', 0, '2014-10-08 15:34:34', 0, 0, '', NULL, 0),
	(216, 57, 1, 2, 0, 12, 'SON20141008', '2014-10-08', 'jhkjl', 2, 1, 27, 8, 1, 1, 15, 0, '', 0, 0, 0, 0, 10, 10, 16, '2014-10-08 15:47:11', 0, '2014-10-08 15:50:18', 0, 0, 'AR20141000000003', NULL, 0),
	(217, 58, 1, 2, 0, 12, 'SON20141008', '2014-10-08', 'kp;l', 2, 1, 27, 7, 1, 1, 15, 0, '', 0, 0, 0, 0.6, 30.6, 30.6, 16, '2014-10-08 15:51:47', 0, '2014-10-08 15:52:28', 0, 0, 'AR20141000000004', NULL, 0),
	(218, 59, 1, 2, 0, 15, 'SON20141008', '2014-10-08', 'po from maxis', 2, 1, 27, 0, 2, 3.1305, 0, 0, '', 0, 0, 0, 180, 3180, 3180, 16, '2014-10-08 16:32:00', 0, '2014-10-08 16:32:21', 0, 0, 'AR20141000000005', NULL, 0),
	(219, 60, 1, 2, 0, 12, 'SON20141008', '2014-10-08', 'asa', 2, 2, 27, 7, 1, 1, 15, 0, '', 0, 0, 0, 0.24, 4.24, 4.24, 16, '2014-10-08 14:51:00', 0, '2014-10-08 14:51:33', 0, 1, 'AR20141000000001', NULL, 0),
	(220, 61, 1, 2, 0, 12, 'SON20141001', '2014-10-01', '123', 2, 0, 27, 0, 1, 1, 0, 0, '', 0, 0, 0, 0, 10, 10, 16, '2014-10-01 08:22:45', 0, '2014-10-08 15:43:01', 0, 1, '', NULL, 0),
	(221, 62, 1, 2, 0, 12, 'SON20141001', '2014-10-09', '123', 2, 0, 27, 0, 1, 1, 0, 0, '', 0, 0, 0, 0, 10, 10, 16, '2014-10-01 08:22:45', 0, '2014-10-08 15:43:01', 0, 1, '', NULL, 0),
	(222, 63, 1, 2, 0, 12, 'SON20141008', '2014-10-09', 'asa', 2, 2, 27, 7, 1, 1, 15, 0, '', 0, 0, 0, 0.24, 4.24, 4.24, 16, '2014-10-08 14:51:00', 0, '2014-10-08 14:51:33', 0, 1, 'AR20141000000001', NULL, 0),
	(223, 1, 110, 2, 0, 47, 'SON', '2014-01-09', 'asdf345', 29, 0, 2, 0, 1, 1, 22, 0, '', 0, 0, 0, 35.04, 219, 619.04, 19, '2014-10-10 17:49:21', 0, '2014-10-10 18:01:02', 0, 0, 'AR20140100000001', NULL, 22),
	(224, 1, 111, 2, 0, 52, 'SI20141014', '2014-10-14', 'PO001', 31, 0, 2, 26, 1, 1, 23, 0, '', 63, 1, 3, 60, 0, 1060, 43, '2014-10-14 12:12:03', 0, '2014-10-31 15:36:24', 0, 0, 'AR20141000000001', NULL, 0),
	(225, 2, 111, 2, 0, 52, 'SI20141014', '2014-10-14', 'PO002', 31, 0, 2, 26, 1, 1, 23, 0, '', 71, 1, 3, 30, 0, 530, 43, '2014-10-14 12:22:08', 0, '2014-10-31 15:36:24', 0, 0, 'AR20141000000002', NULL, 24),
	(226, 43, 93, 2, 0, 40, 'INV', '2014-10-14', 'asa', 15, 30, 2, 24, 1, 1, 19, 0, '', 0, 1, 0, 120, 2120, 2120, 16, '2014-10-14 12:55:39', 0, '2014-10-14 16:15:19', 0, 0, 'AR20141000000007', NULL, 0),
	(227, 3, 111, 1, 0, 52, 'SI20141014', '2014-10-14', '12332', 0, 0, 2, 26, 1, 1, 23, 0, '', 58, 1, 74, 300, 5300, 5300, 19, '2014-10-14 15:33:59', 0, '2014-10-14 15:34:35', 0, 0, 'AR20141000000003', NULL, 0),
	(228, 44, 93, 2, 0, 40, 'INV', '2014-10-14', 'ere', 15, 30, 2, 24, 1, 1, 0, 0, '', 0, 0, 0, 0.6, 10.6, 10.6, 16, '2014-10-14 16:03:01', 0, '2014-10-14 16:03:01', 0, 1, '', NULL, 0),
	(229, 6, 107, 2, 0, 49, 'INV', '2014-01-01', '324', 26, 0, 1, 25, 1, 1, 0, 0, '', 47, 0, 3, 360, 6360, 6360, 19, '2014-10-14 18:33:24', 0, '2014-10-16 10:41:41', 0, 0, 'AR20140100000001', NULL, 25),
	(230, 4, 111, 2, 0, 54, 'SI20141017', '2014-10-17', 'PO3456', 31, 0, 3, 27, 1, 1, 24, 0, '', 76, 1, 3, 3600, 63600, 63600, 43, '2014-10-17 11:56:08', 0, '2014-10-17 11:56:08', 0, 1, '', NULL, 0),
	(231, 5, 111, 2, 0, 55, 'SI20141020', '2014-10-20', 'PO999', 31, 0, 1, 0, 0, 1, 23, 0, '', 53, 1, 8, 60, 1, 1, 43, '2014-10-20 10:37:07', 0, '2014-10-20 10:39:14', 0, 1, '', NULL, 0),
	(243, 6, 111, 1, 0, 52, 'SI20141020', '2014-10-20', 'Pono002', 0, 0, 2, 0, 1, 1, 0, 0, '', 0, 0, 0, 90, 1590, 1590, 19, '2014-10-20 13:52:11', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(244, 3, 105, 2, 0, 45, 'INV', '2014-10-24', '3453', 24, 0, 2, 23, 1, 1, 0, 0, '', 0, 0, 0, 0, 1990000, 1990000, 19, '2014-10-24 11:54:23', 0, '2014-10-24 11:54:43', 0, 0, 'AR20141000000001', NULL, 0),
	(245, 45, 93, 2, 0, 40, 'INV', '2014-10-27', 'bvnm,m,', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 0, 0, 119400.29999999999, 2109401.06, 2109405.3000000003, 16, '2014-10-27 16:18:47', 0, '2014-10-27 16:28:45', 0, 1, '', NULL, 0),
	(246, 46, 93, 2, 0, 40, 'INV', '2014-10-28', 'zxz', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 0, 0, 119466.06, 2110567.06, 2110567.06, 16, '2014-10-28 20:14:57', 0, '2014-10-29 15:48:47', 0, 1, '', NULL, 0),
	(247, 7, 111, 1, 0, 52, 'SI20141029', '2014-10-29', 'customerpono777', 0, 0, 2, 0, 1, 1, 0, 0, '', 0, 0, 0, 0.72, 12.72, 12.72, 33, '2014-10-29 11:15:02', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(248, 8, 111, 1, 0, 52, 'SI20141029', '2014-10-29', 'custPoNo88', 0, 0, 2, 0, 1, 1, 0, 0, '', 0, 0, 0, 6.36, 76.32, 112.36000000000001, 33, '2014-10-29 11:22:05', 0, '2014-10-29 11:24:10', 0, 1, '', NULL, 0),
	(249, 9, 111, 2, 0, 53, 'SI20141030', '2014-10-30', 'customer po no1', 31, 0, 3, 0, 1, 1, 0, 0, '', 0, 0, 0, 4216, 74496, 74496, 16, '2014-10-30 09:55:38', 0, '2014-10-30 12:18:27', 0, 1, '', NULL, 0),
	(250, 47, 93, 2, 0, 40, 'INV', '2014-10-30', 'sd', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 0, 0, 1.2, 10.6, 21.2, 16, '2014-10-30 10:19:27', 0, '2014-10-30 10:19:35', 0, 1, '', NULL, 0),
	(251, 48, 93, 2, 0, 40, 'INV', '2014-10-30', 'ad', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 0, 0, 0.6, 10.6, 10.6, 16, '2014-10-30 10:23:55', 0, '2014-10-30 10:23:56', 0, 1, '', NULL, 0),
	(252, 10, 111, 2, 0, 52, 'SI20141030', '2014-10-30', 'pono888', 31, 0, 2, 26, 1, 1, 0, 0, '', 0, 0, 0, 55.92, 987.92, 987.92, 16, '2014-10-30 10:29:44', 0, '2014-10-30 10:29:44', 0, 1, '', NULL, 0),
	(253, 11, 111, 1, 0, 55, 'SI20141030', '2014-10-30', 'customer akmal po 2', 0, 0, 1, 28, 1, 1, 0, 0, '', 0, 1, 0, 12, 212, 212, 16, '2014-10-30 13:18:47', 0, '2014-10-30 13:18:48', 0, 1, '', NULL, 0),
	(254, 12, 111, 2, 0, 55, 'SI20141030', '2014-10-30', '77777', 33, 0, 2, 28, 1, 1, 23, 0, 'asdsfsdf', 53, 1, 3, 1500, 26500, 26500, 55, '2014-10-30 15:56:04', 0, '2014-10-30 16:01:18', 0, 0, 'AR20141000000085', NULL, 0),
	(255, 13, 111, 1, 0, 54, 'SI20141030', '2014-10-30', 'PO999', 0, 0, 3, 27, 1, 1, 23, 0, '', 0, 1, 0, 6, 106, 106, 43, '2014-10-30 17:44:24', 0, '2014-10-30 17:44:53', 0, 0, 'AR20141000000086', NULL, 0),
	(256, 14, 111, 1, 0, 52, 'SI20141031', '2014-10-31', 'customer PO No. 888', 0, 0, 2, 26, 1, 1, 23, 0, '', 76, 1, 74, 0.72, 32.72, 32.72, 33, '2014-10-31 09:05:54', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(260, 18, 111, 1, 0, 52, 'SI20141031', '2014-10-31', 'asdfa45444', 0, 0, 2, 26, 1, 1, 24, 0, '', 71, 0, 74, 2, 50920, 50920, 33, '2014-10-31 09:19:44', 0, '0000-00-00 00:00:00', 0, 1, '', NULL, 0),
	(261, 19, 111, 2, 0, 55, 'SI20141031', '2014-10-31', '9999', 34, 0, 1, 28, 1, 1, 23, 0, 'dfdsfsdf', 71, 0, 125, 60, 1060, 1060, 55, '2014-10-31 11:08:50', 0, '2014-10-31 11:10:37', 0, 0, 'AR20141000000087', NULL, 0),
	(262, 49, 93, 2, 0, 40, 'INV', '2014-10-31', 'QWQ', 15, 30, 1, 24, 1, 1, 19, 0, '', 0, 0, 0, 0.6, 10.6, 10.6, 16, '2014-10-31 11:23:54', 0, '2014-10-31 11:23:54', 0, 1, '', NULL, 0),
	(263, 50, 93, 2, 0, 40, 'INV', '2014-10-31', 'a', 15, 30, 1, 24, 1, 1, 19, 0, 'qwq', 38, 0, 8, 1.2599999999999998, 11.26, 22.259999999999998, 16, '2014-10-31 11:29:53', 0, '2014-10-31 11:30:41', 0, 1, '', NULL, 0),
	(264, 20, 111, 1, 0, 55, 'SI201411039191', '2014-11-03', '9191919191', 0, 35, 1, 28, 1, 1, 24, 0, 'ghfhdfgdfgd', 76, 1, 3, 180, 3180, 3180, 55, '2014-11-03 16:04:49', 0, '2014-11-04 11:57:20', 0, 0, 'AR20141100000001', NULL, 0),
	(265, 21, 111, 1, 0, 55, 'SI201411049192', '2014-11-04', '2343434', 0, 0, 1, 28, 1, 1, 0, 0, 'zdasdasd', 76, 0, 74, 1, 28620, 28620, 55, '2014-11-04 12:02:44', 0, '2014-11-04 12:03:37', 0, 0, 'AR20141100000002', NULL, 0);


-- Dumping structure for table iaccountdb.comp_sales_invoice_charges
CREATE TABLE IF NOT EXISTS `comp_sales_invoice_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `chargeDescription` text NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` 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,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=179 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_invoice_charges: ~106 rows (approximately)
DELETE FROM `comp_sales_invoice_charges`;
INSERT INTO `comp_sales_invoice_charges` (`ID`, `invoiceID`, `lineNo`, `accountNoID`, `chargeDescription`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `drAccountID`, `crAccountID`, `drTaxAccountID`, `crTaxAccountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(37, 18, 1, 86, 'delivery charges', 1212, 9, 0, 0, 1212, 0, 0, 0, 0, 16, '2014-06-18 10:19:53', 0, '2014-06-24 08:42:54'),
	(38, 20, 0, 101, '11sd', 0, 1, 6, 0.72, 12, 0, 0, 0, 0, 16, '2014-06-27 15:11:30', 0, '0000-00-00 00:00:00'),
	(39, 22, 0, 101, '1', 0, 1, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-06-27 15:27:41', 0, '0000-00-00 00:00:00'),
	(40, 23, 0, 88, 'wew', 1, 18, 6, 0.72, 12, 0, 0, 0, 0, 16, '2014-06-27 15:34:11', 0, '0000-00-00 00:00:00'),
	(41, 26, 0, 86, 'we', 0, 15, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-06-27 15:47:23', 0, '0000-00-00 00:00:00'),
	(42, 27, 0, 88, 'qw', 0, 15, 6, 0.06, 1, 0, 0, 0, 0, 16, '2014-06-27 15:48:34', 0, '0000-00-00 00:00:00'),
	(43, 30, 0, 100, 'we', 0, 1, 6, 0.72, 12, 0, 0, 0, 0, 16, '2014-06-30 08:44:08', 0, '0000-00-00 00:00:00'),
	(44, 31, 1, 100, '111111111', 0, 1, 6, 0.72, 12, 0, 0, 0, 0, 16, '2014-06-30 09:02:05', 16, '2014-06-30 11:22:57'),
	(46, 32, 1, 102, 'qwqw', 0, 5, 0, 0, 1, 0, 0, 0, 0, 16, '2014-06-30 11:45:03', 0, '0000-00-00 00:00:00'),
	(47, 21, 1, 100, 'asa', 0, 5, 0, 1, 1, 0, 0, 0, 0, 16, '2014-07-03 12:28:29', 0, '2014-07-07 10:33:20'),
	(48, 35, 1, 101, 'asdfasdfa fas', 23425, 1, 6, 1405.5, 24830.5, 0, 0, 0, 0, 16, '2014-07-04 11:43:21', 0, '0000-00-00 00:00:00'),
	(49, 36, 1, 101, 'adadf12313', 234, 1, 6, 14.04, 248.04, 0, 0, 0, 0, 16, '2014-07-04 11:45:10', 0, '0000-00-00 00:00:00'),
	(50, 36, 2, 102, 'asdfas245235342', 0, 1, 6, 207.18, 3453, 0, 0, 0, 0, 16, '2014-07-04 11:47:24', 0, '0000-00-00 00:00:00'),
	(51, 37, 1, 101, 'ASDFASDF', 24545, 1, 6, 1472.7, 26017.7, 0, 0, 0, 0, 16, '2014-07-04 11:53:16', 0, '0000-00-00 00:00:00'),
	(52, 38, 1, 100, 'trr', 300, 1, 6, 18, 318, 0, 0, 0, 0, 16, '2014-07-07 14:06:10', 16, '2014-07-08 17:06:34'),
	(53, 39, 1, 100, 'sd', 1, 5, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-07 14:13:13', 0, '0000-00-00 00:00:00'),
	(54, 39, 2, 101, 'hasdfasfd245435', 234, 1, 6, 14.04, 248.04, 0, 0, 0, 0, 16, '2014-07-07 14:13:50', 16, '2014-07-09 15:51:24'),
	(55, 41, 1, 101, 'sfgsdfg35356', 0, 1, 6, 272.7, 4545, 0, 0, 0, 0, 16, '2014-07-07 14:45:33', 0, '0000-00-00 00:00:00'),
	(56, 39, 3, 102, 'WWWWWWWWWWW', 1, 2, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-07 14:55:27', 16, '2014-07-07 14:59:17'),
	(58, 19, 1, 101, 'asdfasd324523', 456, 1, 6, 27.36, 483.36, 0, 0, 0, 0, 16, '2014-07-08 10:21:57', 0, '0000-00-00 00:00:00'),
	(59, 19, 2, 101, 'sadf352345', 654, 1, 6, 39.24, 693.24, 0, 0, 0, 0, 16, '2014-07-08 10:22:26', 0, '0000-00-00 00:00:00'),
	(81, 75, 1, 100, 'trr', 0, 1, 6, 0.72, 12, 0, 0, 0, 0, 16, '2014-07-07 14:06:10', 0, '0000-00-00 00:00:00'),
	(84, 76, 1, 100, 'trr', 300, 1, 6, 18, 318, 0, 0, 0, 0, 16, '2014-07-07 14:06:10', 16, '2014-07-08 17:06:34'),
	(85, 75, 2, 101, 'safg3245', 456, 1, 6, 27.36, 483.36, 0, 0, 0, 0, 16, '2014-07-09 11:07:01', 0, '0000-00-00 00:00:00'),
	(86, 0, 2, 101, 'afdasdf345345', 456, 1, 6, 27.36, 483.36, 0, 0, 0, 0, 16, '2014-07-11 09:20:10', 0, '0000-00-00 00:00:00'),
	(87, 29, 1, 101, 'sadf2345', 400, 1, 6, 24, 424, 0, 0, 0, 0, 16, '2014-07-11 10:22:15', 16, '2014-07-11 10:23:16'),
	(91, 77, 1, 101, 'sadf2345', 400, 1, 6, 24, 424, 0, 0, 0, 0, 16, '2014-07-11 10:22:15', 16, '2014-07-11 10:23:16'),
	(92, 78, 1, 101, 'dsfgsd2345', 345, 1, 6, 20.7, 365.7, 0, 0, 0, 0, 16, '2014-07-11 16:25:59', 0, '0000-00-00 00:00:00'),
	(93, 79, 1, 101, 'asfd23452', 456, 1, 6, 27.36, 483.36, 0, 0, 0, 0, 16, '2014-07-11 16:38:18', 0, '0000-00-00 00:00:00'),
	(94, 80, 1, 101, 'asfasdf3245', 466, 1, 6, 27.96, 493.96, 0, 0, 0, 0, 16, '2014-07-11 16:51:42', 0, '0000-00-00 00:00:00'),
	(95, 81, 1, 101, 'asfsa234523', 464, 1, 6, 27.84, 491.84, 0, 0, 0, 0, 16, '2014-07-11 16:59:06', 0, '0000-00-00 00:00:00'),
	(96, 81, 2, 102, 'qwer245', 0, 1, 6, 27.18, 453, 0, 0, 0, 0, 16, '2014-07-11 16:59:34', 0, '0000-00-00 00:00:00'),
	(97, 89, 1, 101, 'asfsad3452354', 453, 1, 6, 27.18, 480.18, 0, 0, 0, 0, 16, '2014-07-14 08:47:46', 0, '0000-00-00 00:00:00'),
	(98, 92, 1, 100, 'sds', 1.1111111111111111e20, 1, 6, 6.666666666666668e18, 1.1777777777777779e20, 0, 0, 0, 0, 16, '2014-07-14 14:58:13', 0, '0000-00-00 00:00:00'),
	(100, 95, 1, 101, 'asdf2345', 0, 1, 6, 2.7, 45, 0, 0, 0, 0, 16, '2014-07-16 12:30:27', 0, '0000-00-00 00:00:00'),
	(101, 96, 1, 100, 'sds', 1.1111111111111111e20, 1, 6, 6.666666666666668e18, 1.1777777777777779e20, 0, 0, 0, 0, 16, '2014-07-14 14:58:13', 0, '0000-00-00 00:00:00'),
	(102, 102, 1, 101, 'swdew', 112, 1, 6, 6.72, 0, 0, 0, 0, 0, 1, '2014-08-05 10:00:22', 0, '0000-00-00 00:00:00'),
	(103, 103, 1, 101, 'swdew', 112, 1, 6, 6.72, 0, 0, 0, 0, 0, 1, '2014-08-05 10:00:25', 0, '0000-00-00 00:00:00'),
	(104, 104, 1, 101, 'swdew', 112, 1, 6, 6.72, 0, 0, 0, 0, 0, 1, '2014-08-05 10:00:36', 0, '0000-00-00 00:00:00'),
	(105, 105, 1, 101, 'swdew', 112, 1, 6, 6.72, 0, 0, 0, 0, 0, 1, '2014-08-05 10:00:38', 0, '0000-00-00 00:00:00'),
	(106, 123, 1, 102, 'sds', 12, 4, 0, 0, 12, 0, 0, 0, 0, 1, '2014-08-11 15:42:43', 0, '0000-00-00 00:00:00'),
	(107, 127, 1, 101, 'SDS', 1, 5, 0, 0, 0, 0, 0, 0, 0, 1, '2014-08-11 16:12:31', 0, '0000-00-00 00:00:00'),
	(108, 128, 1, 101, 'we', 1, 5, 0, 0, 0, 0, 0, 0, 0, 1, '2014-08-11 16:15:48', 0, '0000-00-00 00:00:00'),
	(109, 130, 1, 101, 'sdsdf', 34, 1, 6, 2.04, 0, 0, 0, 0, 0, 33, '2014-08-11 16:18:39', 0, '0000-00-00 00:00:00'),
	(110, 116, 1, 102, 'H', 1, 4, 0, 0, 1, 0, 0, 0, 0, 1, '2014-08-11 16:48:31', 0, '0000-00-00 00:00:00'),
	(111, 126, 1, 290, 'sewa lori', 50, 35, 6, 3, 53, 0, 0, 0, 0, 16, '2014-08-15 15:37:28', 0, '0000-00-00 00:00:00'),
	(112, 146, 1, 290, 'sewa lori', 50, 35, 6, 3, 53, 0, 0, 0, 0, 33, '2014-08-15 17:47:02', 16, '2014-08-20 09:34:37'),
	(113, 149, 1, 27493, 'asfgsdf3465345', 1234, 98, 6, 74.04, 1308.04, 0, 0, 0, 0, 33, '2014-08-18 10:41:58', 0, '0000-00-00 00:00:00'),
	(114, 156, 1, 27494, 'asfdasfd', 234, 98, 6, 14.04, 0, 0, 0, 0, 0, 33, '2014-08-20 11:19:22', 0, '0000-00-00 00:00:00'),
	(115, 156, 2, 27494, 'asfsdf245', 0, 99, 6, 20.7, 345, 0, 0, 0, 0, 33, '2014-08-20 11:19:33', 0, '0000-00-00 00:00:00'),
	(116, 156, 3, 27494, 'asfsasdf345', 0, 107, 6, 32.58, 543, 0, 0, 0, 0, 33, '2014-08-20 11:19:56', 0, '0000-00-00 00:00:00'),
	(117, 157, 1, 290, 'sewa lori', 50, 35, 6, 3, 53, 0, 0, 0, 0, 16, '2014-08-15 15:37:28', 0, '0000-00-00 00:00:00'),
	(118, 160, 1, 28370, 'asdfsadf', 2345, 0, 0, 0, 2345, 0, 0, 0, 0, 16, '2014-09-09 12:33:23', 0, '0000-00-00 00:00:00'),
	(119, 160, 2, 28370, 'gkkjhkljkhj', 123, 0, 0, 0, 123, 0, 0, 0, 0, 16, '2014-09-09 12:36:17', 0, '0000-00-00 00:00:00'),
	(120, 161, 1, 28369, 'asfasfda', 2312, 0, 0, 0, 2312, 0, 0, 0, 0, 16, '2014-09-09 12:41:48', 0, '0000-00-00 00:00:00'),
	(121, 163, 1, 28370, 'sfge', 234, 0, 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-09 12:48:17', 0, '0000-00-00 00:00:00'),
	(122, 165, 1, 28382, 'asdfasdfasf', 344, 0, 0, 0, 344, 0, 0, 0, 0, 16, '2014-09-09 12:51:20', 0, '0000-00-00 00:00:00'),
	(123, 165, 2, 28370, 'asdfasdf', 2345, 0, 0, 0, 2345, 0, 0, 0, 0, 16, '2014-09-09 12:54:02', 0, '0000-00-00 00:00:00'),
	(124, 166, 1, 28370, 'asdfa', 345, 0, 0, 0, 345, 0, 0, 0, 0, 16, '2014-09-09 12:55:08', 0, '0000-00-00 00:00:00'),
	(125, 166, 2, 28382, 'sdf', 234, 0, 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-09 12:55:22', 0, '0000-00-00 00:00:00'),
	(126, 167, 1, 28371, 'swdee', 423, 775, 0, 0, 423, 0, 0, 0, 0, 16, '2014-09-09 12:57:11', 16, '2014-09-09 14:30:18'),
	(127, 167, 2, 28382, 'dasdf', 43, 775, 0, 0, 43, 0, 0, 0, 0, 16, '2014-09-09 12:57:31', 16, '2014-09-09 14:30:28'),
	(128, 159, 1, 28371, 'asdfasdf', 345, 775, 0, 0, 345, 0, 0, 0, 0, 16, '2014-09-10 11:02:39', 16, '2014-09-10 11:14:34'),
	(132, 169, 1, 28360, 'freight charges', 3000, 0, 0, 0, 3000, 0, 0, 0, 0, 42, '2014-09-11 17:14:33', 0, '0000-00-00 00:00:00'),
	(133, 172, 1, 28369, 'asdfasdf', 123, 771, 0, 0, 0, 0, 0, 0, 0, 16, '2014-09-16 12:05:39', 0, '0000-00-00 00:00:00'),
	(134, 172, 2, 28371, 'ADad234', 0, 769, 6, 14.04, 234, 0, 0, 0, 0, 16, '2014-09-16 12:05:53', 0, '0000-00-00 00:00:00'),
	(135, 172, 3, 28370, 'adfsad323', 0, 769, 6, 14.04, 234, 0, 0, 0, 0, 16, '2014-09-16 12:06:40', 0, '0000-00-00 00:00:00'),
	(136, 172, 4, 28371, 'qwer234', 0, 769, 6, 14.1, 235, 0, 0, 0, 0, 16, '2014-09-16 12:07:01', 0, '0000-00-00 00:00:00'),
	(137, 172, 5, 28370, 'adf2323', 0, 769, 6, 14.04, 234, 0, 0, 0, 0, 16, '2014-09-16 12:07:22', 0, '0000-00-00 00:00:00'),
	(138, 173, 1, 28370, 'sdf2344', 353, 769, 6, 21.18, 0, 0, 0, 0, 0, 16, '2014-09-16 12:07:57', 0, '0000-00-00 00:00:00'),
	(139, 173, 2, 28369, 'asdfa234123', 0, 772, 0, 0, 343, 0, 0, 0, 0, 16, '2014-09-16 12:08:17', 0, '0000-00-00 00:00:00'),
	(140, 177, 1, 28370, 'adfasf', 234, 6, 0, 14.04, 0, 0, 0, 0, 0, 16, '2014-09-17 09:35:10', 0, '0000-00-00 00:00:00'),
	(141, 177, 2, 28371, 'asdfasdf', 0, 0, 0, 0, 235, 0, 0, 0, 0, 16, '2014-09-17 09:35:27', 0, '0000-00-00 00:00:00'),
	(142, 178, 1, 28370, 'afasdf', 123, 0, 0, 0, 0, 0, 0, 0, 0, 16, '2014-09-17 09:48:00', 0, '0000-00-00 00:00:00'),
	(144, 179, 1, 28370, 'Tesr DESC', 234, 770, 6, 14.04, 248.04, 0, 0, 0, 0, 16, '2014-09-17 15:19:48', 16, '2014-09-17 15:21:30'),
	(145, 180, 1, 28369, 'Sayem1234', 2313, 6, 0, 138.78, 2451.78, 0, 0, 0, 0, 16, '2014-09-17 15:25:05', 0, '0000-00-00 00:00:00'),
	(146, 180, 2, 28370, 'Sayem4321', 54321, 769, 6, 3259.26, 57580.26, 0, 0, 0, 0, 16, '2014-09-17 15:25:42', 0, '0000-00-00 00:00:00'),
	(147, 181, 1, 28370, 'Sayem', 12344, 6, 0, 740.64, 13084.64, 0, 0, 0, 0, 16, '2014-09-17 15:43:25', 0, '0000-00-00 00:00:00'),
	(148, 182, 1, 28382, 'asdfasdf', 1234, 6, 0, 74.04, 1308.04, 0, 0, 0, 0, 16, '2014-09-17 15:45:00', 0, '0000-00-00 00:00:00'),
	(149, 183, 1, 28371, 'Sam1234', 1234, 6, 0, 74.04, 1308.04, 0, 0, 0, 0, 16, '2014-09-17 15:56:39', 0, '0000-00-00 00:00:00'),
	(150, 184, 1, 28369, 'asdfasfd', 1234, 6, 0, 74.04, 1308.04, 0, 0, 0, 0, 16, '2014-09-17 16:02:35', 0, '0000-00-00 00:00:00'),
	(151, 185, 1, 28382, 'lkjhklj', 7676, 6, 0, 460.56, 8136.56, 0, 0, 0, 0, 16, '2014-09-17 16:04:31', 0, '0000-00-00 00:00:00'),
	(152, 186, 1, 28370, 'fsdfgsdfg', 1234, 6, 0, 74.04, 1308.04, 0, 0, 0, 0, 16, '2014-09-17 16:06:31', 0, '0000-00-00 00:00:00'),
	(153, 187, 1, 28370, 'Test charge', 54567, 770, 6, 3274.02, 57841.02, 0, 0, 0, 0, 16, '2014-09-17 16:14:05', 16, '2014-09-17 16:24:12'),
	(154, 188, 1, 28370, 'asdfasdf', 435, 770, 6, 26.1, 461.1, 0, 0, 0, 0, 16, '2014-09-17 17:17:57', 16, '2014-09-18 09:40:28'),
	(155, 188, 2, 28370, 'asdfasdf', 1234, 6, 0, 74.04, 1308.04, 0, 0, 0, 0, 16, '2014-09-17 18:20:44', 16, '2014-09-18 09:21:32'),
	(158, 188, 4, 28370, 'asdfasdf', 234, 769, 6, 14.04, 248.04, 0, 0, 0, 0, 16, '2014-09-18 09:27:27', 0, '0000-00-00 00:00:00'),
	(160, 189, 1, 28381, 'caj buku cek', 10, 6, 0, 0.6, 10.6, 0, 0, 0, 0, 19, '2014-09-18 15:35:52', 0, '0000-00-00 00:00:00'),
	(161, 190, 1, 28371, 'asdf3434', 345, 0, 0, 0, 345, 0, 0, 0, 0, 16, '2014-09-18 16:28:27', 0, '0000-00-00 00:00:00'),
	(162, 190, 2, 28370, 'asdf234', 0, 6, 0, 20.7, 345, 0, 0, 0, 0, 16, '2014-09-18 16:28:58', 0, '0000-00-00 00:00:00'),
	(163, 191, 1, 28370, 'asffdas342234', 34534, 769, 6, 2072.04, 36606.04, 0, 0, 0, 0, 16, '2014-09-18 16:39:22', 0, '0000-00-00 00:00:00'),
	(164, 191, 2, 28369, 'asdf24534', 43454, 778, 6, 2607.24, 46061.24, 0, 0, 0, 0, 16, '2014-09-18 16:39:36', 16, '2014-09-18 16:40:19'),
	(165, 192, 1, 28370, 'fasfasdf', 234, 769, 6, 14.04, 248.04, 0, 0, 0, 0, 16, '2014-09-18 16:43:06', 0, '0000-00-00 00:00:00'),
	(166, 192, 2, 28371, 'asdfas2324232', 0, 769, 6, 74.04, 1234, 0, 0, 0, 0, 16, '2014-09-18 16:45:54', 0, '0000-00-00 00:00:00'),
	(167, 192, 3, 28370, 'asdfasf', 0, 769, 6, 206.04, 3434, 0, 0, 0, 0, 16, '2014-09-18 16:47:03', 0, '0000-00-00 00:00:00'),
	(168, 193, 1, 28370, 'asdf3454', 45343, 769, 6, 2720.58, 48063.58, 0, 0, 0, 0, 16, '2014-09-18 16:47:47', 16, '2014-09-18 16:48:57'),
	(169, 193, 2, 28382, 'asdf2343', 3432, 770, 6, 205.92, 3637.92, 0, 0, 0, 0, 16, '2014-09-18 16:48:05', 16, '2014-09-18 16:49:01'),
	(170, 194, 1, 28370, 'asdfa2423', 3435, 770, 6, 206.1, 3641.1, 0, 0, 0, 0, 16, '2014-09-19 12:11:36', 16, '2014-09-19 12:12:00'),
	(171, 195, 1, 28370, 'asdfas', 3434, 775, 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-19 17:29:49', 0, '0000-00-00 00:00:00'),
	(172, 194, 2, 28370, 'asdfs', 23232, 775, 0, 0, 23232, 0, 0, 0, 0, 16, '2014-09-19 17:32:41', 0, '0000-00-00 00:00:00'),
	(173, 196, 1, 101, 'adfasd', 234, 1, 6, 14.04, 248.04, 0, 0, 0, 0, 16, '2014-09-25 11:33:45', 0, '0000-00-00 00:00:00'),
	(174, 205, 1, 101, 'sdfgsdgf', 3434, 2, 6, 206.04, 3640.04, 0, 0, 0, 0, 16, '2014-09-30 11:01:30', 16, '2014-09-30 11:06:25'),
	(175, 205, 2, 96, 'swgsdfg', 3434, 1, 6, 206.04, 3640.04, 0, 0, 0, 0, 16, '2014-09-30 11:01:53', 0, '0000-00-00 00:00:00'),
	(176, 211, 1, 28371, 'gfsdfs', 45345, 770, 6, 2720.7, 48065.7, 0, 0, 0, 0, 16, '2014-10-02 12:30:47', 0, '0000-00-00 00:00:00'),
	(177, 248, 1, 30166, 'sdfasfd', 34, 1560, 6, 2.04, 36.04, 0, 0, 0, 0, 33, '2014-10-29 11:24:10', 0, '0000-00-00 00:00:00'),
	(178, 253, 1, 30166, 'finance charges', 200, 1560, 6, 12, 212, 0, 0, 0, 0, 16, '2014-10-30 13:18:47', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_sales_invoice_detail
CREATE TABLE IF NOT EXISTS `comp_sales_invoice_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceID` int(11) NOT NULL,
  `doID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemdescription` varchar(128) NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=129 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_invoice_detail: ~104 rows (approximately)
DELETE FROM `comp_sales_invoice_detail`;
INSERT INTO `comp_sales_invoice_detail` (`ID`, `invoiceID`, `doID`, `lineNo`, `itemID`, `itemdescription`, `umID`, `quantity`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `accountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(1, 31, 0, 1, 7, '', 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(2, 159, 0, 1, 26, '', 1, 6, 123, 738, 775, 0, 0, 738, 0, 16, '2014-10-27 16:58:06', 16, '0000-00-00 00:00:00'),
	(3, 159, 0, 2, 29, '', 1, 3, 1, 3, 775, 0, 0, 3, 0, 16, '2014-10-27 16:58:06', 16, '0000-00-00 00:00:00'),
	(4, 161, 0, 1, 26, '', 1, 4, 123, 492, 0, 0, 0, 492, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(5, 161, 0, 2, 29, '', 1, 4, 2000, 8000, 0, 0, 0, 8000, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(6, 161, 0, 3, 27, '', 1, 2, 123, 246, 0, 0, 0, 246, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(7, 162, 0, 1, 29, '', 1, 3, 2000, 6000, 0, 0, 0, 6000, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(8, 163, 0, 1, 26, '', 1, 3, 123, 369, 0, 0, 0, 369, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(9, 164, 0, 1, 26, '', 1, 3, 123, 369, 0, 0, 0, 369, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(10, 166, 0, 1, 29, '', 1, 2, 2000, 4000, 0, 0, 0, 4000, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(11, 167, 0, 1, 29, '', 1, 2, 0, 0, 775, 0, 0, 0, 0, 16, '2014-10-27 16:58:06', 16, '0000-00-00 00:00:00'),
	(12, 167, 0, 2, 27, '', 1, 2, 210, 420, 775, 0, 0, 420, 0, 16, '2014-10-27 16:58:06', 16, '0000-00-00 00:00:00'),
	(14, 169, 0, 1, 29, '', 1, 7, 2000, 14000, 0, 6, 0, 14000, 0, 42, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(15, 0, 0, 1, 26, '', 1, 1, 0, 0, 769, 6, 0, 0, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(16, 0, 0, 1, 26, '', 1, 1, 0, 0, 769, 6, 0, 0, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(17, 170, 0, 1, 29, '', 1, 1, 2000, 2000, 0, 1, 0, 2000, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(18, 171, 17, 1, 32, '', 1, 200, 3, 600, 1182, 6, 36, 636, 0, 50, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(19, 173, 7, 1, 29, '', 1, 1, 2000, 2000, 769, 6, 120, 2120, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(20, 174, 18, 1, 39, '', 1, 2, 120000, 240000, 1308, 6, 14400, 254400, 0, 19, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(21, 175, 0, 1, 39, '', 1, 2, 50000, 100000, 1308, 6, 6000, 106000, 0, 19, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(22, 176, 15, 1, 27, '', 1, 20, 20, 400, 774, 0, 0, 400, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(23, 178, 6, 1, 26, '', 1, 100, 1, 100, 769, 6, 6, 106, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(24, 178, 11, 2, 25, '', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(25, 178, 11, 3, 27, '', 1, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(27, 179, 20, 1, 29, '', 1, 3, 100, 300, 770, 6, 18, 318, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(29, 180, 13, 2, 26, '', 1, 10, 10, 100, 769, 6, 6, 106, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(30, 183, 13, 1, 25, '', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(31, 184, 16, 1, 25, '', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(32, 185, 16, 1, 26, '', 1, 10, 10, 100, 769, 6, 6, 106, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(33, 187, 19, 1, 25, '', 1, 2, 456, 912, 769, 6, 54.72, 966.72, 0, 16, '2014-10-27 16:58:06', 16, '0000-00-00 00:00:00'),
	(34, 188, 19, 1, 27, '', 1, 5, 1, 5, 770, 6, 0.3, 5.3, 0, 16, '2014-10-27 16:58:06', 16, '0000-00-00 00:00:00'),
	(35, 194, 21, 1, 25, '', 1, 2, 1, 2, 770, 6, 0.12, 2.12, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(36, 196, 4, 1, 4, '', 1, 2, 10, 20, 1, 6, 1.2, 21.2, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(37, 196, 10, 2, 2, '', 1, 1, 10, 10, 1, 6, 0.6, 10.6, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(39, 198, 26, 1, 29, '', 1, 1, 100, 100, 769, 6, 6, 106, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(42, 202, 0, 1, 43, '', 1, 2, 5000, 10000, 1371, 6, 600, 10600, 0, 19, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(43, 203, 48, 1, 42, '', 1, 10, 4000, 40000, 1371, 6, 2400, 42400, 0, 19, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(44, 204, 0, 1, 49, '', 1, 5, 2000, 10000, 1371, 6, 600, 10600, 0, 19, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(45, 206, 0, 1, 49, '', 1, 5, 2000, 10000, 1371, 6, 600, 10600, 0, 19, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(46, 207, 48, 1, 42, '', 1, 10, 4000, 40000, 1371, 6, 2400, 42400, 0, 19, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(47, 208, 0, 1, 9, '', 1, 1, 10, 10, 5, 0, 0, 10, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(48, 209, 55, 1, 27, '', 1, 40, 100, 4000, 769, 6, 240, 4240, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(49, 209, 56, 2, 29, '', 1, 10, 2000, 20000, 769, 6, 1200, 21200, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(50, 210, 55, 1, 27, '', 1, 40, 100, 4000, 769, 6, 240, 4240, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(51, 210, 56, 2, 29, '', 1, 10, 2000, 20000, 769, 6, 1200, 21200, 0, 16, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(52, 212, 0, 1, 8, '', 1, 2, 2, 4, 10, 6, 0.24, 4.24, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(53, 213, 0, 1, 8, '', 1, 1, 1, 1, 10, 6, 0.06, 1.06, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(54, 213, 0, 2, 9, '', 1, 1, 1, 1, 5, 0, 0, 1, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(55, 214, 0, 1, 8, '', 1, 1, 70, 70, 10, 6, 4.2, 74.2, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(56, 215, 0, 1, 8, '', 1, 1, 10, 10, 10, 6, 0.6, 10.6, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(57, 216, 0, 1, 9, '', 1, 1, 10, 10, 5, 0, 0, 10, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(58, 217, 0, 1, 8, '', 1, 1, 10, 10, 10, 6, 0.6, 10.6, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(59, 217, 0, 2, 9, '', 1, 2, 10, 20, 5, 0, 0, 20, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(60, 218, 0, 1, 9, '', 1, 300, 10, 3000, 2, 6, 180, 3180, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(61, 219, 0, 1, 8, '', 1, 2, 2, 4, 10, 6, 0.24, 4.24, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(62, 220, 0, 1, 9, '', 1, 1, 10, 10, 5, 0, 0, 10, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(63, 221, 0, 1, 9, '', 1, 1, 10, 10, 5, 0, 0, 10, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(64, 222, 0, 1, 8, '', 1, 2, 2, 4, 10, 6, 0.24, 4.24, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(65, 223, 0, 1, 51, '', 1, 4, 123, 492, 1497, 6, 29.52, 521.52, 0, 19, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(66, 223, 0, 2, 55, '', 1, 4, 23, 92, 1498, 6, 5.52, 97.52, 0, 19, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(67, 224, 0, 1, 71, '', 1, 1, 1000, 1000, 1560, 6, 60, 1060, 0, 43, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(68, 225, 0, 1, 71, '', 1, 1, 500, 500, 1560, 6, 30, 530, 0, 43, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(69, 226, 0, 1, 29, '', 1, 1, 2000, 2000, 769, 6, 120, 2120, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(70, 227, 70, 1, 71, '', 1, 10, 500, 5000, 1560, 6, 300, 5300, 0, 19, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(71, 228, 0, 1, 27, '', 1, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(72, 229, 0, 1, 43, '', 1, 3, 2000, 6000, 1371, 6, 360, 6360, 0, 19, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(73, 230, 0, 1, 77, '', 1, 1, 60000, 60000, 1560, 6, 3600, 63600, 0, 43, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(74, 231, 0, 1, 83, '', 1, 5, 200, 1, 1560, 6, 60, 1, 0, 43, '2014-10-27 16:58:06', 19, '0000-00-00 00:00:00'),
	(90, 243, 68, 1, 71, '', 1, 1, 1000, 1000, 1560, 6, 60, 1060, 0, 19, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(91, 243, 69, 2, 71, '', 1, 1, 500, 500, 1560, 6, 30, 530, 0, 19, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(92, 244, 0, 1, 36, '', 1, 1, 1990000, 1990000, 0, 0, 0, 1990000, 0, 19, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(93, 245, 0, 1, 29, '', 1, 1, 1990000, 1990000, 769, 6, 119400, 2109400, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(94, 245, 0, 2, 26, '', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(95, 245, 0, 2, 26, '', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(96, 245, 0, 2, 26, '', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(97, 245, 0, 2, 26, '', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(98, 245, 0, 2, 26, '', 1, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-27 16:58:06', 0, '0000-00-00 00:00:00'),
	(99, 246, 0, 1, 26, 'Chair with Cover', 3, 1, 1990000, 1990000, 769, 6, 119400, 2109400, 0, 16, '2014-10-28 20:14:57', 0, '0000-00-00 00:00:00'),
	(100, 246, 0, 2, 29, 'Laptop Dell', 1, 11, 100, 1100, 769, 6, 66, 1166, 0, 16, '2014-10-28 20:15:20', 0, '0000-00-00 00:00:00'),
	(101, 247, 78, 1, 90, '', 0, 1, 12, 12, 1560, 6, 0.72, 12.72, 0, 33, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(102, 248, 79, 1, 90, '', 13, 1, 12, 12, 1560, 6, 0.72, 12.72, 0, 33, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(103, 248, 110, 2, 90, '', 13, 5, 12, 60, 1560, 6, 3.6, 63.6, 0, 33, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(105, 246, 0, 3, 27, 'ASASA', 3, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-29 15:48:46', 16, '0000-00-00 00:00:00'),
	(106, 249, 0, 1, 80, 'chasis:22334455', 3, 1, 70000, 70000, 1560, 6, 4200, 74200, 0, 16, '2014-10-30 09:55:38', 0, '0000-00-00 00:00:00'),
	(107, 249, 0, 1, 80, 'chasis:22334456/7', 3, 2, 70, 140, 1560, 6, 8, 148, 0, 16, '2014-10-30 12:19:01', 16, '0000-00-00 00:00:00'),
	(110, 250, 0, 1, 26, 'Chair with Cover', 3, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-30 10:19:28', 0, '0000-00-00 00:00:00'),
	(111, 250, 0, 1, 26, 'Chair with Cover', 3, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-30 10:19:35', 0, '0000-00-00 00:00:00'),
	(112, 251, 0, 1, 26, 'Chair with Cover', 3, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-30 10:23:56', 0, '0000-00-00 00:00:00'),
	(113, 249, 0, 1, 80, 'chasis:22334458', 3, 1, 70, 70, 1560, 6, 4, 74, 0, 16, '2014-10-30 12:18:15', 16, '0000-00-00 00:00:00'),
	(115, 249, 0, 1, 80, 'chasis:22334459', 3, 1, 70, 70, 1560, 6, 4, 74, 0, 16, '2014-10-30 12:18:27', 16, '0000-00-00 00:00:00'),
	(116, 252, 0, 1, 83, '12 BOX', 13, 4, 233, 932, 1560, 6, 55.92, 987.92, 0, 16, '2014-10-30 10:29:44', 0, '0000-00-00 00:00:00'),
	(117, 254, 0, 1, 93, 'Samsung Note 4', 17, 10, 2500, 25000, 1560, 6, 1500, 26500, 0, 55, '2014-10-30 15:56:04', 0, '0000-00-00 00:00:00'),
	(118, 255, 116, 1, 78, '', 3, 10, 10, 100, 1560, 6, 6, 106, 0, 43, '2014-10-31 09:24:41', 0, '0000-00-00 00:00:00'),
	(119, 256, 113, 1, 90, 'Mineral Water', 13, 1, 20, 20, 1562, 0, 0, 20, 0, 33, '2014-10-31 09:09:41', 0, '0000-00-00 00:00:00'),
	(120, 256, 81, 2, 90, 'Mineral Water', 35, 2, 0, 12, 1560, 6, 0.72, 12.72, 0, 33, '2014-10-31 09:09:38', 0, '0000-00-00 00:00:00'),
	(121, 260, 85, 1, 90, 'Mineral Water', 35, 4, 10, 40, 1567, 0, 0, 40, 0, 33, '2014-10-31 09:19:44', 0, '0000-00-00 00:00:00'),
	(122, 260, 86, 2, 93, 'Samsung Note 4', 13, 2, 24000, 48000, 1560, 6, 2880, 50880, 0, 33, '2014-10-31 09:19:44', 0, '0000-00-00 00:00:00'),
	(123, 261, 0, 1, 78, 'TUDUNG BAWAL', 3, 50, 20, 1000, 1560, 6, 60, 1060, 0, 55, '2014-10-31 11:08:50', 0, '0000-00-00 00:00:00'),
	(124, 262, 0, 1, 26, 'Chair with Cover', 3, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 11:23:54', 0, '0000-00-00 00:00:00'),
	(125, 263, 0, 1, 29, 'SDSDS SDS', 3, 1, 1, 1, 769, 6, 0.06, 1.06, 0, 16, '2014-10-31 11:53:43', 0, '0000-00-00 00:00:00'),
	(126, 263, 0, 2, 27, 'STAT', 3, 2, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 11:47:42', 0, '0000-00-00 00:00:00'),
	(127, 263, 0, 3, 29, 'Laptop Dell', 1, 1, 10, 10, 769, 6, 0.6, 10.6, 0, 16, '2014-10-31 11:30:41', 0, '0000-00-00 00:00:00'),
	(128, 264, 118, 1, 97, 'Wallet Kulit', 3, 10, 300, 3000, 1560, 6, 180, 3180, 0, 55, '2014-11-03 16:04:49', 0, '0000-00-00 00:00:00'),
	(129, 265, 170, 1, 97, 'Wallet Kulit', 3, 90, 300, 27000, 1560, 6, 1620, 28620, 0, 55, '2014-11-04 12:02:44', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_sales_order
CREATE TABLE IF NOT EXISTS `comp_sales_order` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(16) NOT NULL,
  `companyID` int(11) NOT NULL,
  `invoiceID` int(11) NOT NULL,
  `customerID` int(11) DEFAULT NULL,
  `OrderNo` varchar(32) DEFAULT NULL,
  `formNo` varchar(32) DEFAULT NULL,
  `currencyID` int(11) DEFAULT NULL,
  `exchangeRate` double DEFAULT '1',
  `salesOrderDate` date DEFAULT NULL,
  `dateRequired` date DEFAULT NULL,
  `deliveryToID` int(11) DEFAULT NULL,
  `salesPerson` int(11) DEFAULT NULL,
  `memo` varchar(128) DEFAULT NULL,
  `supplierID` int(11) DEFAULT NULL,
  `totalAmount` double DEFAULT NULL,
  `totalReceivable` double DEFAULT NULL,
  `status` tinyint(1) DEFAULT '1',
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_order: ~32 rows (approximately)
DELETE FROM `comp_sales_order`;
INSERT INTO `comp_sales_order` (`ID`, `serialNo`, `companyID`, `invoiceID`, `customerID`, `OrderNo`, `formNo`, `currencyID`, `exchangeRate`, `salesOrderDate`, `dateRequired`, `deliveryToID`, `salesPerson`, `memo`, `supplierID`, `totalAmount`, `totalReceivable`, `status`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`) VALUES
	(1, 0, 1, 0, 12, 'SON20140718', 'SON', 1, 1, '2014-06-11', NULL, 8, 6, 'test memo', NULL, 29400, NULL, 1, 1, '2014-09-08 14:27:39', 1, '0000-00-00 00:00:00', 0),
	(2, 0, 1, 0, 15, 'SON20140718', 'SON', 2, 1, '2014-06-18', NULL, 7, 0, '', NULL, 542540, NULL, 1, 1, '2014-09-08 14:27:39', 1, '0000-00-00 00:00:00', 0),
	(3, 0, 1, 0, 12, 'SON20140718', 'SON', 1, 1, '2014-06-18', NULL, 7, 0, '', NULL, 530200, NULL, 1, 1, '2014-09-08 14:27:39', 1, '0000-00-00 00:00:00', 0),
	(4, 0, 1, 0, 16, 'SON20140718', 'SON', 1, 1, '2014-06-18', NULL, 0, 0, '', NULL, 1000000, NULL, 1, 1, '2014-09-08 14:27:39', 0, '0000-00-00 00:00:00', 0),
	(5, 0, 1, 0, 20, 'SON20140718', 'SON', 1, 1, '2014-06-18', NULL, 0, 0, '', NULL, 35000, NULL, 1, 1, '2014-09-08 14:27:39', 0, '0000-00-00 00:00:00', 0),
	(6, 0, 15, 0, 17, 'SON20140718', 'SON', 1, 1, '2014-07-17', NULL, 6, 9, '', NULL, 250, NULL, 1, 16, '2014-09-08 14:27:39', 0, '0000-00-00 00:00:00', 0),
	(7, 0, 1, 0, 12, 'SON20140718', 'SON', 1, 1, '2014-07-18', NULL, 7, 0, '', NULL, 69, NULL, 1, 16, '2014-09-08 14:27:39', 0, '0000-00-00 00:00:00', 0),
	(8, 0, 1, 0, 12, 'SON20140718', 'SON', 1, 1, '2014-07-18', NULL, 7, 6, '', NULL, 584, NULL, 1, 16, '2014-09-08 14:27:39', 16, '0000-00-00 00:00:00', 0),
	(9, 1, 81, 0, 34, 'SON', 'SON', 1, 1, '2014-08-05', NULL, 0, 22, '', NULL, 170, NULL, 1, 29, '2014-09-08 14:27:39', 0, '0000-00-00 00:00:00', 0),
	(10, 1, 93, 0, 41, 'SON', 'SON', 1, 1, '2014-09-08', NULL, 21, 37, '', NULL, 4000, NULL, 1, 43, '2014-09-08 14:27:39', 0, '0000-00-00 00:00:00', 0),
	(11, 1, 1, 0, 12, 'SON20140908', 'SON20140908', 1, 1, '2014-09-08', NULL, 8, 30, 'sdacds', NULL, 200, NULL, 1, 16, '2014-09-08 15:20:31', 16, '0000-00-00 00:00:00', 0),
	(12, 2, 1, 0, 15, 'SON20140908', 'SON20140908', 2, 3.1305, '2014-09-08', NULL, 14, 6, 'sds', NULL, 1, NULL, 1, 16, '2014-09-08 15:21:56', 0, '0000-00-00 00:00:00', 0),
	(13, 1, 84, 0, 35, 'SON', 'SON', 10, 1, '2014-09-08', NULL, 18, 29, '', NULL, 1825, NULL, 1, 33, '2014-09-08 18:17:19', 33, '0000-00-00 00:00:00', 0),
	(14, 2, 93, 0, 40, 'SON', 'SON', 1, 1, '2014-09-09', NULL, 0, 36, '', NULL, 22, NULL, 1, 16, '2014-09-09 09:28:01', 16, '0000-00-00 00:00:00', 0),
	(15, 1, 15, 0, 17, 'SON', 'SON', 1, 1, '2014-09-09', NULL, 6, 8, '', NULL, 1000, NULL, 1, 16, '2014-09-09 10:00:56', 0, '0000-00-00 00:00:00', 0),
	(16, 3, 93, 0, 41, 'SON', 'SON', 1, 1, '2014-09-10', NULL, 21, 0, '', NULL, 1000, NULL, 1, 16, '2014-09-10 15:47:31', 0, '0000-00-00 00:00:00', 0),
	(17, 4, 93, 0, 40, 'SON', 'SON', 1, 1, '2014-09-10', NULL, 0, 0, '', NULL, 100, NULL, 1, 16, '2014-09-10 17:40:28', 0, '0000-00-00 00:00:00', 0),
	(18, 1, 103, 0, 44, '123', '123', 1, 1, '2014-09-16', NULL, 0, 0, '', NULL, 600, NULL, 1, 50, '2014-09-16 10:12:20', 0, '0000-00-00 00:00:00', 0),
	(19, 1, 105, 0, 45, 'SON', 'SON', 1, 1, '2014-09-16', NULL, 23, 45, '', NULL, 240000, NULL, 1, 19, '2014-09-16 13:48:00', 0, '0000-00-00 00:00:00', 0),
	(20, 5, 93, 0, 41, 'SON', 'SON', 1, 1, '2014-09-23', NULL, 21, 39, '', NULL, 1, NULL, 1, 16, '2014-09-23 10:29:49', 0, '0000-00-00 00:00:00', 0),
	(21, 2, 105, 0, 45, 'SON 123', 'SON 123', 1, 1, '2014-09-23', NULL, 23, 45, '', NULL, 3000, NULL, 1, 51, '2014-09-23 10:31:04', 0, '0000-00-00 00:00:00', 0),
	(22, 3, 105, 0, 45, 'SON 123', 'SON 123', 1, 1, '2014-09-23', NULL, 0, 45, '', NULL, 30000, NULL, 1, 51, '2014-09-23 10:33:43', 0, '0000-00-00 00:00:00', 0),
	(23, 4, 105, 0, 45, 'SON 999', 'SON 999', 1, 1, '2014-09-23', NULL, 23, 46, '', NULL, 100000, NULL, 1, 51, '2014-09-23 12:39:13', 0, '0000-00-00 00:00:00', 0),
	(24, 6, 93, 0, 41, 'SON', 'SON', 1, 1, '2014-09-23', NULL, 21, 36, '', NULL, 100, NULL, 1, 16, '2014-09-23 12:44:30', 0, '0000-00-00 00:00:00', 0),
	(26, 1, 111, 0, 52, 'SON20141014', 'SON20141014', 1, 1, '2014-10-14', NULL, 0, 65, '', NULL, 162155, NULL, 1, 43, '2014-10-28 14:18:35', 33, '0000-00-00 00:00:00', 0),
	(27, 2, 111, 0, 52, 'SON20141014', 'SON20141014', 1, 1, '2014-10-14', NULL, 26, 54, 'sdfgsdfgsdfg', NULL, 1368, NULL, 1, 19, '2014-10-14 15:29:25', 0, '0000-00-00 00:00:00', 0),
	(31, 6, 111, 0, 52, 'SON20141024', 'SON20141024', 1, 1, '2014-10-24', NULL, 26, 58, 'This is a memo', NULL, 280060, NULL, 1, 33, '2014-10-24 16:49:46', 33, '0000-00-00 00:00:00', 0),
	(32, 7, 111, 0, 52, 'SON20141014', 'SON20141014', 1, 1, '2014-10-14', NULL, 0, 65, '', NULL, 85, NULL, 1, 33, '2014-10-27 16:34:48', 0, '0000-00-00 00:00:00', 0),
	(33, 8, 111, 0, 52, 'SON20141014', 'SON20141014', 1, 1, '2014-10-14', NULL, 0, 65, '', NULL, 53000, NULL, 1, 33, '2014-10-27 16:39:06', 0, '0000-00-00 00:00:00', 0),
	(34, 9, 111, 0, 52, 'SON20141014', 'SON20141014', 1, 1, '2014-10-14', NULL, 0, 65, '', NULL, 5072, NULL, 1, 33, '2014-10-27 16:56:23', 33, '0000-00-00 00:00:00', 0),
	(35, 10, 111, 0, 54, 'SON20141030', 'SON20141030', 1, 1, '2014-10-30', NULL, 27, 55, '', NULL, 100, NULL, 1, 43, '2014-10-30 16:14:49', 0, '0000-00-00 00:00:00', 0),
	(36, 11, 111, 0, 55, 'SON201411039191', 'SON201411039191', 1, 1, '2014-11-03', NULL, 28, 76, 'dfsdfsfsfafda', NULL, 30000, NULL, 1, 55, '2014-11-03 10:19:30', 0, '0000-00-00 00:00:00', 0);


-- Dumping structure for table iaccountdb.comp_sales_price
CREATE TABLE IF NOT EXISTS `comp_sales_price` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `customerID` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `umID` int(11) NOT NULL,
  `startDate` date NOT NULL,
  `endDate` date NOT NULL,
  `price` double NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_sales_price: ~26 rows (approximately)
DELETE FROM `comp_sales_price`;
INSERT INTO `comp_sales_price` (`ID`, `companyID`, `customerID`, `itemID`, `currencyID`, `umID`, `startDate`, `endDate`, `price`, `updatedBy`, `createdBy`, `createdTS`, `updatedTS`) VALUES
	(3, 1, 15, 8, 2, 2, '2014-06-05', '2014-06-24', 111111111111, 16, 1, '2014-06-05 17:14:48', '2014-09-08 17:33:30'),
	(4, 1, 15, 1, 2, 2, '2014-07-21', '2014-07-21', 345.44, 0, 16, '2014-07-21 11:38:48', '2014-07-21 11:38:48'),
	(5, 1, 15, 1, 2, 2, '2014-07-21', '2014-07-21', 3345, 0, 16, '2014-07-21 11:47:42', '2014-07-21 11:47:42'),
	(6, 1, 15, 1, 0, 2, '2014-07-21', '2014-07-21', 245234, 0, 16, '2014-07-21 12:03:07', '2014-07-21 12:03:07'),
	(7, 1, 12, 13, 0, 2, '2014-07-21', '2014-07-21', 1111, 0, 16, '2014-07-21 12:03:44', '2014-07-21 12:03:44'),
	(9, 1, 12, 1, 0, 2, '2014-07-21', '2014-07-21', 54321, 0, 16, '2014-07-21 12:15:45', '2014-07-21 12:15:45'),
	(10, 1, 12, 1, 0, 13, '2014-07-21', '2014-07-30', 1234567, 0, 16, '2014-07-21 12:16:46', '2014-07-21 12:16:46'),
	(13, 1, 15, 4, 2, 12, '2014-07-24', '2014-07-24', 3456, 0, 16, '2014-07-24 11:53:18', '2014-07-24 11:53:18'),
	(14, 87, 38, 21, 1, 3, '2014-01-01', '2014-08-31', 1000, 0, 35, '2014-08-21 12:11:56', '2014-08-21 12:11:56'),
	(15, 87, 38, 21, 1, 3, '2014-08-21', '2014-08-21', 2000, 0, 35, '2014-08-21 12:12:57', '2014-08-21 12:12:57'),
	(16, 1, 12, 10, 1, 13, '2005-09-23', '2015-09-25', 100, 0, 1, '2014-09-02 11:56:24', '2014-09-02 11:56:24'),
	(17, 1, -1, 7, 0, 13, '2006-09-06', '2016-09-13', 50, 0, 1, '2014-09-02 14:25:20', '2014-09-02 14:25:20'),
	(18, 1, -1, 1, 1, 13, '2005-09-15', '2017-09-20', 50, 0, 1, '2014-09-02 15:06:09', '2014-09-02 15:06:09'),
	(19, 1, 16, 4, 1, 2, '2014-09-03', '2014-09-20', 100, 0, 16, '2014-09-03 18:09:20', '2014-09-03 18:09:20'),
	(20, 93, 40, 29, 1, 3, '2014-09-05', '2014-12-05', 2000, 42, 43, '2014-09-05 15:45:57', '2014-09-12 11:00:09'),
	(21, 1, -1, 4, 0, 13, '2014-09-08', '2014-09-08', 200, 0, 16, '2014-09-08 17:12:42', '2014-09-08 17:12:42'),
	(22, 1, 12, 10, 1, 13, '2014-09-08', '2014-09-08', 12, 0, 16, '2014-09-08 17:18:49', '2014-09-08 17:18:49'),
	(23, 1, -1, 4, 11, 13, '2014-09-08', '2014-09-08', 122, 0, 16, '2014-09-08 17:32:56', '2014-09-08 17:32:56'),
	(24, 1, 15, 2, 2, 1, '2014-09-08', '2014-09-08', 22, 16, 16, '2014-09-08 17:34:01', '2014-09-08 17:34:21'),
	(26, 93, 40, 26, 1, 2, '2014-09-01', '2014-09-30', 2123, 0, 16, '2014-09-12 10:55:55', '2014-09-12 10:55:55'),
	(27, 93, 40, 27, 1, 2, '2014-09-01', '2014-09-30', 4345, 0, 16, '2014-09-12 10:56:40', '2014-09-12 10:56:40'),
	(28, 93, 41, 25, 1, 3, '2014-09-12', '2014-12-31', 1500, 42, 42, '2014-09-12 11:02:23', '2014-09-12 11:02:39'),
	(29, 1, 12, 4, 1, 13, '2014-09-22', '2014-09-22', 23, 0, 16, '2014-09-22 11:33:04', '2014-09-22 11:33:04'),
	(30, 111, -1, 94, 1, 3, '2014-10-01', '2014-11-30', 15000, 0, 33, '2014-10-28 17:18:56', '2014-10-28 17:18:56'),
	(31, 111, -1, 93, 1, 3, '2014-10-01', '2014-10-31', 15000, 0, 33, '2014-10-28 17:45:24', '2014-10-28 17:45:24'),
	(32, 111, 52, 93, 1, 3, '2014-10-01', '2014-10-31', 15000, 0, 33, '2014-10-28 17:47:03', '2014-10-28 17:47:03');


-- Dumping structure for table iaccountdb.comp_section
CREATE TABLE IF NOT EXISTS `comp_section` (
  `fldid` int(11) NOT NULL DEFAULT '0',
  `code` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `department` varchar(18) CHARACTER SET utf8 DEFAULT NULL,
  `description` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
  `section_head` varchar(50) CHARACTER SET utf8 DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_section: ~1 rows (approximately)
DELETE FROM `comp_section`;
INSERT INTO `comp_section` (`fldid`, `code`, `department`, `description`, `section_head`) VALUES
	(3, 'DC', 'IS', 'Data Center', 'yahaya');


-- Dumping structure for table iaccountdb.comp_so_seq
CREATE TABLE IF NOT EXISTS `comp_so_seq` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `compID` int(11) DEFAULT NULL,
  `moduleID` int(11) DEFAULT NULL,
  `initial` varchar(2) CHARACTER SET utf8 DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `period` int(2) DEFAULT NULL,
  `seqNo` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;

-- Dumping data for table iaccountdb.comp_so_seq: ~0 rows (approximately)
DELETE FROM `comp_so_seq`;


-- Dumping structure for table iaccountdb.comp_supplier_closing
CREATE TABLE IF NOT EXISTS `comp_supplier_closing` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `yearMonth` varchar(6) NOT NULL,
  `openBalance` double NOT NULL,
  `totalDr` double NOT NULL,
  `totalCr` double NOT NULL,
  `balance` double NOT NULL,
  PRIMARY KEY (`ID`),
  KEY `companyID` (`companyID`,`supplierID`,`yearMonth`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_supplier_closing: ~15 rows (approximately)
DELETE FROM `comp_supplier_closing`;
INSERT INTO `comp_supplier_closing` (`ID`, `companyID`, `supplierID`, `yearMonth`, `openBalance`, `totalDr`, `totalCr`, `balance`) VALUES
	(1, 1, 1, '201406', 0, 30763, 62639, -93402),
	(2, 1, 20, '201406', 0, 0, 2429, -2429),
	(3, 1, 23, '201406', 0, 0, 144, -144),
	(4, 1, 1, '201407', 0, 0, 0, 0),
	(5, 1, 20, '201407', 0, 0, 0, 0),
	(6, 1, 23, '201407', 0, 0, 0, 0),
	(7, 1, 24, '201407', 0, 0, 0, 0),
	(8, 27, 25, '201407', 0, 0, 0, 0),
	(9, 15, 26, '201407', 0, 685.7, 0, -685.7),
	(10, 15, 27, '201407', 0, 0, 0, 0),
	(11, 15, 28, '201407', 0, 0, 0, 0),
	(12, 45, 29, '201407', 0, 0, 0, 0),
	(13, 57, 30, '201407', 0, 0, 0, 0),
	(14, 1, 31, '201407', 0, 0, 0, 0),
	(15, 81, 32, '201407', 0, 0, 0, 0);


-- Dumping structure for table iaccountdb.comp_supplier_closing_daily
CREATE TABLE IF NOT EXISTS `comp_supplier_closing_daily` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `transDate` date NOT NULL,
  `openBalance` double NOT NULL,
  `totalDr` double NOT NULL,
  `totalCr` double NOT NULL,
  `balance` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=795 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_supplier_closing_daily: ~553 rows (approximately)
DELETE FROM `comp_supplier_closing_daily`;
INSERT INTO `comp_supplier_closing_daily` (`ID`, `companyID`, `supplierID`, `transDate`, `openBalance`, `totalDr`, `totalCr`, `balance`, `createdTS`) VALUES
	(1, 1, 1, '2014-06-11', 0, 0, 0, 0, '2014-06-30 08:33:48'),
	(2, 1, 1, '2014-06-11', 0, 0, 0, 0, '2014-06-30 08:33:48'),
	(3, 1, 20, '2014-06-12', 0, 0, 0, 0, '2014-06-30 08:33:48'),
	(4, 1, 1, '2014-06-16', 0, 0, 0, 0, '2014-06-30 08:33:48'),
	(5, 1, 20, '2014-06-16', 0, 0, 0, 0, '2014-06-30 08:33:48'),
	(6, 1, 1, '2014-06-19', 0, 0, 0, 0, '2014-06-30 08:33:48'),
	(7, 0, 1, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:12'),
	(8, 0, 20, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:12'),
	(9, 0, 23, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:12'),
	(10, 0, 24, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:12'),
	(11, 0, 25, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:12'),
	(12, 0, 26, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:12'),
	(13, 0, 27, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:12'),
	(14, 0, 28, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:12'),
	(22, 0, 1, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:16'),
	(23, 0, 20, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:16'),
	(24, 0, 23, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:16'),
	(25, 0, 24, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:16'),
	(26, 0, 25, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:16'),
	(27, 0, 26, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:16'),
	(28, 0, 27, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:16'),
	(29, 0, 28, '0000-00-00', 0, 0, 0, 0, '2014-06-30 12:35:16'),
	(37, 0, 1, '0000-00-00', 0, 0, 0, 0, '2014-07-01 00:00:00'),
	(38, 0, 20, '0000-00-00', 0, 0, 0, 0, '2014-07-01 00:00:00'),
	(39, 0, 23, '0000-00-00', 0, 0, 0, 0, '2014-07-01 00:00:00'),
	(40, 0, 24, '0000-00-00', 0, 0, 0, 0, '2014-07-01 00:00:00'),
	(41, 0, 25, '0000-00-00', 0, 0, 0, 0, '2014-07-01 00:00:00'),
	(42, 0, 26, '0000-00-00', 0, 0, 0, 0, '2014-07-01 00:00:00'),
	(43, 0, 27, '0000-00-00', 0, 0, 0, 0, '2014-07-01 00:00:00'),
	(44, 0, 28, '0000-00-00', 0, 0, 0, 0, '2014-07-01 00:00:00'),
	(52, 0, 1, '2014-07-02', 0, 0, 0, 0, '2014-07-02 00:00:00'),
	(53, 0, 20, '2014-07-02', 0, 0, 0, 0, '2014-07-02 00:00:00'),
	(54, 0, 23, '2014-07-02', 0, 0, 0, 0, '2014-07-02 00:00:00'),
	(55, 0, 24, '2014-07-02', 0, 0, 0, 0, '2014-07-02 00:00:00'),
	(56, 0, 25, '2014-07-02', 0, 0, 0, 0, '2014-07-02 00:00:00'),
	(57, 0, 26, '2014-07-02', 0, 0, 0, 0, '2014-07-02 00:00:00'),
	(58, 0, 27, '2014-07-02', 0, 0, 0, 0, '2014-07-02 00:00:00'),
	(59, 0, 28, '2014-07-02', 0, 0, 0, 0, '2014-07-02 00:00:00'),
	(67, 1, 1, '2014-07-03', 0, 0, 0, 0, '2014-07-03 00:00:00'),
	(68, 1, 20, '2014-07-03', 0, 0, 0, 0, '2014-07-03 00:00:00'),
	(69, 1, 23, '2014-07-03', 0, 0, 0, 0, '2014-07-03 00:00:00'),
	(70, 1, 24, '2014-07-03', 0, 0, 0, 0, '2014-07-03 00:00:00'),
	(71, 27, 25, '2014-07-03', 0, 0, 0, 0, '2014-07-03 00:00:00'),
	(72, 15, 26, '2014-07-03', 0, 0, 0, 0, '2014-07-03 00:00:00'),
	(73, 15, 27, '2014-07-03', 0, 0, 0, 0, '2014-07-03 00:00:00'),
	(74, 15, 28, '2014-07-03', 0, 0, 0, 0, '2014-07-03 00:00:00'),
	(82, 1, 1, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(83, 1, 20, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(84, 1, 23, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(85, 1, 24, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(86, 27, 25, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(87, 15, 26, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(88, 15, 27, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(89, 15, 28, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(90, 45, 29, '2014-07-04', 0, 0, 0, 0, '2014-07-04 00:00:18'),
	(97, 1, 1, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(98, 1, 20, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(99, 1, 23, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(100, 1, 24, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(101, 27, 25, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(102, 15, 26, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(103, 15, 27, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(104, 15, 28, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(105, 45, 29, '2014-07-05', 0, 0, 0, 0, '2014-07-05 00:00:05'),
	(112, 1, 1, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(113, 1, 20, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(114, 1, 23, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(115, 1, 24, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(116, 27, 25, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(117, 15, 26, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(118, 15, 27, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(119, 15, 28, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(120, 45, 29, '2014-07-06', 0, 0, 0, 0, '2014-07-06 00:00:00'),
	(127, 1, 1, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(128, 1, 20, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(129, 1, 23, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(130, 1, 24, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(131, 27, 25, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(132, 15, 26, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(133, 15, 27, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(134, 15, 28, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(135, 45, 29, '2014-07-07', 0, 0, 0, 0, '2014-07-07 00:00:00'),
	(142, 1, 1, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(143, 1, 20, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(144, 1, 23, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(145, 1, 24, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(146, 27, 25, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(147, 15, 26, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(148, 15, 27, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(149, 15, 28, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(150, 45, 29, '2014-07-08', 0, 0, 0, 0, '2014-07-08 00:00:00'),
	(157, 1, 1, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(158, 1, 20, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(159, 1, 23, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(160, 1, 24, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(161, 27, 25, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(162, 15, 26, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(163, 15, 27, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(164, 15, 28, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(165, 45, 29, '2014-07-09', 0, 0, 0, 0, '2014-07-09 00:00:00'),
	(172, 1, 1, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(173, 1, 20, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(174, 1, 23, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(175, 1, 24, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(176, 27, 25, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(177, 15, 26, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(178, 15, 27, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(179, 15, 28, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(180, 45, 29, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(181, 57, 30, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(182, 1, 31, '2014-07-10', 0, 0, 0, 0, '2014-07-10 00:00:00'),
	(187, 1, 1, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(188, 1, 20, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(189, 1, 23, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(190, 1, 24, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(191, 27, 25, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(192, 15, 26, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(193, 15, 27, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(194, 15, 28, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(195, 45, 29, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(196, 57, 30, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(197, 1, 31, '2014-07-11', 0, 0, 0, 0, '2014-07-11 00:00:28'),
	(202, 1, 1, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(203, 1, 20, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(204, 1, 23, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(205, 1, 24, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(206, 27, 25, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(207, 15, 26, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(208, 15, 27, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(209, 15, 28, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(210, 45, 29, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(211, 57, 30, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(212, 1, 31, '2014-07-12', 0, 0, 0, 0, '2014-07-12 00:00:04'),
	(217, 1, 1, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(218, 1, 20, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(219, 1, 23, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(220, 1, 24, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(221, 27, 25, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(222, 15, 26, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(223, 15, 27, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(224, 15, 28, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(225, 45, 29, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(226, 57, 30, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(227, 1, 31, '2014-07-13', 0, 0, 0, 0, '2014-07-13 00:00:00'),
	(232, 1, 1, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(233, 1, 20, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(234, 1, 23, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(235, 1, 24, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(236, 27, 25, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(237, 15, 26, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(238, 15, 27, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(239, 15, 28, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(240, 45, 29, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(241, 57, 30, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(242, 1, 31, '2014-07-14', 0, 0, 0, 0, '2014-07-14 00:00:00'),
	(247, 1, 1, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(248, 1, 20, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(249, 1, 23, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(250, 1, 24, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(251, 27, 25, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(252, 15, 26, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(253, 15, 27, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(254, 15, 28, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(255, 45, 29, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(256, 57, 30, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(257, 1, 31, '2014-07-15', 0, 0, 0, 0, '2014-07-15 00:00:00'),
	(262, 1, 1, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(263, 1, 20, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(264, 1, 23, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(265, 1, 24, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(266, 27, 25, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(267, 15, 26, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(268, 15, 27, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(269, 15, 28, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(270, 45, 29, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(271, 57, 30, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(272, 1, 31, '2014-07-16', 0, 0, 0, 0, '2014-07-16 00:00:00'),
	(277, 1, 1, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(278, 1, 20, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(279, 1, 23, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(280, 1, 24, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(281, 27, 25, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(282, 15, 26, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(283, 15, 27, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(284, 15, 28, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(285, 45, 29, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(286, 57, 30, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(287, 1, 31, '2014-07-17', 0, 0, 0, 0, '2014-07-17 00:00:00'),
	(292, 1, 1, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(293, 1, 20, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(294, 1, 23, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(295, 1, 24, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(296, 27, 25, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(297, 15, 26, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(298, 15, 27, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(299, 15, 28, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(300, 45, 29, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(301, 57, 30, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(302, 1, 31, '2014-07-18', 0, 0, 0, 0, '2014-07-18 00:00:30'),
	(307, 1, 1, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(308, 1, 20, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(309, 1, 23, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(310, 1, 24, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(311, 27, 25, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(312, 15, 26, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(313, 15, 27, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(314, 15, 28, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(315, 45, 29, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(316, 57, 30, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(317, 1, 31, '2014-07-19', 0, 0, 0, 0, '2014-07-19 00:00:03'),
	(322, 1, 1, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(323, 1, 20, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(324, 1, 23, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(325, 1, 24, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(326, 27, 25, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(327, 15, 26, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(328, 15, 27, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(329, 15, 28, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(330, 45, 29, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(331, 57, 30, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(332, 1, 31, '2014-07-20', 0, 0, 0, 0, '2014-07-20 00:00:00'),
	(337, 1, 1, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(338, 1, 20, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(339, 1, 23, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(340, 1, 24, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(341, 27, 25, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(342, 15, 26, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(343, 15, 27, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(344, 15, 28, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(345, 45, 29, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(346, 57, 30, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(347, 1, 31, '2014-07-21', 0, 0, 0, 0, '2014-07-21 00:00:00'),
	(352, 1, 1, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(353, 1, 20, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(354, 1, 23, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(355, 1, 24, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(356, 27, 25, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(357, 15, 26, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(358, 15, 27, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(359, 15, 28, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(360, 45, 29, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(361, 57, 30, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(362, 1, 31, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(363, 81, 32, '2014-07-22', 0, 0, 0, 0, '2014-07-22 00:00:00'),
	(367, 1, 1, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(368, 1, 20, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(369, 1, 23, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(370, 1, 24, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(371, 27, 25, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(372, 15, 26, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(373, 15, 27, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(374, 15, 28, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(375, 45, 29, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(376, 57, 30, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(377, 1, 31, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(378, 81, 32, '2014-07-23', 0, 0, 0, 0, '2014-07-23 00:00:00'),
	(382, 1, 1, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(383, 1, 20, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(384, 1, 23, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(385, 1, 24, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(386, 27, 25, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(387, 15, 26, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(388, 15, 27, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(389, 15, 28, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(390, 45, 29, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(391, 57, 30, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(392, 1, 31, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(393, 81, 32, '2014-07-24', 0, 0, 0, 0, '2014-07-24 00:00:00'),
	(397, 1, 1, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(398, 1, 20, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(399, 1, 23, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(400, 1, 24, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(401, 27, 25, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(402, 15, 26, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(403, 15, 27, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(404, 15, 28, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(405, 45, 29, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(406, 57, 30, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(407, 1, 31, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(408, 81, 32, '2014-07-25', 0, 0, 0, 0, '2014-07-25 00:00:27'),
	(412, 1, 1, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(413, 1, 20, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(414, 1, 23, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(415, 1, 24, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(416, 27, 25, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(417, 15, 26, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(418, 15, 27, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(419, 15, 28, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(420, 45, 29, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(421, 57, 30, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(422, 1, 31, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(423, 81, 32, '2014-07-26', 0, 0, 0, 0, '2014-07-26 00:00:00'),
	(427, 1, 1, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(428, 1, 20, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(429, 1, 23, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(430, 1, 24, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(431, 27, 25, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(432, 15, 26, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(433, 15, 27, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(434, 15, 28, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(435, 45, 29, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(436, 57, 30, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(437, 1, 31, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(438, 81, 32, '2014-07-27', 0, 0, 0, 0, '2014-07-27 00:00:00'),
	(442, 1, 1, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(443, 1, 20, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(444, 1, 23, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(445, 1, 24, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(446, 27, 25, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(447, 15, 26, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(448, 15, 27, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(449, 15, 28, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(450, 45, 29, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(451, 57, 30, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(452, 1, 31, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(453, 81, 32, '2014-07-28', 0, 0, 0, 0, '2014-07-28 00:00:00'),
	(457, 1, 1, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(458, 1, 20, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(459, 1, 23, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(460, 1, 24, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(461, 27, 25, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(462, 15, 26, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(463, 15, 27, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(464, 15, 28, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(465, 45, 29, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(466, 57, 30, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(467, 1, 31, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(468, 81, 32, '2014-07-29', 0, 0, 0, 0, '2014-07-29 00:00:00'),
	(472, 1, 1, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(473, 1, 20, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(474, 1, 23, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(475, 1, 24, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(476, 27, 25, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(477, 15, 26, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(478, 15, 27, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(479, 15, 28, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(480, 45, 29, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(481, 57, 30, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(482, 1, 31, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(483, 81, 32, '2014-07-30', 0, 0, 0, 0, '2014-07-30 00:00:00'),
	(487, 1, 1, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(488, 1, 20, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(489, 1, 23, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(490, 1, 24, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(491, 27, 25, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(492, 15, 26, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(493, 15, 27, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(494, 15, 28, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(495, 45, 29, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(496, 57, 30, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(497, 1, 31, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(498, 81, 32, '2014-07-31', 0, 0, 0, 0, '2014-07-31 00:00:00'),
	(502, 1, 1, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(503, 1, 20, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(504, 1, 23, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(505, 1, 24, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(506, 27, 25, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(507, 15, 26, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(508, 15, 27, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(509, 15, 28, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(510, 45, 29, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(511, 57, 30, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(512, 1, 31, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(513, 81, 32, '2014-08-01', 0, 0, 0, 0, '2014-08-01 00:00:28'),
	(517, 1, 1, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(518, 1, 20, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(519, 1, 23, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(520, 1, 24, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(521, 27, 25, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(522, 15, 26, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(523, 15, 27, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(524, 15, 28, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(525, 45, 29, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(526, 57, 30, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(527, 1, 31, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(528, 81, 32, '2014-08-02', 0, 0, 0, 0, '2014-08-02 00:00:05'),
	(532, 1, 1, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(533, 1, 20, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(534, 1, 23, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(535, 1, 24, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(536, 27, 25, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(537, 15, 26, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(538, 15, 27, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(539, 15, 28, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(540, 45, 29, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(541, 57, 30, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(542, 1, 31, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(543, 81, 32, '2014-08-03', 0, 0, 0, 0, '2014-08-03 00:00:00'),
	(547, 1, 1, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(548, 1, 20, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(549, 1, 23, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(550, 1, 24, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(551, 27, 25, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(552, 15, 26, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(553, 15, 27, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(554, 15, 28, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(555, 45, 29, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(556, 57, 30, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(557, 1, 31, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(558, 81, 32, '2014-08-04', 0, 0, 0, 0, '2014-08-04 00:00:00'),
	(562, 1, 1, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(563, 1, 20, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(564, 1, 23, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(565, 1, 24, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(566, 27, 25, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(567, 15, 26, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(568, 15, 27, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(569, 15, 28, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(570, 45, 29, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(571, 57, 30, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(572, 1, 31, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(573, 81, 32, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(574, 81, 33, '2014-08-05', 0, 0, 0, 0, '2014-08-05 00:00:00'),
	(577, 1, 1, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(578, 1, 20, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(579, 1, 23, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(580, 1, 24, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(581, 27, 25, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(582, 15, 26, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(583, 15, 27, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(584, 15, 28, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(585, 45, 29, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(586, 57, 30, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(587, 1, 31, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(588, 81, 32, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(589, 81, 33, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(590, 84, 34, '2014-08-06', 0, 0, 0, 0, '2014-08-06 00:00:00'),
	(592, 1, 1, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(593, 1, 20, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(594, 1, 23, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(595, 1, 24, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(596, 27, 25, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(597, 15, 26, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(598, 15, 27, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(599, 15, 28, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(600, 45, 29, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(601, 57, 30, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(602, 1, 31, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(603, 81, 32, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(604, 81, 33, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(605, 84, 34, '2014-08-07', 0, 0, 0, 0, '2014-08-07 00:00:00'),
	(607, 1, 1, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(608, 1, 20, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(609, 1, 23, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(610, 1, 24, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(611, 27, 25, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(612, 15, 26, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(613, 15, 27, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(614, 15, 28, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(615, 45, 29, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(616, 57, 30, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(617, 1, 31, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(618, 81, 32, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(619, 81, 33, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(620, 84, 34, '2014-08-08', 0, 0, 0, 0, '2014-08-08 00:00:28'),
	(622, 1, 1, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(623, 1, 20, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(624, 1, 23, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(625, 1, 24, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(626, 27, 25, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(627, 15, 26, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(628, 15, 27, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(629, 15, 28, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(630, 45, 29, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(631, 57, 30, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(632, 1, 31, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(633, 81, 32, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(634, 81, 33, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(635, 84, 34, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(636, 82, 35, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(637, 82, 36, '2014-08-09', 0, 0, 0, 0, '2014-08-09 00:00:04'),
	(653, 1, 1, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(654, 1, 20, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(655, 1, 23, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(656, 1, 24, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(657, 27, 25, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(658, 15, 26, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(659, 15, 27, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(660, 15, 28, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(661, 45, 29, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(662, 57, 30, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(663, 1, 31, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(664, 81, 32, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(665, 81, 33, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(666, 84, 34, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(667, 82, 35, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(668, 82, 36, '2014-08-10', 0, 0, 0, 0, '2014-08-10 00:00:00'),
	(684, 1, 1, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(685, 1, 20, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(686, 1, 23, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(687, 1, 24, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(688, 27, 25, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(689, 15, 26, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(690, 15, 27, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(691, 15, 28, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(692, 45, 29, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(693, 57, 30, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(694, 1, 31, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(695, 81, 32, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(696, 81, 33, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(697, 84, 34, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(698, 82, 35, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(699, 82, 36, '2014-08-11', 0, 0, 0, 0, '2014-08-11 00:00:00'),
	(715, 1, 1, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(716, 1, 20, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(717, 1, 23, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(718, 1, 24, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(719, 27, 25, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(720, 15, 26, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(721, 15, 27, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(722, 15, 28, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(723, 45, 29, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(724, 57, 30, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(725, 1, 31, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(726, 81, 32, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(727, 81, 33, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(728, 84, 34, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(729, 82, 35, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(730, 82, 36, '2014-08-12', 0, 0, 0, 0, '2014-08-12 00:00:00'),
	(746, 1, 1, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(747, 1, 20, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(748, 1, 23, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(749, 1, 24, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(750, 27, 25, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(751, 15, 26, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(752, 15, 27, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(753, 15, 28, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(754, 45, 29, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(755, 57, 30, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(756, 1, 31, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(757, 81, 32, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(758, 81, 33, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(759, 84, 34, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(760, 82, 35, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(761, 82, 36, '2014-08-13', 0, 0, 0, 0, '2014-08-13 00:00:00'),
	(777, 1, 1, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(778, 1, 20, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(779, 1, 23, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(780, 1, 24, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(781, 27, 25, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(782, 15, 26, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(783, 15, 27, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(784, 15, 28, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(785, 45, 29, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(786, 57, 30, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(787, 1, 31, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(788, 81, 32, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(789, 81, 33, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(790, 84, 34, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(791, 82, 35, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(792, 82, 36, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(793, 1, 37, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00'),
	(794, 1, 38, '2014-08-14', 0, 0, 0, 0, '2014-08-14 00:00:00');


-- Dumping structure for table iaccountdb.comp_supplier_creditnote
CREATE TABLE IF NOT EXISTS `comp_supplier_creditnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `creditNoteDate` date NOT NULL,
  `supplierInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double 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,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_supplier_creditnote: ~51 rows (approximately)
DELETE FROM `comp_supplier_creditnote`;
INSERT INTO `comp_supplier_creditnote` (`ID`, `serialNo`, `companyID`, `supplierID`, `formNo`, `creditNoteDate`, `supplierInvoiceID`, `projectID`, `termsID`, `currencyID`, `exchangeRate`, `agentID`, `memo`, `employeeID`, `shippingMethodID`, `totalAmount`, `amountPaid`, `totalTaxAmount`, `totalPayable`, `total`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `updateAble`, `journalNo`) VALUES
	(1, 1, 1, 20, 'PCN', '2014-06-16', 76, 15, 0, 1, 1, 0, '', 0, 0, 0, 0, 1, 0, 0, 1, '2014-06-16 09:54:00', 0, '2014-06-16 15:55:49', 0, 0, ''),
	(2, 1, 1, 1, 'PCN', '2014-06-16', 77, 1, 0, 1, 1, 0, '', 0, 0, 12, 0, 0.72, 12.72, 0, 1, '2014-06-16 11:16:12', 0, '2014-06-23 16:49:57', 0, 0, ''),
	(3, 1, 1, 1, 'PCN', '2014-06-16', 82, 10, 0, 1, 1, 0, '', 0, 0, 0, 0, 1, 0, 0, 1, '2014-06-16 11:17:20', 0, '2014-06-16 15:55:49', 0, 0, ''),
	(4, 1, 1, 1, 'PCN', '2014-06-23', 71, 2, 0, 0, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 13:06:24', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(5, 1, 1, 1, 'PCN', '2014-06-23', 71, 15, 0, 0, 1, 0, 'asa', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 15:36:57', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(6, 1, 1, 1, 'PCN', '2014-06-23', 71, 1, 0, 0, 23, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 15:51:34', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(7, 1, 1, 1, 'PCN', '2014-06-23', 71, 15, 0, 0, 1, 0, 'zdaq', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 16:00:38', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(8, 1, 1, 1, 'PCN', '2014-06-23', 71, 17, 0, 0, 1, 0, 'asa', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 16:02:28', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(9, 1, 1, 1, 'PCN', '2014-06-23', 71, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 16:41:22', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(10, 1, 1, 1, 'PCN', '2014-06-23', 71, 0, 0, 0, 0, 0, 'asa as', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 16:46:39', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(11, 1, 1, 1, 'PCN', '2014-06-23', 71, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 16:58:43', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(12, 1, 1, 1, 'PCN', '2014-06-23', 71, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 17:03:08', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(13, 1, 1, 1, 'PCN', '2014-06-23', 71, 16, 0, 0, 1, 0, 'ASA', 0, 0, 2357, 0, 0.72, 2357.72, 0, 16, '2014-06-23 19:03:40', 0, '2014-06-23 19:04:08', 0, 1, ''),
	(14, 1, 1, 1, 'PCN', '2014-06-23', 71, 2, 0, 0, 1, 0, 'QWEQ', 0, 0, 133, 0, 1.32, 134, 0, 16, '2014-06-23 19:15:20', 0, '2014-06-23 19:16:07', 0, 1, ''),
	(15, 1, 1, 1, 'PCN', '2014-06-23', 71, 0, 0, 0, 0, 0, 'sds', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 19:24:43', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(16, 1, 1, 1, 'PCN', '2014-06-23', 71, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-23 19:26:05', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(17, 1, 1, 1, 'PCN', '2014-06-23', 71, 0, 0, 0, 0, 0, 'da', 0, 0, 48, 0, 0.24, 48, 0, 16, '2014-06-23 19:28:30', 0, '2014-06-23 19:59:16', 0, 1, ''),
	(18, 1, 1, 1, 'PCN', '2014-06-24', 73, 16, 0, 0, 12, 0, '', 0, 0, 28176, 0, 5910.84, 34087, 0, 16, '2014-06-24 09:18:33', 0, '2014-07-09 12:12:56', 0, 0, ''),
	(19, 1, 1, 1, 'PCN', '2014-06-24', 72, 17, 0, 0, 1, 0, 'sds', 0, 0, 13, 0, 0.72, 13.72, 0, 16, '2014-06-24 09:26:34', 0, '2014-06-24 09:26:57', 0, 1, ''),
	(20, 1, 1, 1, 'PCN', '2014-06-24', 72, 16, 0, 0, 1, 0, 'sds', 0, 0, 1268, 0, 366.96, 29734.96, 0, 16, '2014-06-24 09:28:45', 0, '2014-07-07 10:41:38', 0, 1, ''),
	(21, 1, 1, 1, 'PCN', '2014-07-14', 71, 17, 0, 0, 1, 0, '', 0, 0, 0, 0, 0.06, 1.06, 0, 16, '2014-07-14 12:45:59', 0, '2014-07-14 12:45:59', 0, 1, ''),
	(22, 1, 1, 1, 'PCN', '2014-07-14', 71, 15, 0, 0, 1, 0, '', 0, 0, 5.0600000000000005, 0, 0.06, 1.06, 0, 16, '2014-07-14 12:55:42', 0, '2014-07-14 12:56:38', 0, 1, ''),
	(23, 1, 1, 1, 'PCN', '2014-07-14', 71, 17, 0, 0, 1, 0, 'sds', 0, 0, 1.06, 0, 0.06, 1.06, 0, 16, '2014-07-14 13:03:55', 0, '2014-07-14 13:03:55', 0, 1, ''),
	(24, 1, 1, 1, 'PCN', '2014-07-14', 72, 1, 0, 0, 1, 0, '', 0, 0, 1.01, 0, 0.0006, 1, 0, 16, '2014-07-14 13:08:21', 0, '2014-07-14 13:08:53', 0, 1, ''),
	(25, 1, 1, 1, 'PCN', '2014-07-14', 71, 1, 0, 0, 1, 0, 'juo', 0, 0, 23555555558.5, 0, 1333333333.4999998, 2.12, 0, 16, '2014-07-14 13:10:22', 0, '2014-07-14 14:04:58', 0, 1, ''),
	(26, 1, 93, 46, 'PCN', '2014-09-08', 244, 0, 0, 0, 0, 0, '', 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-08 17:33:38', 0, '2014-09-17 13:21:32', 0, 1, ''),
	(27, 2, 93, 47, 'PCN', '2014-09-18', 247, 0, 0, 0, 1, 0, '', 0, 0, 10, 0, 0.6, 10.6, 0, 16, '2014-09-18 13:59:28', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(28, 3, 93, 47, 'PCN', '2014-09-18', 247, 30, 0, 0, 1, 0, '', 0, 0, 10, 0, 0.6, 10.6, 0, 16, '2014-09-18 13:59:47', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(29, 4, 93, 47, 'PCN', '2014-09-18', 247, 30, 0, 0, 1, 0, '', 0, 0, 10, 0, 0.6, 10.6, 0, 16, '2014-09-18 14:02:10', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(30, 5, 93, 47, 'PCN', '2014-09-18', 247, 30, 0, 0, 1, 0, '', 0, 0, 10, 0, 0.6, 10.6, 0, 16, '2014-09-18 14:10:09', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(31, 6, 93, 48, 'PCN', '2014-09-18', 253, 30, 0, 0, 1, 0, 'sds', 0, 0, 10, 0, 0, 10, 0, 16, '2014-09-18 14:27:17', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(32, 7, 93, 48, 'PCN', '2014-09-18', 253, 30, 0, 0, 1, 0, 'sds', 0, 0, 10, 0, 0, 10, 0, 16, '2014-09-18 14:27:20', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(33, 8, 93, 48, 'PCN', '2014-09-18', 253, 30, 0, 0, 1, 0, 'sds', 0, 0, 10, 0, 0, 10, 0, 16, '2014-09-18 14:27:31', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(34, 9, 93, 48, 'PCN', '2014-09-18', 253, 30, 0, 0, 1, 0, 'sds', 0, 0, 149.92, 0, 7.92, 10, 0, 16, '2014-09-18 14:27:49', 0, '2014-09-18 15:25:58', 0, 0, ''),
	(35, 10, 93, 47, 'PCN', '2014-09-19', 251, 0, 0, 0, 0, 0, '', 0, 0, 3698.38, 0, 309.12, 0, 0, 16, '2014-09-19 16:53:25', 0, '2014-09-19 17:24:12', 0, 1, ''),
	(36, 11, 93, 46, 'PCN', '2014-09-19', 248, 0, 0, 0, 0, 0, '', 0, 0, 70900, 0, 0, 0, 0, 16, '2014-09-19 18:00:24', 0, '2014-09-19 18:02:49', 0, 1, ''),
	(37, 12, 93, 46, 'PCN', '2014-09-19', 248, 0, 0, 0, 0, 0, '', 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-19 18:02:23', 0, '2014-09-19 18:02:23', 0, 1, ''),
	(38, 13, 93, 47, 'PCN', '2014-09-23', 247, 30, 0, 0, 1, 0, '', 0, 0, 127.2, 0, 7.2, 127.2, 0, 16, '2014-09-23 11:42:35', 0, '2014-09-23 11:42:35', 0, 1, ''),
	(39, 14, 93, 46, 'PCN', '2014-10-20', 248, 30, 0, 0, 1, 0, '', 0, 0, 20, 0, 0, 10, 0, 16, '2014-10-20 18:43:44', 0, '2014-10-20 18:47:36', 0, 1, ''),
	(40, 15, 93, 46, 'PCN', '2014-10-21', 244, 31, 0, 0, 1, 0, '', 0, 0, 10, 0, 0, 10, 0, 16, '2014-10-21 11:15:01', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(41, 16, 93, 50, 'PCN', '2014-10-23', 422, 31, 0, 1, 1, 0, '', 0, 0, 10.6, 0, 0.6, 10.6, 0, 16, '2014-10-23 08:59:50', 0, '2014-10-23 08:59:50', 0, 1, ''),
	(42, 17, 93, 50, 'PCN', '2014-10-23', 422, 0, 0, 1, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-10-23 10:03:04', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(43, 18, 93, 50, 'PCN', '2014-10-23', 422, 0, 0, 1, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-10-23 10:25:56', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(44, 19, 93, 50, 'PCN', '2014-10-23', 422, 0, 0, 1, 1, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-10-23 10:27:06', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(45, 20, 93, 46, 'PCN', '2014-10-23', 423, 0, 0, 1, 1, 0, '', 0, 0, 30, 0, 0, 20, 0, 16, '2014-10-23 10:30:38', 0, '2014-10-23 10:30:51', 0, 1, ''),
	(46, 21, 93, 46, 'PCN', '2014-10-23', 423, 0, 0, 1, 1, 0, '', 0, 0, 20, 0, 0, 0, 0, 16, '2014-10-23 10:32:08', 0, '2014-10-23 10:32:23', 0, 1, ''),
	(47, 22, 93, 47, 'PCN', '2014-10-23', 424, 30, 0, 1, 1, 0, '', 0, 0, 10.6, 0, 0.6, 10.6, 0, 16, '2014-10-23 10:50:02', 0, '2014-10-23 10:50:02', 0, 1, ''),
	(48, 23, 93, 47, 'PCN', '2014-10-23', 424, 0, 0, 1, 1, 0, '', 0, 0, 10.6, 0, 0.6, 10.6, 0, 16, '2014-10-23 10:50:42', 0, '2014-10-23 10:50:42', 0, 1, ''),
	(49, 24, 93, 50, 'PCN', '2014-10-23', 422, 31, 0, 1, 1, 0, '', 0, 0, 63.6, 0, 3.6, 63.6, 0, 16, '2014-10-23 16:22:41', 0, '2014-10-23 16:22:41', 0, 1, ''),
	(50, 25, 93, 47, 'PCN', '2014-10-31', 435, 30, 0, 1, 1, 0, '', 0, 0, 53, 0, 3, 53, 0, 16, '2014-10-31 10:33:05', 0, '2014-10-31 10:33:05', 0, 1, ''),
	(51, 26, 93, 47, 'PCN', '2014-10-31', 435, 31, 0, 1, 1, 0, '', 0, 0, 31.799999999999997, 0, 1.7999999999999998, 10.6, 0, 16, '2014-10-31 10:36:06', 0, '2014-10-31 10:37:00', 0, 1, '');


-- Dumping structure for table iaccountdb.comp_supplier_creditnote_charges
CREATE TABLE IF NOT EXISTS `comp_supplier_creditnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` 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,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_supplier_creditnote_charges: ~38 rows (approximately)
DELETE FROM `comp_supplier_creditnote_charges`;
INSERT INTO `comp_supplier_creditnote_charges` (`ID`, `creditNoteID`, `lineNo`, `accountNoID`, `itemname`, `itemdescription`, `umID`, `quantity`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `drAccountID`, `crAccountID`, `drTaxAccountID`, `crTaxAccountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(1, 9, 1, 100, '', 'sds', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 0, '2014-06-23 16:41:22', 0, '0000-00-00 00:00:00'),
	(2, 10, 1, 102, '', 'asa', 0, 0, 0, 12, 4, 0, 0, 12, 0, 0, 0, 0, 0, '2014-06-23 16:46:39', 0, '0000-00-00 00:00:00'),
	(3, 2, 2, 98, '', 'qwwwwwwwwwwwwwwwww', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 0, '2014-06-23 16:49:57', 0, '0000-00-00 00:00:00'),
	(4, 11, 1, 100, '', 'sddddddddddda', 0, 0, 0, 12, 5, 0, 122, 12, 0, 0, 0, 0, 0, '2014-06-23 16:58:43', 0, '0000-00-00 00:00:00'),
	(5, 12, 1, 100, '', 'asa', 0, 0, 0, 12, 5, 0, 0, 12, 0, 0, 0, 0, 0, '2014-06-23 17:03:08', 0, '0000-00-00 00:00:00'),
	(6, 27, 1, 101, '', 'DAS', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 16, '2014-06-23 18:39:20', 0, '0000-00-00 00:00:00'),
	(7, 0, 2, 102, '', 'FEWEQW', 0, 0, 0, 12, 4, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 18:39:34', 0, '0000-00-00 00:00:00'),
	(8, 0, 3, 98, '', 'ASA', 0, 0, 0, 12, 6, 0, 12, 12, 0, 0, 0, 0, 16, '2014-06-23 18:40:00', 0, '0000-00-00 00:00:00'),
	(9, 28, 1, 100, '', 'AS', 0, 0, 0, 12, 5, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 18:49:52', 0, '0000-00-00 00:00:00'),
	(10, 13, 1, 101, '', '12', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 16, '2014-06-23 19:04:08', 0, '0000-00-00 00:00:00'),
	(11, 0, 2, 101, '', 'SDS', 0, 0, 0, 12, 3, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 19:13:28', 0, '0000-00-00 00:00:00'),
	(12, 14, 1, 100, '', 'ASQ', 0, 0, 0, 1, 4, 0, 0, 1, 0, 0, 0, 0, 16, '2014-06-23 19:16:07', 0, '0000-00-00 00:00:00'),
	(13, 0, 2, 101, '', 'sds', 0, 0, 0, 12, 4, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 19:20:57', 0, '0000-00-00 00:00:00'),
	(14, 15, 1, 100, '', 'sds', 0, 0, 0, 12, 5, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 19:24:43', 0, '0000-00-00 00:00:00'),
	(15, 16, 1, 102, '', 'asa', 0, 0, 0, 12, 4, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 19:26:05', 0, '0000-00-00 00:00:00'),
	(16, 17, 1, 100, '', 'wq', 0, 0, 0, 12, 4, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 19:28:30', 0, '0000-00-00 00:00:00'),
	(17, 17, 2, 97, '', 'dasda', 0, 0, 0, 12, 2, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 19:59:16', 0, '0000-00-00 00:00:00'),
	(18, 18, 1, 102, '', 'sda', 0, 0, 0, 12, 3, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-24 09:20:25', 0, '0000-00-00 00:00:00'),
	(19, 0, 2, 98, '', 'weac', 0, 0, 0, 12, 16, 0, 0.72, 12.72, 0, 0, 0, 0, 16, '2014-06-24 09:20:48', 0, '0000-00-00 00:00:00'),
	(20, 19, 1, 101, '', 'wew', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 16, '2014-06-24 09:26:57', 0, '0000-00-00 00:00:00'),
	(21, 20, 1, 102, '', 'qwqwqwqwqwq', 0, 0, 0, 12, 4, 0, 12, 12, 0, 0, 0, 0, 16, '2014-06-24 09:28:59', 16, '2014-06-24 10:16:44'),
	(22, 20, 2, 2, '', 'qwq', 0, 0, 0, 2, 1, 0, 0.12, 2.12, 0, 0, 0, 0, 16, '2014-06-24 09:29:26', 16, '2014-06-24 11:04:04'),
	(23, 20, 3, 101, '', 'JKGGGM DGW', 0, 0, 0, 1, 3, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-07 09:52:24', 0, '0000-00-00 00:00:00'),
	(24, 20, 4, 102, '', 'SD', 0, 0, 0, 1, 2, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-07 09:54:24', 0, '0000-00-00 00:00:00'),
	(25, 20, 5, 101, '', 'DSD', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-07-07 10:03:58', 0, '0000-00-00 00:00:00'),
	(26, 20, 6, 101, '', 'DSD', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-07-07 10:06:24', 16, '2014-07-07 10:41:01'),
	(28, 20, 8, 99, '', 'SD', 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 16, '2014-07-07 10:10:41', 0, '0000-00-00 00:00:00'),
	(31, 20, 7, 101, '', 'sds', 0, 0, 0, 1221, 1, 0, 73.26, 1294.26, 0, 0, 0, 0, 16, '2014-07-07 10:41:38', 0, '0000-00-00 00:00:00'),
	(32, 25, 1, 101, '', 'sdad', 0, 0, 0, 22222222222, 1, 0, 1333333333.32, 23555555555.32, 0, 0, 0, 0, 16, '2014-07-14 13:11:15', 16, '2014-07-14 14:04:58'),
	(33, 25, 2, 100, '', 'as', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-07-14 13:19:34', 16, '2014-07-14 14:01:39'),
	(34, 26, 1, 28370, '', 'sdfadasfd', 0, 0, 0, 234, 0, 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-08 17:33:38', 0, '0000-00-00 00:00:00'),
	(36, 34, 1, 28370, '', 'asa', 0, 0, 0, 122, 768, 0, 7.32, 129.32, 0, 0, 0, 0, 16, '2014-09-18 14:28:05', 0, '0000-00-00 00:00:00'),
	(37, 35, 1, 28370, '', 'asdfasfd', 0, 0, 0, 1234, 785, 0, 0, 1234, 0, 0, 0, 0, 16, '2014-09-19 16:53:25', 16, '2014-09-19 17:06:22'),
	(43, 35, 6, 28370, '', 'dfasdf', 0, 0, 0, 2323, 768, 0, 139.38, 2462.38, 0, 0, 0, 0, 16, '2014-09-19 17:23:01', 0, '0000-00-00 00:00:00'),
	(45, 36, 1, 28382, '', 'asdfa', 0, 0, 0, 2323, 787, 0, 0, 2323, 0, 0, 0, 0, 16, '2014-09-19 18:00:24', 16, '2014-09-19 18:02:33'),
	(46, 36, 2, 28369, '', 'afasdf', 0, 0, 0, 34343, 0, 0, 0, 34343, 0, 0, 0, 0, 16, '2014-09-19 18:01:10', 0, '0000-00-00 00:00:00'),
	(47, 37, 1, 28370, '', 'asdfas', 0, 0, 0, 3434, 787, 0, 0, 3434, 0, 0, 0, 0, 16, '2014-09-19 18:02:23', 0, '0000-00-00 00:00:00'),
	(48, 36, 2, 28370, '', 'asfdasdf', 0, 0, 0, 34234, 787, 0, 0, 34234, 0, 0, 0, 0, 16, '2014-09-19 18:02:49', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_supplier_creditnote_detail
CREATE TABLE IF NOT EXISTS `comp_supplier_creditnote_detail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `creditnoteID` int(11) NOT NULL,
  `invoiceDetailID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `itemID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `accountID` int(11) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_supplier_creditnote_detail: ~70 rows (approximately)
DELETE FROM `comp_supplier_creditnote_detail`;
INSERT INTO `comp_supplier_creditnote_detail` (`ID`, `creditnoteID`, `invoiceDetailID`, `lineNo`, `itemID`, `itemname`, `itemdescription`, `umID`, `quantity`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `accountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(1, 1, 0, 1, 4, 'Plastic Chair - Blue', '331000100', 0, 2, 120, 240, 1, 6, 14.4, 254.4, 0, 1, '2014-06-17 13:35:04', 0, '0000-00-00 00:00:00'),
	(2, 1, 0, 2, 7, 'Plastic Chair - Red', '331000200', 0, 5, 12, 60, 18, 6, 3.6, 63.6, 0, 1, '2014-06-17 13:35:06', 0, '0000-00-00 00:00:00'),
	(3, 2, 0, 1, 8, 'Plastic Chair - White', '331000300', 0, 100, 34, 3400, 28, 10, 340, 3740, 0, 1, '2014-06-17 13:35:07', 0, '0000-00-00 00:00:00'),
	(4, 2, 0, 2, 9, 'Nasi Goreng Ayam', '501012000', 0, 25, 23, 575, 10, 6, 34.5, 609.5, 0, 1, '2014-06-17 13:35:09', 0, '0000-00-00 00:00:00'),
	(5, 3, 0, 1, 2, 'Steel chair for outdoor', '100300100', 0, 200, 300, 60000, 1, 6, 3600, 63600, 0, 1, '2014-06-17 13:35:10', 0, '0000-00-00 00:00:00'),
	(6, 3, 0, 2, 2, 'Steel chair for outdoor', '100300100', 0, 5, 290, 1450, 1, 6, 87, 1537, 0, 1, '2014-06-17 13:35:12', 0, '0000-00-00 00:00:00'),
	(7, 4, 0, 0, 0, '0', 'Teak wooden chair with natural finish', 0, 2, 10, 20, 0, 6, 1.2, 21.2, 0, 16, '2014-06-23 13:06:24', 0, '0000-00-00 00:00:00'),
	(8, 5, 0, 0, 1, '0', 'Teak wooden chair with natural finish', 0, 12, 12, 144, 0, 6, 8.64, 152.64, 0, 16, '2014-06-23 15:36:57', 0, '0000-00-00 00:00:00'),
	(9, 5, 0, 0, 0, '0', 'Teak wooden chair with natural finish', 0, 12, 12, 144, 0, 6, 8.64, 152.64, 0, 16, '2014-06-23 15:38:23', 0, '0000-00-00 00:00:00'),
	(10, 6, 0, 0, 7, '0', 'Plastic Chair - Red', 0, 12, 2, 28, 5, 12, 3376.8, 31516.8, 0, 16, '2014-06-23 15:51:34', 0, '0000-00-00 00:00:00'),
	(11, 6, 0, 0, 0, '0', 'Teak wooden chair with natural finish', 0, 12, 12, 144, 0, 6, 8.64, 152.64, 0, 16, '2014-06-23 15:51:57', 0, '0000-00-00 00:00:00'),
	(12, 7, 0, 0, 1, '0', 'Teak wooden chair with natural finish', 0, 1, 0.12, 0, 0, 6, 0.0072, 0.1272, 0, 16, '2014-06-23 16:00:38', 0, '0000-00-00 00:00:00'),
	(13, 7, 0, 0, 0, '0', 'Plastic Chair - Red', 0, 12, 2, 28, 0, 1, 281.4, 28421.4, 0, 16, '2014-06-23 16:00:54', 0, '0000-00-00 00:00:00'),
	(14, 8, 0, 0, 1, '0', 'Teak wooden chair with natural finish', 0, 12, 12, 144, 0, 6, 8.64, 152.64, 0, 16, '2014-06-23 16:02:28', 0, '0000-00-00 00:00:00'),
	(15, 8, 0, 0, 0, '0', 'Plastic Chair - Red', 0, 1, 2, 2, 0, 0, 0, 2345, 0, 16, '2014-06-23 16:02:39', 0, '0000-00-00 00:00:00'),
	(16, 13, 0, 0, 7, '0', 'Plastic Chair - Red', 0, 1, 2, 2, 0, 0, 0, 2345, 0, 16, '2014-06-23 19:03:41', 0, '0000-00-00 00:00:00'),
	(17, 0, 0, 0, 4, '', 'Plastic Chair - Blue', 0, 1, 0.12, 0, 1, 0, 0, 0.12, 0, 16, '2014-06-23 19:09:19', 0, '0000-00-00 00:00:00'),
	(18, 14, 0, 0, 4, '0', 'Plastic Chair - Blue', 0, 1, 120, 120, 4, 1, 1.2, 121.2, 0, 16, '2014-06-23 19:15:20', 0, '0000-00-00 00:00:00'),
	(19, 14, 0, 0, 4, '', 'Plastic Chair - Blue', 0, 1, 12, 12, 1, 1, 0.12, 12.12, 0, 16, '2014-06-23 19:15:42', 0, '0000-00-00 00:00:00'),
	(20, 17, 0, 0, 4, '', 'Plastic Chair - Blue', 0, 12, 0, 0, 1, 0, 0, 0, 0, 16, '2014-06-23 19:29:21', 0, '0000-00-00 00:00:00'),
	(21, 17, 0, 0, 4, '', 'Plastic Chair - Blue', 0, 2, 12, 24, 6, 1, 0.24, 24.24, 0, 16, '2014-06-23 19:30:03', 0, '0000-00-00 00:00:00'),
	(22, 18, 0, 1, 1, '0', 'Teak wooden chair with natural finish', 0, 2, 12, 24, 13, 6, 1.44, 25.44, 0, 16, '2014-06-24 09:18:33', 0, '0000-00-00 00:00:00'),
	(23, 18, 0, 2, 7, '', 'Plastic Chair - Red', 0, 12, 2, 28, 0, 21, 5909.4, 34049.4, 0, 16, '2014-06-24 09:19:41', 0, '0000-00-00 00:00:00'),
	(24, 19, 0, 1, 4, '0', 'Plastic Chair - Blue', 0, 1, 1, 1, 1, 0, 0, 1, 0, 16, '2014-06-24 09:26:34', 0, '0000-00-00 00:00:00'),
	(25, 20, 0, 1, 4, '0', 'Plastic Chair - Blue', 0, 1, 1, 1, 1, 6, 0.06, 1.06, 0, 16, '2014-06-24 10:55:48', 16, '0000-00-00 00:00:00'),
	(26, 20, 0, 2, 7, '', 'Plastic Chair - Red', 0, 12, 2, 28, 0, 1, 281.4, 28421.4, 0, 16, '2014-06-24 09:30:15', 0, '0000-00-00 00:00:00'),
	(31, 20, 0, 3, 1, '', 'Teak wooden chair with natural finish', 0, 1, 0, 10, 0, 6, 0.6, 10.6, 0, 16, '2014-07-07 12:12:19', 16, '0000-00-00 00:00:00'),
	(32, 21, 0, 1, 1, '0', 'Teak wooden chair with natural finish', 0, 1, 1, 1, 0, 6, 0.06, 1.06, 0, 16, '2014-07-14 12:45:59', 0, '0000-00-00 00:00:00'),
	(33, 21, 0, 2, 1, '', 'Teak wooden chair with natural finish', 0, 1, 1, 1, 0, 6, 0.06, 1.06, 0, 16, '2014-07-14 12:52:24', 0, '0000-00-00 00:00:00'),
	(34, 22, 0, 1, 1, '0', 'Teak wooden chair with natural finish', 0, 1, 1, 1, 0, 6, 0.06, 1.06, 0, 16, '2014-07-14 12:55:42', 0, '0000-00-00 00:00:00'),
	(35, 22, 0, 2, 4, '', 'Plastic Chair - Blue', 0, 2, 2, 4, 1, 0, 0, 4, 0, 16, '2014-07-14 12:56:38', 0, '0000-00-00 00:00:00'),
	(36, 23, 0, 1, 7, '0', 'Plastic Chair - Red', 0, 1, 1, 1, 1, 6, 0.06, 1.06, 0, 16, '2014-07-14 13:03:55', 0, '0000-00-00 00:00:00'),
	(37, 24, 0, 1, 7, '0', 'Plastic Chair - Red', 0, 1, 1, 1, 0, 0, 0, 1, 0, 16, '2014-07-14 13:08:21', 0, '0000-00-00 00:00:00'),
	(38, 24, 0, 2, 1, '', 'Teak wooden chair with natural finish', 0, 1, 0.01, 0, 0, 6, 0.0006, 0.01, 0, 16, '2014-07-14 13:08:53', 0, '0000-00-00 00:00:00'),
	(39, 25, 0, 1, 1, '0', 'Teak wooden chair with natural finish', 0, 1, 1, 1, 0, 6, 0.06, 1.06, 0, 16, '2014-07-14 13:10:22', 0, '0000-00-00 00:00:00'),
	(40, 25, 0, 2, 1, '', 'Teak wooden chair with natural finish', 0, 1, 1, 1, 0, 6, 0.06, 1.06, 0, 16, '2014-07-14 13:18:41', 0, '0000-00-00 00:00:00'),
	(43, 27, 0, 1, 25, '0', 'Table with Glass', 0, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-09-18 13:59:28', 0, '0000-00-00 00:00:00'),
	(44, 28, 0, 1, 25, '0', 'Table with Glass', 0, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-09-18 13:59:47', 0, '0000-00-00 00:00:00'),
	(45, 29, 0, 1, 25, '0', 'Table with Glass', 0, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-09-18 14:02:11', 0, '0000-00-00 00:00:00'),
	(46, 30, 0, 1, 25, '0', 'Table with Glass', 0, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-09-18 14:10:09', 0, '0000-00-00 00:00:00'),
	(47, 30, 0, 2, 27, '', 'STAT', 0, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-09-18 14:11:22', 0, '0000-00-00 00:00:00'),
	(48, 31, 0, 1, 27, '0', 'STAT', 0, 1, 10, 10, 787, 0, 0, 10, 0, 16, '2014-09-18 14:27:17', 0, '0000-00-00 00:00:00'),
	(49, 32, 0, 1, 27, '0', 'STAT', 0, 1, 10, 10, 787, 0, 0, 10, 0, 16, '2014-09-18 14:27:21', 0, '0000-00-00 00:00:00'),
	(50, 33, 0, 1, 27, '0', 'STAT', 0, 1, 10, 10, 787, 0, 0, 10, 0, 16, '2014-09-18 14:27:31', 0, '0000-00-00 00:00:00'),
	(51, 34, 0, 1, 27, '0', 'STAT', 0, 1, 10, 10, 787, 0, 0, 10, 0, 16, '2014-09-18 14:27:49', 0, '0000-00-00 00:00:00'),
	(52, 34, 0, 2, 27, '', 'STAT', 0, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-09-18 15:23:49', 0, '0000-00-00 00:00:00'),
	(54, 35, 0, 2, 29, '', 'Laptop Dell', 0, 23, 123, 2, 782, 6, 169.74, 2, 0, 16, '2014-09-19 17:23:39', 0, '0000-00-00 00:00:00'),
	(55, 38, 0, 1, 25, '0', 'Table with Glass', 0, 12, 10, 120, 782, 6, 7.2, 127.2, 0, 16, '2014-09-23 11:42:35', 0, '0000-00-00 00:00:00'),
	(56, 39, 0, 1, 29, '0', 'Laptop Dell', 2, 1, 10, 10, 787, 0, 0, 10, 0, 16, '2014-10-21 10:23:09', 16, '0000-00-00 00:00:00'),
	(57, 39, 0, 2, 26, '', 'Chair with Cover', 30, 2, 10, 20, 782, 6, 1.2, 21.2, 0, 16, '2014-10-21 10:34:46', 16, '0000-00-00 00:00:00'),
	(58, 40, 0, 1, 27, '0', 'STAT', 2, 1, 10, 10, 787, 0, 0, 10, 0, 16, '2014-10-21 11:15:01', 0, '0000-00-00 00:00:00'),
	(59, 41, 0, 1, 0, '0', 'Chair with Cover', 1, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-10-23 08:59:50', 0, '0000-00-00 00:00:00'),
	(60, 42, 0, 1, 0, '0', 'Chair with Cover', 1, 0, 10, 0, 782, 6, 0, 0, 0, 16, '2014-10-23 10:03:04', 0, '0000-00-00 00:00:00'),
	(61, 42, 0, 2, 0, '', 'Chair with Cover', 1, 0, 10, 0, 782, 6, 0, 0, 0, 16, '2014-10-23 10:03:47', 0, '0000-00-00 00:00:00'),
	(62, 43, 0, 1, 26, '0', 'Chair with Cover', 1, 0, 10, 0, 782, 6, 0, 0, 0, 16, '2014-10-23 10:25:56', 0, '0000-00-00 00:00:00'),
	(63, 43, 0, 2, 26, '', 'Chair with Cover', 1, 0, 10, 0, 782, 6, 0, 0, 0, 16, '2014-10-23 10:26:05', 0, '0000-00-00 00:00:00'),
	(64, 44, 0, 1, 26, '0', 'Chair with Cover', 1, 0, 10, 0, 782, 6, 0, 0, 0, 16, '2014-10-23 10:27:06', 0, '0000-00-00 00:00:00'),
	(65, 44, 0, 2, 29, '', 'Laptop Dell', 2, 0, 30, 0, 782, 6, 0, 0, 0, 16, '2014-10-23 10:27:37', 0, '0000-00-00 00:00:00'),
	(66, 45, 0, 1, 26, '0', 'Chair with Cover', 1, 1, 20, 20, 787, 0, 0, 20, 0, 16, '2014-10-23 10:30:38', 0, '0000-00-00 00:00:00'),
	(67, 45, 0, 2, 29, '', 'Laptop Dell', 1, 1, 10, 10, 787, 0, 0, 10, 0, 16, '2014-10-23 10:30:51', 0, '0000-00-00 00:00:00'),
	(68, 46, 0, 1, 27, '0', 'STAT', 2, 5, 0, 0, 787, 0, 0, 0, 0, 16, '2014-10-23 10:32:08', 0, '0000-00-00 00:00:00'),
	(69, 46, 0, 2, 26, '', 'Chair with Cover', 1, 1, 20, 20, 787, 0, 0, 20, 0, 16, '2014-10-23 10:32:23', 0, '0000-00-00 00:00:00'),
	(70, 47, 0, 1, 26, '0', 'Chair with Cover', 2, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-10-23 10:50:02', 0, '0000-00-00 00:00:00'),
	(71, 48, 0, 1, 26, '0', 'Chair with Cover', 2, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-10-23 10:50:42', 0, '0000-00-00 00:00:00'),
	(72, 49, 0, 1, 29, '0', 'Laptop Dell', 1, 2, 30, 60, 782, 6, 3.6, 63.6, 0, 16, '2014-10-23 16:22:41', 0, '0000-00-00 00:00:00'),
	(73, 41, 0, 1, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, '2014-10-24 11:57:04', 0, '0000-00-00 00:00:00'),
	(74, 50, 537, 1, 29, '0', 'Laptop Dell', 1, 5, 10, 50, 782, 6, 3, 53, 0, 16, '2014-10-31 10:35:05', 0, '0000-00-00 00:00:00'),
	(75, 51, 537, 1, 29, '0', 'Laptop Dell', 1, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-10-31 10:36:07', 0, '0000-00-00 00:00:00'),
	(76, 51, 538, 2, 26, '', 'Chair with Cover', 3, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-10-31 11:20:03', 16, '0000-00-00 00:00:00'),
	(77, 51, 537, 3, 29, '', 'Laptop Dell', 1, 1, 10, 10, 782, 6, 0.6, 10.6, 0, 16, '2014-10-31 11:20:39', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_supplier_debitnote
CREATE TABLE IF NOT EXISTS `comp_supplier_debitnote` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL,
  `supplierID` int(11) NOT NULL,
  `formNo` varchar(32) NOT NULL,
  `debitNoteDate` date NOT NULL,
  `supplierInvoiceID` int(11) NOT NULL,
  `projectID` int(11) NOT NULL,
  `termsID` int(11) NOT NULL,
  `currencyID` int(11) NOT NULL,
  `exchangeRate` double NOT NULL,
  `agentID` int(11) NOT NULL,
  `memo` text NOT NULL,
  `employeeID` int(11) NOT NULL,
  `shippingMethodID` int(11) NOT NULL,
  `totalAmount` double NOT NULL,
  `amountPaid` decimal(10,0) NOT NULL,
  `totalTaxAmount` double NOT NULL,
  `totalPayable` double NOT NULL,
  `total` double 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,
  `is_delete` smallint(16) NOT NULL,
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_supplier_debitnote: ~55 rows (approximately)
DELETE FROM `comp_supplier_debitnote`;
INSERT INTO `comp_supplier_debitnote` (`ID`, `serialNo`, `companyID`, `supplierID`, `formNo`, `debitNoteDate`, `supplierInvoiceID`, `projectID`, `termsID`, `currencyID`, `exchangeRate`, `agentID`, `memo`, `employeeID`, `shippingMethodID`, `totalAmount`, `amountPaid`, `totalTaxAmount`, `totalPayable`, `total`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`, `is_delete`, `updateAble`, `journalNo`) VALUES
	(1, 1, 1, 20, 'PDN', '2014-06-02', 74, 1, 0, 1, 1, 0, 'fdv dfd', 0, 0, 0, 0, 0, 0, 0, 0, '2014-06-02 12:20:32', 0, '2014-06-17 19:22:11', 0, 1, ''),
	(2, 1, 1, 1, 'PDN', '2014-06-03', 73, 1, 0, 1, 1, 0, 'fdv dfd', 0, 0, 0, 0, 0, 0, 0, 0, '2014-06-03 11:36:57', 0, '2014-06-17 19:22:13', 0, 1, ''),
	(3, 1, 1, 1, 'PDN', '2014-06-11', 71, 1, 0, 1, 1, 0, 'fdv dfd', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-11 16:47:00', 0, '2014-06-17 19:22:17', 0, 0, ''),
	(4, 1, 1, 20, 'PDN', '2014-06-12', 74, 10, 0, 1, 1, 0, 'fdv dfd', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-12 09:05:39', 0, '2014-06-17 19:22:18', 0, 0, ''),
	(5, 1, 1, 20, 'PDN', '2014-06-16', 74, 10, 0, 2, 2, 0, '', 0, 0, 0, 0, 0, 0, 0, 16, '2014-06-16 14:46:52', 0, '2014-06-20 12:28:10', 0, 0, 'AP20140600000013'),
	(6, 1, 1, 1, 'PDN', '2014-06-21', 71, 10, 0, 1, 1, 0, 'sdsdca', 0, 0, 28140, 0, 1688.4, 29828.4, 0, 16, '2014-06-21 12:32:45', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(7, 1, 1, 1, 'PDN', '2014-06-21', 71, 10, 0, 1, 2, 0, 'sa adED AE', 0, 0, 144, 0, 8.64, 152.64, 0, 16, '2014-06-21 13:08:45', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(8, 1, 1, 1, 'PDN', '2014-06-21', 72, 1, 0, 1, 2, 0, 'sdsds', 0, 0, 144, 0, 8.64, 152.64, 0, 16, '2014-06-21 13:17:14', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(9, 1, 1, 1, 'PDN', '2014-06-21', 71, 1, 0, 1, 1, 0, 'sds', 0, 0, 1200, 0, 72, 1272, 0, 16, '2014-06-21 13:43:08', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(10, 1, 1, 1, 'PDN', '2014-06-21', 71, 1, 0, 1, 1, 0, 'as', 0, 0, 0, 0, 0, 2, 0, 16, '2014-06-21 15:06:53', 0, '2014-06-21 15:07:53', 0, 1, ''),
	(11, 1, 1, 20, 'PDN', '2014-06-21', 76, 10, 0, 1, 1, 0, 'as', 0, 0, 2345, 0, 281.4, 2626.4, 0, 16, '2014-06-21 15:23:44', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(12, 1, 1, 1, 'PDN', '2014-06-21', 71, 16, 0, 1, 2, 0, 'sds', 0, 0, 28140, 0, 281.4, 28421.4, 0, 16, '2014-06-21 15:41:36', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(13, 1, 1, 20, 'PDN', '2014-06-21', 74, 2, 0, 1, 1, 0, 'asa', 0, 0, 12, 0, 0, 144, 0, 16, '2014-06-21 15:49:30', 0, '2014-06-21 16:10:23', 0, 1, ''),
	(14, 1, 1, 1, 'PDN', '2014-06-21', 72, 17, 0, 1, 1, 0, 'qwq', 0, 0, 2, 0, 0.12, 2.12, 0, 16, '2014-06-21 16:21:50', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(15, 1, 1, 1, 'PDN', '2014-06-21', 71, 17, 0, 1, 2, 0, 'asasdad', 0, 0, 144, 0, 8.64, 0, 0, 16, '2014-06-21 16:50:38', 0, '2014-06-21 16:51:07', 0, 1, ''),
	(16, 1, 1, 20, 'PDN', '2014-06-23', 74, 16, 0, 1, 1, 0, 'dsd', 0, 0, 12, 0, 0.72, 12.72, 0, 16, '2014-06-23 11:33:39', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(17, 1, 1, 20, 'PDN', '2014-06-23', 74, 16, 0, 1, 1, 0, 'dsd', 0, 0, 12, 0, 0.72, 12.72, 0, 16, '2014-06-23 11:35:57', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(18, 1, 1, 20, 'PDN', '2014-06-23', 74, 16, 0, 1, 1, 0, 'dsd', 0, 0, 12, 0, 0.72, 12.72, 0, 16, '2014-06-23 11:37:06', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(19, 1, 1, 20, 'PDN', '2014-06-23', 74, 16, 0, 1, 1, 0, 'dsd', 0, 0, 12, 0, 0.72, 12.72, 0, 16, '2014-06-23 11:38:33', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(20, 1, 1, 20, 'PDN', '2014-06-23', 74, 16, 0, 1, 1, 0, 'dsd', 0, 0, 12, 0, 0.72, 12.72, 0, 16, '2014-06-23 11:39:30', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(21, 1, 1, 1, 'PDN', '2014-06-23', 71, 1, 0, 1, 1, 0, '', 0, 0, 12, 0, 0, 12, 0, 16, '2014-06-23 11:50:34', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(22, 1, 1, 1, 'PDN', '2014-06-23', 71, 1, 0, 1, 1, 0, 'ccxc', 0, 0, 156, 0, 0.72, 156.72, 0, 16, '2014-06-23 12:20:21', 0, '2014-06-23 12:20:39', 0, 1, ''),
	(23, 1, 1, 1, 'PDN', '2014-06-23', 71, 1, 0, 1, 1, 0, '', 0, 0, 265, 0, 24.54, 289.53999999999996, 0, 16, '2014-06-23 12:25:24', 0, '2014-06-23 12:25:38', 0, 1, ''),
	(24, 1, 1, 20, 'PDN', '2014-06-23', 74, 15, 0, 1, 1, 0, 'fac sfa', 0, 0, 12, 0, 0.72, 12.72, 0, 16, '2014-06-23 17:47:53', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(25, 1, 1, 1, 'PDN', '2014-06-23', 71, 16, 0, 1, 1, 0, '', 0, 0, 1.06, 0, 0.06, 1.06, 0, 16, '2014-06-23 17:50:16', 0, '2014-07-14 13:19:34', 0, 1, ''),
	(26, 1, 1, 1, 'PDN', '2014-06-23', 71, 10, 0, 1, 1, 0, 'sa DEc', 0, 0, 1668, 0, 72, 1668, 0, 16, '2014-06-23 18:35:58', 0, '2014-09-17 13:21:15', 0, 1, ''),
	(27, 1, 1, 23, 'PCN', '2014-06-23', 93, 2, 0, 0, 3.6, 0, '', 0, 0, 144, 0, 0, 0, 0, 16, '2014-06-23 18:38:49', 0, '2014-06-23 18:38:59', 0, 1, ''),
	(28, 1, 1, 1, 'PCN', '2014-06-23', 71, 1, 0, 0, 1, 0, 'SDSD', 0, 0, 144, 0, 8.64, 0, 0, 16, '2014-06-23 18:48:49', 0, '2014-06-23 18:49:09', 0, 1, ''),
	(29, 1, 1, 1, 'PCN', '2014-06-23', 71, 16, 0, 0, 1, 0, 'SSDS', 0, 0, 2345, 0, 0, 2345, 0, 16, '2014-06-23 18:56:46', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(30, 1, 1, 1, 'PDN', '2014-06-24', 71, 1, 0, 0, 0, 0, '', 0, 0, 26, 0, 1.56, 0, 0, 16, '2014-06-24 12:21:28', 0, '2014-07-09 12:09:10', 0, 0, 'AP20140600000014'),
	(31, 1, 1, 1, 'PDN', '2014-06-24', 71, 17, 0, 0, 12, 0, 'wdee', 0, 0, 125, 0, 7.32, 0, 0, 16, '2014-06-24 12:53:19', 0, '2014-06-24 12:54:10', 0, 1, ''),
	(32, 1, 1, 1, 'PDN', '2014-07-14', 72, 15, 0, 1, 1, 0, 'asd', 0, 0, 15323.77, 0, 756.77, 2368.45, 0, 16, '2014-07-14 11:37:34', 0, '2014-07-14 11:41:14', 0, 1, ''),
	(33, 1, 1, 20, 'PDN', '2014-07-14', 76, 15, 0, 1, 1, 0, 'sds', 0, 0, 4.24, 0, 0.24, 1.06, 0, 16, '2014-07-14 11:42:17', 0, '2014-07-14 12:20:09', 0, 1, ''),
	(34, 2, 1, 1, 'PDN', '2013-09-19', 71, 0, 0, 0, 3.1305, 0, '', 0, 0, 11.7, 0, 0, 11.7, 0, 33, '2014-09-02 11:35:43', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(36, 1, 93, 46, 'PDN', '2014-09-08', 244, 0, 0, 0, 1, 0, '', 0, 0, 235.06, 0, 0.06, 234, 0, 16, '2014-09-08 16:48:36', 0, '2014-09-19 16:18:46', 0, 0, 'AP20140900000013'),
	(37, 2, 93, 46, 'PDN', '2014-09-12', 248, 0, 0, 0, 1, 0, '', 0, 0, 2556, 0, 0, 233, 0, 16, '2014-09-12 09:45:34', 0, '2014-09-19 17:59:10', 0, 1, ''),
	(38, 3, 93, 47, 'PDN', '2014-09-12', 255, 0, 0, 0, 1, 0, '', 0, 0, 130.38, 0, 7.38, 130.38, 0, 16, '2014-09-12 09:46:07', 0, '2014-09-12 09:46:08', 0, 1, ''),
	(39, 4, 93, 47, 'PDN', '2014-09-12', 250, 0, 0, 0, 1, 0, '', 0, 0, 774.9, 0, 36.9, 651.9, 0, 16, '2014-09-12 14:05:50', 0, '2014-09-18 12:14:43', 0, 0, 'AP20140900000010'),
	(40, 5, 93, 47, 'PDN', '2014-09-19', 247, 30, 0, 0, 1, 0, '', 0, 0, 251047.76, 0, 14078.759999999998, 246262.38, 0, 16, '2014-09-19 15:28:49', 0, '2014-09-19 16:18:22', 0, 0, 'AP20140900000012'),
	(41, 6, 93, 47, 'PDN', '2014-09-19', 250, 30, 0, 0, 1, 0, '', 0, 0, 2462.38, 0, 139.38, 2462.38, 0, 16, '2014-09-19 16:21:20', 0, '2014-09-19 16:41:34', 0, 1, ''),
	(42, 7, 93, 46, 'PDN', '2014-09-23', 248, 30, 0, 0, 1, 0, '', 0, 0, 10, 0, 0, 10, 0, 16, '2014-09-23 11:40:16', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(43, 3, 1, 0, '0', '1970-01-01', 0, 0, 0, 0, 0, 0, '0', 0, 0, 0, 0, 0, 0, 0, 1, '2014-10-13 13:04:20', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(44, 8, 93, 47, 'PDN', '2014-10-20', 247, 30, 0, 0, 1, 0, '', 0, 0, 53, 0, 3, 10.6, 0, 16, '2014-10-20 18:51:20', 0, '2014-10-21 10:20:43', 0, 1, ''),
	(45, 9, 93, 46, 'PDN', '2014-10-21', 244, 30, 0, 1, 1, 0, '', 0, 0, 10, 0, 0, 10, 0, 16, '2014-10-21 11:12:50', 0, '0000-00-00 00:00:00', 0, 1, ''),
	(46, 10, 93, 48, 'PDN', '2014-10-21', 245, 30, 0, 1, 1, 0, '', 0, 0, 128.26, 0, 7.26, 128.26, 0, 16, '2014-10-21 11:13:48', 0, '2014-10-21 11:13:48', 0, 1, ''),
	(47, 11, 93, 50, 'PDN', '2014-10-27', 422, 0, 0, 1, 1, 0, '', 0, 0, 328.6, 0, 18.6, 318, 0, 16, '2014-10-27 09:16:55', 0, '2014-10-27 09:17:09', 0, 1, ''),
	(48, 12, 93, 50, 'PDN', '2014-10-27', 422, 30, 0, 1, 1, 0, '', 0, 0, 414.46000000000004, 0, 23.46, 31.8, 0, 16, '2014-10-27 09:20:15', 0, '2014-10-27 13:00:03', 0, 1, ''),
	(49, 1, 111, 67, 'PDN', '2014-10-28', 429, 0, 0, 1, 1, 0, '', 0, 0, 25.44, 0, 1.44, 25.44, 0, 19, '2014-10-28 18:27:46', 0, '2014-10-28 18:28:03', 0, 0, 'AP20141000000207'),
	(50, 13, 93, 47, 'PDN', '2014-10-30', 424, 31, 0, 1, 1, 0, '', 0, 0, 21.2, 0, 1.2, 21.2, 0, 16, '2014-10-30 15:13:49', 0, '2014-10-30 15:13:50', 0, 1, ''),
	(51, 14, 93, 47, 'PDN', '2014-10-30', 424, 30, 0, 1, 1, 0, 'dsd', 0, 0, 10.6, 0, 0.6, 0, 0, 16, '2014-10-30 15:24:25', 0, '2014-10-30 15:29:09', 0, 1, ''),
	(54, 15, 93, 47, 'PDN', '2014-10-30', 435, 30, 0, 1, 1, 0, '', 0, 0, 10.6, 0, 0.6, 10.6, 0, 16, '2014-10-30 18:35:18', 0, '2014-10-30 18:35:18', 0, 1, ''),
	(55, 16, 93, 47, 'PDN', '2014-10-30', 435, 0, 0, 1, 1, 0, '', 0, 0, 10.6, 0, 0.6, 10.6, 0, 16, '2014-10-30 18:38:23', 0, '2014-10-30 18:38:23', 0, 1, ''),
	(56, 17, 93, 47, 'PDN', '2014-10-30', 435, 0, 0, 1, 1, 0, '', 0, 0, 10.6, 0, 0.6, 10.6, 0, 16, '2014-10-30 18:40:47', 0, '2014-10-31 10:12:12', 0, 1, ''),
	(57, 18, 93, 47, 'PDN', '2014-10-30', 435, 0, 0, 1, 1, 0, '', 0, 0, 21.2, 0, 1.2, 10.6, 0, 16, '2014-10-30 18:46:15', 0, '2014-10-30 18:48:23', 0, 1, ''),
	(58, 19, 93, 47, 'PDN', '2014-10-30', 435, 0, 0, 1, 1, 0, '', 0, 0, 31.799999999999997, 0, 1.7999999999999998, 10.6, 0, 16, '2014-10-30 19:03:18', 0, '2014-10-31 10:50:43', 0, 1, '');


-- Dumping structure for table iaccountdb.comp_supplier_debitnote_charges
CREATE TABLE IF NOT EXISTS `comp_supplier_debitnote_charges` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `debitNoteID` int(11) NOT NULL,
  `lineNo` int(11) NOT NULL,
  `accountNoID` int(11) NOT NULL,
  `itemname` varchar(64) NOT NULL,
  `itemdescription` text NOT NULL,
  `umID` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unitPrice` double NOT NULL,
  `amountExcludedTax` double NOT NULL,
  `taxID` int(11) NOT NULL,
  `taxRate` double NOT NULL,
  `taxAmount` double NOT NULL,
  `amountIncludedTax` double NOT NULL,
  `drAccountID` int(11) NOT NULL,
  `crAccountID` int(11) NOT NULL,
  `drTaxAccountID` int(11) NOT NULL,
  `crTaxAccountID` 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,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=latin1;

-- Dumping data for table iaccountdb.comp_supplier_debitnote_charges: ~33 rows (approximately)
DELETE FROM `comp_supplier_debitnote_charges`;
INSERT INTO `comp_supplier_debitnote_charges` (`ID`, `debitNoteID`, `lineNo`, `accountNoID`, `itemname`, `itemdescription`, `umID`, `quantity`, `unitPrice`, `amountExcludedTax`, `taxID`, `taxRate`, `taxAmount`, `amountIncludedTax`, `drAccountID`, `crAccountID`, `drTaxAccountID`, `crTaxAccountID`, `createdBy`, `createdTS`, `updatedBy`, `updatedTS`) VALUES
	(26, 19, 1, 102, '', 'qwq', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 0, '2014-06-23 11:38:33', 0, '0000-00-00 00:00:00'),
	(27, 20, 1, 102, '', 'qwq', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 0, '2014-06-23 11:39:30', 0, '0000-00-00 00:00:00'),
	(28, 27, 1, 102, '', 'qwq', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 0, '2014-06-23 11:39:47', 0, '0000-00-00 00:00:00'),
	(29, 21, 1, 100, '', 'sd', 0, 0, 0, 12, 4, 0, 0, 12, 0, 0, 0, 0, 0, '2014-06-23 11:50:34', 0, '0000-00-00 00:00:00'),
	(30, 22, 1, 101, '', 'sdsd', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 0, '2014-06-23 12:20:39', 0, '0000-00-00 00:00:00'),
	(31, 0, 2, 102, '', 'aasa', 0, 0, 0, 12, 18, 0, 0.72, 12.72, 0, 0, 0, 0, 0, '2014-06-23 12:21:37', 0, '0000-00-00 00:00:00'),
	(32, 23, 1, 101, '', '121as', 0, 0, 0, 121, 1, 0, 7.26, 128.26, 0, 0, 0, 0, 0, '2014-06-23 12:25:38', 0, '0000-00-00 00:00:00'),
	(33, 24, 1, 102, '', '12sds', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 0, '2014-06-23 17:47:53', 0, '0000-00-00 00:00:00'),
	(34, 25, 1, 102, '', 'asa', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 0, '2014-06-23 17:50:16', 0, '0000-00-00 00:00:00'),
	(35, 26, 1, 102, '', 'ASA', 0, 0, 0, 12, 4, 0, 0, 12, 0, 0, 0, 0, 16, '2014-06-23 18:36:38', 0, '0000-00-00 00:00:00'),
	(36, 0, 2, 102, '', 'ASA', 0, 0, 0, 1, 12, 0, 0.05, 1.05, 0, 0, 0, 0, 16, '2014-06-23 18:36:55', 0, '0000-00-00 00:00:00'),
	(37, 30, 1, 101, '', '1sdas', 0, 0, 0, 12, 1, 0, 0.72, 12.72, 0, 0, 0, 0, 16, '2014-06-24 12:35:41', 0, '0000-00-00 00:00:00'),
	(38, 0, 2, 97, '', 'xad', 0, 0, 0, 1, 3, 0, 0, 1, 0, 0, 0, 0, 16, '2014-06-24 12:49:56', 0, '0000-00-00 00:00:00'),
	(39, 31, 1, 99, '', 'sdaqw', 0, 0, 0, 2, 14, 0, 7.32, 129.32, 0, 0, 0, 0, 16, '2014-06-24 12:53:20', 16, '2014-06-24 14:19:19'),
	(40, 31, 2, 85, '', '2323211', 0, 0, 0, 122, 13, 0, 12, 3, 0, 0, 0, 0, 16, '2014-06-24 12:53:42', 16, '2014-06-24 14:35:37'),
	(41, 0, 2, 102, '', 'SDS', 0, 0, 0, 12, 4, 0, 0, 12, 0, 0, 0, 0, 16, '2014-07-04 14:39:50', 0, '0000-00-00 00:00:00'),
	(42, 0, 2, 101, '', 'SD', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-07-04 14:40:41', 0, '0000-00-00 00:00:00'),
	(43, 30, 2, 101, '', 'asa', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-07-04 14:44:55', 0, '0000-00-00 00:00:00'),
	(47, 30, 3, 101, '', 'vvc', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-07-04 15:25:54', 0, '0000-00-00 00:00:00'),
	(48, 32, 1, 101, '', 'asa', 0, 0, 0, 11111, 1, 0, 666.66, 11777.66, 0, 0, 0, 0, 16, '2014-07-14 11:41:14', 0, '0000-00-00 00:00:00'),
	(49, 33, 1, 102, '', 'sds', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-07-14 11:42:17', 0, '0000-00-00 00:00:00'),
	(50, 33, 2, 102, '', 'aq', 0, 0, 0, 1, 1, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-07-14 11:42:56', 16, '2014-07-14 12:13:43'),
	(51, 36, 1, 28370, '', 'adfafd', 0, 0, 0, 234, 0, 0, 0, 234, 0, 0, 0, 0, 16, '2014-09-08 16:48:36', 0, '0000-00-00 00:00:00'),
	(52, 37, 1, 28370, '', 'scvzcv', 0, 0, 0, 233, 787, 0, 0, 233, 0, 0, 0, 0, 16, '2014-09-12 09:45:34', 16, '2014-09-19 17:58:55'),
	(53, 38, 1, 28370, '', 'dfasdf', 0, 0, 0, 123, 783, 0, 7.38, 130.38, 0, 0, 0, 0, 16, '2014-09-12 09:46:08', 0, '0000-00-00 00:00:00'),
	(54, 39, 1, 28370, '', 'sfgsdf', 0, 0, 0, 123, 785, 0, 0, 123, 0, 0, 0, 0, 16, '2014-09-12 14:05:52', 0, '0000-00-00 00:00:00'),
	(55, 36, 1, 28370, '', 'sds', 0, 0, 0, 1, 768, 0, 0.06, 1.06, 0, 0, 0, 0, 16, '2014-09-17 13:06:07', 0, '0000-00-00 00:00:00'),
	(56, 40, 1, 28370, '', 'asfasdf', 0, 0, 0, 232323, 782, 0, 13939.38, 246262.38, 0, 0, 0, 0, 16, '2014-09-19 15:28:49', 0, '0000-00-00 00:00:00'),
	(58, 40, 2, 28370, '', 'asdfasf', 0, 0, 0, 2323, 0, 0, 0, 2323, 0, 0, 0, 0, 16, '2014-09-19 15:47:21', 16, '2014-09-19 15:53:52'),
	(59, 40, 2, 28370, '', 'asfasf', 0, 0, 0, 2323, 782, 0, 139.38, 2462.38, 0, 0, 0, 0, 16, '2014-09-19 15:54:13', 16, '2014-09-19 16:17:11'),
	(71, 41, 11, 28370, '', 'dafasdf', 0, 0, 0, 2323, 768, 0, 139.38, 2462.38, 0, 0, 0, 0, 16, '2014-09-19 16:41:34', 0, '0000-00-00 00:00:00'),
	(72, 37, 2, 28369, '', 'ADAd', 0, 0, 0, 2323, 787, 0, 0, 2323, 0, 0, 0, 0, 16, '2014-09-19 17:59:10', 0, '0000-00-00 00:00:00'),
	(73, 46, 1, 29558, '', 'DASA', 0, 0, 0, 121, 768, 0, 7.26, 128.26, 0, 0, 0, 0, 16, '2014-10-21 11:13:48', 0, '0000-00-00 00:00:00');


-- Dumping structure for table iaccountdb.comp_supplier_debitnote_detail
