-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 23, 2021 at 05:06 AM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 7.3.27

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `pcm_prototype`
--

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

--
-- Table structure for table `accounting`
--

CREATE TABLE `accounting` (
  `ID_ACCOUNTING` int(11) NOT NULL,
  `SALDO_ACCOUNTING` decimal(15,2) DEFAULT NULL,
  `HUTANG_ACCOUNTING` decimal(15,2) DEFAULT NULL,
  `LIMIT_ACCOUNTING` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting`
--

INSERT INTO `accounting` (`ID_ACCOUNTING`, `SALDO_ACCOUNTING`, `HUTANG_ACCOUNTING`, `LIMIT_ACCOUNTING`) VALUES
(1, '0.00', '0.00', '25000000.00'),
(2, '0.00', '0.00', '300000000.00'),
(3, '0.00', '0.00', '100000000.00'),
(4, '0.00', '0.00', '100000000.00'),
(5, '0.00', '0.00', '100000000.00'),
(6, '0.00', '0.00', '25000000.00');

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

--
-- Table structure for table `agen`
--

CREATE TABLE `agen` (
  `ID_AGEN` int(11) NOT NULL,
  `NAMA_AGEN` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `agen`
--

INSERT INTO `agen` (`ID_AGEN`, `NAMA_AGEN`) VALUES
(1, 'Dio'),
(2, 'Lulu');

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

--
-- Table structure for table `bank`
--

CREATE TABLE `bank` (
  `ID_BANK` int(11) NOT NULL,
  `KODE_BANK` varchar(50) DEFAULT NULL,
  `NAMA_BANK` varchar(50) DEFAULT NULL,
  `AN_BANK` varchar(50) DEFAULT NULL,
  `SALDO_BANK` decimal(15,2) DEFAULT NULL,
  `HUTANG_BANK` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `bank`
--

INSERT INTO `bank` (`ID_BANK`, `KODE_BANK`, `NAMA_BANK`, `AN_BANK`, `SALDO_BANK`, `HUTANG_BANK`) VALUES
(1, 'BCADMT1077111999', 'BCA', 'PT. DMT', '200000.00', '0.00'),
(2, 'BCAHW1070408950', 'BCA', 'HWELY BUDIMAN', '4000000.00', '6000000.00'),
(3, 'BCAMM1070498851', 'BCA', 'YAP SUGENG SUMARTO', '0.00', '0.00'),
(4, 'BCASERVICE1070524500', 'BCA', 'YAP SUGENG SUMARTO', '0.00', '0.00'),
(5, 'BCATMP1070492233', 'BCA', 'PT. TMP', '0.00', '0.00'),
(6, 'BCAYAP1070571800', 'BCA', 'YAP SUGENG SUMARTO', '175000.00', '0.00'),
(7, 'BCAYAP1072111111', 'BCA', 'YAP SUGENG SUMARTO', '0.00', '0.00'),
(8, 'BIICP2090666996', 'BII', 'PT. TMP', '0.00', '0.00'),
(9, 'BIIKREDIT2090777990', 'BII', 'PT. TMP', '0.00', '0.00'),
(10, 'BIIPRO8186222776', 'BII', 'YAP SUGENG SUMARTO', '24500000.00', '0.00'),
(11, 'BNI0251333704', 'BNI', 'YAP SUGENG SUMARTO', '0.00', '0.00'),
(13, 'JATIM0011234194', 'BANK JATIM', 'PT. TMP', '100000.00', '0.00'),
(15, 'MANDIRI1400078978880', 'MANDIRI', 'YAP SUGENG SUMARTO', '0.00', '0.00'),
(16, 'MANDIRI1420080789000', 'MANDIRI', 'YAP SUGENG SUMARTO', '0.00', '0.00'),
(17, 'MANDTMP1420023789000', 'MANDIRI', 'PT. TMP', '8750000.00', '0.00');

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

--
-- Table structure for table `bankkeluar`
--

CREATE TABLE `bankkeluar` (
  `ID_BANKKELUAR` int(11) NOT NULL,
  `KODE_BANKKELUAR` varchar(30) DEFAULT NULL,
  `BANK_ID` int(11) DEFAULT NULL,
  `KREDIT_BANKKELUAR` decimal(15,2) DEFAULT NULL,
  `DEBIT_BANKKELUAR` decimal(15,2) DEFAULT NULL,
  `TGL_BANKKELUAR` date DEFAULT current_timestamp(),
  `STATUS_BANKKELUAR` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `bankkeluar`
--

INSERT INTO `bankkeluar` (`ID_BANKKELUAR`, `KODE_BANKKELUAR`, `BANK_ID`, `KREDIT_BANKKELUAR`, `DEBIT_BANKKELUAR`, `TGL_BANKKELUAR`, `STATUS_BANKKELUAR`) VALUES
(1, 'BBK/000001', 2, '2100000.00', '2100000.00', '2021-03-20', NULL);

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

--
-- Table structure for table `bankmasuk`
--

CREATE TABLE `bankmasuk` (
  `ID_BANKMASUK` int(11) NOT NULL,
  `KODE_BANKMASUK` varchar(30) DEFAULT NULL,
  `BANK_ID` int(11) DEFAULT NULL,
  `DEBIT_BANKMASUK` decimal(15,2) DEFAULT NULL,
  `KREDIT_BANKMASUK` decimal(15,2) DEFAULT NULL,
  `TGL_BANKMASUK` date DEFAULT current_timestamp(),
  `STATUS_BANKMASUK` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `bankmasuk`
--

INSERT INTO `bankmasuk` (`ID_BANKMASUK`, `KODE_BANKMASUK`, `BANK_ID`, `DEBIT_BANKMASUK`, `KREDIT_BANKMASUK`, `TGL_BANKMASUK`, `STATUS_BANKMASUK`) VALUES
(1, 'BBM/000001', 10, '12250000.00', '12250000.00', '2021-03-18', NULL);

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

--
-- Table structure for table `barang`
--

CREATE TABLE `barang` (
  `ID_BARANG` int(11) NOT NULL,
  `KODE_BARANG` varchar(50) DEFAULT NULL,
  `NAMA_BARANG` varchar(50) DEFAULT NULL,
  `JENIS_ID` int(11) DEFAULT NULL,
  `SPEK_ID` int(11) DEFAULT NULL,
  `TYPE_BARANG` varchar(30) DEFAULT NULL,
  `QTY_REAL` int(11) DEFAULT NULL,
  `KETERANGAN_BARANG` varchar(512) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `barang`
--

INSERT INTO `barang` (`ID_BARANG`, `KODE_BARANG`, `NAMA_BARANG`, `JENIS_ID`, `SPEK_ID`, `TYPE_BARANG`, `QTY_REAL`, `KETERANGAN_BARANG`) VALUES
(1, 'DELLInspiron3480I51005G14GBType1', 'Inspiron 3480 I5 1005G1 4GB 500GB Black W10H', 2, 2, 'SKU', 12, NULL),
(2, 'DELLPowerEdgeR740XeonE5-1225', 'DELL Power Edge R740', 5, NULL, 'SKU', 1, NULL),
(3, 'DELLInspiron3480I59020U4GBVGA', 'DELL Inspiron 3480 I5 9020U DIS', 3, 3, 'SKU', 28, NULL),
(4, 'DELLInspiron3480I59020U4GBUMA', 'DELL Inspiron 3480 I5 9020U UMA', 1, 1, 'SKU', 13, NULL),
(5, 'DELLInspiron3490I54GBPart1', 'Inspiron 3490', 2, NULL, 'SKU', 4, NULL),
(6, 'RUIJIEE17001', 'AP Wave 2', 14, NULL, 'RETAIL', 52, NULL),
(7, 'ADIDULW019', 'AP REYEE', 14, NULL, 'RETAIL', 1, NULL);

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

--
-- Table structure for table `biaya_fee`
--

CREATE TABLE `biaya_fee` (
  `ID_BF` int(11) NOT NULL,
  `KODE_BF` varchar(30) DEFAULT NULL,
  `PENJUALAN_ID` int(11) DEFAULT NULL,
  `TGL_BF` date DEFAULT current_timestamp(),
  `NOMINAL_BF` decimal(15,2) DEFAULT NULL,
  `BLOCKCON` decimal(15,2) DEFAULT NULL,
  `STATUS_BF` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `biaya_fee`
--

INSERT INTO `biaya_fee` (`ID_BF`, `KODE_BF`, `PENJUALAN_ID`, `TGL_BF`, `NOMINAL_BF`, `BLOCKCON`, `STATUS_BF`) VALUES
(1, 'BF/000001', 1, '2021-03-22', '100000.00', '50000.00', NULL);

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

--
-- Table structure for table `biaya_pengiriman`
--

CREATE TABLE `biaya_pengiriman` (
  `ID_BP` int(11) NOT NULL,
  `KODE_BP` varchar(30) DEFAULT NULL,
  `PENJUALAN_ID` int(11) DEFAULT NULL,
  `TGL_BP` date DEFAULT current_timestamp(),
  `NOMINAL_BP` decimal(15,2) DEFAULT NULL,
  `BLOCKDEB_BP` decimal(15,2) DEFAULT NULL,
  `BLOCKKRE_BP` decimal(15,2) DEFAULT NULL,
  `STATUS_BP` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `biaya_pengiriman`
--

INSERT INTO `biaya_pengiriman` (`ID_BP`, `KODE_BP`, `PENJUALAN_ID`, `TGL_BP`, `NOMINAL_BP`, `BLOCKDEB_BP`, `BLOCKKRE_BP`, `STATUS_BP`) VALUES
(1, 'BP/000001', 1, '2021-03-15', '900000.00', '900000.00', '300000.00', NULL);

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

--
-- Table structure for table `detail_bank`
--

CREATE TABLE `detail_bank` (
  `ID_DBANK` int(11) NOT NULL,
  `KODE_DBANK` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `BANK_ID` int(11) DEFAULT NULL,
  `DEBIT_DBANK` decimal(15,2) DEFAULT NULL,
  `KREDIT_DBANK` decimal(15,2) DEFAULT NULL,
  `TGL_DBANK` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_bank`
--

INSERT INTO `detail_bank` (`ID_DBANK`, `KODE_DBANK`, `KODE_BUKTI`, `BANK_ID`, `DEBIT_DBANK`, `KREDIT_DBANK`, `TGL_DBANK`) VALUES
(3, 'BANK/000001', 'KBBM/000001', 17, NULL, '1250000.00', '2021-03-19'),
(6, 'BANK/000002', 'KBKM/000002', 6, NULL, '200000.00', '2021-03-19'),
(8, 'BANK/000003', 'KBBK/000002', 1, '200000.00', NULL, '2021-03-20'),
(11, 'BANK/000004', 'KBKK/000002', 13, '100000.00', NULL, '2021-03-23');

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

--
-- Table structure for table `detail_bb`
--

CREATE TABLE `detail_bb` (
  `ID_DBB` int(11) NOT NULL,
  `KODE_DBB` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `KENDARAAN_ID` int(11) DEFAULT NULL,
  `KARYAWAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_DBB` decimal(15,2) DEFAULT NULL,
  `TGL_DBB` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_bb`
--

INSERT INTO `detail_bb` (`ID_DBB`, `KODE_DBB`, `KODE_BUKTI`, `KENDARAAN_ID`, `KARYAWAN_ID`, `NOMINAL_DBB`, `TGL_DBB`) VALUES
(2, 'DBB/000001', 'KBBK/000012', 1, 3, '50000.00', '2021-03-22'),
(4, 'DBB/000002', 'KBKK/000013', 1, 3, '30000.00', '2021-03-23');

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

--
-- Table structure for table `detail_bf`
--

CREATE TABLE `detail_bf` (
  `ID_DBF` int(11) NOT NULL,
  `KODE_DBF` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `BF_ID` int(11) DEFAULT NULL,
  `KREDIT_DBF` decimal(15,2) DEFAULT NULL,
  `TGL_DBF` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_bf`
--

INSERT INTO `detail_bf` (`ID_DBF`, `KODE_DBF`, `KODE_BUKTI`, `BF_ID`, `KREDIT_DBF`, `TGL_DBF`) VALUES
(3, 'DBF/000001', 'KBBK/000014', 1, '100000.00', '2021-03-22'),
(7, 'DBF/000002', 'KBKK/000014', 1, '50000.00', '2021-03-23');

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

--
-- Table structure for table `detail_bp`
--

CREATE TABLE `detail_bp` (
  `ID_DBP` int(11) NOT NULL,
  `KODE_DBP` varchar(30) DEFAULT NULL,
  `BP_ID` int(11) DEFAULT NULL,
  `BUKTI_DEBIT` varchar(30) DEFAULT NULL,
  `DEBIT_DBP` decimal(15,2) DEFAULT NULL,
  `BUKTI_KREDIT` varchar(30) DEFAULT NULL,
  `KREDIT_DBP` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_bp`
--

INSERT INTO `detail_bp` (`ID_DBP`, `KODE_DBP`, `BP_ID`, `BUKTI_DEBIT`, `DEBIT_DBP`, `BUKTI_KREDIT`, `KREDIT_DBP`) VALUES
(5, 'DBP/000001', 1, 'KBBM/000009', '800000.00', NULL, NULL),
(7, 'DBP/000002', 1, 'KBKM/000008', '100000.00', NULL, NULL),
(9, 'DBP/000003', 1, NULL, NULL, 'KBBK/000011', '50000.00'),
(10, 'DBP/000004', 1, NULL, NULL, 'KBKK/000011', '250000.00');

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

--
-- Table structure for table `detail_bsk`
--

CREATE TABLE `detail_bsk` (
  `ID_DBSK` int(11) NOT NULL,
  `KODE_DBSK` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `KENDARAAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_DBSK` decimal(15,2) DEFAULT NULL,
  `TGL_DBSK` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_bsk`
--

INSERT INTO `detail_bsk` (`ID_DBSK`, `KODE_DBSK`, `KODE_BUKTI`, `KENDARAAN_ID`, `NOMINAL_DBSK`, `TGL_DBSK`) VALUES
(2, 'DBSK/000001', 'KBBK/000013', 1, '100000.00', '2021-03-22'),
(3, 'DBSK/000002', 'KBKK/000012', 1, '20000.00', '2021-03-23');

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

--
-- Table structure for table `detail_dpb`
--

CREATE TABLE `detail_dpb` (
  `ID_DDPB` int(11) NOT NULL,
  `KODE_DDPB` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `SUPPLIER_ID` int(11) DEFAULT NULL,
  `KREDIT_DDPB` decimal(15,2) DEFAULT NULL,
  `TGL_DDPB` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_dpb`
--

INSERT INTO `detail_dpb` (`ID_DDPB`, `KODE_DDPB`, `KODE_BUKTI`, `SUPPLIER_ID`, `KREDIT_DDPB`, `TGL_DDPB`) VALUES
(2, 'DDPB/000001', 'KBBK/000003', 2, '200000.00', '2021-03-20'),
(4, 'DDPB/000002', 'KBKK/000005', 3, '500000.00', '2021-03-23');

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

--
-- Table structure for table `detail_dpj`
--

CREATE TABLE `detail_dpj` (
  `ID_DDPJ` int(11) NOT NULL,
  `KODE_DDPJ` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `PELANGGAN_ID` int(11) DEFAULT NULL,
  `DEBIT_DDPJ` decimal(15,2) DEFAULT NULL,
  `TGL_DDPJ` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_dpj`
--

INSERT INTO `detail_dpj` (`ID_DDPJ`, `KODE_DDPJ`, `KODE_BUKTI`, `PELANGGAN_ID`, `DEBIT_DDPJ`, `TGL_DDPJ`) VALUES
(2, 'DDPJ/000001', 'KBBM/000008', 2, '200000.00', '2021-03-19'),
(4, 'DDPJ/000002', 'KBKM/000007', 1, '2200000.00', '2021-03-19');

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

--
-- Table structure for table `detail_dpp`
--

CREATE TABLE `detail_dpp` (
  `ID_DDPP` int(11) NOT NULL,
  `KODE_DDPP` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `PAJAK_ID` int(11) DEFAULT NULL,
  `KREDIT_DDPP` decimal(15,2) DEFAULT NULL,
  `TGL_DDPP` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_dpp`
--

INSERT INTO `detail_dpp` (`ID_DDPP`, `KODE_DDPP`, `KODE_BUKTI`, `PAJAK_ID`, `KREDIT_DDPP`, `TGL_DDPP`) VALUES
(4, 'DDPP/000001', 'KBBK/000004', 1, '200000.00', '2021-03-22'),
(6, 'DDPP/000002', 'KBKK/000006', 1, '200000.00', '2021-03-23');

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

--
-- Table structure for table `detail_hba`
--

CREATE TABLE `detail_hba` (
  `ID_DHBA` int(11) NOT NULL,
  `KODE_DHBA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `HBA_ID` int(11) DEFAULT NULL,
  `KREDIT_DHBA` decimal(15,2) DEFAULT NULL,
  `TGL_DHBA` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_hba`
--

INSERT INTO `detail_hba` (`ID_DHBA`, `KODE_DHBA`, `KODE_BUKTI`, `HBA_ID`, `KREDIT_DHBA`, `TGL_DHBA`) VALUES
(2, 'DHBA/000001', 'KBBK/000009', 2, '250000.00', '2021-03-22'),
(4, 'DHBA/000002', 'KBKK/000009', 2, '500000.00', '2021-03-23');

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

--
-- Table structure for table `detail_hda`
--

CREATE TABLE `detail_hda` (
  `ID_DHDA` int(11) NOT NULL,
  `KODE_DHDA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `HDA_ID` int(11) DEFAULT NULL,
  `KREDIT_DHDA` decimal(15,2) DEFAULT NULL,
  `TGL_DHDA` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_hda`
--

INSERT INTO `detail_hda` (`ID_DHDA`, `KODE_DHDA`, `KODE_BUKTI`, `HDA_ID`, `KREDIT_DHDA`, `TGL_DHDA`) VALUES
(5, 'DHDA/000001', 'KBBK/000007', 1, '150000.00', '2021-03-22'),
(7, 'DHDA/000002', 'KBKK/000007', 1, '300000.00', '2021-03-23');

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

--
-- Table structure for table `detail_hla`
--

CREATE TABLE `detail_hla` (
  `ID_DHLA` int(11) NOT NULL,
  `KODE_DHLA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `HLA_ID` int(11) DEFAULT NULL,
  `KREDIT_DHLA` decimal(15,2) DEFAULT NULL,
  `TGL_DHLA` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_hla`
--

INSERT INTO `detail_hla` (`ID_DHLA`, `KODE_DHLA`, `KODE_BUKTI`, `HLA_ID`, `KREDIT_DHLA`, `TGL_DHLA`) VALUES
(3, 'DHLA/000001', 'KBBK/000010', 4, '50000.00', '2021-03-22'),
(5, 'DHLA/000002', 'KBKK/000010', 4, '50000.00', '2021-03-23');

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

--
-- Table structure for table `detail_hpa`
--

CREATE TABLE `detail_hpa` (
  `ID_DHPA` int(11) NOT NULL,
  `KODE_DHPA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `HPA_ID` int(11) DEFAULT NULL,
  `KREDIT_DHPA` decimal(15,2) DEFAULT NULL,
  `TGL_DHPA` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_hpa`
--

INSERT INTO `detail_hpa` (`ID_DHPA`, `KODE_DHPA`, `KODE_BUKTI`, `HPA_ID`, `KREDIT_DHPA`, `TGL_DHPA`) VALUES
(2, 'DHPA/000001', 'KBBK/000008', 1, '150000.00', '2021-03-22'),
(4, 'DHPA/000002', 'KBKK/000008', 1, '50000.00', '2021-03-23');

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

--
-- Table structure for table `detail_kas`
--

CREATE TABLE `detail_kas` (
  `ID_DKAS` int(11) NOT NULL,
  `KODE_DKAS` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `KAS_ID` int(11) DEFAULT NULL,
  `DEBIT_DKAS` decimal(15,2) DEFAULT NULL,
  `KREDIT_DKAS` decimal(15,2) DEFAULT NULL,
  `TGL_DKAS` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_kas`
--

INSERT INTO `detail_kas` (`ID_DKAS`, `KODE_DKAS`, `KODE_BUKTI`, `KAS_ID`, `DEBIT_DKAS`, `KREDIT_DKAS`, `TGL_DKAS`) VALUES
(4, 'KAS/000001', 'KBBM/000002', 1, NULL, '2000000.00', '2021-03-19'),
(6, 'KAS/000002', 'KBKM/000001', 1, NULL, '150000.00', '2021-03-19'),
(8, 'KAS/000003', 'KBBK/000001', 2, '200000.00', NULL, '2021-03-20'),
(10, 'KAS/000004', 'KBKK/000001', 2, '100000.00', NULL, '2021-03-23');

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

--
-- Table structure for table `detail_pda`
--

CREATE TABLE `detail_pda` (
  `ID_DPDA` int(11) NOT NULL,
  `KODE_DPDA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `PDA_ID` int(11) DEFAULT NULL,
  `DEBIT_DPDA` decimal(15,2) DEFAULT NULL,
  `TGL_DPDA` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_pda`
--

INSERT INTO `detail_pda` (`ID_DPDA`, `KODE_DPDA`, `KODE_BUKTI`, `PDA_ID`, `DEBIT_DPDA`, `TGL_DPDA`) VALUES
(2, 'DPDA/000001', 'KBKM/000003', 1, '300000.00', '2021-03-19');

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

--
-- Table structure for table `detail_pkar`
--

CREATE TABLE `detail_pkar` (
  `ID_DPKAR` int(11) NOT NULL,
  `KODE_DPKAR` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `PKAR_ID` int(11) DEFAULT NULL,
  `DEBIT_DPKAR` decimal(15,2) DEFAULT NULL,
  `TGL_DPKAR` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_pkar`
--

INSERT INTO `detail_pkar` (`ID_DPKAR`, `KODE_DPKAR`, `KODE_BUKTI`, `PKAR_ID`, `DEBIT_DPKAR`, `TGL_DPKAR`) VALUES
(3, 'DPKAR/000001', 'KBBM/000004', 2, '250000.00', '2021-03-19'),
(5, 'DPKAR/000002', 'KBKM/000004', 2, '500000.00', '2021-03-19');

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

--
-- Table structure for table `detail_ppi`
--

CREATE TABLE `detail_ppi` (
  `ID_DPPI` int(11) NOT NULL,
  `KODE_DPPI` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `PPI_ID` int(11) DEFAULT NULL,
  `DEBIT_DPPI` decimal(15,2) DEFAULT NULL,
  `TGL_DPPI` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `detail_ppi`
--

INSERT INTO `detail_ppi` (`ID_DPPI`, `KODE_DPPI`, `KODE_BUKTI`, `PPI_ID`, `DEBIT_DPPI`, `TGL_DPPI`) VALUES
(1, 'DPPI/000001', 'KBBM/000005', 1, '200000.00', '2021-03-19'),
(2, 'DPPI/000002', 'KBKM/000005', 1, '250000.00', '2021-03-19');

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

--
-- Table structure for table `dvd`
--

CREATE TABLE `dvd` (
  `ID_DVD` int(11) NOT NULL,
  `NAMA_DVD` varchar(50) DEFAULT NULL,
  `TYPE_DVD` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `dvd`
--

INSERT INTO `dvd` (`ID_DVD`, `NAMA_DVD`, `TYPE_DVD`) VALUES
(1, 'None', 'None'),
(2, 'SAMSUNG 2,5\"', 'Eksternal');

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

--
-- Table structure for table `gudang`
--

CREATE TABLE `gudang` (
  `ID_GUDANG` int(11) NOT NULL,
  `NAMA_GUDANG` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `gudang`
--

INSERT INTO `gudang` (`ID_GUDANG`, `NAMA_GUDANG`) VALUES
(1, 'PCM | Ruko A6'),
(2, 'PCM | Ruko B7'),
(3, 'IT POINT THR'),
(4, 'PEMINJAMAN'),
(5, 'KONSINYASI'),
(6, 'SEWA');

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

--
-- Table structure for table `harga`
--

CREATE TABLE `harga` (
  `ID_HARGA` int(11) NOT NULL,
  `DPP_BELI_SATUAN` int(15) DEFAULT NULL,
  `DPP_BELI_TOTAL` int(15) DEFAULT NULL,
  `STATUS_PPN` varchar(30) DEFAULT NULL,
  `STATUS_BELI` varchar(30) DEFAULT NULL,
  `STOCK_ID` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `harga`
--

INSERT INTO `harga` (`ID_HARGA`, `DPP_BELI_SATUAN`, `DPP_BELI_TOTAL`, `STATUS_PPN`, `STATUS_BELI`, `STOCK_ID`) VALUES
(17, 140000000, 280000000, 'Exclude', 'Kredit', 16),
(19, 450000, 1350000, 'Exclude', 'Kontan', 12),
(20, 950000, 47500000, 'Include', 'Kontan', 40),
(21, 5600000, 5600000, 'Include', 'Kontan', 41),
(22, 5900000, 17700000, 'Include', 'Kontan', 42),
(23, 780000, 780000, 'Pemungut', 'Kredit', 43),
(24, 500000, 500000, 'Exclude', 'Kontan', 44),
(25, 5000000, 5000000, 'Kawasan Berikat', 'Kredit', 45),
(26, 250000, 250000, 'Include', 'Kontan', 46);

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

--
-- Table structure for table `hdd`
--

CREATE TABLE `hdd` (
  `ID_HDD` int(11) NOT NULL,
  `NAMA_HDD` varchar(50) DEFAULT NULL,
  `TYPE_HDD` varchar(30) DEFAULT NULL,
  `DIMENSI_HDD` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `hdd`
--

INSERT INTO `hdd` (`ID_HDD`, `NAMA_HDD`, `TYPE_HDD`, `DIMENSI_HDD`) VALUES
(1, 'SAMSUNG 500GB', 'SAS', '2,5 Inch'),
(2, 'DELL 500GB', 'SATA', '3,5 Inch'),
(7, 'HP 250GB', 'SAS', '2,5 Inch');

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

--
-- Table structure for table `hutang_bank`
--

CREATE TABLE `hutang_bank` (
  `ID_HBA` int(11) NOT NULL,
  `KODE_HBA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `BANK_ID` int(11) DEFAULT NULL,
  `NOMINAL_HBA` decimal(15,2) DEFAULT NULL,
  `BLOCKCON` decimal(15,2) DEFAULT NULL,
  `TGL_HBA` date DEFAULT current_timestamp(),
  `STATUS_HBA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `hutang_bank`
--

INSERT INTO `hutang_bank` (`ID_HBA`, `KODE_HBA`, `KODE_BUKTI`, `BANK_ID`, `NOMINAL_HBA`, `BLOCKCON`, `TGL_HBA`, `STATUS_HBA`) VALUES
(2, 'HBA/000001', 'KBBM/000006', 2, '6250000.00', '750000.00', '2021-03-19', NULL);

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

--
-- Table structure for table `hutang_dagang`
--

CREATE TABLE `hutang_dagang` (
  `ID_HDA` int(11) NOT NULL,
  `KODE_HDA` varchar(30) DEFAULT NULL,
  `PEMBELIAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_HDA` decimal(15,2) DEFAULT NULL,
  `BLOCKCON` decimal(15,2) DEFAULT NULL,
  `TGL_HDA` date DEFAULT current_timestamp(),
  `STATUS_HDA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `hutang_dagang`
--

INSERT INTO `hutang_dagang` (`ID_HDA`, `KODE_HDA`, `PEMBELIAN_ID`, `NOMINAL_HDA`, `BLOCKCON`, `TGL_HDA`, `STATUS_HDA`) VALUES
(1, 'HDA000001', 12, '550000.00', '450000.00', '2021-03-02', NULL);

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

--
-- Table structure for table `hutang_lain`
--

CREATE TABLE `hutang_lain` (
  `ID_HLA` int(11) NOT NULL,
  `KODE_HLA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `NOMINAL_HLA` decimal(15,2) DEFAULT NULL,
  `BLOCKCON` decimal(15,2) DEFAULT NULL,
  `KET_HLA` varchar(50) DEFAULT NULL,
  `TGL_HLA` date DEFAULT current_timestamp(),
  `STATUS_HLA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `hutang_lain`
--

INSERT INTO `hutang_lain` (`ID_HLA`, `KODE_HLA`, `KODE_BUKTI`, `NOMINAL_HLA`, `BLOCKCON`, `KET_HLA`, `TGL_HLA`, `STATUS_HLA`) VALUES
(2, 'HLA/000001', 'KBBM/000007', '300000.00', '0.00', 'Dari Bp Siapa', '2021-03-19', NULL),
(4, 'HLA/000002', 'KBKM/000006', '300000.00', '100000.00', 'Percobaan Alami', '2021-03-19', NULL);

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

--
-- Table structure for table `hutang_pajak`
--

CREATE TABLE `hutang_pajak` (
  `ID_HPA` int(11) NOT NULL,
  `KODE_HPA` varchar(30) DEFAULT NULL,
  `PAJAK_ID` int(11) DEFAULT NULL,
  `NOMINAL_HPA` decimal(15,2) DEFAULT NULL,
  `BLOCKCON` decimal(15,2) DEFAULT NULL,
  `TGL_HPA` date DEFAULT current_timestamp(),
  `STATUS_HPA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `hutang_pajak`
--

INSERT INTO `hutang_pajak` (`ID_HPA`, `KODE_HPA`, `PAJAK_ID`, `NOMINAL_HPA`, `BLOCKCON`, `TGL_HPA`, `STATUS_HPA`) VALUES
(1, 'HPA/000001', 1, '200000.00', '200000.00', '2021-03-22', NULL);

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

--
-- Table structure for table `jabatan`
--

CREATE TABLE `jabatan` (
  `ID_JABATAN` int(11) NOT NULL,
  `NAMA_JABATAN` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `jabatan`
--

INSERT INTO `jabatan` (`ID_JABATAN`, `NAMA_JABATAN`) VALUES
(1, 'ADMIN'),
(2, 'TEKNISI'),
(3, 'GUDANG'),
(4, 'SALES');

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

--
-- Table structure for table `jenis`
--

CREATE TABLE `jenis` (
  `ID_JENIS` int(11) NOT NULL,
  `NAMA_JENIS` varchar(50) DEFAULT NULL,
  `TYPE_JENIS` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `jenis`
--

INSERT INTO `jenis` (`ID_JENIS`, `NAMA_JENIS`, `TYPE_JENIS`) VALUES
(1, 'PC (Personal Computer)', 'SN'),
(2, 'NB (Notebook)', 'SN'),
(3, 'AIO (All In One)', 'SN'),
(4, 'Workstation', 'SN'),
(5, 'Server', 'SN'),
(6, 'Processor', 'NON-SN'),
(7, 'RAM', 'NON-SN'),
(8, 'SSD', 'NON-SN'),
(9, 'HDD', 'NON-SN'),
(10, 'VGA', 'NON-SN'),
(11, 'License', 'SN'),
(12, 'DVD', 'NON-SN'),
(13, 'RAID Card', 'NON-SN'),
(14, 'Access Point', 'NON-SN');

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

--
-- Table structure for table `karyawan`
--

CREATE TABLE `karyawan` (
  `ID_KARYAWAN` int(11) NOT NULL,
  `JABATAN_ID` int(11) DEFAULT NULL,
  `NAMA_KARYAWAN` varchar(50) NOT NULL,
  `NAMA_PANGGILAN_KARYAWAN` varchar(10) DEFAULT NULL,
  `USERNAME` varchar(16) NOT NULL,
  `PASSWORD` varchar(16) NOT NULL,
  `HUTANG_KARYAWAN` decimal(15,2) DEFAULT NULL,
  `TGLLHR_KARYAWAN` date DEFAULT NULL,
  `KOTA_KARYAWAN` varchar(25) DEFAULT NULL,
  `JK_KARYAWAN` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `karyawan`
--

INSERT INTO `karyawan` (`ID_KARYAWAN`, `JABATAN_ID`, `NAMA_KARYAWAN`, `NAMA_PANGGILAN_KARYAWAN`, `USERNAME`, `PASSWORD`, `HUTANG_KARYAWAN`, `TGLLHR_KARYAWAN`, `KOTA_KARYAWAN`, `JK_KARYAWAN`) VALUES
(1, 1, 'Administrator', 'Admin', 'admin', '1234qweR', '0.00', NULL, NULL, NULL),
(2, 2, 'Anugrah', 'Anugrah', 'anugrah', '1234qweR', '300000.00', NULL, NULL, NULL),
(3, 3, 'Gudang', 'Gudang', 'gudang', '1234qweR', '0.00', NULL, NULL, NULL),
(4, 4, 'Iwan', 'Iwan', 'iwan', '1234qweR', '1400000.00', NULL, NULL, NULL);

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

--
-- Table structure for table `kas`
--

CREATE TABLE `kas` (
  `ID_KAS` int(11) NOT NULL,
  `KODE_KAS` varchar(30) DEFAULT NULL,
  `NAMA_KAS` varchar(50) DEFAULT NULL,
  `SALDO_KAS` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kas`
--

INSERT INTO `kas` (`ID_KAS`, `KODE_KAS`, `NAMA_KAS`, `SALDO_KAS`) VALUES
(1, 'KASPCM', 'PC MASTER', '12850000.00'),
(2, 'KASOVO', 'OVO PC MASTER', '4300000.00');

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

--
-- Table structure for table `kasbank_bk`
--

CREATE TABLE `kasbank_bk` (
  `ID_KBBK` int(11) NOT NULL,
  `KODE_KBBK` varchar(30) DEFAULT NULL,
  `BANKKELUAR_ID` int(11) DEFAULT NULL,
  `PERKIRAAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_KBBK` decimal(15,2) DEFAULT NULL,
  `TGL_KBBK` date DEFAULT current_timestamp(),
  `KET_KBBK` varchar(50) DEFAULT NULL,
  `DKAS_ID` int(11) DEFAULT NULL,
  `DBANK_ID` int(11) DEFAULT NULL,
  `DDPB_ID` int(11) DEFAULT NULL,
  `DDPP_ID` int(11) DEFAULT NULL,
  `PKAR_ID` int(11) DEFAULT NULL,
  `PPI_ID` int(11) DEFAULT NULL,
  `DHDA_ID` int(11) DEFAULT NULL,
  `DHPA_ID` int(11) DEFAULT NULL,
  `DHBA_ID` int(11) DEFAULT NULL,
  `DHLA_ID` int(11) DEFAULT NULL,
  `DBF_ID` int(11) DEFAULT NULL,
  `DBP_ID` int(11) DEFAULT NULL,
  `DBB_ID` int(11) DEFAULT NULL,
  `DBSK_ID` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kasbank_bk`
--

INSERT INTO `kasbank_bk` (`ID_KBBK`, `KODE_KBBK`, `BANKKELUAR_ID`, `PERKIRAAN_ID`, `NOMINAL_KBBK`, `TGL_KBBK`, `KET_KBBK`, `DKAS_ID`, `DBANK_ID`, `DDPB_ID`, `DDPP_ID`, `PKAR_ID`, `PPI_ID`, `DHDA_ID`, `DHPA_ID`, `DHBA_ID`, `DHLA_ID`, `DBF_ID`, `DBP_ID`, `DBB_ID`, `DBSK_ID`) VALUES
(1, 'KBBK/000001', 1, 1, '200000.00', '2021-03-20', 'A1', 8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'KBBK/000002', 1, 2, '200000.00', '2021-03-20', 'A2', NULL, 8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(3, 'KBBK/000003', 1, 7, '200000.00', '2021-03-20', 'A3', NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4, 'KBBK/000004', 1, 8, '200000.00', '2021-03-20', 'A4', NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5, 'KBBK/000005', 1, 5, '200000.00', '2021-03-22', 'A5', NULL, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(6, 'KBBK/000006', 1, 6, '200000.00', '2021-03-22', 'A6', NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(7, 'KBBK/000007', 1, 15, '150000.00', '2021-03-22', 'A7', NULL, NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(8, 'KBBK/000008', 1, 16, '150000.00', '2021-03-22', 'A8', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL),
(9, 'KBBK/000009', 1, 17, '250000.00', '2021-03-22', 'A9', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL),
(10, 'KBBK/000010', 1, 18, '50000.00', '2021-03-22', 'A10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL),
(11, 'KBBK/000011', 1, 31, '50000.00', '2021-03-22', 'A11', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 9, NULL, NULL),
(12, 'KBBK/000012', 1, 33, '50000.00', '2021-03-22', 'A12', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL),
(13, 'KBBK/000013', 1, 32, '100000.00', '2021-03-22', 'A13', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2),
(14, 'KBBK/000014', 1, 63, '100000.00', '2021-03-22', 'A14', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL),
(15, 'KBBK/000015', NULL, 1, NULL, '2021-03-23', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `kasbank_bm`
--

CREATE TABLE `kasbank_bm` (
  `ID_KBBM` int(11) NOT NULL,
  `KODE_KBBM` varchar(20) DEFAULT NULL,
  `BANKMASUK_ID` int(11) DEFAULT NULL,
  `PERKIRAAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_KBBM` decimal(15,2) DEFAULT NULL,
  `TGL_KBBM` date DEFAULT current_timestamp(),
  `KET_KBBM` varchar(50) DEFAULT NULL,
  `DKAS_ID` int(11) DEFAULT NULL,
  `DBANK_ID` int(11) DEFAULT NULL,
  `DDPJ_ID` int(11) DEFAULT NULL,
  `HBA_ID` int(11) DEFAULT NULL,
  `HLA_ID` int(11) DEFAULT NULL,
  `DPKAR_ID` int(11) DEFAULT NULL,
  `DPPI_ID` int(11) DEFAULT NULL,
  `DPDA_ID` int(11) DEFAULT NULL,
  `DBP_ID` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kasbank_bm`
--

INSERT INTO `kasbank_bm` (`ID_KBBM`, `KODE_KBBM`, `BANKMASUK_ID`, `PERKIRAAN_ID`, `NOMINAL_KBBM`, `TGL_KBBM`, `KET_KBBM`, `DKAS_ID`, `DBANK_ID`, `DDPJ_ID`, `HBA_ID`, `HLA_ID`, `DPKAR_ID`, `DPPI_ID`, `DPDA_ID`, `DBP_ID`) VALUES
(1, 'KBBM/000001', 1, 2, '1250000.00', '2021-03-18', 'Ujicoba 1', NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'KBBM/000002', 1, 1, '2000000.00', '2021-03-19', 'Ujicoba 2', 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(3, 'KBBM/000003', 1, 3, '1000000.00', '2021-03-19', 'Ujicoba 3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, NULL),
(4, 'KBBM/000004', 1, 5, '250000.00', '2021-03-19', 'Ujicoba 4', NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL),
(5, 'KBBM/000005', 1, 6, '200000.00', '2021-03-19', 'Ujicoba 5', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL),
(6, 'KBBM/000006', 1, 17, '6250000.00', '2021-03-19', 'Ujicoba 6', NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL),
(7, 'KBBM/000007', 1, 18, '300000.00', '2021-03-19', 'Ujicoba 7', NULL, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL),
(8, 'KBBM/000008', 1, 19, '200000.00', '2021-03-19', 'Ujicoba 8', NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL),
(9, 'KBBM/000009', 1, 31, '800000.00', '2021-03-19', 'Ujicoba 9', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5);

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

--
-- Table structure for table `kasbank_kk`
--

CREATE TABLE `kasbank_kk` (
  `ID_KBKK` int(11) NOT NULL,
  `KODE_KBKK` varchar(30) DEFAULT NULL,
  `KASKELUAR_ID` int(11) DEFAULT NULL,
  `PERKIRAAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_KBKK` decimal(15,2) DEFAULT NULL,
  `TGL_KBKK` date DEFAULT current_timestamp(),
  `KET_KBKK` varchar(50) DEFAULT NULL,
  `DKAS_ID` int(11) DEFAULT NULL,
  `DBANK_ID` int(11) DEFAULT NULL,
  `DDPB_ID` int(11) DEFAULT NULL,
  `DDPP_ID` int(11) DEFAULT NULL,
  `PKAR_ID` int(11) DEFAULT NULL,
  `PPI_ID` int(11) DEFAULT NULL,
  `DHDA_ID` int(11) DEFAULT NULL,
  `DHPA_ID` int(11) DEFAULT NULL,
  `DHBA_ID` int(11) DEFAULT NULL,
  `DHLA_ID` int(11) DEFAULT NULL,
  `DBF_ID` int(11) DEFAULT NULL,
  `DBP_ID` int(11) DEFAULT NULL,
  `DBB_ID` int(11) DEFAULT NULL,
  `DBSK_ID` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kasbank_kk`
--

INSERT INTO `kasbank_kk` (`ID_KBKK`, `KODE_KBKK`, `KASKELUAR_ID`, `PERKIRAAN_ID`, `NOMINAL_KBKK`, `TGL_KBKK`, `KET_KBKK`, `DKAS_ID`, `DBANK_ID`, `DDPB_ID`, `DDPP_ID`, `PKAR_ID`, `PPI_ID`, `DHDA_ID`, `DHPA_ID`, `DHBA_ID`, `DHLA_ID`, `DBF_ID`, `DBP_ID`, `DBB_ID`, `DBSK_ID`) VALUES
(1, 'KBKK/000001', 2, 1, '100000.00', '2021-03-23', 'B1', 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'KBKK/000002', 2, 2, '100000.00', '2021-03-23', 'B2', NULL, 11, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(3, 'KBKK/000003', 2, 5, '100000.00', '2021-03-23', 'B3', NULL, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4, 'KBKK/000004', 2, 6, '250000.00', '2021-03-23', 'B4', NULL, NULL, NULL, NULL, NULL, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5, 'KBKK/000005', 2, 7, '500000.00', '2021-03-23', 'B5', NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(6, 'KBKK/000006', 2, 8, '200000.00', '2021-03-23', 'B6', NULL, NULL, NULL, 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(7, 'KBKK/000007', 2, 15, '300000.00', '2021-03-23', 'B7', NULL, NULL, NULL, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(8, 'KBKK/000008', 2, 16, '50000.00', '2021-03-23', 'B8', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(9, 'KBKK/000009', 2, 17, '500000.00', '2021-03-23', 'B9', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL),
(10, 'KBKK/000010', 2, 18, '50000.00', '2021-03-23', 'B10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL),
(11, 'KBKK/000011', 2, 31, '250000.00', '2021-03-23', 'B11', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL),
(12, 'KBKK/000012', 2, 32, '20000.00', '2021-03-23', 'B12', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3),
(13, 'KBKK/000013', 2, 33, '30000.00', '2021-03-23', 'B13', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL),
(14, 'KBKK/000014', 2, 63, '50000.00', '2021-03-23', 'B14', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7, NULL, NULL, NULL);

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

--
-- Table structure for table `kasbank_km`
--

CREATE TABLE `kasbank_km` (
  `ID_KBKM` int(11) NOT NULL,
  `KODE_KBKM` varchar(30) DEFAULT NULL,
  `KASMASUK_ID` int(11) DEFAULT NULL,
  `PERKIRAAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_KBKM` decimal(15,2) DEFAULT NULL,
  `TGL_KBKM` date DEFAULT current_timestamp(),
  `KET_KBKM` varchar(50) DEFAULT NULL,
  `DKAS_ID` int(11) DEFAULT NULL,
  `DBANK_ID` int(11) DEFAULT NULL,
  `DDPJ_ID` int(11) DEFAULT NULL,
  `HLA_ID` int(11) DEFAULT NULL,
  `DPKAR_ID` int(11) DEFAULT NULL,
  `DPPI_ID` int(11) DEFAULT NULL,
  `DPDA_ID` int(11) DEFAULT NULL,
  `DBP_ID` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kasbank_km`
--

INSERT INTO `kasbank_km` (`ID_KBKM`, `KODE_KBKM`, `KASMASUK_ID`, `PERKIRAAN_ID`, `NOMINAL_KBKM`, `TGL_KBKM`, `KET_KBKM`, `DKAS_ID`, `DBANK_ID`, `DDPJ_ID`, `HLA_ID`, `DPKAR_ID`, `DPPI_ID`, `DPDA_ID`, `DBP_ID`) VALUES
(1, 'KBKM/000001', 1, 1, '150000.00', '2021-03-19', 'Ty 1', 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'KBKM/000002', 1, 2, '200000.00', '2021-03-19', 'Ty 2', NULL, 6, NULL, NULL, NULL, NULL, NULL, NULL),
(3, 'KBKM/000003', 1, 3, '300000.00', '2021-03-19', 'Ty 3', NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL),
(4, 'KBKM/000004', 1, 5, '500000.00', '2021-03-19', 'Ty 4', NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL),
(5, 'KBKM/000005', 1, 6, '250000.00', '2021-03-19', 'Ty 5', NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL),
(6, 'KBKM/000006', 1, 18, '300000.00', '2021-03-19', 'Ty 6', NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL),
(7, 'KBKM/000007', 1, 19, '2200000.00', '2021-03-19', 'Ty 7', NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL),
(8, 'KBKM/000008', 1, 31, '100000.00', '2021-03-19', 'Ty 8', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7);

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

--
-- Table structure for table `kaskeluar`
--

CREATE TABLE `kaskeluar` (
  `ID_KASKELUAR` int(11) NOT NULL,
  `KODE_KASKELUAR` varchar(30) DEFAULT NULL,
  `KAS_ID` int(11) DEFAULT NULL,
  `KREDIT_KASKELUAR` decimal(15,2) DEFAULT NULL,
  `DEBIT_KASKELUAR` decimal(15,2) DEFAULT NULL,
  `TGL_KASKELUAR` date DEFAULT current_timestamp(),
  `STATUS_KASKELUAR` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kaskeluar`
--

INSERT INTO `kaskeluar` (`ID_KASKELUAR`, `KODE_KASKELUAR`, `KAS_ID`, `KREDIT_KASKELUAR`, `DEBIT_KASKELUAR`, `TGL_KASKELUAR`, `STATUS_KASKELUAR`) VALUES
(2, 'KKK/000001', 1, '2500000.00', '2500000.00', '2021-03-22', NULL);

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

--
-- Table structure for table `kasmasuk`
--

CREATE TABLE `kasmasuk` (
  `ID_KASMASUK` int(11) NOT NULL,
  `KODE_KASMASUK` varchar(30) DEFAULT NULL,
  `KAS_ID` int(11) DEFAULT NULL,
  `DEBIT_KASMASUK` decimal(15,2) DEFAULT NULL,
  `KREDIT_KASMASUK` decimal(15,2) DEFAULT NULL,
  `TGL_KASMASUK` date DEFAULT current_timestamp(),
  `STATUS_KASMASUK` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kasmasuk`
--

INSERT INTO `kasmasuk` (`ID_KASMASUK`, `KODE_KASMASUK`, `KAS_ID`, `DEBIT_KASMASUK`, `KREDIT_KASMASUK`, `TGL_KASMASUK`, `STATUS_KASMASUK`) VALUES
(1, 'BKM/000001', 2, '4000000.00', '4000000.00', '2021-03-19', NULL);

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

--
-- Table structure for table `kelompok`
--

CREATE TABLE `kelompok` (
  `ID_KELOMPOK` int(11) NOT NULL,
  `NAUNGAN_ID` int(11) DEFAULT NULL,
  `TYPE_KELOMPOK` varchar(30) DEFAULT NULL,
  `STATUS_KELOMPOK` varchar(30) DEFAULT NULL,
  `ANGGOTA_ID` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `kendaraan`
--

CREATE TABLE `kendaraan` (
  `ID_KENDARAAN` int(11) NOT NULL,
  `TYPE_KENDARAAN` varchar(30) DEFAULT NULL,
  `NAMA_KENDARAAN` varchar(50) DEFAULT NULL,
  `NOPOL_KENDARAAN` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kendaraan`
--

INSERT INTO `kendaraan` (`ID_KENDARAAN`, `TYPE_KENDARAAN`, `NAMA_KENDARAAN`, `NOPOL_KENDARAAN`) VALUES
(1, 'Motor', 'Supra X 125 Hitam', 'L 2091 HM');

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

--
-- Table structure for table `km`
--

CREATE TABLE `km` (
  `ID_KM` int(11) NOT NULL,
  `NAMA_KM` varchar(50) DEFAULT NULL,
  `TYPE_KM` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `km`
--

INSERT INTO `km` (`ID_KM`, `NAMA_KM`, `TYPE_KM`) VALUES
(1, 'DELL Inspiron 3480, SN JHK98K2', 'Internal');

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

--
-- Table structure for table `komisi`
--

CREATE TABLE `komisi` (
  `ID_KOMISI` int(11) NOT NULL,
  `NAMA_KOMISI` varchar(50) DEFAULT NULL,
  `NILAI_KOMISI` decimal(11,3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `komisi`
--

INSERT INTO `komisi` (`ID_KOMISI`, `NAMA_KOMISI`, `NILAI_KOMISI`) VALUES
(1, 'Consumer', '0.002'),
(2, 'Enterprise', '0.005'),
(3, 'Service', '0.020'),
(4, 'Retail', '0.001'),
(5, 'GP', NULL);

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

--
-- Table structure for table `kota`
--

CREATE TABLE `kota` (
  `ID_KOTA` int(11) NOT NULL,
  `NAMA_KOTA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `kota`
--

INSERT INTO `kota` (`ID_KOTA`, `NAMA_KOTA`) VALUES
(1, 'Surabaya'),
(2, 'Jakarta'),
(3, 'Madiun');

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

--
-- Table structure for table `layar`
--

CREATE TABLE `layar` (
  `ID_LAYAR` int(11) NOT NULL,
  `TYPE_LAYAR` varchar(50) DEFAULT NULL,
  `TOUCH_READY` varchar(20) DEFAULT NULL,
  `NAMA_LAYAR` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `layar`
--

INSERT INTO `layar` (`ID_LAYAR`, `TYPE_LAYAR`, `TOUCH_READY`, `NAMA_LAYAR`) VALUES
(1, 'Notebook', 'Non-Touch', 'Spesifikasi Standard'),
(2, 'Notebook', 'Touchscreen', 'Spesifikasi Standard'),
(3, 'All In One', 'Non-Touch', 'Spesifikasi Standard'),
(4, 'All In One', 'Touchscreen', 'Spesifikasi Standard'),
(5, 'Notebook', 'Non-Touch', 'Inspiron 3480');

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

--
-- Table structure for table `naungan`
--

CREATE TABLE `naungan` (
  `ID_NAUNGAN` int(11) NOT NULL,
  `NAMA_NAUNGAN` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `naungan`
--

INSERT INTO `naungan` (`ID_NAUNGAN`, `NAMA_NAUNGAN`) VALUES
(1, 'Samator Group'),
(2, 'Meratus Group');

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

--
-- Table structure for table `os`
--

CREATE TABLE `os` (
  `ID_OS` int(11) NOT NULL,
  `NAMA_OS` varchar(50) DEFAULT NULL,
  `TYPE_OS` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `os`
--

INSERT INTO `os` (`ID_OS`, `NAMA_OS`, `TYPE_OS`) VALUES
(1, 'Clear OS', 'DOS/LINUX'),
(2, 'Server 2008 R2', 'WINDOWS');

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

--
-- Table structure for table `pajak`
--

CREATE TABLE `pajak` (
  `ID_PAJAK` int(11) NOT NULL,
  `KODE_PAJAK` varchar(30) DEFAULT NULL,
  `NAMA_PAJAK` varchar(50) DEFAULT NULL,
  `SALDO_PAJAK` decimal(15,2) DEFAULT NULL,
  `HUTANG_PAJAK` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `pajak`
--

INSERT INTO `pajak` (`ID_PAJAK`, `KODE_PAJAK`, `NAMA_PAJAK`, `SALDO_PAJAK`, `HUTANG_PAJAK`) VALUES
(1, 'NPWP2910938291028298', 'PKP PT. Triperwira Multi Pamenang', '1100000.00', '0.00');

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

--
-- Table structure for table `pelanggan`
--

CREATE TABLE `pelanggan` (
  `ID_PELANGGAN` int(11) NOT NULL,
  `NAMA_PELANGGAN` varchar(50) DEFAULT NULL,
  `NAMA_PERUSAHAAN` varchar(50) DEFAULT NULL,
  `ALAMAT_PELANGGAN` varchar(50) DEFAULT NULL,
  `TYPE_PELANGGAN` varchar(30) DEFAULT NULL,
  `KOTA_ID` int(11) DEFAULT NULL,
  `TELP_PELANGGAN` varchar(50) DEFAULT NULL,
  `SALDO_PELANGGAN` decimal(15,2) DEFAULT NULL,
  `HUTANG_PELANGGAN` decimal(15,2) DEFAULT NULL,
  `LIMIT_PELANGGAN` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `pelanggan`
--

INSERT INTO `pelanggan` (`ID_PELANGGAN`, `NAMA_PELANGGAN`, `NAMA_PERUSAHAAN`, `ALAMAT_PELANGGAN`, `TYPE_PELANGGAN`, `KOTA_ID`, `TELP_PELANGGAN`, `SALDO_PELANGGAN`, `HUTANG_PELANGGAN`, `LIMIT_PELANGGAN`) VALUES
(1, 'Anugrah', NULL, '', 'Dealer', 1, '', '2200000.00', '-550000.00', '100000000.00'),
(2, 'Agung', 'PT Anugrah Sejahtera', 'Surabaya', 'User', 2, '0815645862', '200000.00', '0.00', '25000000.00');

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

--
-- Table structure for table `pembelian`
--

CREATE TABLE `pembelian` (
  `ID_PEMBELIAN` int(11) NOT NULL,
  `KODE_PEMBELIAN` varchar(30) DEFAULT NULL,
  `SJ_PEMBELIAN` varchar(50) DEFAULT NULL,
  `TGL_SJBELI` date DEFAULT NULL,
  `SUPPLIER_ID` int(11) DEFAULT NULL,
  `INVOICE_PEMBELIAN` varchar(50) DEFAULT NULL,
  `TGL_INVOICEBELI` date DEFAULT NULL,
  `STATUS_PEMBELIAN` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `pembelian`
--

INSERT INTO `pembelian` (`ID_PEMBELIAN`, `KODE_PEMBELIAN`, `SJ_PEMBELIAN`, `TGL_SJBELI`, `SUPPLIER_ID`, `INVOICE_PEMBELIAN`, `TGL_INVOICEBELI`, `STATUS_PEMBELIAN`) VALUES
(1, NULL, 'SJ/2000/192KNM', '2021-01-26', 1, NULL, NULL, NULL),
(4, NULL, 'SJ/2001/192KNM', '2021-01-26', 1, 'INV/30112021/PCMB', '2021-01-30', 'INVOICE SUDAH PROSES'),
(5, NULL, 'SJ/2002/192KNM', '2021-01-29', 1, 'INV/30122021/PCMKB', '2021-01-29', 'INVOICE SUDAH PROSES'),
(6, NULL, 'MENCOBA/2020', '2021-01-31', 2, NULL, NULL, NULL),
(7, NULL, 'SEMUANYA/MENCOBA', '2021-02-01', 2, 'INV/02022021/PCM', '2021-02-02', 'INVOICE SUDAH PROSES'),
(8, NULL, 'RURURIRI/2020', '2021-02-02', 2, 'INV/30112021/TMAAN', '2021-02-02', 'INVOICE SUDAH PROSES'),
(9, NULL, 'SDJKLAHSDAHDA', '2021-02-05', 3, 'INV/09022021/TMAAN', '2021-02-09', 'INVOICE SUDAH PROSES'),
(10, 'PIU/000009', 'SDAL/9221/SBY/2KAU', '2021-02-09', 3, 'INV/30112021/KUKIKU', '2021-02-09', 'SJ SUDAH PROSES'),
(11, 'PIU/000011', 'DSAJL/291832/92EWADJS', '2021-02-09', 2, 'INV/02817/LSJQU', '2021-02-09', 'INVOICE SUDAH PROSES'),
(12, 'PB/000012', 'KSOQ08L/KJW', '2021-02-09', 3, '839LSAH/9720/91A', '2021-02-09', 'INVOICE SUDAH PROSES');

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

--
-- Table structure for table `penjualan`
--

CREATE TABLE `penjualan` (
  `ID_PENJUALAN` int(11) NOT NULL,
  `KODE_PENJUALAN` varchar(30) DEFAULT NULL,
  `SALES_ID` int(11) DEFAULT NULL,
  `PELANGGAN_ID` int(11) DEFAULT NULL,
  `PO_PENJUALAN` varchar(50) DEFAULT NULL,
  `SALES_ORDER` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `penjualan`
--

INSERT INTO `penjualan` (`ID_PENJUALAN`, `KODE_PENJUALAN`, `SALES_ID`, `PELANGGAN_ID`, `PO_PENJUALAN`, `SALES_ORDER`) VALUES
(1, 'PJ/000001', 4, 1, 'PO/31012021/PAS', NULL);

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

--
-- Table structure for table `perkiraan`
--

CREATE TABLE `perkiraan` (
  `ID_PERKIRAAN` int(11) NOT NULL,
  `KODE_PERKIRAAN` int(11) DEFAULT NULL,
  `NAMA_PERKIRAAN` varchar(55) DEFAULT NULL,
  `TYPE_PERKIRAAN` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `perkiraan`
--

INSERT INTO `perkiraan` (`ID_PERKIRAAN`, `KODE_PERKIRAAN`, `NAMA_PERKIRAAN`, `TYPE_PERKIRAAN`) VALUES
(1, 1110, 'Kas dan Setara Kas', 'AKTIVA LANCAR'),
(2, 1120, 'Bank', 'AKTIVA LANCAR'),
(3, 1130, 'Piutang Dagang', 'AKTIVA LANCAR'),
(4, 1140, 'Persediaan', 'AKTIVA LANCAR'),
(5, 1150, 'Piutang Karyawan', 'AKTIVA LANCAR'),
(6, 1160, 'Piutang Pihak Ke3', 'AKTIVA LANCAR'),
(7, 1170, 'Uang Muka Pembelian', 'AKTIVA LANCAR'),
(8, 1180, 'Pajak Dibayar Dimuka', 'AKTIVA LANCAR'),
(9, 1210, 'Inventaris Kantor', 'AKTIVA TETAP'),
(10, 1211, 'Total Nilai Sisa Buku Inventaris Ktr', 'AKTIVA TETAP'),
(11, 1220, 'Ruko Mangga Dua', 'AKTIVA TETAP'),
(12, 1221, 'Total Nilai Sisa Buku Gedung Bangunan', 'AKTIVA TETAP'),
(13, 1230, 'Kendaraan', 'AKTIVA TETAP'),
(14, 1231, 'Total Nilai Sisa Buku Kendaraan', 'AKTIVA TETAP'),
(15, 2110, 'Hutang Dagang', 'KEWAJIBAN LANCAR'),
(16, 2120, 'Hutang Pajak', 'KEWAJIBAN LANCAR'),
(17, 2130, 'Hutang Bank', 'KEWAJIBAN LANCAR'),
(18, 2140, 'Hutang Lainnya', 'KEWAJIBAN LANCAR'),
(19, 2150, 'Uang Muka Penjualan', 'KEWAJIBAN LANCAR'),
(20, 3100, 'Modal', 'MODAL'),
(21, 3200, 'Akumulasi Laba Ditahan', 'MODAL'),
(22, 3210, 'Laba Thn. Berjalan', 'MODAL'),
(23, 4110, 'Penjualan', 'PENDAPATAN PENJUALAN'),
(24, 4130, 'Potongan / Diskon Penjualan', 'PENDAPATAN PENJUALAN'),
(25, 5100, 'Persediaan', 'HARGA POKOK PENJUALAN'),
(26, 5120, 'Pembelian', 'HARGA POKOK PENJUALAN'),
(27, 5121, 'Retur Pembelian', 'HARGA POKOK PENJUALAN'),
(28, 5122, 'Potongan Pembelian', 'HARGA POKOK PENJUALAN'),
(29, 5130, 'Persediaan Akhir', 'HARGA POKOK PENJUALAN'),
(30, 6101, 'Biaya Operasional', 'BIAYA PENJUALAN'),
(31, 6102, 'Biaya Pengiriman', 'BIAYA PENJUALAN'),
(32, 6103, 'Biaya Service Kendaraan', 'BIAYA PENJUALAN'),
(33, 6104, 'Biaya Bensin', 'BIAYA PENJUALAN'),
(34, 6105, 'Biaya Parkir Umum', 'BIAYA PENJUALAN'),
(35, 6106, 'Biaya Sparepart', 'BIAYA PENJUALAN'),
(36, 6107, 'Biaya Kebutuhan Service', 'BIAYA PENJUALAN'),
(37, 6201, 'Biaya Gaji / THR', 'BIAYA UMUM DAN ADMINISTRASI'),
(38, 6202, 'Biaya Pajak PPh Psl 21', 'BIAYA UMUM DAN ADMINISTRASI'),
(39, 6203, 'Biaya Incentive', 'BIAYA UMUM DAN ADMINISTRASI'),
(40, 6204, 'Biaya PLN', 'BIAYA UMUM DAN ADMINISTRASI'),
(41, 6205, 'Biaya Telepon', 'BIAYA UMUM DAN ADMINISTRASI'),
(42, 6206, 'Biaya Internet', 'BIAYA UMUM DAN ADMINISTRASI'),
(43, 6207, 'Biaya PDAM', 'BIAYA UMUM DAN ADMINISTRASI'),
(44, 6208, 'Biaya Service Charge Mangga Dua', 'BIAYA UMUM DAN ADMINISTRASI'),
(45, 6209, 'Biaya Parkir Karyawan Mangga Dua', 'BIAYA UMUM DAN ADMINISTRASI'),
(46, 6210, 'Biaya Konsultan Pajak', 'BIAYA UMUM DAN ADMINISTRASI'),
(47, 6211, 'Biaya ATK', 'BIAYA UMUM DAN ADMINISTRASI'),
(48, 6212, 'Biaya Materai', 'BIAYA UMUM DAN ADMINISTRASI'),
(49, 6213, 'Biaya Fotocopy', 'BIAYA UMUM DAN ADMINISTRASI'),
(50, 6214, 'Biaya Majalah Komputer, Buku dll', 'BIAYA UMUM DAN ADMINISTRASI'),
(51, 6215, 'Biaya Cetak (Stempel, Kartu Nama, Kertas Kont B55dll)', 'BIAYA UMUM DAN ADMINISTRASI'),
(52, 6216, 'Biaya Surat Referensi, Jaminan, dll', 'BIAYA UMUM DAN ADMINISTRASI'),
(53, 6217, 'Biaya Kebutuhan Kantor', 'BIAYA UMUM DAN ADMINISTRASI'),
(54, 6218, 'Biaya Service Luar', 'BIAYA UMUM DAN ADMINISTRASI'),
(55, 6219, 'Biaya Tol', 'BIAYA UMUM DAN ADMINISTRASI'),
(56, 6220, 'Biaya Service AC', 'BIAYA UMUM DAN ADMINISTRASI'),
(57, 6221, 'Biaya Pajak Kendaraan', 'BIAYA UMUM DAN ADMINISTRASI'),
(58, 6222, 'Biaya Sumbangan dll', 'BIAYA UMUM DAN ADMINISTRASI'),
(59, 6223, 'Biaya Entertain', 'BIAYA UMUM DAN ADMINISTRASI'),
(60, 6224, 'Biaya BPJS', 'BIAYA UMUM DAN ADMINISTRASI'),
(61, 6225, 'Biaya Ass Karyawan & Ass Lainnya', 'BIAYA UMUM DAN ADMINISTRASI'),
(62, 6226, 'Biaya Training, Seminar dll', 'BIAYA UMUM DAN ADMINISTRASI'),
(63, 6227, 'Biaya Fee', 'BIAYA UMUM DAN ADMINISTRASI'),
(64, 6228, 'Biaya Dinas Luar', 'BIAYA UMUM DAN ADMINISTRASI'),
(65, 6229, 'Biaya Pajak PPh Psl 25 P Sgg & P Agoes Dll', 'BIAYA UMUM DAN ADMINISTRASI'),
(66, 6230, 'PPN', 'BIAYA UMUM DAN ADMINISTRASI'),
(67, 6231, 'Biaya Kegiatan Karyawan / Futsal dll', 'BIAYA UMUM DAN ADMINISTRASI'),
(68, 6232, 'Biaya Rekreasi Karyawan Kantor', 'BIAYA UMUM DAN ADMINISTRASI'),
(69, 6233, 'Biaya Pengeluaran Project / Cabling', 'BIAYA UMUM DAN ADMINISTRASI'),
(70, 6234, 'Biaya Bunga Kredit', 'BIAYA UMUM DAN ADMINISTRASI'),
(71, 6235, 'Biaya Kredit Bank', 'BIAYA UMUM DAN ADMINISTRASI'),
(72, 6236, 'Biaya Perawatan / Perbaikan Gedung', 'BIAYA UMUM DAN ADMINISTRASI'),
(73, 6237, 'Lain Lain', 'BIAYA UMUM DAN ADMINISTRASI'),
(74, 7100, 'Pendapatan Diluar Usaha', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(75, 7200, 'Pendapatan Jasa Giro', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(76, 7300, 'Pajak Giro + Admin Bank', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(77, 7400, 'Pajak Penghasilan', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(78, 4100, 'Penjualan Bersih', 'PENDAPATAN PENJUALAN'),
(79, 4120, 'Retur Penjualan', 'PENDAPATAN PENJUALAN'),
(80, 5110, 'Persediaan Awal', 'HARGA POKOK PENJUALAN'),
(81, 8001, 'Selisih Kurs Mata Uang Asing', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(82, 8002, 'Pendapatan Bunga Bank / JS Giro', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(83, 8003, 'Pendapatan Berhub Dengan Ruko Baru', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(84, 8004, 'Claim Dari Jamsostek', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(85, 8005, 'Sales Incentif', 'PENDAPATAN DAN (BEBAN) LUAR USAHA'),
(86, 9000, 'Biaya Diluar Usaha (Extraordinary)', 'PENDAPATAN DAN (BEBAN) LUAR USAHA');

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

--
-- Table structure for table `pesanan`
--

CREATE TABLE `pesanan` (
  `ID_PESANAN` int(11) NOT NULL,
  `PENJUALAN_ID` int(11) DEFAULT NULL,
  `STOCK_ID` int(11) DEFAULT NULL,
  `QTY_PESANAN` int(11) DEFAULT NULL,
  `DPP_JUAL_SATUAN` int(15) DEFAULT NULL,
  `DPP_JUAL_TOTAL` int(15) DEFAULT NULL,
  `STATUS_PESANAN` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `pihakke3`
--

CREATE TABLE `pihakke3` (
  `ID_PIHAKKE3` int(11) NOT NULL,
  `NAMA_PIHAKKE3` varchar(50) DEFAULT NULL,
  `ALAMAT_PIHAKKE3` varchar(50) DEFAULT NULL,
  `KOTA_ID` int(11) DEFAULT NULL,
  `TELP_PIHAKKE3` varchar(30) DEFAULT NULL,
  `SALDO_PIHAKKE3` decimal(15,2) DEFAULT NULL,
  `HUTANG_PIHAKKE3` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `pihakke3`
--

INSERT INTO `pihakke3` (`ID_PIHAKKE3`, `NAMA_PIHAKKE3`, `ALAMAT_PIHAKKE3`, `KOTA_ID`, `TELP_PIHAKKE3`, `SALDO_PIHAKKE3`, `HUTANG_PIHAKKE3`) VALUES
(1, 'Agus BPDE', 'Surabaya Timur', 1, '081-92839128', '0.00', '2000000.00'),
(2, 'Area', '', 2, '', '0.00', '4550000.00'),
(3, 'Astaga', 'Surakarya', 1, '025468513554', '0.00', '250000.00');

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

--
-- Table structure for table `piutang_bank`
--

CREATE TABLE `piutang_bank` (
  `ID_PBA` int(11) NOT NULL,
  `KODE_PBA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `BANK_ID` int(11) DEFAULT NULL,
  `DEBIT_PBA` decimal(15,2) DEFAULT NULL,
  `KREDIT_PBA` decimal(15,2) DEFAULT NULL,
  `TGL_PBA` date DEFAULT current_timestamp(),
  `STATUS_PBA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `piutang_dagang`
--

CREATE TABLE `piutang_dagang` (
  `ID_PDA` int(11) NOT NULL,
  `KODE_PDA` varchar(30) DEFAULT NULL,
  `PENJUALAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_PDA` decimal(15,2) DEFAULT NULL,
  `BLOCKCON` decimal(15,2) DEFAULT NULL,
  `TGL_PDA` date DEFAULT current_timestamp(),
  `STATUS_PDA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `piutang_dagang`
--

INSERT INTO `piutang_dagang` (`ID_PDA`, `KODE_PDA`, `PENJUALAN_ID`, `NOMINAL_PDA`, `BLOCKCON`, `TGL_PDA`, `STATUS_PDA`) VALUES
(1, 'PDA000001', 1, '1000000.00', '300000.00', '2021-03-04', NULL);

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

--
-- Table structure for table `piutang_dpbeli`
--

CREATE TABLE `piutang_dpbeli` (
  `ID_PDP` int(11) NOT NULL,
  `KODE_PDP` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `SUPPLIER_ID` int(11) DEFAULT NULL,
  `DEBIT_PDP` decimal(15,2) DEFAULT NULL,
  `KREDIT_PDP` decimal(15,2) DEFAULT NULL,
  `TGL_PDP` date DEFAULT current_timestamp(),
  `STATUS_PDP` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `piutang_karyawan`
--

CREATE TABLE `piutang_karyawan` (
  `ID_PKAR` int(11) NOT NULL,
  `KODE_PKAR` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `KARYAWAN_ID` int(11) DEFAULT NULL,
  `NOMINAL_PKAR` decimal(15,2) DEFAULT NULL,
  `BLOCKCON` decimal(15,2) DEFAULT NULL,
  `TGL_PKAR` date DEFAULT current_timestamp(),
  `STATUS_PKAR` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `piutang_karyawan`
--

INSERT INTO `piutang_karyawan` (`ID_PKAR`, `KODE_PKAR`, `KODE_BUKTI`, `KARYAWAN_ID`, `NOMINAL_PKAR`, `BLOCKCON`, `TGL_PKAR`, `STATUS_PKAR`) VALUES
(2, 'PKAR/000001', 'KBBK/000005', 2, '200000.00', '0.00', '2021-03-22', NULL),
(4, 'PKAR/000002', 'KBKK/000003', 2, '100000.00', '0.00', '2021-03-23', NULL);

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

--
-- Table structure for table `piutang_pajak`
--

CREATE TABLE `piutang_pajak` (
  `ID_PPA` int(11) NOT NULL,
  `KODE_PPA` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `PAJAK_ID` int(11) DEFAULT NULL,
  `DEBIT_PPA` decimal(15,2) DEFAULT NULL,
  `KREDIT_PPA` decimal(15,2) DEFAULT NULL,
  `TGL_PPA` date DEFAULT current_timestamp(),
  `STATUS_PPA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `piutang_pihakke3`
--

CREATE TABLE `piutang_pihakke3` (
  `ID_PPI` int(11) NOT NULL,
  `KODE_PPI` varchar(30) DEFAULT NULL,
  `KODE_BUKTI` varchar(30) DEFAULT NULL,
  `PIHAKKE3_ID` int(11) DEFAULT NULL,
  `NOMINAL_PPI` decimal(15,2) DEFAULT NULL,
  `BLOCKCON` decimal(15,2) DEFAULT NULL,
  `TGL_PPI` date DEFAULT current_timestamp(),
  `STATUS_PPI` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `piutang_pihakke3`
--

INSERT INTO `piutang_pihakke3` (`ID_PPI`, `KODE_PPI`, `KODE_BUKTI`, `PIHAKKE3_ID`, `NOMINAL_PPI`, `BLOCKCON`, `TGL_PPI`, `STATUS_PPI`) VALUES
(1, 'PPI/000001', 'KBBK976979', 2, '5000000.00', '450000.00', '2021-03-04', NULL),
(3, 'PPI/000002', 'KBBK/000006', 1, '200000.00', '0.00', '2021-03-22', NULL),
(6, 'PPI/000003', 'KBKK/000004', 3, '250000.00', '0.00', '2021-03-23', NULL);

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

--
-- Table structure for table `pokokharga`
--

CREATE TABLE `pokokharga` (
  `ID_POKOKHARGA` int(11) NOT NULL,
  `KODE_POKOKHARGA` varchar(30) DEFAULT NULL,
  `PEMBELIAN_ID` int(11) DEFAULT NULL,
  `NILAI_POKOKHARGA` decimal(15,2) DEFAULT NULL,
  `TGL_POKOKHARGA` date DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `pokokharga`
--

INSERT INTO `pokokharga` (`ID_POKOKHARGA`, `KODE_POKOKHARGA`, `PEMBELIAN_ID`, `NILAI_POKOKHARGA`, `TGL_POKOKHARGA`) VALUES
(1, 'POK/000001', 12, '550000.00', '2021-02-09');

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

--
-- Table structure for table `processor`
--

CREATE TABLE `processor` (
  `ID_PROCESSOR` int(11) NOT NULL,
  `NAMA_PROCESSOR` varchar(25) DEFAULT NULL,
  `MODEL_PROCESSOR` varchar(20) DEFAULT NULL,
  `TYPE_PROCESSOR` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `processor`
--

INSERT INTO `processor` (`ID_PROCESSOR`, `NAMA_PROCESSOR`, `MODEL_PROCESSOR`, `TYPE_PROCESSOR`) VALUES
(1, 'I3 1005U G1', 'Tanam', 'INTEL CORE'),
(2, 'E1225 V5', 'Standard', 'INTEL XEON'),
(3, 'RYZEN 3 3200G', 'Standard', 'AMD RYZEN'),
(4, 'AMD A200', 'Tanam', 'AMD APU');

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

--
-- Table structure for table `raid`
--

CREATE TABLE `raid` (
  `ID_RAID` int(11) NOT NULL,
  `NAMA_RAID` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `raid`
--

INSERT INTO `raid` (`ID_RAID`, `NAMA_RAID`) VALUES
(1, 'PERC H200');

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

--
-- Table structure for table `ram`
--

CREATE TABLE `ram` (
  `ID_RAM` int(11) NOT NULL,
  `NAMA_RAM` varchar(50) DEFAULT NULL,
  `TYPE_RAM` varchar(30) DEFAULT NULL,
  `MODEL_RAM` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `ram`
--

INSERT INTO `ram` (`ID_RAM`, `NAMA_RAM`, `TYPE_RAM`, `MODEL_RAM`) VALUES
(1, '4GB DDR4 2400 DELL', 'SODIMM', 'Standard'),
(2, '4GB DDR4 2400 DELL', 'ECC', 'Standard'),
(3, '4GB DDR4 2400 DELL', 'UDIMM', 'Standard'),
(4, '4GB DDR3L 1600 DELL', 'SODIMM', 'Tanam');

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

--
-- Table structure for table `sn`
--

CREATE TABLE `sn` (
  `ID_SN` int(11) NOT NULL,
  `NAMA_SN` varchar(50) DEFAULT NULL,
  `GUDANG_ID` int(11) DEFAULT NULL,
  `STOCK_ID` int(11) DEFAULT NULL,
  `STATUS_SN` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `sn`
--

INSERT INTO `sn` (`ID_SN`, `NAMA_SN`, `GUDANG_ID`, `STOCK_ID`, `STATUS_SN`) VALUES
(2, 'A27', 1, 4, 'Ready'),
(6, '09A', 1, 12, 'Ready'),
(7, '09B', 2, 12, 'Ready'),
(9, 'KUKUH1', 2, 7, 'Ready'),
(10, 'KUKUH2', 1, 7, 'Ready'),
(11, 'KUKUH3', 1, 7, 'Ready'),
(12, 'TY12', 1, 14, 'Ready'),
(13, 'TY13', 1, 14, 'Ready'),
(14, 'TY14', 1, 14, 'Ready'),
(16, 'A', 1, 11, 'Ready'),
(17, 'B1', 1, 11, 'Ready'),
(18, 'C', 1, 11, 'Ready'),
(19, 'D', 1, 11, 'Ready'),
(20, 'EF', 1, 11, 'Ready'),
(21, 'G', 1, 11, 'Ready'),
(22, 'HI', 1, 11, 'Ready'),
(24, 'AYAM', 2, 5, 'Ready'),
(25, 'XDFDG', 1, 11, 'Ready'),
(26, 'JHKL', 1, 11, 'Ready'),
(27, 'DSHJK', 1, 4, 'Ready'),
(28, 'ADALAH', 2, 5, 'Ready'),
(30, 'GORENGAN', 2, 5, 'Ready'),
(31, 'AKU', 1, 4, 'Ready'),
(39, '909', 1, 16, 'Ready'),
(40, '432', 1, 8, 'Ready'),
(41, '433', 1, 8, 'Ready'),
(42, '445', 1, 8, 'Ready'),
(43, '446', 1, 8, 'Ready'),
(44, '447', 1, 8, 'Ready'),
(45, '448', 1, 8, 'Ready'),
(50, 'B', 1, 3, 'Ready'),
(51, 'KUKUH4', 2, 7, 'Ready'),
(52, 'KUKUH5', 2, 7, 'Ready'),
(53, 'KUKUH6', 2, 7, 'Ready'),
(54, 'KUKUH7', 2, 7, 'Ready'),
(55, 'KUKUH8', 2, 7, 'Ready'),
(58, '910', 1, 16, 'Ready'),
(62, 'ASTAGANAGA', 1, 34, 'Ready'),
(63, 'ASTAGANAGA2', 1, 34, 'Ready'),
(64, 'ASTAGANAGA3', 1, 34, 'Ready'),
(65, 'ASTAGANAGA4', 1, 34, 'Ready'),
(66, 'ASTAGANAGA5', 1, 34, 'Ready'),
(67, 'ASTAGANAGA6', 1, 34, 'Ready'),
(68, 'ASTAGANAGA7', 1, 34, 'Ready'),
(69, 'ASTAGANAGA8', 1, 34, 'Ready'),
(70, 'ASTAGANAGA9', 1, 34, 'Ready'),
(71, 'ASTAGANAGA10', 1, 34, 'Ready'),
(72, 'ASTAGANAGA12', 1, 34, 'Ready'),
(74, 'ASTAGANAGA13', 1, 34, 'Ready'),
(75, 'Z', 1, 34, 'Ready'),
(76, 'Y', 1, 34, 'Ready'),
(77, 'X', 1, 34, 'Ready'),
(79, 'ALELU', 1, 34, 'Ready'),
(80, 'LIMA1', 1, 39, 'Ready'),
(86, 'LIMA2', 1, 39, 'Ready'),
(87, 'LILU1', 1, 36, 'Ready'),
(88, 'LILU2', 1, 36, 'Ready'),
(89, 'LILU3', 1, 36, 'Ready'),
(90, 'LILU4', 1, 36, 'Ready'),
(91, 'LILU5', 1, 36, 'Ready'),
(93, 'LILU6', 1, 36, 'Ready'),
(95, 'ASELEME', 1, 41, 'Ready'),
(96, 'KUKI', 2, 42, 'Ready'),
(97, 'KUKU', 2, 42, 'Ready'),
(98, 'KUKE', 2, 42, 'Ready'),
(99, 'KIWY1922', 1, 45, 'Ready'),
(100, 'fvhjbkn', 1, 11, 'Ready'),
(101, 'rfgtvhjnk', 1, 11, 'Ready'),
(107, 'LOLA12', 2, 48, 'Ready'),
(108, 'LOLA13', 2, 48, 'Ready'),
(109, '5658466856', 2, 17, 'Ready'),
(110, 'fgabrffhgs', 1, 11, 'Ready'),
(111, 'dsfdavhnjdrzej', 1, 11, 'Ready');

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

--
-- Table structure for table `so`
--

CREATE TABLE `so` (
  `ID_SO` int(11) NOT NULL,
  `KARYAWAN_ID` int(11) DEFAULT NULL,
  `JENIS_SO` varchar(30) DEFAULT NULL,
  `PELANGGAN_ID` int(11) DEFAULT NULL,
  `INVOICE_ID` int(11) DEFAULT NULL,
  `KODE_SO` varchar(50) DEFAULT NULL,
  `TANGGAL_SO` timestamp NULL DEFAULT NULL,
  `STATUS_SO` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `spek`
--

CREATE TABLE `spek` (
  `ID_SPEK` int(11) NOT NULL,
  `PROCESSOR_ID` int(11) DEFAULT NULL,
  `RAM_ID` int(11) DEFAULT NULL,
  `SSD_ID` int(11) DEFAULT NULL,
  `HDD_ID` int(11) DEFAULT NULL,
  `VGA_ID` int(11) DEFAULT NULL,
  `OS_ID` int(11) DEFAULT NULL,
  `DVD_ID` int(11) DEFAULT NULL,
  `RAID_ID` int(11) DEFAULT NULL,
  `KM_ID` int(11) DEFAULT NULL,
  `LAYAR_ID` int(11) DEFAULT NULL,
  `SP_READY` varchar(20) DEFAULT NULL,
  `ETH_READY` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `spek`
--

INSERT INTO `spek` (`ID_SPEK`, `PROCESSOR_ID`, `RAM_ID`, `SSD_ID`, `HDD_ID`, `VGA_ID`, `OS_ID`, `DVD_ID`, `RAID_ID`, `KM_ID`, `LAYAR_ID`, `SP_READY`, `ETH_READY`) VALUES
(1, 1, 1, 1, 1, 2, 1, 2, NULL, NULL, NULL, 'Ready', '10/100 FE'),
(2, 2, 1, 1, 1, 2, 1, 2, NULL, NULL, NULL, NULL, 'Gigabit'),
(3, 2, 1, 1, 1, 2, 1, 2, NULL, NULL, 3, NULL, 'Gigabit');

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

--
-- Table structure for table `ssd`
--

CREATE TABLE `ssd` (
  `ID_SSD` int(11) NOT NULL,
  `NAMA_SSD` varchar(50) DEFAULT NULL,
  `TYPE_SSD` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `ssd`
--

INSERT INTO `ssd` (`ID_SSD`, `NAMA_SSD`, `TYPE_SSD`) VALUES
(1, 'Kingston 500TB', 'SATA');

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

--
-- Table structure for table `stock`
--

CREATE TABLE `stock` (
  `ID_STOCK` int(11) NOT NULL,
  `PEMBELIAN_ID` int(11) DEFAULT NULL,
  `BARANG_ID` int(11) DEFAULT NULL,
  `QTY` int(10) DEFAULT NULL,
  `BLOCKADDSN` int(10) DEFAULT NULL,
  `GUDANG_ID` int(11) DEFAULT NULL,
  `HARGA_ID` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `stock`
--

INSERT INTO `stock` (`ID_STOCK`, `PEMBELIAN_ID`, `BARANG_ID`, `QTY`, `BLOCKADDSN`, `GUDANG_ID`, `HARGA_ID`) VALUES
(3, 1, 1, 1, 1, 1, NULL),
(4, 1, 2, 3, 3, 1, NULL),
(5, 1, 5, 4, 4, 2, NULL),
(7, 1, 1, 8, 8, 2, NULL),
(8, 1, 3, 6, 6, 1, NULL),
(11, 1, 5, 20, 13, 1, NULL),
(12, 4, 6, 3, NULL, 2, 19),
(16, 5, 2, 2, 2, 1, 17),
(17, 1, 2, 1, 1, 2, NULL),
(34, 6, 3, 50, 16, 1, NULL),
(35, 6, 3, 50, 0, 1, NULL),
(36, 6, 3, 8, 6, 1, NULL),
(37, 6, 3, 7, 0, 1, NULL),
(38, 6, 4, 9, 0, 1, NULL),
(39, 6, 3, 2, 2, 1, NULL),
(40, 7, 6, 50, 0, 1, 20),
(41, 8, 1, 1, 1, 1, 21),
(42, 8, 3, 3, 3, 2, 22),
(43, 9, 6, 1, 0, 1, 23),
(44, 12, 7, 1, 0, 1, 24),
(45, 11, 1, 1, 1, 1, 25),
(46, 10, 6, 1, 0, 1, 26);

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

--
-- Table structure for table `supplier`
--

CREATE TABLE `supplier` (
  `ID_SUPPLIER` int(11) NOT NULL,
  `NAMA_SUPPLIER` varchar(50) DEFAULT NULL,
  `ALAMAT_SUPPLIER` varchar(50) DEFAULT NULL,
  `KOTA_ID` int(11) DEFAULT NULL,
  `TELP_SUPPLIER` varchar(20) DEFAULT NULL,
  `PIUTANG_SUPPLIER` decimal(15,2) DEFAULT NULL,
  `SALDO_SUPPLIER` decimal(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `supplier`
--

INSERT INTO `supplier` (`ID_SUPPLIER`, `NAMA_SUPPLIER`, `ALAMAT_SUPPLIER`, `KOTA_ID`, `TELP_SUPPLIER`, `PIUTANG_SUPPLIER`, `SALDO_SUPPLIER`) VALUES
(1, 'PT Triperwira Multi Pamenang', 'Jagir Wonokromo 100', 1, '031-8475048\r\n', '0.00', '0.00'),
(2, 'PC Master Computer', 'Ruko Mangga Dua Blok B7 No 8-9', 2, '031-8475047', '0.00', '200000.00'),
(3, 'Metrodata', 'Bumi Mandiri Lt 1 No 89', 1, '0927132714', '100000.00', '500000.00');

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

--
-- Table structure for table `transaksi`
--

CREATE TABLE `transaksi` (
  `ID_TRANSAKSI` int(11) NOT NULL,
  `DOKUMEN_TRANSAKSI` varchar(50) DEFAULT NULL,
  `JENIS_TRANSAKSI` varchar(30) DEFAULT NULL,
  `NILAI_TRANSAKSI` decimal(15,2) DEFAULT NULL,
  `TGL_TRANSAKSI` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `transaksi`
--

INSERT INTO `transaksi` (`ID_TRANSAKSI`, `DOKUMEN_TRANSAKSI`, `JENIS_TRANSAKSI`, `NILAI_TRANSAKSI`, `TGL_TRANSAKSI`) VALUES
(7, 'INV/09022021/TMAAN', 'Hutang', NULL, '2021-02-09'),
(8, 'INV/09022021/TMAAN', 'Hutang', '780000.00', '2021-02-09');

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

--
-- Table structure for table `user`
--

CREATE TABLE `user` (
  `ID_USER` int(11) NOT NULL,
  `LEVEL_ID` int(11) DEFAULT NULL,
  `NAMA_USER` varchar(50) NOT NULL,
  `NAMA_PANGGILAN` varchar(10) DEFAULT NULL,
  `USERNAME` varchar(16) NOT NULL,
  `PASSWORD` varchar(16) NOT NULL,
  `STATUS` varchar(7) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `user`
--

INSERT INTO `user` (`ID_USER`, `LEVEL_ID`, `NAMA_USER`, `NAMA_PANGGILAN`, `USERNAME`, `PASSWORD`, `STATUS`) VALUES
(1, 1, 'Ini Nama Admin', 'admon', 'admin', '123', 'OFFLINE'),
(2, 2, 'Ini Nama Teknisi', 'Teknosi', 'teknisi', '123', 'ONLINE'),
(3, 3, 'Ini Adalah Gudang', 'Gudong', 'gudang', '123', 'ONLINE'),
(4, 4, 'Saya Umum', 'Umom', 'umum', '123', 'ONLINE'),
(5, 5, 'Saya Bukan Sales', 'Seles', 'sales', '123', 'ONLINE'),
(6, 2, 'Teknisi Lagi', 'Lagi', 'teknisi2', '123', 'BUSY'),
(7, 5, 'Sales Again', 'Again', 'sales2', '123', NULL);

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

--
-- Table structure for table `vga`
--

CREATE TABLE `vga` (
  `ID_VGA` int(11) NOT NULL,
  `NAMA_VGA` varchar(50) DEFAULT NULL,
  `TYPE_VGA` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `vga`
--

INSERT INTO `vga` (`ID_VGA`, `NAMA_VGA`, `TYPE_VGA`) VALUES
(1, 'MATROX', 'Internal'),
(2, 'INTEL HD Graphics', 'Internal');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `accounting`
--
ALTER TABLE `accounting`
  ADD PRIMARY KEY (`ID_ACCOUNTING`);

--
-- Indexes for table `agen`
--
ALTER TABLE `agen`
  ADD PRIMARY KEY (`ID_AGEN`);

--
-- Indexes for table `bank`
--
ALTER TABLE `bank`
  ADD PRIMARY KEY (`ID_BANK`);

--
-- Indexes for table `bankkeluar`
--
ALTER TABLE `bankkeluar`
  ADD PRIMARY KEY (`ID_BANKKELUAR`);

--
-- Indexes for table `bankmasuk`
--
ALTER TABLE `bankmasuk`
  ADD PRIMARY KEY (`ID_BANKMASUK`);

--
-- Indexes for table `barang`
--
ALTER TABLE `barang`
  ADD PRIMARY KEY (`ID_BARANG`);

--
-- Indexes for table `biaya_fee`
--
ALTER TABLE `biaya_fee`
  ADD PRIMARY KEY (`ID_BF`);

--
-- Indexes for table `biaya_pengiriman`
--
ALTER TABLE `biaya_pengiriman`
  ADD PRIMARY KEY (`ID_BP`);

--
-- Indexes for table `detail_bank`
--
ALTER TABLE `detail_bank`
  ADD PRIMARY KEY (`ID_DBANK`);

--
-- Indexes for table `detail_bb`
--
ALTER TABLE `detail_bb`
  ADD PRIMARY KEY (`ID_DBB`);

--
-- Indexes for table `detail_bf`
--
ALTER TABLE `detail_bf`
  ADD PRIMARY KEY (`ID_DBF`);

--
-- Indexes for table `detail_bp`
--
ALTER TABLE `detail_bp`
  ADD PRIMARY KEY (`ID_DBP`);

--
-- Indexes for table `detail_bsk`
--
ALTER TABLE `detail_bsk`
  ADD PRIMARY KEY (`ID_DBSK`);

--
-- Indexes for table `detail_dpb`
--
ALTER TABLE `detail_dpb`
  ADD PRIMARY KEY (`ID_DDPB`);

--
-- Indexes for table `detail_dpj`
--
ALTER TABLE `detail_dpj`
  ADD PRIMARY KEY (`ID_DDPJ`);

--
-- Indexes for table `detail_dpp`
--
ALTER TABLE `detail_dpp`
  ADD PRIMARY KEY (`ID_DDPP`);

--
-- Indexes for table `detail_hba`
--
ALTER TABLE `detail_hba`
  ADD PRIMARY KEY (`ID_DHBA`);

--
-- Indexes for table `detail_hda`
--
ALTER TABLE `detail_hda`
  ADD PRIMARY KEY (`ID_DHDA`);

--
-- Indexes for table `detail_hla`
--
ALTER TABLE `detail_hla`
  ADD PRIMARY KEY (`ID_DHLA`);

--
-- Indexes for table `detail_hpa`
--
ALTER TABLE `detail_hpa`
  ADD PRIMARY KEY (`ID_DHPA`);

--
-- Indexes for table `detail_kas`
--
ALTER TABLE `detail_kas`
  ADD PRIMARY KEY (`ID_DKAS`);

--
-- Indexes for table `detail_pda`
--
ALTER TABLE `detail_pda`
  ADD PRIMARY KEY (`ID_DPDA`);

--
-- Indexes for table `detail_pkar`
--
ALTER TABLE `detail_pkar`
  ADD PRIMARY KEY (`ID_DPKAR`);

--
-- Indexes for table `detail_ppi`
--
ALTER TABLE `detail_ppi`
  ADD PRIMARY KEY (`ID_DPPI`);

--
-- Indexes for table `dvd`
--
ALTER TABLE `dvd`
  ADD PRIMARY KEY (`ID_DVD`);

--
-- Indexes for table `gudang`
--
ALTER TABLE `gudang`
  ADD PRIMARY KEY (`ID_GUDANG`);

--
-- Indexes for table `harga`
--
ALTER TABLE `harga`
  ADD PRIMARY KEY (`ID_HARGA`);

--
-- Indexes for table `hdd`
--
ALTER TABLE `hdd`
  ADD PRIMARY KEY (`ID_HDD`);

--
-- Indexes for table `hutang_bank`
--
ALTER TABLE `hutang_bank`
  ADD PRIMARY KEY (`ID_HBA`);

--
-- Indexes for table `hutang_dagang`
--
ALTER TABLE `hutang_dagang`
  ADD PRIMARY KEY (`ID_HDA`);

--
-- Indexes for table `hutang_lain`
--
ALTER TABLE `hutang_lain`
  ADD PRIMARY KEY (`ID_HLA`);

--
-- Indexes for table `hutang_pajak`
--
ALTER TABLE `hutang_pajak`
  ADD PRIMARY KEY (`ID_HPA`);

--
-- Indexes for table `jabatan`
--
ALTER TABLE `jabatan`
  ADD PRIMARY KEY (`ID_JABATAN`);

--
-- Indexes for table `jenis`
--
ALTER TABLE `jenis`
  ADD PRIMARY KEY (`ID_JENIS`);

--
-- Indexes for table `karyawan`
--
ALTER TABLE `karyawan`
  ADD PRIMARY KEY (`ID_KARYAWAN`),
  ADD UNIQUE KEY `USERNAME` (`USERNAME`),
  ADD KEY `FK_MENANDAKAN` (`JABATAN_ID`);

--
-- Indexes for table `kas`
--
ALTER TABLE `kas`
  ADD PRIMARY KEY (`ID_KAS`);

--
-- Indexes for table `kasbank_bk`
--
ALTER TABLE `kasbank_bk`
  ADD PRIMARY KEY (`ID_KBBK`);

--
-- Indexes for table `kasbank_bm`
--
ALTER TABLE `kasbank_bm`
  ADD PRIMARY KEY (`ID_KBBM`);

--
-- Indexes for table `kasbank_kk`
--
ALTER TABLE `kasbank_kk`
  ADD PRIMARY KEY (`ID_KBKK`);

--
-- Indexes for table `kasbank_km`
--
ALTER TABLE `kasbank_km`
  ADD PRIMARY KEY (`ID_KBKM`);

--
-- Indexes for table `kaskeluar`
--
ALTER TABLE `kaskeluar`
  ADD PRIMARY KEY (`ID_KASKELUAR`);

--
-- Indexes for table `kasmasuk`
--
ALTER TABLE `kasmasuk`
  ADD PRIMARY KEY (`ID_KASMASUK`);

--
-- Indexes for table `kelompok`
--
ALTER TABLE `kelompok`
  ADD PRIMARY KEY (`ID_KELOMPOK`);

--
-- Indexes for table `kendaraan`
--
ALTER TABLE `kendaraan`
  ADD PRIMARY KEY (`ID_KENDARAAN`);

--
-- Indexes for table `km`
--
ALTER TABLE `km`
  ADD PRIMARY KEY (`ID_KM`);

--
-- Indexes for table `komisi`
--
ALTER TABLE `komisi`
  ADD PRIMARY KEY (`ID_KOMISI`);

--
-- Indexes for table `kota`
--
ALTER TABLE `kota`
  ADD PRIMARY KEY (`ID_KOTA`);

--
-- Indexes for table `layar`
--
ALTER TABLE `layar`
  ADD PRIMARY KEY (`ID_LAYAR`);

--
-- Indexes for table `naungan`
--
ALTER TABLE `naungan`
  ADD PRIMARY KEY (`ID_NAUNGAN`);

--
-- Indexes for table `os`
--
ALTER TABLE `os`
  ADD PRIMARY KEY (`ID_OS`);

--
-- Indexes for table `pajak`
--
ALTER TABLE `pajak`
  ADD PRIMARY KEY (`ID_PAJAK`);

--
-- Indexes for table `pelanggan`
--
ALTER TABLE `pelanggan`
  ADD PRIMARY KEY (`ID_PELANGGAN`);

--
-- Indexes for table `pembelian`
--
ALTER TABLE `pembelian`
  ADD PRIMARY KEY (`ID_PEMBELIAN`);

--
-- Indexes for table `penjualan`
--
ALTER TABLE `penjualan`
  ADD PRIMARY KEY (`ID_PENJUALAN`);

--
-- Indexes for table `perkiraan`
--
ALTER TABLE `perkiraan`
  ADD PRIMARY KEY (`ID_PERKIRAAN`);

--
-- Indexes for table `pesanan`
--
ALTER TABLE `pesanan`
  ADD PRIMARY KEY (`ID_PESANAN`);

--
-- Indexes for table `pihakke3`
--
ALTER TABLE `pihakke3`
  ADD PRIMARY KEY (`ID_PIHAKKE3`);

--
-- Indexes for table `piutang_bank`
--
ALTER TABLE `piutang_bank`
  ADD PRIMARY KEY (`ID_PBA`);

--
-- Indexes for table `piutang_dagang`
--
ALTER TABLE `piutang_dagang`
  ADD PRIMARY KEY (`ID_PDA`);

--
-- Indexes for table `piutang_dpbeli`
--
ALTER TABLE `piutang_dpbeli`
  ADD PRIMARY KEY (`ID_PDP`);

--
-- Indexes for table `piutang_karyawan`
--
ALTER TABLE `piutang_karyawan`
  ADD PRIMARY KEY (`ID_PKAR`);

--
-- Indexes for table `piutang_pajak`
--
ALTER TABLE `piutang_pajak`
  ADD PRIMARY KEY (`ID_PPA`);

--
-- Indexes for table `piutang_pihakke3`
--
ALTER TABLE `piutang_pihakke3`
  ADD PRIMARY KEY (`ID_PPI`);

--
-- Indexes for table `pokokharga`
--
ALTER TABLE `pokokharga`
  ADD PRIMARY KEY (`ID_POKOKHARGA`);

--
-- Indexes for table `processor`
--
ALTER TABLE `processor`
  ADD PRIMARY KEY (`ID_PROCESSOR`);

--
-- Indexes for table `raid`
--
ALTER TABLE `raid`
  ADD PRIMARY KEY (`ID_RAID`);

--
-- Indexes for table `ram`
--
ALTER TABLE `ram`
  ADD PRIMARY KEY (`ID_RAM`);

--
-- Indexes for table `sn`
--
ALTER TABLE `sn`
  ADD PRIMARY KEY (`ID_SN`),
  ADD UNIQUE KEY `NAMA_SN` (`NAMA_SN`);

--
-- Indexes for table `so`
--
ALTER TABLE `so`
  ADD PRIMARY KEY (`ID_SO`);

--
-- Indexes for table `spek`
--
ALTER TABLE `spek`
  ADD PRIMARY KEY (`ID_SPEK`);

--
-- Indexes for table `ssd`
--
ALTER TABLE `ssd`
  ADD PRIMARY KEY (`ID_SSD`);

--
-- Indexes for table `stock`
--
ALTER TABLE `stock`
  ADD PRIMARY KEY (`ID_STOCK`);

--
-- Indexes for table `supplier`
--
ALTER TABLE `supplier`
  ADD PRIMARY KEY (`ID_SUPPLIER`);

--
-- Indexes for table `transaksi`
--
ALTER TABLE `transaksi`
  ADD PRIMARY KEY (`ID_TRANSAKSI`);

--
-- Indexes for table `user`
--
ALTER TABLE `user`
  ADD PRIMARY KEY (`ID_USER`),
  ADD UNIQUE KEY `USERNAME` (`USERNAME`),
  ADD KEY `FK_USER_MENANDAKA_TB_LEVEL` (`LEVEL_ID`);

--
-- Indexes for table `vga`
--
ALTER TABLE `vga`
  ADD PRIMARY KEY (`ID_VGA`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `accounting`
--
ALTER TABLE `accounting`
  MODIFY `ID_ACCOUNTING` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `agen`
--
ALTER TABLE `agen`
  MODIFY `ID_AGEN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `bank`
--
ALTER TABLE `bank`
  MODIFY `ID_BANK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `bankkeluar`
--
ALTER TABLE `bankkeluar`
  MODIFY `ID_BANKKELUAR` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `bankmasuk`
--
ALTER TABLE `bankmasuk`
  MODIFY `ID_BANKMASUK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `barang`
--
ALTER TABLE `barang`
  MODIFY `ID_BARANG` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `biaya_fee`
--
ALTER TABLE `biaya_fee`
  MODIFY `ID_BF` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `biaya_pengiriman`
--
ALTER TABLE `biaya_pengiriman`
  MODIFY `ID_BP` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `detail_bank`
--
ALTER TABLE `detail_bank`
  MODIFY `ID_DBANK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `detail_bb`
--
ALTER TABLE `detail_bb`
  MODIFY `ID_DBB` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `detail_bf`
--
ALTER TABLE `detail_bf`
  MODIFY `ID_DBF` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `detail_bp`
--
ALTER TABLE `detail_bp`
  MODIFY `ID_DBP` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `detail_bsk`
--
ALTER TABLE `detail_bsk`
  MODIFY `ID_DBSK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `detail_dpb`
--
ALTER TABLE `detail_dpb`
  MODIFY `ID_DDPB` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `detail_dpj`
--
ALTER TABLE `detail_dpj`
  MODIFY `ID_DDPJ` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `detail_dpp`
--
ALTER TABLE `detail_dpp`
  MODIFY `ID_DDPP` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `detail_hba`
--
ALTER TABLE `detail_hba`
  MODIFY `ID_DHBA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `detail_hda`
--
ALTER TABLE `detail_hda`
  MODIFY `ID_DHDA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `detail_hla`
--
ALTER TABLE `detail_hla`
  MODIFY `ID_DHLA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `detail_hpa`
--
ALTER TABLE `detail_hpa`
  MODIFY `ID_DHPA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `detail_kas`
--
ALTER TABLE `detail_kas`
  MODIFY `ID_DKAS` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `detail_pda`
--
ALTER TABLE `detail_pda`
  MODIFY `ID_DPDA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `detail_pkar`
--
ALTER TABLE `detail_pkar`
  MODIFY `ID_DPKAR` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `detail_ppi`
--
ALTER TABLE `detail_ppi`
  MODIFY `ID_DPPI` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `dvd`
--
ALTER TABLE `dvd`
  MODIFY `ID_DVD` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `gudang`
--
ALTER TABLE `gudang`
  MODIFY `ID_GUDANG` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `harga`
--
ALTER TABLE `harga`
  MODIFY `ID_HARGA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;

--
-- AUTO_INCREMENT for table `hdd`
--
ALTER TABLE `hdd`
  MODIFY `ID_HDD` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `hutang_bank`
--
ALTER TABLE `hutang_bank`
  MODIFY `ID_HBA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `hutang_dagang`
--
ALTER TABLE `hutang_dagang`
  MODIFY `ID_HDA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `hutang_lain`
--
ALTER TABLE `hutang_lain`
  MODIFY `ID_HLA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `hutang_pajak`
--
ALTER TABLE `hutang_pajak`
  MODIFY `ID_HPA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `jabatan`
--
ALTER TABLE `jabatan`
  MODIFY `ID_JABATAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `jenis`
--
ALTER TABLE `jenis`
  MODIFY `ID_JENIS` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `karyawan`
--
ALTER TABLE `karyawan`
  MODIFY `ID_KARYAWAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `kas`
--
ALTER TABLE `kas`
  MODIFY `ID_KAS` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `kasbank_bk`
--
ALTER TABLE `kasbank_bk`
  MODIFY `ID_KBBK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `kasbank_bm`
--
ALTER TABLE `kasbank_bm`
  MODIFY `ID_KBBM` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `kasbank_kk`
--
ALTER TABLE `kasbank_kk`
  MODIFY `ID_KBKK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `kasbank_km`
--
ALTER TABLE `kasbank_km`
  MODIFY `ID_KBKM` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `kaskeluar`
--
ALTER TABLE `kaskeluar`
  MODIFY `ID_KASKELUAR` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `kasmasuk`
--
ALTER TABLE `kasmasuk`
  MODIFY `ID_KASMASUK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `kelompok`
--
ALTER TABLE `kelompok`
  MODIFY `ID_KELOMPOK` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `kendaraan`
--
ALTER TABLE `kendaraan`
  MODIFY `ID_KENDARAAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `km`
--
ALTER TABLE `km`
  MODIFY `ID_KM` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `komisi`
--
ALTER TABLE `komisi`
  MODIFY `ID_KOMISI` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `kota`
--
ALTER TABLE `kota`
  MODIFY `ID_KOTA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `layar`
--
ALTER TABLE `layar`
  MODIFY `ID_LAYAR` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `naungan`
--
ALTER TABLE `naungan`
  MODIFY `ID_NAUNGAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `os`
--
ALTER TABLE `os`
  MODIFY `ID_OS` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `pajak`
--
ALTER TABLE `pajak`
  MODIFY `ID_PAJAK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `pelanggan`
--
ALTER TABLE `pelanggan`
  MODIFY `ID_PELANGGAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `pembelian`
--
ALTER TABLE `pembelian`
  MODIFY `ID_PEMBELIAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `penjualan`
--
ALTER TABLE `penjualan`
  MODIFY `ID_PENJUALAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `perkiraan`
--
ALTER TABLE `perkiraan`
  MODIFY `ID_PERKIRAAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=88;

--
-- AUTO_INCREMENT for table `pesanan`
--
ALTER TABLE `pesanan`
  MODIFY `ID_PESANAN` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `pihakke3`
--
ALTER TABLE `pihakke3`
  MODIFY `ID_PIHAKKE3` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `piutang_bank`
--
ALTER TABLE `piutang_bank`
  MODIFY `ID_PBA` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `piutang_dagang`
--
ALTER TABLE `piutang_dagang`
  MODIFY `ID_PDA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `piutang_dpbeli`
--
ALTER TABLE `piutang_dpbeli`
  MODIFY `ID_PDP` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `piutang_karyawan`
--
ALTER TABLE `piutang_karyawan`
  MODIFY `ID_PKAR` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `piutang_pajak`
--
ALTER TABLE `piutang_pajak`
  MODIFY `ID_PPA` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `piutang_pihakke3`
--
ALTER TABLE `piutang_pihakke3`
  MODIFY `ID_PPI` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `pokokharga`
--
ALTER TABLE `pokokharga`
  MODIFY `ID_POKOKHARGA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `processor`
--
ALTER TABLE `processor`
  MODIFY `ID_PROCESSOR` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `raid`
--
ALTER TABLE `raid`
  MODIFY `ID_RAID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `ram`
--
ALTER TABLE `ram`
  MODIFY `ID_RAM` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `sn`
--
ALTER TABLE `sn`
  MODIFY `ID_SN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=112;

--
-- AUTO_INCREMENT for table `so`
--
ALTER TABLE `so`
  MODIFY `ID_SO` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `spek`
--
ALTER TABLE `spek`
  MODIFY `ID_SPEK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `ssd`
--
ALTER TABLE `ssd`
  MODIFY `ID_SSD` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `stock`
--
ALTER TABLE `stock`
  MODIFY `ID_STOCK` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;

--
-- AUTO_INCREMENT for table `supplier`
--
ALTER TABLE `supplier`
  MODIFY `ID_SUPPLIER` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `transaksi`
--
ALTER TABLE `transaksi`
  MODIFY `ID_TRANSAKSI` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
  MODIFY `ID_USER` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `vga`
--
ALTER TABLE `vga`
  MODIFY `ID_VGA` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
