neu
This commit is contained in:
8659
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/ATEZ/BeyannameBilgi.Designer.vb
generated
Normal file
8659
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/ATEZ/BeyannameBilgi.Designer.vb
generated
Normal file
File diff suppressed because it is too large
Load Diff
1576
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/ATEZ/BeyannameBilgi.json
Normal file
1576
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/ATEZ/BeyannameBilgi.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,375 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:complexType name="BeyannameBilgi">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Beyanname_no" type="xsd:string" />
|
||||
<xsd:element name="Rejim" type="xsd:string" />
|
||||
<xsd:element name="GUMRUK" type="xsd:string" />
|
||||
<xsd:element name="Basitlestirilmis_usul" type="xsd:string" />
|
||||
<xsd:element name="Yuk_belgeleri_sayisi" type="xsd:int" />
|
||||
<xsd:element name="Kap_adedi" type="xsd:int" />
|
||||
<xsd:element name="Ticaret_ulkesi" type="xsd:string" />
|
||||
<xsd:element name="Referans_no" type="xsd:string" />
|
||||
<xsd:element name="Birlik_kayit_numarasi" type="xsd:string" />
|
||||
<xsd:element name="Birlik_kripto_numarasi" type="xsd:string" />
|
||||
<xsd:element name="Cikis_ulkesi" type="xsd:string" />
|
||||
<xsd:element name="Gidecegi_ulke" type="xsd:string" />
|
||||
<xsd:element name="Gidecegi_sevk_ulkesi" type="xsd:string" />
|
||||
<xsd:element name="Cikistaki_aracin_tipi" type="xsd:string" />
|
||||
<xsd:element name="Cikistaki_aracin_kimligi" type="xsd:string" />
|
||||
<xsd:element name="Cikistaki_aracin_ulkesi" type="xsd:string" />
|
||||
<xsd:element name="Teslim_sekli" type="xsd:string" />
|
||||
<xsd:element name="Teslim_yeri" type="xsd:string" />
|
||||
<xsd:element name="Konteyner" type="xsd:string" />
|
||||
<xsd:element name="Sinirdaki_aracin_tipi" type="xsd:string" />
|
||||
<xsd:element name="Sinirdaki_aracin_kimligi" type="xsd:string" />
|
||||
<xsd:element name="Sinirdaki_aracin_ulkesi" type="xsd:string" />
|
||||
<xsd:element name="Toplam_fatura_dovizi" type="xsd:string" />
|
||||
<xsd:element name="Toplan_navlun_dovizi" type="xsd:string" />
|
||||
<xsd:element name="Sinirdaki_tasima_sekli" type="xsd:string" />
|
||||
<xsd:element name="Alici_satici_iliskisi" type="xsd:string" />
|
||||
<xsd:element name="Toplam_sigorta_dovizi" type="xsd:string" />
|
||||
<xsd:element name="Yukleme_bosaltma_yeri" type="xsd:string" />
|
||||
<xsd:element name="Toplam_yurt_disi_harcamalarin_dovizi" type="xsd:string" />
|
||||
<xsd:element name="Banka_kodu" type="xsd:string" />
|
||||
<xsd:element name="Esyanin_bulundugu_yer" type="xsd:string" />
|
||||
<xsd:element name="Varis_gumruk_idaresi" type="xsd:string" />
|
||||
<xsd:element name="Antrepo_kodu" type="xsd:string" />
|
||||
<xsd:element name="Tasarlanan_guzergah" type="xsd:string" />
|
||||
<xsd:element name="Giris_gumruk_idaresi" type="xsd:string" />
|
||||
<xsd:element name="Islemin_niteligi" type="xsd:string" />
|
||||
<xsd:element name="Aciklamalar" type="xsd:string" />
|
||||
<xsd:element name="Kullanici_kodu" type="xsd:string" />
|
||||
<xsd:element name="Referans_tarihi" type="xsd:string" />
|
||||
<xsd:element name="Odeme" type="xsd:string" />
|
||||
<xsd:element name="Odeme_araci" type="xsd:string" />
|
||||
<xsd:element name="Musavir_referansi" type="xsd:string" />
|
||||
<xsd:element name="Gonderici_vergi_no" type="xsd:string" />
|
||||
<xsd:element name="Alici_vergi_no" type="xsd:string" />
|
||||
<xsd:element name="Beyan_sahibi_vergi_no" type="xsd:string" />
|
||||
<xsd:element name="Musavir_vergi_no" type="xsd:string" />
|
||||
<xsd:element name="Asil_sorumlu_vergi_no" type="xsd:string" />
|
||||
<xsd:element name="Firma_bilgi" type="ArrayOfFirma" />
|
||||
<xsd:element name="Teminat" type="ArrayOfTeminat" />
|
||||
<xsd:element name="Ozetbeyanlar" type="ArrayOfOzetbeyan" />
|
||||
<xsd:element name="Kalemler" type="ArrayOfKalem" />
|
||||
<xsd:element name="Sorular_cevaplar" type="ArrayOfSoru_Cevap" />
|
||||
<xsd:element name="Dokumanlar" type="ArrayOfDokuman" />
|
||||
<xsd:element name="Vergiler" type="ArrayOfVergi" />
|
||||
<xsd:element name="KiymetBildirim" type="ArrayOfKiymet" />
|
||||
<xsd:element name="mail1" type="xsd:string" />
|
||||
<xsd:element name="mail2" type="xsd:string" />
|
||||
<xsd:element name="mail3" type="xsd:string" />
|
||||
<xsd:element name="mobil1" type="xsd:string" />
|
||||
<xsd:element name="mobil2" type="xsd:string" />
|
||||
<xsd:element name="FazlaMesaiID" type="xsd:string" />
|
||||
<xsd:element name="LimanKodu" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfFirma">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="firma">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Tip" type="xsd:string" />
|
||||
<xsd:element name="Ulke_kodu" type="xsd:string" />
|
||||
<xsd:element name="Posta_kodu" type="xsd:string" />
|
||||
<xsd:element name="Kimlik_turu" type="xsd:string" />
|
||||
<xsd:element name="Faks" type="xsd:string" />
|
||||
<xsd:element name="No" type="xsd:string" />
|
||||
<xsd:element name="Adi_unvani" type="xsd:string" />
|
||||
<xsd:element name="Cadde_s_no" type="xsd:string" />
|
||||
<xsd:element name="Telefon" type="xsd:string" />
|
||||
<xsd:element name="Il_ilce" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfTeminat">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Teminat">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Teminat_sekli" type="xsd:string" />
|
||||
<xsd:element name="Global_teminat_no" type="xsd:string" />
|
||||
<xsd:element name="Aciklama" type="xsd:string" />
|
||||
<xsd:element name="Diger_tutar_referansi" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfOzetbeyan">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Ozetbeyan">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="ozbyacma_bilgi" type="ArrayOfTasimasenetleri" />
|
||||
<xsd:element name="Ozetbeyan_no" type="xsd:string" />
|
||||
<xsd:element name="Ozetbeyan_islem_kapsami" type="xsd:string" />
|
||||
<xsd:element name="Ambar_ici" type="xsd:string" />
|
||||
<xsd:element name="Baska_rejim" type="xsd:string" />
|
||||
<xsd:element name="Aciklama" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfTasimasenetleri">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="tasimasenetleri">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Tasima_senedi_no" type="xsd:string" />
|
||||
<xsd:element name="tasimasatir_bilgi" type="ArrayOfTasimasatirlari" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfTasimasatirlari">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="tasimasatirlari">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Tasima_satir_no" type="xsd:string" />
|
||||
<xsd:element name="Ambar_kodu" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfKalem">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="kalem">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="tamamlayici_bilgi" type="ArrayOfTamamlayici" />
|
||||
<xsd:element name="tcgbacmakapatma_bilgi" type="ArrayOfTcgbacmakapatma" />
|
||||
<xsd:element name="marka_model_bilgi" type="ArrayOfMarka" />
|
||||
<xsd:element name="konteyner_Bilgi" type="ArrayOfKonteyner" />
|
||||
<xsd:element name="VergiMuafiyetleri" type="ArrayOfVergiMuafiyeti" />
|
||||
<xsd:element name="HavacilikYakitTurleri" type="ArrayOfHavacilikYakitTuru" />
|
||||
<xsd:element name="OdemeSekilleri" type="ArrayOfOdemeSekli" />
|
||||
<xsd:element name="Gtip" type="xsd:string" />
|
||||
<xsd:element name="Imalatci_firma_bilgisi" type="xsd:string" />
|
||||
<xsd:element name="Kalem_sira_no" type="xsd:int" />
|
||||
<xsd:element name="Mensei_ulke" type="xsd:string" />
|
||||
<xsd:element name="Tamamlayici_olcu_birimi" type="xsd:string" />
|
||||
<xsd:element name="Uluslararasi_anlasma" type="xsd:string" />
|
||||
<xsd:element name="Algilama_birimi_1" type="xsd:string" />
|
||||
<xsd:element name="Algilama_birimi_2" type="xsd:string" />
|
||||
<xsd:element name="Muafiyetler_1" type="xsd:string" />
|
||||
<xsd:element name="Muafiyetler_2" type="xsd:string" />
|
||||
<xsd:element name="Muafiyetler_3" type="xsd:string" />
|
||||
<xsd:element name="Muafiyetler_4" type="xsd:string" />
|
||||
<xsd:element name="Muafiyetler_5" type="xsd:string" />
|
||||
<xsd:element name="Algilama_birimi_3" type="xsd:string" />
|
||||
<xsd:element name="Teslim_sekli" type="xsd:string" />
|
||||
<xsd:element name="Ek_kod" type="xsd:string" />
|
||||
<xsd:element name="Ozellik" type="xsd:string" />
|
||||
<xsd:element name="Fatura_miktarinin_dovizi" type="xsd:string" />
|
||||
<xsd:element name="Navlun_miktarinin_dovizi" type="xsd:string" />
|
||||
<xsd:element name="Sigorta_miktarinin_dovizi" type="xsd:string" />
|
||||
<xsd:element name="Tarifedeki_tanimi" type="xsd:string" />
|
||||
<xsd:element name="Ticari_tanimi" type="xsd:string" />
|
||||
<xsd:element name="Marka" type="xsd:string" />
|
||||
<xsd:element name="Numara" type="xsd:string" />
|
||||
<xsd:element name="Cinsi" type="xsd:string" />
|
||||
<xsd:element name="Miktar_birimi" type="xsd:string" />
|
||||
<xsd:element name="Mahrece_iade" type="xsd:string" />
|
||||
<xsd:element name="Ikincil_islem" type="xsd:string" />
|
||||
<xsd:element name="Satir_no" type="xsd:string" />
|
||||
<xsd:element name="Kdv_orani" type="xsd:string" />
|
||||
<xsd:element name="Kullanilmis_esya" type="xsd:string" />
|
||||
<xsd:element name="Aciklama_44" type="xsd:string" />
|
||||
<xsd:element name="Imalatci_Vergino" type="xsd:string" />
|
||||
<xsd:element name="Yurtici_Diger_Aciklama" type="xsd:string" />
|
||||
<xsd:element name="Muafiyet_Aciklamasi" type="xsd:string" />
|
||||
<xsd:element name="Referans_Tarihi" type="xsd:string" />
|
||||
<xsd:element name="YurtDisi_Komisyon_Dovizi" type="xsd:string" />
|
||||
<xsd:element name="YurtDisi_Demuraj_Dovizi" type="xsd:string" />
|
||||
<xsd:element name="YurtDisi_Royalti_Dovizi" type="xsd:string" />
|
||||
<xsd:element name="YurtDisi_Faiz_Dovizi" type="xsd:string" />
|
||||
<xsd:element name="YurtDisi_Diger_Dovizi" type="xsd:string" />
|
||||
<xsd:element name="YurtDisi_Diger_Aciklama" type="xsd:string" />
|
||||
<xsd:element name="Kalem_Islem_Niteligi" type="xsd:string" />
|
||||
<xsd:element name="Giris_Cikis_Amaci" type="xsd:string" />
|
||||
<xsd:element name="Giris_Cikis_Amaci_Aciklama" type="xsd:string" />
|
||||
<xsd:element name="STM_IlKodu" type="xsd:string" />
|
||||
<xsd:element name="EsyaGeriGelmeSebebi" type="xsd:string" />
|
||||
<xsd:element name="EsyaGeriGelmeSebebiAciklamasi" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfTamamlayici">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="tamamlayici">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Tamamlayici_bilgi" type="xsd:string" />
|
||||
<xsd:element name="Tamamlayici_bilgi_orani" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfTcgbacmakapatma">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="tcgbacmakapatma">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Kapatilan_beyanname_no" type="xsd:string" />
|
||||
<xsd:element name="Kapatilan_kalem_no" type="xsd:int" />
|
||||
<xsd:element name="Aciklama" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfMarka">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Marka">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Marka_Turu" type="xsd:string" />
|
||||
<xsd:element name="Marka_Tescil_No" type="xsd:string" />
|
||||
<xsd:element name="Marka_Adi" type="xsd:string" />
|
||||
<xsd:element name="Referans_No" type="xsd:string" />
|
||||
<xsd:element name="Model_Yili" type="xsd:string" />
|
||||
<xsd:element name="Model" type="xsd:string" />
|
||||
<xsd:element name="Motor_hacmi" type="xsd:string" />
|
||||
<xsd:element name="Silindir_adedi" type="xsd:int" />
|
||||
<xsd:element name="Renk" type="xsd:string" />
|
||||
<xsd:element name="MotorTipi" type="xsd:string" />
|
||||
<xsd:element name="MotorNo" type="xsd:string" />
|
||||
<xsd:element name="MotorGucu" type="xsd:int" />
|
||||
<xsd:element name="Vites" type="xsd:string" />
|
||||
<xsd:element name="IMEINo" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfKonteyner">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Konteyner">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Konteyner_No" type="xsd:string" />
|
||||
<xsd:element name="Ulke_Kodu" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfVergiMuafiyeti">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="VergiMuafiyeti">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="VergiMuafiyetKodu" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfHavacilikYakitTuru">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="HavacilikYakitTuru">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="VergiNumarasi" type="xsd:string" />
|
||||
<xsd:element name="FaturaTarihi" type="xsd:string" />
|
||||
<xsd:element name="FaturaNumarasi" type="xsd:string" />
|
||||
<xsd:element name="ToplamFaturaMiktar" type="xsd:string" />
|
||||
<xsd:element name="YakitTuru" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfOdemeSekli">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="OdemeSekli">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="OdemeSekliKodu" type="xsd:string" />
|
||||
<xsd:element name="TBFID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfSoru_Cevap">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Soru_Cevap">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Kalem_no" type="xsd:int" />
|
||||
<xsd:element name="Soru_no" type="xsd:string" />
|
||||
<xsd:element name="Cevap" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfDokuman">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Dokuman">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Kalem_no" type="xsd:int" />
|
||||
<xsd:element name="Kod" type="xsd:string" />
|
||||
<xsd:element name="Dogrulama" type="xsd:string" />
|
||||
<xsd:element name="Belge_tarihi" type="xsd:string" />
|
||||
<xsd:element name="Referans" type="xsd:string" />
|
||||
<xsd:element name="Vize_Tarihi" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfVergi">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Vergi">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Kalem_no" type="xsd:int" />
|
||||
<xsd:element name="Kod" type="xsd:string" />
|
||||
<xsd:element name="Aciklama" type="xsd:string" />
|
||||
<xsd:element name="Oran" type="xsd:string" />
|
||||
<xsd:element name="Odeme_sekli" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfKiymet">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Kiymet">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="TeslimSekli" type="xsd:string" />
|
||||
<xsd:element name="FaturaTarihiSayisi" type="xsd:string" />
|
||||
<xsd:element name="SozlesmeTarihiSayisi" type="xsd:string" />
|
||||
<xsd:element name="GumrukIdaresiKarari" type="xsd:string" />
|
||||
<xsd:element name="AliciSatici" type="xsd:string" />
|
||||
<xsd:element name="Munasebet" type="xsd:string" />
|
||||
<xsd:element name="Emsal" type="xsd:string" />
|
||||
<xsd:element name="AliciSaticiAyrintilar" type="xsd:string" />
|
||||
<xsd:element name="Kisitlamalar" type="xsd:string" />
|
||||
<xsd:element name="Edim" type="xsd:string" />
|
||||
<xsd:element name="KisitlamalarAyrintilar" type="xsd:string" />
|
||||
<xsd:element name="Royalti" type="xsd:string" />
|
||||
<xsd:element name="RoyaltiKosullar" type="xsd:string" />
|
||||
<xsd:element name="SaticiyaIntikal" type="xsd:string" />
|
||||
<xsd:element name="SaticiyaIntikalKosullar" type="xsd:string" />
|
||||
<xsd:element name="SehirYer" type="xsd:string" />
|
||||
<xsd:element name="Taahutname" type="xsd:string" />
|
||||
<xsd:element name="KiymetKalemler" type="ArrayOfKiymetKalem" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ArrayOfKiymetKalem">
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="KiymetKalem">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="KiymetKalemNo" type="xsd:int" />
|
||||
<xsd:element name="BeyannameKalemNo" type="xsd:int" />
|
||||
<xsd:element name="DigerOdemelerNiteligi" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="BeyannameBilgi" type="BeyannameBilgi" />
|
||||
<xsd:element name="ArrayOfFirma" type="ArrayOfFirma" />
|
||||
<xsd:element name="firma" type="firma" />
|
||||
<xsd:element name="ArrayOfTeminat" type="ArrayOfTeminat" />
|
||||
<xsd:element name="Teminat" type="Teminat" />
|
||||
<xsd:element name="ArrayOfOzetbeyan" type="ArrayOfOzetbeyan" />
|
||||
<xsd:element name="Ozetbeyan" type="Ozetbeyan" />
|
||||
<xsd:element name="ArrayOfTasimasenetleri" type="ArrayOfTasimasenetleri" />
|
||||
<xsd:element name="tasimasenetleri" type="tasimasenetleri" />
|
||||
<xsd:element name="ArrayOfTasimasatirlari" type="ArrayOfTasimasatirlari" />
|
||||
<xsd:element name="tasimasatirlari" type="tasimasatirlari" />
|
||||
<xsd:element name="ArrayOfKalem" type="ArrayOfKalem" />
|
||||
<xsd:element name="kalem" type="kalem" />
|
||||
<xsd:element name="ArrayOfTamamlayici" type="ArrayOfTamamlayici" />
|
||||
<xsd:element name="tamamlayici" type="tamamlayici" />
|
||||
<xsd:element name="ArrayOfTcgbacmakapatma" type="ArrayOfTcgbacmakapatma" />
|
||||
<xsd:element name="tcgbacmakapatma" type="tcgbacmakapatma" />
|
||||
<xsd:element name="ArrayOfMarka" type="ArrayOfMarka" />
|
||||
<xsd:element name="Marka" type="Marka" />
|
||||
<xsd:element name="ArrayOfKonteyner" type="ArrayOfKonteyner" />
|
||||
<xsd:element name="Konteyner" type="Konteyner" />
|
||||
<xsd:element name="ArrayOfVergiMuafiyeti" type="ArrayOfVergiMuafiyeti" />
|
||||
<xsd:element name="VergiMuafiyeti" type="VergiMuafiyeti" />
|
||||
<xsd:element name="ArrayOfHavacilikYakitTuru" type="ArrayOfHavacilikYakitTuru" />
|
||||
<xsd:element name="HavacilikYakitTuru" type="HavacilikYakitTuru" />
|
||||
<xsd:element name="ArrayOfOdemeSekli" type="ArrayOfOdemeSekli" />
|
||||
<xsd:element name="OdemeSekli" type="OdemeSekli" />
|
||||
<xsd:element name="ArrayOfSoru_Cevap" type="ArrayOfSoru_Cevap" />
|
||||
<xsd:element name="Soru_Cevap" type="Soru_Cevap" />
|
||||
<xsd:element name="ArrayOfDokuman" type="ArrayOfDokuman" />
|
||||
<xsd:element name="Dokuman" type="Dokuman" />
|
||||
<xsd:element name="ArrayOfVergi" type="ArrayOfVergi" />
|
||||
<xsd:element name="Vergi" type="Vergi" />
|
||||
<xsd:element name="ArrayOfKiymet" type="ArrayOfKiymet" />
|
||||
<xsd:element name="Kiymet" type="Kiymet" />
|
||||
<xsd:element name="ArrayOfKiymetKalem" type="ArrayOfKiymetKalem" />
|
||||
<xsd:element name="KiymetKalem" type="KiymetKalem" />
|
||||
</xsd:schema>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,321 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:complexType name="DeclarationInfo">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="declarationNo" type="xsd:string" />
|
||||
<xsd:element name="Procedure" type="xsd:string" />
|
||||
<xsd:element name="customs" type="xsd:string" />
|
||||
<xsd:element name="simplifiedProcedure" type="xsd:string" />
|
||||
<xsd:element name="loadingList" type="xsd:int" />
|
||||
<xsd:element name="totalPackageQuantity" type="xsd:int" />
|
||||
<xsd:element name="tradeCountry" type="xsd:string" />
|
||||
<xsd:element name="referenceNo" type="xsd:string" />
|
||||
<xsd:element name="associationRegistrationNo" type="xsd:string" />
|
||||
<xsd:element name="associationCryptoNo" type="xsd:string" />
|
||||
<xsd:element name="countryOfExit" type="xsd:string" />
|
||||
<xsd:element name="countryOfDestination" type="xsd:string" />
|
||||
<xsd:element name="countryOfFirstDestination" type="xsd:string" />
|
||||
<xsd:element name="exitVehicleType" type="xsd:string" />
|
||||
<xsd:element name="exitVehicleIdentity" type="xsd:string" />
|
||||
<xsd:element name="exitVehicleCountry" type="xsd:string" />
|
||||
<xsd:element name="deliveryTerms" type="xsd:string" />
|
||||
<xsd:element name="deliveryPlace" type="xsd:string" />
|
||||
<xsd:element name="Container" type="xsd:string" />
|
||||
<xsd:element name="borderVehicleType" type="xsd:string" />
|
||||
<xsd:element name="borderVehicleIdentity" type="xsd:string" />
|
||||
<xsd:element name="borderVehicleCountry" type="xsd:string" />
|
||||
<xsd:element name="totalPayableAmountCurrency" type="xsd:string" />
|
||||
<xsd:element name="totalFreightAmountCurrency" type="xsd:string" />
|
||||
<xsd:element name="borderTransportMeans" type="xsd:string" />
|
||||
<xsd:element name="partyRelationshipCode" type="xsd:string" />
|
||||
<xsd:element name="totalInsuranceCurrency" type="xsd:string" />
|
||||
<xsd:element name="transportHandlingPlace" type="xsd:string" />
|
||||
<xsd:element name="totalForeignExpenditureCurrency" type="xsd:string" />
|
||||
<xsd:element name="bankCode" type="xsd:string" />
|
||||
<xsd:element name="itemLocation" type="xsd:string" />
|
||||
<xsd:element name="destinationCustomsOffice" type="xsd:string" />
|
||||
<xsd:element name="warehouseCode" type="xsd:string" />
|
||||
<xsd:element name="plannedRoute" type="xsd:string" />
|
||||
<xsd:element name="exitCustomsOffice" type="xsd:string" />
|
||||
<xsd:element name="transactionNature" type="xsd:string" />
|
||||
<xsd:element name="remarks" type="xsd:string" />
|
||||
<xsd:element name="userCode" type="xsd:string" />
|
||||
<xsd:element name="referenceDate" type="xsd:string" />
|
||||
<xsd:element name="payment" type="xsd:string" />
|
||||
<xsd:element name="paymentMeans" type="xsd:string" />
|
||||
<xsd:element name="customsBrokerReference" type="xsd:string" />
|
||||
<xsd:element name="consignorTaxNo" type="xsd:string" />
|
||||
<xsd:element name="consigneeTaxNo" type="xsd:string" />
|
||||
<xsd:element name="declarantTaxNo" type="xsd:string" />
|
||||
<xsd:element name="financialResponsibleTaxNo" type="xsd:string" />
|
||||
<xsd:element name="personelResponsibleTaxNo" type="xsd:string" />
|
||||
<xsd:element name="partyInfo" type="ArrayOfParty" />
|
||||
<xsd:element name="guarantee" type="ArrayOfGuarantee" />
|
||||
<xsd:element name="summaryDeclarations" type="ArrayOfSummaryDeclaration" />
|
||||
<xsd:element name="items" type="ArrayOfItem" />
|
||||
<xsd:element name="questions" type="ArrayOfQuestion" />
|
||||
<xsd:element name="documents" type="ArrayOfDocument" />
|
||||
<xsd:element name="duties" type="ArrayOfDuty" />
|
||||
<xsd:element name="valueDeclaration" type="ArrayOfValue" />
|
||||
<xsd:element name="electronicMail1" type="xsd:string" />
|
||||
<xsd:element name="electronicMail2" type="xsd:string" />
|
||||
<xsd:element name="electronicMail3" type="xsd:string" />
|
||||
<xsd:element name="mobile1" type="xsd:string" />
|
||||
<xsd:element name="mobile2" type="xsd:string" />
|
||||
<xsd:element name="overTimeID" type="xsd:string" />
|
||||
<xsd:element name="portCode" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="party">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="partyType" type="xsd:string" />
|
||||
<xsd:element name="countryCode" type="xsd:string" />
|
||||
<xsd:element name="postalCode" type="xsd:string" />
|
||||
<xsd:element name="identificationType" type="xsd:string" />
|
||||
<xsd:element name="telefax" type="xsd:string" />
|
||||
<xsd:element name="no" type="xsd:string" />
|
||||
<xsd:element name="nameTitle" type="xsd:string" />
|
||||
<xsd:element name="streetName" type="xsd:string" />
|
||||
<xsd:element name="telephone" type="xsd:string" />
|
||||
<xsd:element name="cityAndCitySubdivisionName" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Guarantee">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="guaranteeType" type="xsd:string" />
|
||||
<xsd:element name="globalGuaranteeNo" type="xsd:string" />
|
||||
<xsd:element name="explanation" type="xsd:string" />
|
||||
<xsd:element name="otherAmountReference" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="SummaryDeclaration">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="transportBills" type="ArrayOfTransportBills" />
|
||||
<xsd:element name="summaryDeclarationNo" type="xsd:string" />
|
||||
<xsd:element name="summaryDeclarationJobScope" type="xsd:string" />
|
||||
<xsd:element name="innerWhareHouse" type="xsd:string" />
|
||||
<xsd:element name="otherRegime" type="xsd:string" />
|
||||
<xsd:element name="explanation" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="transportBills">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="transportIBillNo" type="xsd:string" />
|
||||
<xsd:element name="transportItems" type="ArrayOfTransportItems" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="transportItems">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="transportItemNo" type="xsd:string" />
|
||||
<xsd:element name="wharehouseKod" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="item">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="supplementaryInfo" type="ArrayOfComlementary" />
|
||||
<xsd:element name="tcgbOpenCloses" type="ArrayOfTcgbOpenClose" />
|
||||
<xsd:element name="tradeMarkInfo" type="ArrayOfTradeMark" />
|
||||
<xsd:element name="containers" type="ArrayOfContainer" />
|
||||
<xsd:element name="dutyExemptions" type="ArrayOfDutyExemption" />
|
||||
<xsd:element name="aviationFuelTypes" type="ArrayOfAviationFuelType" />
|
||||
<xsd:element name="paymentMeans" type="ArrayOfPaymentMeans" />
|
||||
<xsd:element name="HSCode" type="xsd:string" />
|
||||
<xsd:element name="producer" type="xsd:string" />
|
||||
<xsd:element name="itemLineNo" type="xsd:int" />
|
||||
<xsd:element name="originCountry" type="xsd:string" />
|
||||
<xsd:element name="statisticalQuantityUnit" type="xsd:string" />
|
||||
<xsd:element name="internationalTreaty" type="xsd:string" />
|
||||
<xsd:element name="detectionUnit1" type="xsd:string" />
|
||||
<xsd:element name="detectionUnit2" type="xsd:string" />
|
||||
<xsd:element name="exemptions1" type="xsd:string" />
|
||||
<xsd:element name="exemptions2" type="xsd:string" />
|
||||
<xsd:element name="exemptions3" type="xsd:string" />
|
||||
<xsd:element name="exemptions4" type="xsd:string" />
|
||||
<xsd:element name="exemptions5" type="xsd:string" />
|
||||
<xsd:element name="detectionUnit3" type="xsd:string" />
|
||||
<xsd:element name="deliveryTerms" type="xsd:string" />
|
||||
<xsd:element name="additionalCode" type="xsd:string" />
|
||||
<xsd:element name="specification" type="xsd:string" />
|
||||
<xsd:element name="invoiceAmountCurrency" type="xsd:string" />
|
||||
<xsd:element name="freightAmountCurrency" type="xsd:string" />
|
||||
<xsd:element name="insuranceAmountCurrency" type="xsd:string" />
|
||||
<xsd:element name="tariffDefinition" type="xsd:string" />
|
||||
<xsd:element name="itemDescription" type="xsd:string" />
|
||||
<xsd:element name="brandName" type="xsd:string" />
|
||||
<xsd:element name="itemNo" type="xsd:string" />
|
||||
<xsd:element name="packagingType" type="xsd:string" />
|
||||
<xsd:element name="itemUnitOfMeasure" type="xsd:string" />
|
||||
<xsd:element name="returnToOrigin" type="xsd:string" />
|
||||
<xsd:element name="secondaryProcess" type="xsd:string" />
|
||||
<xsd:element name="lineNumber" type="xsd:string" />
|
||||
<xsd:element name="vatRate" type="xsd:string" />
|
||||
<xsd:element name="usedGoods" type="xsd:string" />
|
||||
<xsd:element name="description44" type="xsd:string" />
|
||||
<xsd:element name="producerTaxNo" type="xsd:string" />
|
||||
<xsd:element name="domesticOtherExplanation" type="xsd:string" />
|
||||
<xsd:element name="exemptionExplanation" type="xsd:string" />
|
||||
<xsd:element name="referenceDate" type="xsd:string" />
|
||||
<xsd:element name="foreignComissionCurrency" type="xsd:string" />
|
||||
<xsd:element name="foreignDemurrageCurrency" type="xsd:string" />
|
||||
<xsd:element name="foreignRoyaltyCurrency" type="xsd:string" />
|
||||
<xsd:element name="foreignInterestCurrency" type="xsd:string" />
|
||||
<xsd:element name="foreignOtherCurrency" type="xsd:string" />
|
||||
<xsd:element name="foreignOtherExplanation" type="xsd:string" />
|
||||
<xsd:element name="itemProcessType" type="xsd:string" />
|
||||
<xsd:element name="reasonForEntryOrExit" type="xsd:string" />
|
||||
<xsd:element name="reasonForEntryOrExitExplanation" type="xsd:string" />
|
||||
<xsd:element name="stmProvinceCode" type="xsd:string" />
|
||||
<xsd:element name="itemReturnReason" type="xsd:string" />
|
||||
<xsd:element name="itemReturnReasonExplanation" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Comlementary">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="supplementaryInfo" type="xsd:string" />
|
||||
<xsd:element name="statisticalQuantityUnit" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="TcgbOpenClose">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="closedDeclarationNo" type="xsd:string" />
|
||||
<xsd:element name="closedItemNo" type="xsd:int" />
|
||||
<xsd:element name="description" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="TradeMark">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="tradeMarkType" type="xsd:string" />
|
||||
<xsd:element name="tradeMarkRegistrationNo" type="xsd:string" />
|
||||
<xsd:element name="tradeMarkName" type="xsd:string" />
|
||||
<xsd:element name="referanceNo" type="xsd:string" />
|
||||
<xsd:element name="modelYear" type="xsd:string" />
|
||||
<xsd:element name="model" type="xsd:string" />
|
||||
<xsd:element name="engineVolume" type="xsd:string" />
|
||||
<xsd:element name="engineCylinderQuantity" type="xsd:int" />
|
||||
<xsd:element name="color" type="xsd:string" />
|
||||
<xsd:element name="engineType" type="xsd:string" />
|
||||
<xsd:element name="engineNo" type="xsd:string" />
|
||||
<xsd:element name="horsePower" type="xsd:int" />
|
||||
<xsd:element name="gear" type="xsd:string" />
|
||||
<xsd:element name="IMEINo" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Container">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="containerNo" type="xsd:string" />
|
||||
<xsd:element name="countryCode" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="DutyExemption">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="dutyExemptionCode" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="AviationFuelType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="taxNo" type="xsd:string" />
|
||||
<xsd:element name="invoiceDate" type="xsd:string" />
|
||||
<xsd:element name="invoiceNumber" type="xsd:string" />
|
||||
<xsd:element name="totalInvoiceAmount" type="xsd:string" />
|
||||
<xsd:element name="fuelType" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="PaymentMeans">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="paymentMeansCode" type="xsd:string" />
|
||||
<xsd:element name="TBFID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Question">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="itemNo" type="xsd:int" />
|
||||
<xsd:element name="questionNo" type="xsd:string" />
|
||||
<xsd:element name="answer" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Document">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="itemNo" type="xsd:int" />
|
||||
<xsd:element name="code" type="xsd:string" />
|
||||
<xsd:element name="verification" type="xsd:string" />
|
||||
<xsd:element name="documentDate" type="xsd:string" />
|
||||
<xsd:element name="reference" type="xsd:string" />
|
||||
<xsd:element name="visaDate" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Duty">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="itemNo" type="xsd:int" />
|
||||
<xsd:element name="code" type="xsd:string" />
|
||||
<xsd:element name="explanation" type="xsd:string" />
|
||||
<xsd:element name="dutyRate" type="xsd:string" />
|
||||
<xsd:element name="paymentMeans" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="Value">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="deliveryTerms" type="xsd:string" />
|
||||
<xsd:element name="invoiceDateNo" type="xsd:string" />
|
||||
<xsd:element name="contractDateNo" type="xsd:string" />
|
||||
<xsd:element name="customsOfficeNo" type="xsd:string" />
|
||||
<xsd:element name="buyerSeller" type="xsd:string" />
|
||||
<xsd:element name="relation" type="xsd:string" />
|
||||
<xsd:element name="imputed" type="xsd:string" />
|
||||
<xsd:element name="buyerSellerDetails" type="xsd:string" />
|
||||
<xsd:element name="constraints" type="xsd:string" />
|
||||
<xsd:element name="deed" type="xsd:string" />
|
||||
<xsd:element name="constraintDetails" type="xsd:string" />
|
||||
<xsd:element name="royalty" type="xsd:string" />
|
||||
<xsd:element name="royaltyConditions" type="xsd:string" />
|
||||
<xsd:element name="sellerPass" type="xsd:string" />
|
||||
<xsd:element name="sellerPassConditions" type="xsd:string" />
|
||||
<xsd:element name="cityLocation" type="xsd:string" />
|
||||
<xsd:element name="recognisance" type="xsd:string" />
|
||||
<xsd:element name="ValueItems" type="ArrayOfValueItem" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="ValueItem">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="valueItemNumber" type="xsd:int" />
|
||||
<xsd:element name="declarationItemNumber" type="xsd:int" />
|
||||
<xsd:element name="otherPaymentKind" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="DeclarationInfo" type="DeclarationInfo" />
|
||||
<xsd:element name="ArrayOfParty" type="ArrayOfParty" />
|
||||
<xsd:element name="party" type="party" />
|
||||
<xsd:element name="ArrayOfGuarantee" type="ArrayOfGuarantee" />
|
||||
<xsd:element name="Guarantee" type="Guarantee" />
|
||||
<xsd:element name="ArrayOfSummaryDeclaration" type="ArrayOfSummaryDeclaration" />
|
||||
<xsd:element name="SummaryDeclaration" type="SummaryDeclaration" />
|
||||
<xsd:element name="ArrayOfTransportBills" type="ArrayOfTransportBills" />
|
||||
<xsd:element name="transportBills" type="transportBills" />
|
||||
<xsd:element name="ArrayOfTransportItems" type="ArrayOfTransportItems" />
|
||||
<xsd:element name="transportItems" type="transportItems" />
|
||||
<xsd:element name="ArrayOfItem" type="ArrayOfItem" />
|
||||
<xsd:element name="Item" type="item" />
|
||||
<xsd:element name="ArrayOfComlementary" type="ArrayOfComlementary" />
|
||||
<xsd:element name="Comlementary" type="Comlementary" />
|
||||
<xsd:element name="ArrayOfTcgbOpenClose" type="ArrayOfTcgbOpenClose" />
|
||||
<xsd:element name="TcgbOpenClose" type="TcgbOpenClose" />
|
||||
<xsd:element name="ArrayOfTradeMark" type="ArrayOfTradeMark" />
|
||||
<xsd:element name="TradeMark" type="TradeMark" />
|
||||
<xsd:element name="ArrayOfContainer" type="ArrayOfContainer" />
|
||||
<xsd:element name="Container" type="Container" />
|
||||
<xsd:element name="ArrayOfDutyExemption" type="ArrayOfDutyExemption" />
|
||||
<xsd:element name="DutyExemption" type="DutyExemption" />
|
||||
<xsd:element name="ArrayOfAviationFuelType" type="ArrayOfAviationFuelType" />
|
||||
<xsd:element name="AviationFuelType" type="AviationFuelType" />
|
||||
<xsd:element name="ArrayOfPaymentMeans" type="ArrayOfPaymentMeans" />
|
||||
<xsd:element name="PaymentMeans" type="PaymentMeans" />
|
||||
<xsd:element name="ArrayOfQuestion" type="ArrayOfQuestion" />
|
||||
<xsd:element name="Question" type="Question" />
|
||||
<xsd:element name="ArrayOfDocument" type="ArrayOfDocument" />
|
||||
<xsd:element name="Document" type="Document" />
|
||||
<xsd:element name="ArrayOfDuty" type="ArrayOfDuty" />
|
||||
<xsd:element name="Duty" type="Duty" />
|
||||
<xsd:element name="ArrayOfValue" type="ArrayOfValue" />
|
||||
<xsd:element name="Value" type="Value" />
|
||||
<xsd:element name="ArrayOfValueItem" type="ArrayOfValueItem" />
|
||||
<xsd:element name="ValueItem" type="ValueItem" />
|
||||
</xsd:schema>
|
||||
2274
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/IN_EZA/cVERAG_in_eza.vb
Normal file
2274
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/IN_EZA/cVERAG_in_eza.vb
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,584 @@
|
||||
Imports System.Data.SqlClient
|
||||
Imports System.Reflection
|
||||
|
||||
Public Class cVERAG_in_shippment
|
||||
|
||||
Property in_sh_id As Object = Nothing ' INT Not NULL,
|
||||
Property in_sh_AvisoId As Object = Nothing ' INT NULL,
|
||||
Property in_sh_SendungsId As Object = Nothing ' INT NULL,
|
||||
Property in_sh_Erstellung As Object = Nothing ' DATETIME Default (getdate()) Not NULL,
|
||||
Property in_sh_firma As Object = Nothing ' VARCHAR(10) NULL,
|
||||
Property in_sh_niederlassung As Object = Nothing ' VARCHAR(10) NULL,
|
||||
'Property MsgType As Object = Nothing ' VARCHAR(10) NULL,
|
||||
'Property dec_ProzessArt As Object = Nothing ' VARCHAR(4) Not NULL,
|
||||
'Property dec_Anmelde_ID As Object = Nothing ' INT NULL,
|
||||
'Property dec_Template_ID As Object = Nothing ' INT NULL,
|
||||
'Property dec_Lager_ID As Object = Nothing ' VARCHAR(6) NULL,
|
||||
'Property dec_Lag_IND As Object = Nothing ' BIT NULL,
|
||||
'Property dec_CreateDate As Object = Nothing ' DATETIME Not NULL,
|
||||
'Property dec_CreatePersonalID As Object = Nothing ' VARCHAR(12) NULL,
|
||||
'Property dec_PreDec_IND As Object = Nothing ' BIT NULL,
|
||||
'Property dec_TotNet As Object = Nothing ' Decimal (14, 3) NULL,
|
||||
'Property dec_TotNetSplit_IND As Object = Nothing ' BIT NULL,
|
||||
'Property dec_FillPackList_IND As Object = Nothing ' BIT NULL,
|
||||
'Property dec_Memo As Object = Nothing ' VARCHAR(1000) NULL,
|
||||
'Property Refs_LRN As Object = Nothing ' VARCHAR(22) Not NULL,
|
||||
'Property Refs_CRN As Object = Nothing ' VARCHAR(21) NULL,
|
||||
'Property Refs_CSRN As Object = Nothing ' VARCHAR(21) NULL,
|
||||
'Property Refs_ERN As Object = Nothing ' VARCHAR(21) NULL,
|
||||
'Property Refs_FRN As Object = Nothing ' VARCHAR(21) NULL,
|
||||
'Property Refs_Stat As Object = Nothing ' VARCHAR(2) NULL,
|
||||
Property Hea_DecTy As Object = Nothing ' Type --> T1, T2, EZA
|
||||
Property Hea_TotItem As Object = Nothing ' Pos gesamt
|
||||
Property Hea_TotPack As Object = Nothing ' Packstücke gesamt
|
||||
Property Hea_TotGross As Object = Nothing ' GesRohmasse
|
||||
'Property Hea_DepLNG As Object = Nothing ' VARCHAR(2) NULL,
|
||||
'Property Hea_DestLNG As Object = Nothing ' VARCHAR(2) NULL,
|
||||
'Property Hea_PayTy As Object = Nothing ' VARCHAR(1) NULL,
|
||||
'Property Hea_DefPayRef As Object = Nothing ' INT NULL,
|
||||
'Property Hea_PerPayRef As Object = Nothing ' INT NULL,
|
||||
'Property Hea_PayMet As Object = Nothing ' INT NULL,
|
||||
'Property Hea_AExpRef As Object = Nothing ' BIT NULL,
|
||||
'Property Hea_Fin As Object = Nothing ' VARCHAR(2) NULL,
|
||||
'Property Hea_Simp As Object = Nothing ' BIT Not NULL,
|
||||
'Property Hea_IssD As Object = Nothing ' Date NULL,
|
||||
Property Hea_AuthID As Object = Nothing ' ? ATA
|
||||
Property Hea_Incoterm As Object = Nothing ' ? Lieferkondition
|
||||
'Property Hea_TransDat As Object = Nothing ' BIT NULL,
|
||||
'Property Hea_WoffD As Object = Nothing ' Date NULL,
|
||||
'Property Hea_DecDT As Object = Nothing ' Date Not NULL,
|
||||
'Property Hea_DecPlc As Object = Nothing ' VARCHAR(35) Not NULL,
|
||||
'Property Hea_AccDT As Object = Nothing ' DATETIME NULL,
|
||||
'Property Hea_SecInd As Object = Nothing ' BIT NULL,
|
||||
'Property Hea_ComRef As Object = Nothing ' VARCHAR(70) NULL,
|
||||
'Property Hea_ProArrDT As Object = Nothing ' DATETIME NULL,
|
||||
'Property Hea_PlaDepDT As Object = Nothing ' DATETIME NULL,
|
||||
'Property Locs_TradCtry As Object = Nothing ' VARCHAR(2) NULL,
|
||||
Property Locs_Disp As Object = Nothing ' VARCHAR(2) NULL,
|
||||
Property Locs_Dest As Object = Nothing ' VARCHAR(2) NULL,
|
||||
'Property Locs_GdsLocCd As Object = Nothing ' VARCHAR(17) NULL,
|
||||
'Property Locs_GdsLoc As Object = Nothing ' VARCHAR(35) NULL,
|
||||
'Property Locs_GdsLocAuth As Object = Nothing ' VARCHAR(17) NULL,
|
||||
'Property Locs_LoadPlcCd As Object = Nothing ' VARCHAR(17) NULL,
|
||||
'Property Locs_LoadPlc As Object = Nothing ' VARCHAR(35) NULL,
|
||||
'Property Locs_CustPlc As Object = Nothing ' VARCHAR(17) NULL,
|
||||
'Property Locs_ArrLocCd As Object = Nothing ' VARCHAR(17) NULL,
|
||||
'Property Locs_ArrLoc As Object = Nothing ' VARCHAR(35) NULL,
|
||||
'Property Locs_ArrLocAuth As Object = Nothing ' VARCHAR(17) NULL,
|
||||
'Property Locs_WarTy As Object = Nothing ' VARCHAR(1) NULL,
|
||||
'Property Locs_WarCtry As Object = Nothing ' VARCHAR(2) NULL,
|
||||
'Property Locs_War As Object = Nothing ' VARCHAR(17) NULL,
|
||||
Property Transp_InMo As Object = Nothing ' Transportmittel INland
|
||||
Property Transp_BordMo As Object = Nothing ' Transportmittel Grenze
|
||||
Property Transp_DepTy As Object = Nothing ' Transportmittel TypAbfahrt
|
||||
Property Transp_DepIdnt As Object = Nothing ' Transportmittel Kennezeichen Abfahrt
|
||||
Property Transp_DepNat As Object = Nothing ' Transportmittel Nationalität Abfahrt
|
||||
Property Transp_CrossTy As Object = Nothing ' Transportmittel Typ Grenze
|
||||
Property Transp_CrossIdnt As Object = Nothing ' Transportmittel Kennezeichen Grenze
|
||||
Property Transp_CrossIdntNat As Object = Nothing ' Transportmittel Nationalität Grenze
|
||||
Property Transp_ContInd As Object = Nothing ' BIT NULL,
|
||||
'Property ValData_TermDelCd As Object = Nothing ' VARCHAR(3) NULL,
|
||||
'Property ValData_TermDelPlc As Object = Nothing ' VARCHAR(35) NULL,
|
||||
'Property ValData_TermDelSit As Object = Nothing ' VARCHAR(1) NULL,
|
||||
'Property ValData_InvCurr As Object = Nothing ' VARCHAR(3) NULL,
|
||||
'Property ValData_ExRa As Object = Nothing ' Decimal (20, 7) NULL,
|
||||
'Property ValData_InvVal As Object = Nothing ' Decimal (18, 2) NULL,
|
||||
'Property ValData_TransacCd As Object = Nothing ' INT NULL,
|
||||
Property ConorTra_Na As Object = Nothing ' ABSENDER
|
||||
Property ConorTra_Strt As Object = Nothing '
|
||||
Property ConorTra_Pst As Object = Nothing '
|
||||
Property ConorTra_Cty As Object = Nothing '
|
||||
Property ConorTra_Ctry As Object = Nothing '
|
||||
Property ConorTra_EORI As Object = Nothing '
|
||||
Property ConorTra_UIDCtry As Object = Nothing '
|
||||
Property ConorTra_UID As Object = Nothing '
|
||||
Property ConeeTra_Na As Object = Nothing ' EMPFÄNGER
|
||||
Property ConeeTra_Strt As Object = Nothing '
|
||||
Property ConeeTra_Pst As Object = Nothing '
|
||||
Property ConeeTra_Cty As Object = Nothing '
|
||||
Property ConeeTra_Ctry As Object = Nothing '
|
||||
Property ConeeTra_EORI As Object = Nothing '
|
||||
Property ConeeTra_UIDCtry As Object = Nothing '
|
||||
Property ConeeTra_UID As Object = Nothing '
|
||||
Property ExpTra_Na As Object = Nothing ' EXPORTEUR
|
||||
Property ExpTra_Strt As Object = Nothing '
|
||||
Property ExpTra_Pst As Object = Nothing '
|
||||
Property ExpTra_Cty As Object = Nothing '
|
||||
Property ExpTra_Ctry As Object = Nothing '
|
||||
Property ExpTra_EORI As Object = Nothing '
|
||||
Property ExpTra_UIDCtry As Object = Nothing '
|
||||
Property ExpTra_UID As Object = Nothing '
|
||||
Property Declarant_Na As Object = Nothing ' ZOLLAGENT
|
||||
Property Declarant_Strt As Object = Nothing '
|
||||
Property Declarant_Pst As Object = Nothing '
|
||||
Property Declarant_Cty As Object = Nothing '
|
||||
Property Declarant_Ctry As Object = Nothing '
|
||||
Property Declarant_EORI As Object = Nothing '
|
||||
Property Declarant_UIDCtry As Object = Nothing '
|
||||
Property Declarant_UID As Object = Nothing '
|
||||
Property Declarant_DecRep As Object = Nothing '
|
||||
Property DestCO_Ref As Object = Nothing ' Zielzollstelle
|
||||
Property DepCO_Ref As Object = Nothing ' Abgangszollstelle
|
||||
Property CtrlRslt_DLimit As Object = Nothing ' NCTS_GEstellung
|
||||
|
||||
|
||||
Property POSITIONSDATEN As New List(Of cVERAG_in_shippment_Position)
|
||||
'Property SICHERHEIT As New List(Of cVERAG_in_shippment_Sicherheit)
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
|
||||
|
||||
Sub New()
|
||||
End Sub
|
||||
|
||||
|
||||
Sub New(in_sh_id)
|
||||
Me.in_sh_id = in_sh_id
|
||||
LOAD()
|
||||
End Sub
|
||||
|
||||
Function getParameterList() As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
'list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("in_sh_id", in_sh_id, , True, True))
|
||||
|
||||
'list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("telanm_ART", telanm_ART)) ' VARCHAR(50) Not NULL,
|
||||
|
||||
Return list
|
||||
End Function
|
||||
|
||||
|
||||
|
||||
Public Function SAVE(Optional saveAll = True) As Boolean
|
||||
Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
|
||||
Dim sqlstr = " BEGIN TRAN IF EXISTS(SELECT * FROM tblVERAG_in_shippment_Anmeldung WITH(updlock,serializable) WHERE in_sh_id=@in_sh_id) " &
|
||||
" BEGIN " & getUpdateCmd() & " End " &
|
||||
" Else " &
|
||||
" BEGIN " & getInsertCmd() & " End " &
|
||||
" commit tran "
|
||||
|
||||
in_sh_id = SQL.doSQLVarListID(in_sh_id, sqlstr, "FMZOLL", , list)
|
||||
If in_sh_id > 0 And saveAll Then
|
||||
SAVE_Positionsdaten()
|
||||
' SAVE_Sicherheit()
|
||||
End If
|
||||
Return in_sh_id > 0
|
||||
End Function
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Public Sub LOAD(Optional loadALL = True)
|
||||
Try
|
||||
If loadALL Then
|
||||
POSITIONSDATEN.Clear()
|
||||
' SICHERHEIT.Clear()
|
||||
End If
|
||||
Using conn As SqlConnection = SQL.GetNewOpenConnectionFMZOLL()
|
||||
Using cmd As New SqlCommand("SELECT * FROM tblVERAG_in_shippment_Anmeldung WHERE in_sh_id=@in_sh_id ", conn)
|
||||
cmd.Parameters.AddWithValue("@in_sh_id", in_sh_id)
|
||||
Dim dr = cmd.ExecuteReader()
|
||||
If dr.Read Then
|
||||
For Each l In getParameterList()
|
||||
Dim propInfo As PropertyInfo = Me.GetType.GetProperty(l.Scalarvariable)
|
||||
|
||||
If dr.Item(l.Text) Is DBNull.Value Then
|
||||
propInfo.SetValue(Me, Nothing)
|
||||
Else
|
||||
propInfo.SetValue(Me, dr.Item(l.Text))
|
||||
End If
|
||||
|
||||
Next
|
||||
If loadALL Then
|
||||
LOAD_Positionsdaten()
|
||||
' LOAD_Sicherheit()
|
||||
End If
|
||||
End If
|
||||
dr.Close()
|
||||
End Using
|
||||
End Using
|
||||
Catch ex As Exception
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Public Function UPDATE_Status(status As Integer) As String
|
||||
' If in_sh_id > 0 Then
|
||||
' Try
|
||||
' Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("in_sh_id", in_sh_id, , True))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("telanm_Status_KEWILL_Equivalent", status, , True))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("telanm_Status", status, , True))
|
||||
' 'telanm_Status_KEWILL_Equivalent = status
|
||||
' 'telanm_Status = status
|
||||
|
||||
' Return SQL.doSQLVarList(" UPDATE [tblVERAG_in_shippment_Anmeldung] SET telanm_Status_KEWILL_Equivalent=@telanm_Status_KEWILL_Equivalent,telanm_Status=@telanm_Status WHERE in_sh_id=@in_sh_id ", "FMZOLL", , list)
|
||||
|
||||
' Catch ex As Exception
|
||||
' VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
' End Try
|
||||
' End If
|
||||
' Return ""
|
||||
'End Function
|
||||
|
||||
|
||||
'Shared Function UPDATE_StatusById(in_sh_id As Integer, status As Integer) As String
|
||||
' If in_sh_id > 0 Then
|
||||
' Try
|
||||
' Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("in_sh_id", in_sh_id, , True))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("telanm_Status_KEWILL_Equivalent", status, , True))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("telanm_Status", status, , True))
|
||||
' 'telanm_Status_KEWILL_Equivalent = status
|
||||
' 'telanm_Status = status
|
||||
' Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
' Return SQL.doSQLVarList(" UPDATE [tblVERAG_in_shippment_Anmeldung] SET telanm_Status_KEWILL_Equivalent=@telanm_Status_KEWILL_Equivalent,telanm_Status=@telanm_Status WHERE in_sh_id=@in_sh_id ", "FMZOLL", , list)
|
||||
|
||||
' Catch ex As Exception
|
||||
' VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
' End Try
|
||||
' End If
|
||||
' Return ""
|
||||
'End Function
|
||||
|
||||
|
||||
|
||||
'Public Sub UPDATE_DATA()
|
||||
' Try
|
||||
' Select Case telanm_ART
|
||||
' Case "T1", "T2"
|
||||
' 'SQL, die daten aus den jeweiligen tabellen ausliest und hier aktualisiert
|
||||
' Dim Dakosy_NCTSOut As New DAKOSY_Worker.cDakosyNCTSOut
|
||||
' Dakosy_NCTSOut.LOADByAnmID(in_sh_id, False)
|
||||
' If Dakosy_NCTSOut IsNot Nothing Then
|
||||
' Me.telanm_BezugsNr = Dakosy_NCTSOut.ncts_ObjectName
|
||||
' Me.telanm_Status = Dakosy_NCTSOut.ncts_Status
|
||||
' Me.telanm_Status_KEWILL_Equivalent = Dakosy_NCTSOut.ncts_Status_KEWILL_Equivalent
|
||||
' Me.telanm_Erstellung = Dakosy_NCTSOut.ncts_Erstellung
|
||||
' Me.telanm_Erstellung_SB = Dakosy_NCTSOut.ncts_Erstellung_SB
|
||||
' Me.telanm_LetzteBearbeitung = Dakosy_NCTSOut.ncts_LetzteBearbeitung
|
||||
' Me.telanm_LetzteBearbeitung_SB = Dakosy_NCTSOut.ncts_LetzteBearbeitung_SB
|
||||
' End If
|
||||
|
||||
' End Select
|
||||
|
||||
' Catch ex As Exception
|
||||
' VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
' End Try
|
||||
'End Sub
|
||||
|
||||
|
||||
|
||||
Public Function getUpdateCmd() As String
|
||||
Try
|
||||
Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
|
||||
Dim str As String = ""
|
||||
For Each i In list
|
||||
If Not i.isPrimaryParam Then
|
||||
str &= "[" & i.Text & "] = @" & i.Scalarvariable & "," '.Replace("-", "").Replace(" ", "") & ","
|
||||
End If
|
||||
Next
|
||||
str = str.Substring(0, str.Length - 1) 'wg. ','
|
||||
Return (" UPDATE [tblVERAG_in_shippment_Anmeldung] SET " & str & " WHERE in_sh_id=@in_sh_id ")
|
||||
|
||||
Catch ex As Exception
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
End Try
|
||||
Return ""
|
||||
End Function
|
||||
|
||||
|
||||
Public Function getInsertCmd() As String
|
||||
Try
|
||||
Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
Dim str As String = ""
|
||||
Dim values As String = ""
|
||||
For Each i In list
|
||||
If Not i.isPrimaryParam Then
|
||||
str &= "[" & i.Text & "],"
|
||||
values &= "@" & i.Scalarvariable & "," '.Replace("-", "").Replace(" ", "") & ","
|
||||
End If
|
||||
Next
|
||||
str = str.Substring(0, str.Length - 1) 'wg. ','
|
||||
values = values.Substring(0, values.Length - 1) 'wg. ','
|
||||
Return (" INSERT INTO tblVERAG_in_shippment_Anmeldung (" & str & ") VALUES(" & values & ") ")
|
||||
Catch ex As Exception
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
End Try
|
||||
Return ""
|
||||
End Function
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Shared Function getWaehr(s As String, SQL As VERAG_PROG_ALLGEMEIN.SQL) As String
|
||||
'Return KDSQL.getValueTxtBySql("SELECT TOP 1 isnull([LandNr],-1) FROM [Länderverzeichnis für die Außenhandelsstatistik] WHERE [Währungscode]='" & s & "'", "FMZOLL")
|
||||
s = s.Replace("TRY", "TRL") ' Türkische Lira
|
||||
Return SQL.getValueTxtBySql("SELECT TOP 1 isnull([Währungsschlüssel],-1) FROM [Währungstabelle] WHERE [Währungscode]='" & s & "'", "FMZOLL")
|
||||
|
||||
End Function
|
||||
|
||||
|
||||
|
||||
Public Sub LOAD_Positionsdaten()
|
||||
Try
|
||||
POSITIONSDATEN.Clear()
|
||||
Using conn As SqlConnection = SQL.GetNewOpenConnectionFMZOLL()
|
||||
Using cmd As New SqlCommand("SELECT * FROM tblVERAG_in_shippment_Positionsdaten WHERE in_pos_inShId=@in_sh_id ", conn)
|
||||
cmd.Parameters.AddWithValue("@in_sh_id", Me.in_sh_id)
|
||||
Dim dr = cmd.ExecuteReader()
|
||||
While dr.Read
|
||||
Dim l As New cVERAG_in_shippment_Position
|
||||
For Each i In l.getParameterList()
|
||||
Dim propInfo As PropertyInfo = l.GetType.GetProperty(i.Scalarvariable)
|
||||
If dr.Item(i.Text) Is DBNull.Value Then
|
||||
propInfo.SetValue(l, Nothing)
|
||||
Else
|
||||
propInfo.SetValue(l, dr.Item(i.Text))
|
||||
End If
|
||||
Next
|
||||
l.LOAD_Packstücke()
|
||||
POSITIONSDATEN.Add(l)
|
||||
End While
|
||||
dr.Close()
|
||||
End Using
|
||||
End Using
|
||||
Catch ex As Exception
|
||||
MsgBox("Fehler in der Funktion '" & System.Reflection.MethodInfo.GetCurrentMethod.Name & "'" & vbNewLine & vbNewLine & ex.Message & vbNewLine & vbNewLine & ex.StackTrace)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
|
||||
Function DELETE_Packstücke() As Boolean 'obj As Object, tablename As String, where As String) As Boolean
|
||||
Dim sqlstr = " DELETE FROM [tblVERAG_in_shippment_Packstuecke] WHERE in_posPk_inShId =" & Me.in_sh_id & " "
|
||||
Return SQL.doSQL(sqlstr, "FMZOLL")
|
||||
End Function
|
||||
|
||||
Function DELETE_Positionsdaten() As Boolean 'obj As Object, tablename As String, where As String) As Boolean
|
||||
Dim sqlstr = " DELETE FROM [tblVERAG_in_shippment_Positionsdaten] WHERE in_pos_inShId =" & Me.in_sh_id & " "
|
||||
Return SQL.doSQL(sqlstr, "FMZOLL")
|
||||
End Function
|
||||
|
||||
|
||||
Public Function SAVE_Positionsdaten() As Boolean
|
||||
'Zuserst alle OffertenPos von dem Offert löschen
|
||||
If DELETE_Positionsdaten() And DELETE_Packstücke() Then 'And DELETE_PositionsdatenUnterlagen() And DELETE_PositionsdatenVerbrauchssteuer() Then
|
||||
'jetzt die Standartofferten einfügen
|
||||
For Each p In POSITIONSDATEN
|
||||
p.in_pos_inShId = in_sh_id
|
||||
If p.INSERT() Then
|
||||
p.INSERT_Packstücke(p.in_pos_id, Me.in_sh_id)
|
||||
'p.INSERT_PositionsdatenUnterlagen(p.ezaWP_Id, Me.eza_Id)
|
||||
'p.INSERT_PositionsdatenVerbrauchssteuer(p.ezaWP_Id, Me.eza_Id)
|
||||
Else
|
||||
Return False
|
||||
End If
|
||||
Next
|
||||
Else
|
||||
Return False
|
||||
End If
|
||||
|
||||
Return True
|
||||
End Function
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
|
||||
|
||||
Public Class cVERAG_in_shippment_Position
|
||||
|
||||
Property in_pos_id As Integer
|
||||
Property in_pos_inShId As Integer
|
||||
'Property Mandant_ID As Object = Nothing
|
||||
'Property Bereich_ID As Object = Nothing
|
||||
'Property Referenz_ID As Object = Nothing
|
||||
'Property ComIndicator As Object = Nothing
|
||||
Property Pos_Nr As Integer
|
||||
Property Item_GdsDes As Object = Nothing
|
||||
'Property Item_Status As Object = Nothing
|
||||
'Property Item_ComCd As Object = Nothing
|
||||
Property Item_TarNr As Object = Nothing
|
||||
Property Item_Gross As Object = Nothing
|
||||
Property Item_Net As Object = Nothing
|
||||
Property Item_Orig As Object = Nothing
|
||||
'Property Item_ProcCd As Object = Nothing
|
||||
'Property Item_ProcAddCd As Object = Nothing
|
||||
Property Item_ItVal As Object = Nothing
|
||||
'Property Item_Pref As Object = Nothing
|
||||
'Property Item_Quota As Object = Nothing
|
||||
'Property Item_ValMet As Object = Nothing
|
||||
'Property Item_VATInd As Object = Nothing
|
||||
'Property Item_StatVal As Object = Nothing
|
||||
'Property SurvCO_Ref As Object = Nothing
|
||||
'Property Telo_Artikel_ID As Object = Nothing
|
||||
Property Telo_Artikelmenge As Object = Nothing
|
||||
Property Telo_ArtikelMEH As Object = Nothing
|
||||
|
||||
Property PACKSTUECKE As New List(Of cVERAG_in_shippment_Packing)
|
||||
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
Sub New()
|
||||
End Sub
|
||||
|
||||
|
||||
Function getParameterList() As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("in_pos_id", in_pos_id, , True, True))
|
||||
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("in_pos_inShId", in_pos_inShId))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Pos_Nr", Pos_Nr))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Item_GdsDes", Item_GdsDes))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Item_TarNr", Item_TarNr))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Item_Gross", Item_Gross))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Item_Net", Item_Net))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Item_Orig", Item_Orig))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Item_ItVal", Item_ItVal))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Telo_Artikelmenge", Telo_Artikelmenge))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Telo_ArtikelMEH", Telo_ArtikelMEH))
|
||||
|
||||
Return list
|
||||
End Function
|
||||
|
||||
|
||||
Public Function INSERT() As Boolean
|
||||
Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
'Return SQL.doSQLVarList(getInsertCmd, "FMZOLL", , list)
|
||||
in_pos_id = SQL.doSQLVarListID(in_pos_id, getInsertCmd, "FMZOLL", , list)
|
||||
Return in_pos_id > 0
|
||||
End Function
|
||||
|
||||
Public Function INSERT_Packstücke(in_pos_id, in_sh_id) As Boolean
|
||||
For Each p In PACKSTUECKE
|
||||
p.in_posPk_inShId = in_sh_id
|
||||
p.in_posPk_inPosId = in_pos_id
|
||||
If Not p.INSERT() Then Return False
|
||||
Next
|
||||
Return True
|
||||
End Function
|
||||
|
||||
Public Sub LOAD_Packstücke()
|
||||
Try
|
||||
PACKSTUECKE.Clear()
|
||||
Using conn As SqlConnection = SQL.GetNewOpenConnectionFMZOLL()
|
||||
Using cmd As New SqlCommand("SELECT * FROM tblVERAG_in_shippment_Packstuecke WHERE in_posPk_inPosId=@in_pos_id ", conn)
|
||||
cmd.Parameters.AddWithValue("@in_pos_id", Me.in_pos_id)
|
||||
Dim dr = cmd.ExecuteReader()
|
||||
While dr.Read
|
||||
Dim l As New cVERAG_in_shippment_Packing
|
||||
For Each i In l.getParameterList()
|
||||
Dim propInfo As PropertyInfo = l.GetType.GetProperty(i.Scalarvariable)
|
||||
If dr.Item(i.Text) Is DBNull.Value Then
|
||||
propInfo.SetValue(l, Nothing)
|
||||
Else
|
||||
propInfo.SetValue(l, dr.Item(i.Text))
|
||||
End If
|
||||
Next
|
||||
PACKSTUECKE.Add(l)
|
||||
End While
|
||||
dr.Close()
|
||||
End Using
|
||||
End Using
|
||||
Catch ex As Exception
|
||||
MsgBox("Fehler in der Funktion '" & System.Reflection.MethodInfo.GetCurrentMethod.Name & "'" & vbNewLine & vbNewLine & ex.Message & vbNewLine & vbNewLine & ex.StackTrace)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
|
||||
Public Function getInsertCmd() As String
|
||||
Try
|
||||
Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
Dim str As String = ""
|
||||
Dim values As String = ""
|
||||
For Each i In list
|
||||
If Not i.isPrimaryParam Then
|
||||
str &= "[" & i.Text & "],"
|
||||
values &= "@" & i.Scalarvariable & "," '.Replace("-", "").Replace(" ", "") & ","
|
||||
End If
|
||||
Next
|
||||
str = str.Substring(0, str.Length - 1) 'wg. ','
|
||||
values = values.Substring(0, values.Length - 1) 'wg. ','
|
||||
Return (" INSERT INTO tblVERAG_in_shippment_Positionsdaten (" & str & ") VALUES(" & values & ") ")
|
||||
Catch ex As Exception
|
||||
MsgBox("Fehler In der Funktion '" & System.Reflection.MethodInfo.GetCurrentMethod.Name & "'" & vbNewLine & vbNewLine & ex.Message & vbNewLine & vbNewLine & ex.StackTrace)
|
||||
End Try
|
||||
Return ""
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Public Class cVERAG_in_shippment_Packing
|
||||
|
||||
Property in_posPk_id As Integer
|
||||
Property in_posPk_inShId As Integer
|
||||
Property in_posPk_inPosId As Integer
|
||||
Property Pack_Mark As Object = Nothing
|
||||
Property Pack_Kind As Object = Nothing
|
||||
Property Pack_Nr As Object = Nothing
|
||||
Property Pack_Piec As Object = Nothing
|
||||
Property Telo_Gross As Object = Nothing
|
||||
|
||||
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
Sub New()
|
||||
End Sub
|
||||
|
||||
|
||||
Function getParameterList() As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("in_posPk_id", in_posPk_id, , True, True))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("in_posPk_inShId", in_posPk_inShId))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("in_posPk_inPosId", in_posPk_inPosId))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Pack_Mark", Pack_Mark))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Pack_Kind", Pack_Kind))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Pack_Nr", Pack_Nr))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Pack_Piec", Pack_Piec))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Telo_Gross", Telo_Gross))
|
||||
|
||||
Return list
|
||||
End Function
|
||||
|
||||
Public Function INSERT() As Boolean
|
||||
Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
in_posPk_id = SQL.doSQLVarListID(in_posPk_id, getInsertCmd, "FMZOLL", , list)
|
||||
Return in_posPk_id > 0
|
||||
End Function
|
||||
|
||||
Public Function getInsertCmd() As String
|
||||
Try
|
||||
Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
Dim str As String = ""
|
||||
Dim values As String = ""
|
||||
For Each i In list
|
||||
If Not i.isPrimaryParam Then
|
||||
str &= "[" & i.Text & "],"
|
||||
values &= "@" & i.Scalarvariable & "," '.Replace("-", "").Replace(" ", "") & ","
|
||||
End If
|
||||
Next
|
||||
str = str.Substring(0, str.Length - 1) 'wg. ','
|
||||
values = values.Substring(0, values.Length - 1) 'wg. ','
|
||||
Return (" INSERT INTO tblVERAG_in_shippment_Packstuecke (" & str & ") VALUES(" & values & ") ")
|
||||
Catch ex As Exception
|
||||
MsgBox("Fehler In der Funktion '" & System.Reflection.MethodInfo.GetCurrentMethod.Name & "'" & vbNewLine & vbNewLine & ex.Message & vbNewLine & vbNewLine & ex.StackTrace)
|
||||
End Try
|
||||
Return ""
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
|
||||
|
||||
|
||||
3210
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/OUT_EZA/VERAG_out_eza.Designer.vb
generated
Normal file
3210
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/OUT_EZA/VERAG_out_eza.Designer.vb
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,370 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "Generated by xsd2code++. www.xsd2code.com",
|
||||
"definitions": {},
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"VERAG_out_eza": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Version": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"VERAGCustomerCode": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Company": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Department": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ClientReference": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"InternalReference": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"OfficeCode": {
|
||||
"type": "integer"
|
||||
},
|
||||
"PositionNumber": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"OfficeCode",
|
||||
"PositionNumber"
|
||||
]
|
||||
},
|
||||
"ProcessData": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Status": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"TransactionDate": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ReferenzNumber": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"CustomsReferenzNumber": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ProcedureCode": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Status",
|
||||
"TransactionDate",
|
||||
"ReferenzNumber",
|
||||
"CustomsReferenzNumber",
|
||||
"ProcedureCode"
|
||||
]
|
||||
},
|
||||
"EZA_Data": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"LicensePlateContainerNo": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"SumGrossWeight": {
|
||||
"type": "integer"
|
||||
},
|
||||
"Sender": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Name": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Adress": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Country": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Postcode": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"City": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Street": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"EORI": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"EORI_NL": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"UID_Nr": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"CustomerCode": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Name"
|
||||
]
|
||||
},
|
||||
"Consignee": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Name": {
|
||||
"type": "object"
|
||||
},
|
||||
"Adress": {
|
||||
"type": "object"
|
||||
},
|
||||
"EORI": {
|
||||
"type": "object"
|
||||
},
|
||||
"EORI_NL": {
|
||||
"type": "object"
|
||||
},
|
||||
"UID_Nr": {
|
||||
"type": "object"
|
||||
},
|
||||
"CustomerCode": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Name"
|
||||
]
|
||||
},
|
||||
"DestinationCountry": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"DepartureCountry": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"DestinationCustomsOffice": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Duty": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Kind": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"EORI": {
|
||||
"type": "object"
|
||||
},
|
||||
"AccountNumber": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Value": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Kind",
|
||||
"EORI",
|
||||
"AccountNumber"
|
||||
]
|
||||
},
|
||||
"maxItems": 2
|
||||
},
|
||||
"Position": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"PosNr": {
|
||||
"type": "integer"
|
||||
},
|
||||
"Quantity": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Packaging": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"GoodsDescription": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"GrossWeight": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"TariffNumber": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"GoodsValue": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Value": {
|
||||
"type": "object"
|
||||
},
|
||||
"Currency": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"Documents": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Invoice": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"InvoiceNumber": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"InvoiceDate": {
|
||||
"type": "string"
|
||||
},
|
||||
"Addition1": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Addition2": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"InvoiceNumber",
|
||||
"InvoiceDate"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Note": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"PosNr"
|
||||
]
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 999
|
||||
},
|
||||
"Note": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"LicensePlateContainerNo"
|
||||
]
|
||||
},
|
||||
"Attachments": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Attachment": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ReferencePosNr": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Name": {
|
||||
"type": "object"
|
||||
},
|
||||
"FileType": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Description": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"DocumentType": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"ATR",
|
||||
"EUR1",
|
||||
"T1",
|
||||
"CarnetATA",
|
||||
"PACK",
|
||||
"INVOICE",
|
||||
"CMR",
|
||||
"OTHER"
|
||||
]
|
||||
},
|
||||
"base64BinaryStream": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ReferencePosNr",
|
||||
"Name",
|
||||
"FileType",
|
||||
"Description",
|
||||
"DocumentType",
|
||||
"base64BinaryStream"
|
||||
]
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 999
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Version",
|
||||
"Company",
|
||||
"ProcessData",
|
||||
"EZA_Data"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Mit XMLSpy v2017 rel. 3 sp1 (x64) (http://www.altova.com) von Andreas Luxbauer (VERAG Spedition AG) bearbeitet -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
|
||||
<xs:element name="VERAG_out_eza">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Version" default="1.0.0"/>
|
||||
<xs:element name="VERAGCustomerCode" minOccurs="0"/>
|
||||
<xs:element name="Company"/>
|
||||
<xs:element name="Department" minOccurs="0"/>
|
||||
<xs:element name="ClientReference" minOccurs="0"/>
|
||||
<xs:element name="InternalReference" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="OfficeCode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:integer"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="PositionNumber" type="xs:integer"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ProcessData">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Status"/>
|
||||
<xs:element name="TransactionDate"/>
|
||||
<xs:element name="ReferenzNumber"/>
|
||||
<xs:element name="CustomsReferenzNumber"/>
|
||||
<xs:element name="ProcedureCode"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EZA_Data">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="LicensePlateContainerNo"/>
|
||||
<xs:element name="SumGrossWeight" type="xs:decimal" minOccurs="0"/>
|
||||
<xs:element name="Sender" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="Adress" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Country" minOccurs="0"/>
|
||||
<xs:element name="Postcode" minOccurs="0"/>
|
||||
<xs:element name="City" minOccurs="0"/>
|
||||
<xs:element name="Street" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EORI" minOccurs="0"/>
|
||||
<xs:element name="EORI_NL" minOccurs="0"/>
|
||||
<xs:element name="UID_Nr" minOccurs="0"/>
|
||||
<xs:element name="CustomerCode" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Consignee" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="Adress" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Country" minOccurs="0"/>
|
||||
<xs:element name="Postcode" minOccurs="0"/>
|
||||
<xs:element name="City" minOccurs="0"/>
|
||||
<xs:element name="Street" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EORI" minOccurs="0"/>
|
||||
<xs:element name="EORI_NL" minOccurs="0"/>
|
||||
<xs:element name="UID_Nr" minOccurs="0"/>
|
||||
<xs:element name="CustomerCode" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="DestinationCountry" minOccurs="0"/>
|
||||
<xs:element name="DepartureCountry" minOccurs="0"/>
|
||||
<xs:element name="DestinationCustomsOffice" minOccurs="0"/>
|
||||
<xs:element name="Duty" minOccurs="0" maxOccurs="2">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Kind"/>
|
||||
<xs:element name="EORI"/>
|
||||
<xs:element name="AccountNumber"/>
|
||||
<xs:element name="Value" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Position" maxOccurs="999">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="PosNr" type="xs:int"/>
|
||||
<xs:element name="Quantity" minOccurs="0"/>
|
||||
<xs:element name="Packaging" minOccurs="0"/>
|
||||
<xs:element name="GoodsDescription" minOccurs="0"/>
|
||||
<xs:element name="GrossWeight" minOccurs="0"/>
|
||||
<xs:element name="TariffNumber" minOccurs="0"/>
|
||||
<xs:element name="GoodsValue" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Value" minOccurs="0"/>
|
||||
<xs:element name="Currency" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Documents" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Invoice" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="InvoiceNumber"/>
|
||||
<xs:element name="InvoiceDate" type="xs:date"/>
|
||||
<xs:element name="Addition1" minOccurs="0"/>
|
||||
<xs:element name="Addition2" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Note" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Note" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Attachments" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Attachment" maxOccurs="999">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="ReferencePosNr"/>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="FileType"/>
|
||||
<xs:element name="Description"/>
|
||||
<xs:element name="DocumentType">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="ATR"/>
|
||||
<xs:enumeration value="EUR1"/>
|
||||
<xs:enumeration value="T1"/>
|
||||
<xs:enumeration value="CarnetATA"/>
|
||||
<xs:enumeration value="PACK"/>
|
||||
<xs:enumeration value="INVOICE"/>
|
||||
<xs:enumeration value="CMR"/>
|
||||
<xs:enumeration value="OTHER"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="base64BinaryStream" type="xs:base64Binary"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,303 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "Generated by xsd2code++. www.xsd2code.com",
|
||||
"definitions": {},
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"VERAG_out_ncts": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Version": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Company": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Department": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"InternalReference": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"OfficeCode": {
|
||||
"type": "integer"
|
||||
},
|
||||
"PositionNumber": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"OfficeCode",
|
||||
"PositionNumber"
|
||||
]
|
||||
},
|
||||
"ProcessData": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Status": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"TransactionDate": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MRN": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ReferenzNumber": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ProcedureCode": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Status",
|
||||
"TransactionDate",
|
||||
"MRN",
|
||||
"ReferenzNumber",
|
||||
"ProcedureCode"
|
||||
]
|
||||
},
|
||||
"NCTS_Data": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"DatDeterminationLimit": {
|
||||
"type": "string"
|
||||
},
|
||||
"LicensePlate": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"DepartureCustomsOffice": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"DestinationCustomsOffice": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"DepartureCountry": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"DestinationCountry": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Sender": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Name": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Adress": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Country": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Postcode": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"City": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Street": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"EORI": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"EORI_NL": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"UID_Nr": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"CustomerCode": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Name"
|
||||
]
|
||||
},
|
||||
"Consignee": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Name": {
|
||||
"type": "object"
|
||||
},
|
||||
"Adress": {
|
||||
"type": "object"
|
||||
},
|
||||
"EORI": {
|
||||
"type": "object"
|
||||
},
|
||||
"EORI_NL": {
|
||||
"type": "object"
|
||||
},
|
||||
"UID_Nr": {
|
||||
"type": "object"
|
||||
},
|
||||
"CustomerCode": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Name"
|
||||
]
|
||||
},
|
||||
"Carrier": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Name": {
|
||||
"type": "object"
|
||||
},
|
||||
"Adress": {
|
||||
"type": "object"
|
||||
},
|
||||
"EORI": {
|
||||
"type": "object"
|
||||
},
|
||||
"EORI_NL": {
|
||||
"type": "object"
|
||||
},
|
||||
"UID_Nr": {
|
||||
"type": "object"
|
||||
},
|
||||
"CustomerCode": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Name"
|
||||
]
|
||||
},
|
||||
"Guarantee": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"GRN": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Amount": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"GRN",
|
||||
"Amount"
|
||||
]
|
||||
},
|
||||
"SumGrossWeight": {
|
||||
"type": "integer"
|
||||
},
|
||||
"Position": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Position": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 999
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"DatDeterminationLimit",
|
||||
"LicensePlate",
|
||||
"DepartureCustomsOffice",
|
||||
"DestinationCustomsOffice",
|
||||
"DepartureCountry",
|
||||
"DestinationCountry"
|
||||
]
|
||||
},
|
||||
"Attachments": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Attachment": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"Name": {
|
||||
"type": "object"
|
||||
},
|
||||
"FileType": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Description": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"DocumentType": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"NCTS",
|
||||
"OTHER"
|
||||
]
|
||||
},
|
||||
"base64BinaryStream": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Name",
|
||||
"FileType",
|
||||
"Description",
|
||||
"DocumentType",
|
||||
"base64BinaryStream"
|
||||
]
|
||||
},
|
||||
"maxItems": 999
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Version",
|
||||
"Company",
|
||||
"ProcessData",
|
||||
"NCTS_Data"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,161 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Mit XMLSpy v2017 rel. 3 sp1 (x64) (http://www.altova.com) von Andreas Luxbauer (VERAG Spedition AG) bearbeitet -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
|
||||
<xs:element name="VERAG_out_ncts">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Version" default="2.0.1"/>
|
||||
<xs:element name="Company"/>
|
||||
<xs:element name="Department" minOccurs="0"/>
|
||||
<xs:element name="InternalReference" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="OfficeCode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:integer"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="PositionNumber" type="xs:integer"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ProcessData">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Status"/>
|
||||
<xs:element name="TransactionDate"/>
|
||||
<xs:element name="MRN"/>
|
||||
<xs:element name="ReferenzNumber"/>
|
||||
<xs:element name="ProcedureCode"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="NCTS_Data">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="DatDeterminationLimit" type="xs:date"/>
|
||||
<xs:element name="LicensePlate"/>
|
||||
<xs:element name="DepartureCustomsOffice"/>
|
||||
<xs:element name="DestinationCustomsOffice"/>
|
||||
<xs:element name="DepartureCountry"/>
|
||||
<xs:element name="DestinationCountry"/>
|
||||
<xs:element name="Sender" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="Adress" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Country" minOccurs="0"/>
|
||||
<xs:element name="Postcode" minOccurs="0"/>
|
||||
<xs:element name="City" minOccurs="0"/>
|
||||
<xs:element name="Street" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EORI" minOccurs="0"/>
|
||||
<xs:element name="EORI_NL" minOccurs="0"/>
|
||||
<xs:element name="UID_Nr" minOccurs="0"/>
|
||||
<xs:element name="CustomerCode" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Consignee" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="Adress" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Country" minOccurs="0"/>
|
||||
<xs:element name="Postcode" minOccurs="0"/>
|
||||
<xs:element name="City" minOccurs="0"/>
|
||||
<xs:element name="Street" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EORI" minOccurs="0"/>
|
||||
<xs:element name="EORI_NL" minOccurs="0"/>
|
||||
<xs:element name="UID_Nr" minOccurs="0"/>
|
||||
<xs:element name="CustomerCode" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Carrier" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="Adress" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Country" minOccurs="0"/>
|
||||
<xs:element name="Postcode" minOccurs="0"/>
|
||||
<xs:element name="City" minOccurs="0"/>
|
||||
<xs:element name="Street" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EORI" minOccurs="0"/>
|
||||
<xs:element name="EORI_NL" minOccurs="0"/>
|
||||
<xs:element name="UID_Nr" minOccurs="0"/>
|
||||
<xs:element name="CustomerCode" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Guarantee" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="GRN"/>
|
||||
<xs:element name="Amount"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SumGrossWeight" type="xs:decimal" minOccurs="0"/>
|
||||
<xs:element name="Position" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Position" maxOccurs="999">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="PosNr"/>
|
||||
<xs:element name="Quantity" minOccurs="0"/>
|
||||
<xs:element name="Packaging" minOccurs="0"/>
|
||||
<xs:element name="GoodsDescription" minOccurs="0"/>
|
||||
<xs:element name="GrossWeight" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Attachments" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Attachment" minOccurs="0" maxOccurs="999">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="FileType"/>
|
||||
<xs:element name="Description"/>
|
||||
<xs:element name="DocumentType">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="NCTS"/>
|
||||
<xs:enumeration value="OTHER"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="base64BinaryStream" type="xs:base64Binary"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="VERAG_out_ncts">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="InternalReference">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="OfficeCode" type="xsd:int" />
|
||||
<xsd:element name="PositionNumber" type="xsd:int" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="ProcessData">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="NCTS_Data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="DatDeterminationLimit" type="xsd:string" />
|
||||
<xsd:element name="Sender">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="Adress">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Consignee">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Carrier">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Guarantee">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="SumGrossWeight" type="xsd:int" />
|
||||
<xsd:element name="Position">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="1" maxOccurs="unbounded" name="Position" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="Attachments">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="Attachment">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="DocumentType">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="NCTS" />
|
||||
<xsd:enumeration value="OTHER" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:element>
|
||||
<xsd:element name="base64BinaryStream" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
|
||||
2987
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/OUT_NCTS/VERAG_out_ncts_V2_0_2.Designer.vb
generated
Normal file
2987
VERAG_PROG_ALLGEMEIN/Schnittstellen/VERAG/OUT_NCTS/VERAG_out_ncts_V2_0_2.Designer.vb
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,162 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Mit XMLSpy v2017 rel. 3 sp1 (x64) (http://www.altova.com) von Andreas Luxbauer (VERAG Spedition AG) bearbeitet -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
|
||||
<xs:element name="VERAG_out_ncts">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Version" default="2.0.1"/>
|
||||
<xs:element name="Company"/>
|
||||
<xs:element name="Department" minOccurs="0"/>
|
||||
<xs:element name="ClientReference" minOccurs="0"/>
|
||||
<xs:element name="InternalReference" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="OfficeCode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:integer"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="PositionNumber" type="xs:integer"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ProcessData">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Status"/>
|
||||
<xs:element name="TransactionDate"/>
|
||||
<xs:element name="MRN"/>
|
||||
<xs:element name="ReferenzNumber"/>
|
||||
<xs:element name="ProcedureCode"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="NCTS_Data">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="DatDeterminationLimit" type="xs:date"/>
|
||||
<xs:element name="LicensePlate"/>
|
||||
<xs:element name="DepartureCustomsOffice"/>
|
||||
<xs:element name="DestinationCustomsOffice"/>
|
||||
<xs:element name="DepartureCountry"/>
|
||||
<xs:element name="DestinationCountry"/>
|
||||
<xs:element name="Sender" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="Adress" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Country" minOccurs="0"/>
|
||||
<xs:element name="Postcode" minOccurs="0"/>
|
||||
<xs:element name="City" minOccurs="0"/>
|
||||
<xs:element name="Street" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EORI" minOccurs="0"/>
|
||||
<xs:element name="EORI_NL" minOccurs="0"/>
|
||||
<xs:element name="UID_Nr" minOccurs="0"/>
|
||||
<xs:element name="CustomerCode" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Consignee" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="Adress" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Country" minOccurs="0"/>
|
||||
<xs:element name="Postcode" minOccurs="0"/>
|
||||
<xs:element name="City" minOccurs="0"/>
|
||||
<xs:element name="Street" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EORI" minOccurs="0"/>
|
||||
<xs:element name="EORI_NL" minOccurs="0"/>
|
||||
<xs:element name="UID_Nr" minOccurs="0"/>
|
||||
<xs:element name="CustomerCode" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Carrier" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="Adress" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Country" minOccurs="0"/>
|
||||
<xs:element name="Postcode" minOccurs="0"/>
|
||||
<xs:element name="City" minOccurs="0"/>
|
||||
<xs:element name="Street" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="EORI" minOccurs="0"/>
|
||||
<xs:element name="EORI_NL" minOccurs="0"/>
|
||||
<xs:element name="UID_Nr" minOccurs="0"/>
|
||||
<xs:element name="CustomerCode" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Guarantee" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="GRN"/>
|
||||
<xs:element name="Amount"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SumGrossWeight" type="xs:decimal" minOccurs="0"/>
|
||||
<xs:element name="Position" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Position" maxOccurs="999">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="PosNr"/>
|
||||
<xs:element name="Quantity" minOccurs="0"/>
|
||||
<xs:element name="Packaging" minOccurs="0"/>
|
||||
<xs:element name="GoodsDescription" minOccurs="0"/>
|
||||
<xs:element name="GrossWeight" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Attachments" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Attachment" minOccurs="0" maxOccurs="999">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Name"/>
|
||||
<xs:element name="FileType"/>
|
||||
<xs:element name="Description"/>
|
||||
<xs:element name="DocumentType">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="NCTS"/>
|
||||
<xs:enumeration value="OTHER"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="base64BinaryStream" type="xs:base64Binary"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,361 @@
|
||||
Imports System.Data.SqlClient
|
||||
Imports System.Reflection
|
||||
|
||||
Public Class cVERAG_out_ncts
|
||||
|
||||
|
||||
Property ncts_ANR As Object = Nothing
|
||||
Property ncts_MRN As Object = Nothing
|
||||
|
||||
Property ncts_firma As Object = Nothing
|
||||
Property ncts_niederlassung As Object = Nothing
|
||||
|
||||
|
||||
'Property ncts_Gestellt As Boolean = False
|
||||
'Property ncts_GestelltAm As Object = Nothing
|
||||
Property ncts_ObjectName As Object = Nothing
|
||||
Property ncts_ObjectAlias As Object = Nothing
|
||||
Property ncts_BezugsnummerVorblendung As Object = Nothing
|
||||
Property ncts_Bearbeiter As Object = Nothing
|
||||
Property ncts_VersendungsLandCode As Object = Nothing
|
||||
Property ncts_BestimmungslandCode As Object = Nothing
|
||||
Property ncts_ArtAnmeldung As Object = Nothing
|
||||
Property ncts_BeladungsOrt As Object = Nothing
|
||||
|
||||
Property ncts_DurchgangszollstelleDienststellnummer1 As Object = Nothing
|
||||
Property ncts_DurchgangszollstelleDienststellnummer2 As Object = Nothing
|
||||
Property ncts_DurchgangszollstelleDienststellnummer3 As Object = Nothing
|
||||
Property ncts_DurchgangszollstelleDienststellnummer4 As Object = Nothing
|
||||
Property ncts_DurchgangszollstelleDienststellnummer5 As Object = Nothing
|
||||
Property ncts_DurchgangszollstelleDienststellnummer6 As Object = Nothing
|
||||
Property ncts_DurchgangszollstelleDienststellnummer7 As Object = Nothing
|
||||
Property ncts_DurchgangszollstelleDienststellnummer8 As Object = Nothing
|
||||
Property ncts_DurchgangszollstelleDienststellnummer9 As Object = Nothing
|
||||
|
||||
Property ncts_BestimmungsstelleDienststellennummer As Object = Nothing
|
||||
Property ncts_AbgangsDienststellennummer As Object = Nothing
|
||||
Property ncts_Wiedergestellungsdatum As Object = Nothing
|
||||
Property ncts_KzVereinfachtesVerfahren As Object = Nothing
|
||||
Property ncts_GesamtRohmasse As Object = Nothing
|
||||
Property ncts_GesamtAnzahlPackstuecke As Object = Nothing
|
||||
Property ncts_Verschluss_ArtCode As Object = Nothing
|
||||
Property ncts_Verschluss_Anzahl As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen1 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen2 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen3 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen4 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen5 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen6 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen7 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen8 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen9 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen10 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen11 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen12 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen13 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen14 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen15 As Object = Nothing
|
||||
Property ncts_Verschluss_Zeichen16 As Object = Nothing
|
||||
Property ncts_Befoerderungsmittel_KennzeichenAbgang As Object = Nothing
|
||||
Property ncts_Befoerderungsmittel_SttaszugehoerigkeitAbgangCode As Object = Nothing
|
||||
Property ncts_Befoerderungsmittel_VerkehrszweigGrenzueberschreitent As Object = Nothing
|
||||
Property ncts_Befoerderungsmittel_ArtGrenzueberschreitung As Object = Nothing
|
||||
Property ncts_Befoerderungsmittel_KennzeichenGrenzueberschreitend As Object = Nothing
|
||||
Property ncts_Befoerderungsmittel_StaatszugehoerigkeitGrenzueberschreitendCode As Object = Nothing
|
||||
Property ncts_Versender_EORI As Object = Nothing
|
||||
Property ncts_Versender_NLNR As Object = Nothing
|
||||
Property ncts_Versender_TIN As Object = Nothing
|
||||
Property ncts_Versender_Name As Object = Nothing
|
||||
Property ncts_Versender_StrasseHausnummer As Object = Nothing
|
||||
Property ncts_Versender_Ort As Object = Nothing
|
||||
Property ncts_Versender_PLZ As Object = Nothing
|
||||
Property ncts_Versender_Land As Object = Nothing
|
||||
Property ncts_Empfaenger_EORI As Object = Nothing
|
||||
Property ncts_Empfaenger_NLNR As Object = Nothing
|
||||
Property ncts_Empfaenger_TIN As Object = Nothing
|
||||
Property ncts_Empfaenger_Name As Object = Nothing
|
||||
Property ncts_Empfaenger_StrasseHausnummer As Object = Nothing
|
||||
Property ncts_Empfaenger_Ort As Object = Nothing
|
||||
Property ncts_Empfaenger_PLZ As Object = Nothing
|
||||
Property ncts_Empfaenger_Land As Object = Nothing
|
||||
Property ncts_Hauptverpflichteter_EORI As Object = Nothing
|
||||
Property ncts_Hauptverpflichteter_NLNR As Object = Nothing
|
||||
Property ncts_Hauptverpflichteter_TIN As Object = Nothing
|
||||
Property ncts_Hauptverpflichteter_Name As Object = Nothing
|
||||
Property ncts_Hauptverpflichteter_StrasseHausnummer As Object = Nothing
|
||||
Property ncts_Hauptverpflichteter_Ort As Object = Nothing
|
||||
Property ncts_Hauptverpflichteter_PLZ As Object = Nothing
|
||||
Property ncts_Hauptverpflichteter_Land As Object = Nothing
|
||||
Property ncts_ZugelassenerEmpfaenger_IDCarnet As Object = Nothing
|
||||
Property ncts_ZugelassenerEmpfaenger_BewilligungsnummerVersender As Object = Nothing
|
||||
Property ncts_ZugelassenerEmpfaenger_EORI As Object = Nothing
|
||||
Property ncts_ZugelassenerEmpfaenger_TIN As Object = Nothing
|
||||
|
||||
Property ncts_SumA_KzSumASicherheit As Object = Nothing
|
||||
Property ncts_SumA_KennnummerSendung As Object = Nothing
|
||||
Property ncts_SumA_BesondereUmstaende As Object = Nothing
|
||||
Property ncts_SumA_NummerBefoerderung As Object = Nothing
|
||||
Property ncts_SumA_Ladeort As Object = Nothing
|
||||
Property ncts_SumA_Entladeort As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungskostenZahlungsweise As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand1 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand2 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand3 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand4 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand5 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand6 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand7 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand8 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand9 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand10 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand11 As Object = Nothing
|
||||
Property ncts_SumA_BefoerderungsrouteLand12 As Object = Nothing
|
||||
Property ncts_SumA_Versender_EORI As Object = Nothing
|
||||
Property ncts_SumA_Versender_NLNR As Object = Nothing
|
||||
Property ncts_SumA_Versender_TIN As Object = Nothing
|
||||
Property ncts_SumA_Versender_Name As Object = Nothing
|
||||
Property ncts_SumA_Versender_StrasseHausnummer As Object = Nothing
|
||||
Property ncts_SumA_Versender_Land As Object = Nothing
|
||||
Property ncts_SumA_Versender_PLZ As Object = Nothing
|
||||
Property ncts_SumA_Versender_Ort As Object = Nothing
|
||||
|
||||
Property ncts_SumA_Empfaenger_EORI As Object = Nothing
|
||||
Property ncts_SumA_Empfaenger_NLNR As Object = Nothing
|
||||
Property ncts_SumA_Empfaenger_TIN As Object = Nothing
|
||||
Property ncts_SumA_Empfaenger_Name As Object = Nothing
|
||||
Property ncts_SumA_Empfaenger_StrasseHausnummer As Object = Nothing
|
||||
Property ncts_SumA_Empfaenger_Land As Object = Nothing
|
||||
Property ncts_SumA_Empfaenger_PLZ As Object = Nothing
|
||||
Property ncts_SumA_Empfaenger_Ort As Object = Nothing
|
||||
|
||||
Property ncts_SumA_Befoerderer_EORI As Object = Nothing
|
||||
Property ncts_SumA_Befoerderer_NLNR As Object = Nothing
|
||||
Property ncts_SumA_Befoerderer_TIN As Object = Nothing
|
||||
Property ncts_SumA_Befoerderer_Name As Object = Nothing
|
||||
Property ncts_SumA_Befoerderer_StrasseHausnummer As Object = Nothing
|
||||
Property ncts_SumA_Befoerderer_Land As Object = Nothing
|
||||
Property ncts_SumA_Befoerderer_PLZ As Object = Nothing
|
||||
Property ncts_SumA_Befoerderer_Ort As Object = Nothing
|
||||
Property ncts_Stammreferenz As Object = Nothing
|
||||
|
||||
|
||||
Property ncts_SICHERHEITSANGABEN As New List(Of cDakosy_NCTSOut_Sicherheitsangaben)
|
||||
Property ncts_WARENPOS As New List(Of cDakosy_NCTSOut_Warenposition)
|
||||
|
||||
End Class
|
||||
|
||||
|
||||
|
||||
Public Class cDakosy_NCTSOut_Sicherheitsangaben
|
||||
|
||||
'Property nctsSA_Id As Integer
|
||||
'Property nctsSA_NctsId As Object = Nothing
|
||||
Property nctsSA_ArtCode As Object = Nothing
|
||||
Property nctsSA_BezeichnungBescheinigun As Object = Nothing
|
||||
Property nctsSA_AbgabenBetrag As Object = Nothing
|
||||
'Property nctsSA_GRN As Object = Nothing
|
||||
'Property nctsSA_Zugriffcode As Object = Nothing
|
||||
'Property nctsSA_TIN As Object = Nothing
|
||||
|
||||
|
||||
'Public selButton As Object = Nothing ' Für die GUI
|
||||
'Public SA_OBJECT As Object = Nothing ' Für die GUI
|
||||
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
Sub New()
|
||||
End Sub
|
||||
|
||||
'Sub New(nctsSA_Id)
|
||||
' Me.nctsSA_Id = nctsSA_Id
|
||||
' LOAD()
|
||||
' End Sub
|
||||
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
|
||||
Public Class cDakosy_NCTSOut_Warenposition
|
||||
'Property nctsWP_Id As Integer
|
||||
'Property nctsWP_NctsId As Integer
|
||||
Property nctsWP_PositionsNummer As Object = Nothing
|
||||
Property nctsWP_Warennummer As Object = Nothing
|
||||
Property nctsWP_ArtAnmeldungPositionCode As Object = Nothing
|
||||
Property nctsWP_Warenbezeichnung As Object = Nothing
|
||||
Property nctsWP_Warenwert As Object = Nothing
|
||||
Property nctsWP_WarenwertWaehrung As Object = Nothing
|
||||
Property nctsWP_SchaetzKz As Object = Nothing
|
||||
Property nctsWP_WarenwertProzent As Object = Nothing
|
||||
Property nctsWP_VersendungslandPositionCode As Object = Nothing
|
||||
Property nctsWP_BestimmungslandPositionCode As Object = Nothing
|
||||
Property nctsWP_Rohmasse As Object = Nothing
|
||||
Property nctsWP_Eigenmasse As Object = Nothing
|
||||
|
||||
|
||||
Property nctsWP_VorpapierTyp As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz1 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz1 As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz2 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz2 As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz3 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz3 As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz4 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz4 As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz5 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz5 As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz6 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz6 As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz7 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz7 As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz8 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz8 As Object = Nothing
|
||||
Property nctsWP_VorpapierReferenz9 As Object = Nothing
|
||||
Property nctsWP_VorpapierZusatz9 As Object = Nothing
|
||||
|
||||
|
||||
|
||||
Property nctsWP_BesondereVermeke_ExportAusEU As Object = Nothing
|
||||
Property nctsWP_BesondereVermeke_ExportAusLand As Object = Nothing
|
||||
Property nctsWP_BesondereVermeke_Export As Object = Nothing
|
||||
|
||||
Property nctsWP_BesondereVermeke_ExportBeschraenkung As Object = Nothing
|
||||
Property nctsWP_BesondereVermeke_ExportAbgaben As Object = Nothing
|
||||
Property nctsWP_BesondereVermeke_Vermerk As Object = Nothing
|
||||
Property nctsWP_BesondereVermeke_Kz10600 As Object = Nothing
|
||||
|
||||
|
||||
Property nctsWP_Versender_EORI As Object = Nothing
|
||||
Property nctsWP_Versender_NLNR As Object = Nothing
|
||||
Property nctsWP_Versender_TIN As Object = Nothing
|
||||
Property nctsWP_Versender_Name As Object = Nothing
|
||||
Property nctsWP_Versender_StrasseHausnummer As Object = Nothing
|
||||
Property nctsWP_Versender_Ort As Object = Nothing
|
||||
Property nctsWP_Versender_PLZ As Object = Nothing
|
||||
Property nctsWP_Versender_Land As Object = Nothing
|
||||
Property nctsWP_Empfaenger_EORI As Object = Nothing
|
||||
Property nctsWP_Empfaenger_NLNR As Object = Nothing
|
||||
Property nctsWP_Empfaenger_TIN As Object = Nothing
|
||||
Property nctsWP_Empfaenger_Name As Object = Nothing
|
||||
Property nctsWP_Empfaenger_StrasseHausnummer As Object = Nothing
|
||||
Property nctsWP_Empfaenger_Ort As Object = Nothing
|
||||
Property nctsWP_Empfaenger_PLZ As Object = Nothing
|
||||
Property nctsWP_Empfaenger_Land As Object = Nothing
|
||||
Property nctsWP_SumAKennnummerSendung As Object = Nothing
|
||||
Property nctsWP_SumABefoerderungskostenZahlungsweise As Object = Nothing
|
||||
Property nctsWP_SumAUNGefahrgutnummer As Object = Nothing
|
||||
Property nctsWP_SumAVersender_EORI As Object = Nothing
|
||||
Property nctsWP_SumAVersender_NLNR As Object = Nothing
|
||||
Property nctsWP_SumAVersender_TIN As Object = Nothing
|
||||
Property nctsWP_SumAVersender_Name As Object = Nothing
|
||||
Property nctsWP_SumAVersender_StrasseHausnummer As Object = Nothing
|
||||
Property nctsWP_SumAVersender_Ort As Object = Nothing
|
||||
Property nctsWP_SumAVersender_PLZ As Object = Nothing
|
||||
Property nctsWP_SumAVersender_Land As Object = Nothing
|
||||
Property nctsWP_SumAEmpfaenger_EORI As Object = Nothing
|
||||
Property nctsWP_SumAEmpfaenger_NLNR As Object = Nothing
|
||||
Property nctsWP_SumAEmpfaenger_TIN As Object = Nothing
|
||||
Property nctsWP_SumAEmpfaenger_Name As Object = Nothing
|
||||
Property nctsWP_SumAEmpfaenger_StrasseHausnummer As Object = Nothing
|
||||
Property nctsWP_SumAEmpfaenger_Ort As Object = Nothing
|
||||
Property nctsWP_SumAEmpfaenger_PLZ As Object = Nothing
|
||||
Property nctsWP_SumAEmpfaenger_Land As Object = Nothing
|
||||
|
||||
|
||||
'Property nctsWP_KdRefNr As Object = Nothing
|
||||
|
||||
|
||||
Property nctsWP_PACKSTUECKE As New List(Of cDakosy_NCTSOut_WarenpositionPackstuecke)
|
||||
Property nctsWP_UNTERLAGEN As New List(Of cDakosy_NCTSOut_WarenpositionVorgelegteUnterlagen)
|
||||
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
Sub New()
|
||||
' Me.nctsWP_NctsId = nctsWP_NctsId
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
|
||||
|
||||
Public Class cDakosy_NCTSOut_WarenpositionPackstuecke
|
||||
|
||||
'Property nctsWpPk_Id As Integer
|
||||
'Property nctsWpPk_nctsWPId As Integer
|
||||
'Property nctsWpPk_NctsId As Integer
|
||||
|
||||
Property nctsWpPk_PackstueckeAnzahl As Object = Nothing
|
||||
Property nctsWpPk_Verpackungsart As Object = Nothing
|
||||
Property nctsWpPk_ZeichenNummern As Object = Nothing
|
||||
|
||||
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
Sub New()
|
||||
' Me.nctsWpPk_nctsWPId = nctsWpPk_nctsWPId
|
||||
End Sub
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
Public Class cDakosy_NCTSOut_WarenpositionVorgelegteUnterlagen
|
||||
|
||||
'Property nctsWpUl_Id As Integer
|
||||
'Property nctsWpUl_nctsWPId As Integer
|
||||
'Property nctsWpUl_NctsId As Integer
|
||||
Property nctsWpUl_Typ As Object = Nothing
|
||||
Property nctsWpUl_Referenz As Object = Nothing
|
||||
Property nctsWpUl_Zusatz As Object = Nothing
|
||||
|
||||
|
||||
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
Sub New()
|
||||
' Me.nctsWpUl_nctsWPId = nctsWpUl_nctsWPId
|
||||
End Sub
|
||||
|
||||
|
||||
'Function getParameterList() As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
' Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("nctsWpUl_Id", nctsWpUl_Id, , True, True))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("nctsWpUl_nctsWPId", nctsWpUl_nctsWPId))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("nctsWpUl_NctsId", nctsWpUl_NctsId))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("nctsWpUl_Typ", nctsWpUl_Typ))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("nctsWpUl_Referenz", nctsWpUl_Referenz))
|
||||
' list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("nctsWpUl_Zusatz", nctsWpUl_Zusatz))
|
||||
' Return list
|
||||
'End Function
|
||||
|
||||
|
||||
'Public Function INSERT() As Boolean
|
||||
' Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
' nctsWpUl_Id = SQL.doSQLVarListID(nctsWpUl_Id, getInsertCmd(), "FMZOLL", , list)
|
||||
' Return nctsWpUl_Id > 0
|
||||
'End Function
|
||||
|
||||
'Public Function getInsertCmd() As String
|
||||
' Try
|
||||
' Dim list As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) = getParameterList()
|
||||
' Dim str As String = ""
|
||||
' Dim values As String = ""
|
||||
' For Each i In list
|
||||
' If Not i.isPrimaryParam Then
|
||||
' str &= "[" & i.Text & "],"
|
||||
' values &= "@" & i.Scalarvariable & "," '.Replace("-", "").Replace(" ", "") & ","
|
||||
' End If
|
||||
' Next
|
||||
' str = str.Substring(0, str.Length - 1) 'wg. ','
|
||||
' values = values.Substring(0, values.Length - 1) 'wg. ','
|
||||
' Return (" INSERT INTO tblDakosy_NCTSOut_WarenpositionVorgelegteUnterlagen (" & str & ") VALUES(" & values & ") ")
|
||||
' Catch ex As Exception
|
||||
' MsgBox("Fehler in der Funktion '" & System.Reflection.MethodInfo.GetCurrentMethod.Name & "'" & vbNewLine & vbNewLine & ex.Message & vbNewLine & vbNewLine & ex.StackTrace)
|
||||
' End Try
|
||||
' Return ""
|
||||
'End Function
|
||||
|
||||
|
||||
|
||||
End Class
|
||||
@@ -70,7 +70,7 @@
|
||||
Dim pathArchiv = "\\192.168.1.20\Daten\DVO - DATENORDNER MIT IMPORTDATEIEN\Archiv\"
|
||||
|
||||
If VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM Then
|
||||
path = "\\192.168.0.91\Datenarchiv\DATENARCHIV_TESTSYSTEM\"
|
||||
path = VERAG_PROG_ALLGEMEIN.DATENVERVER_OPTIONS.getRootDir
|
||||
pathArchiv = ""
|
||||
End If
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
MsgBox(ex.Message & ex.StackTrace)
|
||||
End Try
|
||||
'Update Filename TrdIn
|
||||
SQL.doSQL("update [VERAG].[dbo].[tblTrdinInvoice] set TrdinDateiname='" & Now.ToString("ddMMyyyyHHmm") & "' WHERE [Firma_ID] = 20 AND TrdinDateiname is null ", "FMZOLL")
|
||||
SQL.doSQL("update [tblTrdinInvoice] set TrdinDateiname='" & Now.ToString("ddMMyyyyHHmm") & "' WHERE [Firma_ID] = 20 AND TrdinDateiname is null ", "FMZOLL")
|
||||
'SQL.doSQL("update [VERAG].[dbo].[tblTrdinInvoice] set TrdinDateiname='" & Dateiname & "' WHERE [Firma_ID] = 20 AND TrdinDateiname is null ", "FMZOLL") --> Auf 12 Zeichen beschränkt!
|
||||
End If
|
||||
End If
|
||||
|
||||
43
VERAG_PROG_ALLGEMEIN/Schnittstellen/cJsonPost.vb
Normal file
43
VERAG_PROG_ALLGEMEIN/Schnittstellen/cJsonPost.vb
Normal file
@@ -0,0 +1,43 @@
|
||||
|
||||
Imports Newtonsoft.Json
|
||||
Imports System.Net
|
||||
Imports System.Text
|
||||
|
||||
|
||||
Public Class cJsonPost
|
||||
|
||||
|
||||
' Dim jsonPost As New JsonPost("http://192.168.254.104:8000")
|
||||
' Dim dictData As New Dictionary(Of String, Object)
|
||||
'dictData.Add("test_key", "test_value")
|
||||
'jsonPost.postData(dictData)
|
||||
|
||||
|
||||
|
||||
Private urlToPost As String = ""
|
||||
|
||||
Public Sub New(ByVal urlToPost As String)
|
||||
Me.urlToPost = urlToPost
|
||||
End Sub
|
||||
|
||||
Public Function postData(ByVal dictData As Dictionary(Of String, Object)) As Boolean
|
||||
Dim webClient As New WebClient()
|
||||
Dim resByte As Byte()
|
||||
Dim resString As String
|
||||
Dim reqString() As Byte
|
||||
|
||||
Try
|
||||
webClient.Headers("content-type") = "application/json"
|
||||
reqString = Encoding.Default.GetBytes(JsonConvert.SerializeObject(dictData, Formatting.Indented))
|
||||
resByte = webClient.UploadData(Me.urlToPost, "post", reqString)
|
||||
resString = Encoding.Default.GetString(resByte)
|
||||
Console.WriteLine(resString)
|
||||
webClient.Dispose()
|
||||
Return True
|
||||
Catch ex As Exception
|
||||
Console.WriteLine(ex.Message)
|
||||
End Try
|
||||
Return False
|
||||
End Function
|
||||
|
||||
End Class
|
||||
@@ -7,7 +7,7 @@ Public Class cTherefore
|
||||
Return saveFileTo_ImportFolderCat(Path, FilialeAbfertigungsNr, AvisoId, "Atilla ab Juni 2011",, deleteFileAfterImport)
|
||||
Case 1, 11 ', 15,20
|
||||
' Return saveFileTo_ImportFolderCat(Path, FilialeAbfertigungsNr, AvisoId, "Import an Jänner 2019", "Import ab Jänner 2019", deleteFileAfterImport)
|
||||
Return saveFileTo_ImportFolderCat(Path, FilialeAbfertigungsNr, AvisoId, "Import an Jänner 2020", "Import ab Jänner 2020", deleteFileAfterImport)
|
||||
Return saveFileTo_ImportFolderCat(Path, FilialeAbfertigungsNr, AvisoId, "Import ab Jänner 2020", "Import ab Jänner 2020", deleteFileAfterImport)
|
||||
Case Else
|
||||
Return False
|
||||
End Select
|
||||
|
||||
Reference in New Issue
Block a user