DAFTAR ISI ABSTRAK ............................................................................................ i KATA PENGANTAR ......................................................................... ii DAFTAR ISI ...................................................................................... iv DAFTAR GAMBAR .......................................................................... xv DAFTAR TABEL .............................................................................xxi DAFTAR SIMBOL ......................................................................... xxii BAB I
PENDAHULUAN 1.1 Latar Belakang ................................................................1 1.2 Rumusan Masalah ........................................................... 2 1.3 Batasan Masalah ..............................................................3 1.4 Maksud dan Tujuan ........................................................ 3 1.5 Tujuan Penilitian .............................................................4 1.6 Metodologi Penelitian ......................................................4 1.7 The State Of The Art..........................................................6 1.8 Jadwal Penelitian .............................................................7 1.9 Sistematika Penulisan ......................................................7
iv
v
BAB II LANDASAN TEORI 2.1 Perangkat Lunak .............................................................9 2.1.1 Konsep Perangkat Lunak ......................................9 2.2 Basis Data ...................................................................... 10 2.2.1 Definisi Basis Data ............................................... 10 2.2.2 Perancangan Basis Data ...................................... 11 2.3 Structured Query Language (SQL) ............................... 12 2.4 Keunggulan Metoda Berorientasi Objek Dibanding Pendekatan Terstruktur ............................. 12 2.4.1 Pendekatan Terstruktur ..................................... 12 2.4.2 Teknologi Pendekatan Objek .............................. 13 2.4.3 Konsep Object Oriented memiliki karakteristik utama .............................................. 14 2.4.4 Abstraction............................................................. 14 2.4.5 Object .................................................................... 14 2.4.6 Class ..................................................................... 15 2.4.7 Inheritance ........................................................... 16 2.4.8 Polimorphism ........................................................ 16 2.5 Object Oriented Analysis Design (OOAD) ........................ 17 2.6 UML (Unified Moldeling Leanguage) ............................... 17 2.6.1 Class Diagram ...................................................... 18 2.6.2 Sequence Diagram ................................................ 20
vi
2.6.3 Use Case Diagram ................................................ 21 2.6.4 Activity Diagram ................................................... 23 2.7 OOAD Dengan Pendekatan UA Dengan Bahasa Pemodelan UML .............................................. 24 2.7.1 Proses Analisis ..................................................... 24 2.7.2 Proses Perancangan dan Implementasi ................................................................ 26 BAB III ANALISIS DAN PERANCANGAN SISTEM 3.1 Deskripsi Sistem Pengolahan Data Obat ...................... 29 3.2 Deskripsi Current Sistem ............................................... 29 3.3 Requirement Model ........................................................ 31 3.3.1 Identifikasi Aktor ................................................ 31 3.3.2 Activity Diagram Staff Apotek ............................. 31 3.3.3 Activity Diagram Admin ....................................... 33 3.4 Use case Diagram ........................................................... 34 3.5 Deskripsi Detail Use case ............................................... 36 3.6 Analisis Model ................................................................ 37 3.6.1 Skenario Tiap Use case ........................................ 37 3.6.1.1 Use case Login .......................................... 37 3.6.1.2 Usecase input Data Obat .......................... 38 3.6.1.3 Usecase Cari Data Obat .......................... 39
vii
3.6.1.4 Use Case Transaksi Penjualan Data Obat ......................................................... 41 3.6.1.5 Usecase Data Supplier ............................. 42 3.6.1.6 Usecase Data Stok Obat .......................... 43 3.6.1.7 Usecase Laporan Data Penjualan Obat ....................................... 45 3.6.1.8 Usecase Laporan Data Supplier ................................................... 46 3.6.1.9 Usecase Laporan Data Stok Obat .......................................................... 48 3.6.1.10 Usecase Setting pengguna ....................... 49 3.6.1.11 Usecase Pencetakan Laporan ................................................... 50 3.6.1.12 Usecase Data Pelanggan ......................... 51 3.6.1.13 Usecase Data Purchase Order ........................................................ 52 3.6.1.14 Usecase Laporan Data Purchase Order ...................................... 53
viii
3.6.1.15 Usecase Data Deskripsi Obat ....................................................... 55 3.6.1.16 Usecase Data Pembayaran .................... 56 3.6.1.17 Usecase Laporan Data Pembayaran ........................................... 57 3.6.1.18 Usecase Diagram Input Data Reture Pembelian .......................... 58 3.6.1.19 Usecase Laporan Data Reture Pembelian ................................... 60 3.6.1.20 Usecase Diagram Input Data Pembayaran Hutang ............................. 61 3.6.1.21 Usecase Laporan Data Pembayaran Hutang .............................. 62 3.6.1.22 Usecase Diagram Input Data Kredit ............................................ 64 3.6.1.23 Usecase Laporan Data Kredit ..................................................... 65 3.6.2 Sequence Diagram .............................................. 67
ix
3.6.2.1 Sequence Diagram Untuk Login ........................................................ 67 3.6.2.2 Sequence Diagram Edit Data Administrator ......................................... 67 3.6.2.3 Sequence Update Data Administrator ......................................... 68 3.6.2.4 Sequence Diagram Input Data Obat ......................................................... 69 3.6.2.3 Sequence Diagram Edit Data obat ........................................................... 69 3.6.2.4 Sequence Diagram Hapus Data obat ........................................................... 70 3.6.2.5 Sequence Diagram Cari Data obat ........................................................... 71 3.6.2 Sequence Diagram Staff Apotek .......................... 71 3.6.2.6.1 Sequence Diagram login ........................ 71 3.6.2.6.2 Sequence Diagram Input Data Transaksi ..................................... 72
x
3.6.2.6.3 Sequence Diagram Edit Data Transaksi ..................................... 73 3.6.2.6.4 Sequence diagram Pembuatan Faktur .................................................... 73 3.6.2.6.5 Sequence Diagram Pencetakan Laporan Transaksi ............................... 74 3.6.2.6.6 Sequence Diagram Input Data Stok Obat ............................................... 75 3.6.2.6.7 Sequence Diagram Edit Data Stok Obat ............................................... 76 3.6.2.6.8 Sequence Diagram Input Data Supplier .................................................. 76 3.6.2.6.9 Sequence Diagram Edit Data Supplier ................................................. 77 3.6.2.6.10 Sequence Diagram Input Data Pelanggan ................................... 78 3.6.2.6.11 Sequence Diagram Edit Data Pelanggan ................................... 78 3.6.2.6.12 Sequence Diagram Hapus Data Pelanggan .................................. 79
xi
3.6.2.6.13 Sequence Diagram Input Purchase Order ................................... 80 3.6.2.6.13 Sequence Diagram Edit Purchase Order ................................... 80 3.6.2.6.14 Sequence Diagram Hapus Data Purchase Order ........................... 81 3.6.2.6.15 Sequence Diagram Input Data Deskripsi Obat ........................... 82 3.6.2.6.16 Sequence Diagram Edit Data Deskripsi Obat ........................... 83 3.6.2.6.17 Sequence Diagram Hapus Data Deskripsi Obat ........................... 83 3.6.2.6.17 Sequence Diagram Input Data Pembayaran ............................... 84 3.6.2.6.18 Sequence Diagram Edit Data Pembayaran ............................... 86 3.6.2.6.19 Sequence Diagram Input Data Reture Pembelian ...................... 86
xii
3.6.2.6.19 Sequence Diagram Edit Data Reture Pembelian ...................... 87 3.6.2.6.20 Sequence Diagram Hapus Data Reture Pembelian ...................... 88 3.6.2.6.21 Sequence Diagram Input Data Pembayaran Tunai .................... 89 3.6.2.6.22 Sequence Diagram Input Data Pembayaran Kredit ................... 90 3.7 Class diagram ................................................................. 91 3.8 Perancangan Antarmuka Perangkat Lunak(Interface) .......................................... 93 BAB IV
IMPLEMENTASI SISTEM 4.1 Persiapan Sistem ......................................................... 116 4.1.1 Persiapan Perangkat Lunak (Software) ............. 116 4.1.2 Persiapan Perangkat Keras (Hardware) ............. 117 4.1.3 Persiapan Tenaga Pelaksana .............................. 117 4.2 Pelatihan ...................................................................... 118 4.3 Pengujian Sistem .......................................................... 118 4.4 Pengoperasian .............................................................. 119 4.5 Implementasi User Interface ........................................ 119
xiii
4.5.1 Tampilan Menu Utama ..................................... 119 4.5.2 Form Login ......................................................... 120 4.5.3 Form Pengguna ................................................. 121 4.5.4 Form Obat ......................................................... 122 4.5.5 Form Pelanggan ................................................ 123 4.5.6 Form Supplier .................................................... 124 4.5.7 Form purchase order ......................................... 125 4.5.8 Form laporan purchase order............................. 126 4.5.9 Form laporan penjualan ................................... 127 4.5.10 Form laporan stok obat .................................... 128 4.5.11 Form transaksi penjualan obat ........................ 129 4.5.12 Form pembayaran ............................................ 130 4.5.13 Form pembayaran hutang ................................ 131 4.5.14 Form data kredit ............................................... 132 4.5.15 Form retur pembelian obat ................................ 133 4.5.16 Form laporan pembayaran hutang ................... 134 4.5.17 Laporan nota pembayaran Tunai .................... 135 4.5.18 Laporan purchase order .................................. 136 4.5.19 Laporan transaksi penjualan obat ................... 137 4.5.20 Laporan purchase order .................................... 138 4.5.21 Laporan Penjualan ............................................ 139 4.5.22 Laporan Stok Obat ........................................... 140
xiv
4.5.23 Laporan Grafik Transaksi Obat per hari ........ 141 4. 6 Skenario Pengujian ...................................................... 142 BAB V KESIMPULAN DAN SARAN .......................................... 156 5.1 Kesimpulan ................................................................. 156 5.2 Saran ........................................................................... 157 DATAR PUSTAKA .......................................................................... 158 LAMPIRAN