4.35 ListingProgram Untuk Cetak Laporan Penggajian
Listing Program Keterangan
Private Sub kode_otomatis With Form11.Adodc4
.Enabled = False .RecordSource =
.RecordSource = select from A_BKK where Bulan= MonthDTPicker1 and Tahun= YearDTPicker1
.Enabled = True .Refresh
End With
With Form11.Adodc4.Recordset If .EOF = True Then
Text1 = BKK MonthDTPicker1 YearDTPicker1 001
Else .MoveLast
urut = Right.Fields0, 3 + Int1 If urut = 9 Then Text1.Text = BKK
MonthDTPicker1 YearDTPicker1 00 urut If urut = 10 And urut = 99 Then Text1.Text = BKK
MonthDTPicker1 YearDTPicker1 0 urut If urut = 100 And urut = 999 Then Text1.Text =
BKK MonthDTPicker1 YearDTPicker1 urut End If
End With End Sub
Tampilan untuk cetak laporan
penggajian.
4.6.4 Tampilan Menu Pada Bagian Accounting
Accountingadalah salah satu dari bagian-bagian yang terdapat dalam program sistem informasi akuntansi laporan keuangan arus kas yang terdapat pada
perusahaan, berikut tampilan dari menu Accounting:
Gambar 4.87Tampilan Untuk Masuk Bagian Accounting
Gambar 4.88Tampilan Menu Utama Bagian Accounting
Tabel 4.36 Listing Program Masuk Menu Utama Bagian Accounting
Listing Program Keterangan
Private Sub PERUSAHAAN_Click Form18.Show
End Sub Private Sub PP_Click
Form10.Show 1 End Sub
Private Sub PROGRAMER_Click Form19.Show
End Sub Private Sub Timer1_Timer
Label1.ForeColor = QBColorRnd 15 Label1.Caption = Label1.Caption
Label1.Caption = RightLabel1.Caption, LenLabel1.Caption - 2 + LeftLabel1.Caption, 2
Label2.ForeColor = QBColorRnd 15 Label2.Caption = Label2.Caption
Label3.ForeColor = QBColorRnd 15 Label3.Caption = Label3.Caption
Label4.ForeColor = QBColorRnd 15 Label4.Caption = Label4.Caption
End Sub Tampilan untuk
menu utama bagian accounting.
4.6.4.1 Perancangan Masukan
Gambar 4.89Tampilan Untuk Jurnal Umum
Gambar 4.90Tampilan Untuk Cetak Jurnal Umum
Tabel 4.37 Listing Program Untuk Jurnal umum
Listing Program Keterangan
Private Sub Command1_Click If Option1.Value = True Then
CR1.ReportFileName = App.Path \Report\JURNAL.rpt CR1.SelectionFormula = month{A_JURNAL.Tanggal}=
Combo1.ListIndex + 1 and year{A_JURNAL.Tanggal}= Text1.Text
CR1.RetrieveDataFiles CR1.WindowState = crptMaximized
CR1.Action = True Else
CR1.ReportFileName = App.Path \Report\JURNAL.rpt CR1.SelectionFormula = year{A_JURNAL.Tanggal}=
Text1.Text CR1.RetrieveDataFiles
CR1.WindowState = crptMaximized CR1.Action = True
End If End Sub
Private Sub Command2_Click Unload Me
End Sub Tampilan Untuk
jurnal Umum
Gambar 4.91Tampilan Untuk Buku Besar Umum
Gambar 4.92Tampilan Untuk Cetak Buku Besar Umum Pendapatan
Gambar 4.93Tampilan Untuk Cetak Buku Besar Umum Piutang
Gambar 4.94Tampilan Untuk Cetak Buku Besar Umum Beban Gaji
Gambar 4.95Tampilan Untuk Cetak Buku Besar UmumBeban Listrik
Gambar 4.96Tampilan Untuk Cetak Buku Besar UmumBeban Air
Gambar 4.97Tampilan Untuk Cetak Buku Besar Umum Beban Telepon
Gambar 4.98Tampilan Untuk Cetak Buku Besar Umum Peralatan
Gambar 4.100Tampilan Untuk Cetak Buku Besar Umum Perlengkapan
Gambar 4.101Tampilan Untuk Cetak Buku Besar Umum Beban Operasional
Gambar 4.102 Tampilan Untuk Buku Besar Umum Kantor Pusat
Gambar 4.103 Tampilan Untuk Cetak Buku Besar Umum Diskon
Gambar 4.104 Tampilan Untuk Cetak Buku Besar Umum Biaya Transit
Gambar 4.105 Tampilan Untuk Cetak Buku Besar Umum Beban Kerugian
Tabel 4.38 Listing Program Untuk Buku Besar Umum
Listing Program Keterangan
Private Sub Combo2_Click If Combo2.ListIndex = 0 Then Text2 = 111
If Combo2.ListIndex = 1 Then Text2 = 411 If Combo2.ListIndex = 2 Then Text2 = 112
If Combo2.ListIndex = 3 Then Text2 = 511 If Combo2.ListIndex = 4 Then Text2 = 512
If Combo2.ListIndex = 5 Then Text2 = 513 If Combo2.ListIndex = 6 Then Text2 = 514
If Combo2.ListIndex = 7 Then Text2 = 113 If Combo2.ListIndex = 8 Then Text2 = 114
If Combo2.ListIndex = 9 Then Text2 = 515 If Combo2.ListIndex = 10 Then Text2 = 516
End Sub
Private Sub Command1_Click Text4 = 0
If Option1.Value = True Then Tanggal = DateSerialText1, Combo1.ListIndex + 1, 1
Else Tanggal = DateSerialText1, 1, 1
End If
If Combo2.ListIndex = 0 Or Combo2.ListIndex = 2 Or Combo2.ListIndex = 7 Or Combo2.ListIndex = 8 Then
Adodc1.Enabled = False Adodc1.CommandType = adCmdText
Adodc1.RecordSource = Adodc1.RecordSource = SELECT SUMKasAS TOTAL From
dbo.A_LK WHERE TANGGAL CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
If Combo2.ListIndex = 0 Then Adodc1.RecordSource = SELECT SUMKasAS TOTAL From dbo.A_LK WHERE TANGGAL
CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
If Combo2.ListIndex = 2 Then Adodc1.RecordSource = SELECT SUMPiutangAS TOTAL From dbo.A_LK WHERE TANGGAL
CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
If Combo2.ListIndex = 7 Then Adodc1.RecordSource = SELECT SUMPeralatanAS TOTAL From dbo.A_LK WHERE TANGGAL
CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
If Combo2.ListIndex = 8 Then Adodc1.RecordSource = SELECT SUMPerlengkapanAS TOTAL From dbo.A_LK WHERE TANGGAL
CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
If Combo2.ListIndex = 0 Then Adodc1.RecordSource = SELECT SUMKasAS TOTAL From dbo.A_LK WHERE TANGGAL
CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
Adodc1.Enabled = True Adodc1.Refresh
On Error Resume Next If Adodc1.Recordset.BOF = False Then
Text4 = Adodc1.Recordset.Fields0 Else
Text4 = 0 End If
Tampilan untuk buku besar umum
4.6.4.2 Perancangan Keluaran
Gambar 4.102 Tampilan Untuk Laporan Laba Rugi
Gambar 4.103 Tampilan Untuk Cetak Laporan Laba Rugi
Tabel 4.39 Listing Program Untuk Laporan Laba Rugi
Listing Program Keterangan
Private Sub Command1_Click If Option1.Value = True Then
Text3 = Combo1 Text1 CR1.ReportFileName = App.Path \Report\LR.rpt
CR1.SelectionFormula = month{A_LK.Tanggal}= Combo1.ListIndex + 1 and year{A_LK.Tanggal}=
Text1.Text CR1.ParameterFields0 = PERIODE; Text3 ; 1
CR1.RetrieveDataFiles CR1.WindowState = crptMaximized
CR1.Action = True Else
Text3 = Text1 CR1.ReportFileName = App.Path \Report\LR.rpt
CR1.SelectionFormula = year{A_LK.Tanggal}= Text1.Text
CR1.ParameterFields0 = Periode; Text3 ; 1 CR1.RetrieveDataFiles
CR1.WindowState = crptMaximized CR1.Action = True
End If
End Sub Tampilan Untuk
Laporan Laba Rugi
Gambar 4.104Tampilan Untuk Laporan Arus Kas
Gambar 4.105 Tampilan Untuk Cetak Laporan Arus Kas Tabel 4.40
Listing Program Untuk Laporan Arus Kas
Listing Program Keterangan
Private Sub Command1_Click Text4 = 0
Text5 = 0 Text6 = 0
Text7 = 0
If Option1.Value = True Then Tanggal = DateSerialText1, Combo1.ListIndex + 1, 1
Else Tanggal = DateSerialText1, 1, 1
End If
Adodc1.Enabled = False Adodc1.CommandType = adCmdText
Adodc1.RecordSource = Adodc1.RecordSource = SELECT SUMKasAS TOTAL From dbo.A_LK
WHERE TANGGAL CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
Adodc1.Enabled = True Adodc1.Refresh
On Error Resume Next If Adodc1.Recordset.BOF = False Then
Text4 = Adodc1.Recordset.Fields0 Else
Text4 = 0 End If
Tampilan Untuk Laporan Arus Kas
Lanjutan Listing Program Untuk Laporan Arus Kas
Adodc1.Enabled = False Adodc1.CommandType = adCmdText
Adodc1.RecordSource = Adodc1.RecordSource = SELECT SUMPeralatanAS TOTAL From
dbo.A_LK WHERE TANGGAL CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
Adodc1.Enabled = True Adodc1.Refresh
On Error Resume Next If Adodc1.Recordset.BOF = False Then
Text5 = Adodc1.Recordset.Fields0 Else
Text5 = 0 End If
Adodc1.Enabled = False Adodc1.CommandType = adCmdText
Adodc1.RecordSource = Adodc1.RecordSource = SELECT SUMPerlengkapanAS TOTAL From
dbo.A_LK WHERE TANGGAL CONVERTDATETIME, FormatTanggal, mmddyyyy , 102
Adodc1.Enabled = True Adodc1.Refresh
On Error Resume Next If Adodc1.Recordset.BOF = False Then
Text6 = Adodc1.Recordset.Fields0 Else
Text6 = 0 End If
Gambar 4.106 Tampilan Untuk Laporan Kerugian
Gambar 4.107 Tampilan Untuk Cetak Laporan Kerugian Tabel 4.41
Listing Program Untuk Laporan Kerugian
Listing Program Keterangan
Private Sub Command1_Click With Adodc1.Recordset
.AddNew .Fields0 = Text1
.Fields1 = DTPicker1 .Fields2 = Text2
.Fields3 = Text3 .Fields4 = Text4
.Fields5 = Text5 .Fields6 = Text6
.Fields7 = MonthDTPicker1 .Fields8 = YearDTPicker1
.Fields9 = T .Fields10 = Text7
.Update End With
With Form11.Adodc4.Recordset .AddNew
.Fields0 = Text1 .Fields1 = DTPicker1
.Fields2 = BIAYA PENGGANTIAN .Fields3 = Text6
.Fields4 = MonthDTPicker1 .Fields5 = YearDTPicker1
.Update End With
With Adodc2 .Enabled = False
.RecordSource = .RecordSource = select from A_TRANSAKSI_PENGIRIMAN
where No_Pengiriman= Text2 .Enabled = True
.Refresh End With
With Adodc2.Recordset .Fields21 = Y
.Update End With
Tampilan Untuk Laporan Kerugian
Gambar 4.108 Tampilan Untuk Cetak Form Penerimaan Gambar 4.109 Tampilan Untuk Cetak Form Penerimaan
Tabel 4.42 Listing Program Untuk Laporan Penerimaan
Listing Program Keterangan
Private Sub Command1_Click With Form7.Adodc6
.Enabled = False .RecordSource =
.RecordSource = select from A_DATA_KENDARAAN where No_Polisi= Text8
.Enabled = True .Refresh
End With
If Form7.Adodc6.Recordset.RecordCount = 0 Then Text16 = ValText14 ValText15
Else Form7.Adodc6.Recordset.Fields6 = 0
Form7.Adodc6.Recordset.Update End If
With Adodc1.Recordset .AddNew
.Fields0 = Text1 .Fields1 = DTPicker1
.Fields2 = Text2 .Fields3 = Text7
.Fields4 = Text3 .Fields5 = Text4
.Fields6 = Text5 .Fields7 = Text6
.Fields8 = MonthDTPicker1 .Fields9 = YearDTPicker1
.Fields10 = Text9 .Update
End With
With Adodc2 .Enabled = False
.RecordSource = .RecordSource = select from A_TRANSAKSI_PENGIRIMAN
where No_Pengiriman= Text2 .Enabled = True
.Refresh End With
With Adodc2.Recordset .Fields33 = Y
.Update End With
With Form11.Adodc4.Recordset .AddNew
.Fields0 = Text1 .Fields1 = DTPicker1
.Fields2 = BIAYA PENGGANTIAN .Fields3 = Text6
.Fields4 = MonthDTPicker1 .Fields5 = YearDTPicker1
.Update End With
Tampilan Untuk Laporan Penerimaan
Gambar 4.110 Tampilan Profil Perusahaan
Gambar 4.111 Tampilan Profil Programmer
4.7 Konversi Komponen Sistem 4.7.1Pengguna