ISTASYON_ SAYAC_ HAREKET_ DETAYLARI
İstasyon Sayaç Hareket Detayları
ISTASYON_SAYAC_HAREKET_DETAYLARI, Mikro V16 veritabanında i̇stasyon sayaç hareket detayları verilerini tutan tablodur.
Bu tablo Mikro'nun İstasyon modülüne aittir ve toplam 49 alan içerir.
49
Toplam alan
0
Bağlı tablo
4
İndeks
shdt_Guid
Birincil anahtar
Alanlar
49 / 49 alan| # | Alan Adı | Tip | Açıklama | İlişki / Kod |
|---|---|---|---|---|
| 0 | shdt_Guid | Uniqueidentifier | — | |
| 1 | shdt_DBCno | Smallint | — | |
| 2 | shdt_SpecRECno | Integer | — | |
| 3 | shdt_iptal | Bit | — | |
| 4 | shdt_fileid | Smallint | — | |
| 5 | shdt_hidden | Bit | — | |
| 6 | shdt_kilitli | Bit | — | |
| 7 | shdt_degisti | Bit | — | |
| 8 | shdt_checksum | Integer | — | |
| 9 | shdt_create_user | Smallint | — | |
| 10 | shdt_create_date | DateTime | — | |
| 11 | shdt_lastup_user | Smallint | — | |
| 12 | shdt_lastup_date | DateTime | — | |
| 13 | shdt_special1 | Nvarchar(4) | — | |
| 14 | shdt_special2 | Nvarchar(4) | — | |
| 15 | shdt_special3 | Nvarchar(4) | — | |
| 16 | shdt_firma_no | Integer | Firma Numarası | |
| 17 | shdt_sube_no | Integer | Şube Numarası | |
| 18 | shdt_sayackodu | Nvarchar(25) | Sayaç Kodu | |
| 19 | shdt_depo_no | Integer | Depo Numarası | |
| 20 | shdt_stokkodu | Nvarchar(25) | Stok Kodu | |
| 21 | shdt_vardiyatarihi | DateTime | Vardiya Tarihi | |
| 22 | shdt_vardiyano | Tinyint | Vardiya Numarası | |
| 23 | shdt_filokodu | Nvarchar(25) | Filo Kodu | |
| 24 | shdt_carikodu | Nvarchar(25) | Cari Kodu | |
| 25 | shdt_tagnumarasi | Nvarchar(25) | Tag Numarası | |
| 26 | shdt_plaka_veya_personel | Nvarchar(25) | Plaka Veya Personel Kodu | |
| 27 | shdt_motorsaati | Float | Motor Saati | |
| 28 | shdt_kilometre | Float | Kilometre | |
| 29 | shdt_satistipi | Tinyint | Satış Tipi | |
| 30 | shdt_satistarihi | DateTime | Satış Tarihi | |
| 31 | shdt_satissirano | Integer | Satış Sıra No | |
| 32 | shdt_yakittipi | Tinyint | Yakıt Tipi | |
| 33 | shdt_birimfiyat | Float | Birim Fiyat | |
| 34 | shdt_miktar | Float | Miktar | |
| 35 | shdt_tutar | Float | Tutar | |
| 36 | shdt_pompano | Tinyint | Pompa Numarası | |
| 37 | shdt_tabancano | Tinyint | Tabanca Numarası | |
| 38 | shdt_odemeturu | Tinyint | Ödeme Türü | |
| 39 | shdt_aracplaka | Nvarchar(25) | Araç Plaka Kodu | |
| 40 | shdt_fisno | Integer | Fiş Numarası | |
| 41 | shdt_odeme | Float | Ödeme | |
| 42 | shdt_indirim | Float | İndirim | |
| 43 | shdt_hediyepuan | Float | Hediye Puan | |
| 44 | shdt_hediyetutar | Float | Hediye Tutarı | |
| 45 | shdt_hediyekartno | Nvarchar(25) | Hediye Kart Numarası | |
| 46 | shdt_hediyekartturu | Tinyint | Hediye Kart Türü | |
| 47 | shdt_netbirimfiyat | Float | Net Birim Fiyat | |
| 48 | shdt_sth_uid | Uniqueidentifier | Stok Hareket Uid |
İndeksler ve Anahtarlar
4 indeksPRIMARY KEYshdt_Guid
INDEXshdt_firma_no, shdt_sube_no, shdt_vardiyatarihi, shdt_vardiyano
INDEXshdt_sayackodu, shdt_vardiyatarihi, shdt_vardiyano
INDEXshdt_sth_uid
Aynı Modüldeki Tablolar
İstasyonİstasyon modülüne ait diğer Mikro V16 tabloları:
Örnek SQL Sorguları
3 sorguTemel veri listeleme
ISTASYON_SAYAC_HAREKET_DETAYLARI tablosundan başlıca alanları, en güncel kayıtlardan başlayarak çeker.
SELECT TOP 100 shdt_Guid, shdt_DBCno, shdt_SpecRECno, shdt_iptal, shdt_fileid FROM ISTASYON_SAYAC_HAREKET_DETAYLARI ORDER BY shdt_Guid DESC
Belirli bir kaydı getirme
Birincil anahtar (shdt_Guid) üzerinden tek bir kaydı sorgular.
SELECT shdt_Guid, shdt_DBCno, shdt_SpecRECno, shdt_iptal, shdt_fileid FROM ISTASYON_SAYAC_HAREKET_DETAYLARI WHERE shdt_Guid = @kayit_no
Toplam / özet hesaplama
Kayıt sayısını ve shdt_birimfiyat alanının toplamını hesaplar.
SELECT COUNT(*) AS kayit_sayisi,
SUM(shdt_birimfiyat) AS toplam
FROM ISTASYON_SAYAC_HAREKET_DETAYLARISık Sorulan Sorular
ISTASYON_SAYAC_HAREKET_DETAYLARI ile entegrasyon mu yapıyorsunuz?
Veri aktarımı, SQL raporlama veya Mikro API entegrasyonu için uzman ekibimizden destek alın.