-- --------------------------------------------------------
-- Server OS:                    Win64
-- HeidiSQL Version:             10.1.0.5484
-- --------------------------------------------------------



-- Dumping database structure for mysupport
CREATE DATABASE IF NOT EXISTS `myconnection` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `myconnection`;

-- Dumping structure for table mysupport.migration
CREATE TABLE IF NOT EXISTS `migration` (
  `version` varchar(180) NOT NULL,
  `apply_time` int(11) DEFAULT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Dumping data for table mysupport.migration: ~2 rows (approximately)
DELETE FROM `migration`;
INSERT INTO `migration` (`version`, `apply_time`) VALUES
	('m000000_000000_base', 1548917531),
	('m130524_201442_init', 1548917544);

-- Dumping structure for table mysupport.sync_account_to_jurnal
CREATE TABLE IF NOT EXISTS `sync_account_to_jurnal` (
  `payment_fpkey` int(11) NOT NULL,
  `payment_type` varchar(90) DEFAULT NULL,
  `nama_akun` varchar(90) DEFAULT NULL,
  PRIMARY KEY (`payment_fpkey`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Dumping data for table mysupport.sync_account_to_jurnal: ~11 rows (approximately)
DELETE FROM `sync_account_to_jurnal`;
INSERT INTO `sync_account_to_jurnal` (`payment_fpkey`, `payment_type`, `nama_akun`) VALUES
	(0, 'Cash', 'Bank Account'),
	(1, 'Debit BCA', 'Giro'),
	(2, 'Master Card', 'Bank Account'),
	(3, 'Visa Card', 'Bank Account'),
	(4, 'Others', 'Cash'),
	(6, 'BNI', 'Account Receivable'),
	(7, 'gojek', 'Giro'),
	(98, 'Officer Check', 'Cash'),
	(99, 'Compliment', 'Bank Account'),
	(100, 'Deposit', 'Cash'),
	(101, 'Piutang', 'Cash');

-- Dumping structure for table mysupport.sync_to_jurnal
CREATE TABLE IF NOT EXISTS `sync_to_jurnal` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `last_update` datetime DEFAULT NULL,
  `tipe_tabel` varchar(255) DEFAULT NULL,
  `id_record` int(11) NOT NULL,
  `status_sinkron` varchar(10) DEFAULT NULL,
  `keterangan` text,
  `id_jurnal` double DEFAULT NULL,
  `tipe_proses` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=latin1;

-- Dumping data for table mysupport.sync_to_jurnal: ~37 rows (approximately)
DELETE FROM `sync_to_jurnal`;
INSERT INTO `sync_to_jurnal` (`id`, `last_update`, `tipe_tabel`, `id_record`, `status_sinkron`, `keterangan`, `id_jurnal`, `tipe_proses`) VALUES
	(1, '2019-02-20 16:49:17', 'rst_menu', 2, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(2, '2019-02-20 16:49:17', 'rst_menu', 3, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(3, '2019-02-20 16:49:17', 'rst_menu', 4, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(4, '2019-02-20 16:49:17', 'rst_menu', 5, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(5, '2019-02-20 16:49:17', 'rst_menu', 6, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(6, '2019-02-20 16:49:17', 'rst_menu', 11, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(7, '2019-02-20 16:49:17', 'rst_menu', 7, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(8, '2019-02-20 16:49:17', 'rst_menu', 8, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(9, '2019-02-20 16:49:17', 'rst_menu', 9, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(10, '2019-02-20 16:49:17', 'rst_menu', 10, 'skip', 'Nama Menu Sudah Ada', 0, 'new'),
	(11, '2019-02-20 16:49:19', 'bp_customer', 1, 'skip', 'Nama Pelanggan Sudah Ada', 0, 'new'),
	(12, '2019-02-20 16:49:19', 'bp_customer', 3, 'skip', 'Nama Pelanggan Sudah Ada', 0, 'new'),
	(13, '2019-02-20 16:49:19', 'bp_customer', 4, 'skip', 'Nama Pelanggan Sudah Ada', 0, 'new'),
	(14, '2019-02-20 16:49:19', 'bp_customer', 5, 'skip', 'Nama Pelanggan Sudah Ada', 0, 'new'),
	(15, '2019-02-20 16:49:19', 'bp_customer', 6, 'skip', 'Nama Pelanggan Sudah Ada', 0, 'new'),
	(16, '2019-02-20 16:52:09', 'rst_fc_trans_header', 2, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(17, '2019-02-20 16:52:11', 'rst_fc_trans_header', 3, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(18, '2019-02-20 16:52:12', 'rst_fc_trans_header', 4, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(19, '2019-02-20 16:52:14', 'rst_fc_trans_header', 5, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(20, '2019-02-20 16:52:15', 'rst_fc_trans_header', 6, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(21, '2019-02-20 16:52:16', 'rst_fc_trans_header', 7, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(22, '2019-02-20 16:52:17', 'rst_fc_trans_header', 8, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(23, '2019-02-20 16:52:19', 'rst_fc_trans_header', 9, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(24, '2019-02-20 16:52:22', 'rst_fc_trans_header', 10, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(25, '2019-02-20 16:52:22', 'rst_fc_trans_header', 11, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(26, '2019-02-20 16:52:23', 'rst_fc_trans_header', 12, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(27, '2019-02-20 16:52:24', 'rst_fc_trans_header', 13, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(28, '2019-02-20 16:52:25', 'rst_fc_trans_header', 14, 'skip', 'Nomor Nota Sudah Ada', 0, 'new'),
	(29, '2019-02-20 16:52:27', 'rst_fc_payment', 1, 'proses', '{"records":["(Value received cannot be greater than remaining balance.)"]}', 0, 'new'),
	(30, '2019-02-20 16:52:32', 'rst_fc_payment', 2, 'success', '', 43576674, 'new'),
	(31, '2019-02-20 16:52:36', 'rst_fc_payment', 3, 'proses', '{"records":["(Value received cannot be greater than remaining balance.)"]}', 0, 'new'),
	(32, '2019-02-20 16:52:37', 'rst_fc_payment', 4, 'proses', '{"records":["(Value received cannot be greater than remaining balance.)"]}', 0, 'new'),
	(33, '2019-02-20 16:52:41', 'rst_fc_payment', 5, 'proses', '{"records":["(Value received cannot be greater than remaining balance.)"]}', 0, 'new'),
	(34, '2019-02-20 16:52:44', 'rst_fc_payment', 6, 'proses', '{"records":["(Value received cannot be greater than remaining balance.)"]}', 0, 'new'),
	(35, '2019-02-20 16:52:47', 'rst_fc_payment', 7, 'proses', '{"records":["(Value received cannot be greater than remaining balance.)"]}', 0, 'new'),
	(36, '2019-02-20 16:52:47', 'rst_fc_payment', 8, 'proses', '{"records":["(Value received cannot be greater than remaining balance.)"]}', 0, 'new'),
	(37, '2019-02-20 16:52:50', 'sales_return', 12, 'proses', '["Transaction return lines attributes transaction line id\\/product id or product name[0] not available","Transaction return lines attributes transaction line id\\/product id or product name[1] not available","Transaction return lines attributes transaction line id\\/product id or product name[2] not available","Transaction return lines attributes transaction line id\\/product id or product name[3] not available","Transaction return lines attributes transaction line id\\/product id or product name[4] not available","Transaction return lines attributes transaction line id\\/product id or product name[5] not available","Transaction return lines attributes transaction line id\\/product id or product name[6] not available","Transaction return lines attributes transaction line id\\/product id or product name[7] not available"]', 0, 'new');

