protected override void InitUI() { ListAkun = FastLoadEntities <Akun>( "IdAkun,NoAkun,NamaAkun", "Aktif<>0 AND Posting<>0", "NoAkun", true); ListMataUang = FastLoadEntities <MataUang>( "KodeMataUang,NamaMataUang", "Aktif<>0", "KodeMataUang", true); ListDepartemen = FastLoadEntities <Departemen>( "IdDepartemen,KodeDepartemen,NamaDepartemen", "Posting<>0 AND Aktif<>0", "KodeDepartemen", true, true); ListProyek = FastLoadEntities <Proyek>( "IdProyek,KodeProyek,NamaProyek", "Posting<>0 AND Aktif<>0", "KodeProyek", true, true); ListAturan = FastLoadEntities <MasterAturanJurnal>( "AturanJurnal", "Aktif<>0", "AturanJurnal", true, true); ListJenisDokSumber = FastLoadEntities <JenisDokSumberJurnal>( "JenisDokSumber", "Aktif<>0 AND Otomatis=0", "JenisDokSumber", true); _JenisDokSumber = Dp.GetVariable <string>( "JurnalVar", "JenisDokSumber", string.Empty); LastJenisDokSumber = _JenisDokSumber; CheckTransDate = true; }
protected override void InitUI() { ListKas = FastLoadEntities <Akun>( "IdAkun,NoAkun,NamaAkun", "Aktif<>0 AND KelompokAkun=" + FormatSqlValue(enKelompokAkun.Kas__Bank), "NoAkun", true); ListJenisPengeluaran = FastLoadEntities <JenisPengeluaranKas>( "JenisPengeluaran", "Aktif<>0", "JenisPengeluaran", true); ListDepartemen = FastLoadEntities <Departemen> ("IdDepartemen,KodeDepartemen,NamaDepartemen", "Posting<>0 AND Aktif<>0", "KodeDepartemen", true, true); ListProyek = FastLoadEntities <Proyek> ("IdProyek,KodeProyek,NamaProyek", "Posting<>0 AND Aktif<>0", "KodeProyek", true, true); _IdKas = Dp.GetVariable <string>( "PerintahBayarVar", "IdKas", string.Empty); }