diff --git a/ADMIN.sln b/ADMIN.sln
index ed36b73..5924932 100644
--- a/ADMIN.sln
+++ b/ADMIN.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.28307.106
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.30804.86
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ADMIN", "UID\ADMIN.vbproj", "{6EB4D3A4-3CF2-4651-9AF9-AD5F727DF403}"
EndProject
@@ -33,6 +33,8 @@ Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "NCTSPartnerWorker", "cNCTSP
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "RKSV_DE", "RKSV_DE\RKSV_DE.vbproj", "{173CD166-FB23-4E8F-9BAA-DBDAF2A0383F}"
EndProject
+Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "MIC_Worker_lib", "MIC_Worker_lib\MIC_Worker_lib.vbproj", "{60833DC6-70ED-450A-B51F-4A953E67ADA0}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -99,6 +101,10 @@ Global
{173CD166-FB23-4E8F-9BAA-DBDAF2A0383F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{173CD166-FB23-4E8F-9BAA-DBDAF2A0383F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{173CD166-FB23-4E8F-9BAA-DBDAF2A0383F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {60833DC6-70ED-450A-B51F-4A953E67ADA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {60833DC6-70ED-450A-B51F-4A953E67ADA0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {60833DC6-70ED-450A-B51F-4A953E67ADA0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {60833DC6-70ED-450A-B51F-4A953E67ADA0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/DAKOSY_Worker/cZOLL_IMPORT.vb b/DAKOSY_Worker/cZOLL_IMPORT.vb
index ea8bbbb..46f2a1b 100644
--- a/DAKOSY_Worker/cZOLL_IMPORT.vb
+++ b/DAKOSY_Worker/cZOLL_IMPORT.vb
@@ -532,6 +532,10 @@ Public Class cZOLL_IMPORT
If SPEDITIONSBUCH.Abfertigungsart <= 0 Then SPEDITIONSBUCH.Abfertigungsart = SENDUNG.tblSnd_Abfertigungsart_ID
If SPEDITIONSBUCH.Abfertigungsanzahl = 0 Then SPEDITIONSBUCH.Abfertigungsanzahl = SENDUNG.tblSnd_anzahlHandling
+ If SPEDITIONSBUCH.AbfertigungsanzahlPos IsNot Nothing AndAlso IsNumeric(SPEDITIONSBUCH.AbfertigungsanzahlPos) Then
+ SPEDITIONSBUCH.AbfertigungsanzahlPos = SENDUNG.tblSnd_anzahlPOS ' (NOCH) Keine Funktion!
+ SPEDITIONSBUCH.Vermerk = "Pos-Anzahl: " & SPEDITIONSBUCH.AbfertigungsanzahlPos
+ End If
If SPEDITIONSBUCH.PersonalnummerQS <= 0 Then SPEDITIONSBUCH.PersonalnummerQS = SENDUNG.tblSnd_QS_MA
If SPEDITIONSBUCH.PersonalnummerAbklTR <= 0 Then SPEDITIONSBUCH.PersonalnummerAbklTR = SENDUNG.tblSnd_AbklaerungTR_MA
diff --git a/MDM_Worker/cPLOSE.vb b/MDM_Worker/cPLOSE.vb
index 219e088..cfd02b4 100644
--- a/MDM_Worker/cPLOSE.vb
+++ b/MDM_Worker/cPLOSE.vb
@@ -5,6 +5,11 @@ Imports System.Data.SqlClient
Public Class cPLOSE
Property plose_Id As Integer
+
+ Property plose_RechnungsDatum As Object = Nothing ' VARCHAR(3) NULL,
+ Property plose_RechnungsNr As Object = Nothing ' VARCHAR(3) NULL,
+ Property plose_Dateiname As Object = Nothing ' VARCHAR(3) NULL,
+ Property plose_Einlesedatum As Date = Now ' VARCHAR(3) NULL,
Property plose_Datensatztyp As Object = Nothing ' VARCHAR(3) NULL,
Property plose_KodexMautTankstelle As Object = Nothing ' VARCHAR(7) NULL,
Property plose_BeschreibungMautTankstelle As Object = Nothing ' VARCHAR(12) NULL,
@@ -55,6 +60,7 @@ Imports System.Data.SqlClient
LOAD()
End Sub
+
Public 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("plose_id", plose_Id, , True, True))
@@ -62,6 +68,10 @@ Imports System.Data.SqlClient
+ list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("plose_RechnungsDatum", plose_RechnungsDatum)) ' VARCHAR(3) NULL,
+ list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("plose_RechnungsNr", plose_RechnungsNr)) ' VARCHAR(3) NULL,
+ list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("plose_Dateiname", plose_Dateiname)) ' VARCHAR(3) NULL,
+ list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("plose_Einlesedatum", plose_Einlesedatum)) ' VARCHAR(3) NULL,
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("plose_Datensatztyp", plose_Datensatztyp)) ' VARCHAR(3) NULL,
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("plose_KodexMautTankstelle", plose_KodexMautTankstelle)) ' VARCHAR(7) NULL,
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("plose_BeschreibungMautTankstelle", plose_BeschreibungMautTankstelle)) ' VARCHAR(12) NULL,
@@ -150,6 +160,16 @@ Imports System.Data.SqlClient
End Try
End Sub
+ Shared Sub UPDATE_RGDatum(plose_RechnungsDatum As Date, plose_RechnungsNr As Integer, plose_POLSEKundennummer As Integer)
+ Try
+ Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
+ SQL.doSQL("UPDATE tblPLOSE_Details SET plose_RechnungsDatum='" & plose_RechnungsDatum.ToShortDateString & "' WHERE plose_RechnungsNr='" & plose_RechnungsNr & "' AND plose_POLSEKundennummer='" & plose_POLSEKundennummer & "' ", "FMZOLL")
+
+ 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 getUpdateCmd() As String
Try
diff --git a/MIC_Worker_lib/Class1.vb b/MIC_Worker_lib/Class1.vb
new file mode 100644
index 0000000..875798b
--- /dev/null
+++ b/MIC_Worker_lib/Class1.vb
@@ -0,0 +1,3 @@
+Public Class Class1
+
+End Class
diff --git a/MIC_Worker_lib/MIC/Import/MicCustImportInvoiceTypes.xsd b/MIC_Worker_lib/MIC/Import/MicCustImportInvoiceTypes.xsd
new file mode 100644
index 0000000..eb1a3f7
--- /dev/null
+++ b/MIC_Worker_lib/MIC/Import/MicCustImportInvoiceTypes.xsd
@@ -0,0 +1,11393 @@
+
+
+
+
+
+ Import invoice type
+
+
+
+
+
+ Invoice Number
+ Rechnungsnummer
+
+
+ true
+ String1..30
+
+ MIC_ALL_EAVKOP
+ EAKFAKTNR
+ MIC_EINKOP
+ EFKFAKTNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ An unique version id.
+ Versionsnummer
+
+
+ false
+ String1..50
+
+ MIC_ALL_EAVKOP
+ EAKVERSION
+ MIC_EINKOP
+ EFKLOCKVERSION
+
+
+
+
+
+
+
+
+
+
+
+
+ Date of invoice
+ Rechnungsdatum
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVKOP
+ EAKFAKTDAT
+ MIC_EINKOP
+ EFKFAKTDAT
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Invoice attributes
+ Rechnungsattribute
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Invoice documents
+ Rechnungsunterlagen
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Invoice business partner
+ Rechnungsgeschäftspartner
+
+
+ false
+
+ 1-n
+
+
+ MIC_EINSDGDOC
+
+
+
+
+
+
+
+
+
+ Invoice completion parts of summary declaration
+ Rechnungsbeendigungsanteile der Summarischen Anmeldung (SumA)
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Intrastat information on invoice level
+ Intrastatdaten auf Rechnungsebene
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Invoice lines
+ Rechnungspositionen
+
+
+ true
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Einfuhrposition
+
+
+ true
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Invoice line
+ Rechnungsposition
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Import invoice line type
+
+
+
+
+
+ Invoice Line
+ Rechnungsposition
+
+
+ true
+ Decimal(4)
+
+ MIC_ALL_EAVPOS
+ EAPFAKTPOS
+ MIC_EINPOS
+ EFPFAKTPOS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Quantity
+ Abgangsmenge
+
+
+ false
+ Decimal(13,3)
+
+ MIC_ALL_EAVPOS
+ EAPMENGE
+ MIC_EINPOS
+ EFPMENGE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Unit of Measurement
+ Mengeneinheit
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVPOS
+ EAPMEH
+ MIC_EINPOS
+ EFPMEH
+
+
+
+
+
+
+
+
+
+
+
+
+ Net Weight (kg)
+ Eigenmasse (kg)
+
+
+ false
+ Decimal(14,6)
+
+ MIC_ALL_EAVPOS
+ EAPEIGMAS
+ MIC_EINPOS
+ EFPEIGMAS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Gross Weight (kg)
+ Rohmasse (kg)
+
+
+ false
+ Decimal(14,6)
+
+ MIC_ALL_EAVPOS
+ EAPROHMAS
+ MIC_EINPOS
+ EFPROHMAS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Statistical Quantity
+ Statistische Menge
+
+
+ false
+ Decimal(13,3)
+
+ MIC_ALL_EAVPOS
+ EAPBESM
+ MIC_EINPOS
+ EFPBESM
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Quantity Unit
+ Mengeneinheit
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVPOS
+ EAPBESMEH
+ MIC_EINPOS
+ EFPBESMEH
+
+
+
+
+
+
+
+
+
+
+
+
+ Unit Price
+ Stückpreis
+
+
+ false
+ Decimal(18,6)
+
+ MIC_ALL_EAVPOS
+ EAPPREIS
+ MIC_EINPOS
+ EFPPREIS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Line Value
+ Wert
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPWERT
+ MIC_EINPOS
+ EFPWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ License information
+
+
+
+
+
+
+ Pricing information to document how the invoice line was priced
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Line freight costs
+ Positionsfrachtkosten
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Line insurance costs
+ Positionsversicherungskosten
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Line additional costs
+ Positionsnebenkosten
+
+
+ false
+
+ 0-8
+ MIC_ALL_EAVPOS
+ EAP___
+ MIC_EINPOS
+ EFP___
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Country of Origin
+ Ursprungsland
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPURLD
+ MIC_EINPOS
+ EFPURLD
+
+
+
+
+
+
+
+
+
+
+
+
+ Preferential country of origin
+ Präferenz Ursprungsland
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVPOS
+ EAPPRAEFURLD
+ MIC_EINPOS
+ EFPPRAEFURLD
+
+
+
+
+
+
+
+
+
+
+
+
+ Location of Goods
+ Warenort
+
+
+ false
+ String1..35
+
+ MIC_ALL_EAVPOS
+ EAPLOCATIONOFGOODS
+ MIC_EINPOS
+ EFPLOCATIONOFGOODS
+
+
+
+
+
+
+
+
+
+
+
+
+ Contingent Number
+ Kontingentnummer
+
+
+ false
+ String1..8
+
+ MIC_ALL_EAVPOS
+ EAPKONTGT
+ MIC_EINPOS
+ EFPKONTGT
+
+
+
+
+
+
+
+
+
+
+
+
+ Contingent Key
+ Schlüssel des Kontingents
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPEFAKKA2
+ MIC_EINBPARA
+ EFAKKA2
+
+
+
+
+
+
+
+
+
+
+
+
+ Contingent Quantity
+ Begünstigungsmenge
+
+
+ false
+ Decimal(38,0)
+
+ MIC_ALL_EAVPOS
+ EAPEFABEGMENGE
+ MIC_EINBPARA
+ EFABEGMENGE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Contingent Quantity UoM
+ Mengeneinheit der Begünstigungsmenge
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVPOS
+ EAPEFABEGMEH
+ MIC_EINBPARA
+ EFABEGMEH
+
+
+
+
+
+
+
+
+
+
+
+
+ Contingent Quantity Qualifier
+ Qualifikator der Begünstigungsmenge
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPEFABEGMEHQ
+ MIC_EINBPARA
+ EFABEGMEHQ
+
+
+
+
+
+
+
+
+
+
+
+
+ Import Customs Procedure
+ Zollverfahren
+
+
+ false
+ String1..6
+
+ MIC_ALL_EAVPOS
+ EAPEVCASE
+ MIC_EINPOS
+ EFPEVCASE
+
+
+
+
+
+
+
+
+
+
+
+
+ The statistical code of the customs procedure.
+ Einfuhr Verfahrenscode
+
+
+ false
+ String1..6
+
+ MIC_ALL_EAVPOS
+ EAPEVKZ
+ MIC_EINPOS
+ EFPEVKZ
+
+
+
+
+
+
+
+
+
+
+
+
+ Special Use
+ Besondere Verwendung
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPBESVERWKZ
+ MIC_EINPOS
+ EFPBESVERWKZ
+
+
+
+
+
+
+
+
+
+
+
+
+ Nature of Transaction
+ Geschäftsart
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVPOS
+ EAPGSART
+ MIC_EINPOS
+ EFPGSART
+
+
+
+
+
+
+
+
+
+
+
+
+ Additonal Code 1, Additonal Code 2, Additonal Code 3
+ Zusatzcode 1, Zusatzcode 2, Zusatzcode 3
+
+
+ false
+ String1..4
+ 0-3
+ MIC_ALL_EAVPOS
+ EAPZUSCD1, EAPZUSCD2, EAPZUSCD3
+ MIC_EINPOS
+ EFPZUSCD1, EFPZUSCD2, EFPZUSCD3
+
+
+
+
+
+
+
+
+
+
+
+
+ PAC/The preference request code that indicates if a preferential duty rate should be applied.
+ Beantragte Begünstigung
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPPAC
+ MIC_EINPOS
+ EFPPAC
+
+
+
+
+
+
+
+
+
+
+
+
+ Documents
+ Unterlagen
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Invoice line previous documents
+ Positionsvorpapiere
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Bill of material
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Stock Type 1/The stock type for duty regimes with additions to the inventory.
+ Bestandsart 1
+
+
+ false
+ String1..20
+
+ MIC_ALL_EAVPOS
+ EAPBESTART1
+ MIC_EINPOS
+ EFPBESTART1
+
+
+
+
+
+
+
+
+
+
+
+
+ Stock Type 2/The stock type for duty regimes with additions to the inventory.
+ Bestandsart 2
+
+
+ false
+ String1..20
+
+ MIC_ALL_EAVPOS
+ EAPBESTART2
+ MIC_EINPOS
+ EFPBESTART2
+
+
+
+
+
+
+
+
+
+
+
+
+ Expiry date/date on which the stock expires
+ Ablaufdatum
+
+
+ false
+ Date
+
+ MIC_ALL_EAVPOS
+ EAPSTOCKEXPDAT
+ MIC_EINPOS
+ EFPSTOCKEXPDAT
+
+
+
+
+
+
+
+ Package
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Account/The account number for the transaction.
+ Konto
+
+
+ false
+ String1..50
+
+ MIC_ALL_EAVPOS
+ EAPKONTO
+ MIC_EINPOS
+ EFPKONTO
+
+
+
+
+
+
+
+
+
+
+
+
+ Del. Note Number
+ Lieferscheinnr.
+
+
+ false
+ String1..15
+
+ MIC_ALL_EAVPOS
+ EAPLSNR
+ MIC_EINPOS
+ EFPLSNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Order Note Number
+ Bestellschein.
+
+
+ false
+ String1..22
+
+ MIC_ALL_EAVPOS
+ EAPBSNR
+ MIC_EINPOS
+ EFPBSNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Receipt
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ASN Number/Advanced shipping notice Number(ASN).
+ Lieferantragsnummer.
+
+
+ false
+ String1..30
+
+ MIC_ALL_EAVPOS
+ EAPLANR
+ MIC_EINPOS
+ EFPLANR
+
+
+
+
+
+
+
+
+
+
+
+
+ Reference Value/The reference value. This can be used to store the invoice line value in original currency.
+ Referenzwert.
+
+
+ false
+ Decimal(18,6)
+
+ MIC_ALL_EAVPOS
+ EAPREFWERT
+ MIC_EINPOS
+ EFPREFWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Reference Currency
+ Referenzwährung.
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPREFWAE
+ MIC_EINPOS
+ EFPREFWAE
+
+
+
+
+
+
+
+
+
+
+
+
+ Remarks
+ Zusätzliche Angaben.
+
+
+ false
+ String1..80
+
+ MIC_ALL_EAVPOS
+ EAPINFO
+ MIC_EINPOS
+ EFPINFO
+
+
+
+
+
+
+
+
+
+
+
+
+ Remarks
+ Zusätzliche Angaben.
+
+
+ false
+ String1..80
+
+ MIC_ALL_EAVPOS
+ EAPINFO2
+ MIC_EINPOS
+ EFPINFO
+
+
+
+
+
+
+
+
+
+
+
+
+ Registration numbers
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Customer specific fields
+ Kundenspezifische Felder
+
+
+ false
+
+
+ MIC_ALL_EAVPOS
+ EAP___
+ MIC_EINPOS
+ EFP___
+
+
+
+
+
+
+
+ Invoice line attributes
+ Positionsattribute
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Invoice line containers
+ Positionscontainer
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Invoice line business partner
+ Positionsgeschäftspartner
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Calculated values - calculated by external system
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Custom relevant values in MIC
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duties - calculated by external system
+
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+ Duties - calculated by MIC and customs FT (MIC_EINABG) AV (MIC_EAVABG)
+
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+ Duties - calculated by MIC and customs FT (MIC_EINABG) AV (MIC_EAVABG)
+
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SID
+ Nachrichten-SID
+
+
+ false
+ Decimal(10)
+
+ MIC_ALL_EAVPOS
+ EAPSID
+ MIC_EINPOS
+ EFPSID
+
+
+
+
+
+
+
+
+
+
+
+
+ External processing
+ Externe Verarbeitung
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPEXTERNALPROCESSING
+ MIC_EINPOS
+ EFPEXTERNALPROCESSING
+
+
+
+
+
+
+
+
+
+
+
+
+ Invoice line additional information
+ Zusätzliche Information auf Positionsebene
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Intrastat information on line level
+ Intrastatdaten auf Positionsebene
+
+
+
+
+
+
+ Pre-Supplier
+ Vorveredler
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_ALL_EAVPOS
+ EAPCREUSER
+ MIC_EINPOS
+ EFPCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_ALL_EAVPOS
+ EAPCREDAT
+ MIC_EINPOS
+ EFPCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+ MIC_ALL_EAVPOS
+ EAPUSE
+ MIC_EINPOS
+ EFPUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_ALL_EAVPOS
+ EAPUSEDAT
+ MIC_EINPOS
+ EFPUSEDAT
+
+
+
+
+
+
+
+ Valuation Indicators
+ Bewertungskennzeichen
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVPOS
+ EAPVALUATIONINDICATOR
+ MIC_EINPOS
+ EFPVALUATIONINDICATOR
+
+
+
+
+
+
+
+
+
+
+ Invoice line previous document references
+ Positionsbeendigungsanteile Vorpapiere
+
+
+
+
+
+
+ Invoice line packages
+ Positionspackstücke
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+
+ Fields for pre-supplier.
+
+
+
+
+
+ INF Duty Value
+ INF Zollwert
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPINFZOBAS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INF Duty Rate
+ INF Zollsatz
+
+
+ false
+ Decimal(6,3)
+
+ MIC_ALL_EAVPOS
+ EAPINFZOBET1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INF Duty
+ INF Abgabe
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPINFZO
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INF Duty Currency
+ INF Abgabenwährung
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPINFZOW
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Customs Value
+ Externer Zollwert
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPCUSTOMSVALUE_EXT
+ MIC_EINPOS
+ EFPCUSTOMSVALUE_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Net Value
+ Externer Nettowert
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPNETVALUE_EXT
+ MIC_EINPOS
+ EFPNETVALUE_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Net Value
+ Externer Nettowert
+
+
+ false
+ Decimal(16,4)
+
+ MIC_EINPOS
+ EFPCALCSTATWERT
+ MIC_EINPOS
+ EFPCALCSTATWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Freight Statistical Value
+ Externer statistischer Wert für Fracht
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPFREIGHTSTATVAL_EXT
+ MIC_EINPOS
+ EFPFREIGHTSTATVAL_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Freight International
+ Externe internationale Fracht
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPFREIGHTINTERNATIONAL_EXT
+ MIC_EINPOS
+ EFPFREIGHTINTERNATIONAL_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Freight Community
+ Externe Fracht Gemeinschaft
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPFREIGHTEU_EXT
+ MIC_EINPOS
+ EFPFREIGHTEU_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Freight National
+ Externe nationale Fracht
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPFREIGHTNATIONAL_EXT
+ MIC_EINPOS
+ EFPFREIGHTNATIONAL_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Insurance
+ Externe Versicherung
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPINSURANCE_EXT
+ MIC_EINPOS
+ EFPINSURANCE_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Insurance
+ Externe Versicherung
+
+
+ false
+ Decimal(16,4)
+ 0-2
+ MIC_ALL_EAVPOS
+ EAPSHIPADDCOSTS1/2_EXT
+ MIC_EINPOS
+ EFPSHIPADDCOSTS1/2_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Insurance
+ Externe Versicherung
+
+
+ false
+ Decimal(16,4)
+ 0-2
+ MIC_ALL_EAVPOS
+ EAPINVADDCOSTS1/2_EXT
+ MIC_EINPOS
+ EFPINVADDCOSTS1/2_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Insurance
+ Externe Versicherung
+
+
+ false
+ Decimal(16,4)
+ 0-8
+ MIC_ALL_EAVPOS
+ EAPLINEADDCOSTS1/8_EXT
+ MIC_EINPOS
+ EFPLINEADDCOSTS1/8_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Cust Value
+ Externer Cust Value
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPCUSTVALUE_EXT
+ MIC_EINPOS
+ EFPCUSTVALUE_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External Assist Value
+ Externer Beistellwert
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPASSISTVALUE_EXT
+ MIC_EINPOS
+ EFPASSISTVALUE_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ External VAT Additional Costs
+ Externe UST Nebenkosten
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPVATADDCOSTS_EXT
+ MIC_EINPOS
+ EFPVATADDCOSTS_EXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Customs value
+ Externe UST Nebenkosten
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPGRWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Net Value
+ Externe UST Nebenkosten
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPWERTNTO
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional statistical value
+ Zuschlag stat. Wert
+
+
+ false
+ Decimal(17,4)
+
+
+
+ MIC_EINPOS
+ EFPADDITIONALSTATISTICALVALUE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additoinal cost VAT
+ Zuschlag EUSt.
+
+
+ false
+ Decimal(17,4)
+
+
+
+ MIC_EINPOS
+ EFPZUEUST
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Customs value added
+ Grenzwert Zu/Ab
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPGRWERTZUAB1
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OPR ingredients value
+ Beistellwert
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBEISTELL
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 1
+ Fracht f. Grenzw.
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB1
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 2
+ Versicherung
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 3
+ Sdg. Nebenk. 1
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB3
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 4
+ Sdg. Nebenk. 2
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB4
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 5
+ Fakt. Nebenk. 1
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB5
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 6
+ Fakt. Nebenk. 2
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB6
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 7
+ Pos. Nebenk. 1
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB7
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 8
+ Pos. Nebenk. 2
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB8
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 9
+ Pos. Nebenk. 3
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB9
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 10
+ Pos. Nebenk. 4
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB10
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 11
+ Pos. Nebenk. 5
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB11
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 12
+ Pos. Nebenk. 6
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB12
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 13
+ Pos. Nebenk. 7
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB13
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 14
+ Pos. Nebenk. 8
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB14
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 15
+ Pos. Nebenk. 9
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB15
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 16
+ Pos. Nebenk. 10
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB16
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 17
+ Pos. Nebenk. 11
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB17
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 18
+ Pos. Nebenk. 12
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB18
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 19
+ Pos. Nebenk. 13
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB19
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs 20
+ Pos. Nebenk. 14
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINPOS
+ EFPBZUAB20
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional parameters (generic)
+
+
+
+
+ Key
+
+
+
+
+ Value
+
+
+
+
+
+
+ This element allows to send attached documents. The format allows to send multiple files in one message
+
+
+
+
+ This entity allows to send attachments, e.g. pdf, jpg, xml, or other binary formats
+
+
+
+ Attachment (eg. pdf, xml, EDIFACT)
+
+
+
+
+ description of attachment
+
+
+
+
+ Attached file in base64 binary encoding
+
+
+
+
+ Additional parameters as key-value pairs
+
+
+
+
+
+
+
+
+
+ Description of attachement eg. Name of file, creation date/time etc.
+
+
+
+
+ Mime type of attached document
+
+
+
+
+
+
+
+
+
+ Creation timestamp of the attached document
+
+
+
+
+ Creation user of the attached document
+
+
+
+
+
+
+
+
+
+
+
+ Mode of transportation information
+
+
+
+
+
+ Mode of transportation
+ Art des Verkehrszweigs
+ String1..2
+
+
+
+
+
+
+
+
+
+
+
+
+ Means of transport
+ Art des aktiven Beförderungsmittels
+ String1..2
+
+
+
+
+
+
+
+
+
+
+
+ Means of transportation country
+ Staatszugehörigkeit des Beförderungsmittels
+ String1..3
+
+
+
+
+
+
+
+
+
+
+
+ Means of transportation vehicle
+ Kennzeichen des Beförderungsmittels
+ String1..30
+
+
+
+
+
+
+
+
+
+
+
+ Means of transportation description
+ Beschreibung des Beförderungsmittels
+ String1..17
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tariff Number
+ Tarifnummer
+
+
+ true
+ String1..13
+
+ MIC_ALL_EAVPOS
+ EAPTARNR
+ MIC_EINPOS
+ EFPTARNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ VAT code
+ Einfuhrumsatzsteuercode
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVPOS
+ EAPEUSTCD
+ MIC_EINPOS
+ EFPEUSTCD
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Excise tax code
+ Verbrauchssteuercode
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVPOS
+ EAPVSTCD
+ MIC_EINPOS
+ EFPVSTCD
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ License on import invoice line.
+
+
+
+
+
+ License type.
+ Typ der Menge / Wert
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPEGART
+ MIC_EINPOS
+ EFPEGART
+
+
+
+
+
+
+
+
+
+
+
+
+
+ License code.
+ Einfuhrrechtliches Papier
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVPOS
+ EAPEGEAW
+ MIC_EINPOS
+ EFPEGEAW
+
+
+
+
+
+
+
+
+
+
+
+
+
+ License number.
+ Nummer
+
+
+ false
+ String1..16
+
+ MIC_ALL_EAVPOS
+ EAPEGNR
+ MIC_EINPOS
+ EFPEGNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ License date.
+ Datum
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVPOS
+ EAPEGDAT
+ MIC_EINPOS
+ EFPEGDAT
+
+
+
+
+
+
+
+ License not required flag. If used the other fields are not needed.
+ Einfuhrerl. nicht benötigt
+
+
+ false
+ Boolean
+
+ MIC_ALL_EAVPOS
+ EAPNOEGKZ
+ MIC_EINPOS
+ EFPNOEGKZ
+
+
+
+
+
+
+
+
+
+ Pricing information to document how the invoice line was priced
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The pricing type
+ Preistyp
+
+
+ false
+ String1..10
+
+ MIC_ALL_EAVPOS
+ EAPPREISTYP
+ MIC_EINPOS
+ EFPPREISTYP
+
+
+
+
+
+
+
+
+
+
+
+
+ The pricing reference, e.g. the contract number.
+ Preisreferenz
+
+
+ false
+ String1..20
+
+ MIC_ALL_EAVPOS
+ EAPPREISREFNO
+ MIC_EINPOS
+ EFPPREISREFNO
+
+
+
+
+
+
+
+
+
+
+
+
+ The pricing date.
+ Preidatum
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVPOS
+ EAPPREISDAT
+ MIC_EINPOS
+ EFPPREISDAT
+
+
+
+
+
+
+
+ The pricing system, e.g. SAP.
+ Preissystem
+
+
+ false
+ String1..10
+
+ MIC_ALL_EAVPOS
+ EAPPREISSYS
+ MIC_EINPOS
+ EFPPREISSYS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight costs can be added on shipment or invoice level when freight is not included in invoice value. They are pro-rated to the invoice lines as indicated.
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight cost amount.
+ Frachtkosten
+
+
+ true
+ Decimal(17,4)
+
+ MIC_EAVSDG
+ EASFRAWRT
+ MIC_EINSDG
+ EFSFRAWRT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Freight Costs
+ Währung Frachtkosten
+
+
+ true
+ String1..3
+
+ MIC_EAVSDG
+ EASFRAWAE
+ MIC_EINSDG
+ EFSFRAWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight International/(Percentage OR Value) of international freight costs of total freight costs.
+ Frachtkosten International
+
+
+ false
+ Decimal(5,2)
+
+ MIC_EAVSDG
+ EASNONEU
+ MIC_EINSDG
+ EFSNONEU
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight Community/(Percentage OR Value) of freight cost from EU-border to national border of total freight costs.
+ Frachtkosten EU
+
+
+ false
+ Decimal(5,2)
+
+ MIC_EAVSDG
+ EASEUNAT
+ MIC_EINSDG
+ EFSEUNAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight National/(Percentage OR Value) of inland freight of total freight costs.
+ Frachtkosten National
+
+
+ false
+ Decimal(5,2)
+
+ MIC_EAVSDG
+ EASNAT
+ MIC_EINSDG
+ EFSNAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculation Type of Freight Costs/Indicator for how the additional costs are pro-rated to the invoice lines. V=value based, Q=quantity based.
+ Berechnungsart der Frachtkosten
+
+
+ false
+ String1..1
+
+ MIC_EAVSDG
+ EASFRAKZ
+ MIC_EINSDG
+ EFSFRAKZ
+
+
+
+
+
+
+
+
+
+
+
+
+ Absolute international freight cost amount
+ Frachtwert
+
+
+ true
+ Decimal(17,4)
+
+ MIC_EAVSDG
+ EASABSNONEUFREIGHT
+ MIC_EINSDG
+ EFSFRAWRTNONEUABS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Freight Costs
+ Währung Frachtkosten
+
+
+ true
+ String1..3
+
+ MIC_EAVSDG
+ EASABSNONEUFREIGHTCURRENCY
+ MIC_EINSDG
+ EFSFRAWAENONEUABS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Absolute community freight cost amount
+ Frachtwert
+
+
+ true
+ Decimal(17,4)
+
+ MIC_EAVSDG
+ EASABSEUFREIGHT
+ MIC_EINSDG
+ EFSFRAWRTNEUABS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Freight Costs
+ Währung Frachtkosten
+
+
+ true
+ String1..3
+
+ MIC_EAVSDG
+ EASABSEUFREIGHTCURRENCY
+ MIC_EINSDG
+ EFSFRAWAENEUABS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Absolute national freight cost amount
+ Frachtwert
+
+
+ true
+ Decimal(17,4)
+
+ MIC_EAVSDG
+ EASABSNATFREIGHT
+ MIC_EINSDG
+ EFSFRAWRTNATABS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Freight Costs
+ Währung Frachtkosten
+
+
+ true
+ String1..3
+
+ MIC_EAVSDG
+ EASABSNATFREIGHTCURRENCY
+ MIC_EINSDG
+ EFSFRAWAENATABS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight costs can be added on shipment or invoice level when freight is not included in invoice value. They are pro-rated to the invoice lines as indicated.
+
+
+
+
+
+ Freight Costs
+ Frachtkosten
+
+
+ true
+ Decimal(16,4)
+
+ MIC_ALL_EAVKOP
+ EAKFRAWRT
+ MIC_EINKOP
+ EFKFRAWRT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Freight Costs
+ Währung Frachtkosten
+
+
+ true
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKFRAWAE
+ MIC_EINKOP
+ EFKFRAWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight International/(Percentage OR Value) of international freight costs of total freight costs.
+ Frachtkosten International
+
+
+ false
+ Decimal(5,2)
+
+ MIC_ALL_EAVKOP
+ EAKFRANONEU
+ MIC_EINKOP
+ EFKFRANONEU
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight Community/(Percentage OR Value) of freight cost from EU-border to national border of total freight costs.
+ Frachtkosten EU
+
+
+ false
+ Decimal(5,2)
+
+ MIC_ALL_EAVKOP
+ EAKFRAEUNAT
+ MIC_EINKOP
+ EFKFRAEUNAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight National/(Percentage OR Value) of inland freight of total freight costs.
+ Frachtkosten National
+
+
+ false
+ Decimal(5,2)
+
+ MIC_ALL_EAVKOP
+ EAKNAT
+ MIC_EINKOP
+ EFKNAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculation Type of Freight Costs/Indicator for how the additional costs are pro-rated to the invoice lines. V=value based, Q=quantity based.
+ Berechnungsart der Frachtkosten
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVKOP
+ EAKFRAKZ
+ MIC_EINKOP
+ EFKFRAKZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight costs can be added on shipment or invoice level when freight is not included in invoice value. They are pro-rated to the invoice lines as indicated.
+
+
+
+
+
+ Freight Costs
+ Frachtkosten
+
+
+ true
+ Decimal(17,4)
+
+ MIC_ALL_EAVPOS
+ EAPFAMOUNT
+ MIC_EINPOS
+ EFPFAMOUNT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Freight Costs
+ Währung Frachtkosten
+
+
+ true
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPFWAE
+ MIC_EINPOS
+ EFPFWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight International/(Percentage OR Value) of international freight costs of total freight costs.
+ Frachtkosten International
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPFNONEU
+ MIC_EINPOS
+ EFPFNONEU
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight Community/(Percentage OR Value) of freight cost from EU-border to national border of total freight costs.
+ Frachtkosten EU
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPFEU
+ MIC_EINPOS
+ EFPFEU
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Freight National/(Percentage OR Value) of inland freight of total freight costs.
+ Frachtkosten National
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPFNAT
+ MIC_EINPOS
+ EFPFNAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Attribut from FreightCosts, P Percentage OR V Value, decides in which form the Freightcosts would be split.
+
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPFFLAG
+ MIC_EINPOS
+ FIX VALUE "V"
+
+
+
+
+
+
+
+
+
+
+
+
+ Intra specific fields.
+
+
+
+
+
+ Vendor VAT ID
+ Umsatzsteuernummer des Lieferanten
+
+
+ false
+ String1..20
+
+ EAVKOP
+ EAKVATNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Statistical procedure
+ Statistisches Verfahren
+
+
+ false
+ String1..5
+
+ EAVKOP
+ EAKCCTR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Internal reference
+ Interne Referenz
+
+
+ false
+ String1..30
+
+ EAVKOP
+ EAKREFI
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Intra specific fields.
+
+
+
+
+
+ Status
+ Status
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPSTATUS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Invoice date
+ Rechnungsdatum
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVPOS
+ EAPDATUM
+
+
+
+
+
+
+
+
+
+ Period
+ Periode
+
+
+ false
+ Long 6
+
+ MIC_ALL_EAVPOS
+ EAPPERIODE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Region
+ Region
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVPOS
+ EAPREGION
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Statistical procedure
+ Statistisches Verfahren
+
+
+ false
+ String1..5
+
+ MIC_ALL_EAVPOS
+ EAPCCTR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Statistical value
+ Statistischer Wert
+
+
+ false
+ Decimal(16,4)
+
+ MIC_ALL_EAVPOS
+ EAPGRWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs currency 1
+ Nebenkostenwährung 1
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPPBK1WAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs type 1
+ Nebenkostenart 1
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPPBK1TYP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs currency 2
+ Nebenkostenwährung 2
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPPBK2WAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs type 2
+ Nebenkostenart 2
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPPBK2TYP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Insurance costs can be added on shipment or invoice level when insurance is not included in invoice value. They are pro-rated to the invoice lines as indicated.
+
+
+
+
+
+ Insurance Costs
+ Versicherungskosten
+
+
+ true
+ Decimal(19,6)
+
+ MIC_EAVSDG
+ EASVERSWRT
+ MIC_EINSDG
+ EFSVERSWRT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Insurance
+ Währung Versicherungskosten
+
+
+ true
+ String1..3
+
+ MIC_EAVSDG
+ EASVERSWAE
+ MIC_EINSDG
+ EFSVERSWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculation Type of Insurance
+ Berechnungsart der Versicherung
+
+
+ false
+ String1..1
+
+ MIC_EAVSDG
+ EASVERSKZ
+ MIC_EINSDG
+ EFSVERSKZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Insurance costs can be added on shipment or invoice level when insurance is not included in invoice value. They are pro-rated to the invoice lines as indicated.
+
+
+
+
+
+ Insurance Costs
+ Versicherungskosten
+
+
+ true
+ Decimal(19,6)
+
+ MIC_ALL_EAVKOP
+ EAKVERSWRT
+ MIC_EINKOP
+ EFKVERSWRT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Insurance
+ Währung Versicherungskosten
+
+
+ true
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKVERSWAE
+ MIC_EINKOP
+ EFKVERSWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculation Type of Insurance
+ Berechnungsart der Versicherung
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVKOP
+ EAKVERSKZ
+ MIC_EINKOP
+ EFKVERSKZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Insurance costs can be added on shipment or invoice level when insurance is not included in invoice value. They are pro-rated to the invoice lines as indicated.
+
+
+
+
+
+ Insurance Costs
+ Versicherungskosten
+
+
+ true
+ Decimal(17,4)
+
+ MIC_ALL_EAVPOS
+ EAPVERSWERT
+ MIC_EINPOS
+ EFPVERSWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Insurance
+ Währung Versicherungskosten
+
+
+ true
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPVERSWAE
+ MIC_EINPOS
+ EFPVERSWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Rebates can be added on invoice level . They are pro-rated to the invoice lines as indicated.
+
+
+
+
+
+ Discount
+ Rabatt
+
+
+ true
+ Decimal(17,4)
+
+ MIC_ALL_EAVKOP
+ EAKRABATTWERT
+ MIC_EINKOP
+ EFKRABATTWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Discount/ISO currency code
+ Währung Rabatt
+
+
+ true
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKRABATTWAE
+ MIC_EINKOP
+ EFKRABATTWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculation Type of Discount/Indicator for how the rebate is pro-rated to the invoice lines. V=value based, Q=quantity based.
+ Berechnungsart Rabatt
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVKOP
+ EAKRABATTKZ
+ MIC_EINKOP
+ EFKRABATTKZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Rebates can be added on invoice level . They are pro-rated to the invoice lines as indicated.
+
+
+
+
+
+ Discount
+ Rabatt
+
+
+ true
+ Decimal(17,4)
+
+ MIC_ALL_EAVPOS
+ EAPRABATTWERT
+ MIC_EINPOS
+ EFPRABATTWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Discount
+ Währung Rabatt
+
+
+ true
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPRABATTWAE
+ MIC_EINPOS
+ EFPRABATTWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Addition IVAT/AdditionalCostsVAT can be added on invoice level
+ Zuschlag EUSt.
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+ Manual Addition IVAT
+ Manueller Zuschlag EUSt.
+
+
+ true
+ Decimal(17,4)
+
+ MIC_ALL_EAVPOS
+ EAPMANZUEUST
+ MIC_EINPOS
+ EFPMANZUEUST
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Manual Addition IVAT
+ Währung Manueller Zuschlag EUSt.
+
+
+ true
+ String1..3
+
+ MIC_ALL_EAVPOS
+ EAPMANZUEUSTWAE
+ MIC_EINPOS
+ EFPMANZUEUSTWAE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs can be added on all levels as additional part value components. They are pro-rated to the invoice lines as indicated.
+
+
+
+ false
+
+ 0-2
+
+
+
+
+
+
+
+
+
+
+
+ Add. Costs Type 1, Add. Costs Type 2/Additional cost type. The type is a description like ASSIST, REBATE, etc.
+ Art der Nebenkosten1, Art der Nebenkosten 2
+
+
+ true
+ String1..10
+
+
+ ___ABART1, ___ABART2
+
+ ___ABART1, ___ABART2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Value Additional Costs 1, Value Additional Costs 2/Additional cost amount. (negative amounts are possible for deductions).
+ Wert der Nebenkosten 1, Wert der Nebenkosten 2
+
+
+ true
+ Decimal(17,4)
+
+
+ ___ABWRT1, ___ABWRT2
+
+ ___ABWRT1, ___ABWRT2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Additional Costs 1,Currency Additional Costs 1/Iso currency code.
+ Währung Nebenkosten 1, Währung Nebenkosten 2
+
+
+ true
+ String1..3
+
+
+ ___ABWAE1, ___ABWAE2
+
+ ___ABWAE1, ___ABWAE2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculation Type of Insurance/Indicator for how the additional costs are pro-rated to the invoice lines. V=value based, Q=quantity based.
+ Berechnungsart der Versicherung
+
+
+ false
+ String1..1
+
+
+ ___VERSKZ
+
+ ___VERSKZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional attributes can be used to add customer specific fields to the module as customization.
+
+
+
+
+
+ Attribute
+ Attribut
+
+
+
+
+
+
+
+
+ Attribute
+ Attribut
+
+
+
+
+
+
+ Attribute type
+ Adresstyp
+
+
+ true
+ String1..20
+
+ MIC_AVATTRIBUTE
+ AVATYP
+ MIC_ATTRIBUTE
+ ATRTYP
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Attribute text
+ Text
+
+
+ true
+ String1..2000
+
+ MIC_AVATTRIBUTE
+ AVATEXT
+ MIC_ATTRIBUTE
+ ATRTEXT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_AVATTRIBUTE
+ AVACREUSER
+ MIC_ATTRIBUTE
+ ATRCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_AVATTRIBUTE
+ AVACREDAT
+ MIC_ATTRIBUTE
+ ATRCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+ MIC_AVATTRIBUTE
+ AVAUSER
+ MIC_ATTRIBUTE
+ ATRUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_AVATTRIBUTE
+ AVAUSEDAT
+ MIC_ATTRIBUTE
+ ATRUSEDAT
+
+
+
+
+
+
+
+
+ Business partner information
+
+
+
+
+
+ Business partner
+ Geschaeftspartner
+
+
+ true
+
+
+
+
+ MIC_CUST_PARTNER
+
+
+
+
+
+
+
+
+
+ Partner as address number, type and optional address details
+
+
+
+
+
+ Address type
+ Adresstyp
+
+
+ true
+ String1..2
+
+ MIC_CUST_AVPARTNER
+ AVPTYP
+ MIC_CUST_PARTNER
+ PARTYP
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Address details
+ Adressdetails
+
+
+ true
+
+
+ MIC_CUST_AVPARTNER
+ addrNo:AVPNR, addrNoType:AVPNRTYP, addrName:AVPNAME1,AVPNAME2, addrStreet:AVPSTR1, addrLoc:AVPORT, addrCtry:AVPLD, addrState:AVPREGION, addrZip:AVPPLZ, addrTin:AVPTIN, addrEori:AVPEORI, partnerRelation:AVPKVB, addrDistrict:AVPORTSTEIL, addrBranchNo:AVPBRANCHNO, email:AVPSACHMAIL, addrVatNumber:AVPVATNUMBER
+ MIC_CUST_PARTNER
+ addrNo:PARNR, addrNoType:PARNRTYP, addrName:PARNAME1,PARNAME2, addrStreet:PARSTR1, addrLoc:PARORT, addrCtry:PARLD, addrState:PARREGION, addrZip:PARPLZ, addrTin:PARTIN, addrEori:PAREORI, partnerRelation:PARKVB, addrDistrict:PARORTSTEIL, addrBranchNo:PARBRANCHNO, email:PARSACHMAIL, addrVatNumber:PARVATNUMBER
+
+
+
+
+
+
+
+ Related party indicator
+ Verbundenheit
+
+
+ false
+ String1..1
+
+ MIC_CUST_AVPARTNER
+ AVPKVB
+ MIC_CUST_PARTNER
+ PARKVB
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional information
+ Zusätzliche Angaben
+
+
+ false
+ String1..50
+
+ MIC_CUST_AVPARTNER
+ AVPINFO
+ MIC_CUST_PARTNER
+ PARINFO
+
+
+
+
+
+
+
+
+
+
+
+
+ Contact Phone Number
+ Kontakt Telefonnummer
+
+
+ false
+ String1..40
+
+ MIC_CUST_AVPARTNER
+ AVPTELNR
+ MIC_CUST_PARTNER
+ PARTELNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_CUST_AVPARTNER
+ AVPCREUSER
+ MIC_CUST_PARTNER
+ PARCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_AVPARTNER
+ AVPCREDAT
+ MIC_CUST_PARTNER
+ PARCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+ MIC_CUST_AVPARTNER
+ AVPUSEDAT
+ MIC_CUST_PARTNER
+ PARUSEDAT
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_AVPARTNER
+ AVPUSER
+ MIC_CUST_PARTNER
+ PARUSER
+
+
+
+
+
+
+
+
+ Container
+
+
+
+
+
+ This is not mapped for shipment. Container/Indicator whether this is a containerized shipment. 1=yes, 0=no.
+ Container
+
+
+ false
+ String1..1
+
+
+ ___CON
+
+ ___CON
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of Containers
+ Containernummern
+
+
+ false
+ String1..20
+
+
+ ___CONTNO
+
+ ___CONTNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Container type
+ Containertyp
+
+
+ false
+ String1..10
+
+
+ ___CONTTYP
+
+ ___REFTYP
+
+
+
+
+
+
+
+
+
+
+
+
+ This is not mapped for shipment. Container/Indicator whether this is a containerized shipment. 1=yes, 0=no.
+ Container
+
+
+ false
+ String1..1
+
+
+ ___CONTLCL
+
+ ___CONTLCL
+
+
+
+
+
+
+
+
+
+
+
+
+
+ List of Detail container infos
+
+
+
+
+
+ Container information
+ Containerdaten
+
+
+ true
+
+
+
+
+ MIC_CUST_CONT
+
+
+
+
+
+
+
+
+
+ Detail container info
+
+
+
+
+
+ Number of Containers
+ Containernummern
+
+
+ true
+ String1..17
+
+ MIC_CUST_AVCONT
+ COACONTNR
+ MIC_CUST_CONT
+ CONCONTNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of seal container
+ Siegelnummer
+
+
+ true
+ String1..20
+
+ MIC_CUST_AVCONT
+ COASEALNR
+ MIC_CUST_CONT
+ CONSEALNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Container packages
+ Anzahl Packstücke im Container
+
+
+ false
+ Decimal(6)
+
+ not mapped
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Container gross weight
+ Bruttogewicht ds Containers
+
+
+ false
+ Decimal(14,6)
+
+ not mapped
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Container net weight
+ Nettogewicht des Containers
+
+
+ false
+ Decimal(14,6)
+
+ not mapped
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_CUST_AVCONT
+ COACREUSER
+ MIC_CUST_CONT
+ CONCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_AVCONT
+ COACREDAT
+ MIC_CUST_CONT
+ CONCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+ MIC_CUST_AVCONT
+ COAUSER
+ MIC_CUST_CONT
+ CONUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_AVCONT
+ COAUSEDAT
+ MIC_CUST_CONT
+ CONUSEDAT
+
+
+
+
+
+
+
+
+ Address
+
+
+
+
+
+ Address number
+ Adressnummer
+ String1..15
+
+
+
+
+
+
+
+
+
+
+
+
+ Address number type
+ Adressnummerntyp
+ String1..10
+
+
+
+
+
+
+
+
+
+
+
+ Address name
+ Name
+ String1..40
+
+
+
+
+
+
+
+
+
+ Address street
+ Straße
+ String1..80
+
+
+
+
+
+
+
+
+
+ Address location
+ Ort
+ String1..80
+
+
+
+
+
+
+
+
+
+ Address country
+ Land
+ String1..3
+
+
+
+
+
+
+
+
+
+ Address state
+ Region
+ String1..10
+
+
+
+
+
+
+
+
+
+ Address zip code
+ Postleitzahl
+ String1..10
+
+
+
+
+
+
+
+
+
+ Trader identification number (TIN)
+ Zollnummer (TIN)
+ String1..17
+
+
+
+
+
+
+
+
+
+ Economic operator's registration and identification number (EORI)
+ Identifizierung des Wirtschaftsbeteiligten (EORI)
+ String1..17
+
+
+
+
+
+
+
+
+
+
+
+ Related party indicator
+ Verbundenheit
+ String1..1
+
+
+
+
+
+
+
+
+
+
+
+ Address district
+ Ortsteil
+ String1..35
+
+
+
+
+
+
+
+
+
+
+
+ Branch number
+ Niederlassungsnummer
+ String1..4
+
+
+
+
+
+
+
+
+
+
+
+ E-Mail
+ E-Mail
+ String1..256
+
+
+
+
+
+
+
+
+
+
+
+ VAT registration number
+ Umsatzsteuernummer
+ String1..20
+
+
+
+
+
+
+
+
+
+
+
+
+ Address number
+
+
+
+
+
+
+
+ Address name
+
+
+
+
+
+
+
+ Address street
+
+
+
+
+
+
+
+ Address postal code
+
+
+
+
+
+
+
+ Address location
+
+
+
+
+
+
+
+ Address country
+
+
+
+
+
+
+
+
+ Address state
+
+
+
+
+
+
+
+ Address TIN
+
+
+
+
+
+
+
+ Address national tin flag
+
+
+
+
+
+
+
+
+ Documents
+
+
+
+ false
+ 1-n
+
+ MIC_EINSDGDOC
+
+
+
+
+
+
+
+
+
+
+ Document
+ Unterlage
+
+
+ true
+
+
+ MIC_EINSDGDOC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Document number
+ Unterlagennummer
+
+
+ true
+ String1..35
+
+ MIC_EINSDGDOC
+ ESDNR
+ MIC_EINSDGDOC
+ ESDNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Document date
+ Datum der Unterlage
+
+
+ true
+ xs:date
+
+ MIC_EINSDGDOC
+ ESDDAT
+ MIC_EINSDGDOC
+ ESDDAT
+
+
+
+
+
+
+
+ Type of identification
+ Art der Identifikation
+
+
+ true
+ String1..6
+
+ MIC_EINSDGDOC
+ ESDART
+ MIC_EINSDGDOC
+ ESDART
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Document qualification
+ Qualifikation
+
+
+ false
+ String1..3
+
+ MIC_EINSDGDOC
+ ESDQUAL
+ MIC_EINSDGDOC
+ ESDQUAL
+
+
+
+
+
+
+
+
+
+
+
+
+ Document vaid from date
+ Gültig von
+
+
+ false
+ xs:date
+
+ MIC_EINSDGDOC
+ ESDAVAILDAT
+ MIC_EINSDGDOC
+ ESDAVAILDAT
+
+
+
+
+
+
+
+ Document valid to date
+ Gültig bis
+
+
+ false
+ xs:date
+
+ MIC_EINSDGDOC
+ ESDENDDAT
+ MIC_EINSDGDOC
+ ESDENDDAT
+
+
+
+
+
+
+
+ Additional text of document
+ Zusatzinformation
+
+
+ false
+ String1..35
+
+ MIC_EINSDGDOC
+ ESDINFO
+ MIC_EINSDGDOC
+ ESDINFO
+
+
+
+
+
+
+
+
+
+
+
+
+ Quantity
+ Menge
+
+
+ false
+ Decimal(13,4)
+
+ MIC_EINSDGDOC
+ ESDMENGE
+ MIC_EINSDGDOC
+ ESDMENGE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Unit write-off quantity
+ Einheit der Abschreibungsmenge
+
+
+ false
+ String1..4
+
+ MIC_EINSDGDOC
+ ESDABMEH2
+ MIC_EINSDGDOC
+ ESDABMEH2
+
+
+
+
+
+
+
+
+
+
+
+
+ Value
+ Wert
+
+
+ false
+ Number(16,6)
+
+ MIC_EINSDGDOC
+ ESDWERT
+ MIC_EINSDGDOC
+ ESDWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Category
+ Bereich
+
+
+ false
+ String1..8
+
+ MIC_EINSDGDOC
+ ESDBEREICH
+ MIC_EINSDGDOC
+ ESDBEREICH
+
+
+
+
+
+
+
+
+
+
+
+
+ Write-off Quantity
+ Abschreibungsmenge
+
+
+ false
+ Decimal(16,7)
+
+ MIC_EINSDGDOC
+ ESDABMENGE
+ MIC_EINSDGDOC
+ ESDABMENGE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Issuer country
+ Ausstellerland
+
+
+ false
+ String1..3
+
+ MIC_EINSDGDOC
+ ESDAUSSTELLERLD
+ MIC_EINSDGDOC
+ ESDAUSSTELLERLD
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_EINSDGDOC
+ ESDCREUSER
+ MIC_EINSDGDOC
+ ESDCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_EINSDGDOC
+ ESDCREDAT
+ MIC_EINSDGDOC
+ ESDCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+ MIC_EINSDGDOC
+ ESDUSER
+ MIC_EINSDGDOC
+ ESDUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_EINSDGDOC
+ ESDUSEDAT
+ MIC_EINSDGDOC
+ ESDUSEDAT
+
+
+
+
+
+
+
+
+
+ Delivery terms
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Term of Delivery
+ Lieferbedingung
+
+
+ true
+ String1..4
+
+ MIC_ALL_EAVKOP
+ EAKELICODE
+ MIC_EINKOP
+ EFKELICODE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Place of the Terms of Delivery
+ Ort der Lieferbedingung
+
+
+ false
+ String1..35
+
+ MIC_ALL_EAVKOP
+ EAKELIBEZ
+ MIC_EINKOP
+ EFKELIBEZ
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculation of Freight Costs
+ Frachtkostenberechnung
+
+
+ false
+ String1..4
+
+ MIC_ALL_EAVKOP
+ EAKELIFORMULA
+ MIC_EINKOP
+ EFKELIFORMULA
+
+
+
+
+
+
+
+
+
+
+
+
+ The terms of delivery code 2
+ Lieferbedingung 2
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVKOP
+ EAKELICOD2
+ MIC_EINKOP
+ EFKELICOD2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Part Number
+ Artikelnummer
+
+
+ false
+ String1..30
+
+ EAVPOS
+ EAPARTNR
+ EINPOS
+ EFPARTNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Part Description
+ Warenbezeichnung
+
+
+ false
+ String1..240
+
+ EAVPOS
+ EAPARTBEZ
+ EINPOS
+ EFPARTBEZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Serial Number
+ Seriennummer
+
+
+ false
+ String1..30
+
+ EAVPOS
+ EAPSERNR
+ EINPOS
+ EFPSERNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Product Family
+ Produktgruppe
+
+
+ false
+ String1..10
+
+ EAVPOS
+ EAPPRODGR
+ EINPOS
+ EFPPRODGR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Model
+ Modell
+
+
+ false
+ String1..400
+
+ MIC_ALL_EAVPOS
+ EAPMODEL
+ MIC_EINPOS
+ EFPMODEL
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Brand
+ Marke
+
+
+ false
+ String1..400
+
+ MIC_ALL_EAVPOS
+ EAPBRAND
+ MIC_EINPOS
+ EFPBRAND
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Manufacturer
+ Hersteller
+
+
+ false
+ String1..15
+
+ MIC_ALL_EAVPOS
+ EAPMFRNR
+ MIC_EINPOS
+ EFPMFRNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CTO Number
+ CTO Nummer
+
+
+ false
+ String1..41
+
+ MIC_ALL_EAVPOS
+ EAPGTCTOID
+ MIC_EINPOS
+ EFPGTCTOID
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Confidence Level
+ Tariffierungskennzeichen
+
+
+ false
+ Long 5
+
+ MIC_ALL_EAVPOS
+ EAPCONFIDENCELEVEL
+ MIC_EINPOS
+ EFPCONFIDENCELEVEL
+
+
+
+
+
+
+
+
+
+
+ Product Category
+ Warengruppe
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVPOS
+ EAPWG
+ MIC_EINPOS
+ EFPWG
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Package
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of Packages
+ Anzahl Packstücke
+
+
+ true
+ Decimal(6)
+
+ MIC_ALL_EAVPOS
+ EAPKOLANZ
+ MIC_EINPOS
+ EFPKOLANZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Package Description
+ Packstückbezeichnung
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVPOS
+ EAPKOLLIART
+ MIC_EINPOS
+ EFPKOLLIART
+
+
+
+
+
+
+
+
+
+
+
+
+ Package Type
+ Packstückart
+
+
+ false
+ String1..25
+
+ MIC_ALL_EAVPOS
+ EAPKOLART
+ MIC_EINPOS
+ EFPKOLART
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Receipt
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Goods Receipt Number
+ Wareneingangsnummer
+
+
+ false
+ String1..15
+
+ MIC_ALL_EAVPOS
+ EAPWENR
+ MIC_EINPOS
+ EFPWENR
+
+
+
+
+
+
+
+
+
+
+
+
+ The goods receipt date.
+ Wareneingangsdatum
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVPOS
+ EAPWEDAT
+ MIC_EINPOS
+ EFPWEDAT
+
+
+
+
+
+
+
+
+
+ Bill of material
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bill of Materials
+ Stückliste
+
+
+ false
+ String1..40
+
+ MIC_ALL_EAVPOS
+ EAPREZNR
+ MIC_EINPOS
+ EFPREZNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BoM Variant
+ Stücklistenvariante
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVPOS
+ EAPREZVAR
+ MIC_EINPOS
+ EFPREZVAR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bill of material
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Due Group 1
+ Abgabengruppe 1
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVPOS
+ EAPEFAAGRPVV1
+ MIC_EINPOS
+ EFPEFAAGRPVV1
+
+
+
+
+
+
+
+
+
+
+
+
+ Reduction Amount 1
+ Minderungsbetrag 1
+
+
+ false
+ Decimal(11,2)
+
+ MIC_ALL_EAVPOS
+ EAPEFAMBPV1
+ MIC_EINPOS
+ EFPEFAMBPV1
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Due Group 2
+ Abgabengruppe 2
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVPOS
+ EAPEFAAGRPVV2
+ MIC_EINPOS
+ EFPEFAAGRPVV2
+
+
+
+
+
+
+
+
+
+
+
+
+ Reduction Amount 2
+ Minderungsbetrag 2
+
+
+ false
+ Decimal(11,2)
+
+ MIC_ALL_EAVPOS
+ EAPEFAMBPV2
+ MIC_EINPOS
+ EFPEFAMBPV2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Due Group 3
+ Abgabengruppe 3
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVPOS
+ EAPEFAAGRPVV3
+ MIC_EINPOS
+ EFPEFAAGRPVV3
+
+
+
+
+
+
+
+
+
+
+
+
+ Reduction Amount 3
+ Minderungsbetrag 3
+
+
+ false
+ Decimal(11,2)
+
+ MIC_ALL_EAVPOS
+ EAPEFAMBPV3
+ MIC_EINPOS
+ EFPEFAMBPV3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Previous documents
+
+
+
+
+
+ Previous document
+ Vorpapier
+
+
+ true
+
+
+
+
+ MIC_EINDOC
+
+
+
+
+
+
+
+
+
+
+
+
+ Previous Document Type
+ Art des Vorpapiers
+
+
+ true
+ String1..9
+
+ MIC_EAVDOC
+ EADVSSART
+ MIC_EINDOC
+ EFDVSSART
+
+
+
+
+
+
+
+
+
+
+
+
+ Previous Document Number
+ Vorpapiernummer
+
+
+ true
+ String1..24
+
+ MIC_EAVDOC
+ EADVSSNR
+ MIC_EINDOC
+ EFDVSSNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Previous document date
+ Vorpapierdatum
+
+
+ true
+ xs:date
+
+ MIC_EAVDOC
+ EADVSSDAT
+ MIC_EINDOC
+ EFDVSSDAT
+
+
+
+
+
+
+
+ Departure Customs Office
+ Abgang Zollstelle
+
+
+ false
+ String1..20
+
+ MIC_EAVDOC
+ EADABZOST
+ MIC_EINDOC
+ EFDABZOST
+
+
+
+
+
+
+
+
+
+
+
+
+ Destination Customs Office
+ Bestimmungszollstelle
+
+
+ false
+ String1..8
+
+ MIC_EAVDOC
+ EADZOST
+ MIC_EINDOC
+ EFDZOST
+
+
+
+
+
+
+
+
+
+
+
+
+ Category
+ Kategorie
+
+
+ false
+ String1..1
+
+ MIC_EAVDOC
+ EADTYP
+ MIC_EINDOC
+ EFDTYP
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_EAVDOC
+ EADCREUSER
+ MIC_EINDOC
+ EFDCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_EAVDOC
+ EADCREDAT
+ MIC_EINDOC
+ EFDCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+ MIC_EAVDOC
+ EADUSER
+ MIC_EINDOC
+ EFDUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_EAVDOC
+ EADUSEDAT
+ MIC_EINDOC
+ EFDUSEDAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type of identification of transport on arrival
+ Art der Transportidentifikation bei Ankunft
+
+
+ false
+ String1..2
+
+ MIC_EAVSDG
+ EASVKZINIDENTIFICATIONTYPE
+ MIC_EINSDG
+ EFSVKZINIDENTIFICATIONTYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Declaration type
+ Kz. Nachrichtensteuerung
+
+
+ false
+ String1..1
+
+ MIC_EAVSDG
+ EASMESSVORZKZ
+ MIC_EINSDG
+ EFSMESSVORZKZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Data elements including payment information
+
+
+
+
+
+ Payment Type
+ Zahlungsart
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVKOP
+ EAKPAYMENTTYPE
+ MIC_EINKOP
+ EFKPAYMENTTYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Payment Date
+ Zahlungstermin
+
+
+ false
+ xs:datetime
+
+ MIC_ALL_EAVKOP
+ EAKPAYMENTDATE
+ MIC_EINKOP
+ EFKPAYMENTDATE
+
+
+
+
+
+
+
+
+
+
+ Payment Bank Code
+ Zahlungsbankleitzahl
+
+
+ false
+ String1..20
+
+ MIC_ALL_EAVKOP
+ EAKPAYMENTBANKCODE
+ MIC_EINKOP
+ EFKPAYMENTBANKCODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Payment Bank Branch Code
+ Zahlung Bank Branch Code
+
+
+ false
+ String1..20
+
+ MIC_ALL_EAVKOP
+ EAKPAYMENTBANKBRANCHCODE
+ MIC_EINKOP
+ EFKPAYMENTBANKBRANCHCODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Payment Currency
+ Zahlungswährung
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKPAYMENTCURRENCY
+ MIC_EINKOP
+ EFKPAYMENTCURRENCY
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Data elements including registration numbers
+
+
+
+
+
+ CRN / Registration No.
+ Registriernummer Abfertigung
+
+
+ false
+ String1..35
+
+ MIC_ALL_EAVPOS
+ EAPMESSREGNR
+ MIC_EINPOS
+ EFPMESSREGNR
+
+
+
+
+
+
+
+
+
+
+
+
+ EGZ / Registration No.
+ Registriernummer EGZ
+
+
+ false
+ String1..35
+
+ MIC_ALL_EAVPOS
+ EAPMESSREGNR2
+ MIC_EINPOS
+ EFPMESSREGNR2
+
+
+
+
+
+
+
+
+
+
+
+
+ Registr. No. 3
+ Registriernummer 3
+
+
+ false
+ String1..35
+
+ MIC_ALL_EAVPOS
+ EAPMESSREGNR3
+ MIC_EINPOS
+ EFPMESSREGNR3
+
+
+
+
+
+
+
+
+
+
+
+
+ Registr. No. 4
+ Registriernummer 4
+
+
+ false
+ String1..35
+
+ MIC_ALL_EAVPOS
+ EAPMESSREGNR4
+ MIC_EINPOS
+ EFPMESSREGNR4
+
+
+
+
+
+
+
+
+
+
+
+
+ Message Ref Number 1
+ Nachr.Referenz Abf.
+
+
+ false
+ String1..22
+
+
+
+ MIC_EINPOS
+ EFPMESSREFNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Message Ref Number 2
+ Nachr.Referenz EGZ
+
+
+ false
+ String1..52
+
+
+
+ MIC_EINPOS
+ EFPMESSREFNR2
+
+
+
+
+
+
+
+
+
+
+
+
+ Message Ref Number 3
+ Nachr.Referenz 3
+
+
+ false
+ String1..22
+
+
+
+ MIC_EINPOS
+ EFPMESSREFNR3
+
+
+
+
+
+
+
+
+
+
+
+
+ Position Number 1
+ Positionnummer Abf.
+
+
+ false
+ Decimal(5)
+
+
+
+ MIC_EINPOS
+ EFPMESSPOSNR1
+
+
+
+
+
+
+
+
+
+
+
+
+ Position Number 2
+ Positionsnummer EGZ.
+
+
+ false
+ Decimal(5)
+
+
+
+ MIC_EINPOS
+ EFPMESSPOSNR2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duties - calculated by external system
+
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type of Identification
+ Art der Identifikation
+
+
+ true
+ String1..3
+
+ MIC_CUST_WB_EXTDUTY
+ EXWTYPE
+ MIC_CUST_WB_EXTDUTY
+ EXWTYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculated Duty Base
+
+
+
+ false
+ Decimal(14,4)
+
+ MIC_CUST_WB_EXTDUTY
+ EXWCALCDUTYBASE
+ MIC_CUST_WB_EXTDUTY
+ EXWCALCDUTYBASE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency
+
+
+
+ false
+ String1..3
+
+ MIC_CUST_WB_EXTDUTY
+ EXWCURRENCY
+ MIC_CUST_WB_EXTDUTY
+ EXWCURRENCY
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+ Code
+
+
+ false
+ String1..4
+
+ MIC_CUST_WB_EXTDUTY
+ EXWCODE
+ MIC_CUST_WB_EXTDUTY
+ EXWCODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Rate
+ Satz
+
+
+ false
+ Decimal(14,4)
+
+ MIC_CUST_WB_EXTDUTY
+ EXWRATE
+ MIC_CUST_WB_EXTDUTY
+ EXWRATE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Amount
+ Betrag
+
+
+ false
+ Decimal(14,4)
+
+ MIC_CUST_WB_EXTDUTY
+ EXWAMOUNT
+ MIC_CUST_WB_EXTDUTY
+ EXWAMOUNT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Add deduct
+ Abzug hinzufügen
+
+
+ false
+ Decimal(14,4)
+
+ MIC_CUST_WB_EXTDUTY
+ EXWADDDEDUCT
+ MIC_CUST_WB_EXTDUTY
+ EXWADDDEDUCT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculated Duty
+
+
+
+ false
+ Decimal(14,4)
+
+ MIC_CUST_WB_EXTDUTY
+ EXWCALCDUTY
+ MIC_CUST_WB_EXTDUTY
+ EXWCALCDUTY
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty
+
+
+
+ false
+ Decimal(14,4)
+
+ MIC_CUST_WB_EXTDUTY
+ EXWDUTY
+ MIC_CUST_WB_EXTDUTY
+ EXWDUTY
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty base
+
+
+
+ false
+ Decimal(14,4)
+
+ MIC_CUST_WB_EXTDUTY
+ EXWDUTYBASE
+ MIC_CUST_WB_EXTDUTY
+ EXWDUTYBASE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Measure Code
+
+
+
+ false
+ String1..4
+
+ MIC_CUST_WB_EXTDUTY
+ EXWMEASURECODE
+ MIC_CUST_WB_EXTDUTY
+ EXWMEASURECODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Measure
+
+
+
+ false
+ String1..100
+
+ MIC_CUST_WB_EXTDUTY
+ EXWMEASURE
+ MIC_CUST_WB_EXTDUTY
+ EXWMEASURE
+
+
+
+
+
+
+
+
+
+
+
+
+ Authority duty code
+
+
+
+ false
+ String1..4
+
+ MIC_CUST_WB_EXTDUTY
+ EXWAUTHORITYDUTYCODE
+ MIC_CUST_WB_EXTDUTY
+ EXWAUTHORITYDUTYCODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Territory
+
+
+
+ false
+ String1..4
+
+ MIC_CUST_WB_EXTDUTY
+ EXWTERRITORY
+ MIC_CUST_WB_EXTDUTY
+ EXWTERRITORY
+
+
+
+
+
+
+
+
+
+
+
+
+ Type add Code
+
+
+
+ false
+ String1..1
+
+ MIC_CUST_WB_EXTDUTY
+ EXWTYPEADDCODE
+ MIC_CUST_WB_EXTDUTY
+ EXWTYPEADDCODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Number add code
+
+
+
+ false
+ String1..3
+
+ MIC_CUST_WB_EXTDUTY
+ EXWNUMBERADDCODE
+ MIC_CUST_WB_EXTDUTY
+ EXWNUMBERADDCODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Tariff rate quota
+
+
+
+ false
+ String1..6
+
+ MIC_CUST_WB_EXTDUTY
+ EXWTARIFFRATEQUOTA
+ MIC_CUST_WB_EXTDUTY
+ EXWTARIFFRATEQUOTA
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_CUST_WB_EXTDUTY
+ EXWCREUSER
+ MIC_CUST_WB_EXTDUTY
+ EXWCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_WB_EXTDUTY
+ EXWCREDAT
+ MIC_CUST_WB_EXTDUTY
+ EXWCREDAT
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_WB_EXTDUTY
+ EXWUSER
+ MIC_CUST_WB_EXTDUTY
+ EXWUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_WB_EXTDUTY
+ EXWUSEDAT
+ MIC_CUST_WB_EXTDUTY
+ EXWUSEDAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+ MIC_EINABG
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type
+ Abgabenart
+
+
+ true
+ String1..6
+
+
+
+ MIC_EINABG
+ EFAABART
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+ Code
+
+
+ true
+ String1..4
+
+
+
+ MIC_EINABG
+ EFACODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty
+ ATLAS Abgabe
+
+
+ true
+ Decimal(16,4)
+
+
+
+ MIC_EINABG
+ EFAABGABE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty
+ ATLAS Abgabe
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINABG
+ EFAABGABEZW
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty
+ ATLAS Abgabe
+
+
+ false
+ String1..1
+
+
+
+ MIC_EINABG
+ EFAANLKZ
+
+
+
+
+
+
+
+
+
+
+
+
+ Unit
+ Einheit
+
+
+ false
+ String1..4
+
+
+
+ MIC_EINABG
+ EFABEMEH
+
+
+
+
+
+
+
+
+
+
+
+
+ Base
+ ATLAS Bemessungsgrundlage
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINABG
+ EFABEMESSG
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Base
+ ATLAS Bemessungsgrundlage
+
+
+ false
+ String1..2
+
+
+
+ MIC_EINABG
+ EFACTRY
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculated Duty
+ Abgabe
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINABG
+ EFAERRABGABE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculation Base
+ Bemessungsgrundlage
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINABG
+ EFAERRBEMESSG
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Area Code
+
+
+
+ false
+ String1..4
+
+
+
+ MIC_EINABG
+ EFAGEOGRGEBID
+
+
+
+
+
+
+
+
+
+
+
+
+ Measure
+ Massnahmenart
+
+
+ false
+ String1..6
+
+
+
+ MIC_EINABG
+ EFAMASSN
+
+
+
+
+
+
+
+
+
+
+
+
+ Measure
+ Massnahmenart
+
+
+ false
+ String1..4
+
+
+
+ MIC_EINABG
+ EFAOFFCODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Indenture Number
+
+
+
+ false
+ String1..6
+
+
+
+ MIC_EINABG
+ EFAORDNUNGSNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Rate
+ Satz
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINABG
+ EFASATZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cancellation Flag
+ Storno
+
+
+ false
+ String1..1
+
+
+
+ MIC_EINABG
+ EFASTORNO
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty amount increase or decrease
+
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINABG
+ EFAZUAB
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type of additional code
+
+
+
+ false
+ String1..1
+
+
+
+ MIC_EINABG
+ EFAZUSCDART
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of additional code
+
+
+
+ false
+ String1..3
+
+
+
+ MIC_EINABG
+ EFAZUSCDNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Calculated duty rate
+
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_EINABG
+ EFAERRSATZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+
+
+ MIC_EINABG
+ EFACREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+
+
+ MIC_EINABG
+ EFACREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+
+
+ MIC_EINABG
+ EFAUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+
+
+ MIC_EINABG
+ EFAUSEDAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+ MIC_CUST_DUTY_SAVING
+
+
+
+
+
+
+
+
+
+
+
+
+ Type
+ Abgabenart
+
+
+ false
+ String1..6
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSDUTYTYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+ Code
+
+
+ false
+ String1..4
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty
+ ATLAS Abgabe
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSDUTY
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty
+ ATLAS Abgabe
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSDUTYZW
+
+
+
+
+
+
+
+
+
+
+
+
+
+ "A" for automatically created, "M" for manually created
+ Erstellungs KZ
+
+
+ false
+ String1..1
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCREATIONFLAG
+
+
+
+
+
+
+
+
+
+
+
+
+ Unit
+ Einheit
+
+
+ false
+ String1..4
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCALCBASEUNIT
+
+
+
+
+
+
+
+
+
+
+
+
+ Base
+ ATLAS Bemessungsgrundlage
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCALCBASE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Base
+ ATLAS Bemessungsgrundlage
+
+
+ false
+ String1..2
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCTRY
+
+
+
+
+
+
+
+
+
+
+
+
+ Duty
+ ATLAS Abgabe
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCALCULATEDDUTY
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Base
+ ATLAS Bemessungsgrundlage
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCALCULATEDCALCBASE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Measure
+ Massnahmenart
+
+
+ false
+ String1..6
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSMEASURE
+
+
+
+
+
+
+
+
+
+
+
+
+ Rate
+ Satz
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSRATE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Addition
+ Zusatz
+
+
+ false
+ Decimal(16,4)
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSADDITION
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Preferential flag
+ Präferenziell
+
+
+ false
+ String1..1
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSPREFERENTIAL
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+
+
+ MIC_CUST_DUTY_SAVING
+ CDSUSEDAT
+
+
+
+
+
+
+
+
+
+
+ Container ID .mapped by 'eseconid'
+
+
+
+
+
+
+
+
+
+ Validierungskennzeichen.mapped by 'esevalidkz'
+
+
+
+
+
+
+
+
+
+ Storno.mapped by 'esestorno'
+
+
+
+
+
+
+
+
+
+ Zeichen des angebrachten Verschlusses laut Versandanmeldung.mapped by 'esezeichensoll'
+
+
+
+
+
+
+
+
+
+ Tatsächliches Zeichen des angebrachten Verschlusses..mapped by 'esezeichenist'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Company
+ Mandant
+
+
+ true
+ String1..2
+
+ MIC_ALL_EAVKOP
+ EAKMANDANT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Plant
+ Werk
+
+
+ true
+ String1..2
+
+ MIC_ALL_EAVKOP
+ EAKWERK
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+
+ false
+ String1..1
+
+ MIC_ALL_EAVKOP
+ EAKTYP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The invoice number.
+ Rechnungsnummer
+
+
+ true
+ String1..30
+
+ MIC_ALL_EAVKOP
+ EAKFAKTNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ An unique version id.
+
+
+
+ false
+ String1..50
+
+ MIC_ALL_EAVKOP
+ EAKVERSION
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The invoice date.
+ Rechnungsdatum
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVKOP
+ EAKFAKTDAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Customs date
+
+
+
+ false
+ xs:dateTime
+
+ MIC_ALL_EAVKOP
+ EAKVZDAT
+
+
+
+
+
+
+
+
+
+
+
+
+ Dispatch country
+
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKHELD
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Last dispatch country
+
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKLEHELD
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Destination place
+
+
+
+ false
+ String1..20
+
+ MIC_ALL_EAVKOP
+ EAKBSTORT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Destination region
+
+
+
+ false
+ String1..2
+
+ MIC_ALL_EAVKOP
+ destinationRegion
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Office entry
+
+
+
+ false
+ String1..8
+
+ MIC_ALL_EAVKOP
+ EAKEINZOST
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The mode of transportation at the border.
+EAKVKZGR
+EAKVKMART
+EAKVKML
+EAKVKMGRK
+EAKVKMINBEZ
+
+
+
+
+ The inland mode of transport information
+EAKVKZIN
+EAKVKMINK
+EAKVKMINK
+
+
+
+
+
+
+
+
+
+ false
+
+
+ MIC_EAVSDG
+ EAK___
+
+
+
+
+
+
+
+
+
+ PreviousDocument
+
+
+
+
+
+
+ Previous doc type
+ Art des Vorpapiers
+
+
+ true
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKVSSART
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Previous doc number
+ Vorpapiernummer
+
+
+ true
+ String1..18
+
+ MIC_ALL_EAVKOP
+ EAKVSSNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Previous doc date
+ Vorpapierdatum
+
+
+ true
+ xs:date
+
+ MIC_EAVDOC
+ EADVSSDAT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Shipment attributes
+ Rechnungsattribute
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+ Business partner information
+
+
+
+
+
+
+ Invoice lines
+ Rechnungspositionen
+
+
+ true
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Invoice type
+ Rechnungstyp
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKFAKTTYP
+ MIC_EINKOP
+ EFKFAKTTYP
+
+
+
+
+
+
+
+
+
+
+
+
+ The contract date.
+ Vertragsdatum
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVKOP
+ EAKDATVTG
+ MIC_EINKOP
+ EFKDATVTG
+
+
+
+
+
+
+
+ Country of Trade
+ Handelsland
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKHALD
+ MIC_EINKOP
+ EFKHALD
+
+
+
+
+
+
+
+
+
+
+
+
+ Supplier
+ Lieferant
+
+
+ false
+
+
+ MIC_ALL_EAVKOP
+ addrNo:EAKLFRNR, addrName:EAKLFRNM1,EAKLFRNM2, addrStreet:EAKLFRSTR, addrLoc:EAKLFRORT, addrCtry:EAKLFRLD, addrState:EAKLFRREGION, addrZip:EAKLFRPLZ, addrTin:EAKLFRTIN, addrEori:EAKLFREORI, partnerRelation:EAKLFRREL, addrDistrict:not mapped
+
+
+
+
+
+
+
+
+
+ Gross Weight (kg)
+ Rohmasse (kg)
+
+
+ false
+ Decimal(17,4)
+
+ MIC_ALL_EAVKOP
+ EAKROHMAS
+ MIC_EINKOP
+ EFKROHMAS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Net Weight (kg)/The net weight of this invoice (sum of all invoice line net weights).
+ Eigenmasse (kg)
+
+
+ false
+ Decimal(15,6)
+
+ MIC_ALL_EAVKOP
+ EAKGEWSUM
+ MIC_EINKOP
+ EFKGEWSUM
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Invoice Value/The total invoice value.
+ Rechnungswert
+
+
+ false
+ Decimal(17,4)
+
+ MIC_ALL_EAVKOP
+ EAKLIEWERT
+ MIC_EINKOP
+ EFKLIEWERT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency Invoice/The invoice currency as ISO currency code.
+ Währung Rechnung
+
+
+ false
+ String1..3
+
+ MIC_ALL_EAVKOP
+ EAKLIEWAE
+ MIC_EINKOP
+ EFKLIEWAE
+
+
+
+
+
+
+
+
+
+
+
+
+ Delivery terms
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Rebate
+ Rabatt/Nachlass
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Discount/Discount for invoice value.
+ Skonto
+
+
+ false
+ Decimal(5,2)
+
+ MIC_ALL_EAVKOP
+ EAKSKONTO
+ MIC_EINKOP
+ EFKSKONTO
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional costs can be added on all levels as additional part value components. They are pro-rated to the invoice lines as indicated.
+
+
+
+ false
+
+ 0-2
+ MIC_ALL_EAVKOP
+ EAK___
+ MIC_EINKOP
+ EFK___
+
+
+
+
+
+
+
+ Position additions/Additional remarks and information
+ Zusätzliche Angaben
+
+
+ false
+ String1..80
+
+ MIC_ALL_EAVKOP
+ EAKINFO
+ MIC_EINKOP
+ EFKINFO
+
+
+
+
+
+
+
+
+
+
+
+
+ Position additions/Additional remarks and information 2
+ Zusätzliche Angaben 2
+
+
+ false
+ String1..80
+
+ MIC_ALL_EAVKOP
+ EAKINFO2
+ MIC_EINKOP
+ EAKINFO2
+
+
+
+
+
+
+
+
+
+
+
+
+ Invoice freight costs
+ Sendungsfrachtkosten
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Reference Number
+ Referenznummer
+
+
+ false
+ String1..30
+
+ MIC_ALL_EAVKOP
+ EAKREFNR
+ MIC_EINKOP
+ EFKREFNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Transport Number
+ Transportnummer
+
+
+ false
+ String1..20
+
+ MIC_ALL_EAVKOP
+ EAKTRANSPNR
+ MIC_EINKOP
+ EFKTRANSPNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Type of Transport
+ Art des Transports
+
+
+ false
+ String1..10
+
+ MIC_ALL_EAVKOP
+ EAKTRANSPTYP
+ MIC_EINKOP
+ EFKTRANSPTYP
+
+
+
+
+
+
+
+
+
+
+
+
+ Acceptance Date
+ Datum der Annahme (ZiA)
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVKOP
+ EAKANNAHMEDAT
+ MIC_EINSDG
+ EFSANNAHMEDAT
+
+
+
+
+
+
+
+ Release Date
+ Datum der Überlassung (ZiA)
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVKOP
+ EAKUEBERLASSDAT
+ MIC_EINSDG
+ EFSUEBERLASSDAT
+
+
+
+
+
+
+
+ Frist (ZiA)
+ Term of Application
+
+
+ false
+ xs:date
+
+ MIC_ALL_EAVKOP
+ EAKFRIST
+ MIC_EINSDG
+ EFSFRIST
+
+
+
+
+
+
+
+ Customs Register Number
+ Registriernummer (ZiA)
+
+
+ false
+ String1..35
+
+ MIC_ALL_EAVKOP
+ EAKREGNR
+ MIC_EINSDG
+ EFSREGNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Seal number
+ Verschlussnummer
+
+
+ false
+ String1..50
+
+ MIC_ALL_EAVKOP
+ EAKPLOMBE
+ MIC_EINKOP
+ EFKPLOMBE
+
+
+
+
+
+
+
+
+
+
+
+
+ Bill of lading
+ Konnossement / Frachtbrief
+
+
+ false
+ String1..20
+
+ MIC_ALL_EAVKOP
+ EAKBOL
+ MIC_EINKOP
+ EFKBOL
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of Packages
+ Anzahl Packstücke
+
+
+ false
+ Decimal(6)
+
+ MIC_ALL_EAVKOP
+ EAKKOLANZ
+ MIC_EINKOP
+ EFKKOLANZ
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Package Type
+ Packstückart
+
+
+ false
+ String1..15
+
+ MIC_ALL_EAVKOP
+ EAKKOLART
+ MIC_EINKOP
+ EFKKOLART
+
+
+
+
+
+
+
+
+
+
+
+
+ Buyer
+ Käufer
+
+
+ false
+ String1..15
+
+ MIC_ALL_EAVKOP
+ EAKKAUFNR
+ MIC_EINKOP
+ EFKKAUFNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Consignee
+ Empfänger
+
+
+ false
+ String1..15
+
+ MIC_ALL_EAVKOP
+ EAKEMPNR
+ MIC_EINKOP
+ EFKEMPNR
+
+
+
+
+
+
+
+
+
+
+
+ Data elements including payment information
+
+
+
+
+
+ Customer specific fields
+ Kundenspezifische Felder
+
+
+ false
+
+
+ MIC_ALL_EAVKOP
+ EAK___
+ MIC_EINKOP
+ EFK___
+
+
+
+
+
+
+
+ Seller
+ Verkäufer
+
+
+ false
+
+
+ MIC_ALL_EAVKOP
+ addrNo:EAKSELLERNR, addrName:EAKSELLERNAME1,EAKSELLERNAME2, addrStreet:EAKSELLERSTREET, addrLoc:EAKSELLERPLACE, addrCtry:EAKSELLERCTRY, addrState:EAKORT, addrZip:EAKSELLERZIP, addrTin:EAKSELLERTIN, addrEori:EAKSELLEREORI, partnerRelation:EAKSELLERKVB, addrDistrict:not mapped, addrBranchNo:EAKSELLERBRANCHNO
+
+
+
+
+
+
+
+
+
+ Exchange Rate
+ Wechselkurs
+
+
+ false
+ Decimal
+
+ MIC_ALL_EAVKOP
+ EAKKURS
+ MIC_EINKOP
+ EFKKURS
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_ALL_EAVKOP
+ EAKCREUSER
+ MIC_EINKOP
+ EFKCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_ALL_EAVKOP
+ EAKCREADAT
+ MIC_EINKOP
+ EFKCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+ MIC_ALL_EAVKOP
+ EAKUSER
+ MIC_EINKOP
+ EFKUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_ALL_EAVKOP
+ EAKUSEDAT
+ MIC_EINKOP
+ EFKUSEDAT
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+ MIC_ALL_EAVKOP
+ EAK___
+ MIC_EINKOP
+ EFK___
+
+
+
+
+
+
+
+
+
+ Mapping to table MIC_CUST_WB_ATLAS_COMP_SUMD
+
+
+
+
+
+ Completion parts
+ Beendigunsgsanteile
+
+
+ true
+
+
+
+
+ MIC_ATLAS_COMPLETION_SUMD
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type of Identification
+ Art der Identifikation
+
+
+ false
+ String1..3
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSIDTYPE
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSIDTYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Quantity
+ Stückzahl
+
+
+ false
+ xs:long 5
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSQUANTITY
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSQUANTITY
+
+
+
+
+
+
+
+
+
+
+
+
+ Package Type
+ Packstückart
+
+
+ false
+ String1..2
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSPACKAGETYPE
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSPACKAGETYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Customs Register Number
+ Registriernummer (ZiA)
+
+
+ false
+ String1..21
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSREGNR
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSREGNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Position Number
+ Positionsnummer
+
+
+ false
+ xs:long 4
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSPOSNR
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSPOSNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Depository
+ Verwahrer
+
+
+ false
+ String1..17
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSDEPOSITOR
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSDEPOSITOR
+
+
+
+
+
+
+
+
+
+
+
+
+ Type of specific defining argument
+ Art des spezifischen Ordnungsbegriffs
+
+
+ false
+ String1..3
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSSPECDEFTYPE
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSSPECDEFTYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Specific defining argument
+ Spezifischer Ordnungsbegriff
+
+
+ false
+ String1..44
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSSPECDEFARG
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSSPECDEFARG
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSCREUSER
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSCREDAT
+ MIC_ATLAS_COMPLETION_SUMD
+ EFDCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geändert von
+
+
+ false
+ String1..12
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSUSER
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSUSER
+
+
+
+
+
+
+
+ Modified on
+ Geändert am
+
+
+ false
+ Xs:datetime
+
+ MIC_CUST_WB_ATLAS_COMP_SUMD
+ ECSUSEDAT
+ MIC_ATLAS_COMPLETION_SUMD
+ ACSUSEDAT
+
+
+
+
+
+
+
+
+
+ Invoice line previous document references
+ Positionsbeendigungsanteile Vorpapiere
+
+
+
+
+
+
+ Previous document reference
+ Beendigungsanteil Vorpapier
+
+
+ true
+
+ 1-n
+ MIC_CUST_AVBEENDIGUNG
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Reference previous procedures
+
+
+
+
+
+
+ Reference type
+ Art des BE-Anteils
+
+
+ false
+ String1..3
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBART
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Reference number
+ Bezugsnummer
+
+
+ false
+ String1..35
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBBEZUGNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Authorization number
+ Bewilligungsnummer
+
+
+ false
+ String1..35
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBBEWILLNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Registration number
+ Registriernummer Zugang
+
+
+ false
+ String1..36
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBREGNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Position number
+ Positionsnummer Zugang
+
+
+ false
+ Long 5
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBZUGPOSNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Part number
+ Artikelnummer
+
+
+ false
+ String1..30
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBARTNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Tariff number
+ Tarifnummer
+
+
+ false
+ String1..13
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBTARNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Trade quantity
+ Handelsmenge
+
+
+ false
+ Decimal(12,3)
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBHMENGE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Trade unit of measurement
+ Handelsmengeneinheit
+
+
+ false
+ String1..3
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBHMEH
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Trade qualifier
+ Handelsqualifikator
+
+
+ false
+ String1..1
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBHQUAL
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Deduction quantity
+ Abbuchungsmenge
+
+
+ false
+ Decimal(12,3)
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBMENGE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Deduction unit of measurement
+ Abbuchungsmengeneinheit
+
+
+ false
+ String1..3
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBMEH
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Deduction qualifier
+ Abbuchungsqualifikator
+
+
+ false
+ String1..1
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBQUAL
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Additional information
+ Zusatzinformation
+
+
+ false
+ String1..4000
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBINFO
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Normal treatment flag
+ Kennzeichen Normales Verfahren
+
+
+ false
+ xs:boolean
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBKZUEBLBEH
+
+
+
+
+
+
+
+
+
+ Atlas flag
+ ATLAS Kennzeichen
+
+
+ false
+ xs:boolean
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBKZATLAS
+
+
+
+
+
+
+
+
+
+ Customs number
+ Zollnummer
+
+
+ false
+ String1..17
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBZNRAB
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Statistical quantity
+ Statistiche Menge
+
+
+ false
+ Decimal(13,3)
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBBESM
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Net mass
+ Eigenmasse (kg)
+
+
+ false
+ Decimal(13,4)
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBEIGMAS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Gross mass
+ Rohmasse (kg)
+
+
+ false
+ Decimal(13,4)
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBROHMAS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Package quantity
+ Packstückanzahl
+
+
+ false
+ Decimal
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBKOLANZ
+
+
+
+
+
+
+
+
+
+ Simple IPR application flag
+ Kennzeichen einfache Bewilligung für aktive Veredelung
+
+
+ false
+ xs:boolean
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBSIMPLEIPRAPPLICATION
+
+
+
+
+
+
+
+
+
+ Supervising office
+ Überwachungszollstelle
+
+
+ false
+ String1..8
+
+ MIC_CUST_AVBEENDIGUNG
+ MCBSUPERVISINGOFFICE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Customer-specific fields
+
+
+
+
+
+ Customer-specific text field
+ Kundenspezifischer Text
+
+
+ false
+
+
+
+ ___TEXT___ + KEY
+
+ ___TEXT___ + KEY
+
+
+
+
+
+
+
+ Customer-specific date field
+ Kundenspezifisches Datum
+
+
+ false
+
+
+
+ ___DATE___ + KEY
+
+ ___DATE___ + KEY
+
+
+
+
+
+
+
+ Customer-specific boolean field
+ Kundenspezifischer boolscher Wert
+
+
+ false
+
+
+
+ ___FLAG___ + KEY
+
+ ___FLAG___ + KEY
+
+
+
+
+
+
+
+ Customer-specific number field
+ Kundenspezifischer numerische Wert
+
+
+ false
+
+
+
+ ___NUMBER___ + KEY
+
+ ___NUMBER___ + KEY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of Customer Specific Item: 1-10 on Shipment and Invoice; 1-15 on line
+ Nummer vom Kundenspezifischen Feld: 1-10 auf Sendung und Rechnung; 1-15 auf Line
+
+
+ false
+ Number
+
+
+
+
+
+
+
+
+
+
+
+
+ Value of Customer Specific Item
+ Wert vom Kundespezifache Feld
+
+
+ false
+ String1..400
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of Customer Specific Item: 1-10 on Shipment and Invoice; 1-15 on line
+ Nummer vom Kundenspezifischen Feld: 1-10 auf Sendung und Rechnung; 1-15 auf Line
+
+
+ false
+ Number
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of Customer Specific Item: 1-10 on Shipment and Invoice; 1-15 on line
+ Nummer vom Kundenspezifischen Feld: 1-10 auf Sendung und Rechnung; 1-15 auf Line
+
+
+ false
+ Number(15,4)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of Customer Specific Item: 1-10 on Shipment and Invoice; 1-15 on line
+ Nummer vom Kundenspezifischen Feld: 1-10 auf Sendung und Rechnung; 1-15 auf Line
+
+
+ false
+ Number
+
+
+
+
+
+
+
+
+
+
+
+
+ Value of Customer Specific Item
+ Wert vom Kundespezifache Feld
+
+
+ false
+ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Number of Customer Specific Item: 1-10 on Shipment and Invoice; 1-15 on line
+ Nummer vom Kundenspezifischen Feld: 1-10 auf Sendung und Rechnung; 1-15 auf Line
+
+
+ false
+ Number
+
+
+
+
+
+
+
+
+
+
+
+
+ Value of Customer Specific Item
+ Wert vom Kundespezifache Feld
+
+
+ false
+ Xs:datetime
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Packages
+
+
+
+
+
+ Package
+ Packstück
+
+
+ true
+ String1..8
+
+ MIC_CUST_WB_PACKAGES
+
+ MIC_CUST_PACKAGES
+
+
+
+
+
+
+
+
+
+ Import packages type
+
+
+
+
+
+ Signo
+ Zeichen/Nummer
+
+
+ true
+ String1..140
+
+ MIC_CUST_WB_PACKAGES
+ WBPSIGNO
+ MIC_CUST_PACKAGES
+ PCKSIGNO
+
+
+
+
+
+
+
+
+
+
+ Quantity
+ Menge
+
+
+ true
+ xs:long 15
+
+ MIC_CUST_WB_PACKAGES
+ WBPANZAR
+ MIC_CUST_PACKAGES
+ PCKANZAR
+
+
+
+
+
+
+
+
+
+
+ Package Type
+ Packstückart
+
+
+ true
+ String1..5
+
+ MIC_CUST_WB_PACKAGES
+ WBPART
+ MIC_CUST_PACKAGES
+ PCKART
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MIC_Worker_lib/MIC/Import/MicCustImportShipment.xsd b/MIC_Worker_lib/MIC/Import/MicCustImportShipment.xsd
new file mode 100644
index 0000000..3187c37
--- /dev/null
+++ b/MIC_Worker_lib/MIC/Import/MicCustImportShipment.xsd
@@ -0,0 +1,1815 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Root element of import shipment messages
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Root element of the import message
+
+
+
+ true
+
+
+ MIC_EAVSDG
+
+ MIC_EINSDG
+
+
+
+
+
+
+
+
+ Import invoice
+ Einfuhrrechnung
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Import shipment type
+
+
+
+
+
+ Company Code
+ MIC Mandant
+
+
+ true
+ String1..2
+
+ MIC_EAVSDG
+ EASMANDANT
+ MIC_EINSDG
+ EFSMANDANT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Plant Code
+ MIC Werk
+
+
+ true
+ String1..2
+
+ MIC_EAVSDG
+ EASWERK
+ MIC_EINSDG
+ EFSWERK
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Local Reference/The shipment id
+ Bezugsnummer
+
+
+ true
+ String1..50
+
+ MIC_EAVSDG
+ EASSDGID
+ MIC_EINSDG
+ EFSSDGID
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The shipment id partial
+ Teil
+
+
+ true
+ String1..2
+
+ MIC_EAVSDG
+ EASSDGPART
+ MIC_EINSDG
+ EFSSDGPART
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Shipment version/An unique version id
+ Versionsnummer
+
+
+ true
+ String1..50
+
+ MIC_EAVSDG
+ EASVERSION
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Shipment Id/Sequential declaration number
+ Belegnummer
+
+
+ false
+ String1..6
+
+ MIC_EAVSDG
+ EFSBELNR
+ MIC_EINSDG
+ EFSBELNR
+ Sequential declaration number
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Containers
+ Containers
+
+
+ false
+
+
+ MIC_CUST_CONT
+
+
+
+
+
+
+
+
+
+
+ Shipment documents
+ Sendungsunterlagen
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Shipment attributes
+ Rechnungsattribute
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Shipment business partner
+ Sendungsgeschaeftspartner
+
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Shipment previous documents
+ Sendungsvorpapiere
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Shipment completion parts of summary declaration
+ Sendungsbeendigungsanteile der Summarischen Anmeldung (SumA)
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+ Shipment additional information
+ Zusaetzliche Information auf Sendungsebene
+
+
+ false
+
+ 1-n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+ 0-1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Type of identification/ The shipment type. E=Import, B=Intrastat, I=Inland, U=Stock transfer, X=Conversion
+ Sendungstyp
+
+
+ false
+ String1..1
+
+ MIC_EAVSDG
+ EASTYP
+ MIC_EINSDG
+ EFSTYP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Declaration Date/The customs date
+ Anmeldedatum
+
+
+ false
+ xs:date
+
+ MIC_EAVSDG
+ EASVZDAT
+ MIC_EINSDG
+ EFSVZDAT
+
+
+
+
+
+
+
+ Type of declaration
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MRN/Movement reference number
+ MRN
+
+
+ false
+ String1..20
+
+ MIC_EAVSDG
+ EASSPEDNR
+ MIC_EINSDG
+ EFSSPEDNR
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Gross Weight (kg)/The gross weight in kilograms
+ Rohmasse (kg)
+
+
+ false
+ Decimal(13,4)
+
+ MIC_EAVSDG
+ EASROHMAS
+ MIC_EINSDG
+ EFSROHMAS
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Airport/place of departure
+ Abgangsflughafen/-ort
+
+
+ false
+ String1..20
+
+ MIC_EAVSDG
+ EASABGORT
+ MIC_EINSDG
+ EFSABGORT
+
+
+
+
+
+
+
+
+
+
+
+
+ The country of dispatch of goods as ISO code
+ Vers.-/Ausf.-/Best.-Ld/Bdl.
+
+
+ false
+ String1..3
+
+ MIC_EAVSDG
+ EASHELD
+ MIC_EINSDG
+ EFSABGORT
+
+
+
+
+
+
+
+
+
+
+
+
+ The last dispatch country if different from dispatch country (eg. after consolidation) as ISO code
+ Letztes Herkunftsland
+
+
+ false
+ String1..3
+
+ MIC_EAVSDG
+ EASLEHELD
+ MIC_EINSDG
+ EFSLEHELD
+
+
+
+
+
+
+
+
+
+
+
+
+ Location of Goods
+ Ort der Verbringung
+
+
+ false
+ String1..20
+
+ MIC_EAVSDG
+ EASBSTORT
+ MIC_EINSDG
+ EFSBSTORT
+
+
+
+
+
+
+
+
+
+
+
+
+ The region/state of destination
+ Bestimmungsbundesland
+
+
+ false
+ String1..2
+
+ MIC_EAVSDG
+ EASZLD
+ MIC_EINSDG
+ EFSZLD
+
+
+
+
+
+
+
+
+
+
+
+
+ Office of Entry
+ Eingangszollstelle
+
+
+ false
+ String1..8
+
+ MIC_EAVSDG
+ EASEINZOST
+ MIC_EINSDG
+ EFSEINZOST
+
+
+
+
+
+
+
+
+
+
+
+
+ Import State
+ BDL
+
+
+ false
+ String1..2
+
+ MIC_EAVSDG
+ EASBDL
+ MIC_EINSDG
+ EFSBDL
+
+
+
+
+
+
+
+
+
+
+
+
+ Substitute Flag
+ Vertretungskennzeichen
+
+
+ false
+ String1..1
+
+ MIC_EAVSDG
+ EASVERTKZ
+ MIC_EINSDG
+ EFSVERTKZ
+
+
+
+
+
+
+
+
+
+
+
+
+ Type Of Import
+ Art der Anmeldung Import
+
+
+ false
+ String1..2
+
+ MIC_EAVSDG
+ EASARTANMELDIMP
+ MIC_EINSDG
+ EFSARTANMELDIMP
+
+
+
+
+
+
+
+
+
+
+
+
+ Authorization Number
+ Authorisierungsnummer
+
+
+ false
+ String1..35
+
+ MIC_EAVSDG
+ EASAUTHNO
+ MIC_EINSDG
+ EFSAUTHNO
+
+
+
+
+
+
+
+
+
+
+
+
+ Place Of Dispatch Description
+ Bezeichnung Abgangsort
+
+
+ false
+ String1..100
+
+ MIC_EAVSDG
+ EASABGORTBEZ
+ MIC_EINSDG
+ EFSABGORTBEZ
+
+
+
+
+
+
+
+
+
+
+
+
+ Type Of Air Transportation
+ Verkehrszweig,Flug
+
+
+ false
+ String1..1
+
+ MIC_EAVSDG
+ EASAERTRA
+ MIC_EINSDG
+ EFSAERTRA
+
+
+
+
+
+
+
+
+
+
+
+
+ The mode of transportation at the border
+ Verkehrszweig an der Grenze
+
+
+ false
+
+
+ MIC_EAVSDG
+ motMode:EASVKZGR, meansOfTransport:EASVKMART, motCountry:EASVKMLD, motVehicle:EASVKMGRK, meansOfTransportDescription:EASVKMINBEZ
+ MIC_EINSDG
+ motMode:EFSVKZGR, meansOfTransport:EFSVKMART, motCountry:EFSVKMLD, motVehicle:EFSVKMGRK, meansOfTransportDescription:EFSVKMINBEZ
+
+
+
+
+
+
+
+ The mode of transport information at border crossing
+ Verkehrszweig bei Grenzueberschreitung
+
+
+ false
+
+
+ MIC_EAVSDG
+ motMode:EASVKZEING, motCountry:EASVKMEINGLD, motVehicle:EASVKMEINGK
+ MIC_EINSDG
+ motMode:EFSVKZEING, motCountry:EFSVKMEINGLD, motVehicle:EFSVKMEINGK
+
+
+
+
+
+
+
+ The inland mode of transport information
+ Verkehrszweig im Inland
+
+
+ false
+
+
+ MIC_EAVSDG
+ motMode:EASVKZIN, motCountry:EASVKMINL, motVehicle:EASVKMINK
+ MIC_EINSDG
+ motMode:EFSVKZIN, motCountry:EFSVKMEINGLD, motVehicle:EFSVKMEINGK
+
+
+
+
+
+
+
+ Container/Indicator whether this is a containerized shipment. 1=yes, 0=no
+ Container
+
+
+ false
+ String1..1
+
+ MIC_EAVSDG
+ EASCON
+ MIC_EINSDG
+ EFSCON
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+ MIC_EAVSDG
+ EAS___
+ MIC_EINSDG
+ EFS___
+
+
+
+
+
+
+
+ Shipment freight costs
+ Sendungsfrachtkosten
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Shipment insurance costs
+ Sendungsversicherungskosten
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Shipment additional costs
+ Sendungsnebenkosten
+
+
+ false
+
+ 0-2
+ MIC_EAVSDG
+ EAS___
+ MIC_EINSDG
+ EFS___
+
+
+
+
+
+
+
+ Addition IVAT/Additional costs that apply to VAT only in invoice currency.
+ Zuschlag EUSt.
+
+
+ false
+ Decimal(17,4)
+
+ MIC_EAVSDG
+ EASZUEUST
+ MIC_EINSDG
+ EFSZUEUST
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Position additions
+ Zusuetzliche Angaben
+
+
+ false
+ String1..80
+
+ MIC_EAVSDG
+ EASINFO
+ MIC_EINSDG
+ EFSINFO
+
+
+
+
+
+
+
+
+
+
+
+
+ The date of exportation.
+ Exportdatum
+
+
+ false
+ xs:date
+
+ MIC_EAVSDG
+ EASEXPDAT
+ MIC_EINSDG
+ EFSEXPDAT
+
+
+
+
+
+
+
+ The date of importation.
+ Importdatum
+
+
+ false
+ xs:date
+
+ MIC_EAVSDG
+ EASIMPDAT
+ MIC_EINSDG
+ EFSIMPDAT
+
+
+
+
+
+
+
+ The estimated date of arrival.
+ Voraussichtliches Ankunftsdatum
+
+
+ false
+ xs:datetime
+
+ MIC_EAVSDG
+ EASESTDAT
+ MIC_EINSDG
+ EFSESTDAT
+
+
+
+
+
+
+
+ Related Party Indicator/Type of representation (direct, indirect, ...)
+ Kz. Vertretungsverhaeltnis
+
+
+ false
+ String1..4
+
+ not mapped
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Month (YYYYMM)/Month/Year of shipment (YYYYMM)
+ Monat (JJJJMM)
+
+
+ false
+ String1..6
+
+ MIC_EAVSDG
+ EFSPERIODE
+ MIC_EINSDG
+ EFSPERIODE
+
+
+
+
+
+
+
+
+
+
+
+
+ Customer specific fields
+ Kundenspezifische Felder
+
+
+ false
+
+
+ MIC_EAVSDG
+ EAS___
+ MIC_EINSDG
+ EFS___
+
+
+
+
+
+
+
+ Country of Destination
+ Bestimmungsland
+
+
+ false
+ String1..3
+
+ MIC_EAVSDG
+ EASCTRYDEST
+ MIC_EINSDG
+ EFSCTRYDEST
+ DE
+
+
+
+
+
+
+
+
+
+
+
+ Type of Declaration
+ Art der Anmeldung
+
+
+ false
+ String1..1
+
+ MIC_EAVSDG
+ EASDECLARATIONTYPE
+ MIC_EINSDG
+ EFSDECLARATIONTYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Previous Document Type
+ Art des Vorpapiers
+
+
+ false
+ String1..9
+
+ MIC_EAVSDG
+ EASSHIPCERT
+ MIC_EINSDG
+ EFSSHIPCERT
+
+
+
+
+
+
+
+
+
+
+
+
+ Previous Document Number
+ Vorpapiernummer
+
+
+ false
+ String1..28
+
+ MIC_EAVSDG
+ EASSHIPCERTNO
+ MIC_EINSDG
+ EFSSHIPCERTNO
+
+
+
+
+
+
+
+
+
+
+
+
+ Customs Office of Destination
+ Zollstelle Gestellung
+
+
+ false
+ String1..8
+
+ MIC_EAVSDG
+ EASDESTCUSTOMSOFFICE
+ MIC_EINSDG
+ EFSDESTCUSTOMSOFFICE
+
+
+
+
+
+
+
+
+
+
+
+
+ Carrier Number
+ Spediteur Nr.
+
+
+ false
+ String1..20
+
+ MIC_EAVSDG
+ EASSPEDNR
+ MIC_EINSDG
+ EFSSPEDNR
+
+
+
+
+
+
+
+
+
+
+
+
+ Created by
+ Erstellt von
+
+
+ false
+ String1..12
+
+ MIC_EAVSDG
+ EASCREUSER
+ MIC_EINSDG
+ EFSCREUSER
+
+
+
+
+
+
+
+ Created on
+ Erstellt am
+
+
+ false
+ Xs:datetime
+
+ MIC_EAVSDG
+ EASCREDAT
+ MIC_EINSDG
+ EFSCREDAT
+
+
+
+
+
+
+
+ Modified by
+ Geaendert von
+
+
+ false
+ String1..12
+
+ MIC_EAVSDG
+ EASUSER
+ MIC_EINSDG
+ EFSUSER
+
+
+
+
+
+
+
+ Modified on
+ Geaendert am
+
+
+ false
+ Xs:datetime
+
+ MIC_EAVSDG
+ EASUSEDAT
+ MIC_EINSDG
+ EFSUSEDAT
+
+
+
+
+
+
+
+ Supervising customs office
+ Ueberwachungszollstelle
+
+
+ false
+ String1..8
+
+ MIC_EAVSDG
+ EASSUPERVISINGCUSTOMSOFFICE
+ MIC_EINSDG
+ EFSSUPERVISINGCUSTOMSOFFICE
+
+
+
+
+
+
+
+
+
+
+ Supervising customs office
+ Type of identification of transport on arrival
+
+ Art der Transportidentifikation bei Ankunft
+
+ false
+ String1..2
+
+ MIC_EAVSDG
+ EASVKZINIDENTIFICATIONTYPE
+ MIC_EINSDG
+ EFSVKZINIDENTIFICATIONTYPE
+
+
+
+
+
+
+
+
+
+
+
+
+ Authorisation holders
+
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+ Attribute as name/value pair
+
+
+
+ true
+
+
+ MIC_CUST_WB_EU_AUTH_HOLDER
+
+ MIC_CUST_EU_AUTH_HOLDER
+
+
+
+
+
+
+
+
+
+
+ Deferment accounts
+
+
+
+ false
+
+ 0-1
+
+
+
+
+
+
+
+
+
+
+
+ Attribute as name/value pair
+
+
+
+ true
+
+
+ MIC_CUST_WB_DEFER_ACCOUNT
+
+ MIC_CUST_UK_DEFER_ACCOUNT
+
+
+
+
+
+
+
+
+
+
+ Guarantees
+
+
+
+ false
+
+ 0-n
+
+
+
+
+
+
+
+
+
+
+
+ Attribute as name/value pair
+
+
+
+ true
+
+
+ MIC_CUST_WB_GUARANTEE
+
+ MIC_CUST_GUARANTEE
+
+
+
+
+
+
+
+
+
+ Authorisation holder type
+
+
+
+
+
+ Authorisation type code
+ Bewilligungsart-Code
+
+
+ true
+ String1..4
+
+ MIC_CUST_WB_EU_AUTH_HOLDER
+ WBATYPECD
+ MIC_CUST_EU_AUTH_HOLDER
+ AUHTYP
+
+
+
+
+
+
+
+
+
+
+ Identifier/EORI of authorisation holder
+ Identifikation
+
+
+ true
+ String1..17
+
+ MIC_CUST_WB_EU_AUTH_HOLDER
+ WBAID
+ MIC_CUST_EU_AUTH_HOLDER
+ AUHID
+
+
+
+
+
+
+
+
+
+
+
+ Deferment account type
+
+
+
+
+
+ First deferment account number
+ Erstes Aufschubkonto
+
+
+ false
+ String1..35
+
+ MIC_CUST_WB_DEFER_ACCOUNT
+ WBDDEFERMENTACCOUNTNO1
+ MIC_CUST_UK_DEFER_ACCOUNT
+ DANDEFERMENTACCOUNTNO1
+
+
+
+
+
+
+
+
+
+
+ Identifier/EORI of authorisation holder
+ Zweites Aufschubkonto
+
+
+ false
+ String1..35
+
+ MIC_CUST_WB_DEFER_ACCOUNT
+ WBDDEFERMENTACCOUNTNO2
+ MIC_CUST_UK_DEFER_ACCOUNT
+ DANDEFERMENTACCOUNTNO2
+
+
+
+
+
+
+
+
+
+
+
+ Guarantee type
+
+
+
+
+
+ Guarantee reference number
+ Garantiereferenznummer
+
+
+ false
+ String1..38
+
+ MIC_CUST_WB_GUARANTEE
+ WBGGRN
+ MIC_CUST_GUARANTEE
+ GUAGRN
+
+
+
+
+
+
+
+
+
+
+ GRN code
+ GRN Zugangscode
+
+
+ false
+ String1..4
+
+ MIC_CUST_WB_GUARANTEE
+ WBGCODE
+ MIC_CUST_GUARANTEE
+ GUACODE
+
+
+
+
+
+
+
+
+
+
+ Guarantee type
+ Sicherheitsart
+
+
+ false
+ String1..1
+
+ MIC_CUST_WB_GUARANTEE
+ WBGTYPE
+ MIC_CUST_GUARANTEE
+ GUATYPE
+
+
+
+
+
+
+
+
+
+
+ Guarantee amount
+ Sicherheitsbetrag
+
+
+ false
+ Decimal(16,2)
+
+ MIC_CUST_WB_GUARANTEE
+ WBGAMOUNT
+ MIC_CUST_GUARANTEE
+ GUAAMOUNT
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Guarantee amount currency
+ Sicherheitsbetragswaehrung
+
+
+ false
+ String1..3
+
+ MIC_CUST_WB_GUARANTEE
+ WBGCUR
+ MIC_CUST_GUARANTEE
+ GUACUR
+
+
+
+
+
+
+
+
+
+
+ Other guarantee number
+ Alternative Referenz
+
+
+ false
+ String1..35
+
+ MIC_CUST_WB_GUARANTEE
+ WBGREFERENCE
+ MIC_CUST_GUARANTEE
+ GUAREFERENCE
+
+
+
+
+
+
+
+
+
+
+ Customs office of guarantee
+ Zollstelle (Sicherheit)
+
+
+ false
+ String1..8
+
+ MIC_CUST_WB_GUARANTEE
+ WBGCUSTOMSOFFICE
+ MIC_CUST_GUARANTEE
+ GUACUSTOMSOFFICE
+
+
+
+
+
+
+
+
+
+
+ Guarantee Local Base
+ Basis in Mandantenwaehrung
+
+
+ false
+ Decimal(16,2)
+
+ MIC_CUST_WB_GUARANTEE
+ WBGLOCALBASE
+ MIC_CUST_GUARANTEE
+ GUALOCALBASE
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Guarantee Factoring Base
+ Aliquotierungsbasis
+
+
+ false
+ String1..1
+
+ MIC_CUST_WB_GUARANTEE
+ WBGFACTORINGBASE
+ MIC_CUST_GUARANTEE
+ GUAFACTORINGBASE
+
+
+
+
+
+
+
+
+
+
+ Guarantee Customs Rate
+ Zollsatz
+
+
+ false
+ Decimal(18,6)
+
+ MIC_CUST_WB_GUARANTEE
+ WBGCUSTOMSRATE
+ MIC_CUST_GUARANTEE
+ GUACUSTOMSRATE
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MIC_Worker_lib/MIC/Import/MicErrorWarningMessage.xsd b/MIC_Worker_lib/MIC/Import/MicErrorWarningMessage.xsd
new file mode 100644
index 0000000..6388a3d
--- /dev/null
+++ b/MIC_Worker_lib/MIC/Import/MicErrorWarningMessage.xsd
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Warning message used for all occurred warnings and minor exceptions
+
+
+
+
+ Error message used for all occurred exceptions
+
+
+
+
+ Fault message used for all occurred fault exceptions
+
+
+
+
+ Contains details to an error message
+
+
+
+
+
+ Stacktrace from Exception
+
+
+
+
+ Additional error details
+
+
+
+
+
+
+
+
+
+
+
+ General error type used for error messages
+
+
+
+
+ MIC Module where the error occured
+
+
+
+
+ Process inside the MIC module where the error occured
+
+
+
+
+ Error code to identify error
+
+
+
+
+ Description of the occurred exception
+
+
+
+
+
+ More detailed information about the error
+
+
+
+
+
+
+
+
+ MIC company
+
+
+
+
+ MIC plant
+
+
+
+
+ Unique reference number generated in MIC
+
+
+
+
+
+
+
+
+
+ Reference type used in MIC
+
+
+
+
+ Reference sid used MIC
+
+
+
+
+ MIC user
+
+
+
+
+ Partner ID used in MIC
+
+
+
+
+ ID of route where error is occurred
+
+
+
+
+
diff --git a/MIC_Worker_lib/MIC/Import/MicMetaCustImportShipment.xsd b/MIC_Worker_lib/MIC/Import/MicMetaCustImportShipment.xsd
new file mode 100644
index 0000000..29e916a
--- /dev/null
+++ b/MIC_Worker_lib/MIC/Import/MicMetaCustImportShipment.xsd
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+ Message for inserting MIC CUST ImportShipment
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MIC request message
+
+
+
+
+
+
+
+
diff --git a/MIC_Worker_lib/MIC/Import/MicMetadata.xsd b/MIC_Worker_lib/MIC/Import/MicMetadata.xsd
new file mode 100644
index 0000000..467837c
--- /dev/null
+++ b/MIC_Worker_lib/MIC/Import/MicMetadata.xsd
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+ Details of the connection to the ERP-System
+
+
+
+
+
+ The partner ID is a unique ID provided by the MIC-System and classify the ERP-System of the customer. This information is given by MIC.
+
+
+
+
+ Creation date/time of the message in the ERP-System
+
+
+
+
+
+
+ Action Requested for automatic processing
+
+
+
+
+ Action code for automatic processing
+
+
+
+
+
+
+
+
+
+
+ additional parameters
+
+
+
+
+
+
+
+
+
+
+ MIC Interface Message Envelope: description of the single message
+
+
+
+
+ Unique Message ID
+
+
+
+
+ Party ID is used as a separations of departments or single message groups
+
+
+
+
+ Unique Identifier of a transaction (declaration) e.g. MRN or LRN
+
+
+
+
+ Running number of the transaction Id
+
+
+
+
+ The ActionCode definies the autmoatic process in the MIC-Application.
+
+
+
+
+
+
+ Status message with Metadata and MessageDetail
+
+
+
+
+
+
+
+ Set of Messages
+
+
+
+
+
+
+
+ Status response message used for synchronous answers
+
+
+
+
+ Set of Messages
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Unique reference number generated in MIC
+
+
+
+
+
+
+
+
+
+ MIC company
+
+
+
+
+ MIC plant
+
+
+
+
+ Reference type used in MIC
+
+
+
+
+ Reference sid used MIC
+
+
+
+
+
+
+ Envelope:Unique transaction ID used for communication with EDIS webservice
+
+
+
+
+
+
+
+ Envelope:running count
+
+
+
+
+
+ envelope:Unique Message ID used for communication in message envelope
+
+
+
+
+
+
+
+
+ Envelope: communication pary
+
+
+
+
+
+
+
+
+ Envelope: communication partner
+
+
+
+
+
+
+
+
+ Connection ID of the MIC-Webservice
+
+
+
+
+
+
+
diff --git a/MIC_Worker_lib/MIC_Worker_lib.vbproj b/MIC_Worker_lib/MIC_Worker_lib.vbproj
new file mode 100644
index 0000000..3f74b38
--- /dev/null
+++ b/MIC_Worker_lib/MIC_Worker_lib.vbproj
@@ -0,0 +1,119 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {60833DC6-70ED-450A-B51F-4A953E67ADA0}
+ Library
+ MIC_Worker_lib
+ MIC_Worker_lib
+ 512
+ Windows
+ v4.7
+ true
+
+
+ true
+ full
+ true
+ true
+ bin\Debug\
+ MIC_Worker_lib.xml
+ 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
+
+
+ pdbonly
+ false
+ true
+ true
+ bin\Release\
+ MIC_Worker_lib.xml
+ 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
+
+
+ On
+
+
+ Binary
+
+
+ Off
+
+
+ On
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+ Application.myapp
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+ VbMyResourcesResXFileCodeGenerator
+ Resources.Designer.vb
+ My.Resources
+ Designer
+
+
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ MyApplicationCodeGenerator
+ Application.Designer.vb
+
+
+ SettingsSingleFileGenerator
+ My
+ Settings.Designer.vb
+
+
+
+
\ No newline at end of file
diff --git a/MIC_Worker_lib/My Project/Application.Designer.vb b/MIC_Worker_lib/My Project/Application.Designer.vb
new file mode 100644
index 0000000..88dd01c
--- /dev/null
+++ b/MIC_Worker_lib/My Project/Application.Designer.vb
@@ -0,0 +1,13 @@
+'------------------------------------------------------------------------------
+'
+' This code was generated by a tool.
+' Runtime Version:4.0.30319.42000
+'
+' Changes to this file may cause incorrect behavior and will be lost if
+' the code is regenerated.
+'
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+
diff --git a/MIC_Worker_lib/My Project/Application.myapp b/MIC_Worker_lib/My Project/Application.myapp
new file mode 100644
index 0000000..758895d
--- /dev/null
+++ b/MIC_Worker_lib/My Project/Application.myapp
@@ -0,0 +1,10 @@
+
+
+ false
+ false
+ 0
+ true
+ 0
+ 1
+ true
+
diff --git a/MIC_Worker_lib/My Project/AssemblyInfo.vb b/MIC_Worker_lib/My Project/AssemblyInfo.vb
new file mode 100644
index 0000000..a5b24c3
--- /dev/null
+++ b/MIC_Worker_lib/My Project/AssemblyInfo.vb
@@ -0,0 +1,35 @@
+Imports System
+Imports System.Reflection
+Imports System.Runtime.InteropServices
+
+' Allgemeine Informationen über eine Assembly werden über die folgenden
+' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
+' die einer Assembly zugeordnet sind.
+
+' Werte der Assemblyattribute überprüfen
+
+
+
+
+
+
+
+
+
+
+'Die folgende GUID wird für die typelib-ID verwendet, wenn dieses Projekt für COM verfügbar gemacht wird.
+
+
+' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
+'
+' Hauptversion
+' Nebenversion
+' Buildnummer
+' Revision
+'
+' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
+' indem Sie "*" wie unten gezeigt eingeben:
+'
+
+
+
diff --git a/MIC_Worker_lib/My Project/Resources.Designer.vb b/MIC_Worker_lib/My Project/Resources.Designer.vb
new file mode 100644
index 0000000..78a02c4
--- /dev/null
+++ b/MIC_Worker_lib/My Project/Resources.Designer.vb
@@ -0,0 +1,62 @@
+'------------------------------------------------------------------------------
+'
+' This code was generated by a tool.
+' Runtime Version:4.0.30319.42000
+'
+' Changes to this file may cause incorrect behavior and will be lost if
+' the code is regenerated.
+'
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+
+
+Namespace My.Resources
+
+ 'This class was auto-generated by the StronglyTypedResourceBuilder
+ 'class via a tool like ResGen or Visual Studio.
+ 'To add or remove a member, edit your .ResX file then rerun ResGen
+ 'with the /str option, or rebuild your VS project.
+ '''
+ ''' A strongly-typed resource class, for looking up localized strings, etc.
+ '''
+ _
+ Friend Module Resources
+
+ Private resourceMan As Global.System.Resources.ResourceManager
+
+ Private resourceCulture As Global.System.Globalization.CultureInfo
+
+ '''
+ ''' Returns the cached ResourceManager instance used by this class.
+ '''
+ _
+ Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
+ Get
+ If Object.ReferenceEquals(resourceMan, Nothing) Then
+ Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("MIC_Worker_lib.Resources", GetType(Resources).Assembly)
+ resourceMan = temp
+ End If
+ Return resourceMan
+ End Get
+ End Property
+
+ '''
+ ''' Overrides the current thread's CurrentUICulture property for all
+ ''' resource lookups using this strongly typed resource class.
+ '''
+ _
+ Friend Property Culture() As Global.System.Globalization.CultureInfo
+ Get
+ Return resourceCulture
+ End Get
+ Set(ByVal value As Global.System.Globalization.CultureInfo)
+ resourceCulture = value
+ End Set
+ End Property
+ End Module
+End Namespace
diff --git a/MIC_Worker_lib/My Project/Resources.resx b/MIC_Worker_lib/My Project/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/MIC_Worker_lib/My Project/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/MIC_Worker_lib/My Project/Settings.Designer.vb b/MIC_Worker_lib/My Project/Settings.Designer.vb
new file mode 100644
index 0000000..8b35ae2
--- /dev/null
+++ b/MIC_Worker_lib/My Project/Settings.Designer.vb
@@ -0,0 +1,73 @@
+'------------------------------------------------------------------------------
+'
+' This code was generated by a tool.
+' Runtime Version:4.0.30319.42000
+'
+' Changes to this file may cause incorrect behavior and will be lost if
+' the code is regenerated.
+'
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+
+
+Namespace My
+
+ _
+ Partial Friend NotInheritable Class MySettings
+ Inherits Global.System.Configuration.ApplicationSettingsBase
+
+ Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
+
+#Region "My.Settings Auto-Save Functionality"
+#If _MyType = "WindowsForms" Then
+ Private Shared addedHandler As Boolean
+
+ Private Shared addedHandlerLockObject As New Object
+
+ _
+ Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
+ If My.Application.SaveMySettingsOnExit Then
+ My.Settings.Save()
+ End If
+ End Sub
+#End If
+#End Region
+
+ Public Shared ReadOnly Property [Default]() As MySettings
+ Get
+
+#If _MyType = "WindowsForms" Then
+ If Not addedHandler Then
+ SyncLock addedHandlerLockObject
+ If Not addedHandler Then
+ AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
+ addedHandler = True
+ End If
+ End SyncLock
+ End If
+#End If
+ Return defaultInstance
+ End Get
+ End Property
+ End Class
+End Namespace
+
+Namespace My
+
+ _
+ Friend Module MySettingsProperty
+
+ _
+ Friend ReadOnly Property Settings() As Global.MIC_Worker_lib.My.MySettings
+ Get
+ Return Global.MIC_Worker_lib.My.MySettings.Default
+ End Get
+ End Property
+ End Module
+End Namespace
diff --git a/MIC_Worker_lib/My Project/Settings.settings b/MIC_Worker_lib/My Project/Settings.settings
new file mode 100644
index 0000000..85b890b
--- /dev/null
+++ b/MIC_Worker_lib/My Project/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/initATLASAufschubkonten/VERAG_Interface/cVERAG_out_ncts.vb b/initATLASAufschubkonten/VERAG_Interface/cVERAG_out_ncts.vb
index 9accce7..42869ee 100644
--- a/initATLASAufschubkonten/VERAG_Interface/cVERAG_out_ncts.vb
+++ b/initATLASAufschubkonten/VERAG_Interface/cVERAG_out_ncts.vb
@@ -418,8 +418,8 @@
Select Case GRN
Case "15TR0004000020917", "12TR0004000004665", "17TR0004000032349", "17TR0004000029518"
If cVERAG_Interface_Settings.acticeInterface_TOBB Then IF_Obj.Add(New cVERAG_InterfaceSharedObjects("\\ftps.verag.ag\FTP\TOBB\OUT\", "TOBB"))
- Case "18DE0000000073276", "19DE0000000075520", "18DE0000000075520"
- If cVERAG_Interface_Settings.acticeInterface_OREGON Then IF_Obj.Add(New cVERAG_InterfaceSharedObjects("\\ftps.verag.ag\FTP\OREGON\OUT\", "OREGON"))
+ Case "18DE0000000073276", "19DE0000000075520", "18DE0000000075520", "15TR0004000020500"
+ If cVERAG_Interface_Settings.acticeInterface_OREGON Then IF_Obj.Add(New cVERAG_InterfaceSharedObjects("\\ftps.verag.ag\FTP\OREGON\OUT\", " "))
Case "17DE0000000071678", "05AT510000G000FP7" 'VERAG
If cVERAG_Interface_Settings.acticeInterface_VERAG Then IF_Obj.Add(New cVERAG_InterfaceSharedObjects(VERAG_PROG_ALLGEMEIN.DATENVERVER_OPTIONS.getRootDir() & "DAKOSY\ECHTSYSTEM\FTP\VERAG\", "VERAG"))
Case "16AT520000G000VA6" 'IMEX
diff --git a/initATLASAufschubkonten/cGetMsgType.vb b/initATLASAufschubkonten/cGetMsgType.vb
index cf487e4..ed0a89a 100644
--- a/initATLASAufschubkonten/cGetMsgType.vb
+++ b/initATLASAufschubkonten/cGetMsgType.vb
@@ -505,6 +505,13 @@ Public Class cGetMsgType
End If
Return False
End Function
+ Shared Function isPLOSE_Header(doc As String) As Boolean
+ Dim lines() As String = IO.File.ReadAllLines(doc)
+ If lines(0).ToString.StartsWith("TR6") Then
+ Return True
+ End If
+ Return False
+ End Function
End Class
diff --git a/initATLASAufschubkonten/frmDYNachrichtenVerarbeitung.vb b/initATLASAufschubkonten/frmDYNachrichtenVerarbeitung.vb
index f1abd29..b9f7d43 100644
--- a/initATLASAufschubkonten/frmDYNachrichtenVerarbeitung.vb
+++ b/initATLASAufschubkonten/frmDYNachrichtenVerarbeitung.vb
@@ -5584,22 +5584,29 @@ Public Class frmDYNachrichtenVerarbeitung
ABGABEN.Übernahmedatum = Now
ABGABEN.Eingabedatum = regDat
+
If If(ABGABEN.Bezugsnummer, "").ToString.Length > 35 Then ABGABEN.Bezugsnummer = ABGABEN.Bezugsnummer.ToString.Substring(0, 35)
If If(ABGABEN.Registriernummer, "").ToString.Length > 21 Then ABGABEN.Registriernummer = ABGABEN.Registriernummer.ToString.Substring(0, 21)
- Dim errHInweis = "ATC: " & ABGABEN.Registriernummer & " - BezugsNr: " & ABGABEN.Bezugsnummer
- ABGABEN.SAVE(errHInweis)
- Select Case CInt(A.AufschubkontoNr)
- Case 6128 : tryToInsertProgramm(ABGABEN.Eingabedatum, ABGABEN.Betrag, 1, EDIFACTNachrichtenNr, ABGABEN.Registriernummer, 0)
- Case 2718 : tryToInsertProgramm(ABGABEN.Eingabedatum, ABGABEN.Betrag, 8, EDIFACTNachrichtenNr, ABGABEN.Registriernummer, 0)
+ If Not VERAG_PROG_ALLGEMEIN.cAbgaben.EXISTS(ABGABEN.LeistungsNr, ABGABEN.Betrag, ABGABEN.Registriernummer, ABGABEN.AOFD, ABGABEN.AKTO, ABGABEN.Fälligkeitsdatum) Then
- 'Case 2718 : VERAG_PROG_ALLGEMEIN.cProgramFunctions.sendMailTEST("al@verag.ag", "AUFSCHUB IMEX: " & ABGABEN.Betrag, "AUFSCHUB IMEX: " & ABGABEN.Betrag & vbNewLine & ABGABEN.Bezugsnummer)
- End Select
+ Dim errHInweis = "ATC: " & ABGABEN.Registriernummer & " - BezugsNr: " & ABGABEN.Bezugsnummer
+ ABGABEN.SAVE(errHInweis)
+
+ 'Aufschub - Überwachung:
+ Select Case CInt(A.AufschubkontoNr)
+ Case 6128 : tryToInsertProgramm(ABGABEN.Eingabedatum, ABGABEN.Betrag, 1, EDIFACTNachrichtenNr, ABGABEN.Registriernummer, 0)
+ Case 2718 : tryToInsertProgramm(ABGABEN.Eingabedatum, ABGABEN.Betrag, 8, EDIFACTNachrichtenNr, ABGABEN.Registriernummer, 0)
+
+ 'Case 2718 : VERAG_PROG_ALLGEMEIN.cProgramFunctions.sendMailTEST("al@verag.ag", "AUFSCHUB IMEX: " & ABGABEN.Betrag, "AUFSCHUB IMEX: " & ABGABEN.Betrag & vbNewLine & ABGABEN.Bezugsnummer)
+ End Select
- If CInt(A.AufschubkontoNr) = 6128 Then 'Nur bei ZOLL ' --> TEST: Or CInt(A.AufschubkontoNr) = 678010
- AtlasAufschubDatenEinlesen.tryToInsertProgramm(regDat, A.Abgabenbetrag, "1", "DY", regNr, "")
+ If CInt(A.AufschubkontoNr) = 6128 Then 'Nur bei ZOLL ' --> TEST: Or CInt(A.AufschubkontoNr) = 678010
+ AtlasAufschubDatenEinlesen.tryToInsertProgramm(regDat, A.Abgabenbetrag, "1", "DY", regNr, "")
+ End If
+
End If
End If
diff --git a/initATLASAufschubkonten/frmMDMNachrichtenVerarbeitung.vb b/initATLASAufschubkonten/frmMDMNachrichtenVerarbeitung.vb
index 86b59ef..4c481f8 100644
--- a/initATLASAufschubkonten/frmMDMNachrichtenVerarbeitung.vb
+++ b/initATLASAufschubkonten/frmMDMNachrichtenVerarbeitung.vb
@@ -269,7 +269,7 @@ Public Class frmMDMNachrichtenVerarbeitung
If True Then
' Temp.DownloadPfad
- Dim destFilenameTMP = VERARBEITUNGS_PFAD + "." & If(IO.File.Exists(VERARBEITUNGS_PFAD & "." & name), Now.ToString("yyMMdd_HHmmss.fff_"), "") & name
+ Dim destFilenameTMP = VERARBEITUNGS_PFAD & "." & If(IO.File.Exists(VERARBEITUNGS_PFAD & "." & name), name.Replace(".csv", "_") & Now.ToString("yyMMdd_HHmmss.fff") & ".csv", name)
Dim downloadRequest As FtpWebRequest = WebRequest.Create(fileUrl)
downloadRequest.Method = WebRequestMethods.Ftp.DownloadFile
@@ -291,7 +291,7 @@ Public Class frmMDMNachrichtenVerarbeitung
targetStream.Dispose()
downloadResponse.Dispose()
- Dim destFilename = VERARBEITUNGS_PFAD & If(IO.File.Exists(VERARBEITUNGS_PFAD & name), Now.ToString("yyMMdd_HHmmss.fff_"), "") & name
+ Dim destFilename = VERARBEITUNGS_PFAD & "." & If(IO.File.Exists(VERARBEITUNGS_PFAD & "." & name), name.Replace(".csv", "_") & Now.ToString("yyMMdd_HHmmss.fff") & ".csv", name)
IO.File.Move(destFilenameTMP, destFilename) 'Datei umbenennen
@@ -442,77 +442,70 @@ Public Class frmMDMNachrichtenVerarbeitung
Exit Sub
End If
- For Each d In System.IO.Directory.GetFiles(VERARBEITUNGS_PFAD)
- Try
- Dateiname = d
- cWorker_NCTS.Dateiname = d
- If IO.File.Exists(d) Then
- Dim found = False
- Dim fi As FileInfo = New FileInfo(d)
+ For i = 1 To 3
- ' EDIFACT
- ' If fi.Extension = ".edi" Then
- Dim alreadyMoved = False
- If fi.Extension.ToLower = ".xml" Then
- Dim xmlWriterSettings As XmlWriterSettings = New XmlWriterSettings With {.Encoding = System.Text.Encoding.UTF8, .CheckCharacters = True}
+ For Each d In System.IO.Directory.GetFiles(VERARBEITUNGS_PFAD)
+ Try
+ Dateiname = d
+ cWorker_NCTS.Dateiname = d
+ If IO.File.Exists(d) Then
+ Dim found = False
+ Dim fi As FileInfo = New FileInfo(d)
- Dim doc As New XmlDocument()
- Dim XML_Code = System.IO.File.ReadAllText(d, System.Text.UTF8Encoding.Default)
+ ' EDIFACT
+ ' If fi.Extension = ".edi" Then
+ Dim alreadyMoved = False
- doc.LoadXml(SanitizeXmlString(XML_Code))
- Dim VERSION As String = ""
+ If fi.Extension.ToLower = ".csv" Then
+
+ '------------------------------------------------------------------------------------------------------------------------------
+ ' PLOSE
+ '------------------------------------------------------------------------------------------------------------------------------
- '------------------------------------------------------------------------------------------------------------------------------
- ' eZOLL
- '------------------------------------------------------------------------------------------------------------------------------
+ '------------------------------------------
+ '------------------ DETAIL ------------------
+ '------------------------------------------
+ Select Case i
+ Case 1
+ 'TC: Versandbestätigung
+ If Not found And cGetMsgType.isPLOSE_Detail(d) Then
+ If readPLOSE_Detail(d) <> "" Then found = True
+ ' If bezugsNr <> "" Then addDGVEinarbeitung("NCTS: Versandbestätigung", bezugsNr) : found = True
+ End If
+ If found Then cntDatenEingelesen += 1
+ Case 2
+ 'TC: Versandbestätigung
+ If Not found And cGetMsgType.isPLOSE_Header(d) Then
+ If readPLOSE_Header(d) <> "" Then found = True
+ ' If bezugsNr <> "" Then addDGVEinarbeitung("NCTS: Versandbestätigung", bezugsNr) : found = True
+ End If
+ If found Then cntDatenEingelesen += 1
+ Case 3
+ frmStartOptions.moveFile_DateBack(d, ERROR_PFAD)
+ dsNichtErkannt += 1
+ End Select
- '------------------------------------------
- '------------------ Anmeldung ------------------
- '------------------------------------------
- 'TC: Versandbestätigung
- 'If Not found And cGetMsgType.isTC_Anmeldung(doc) Then
- ' If readTC_Anmeldung(doc, d) <> "" Then found = True
- ' ' If bezugsNr <> "" Then addDGVEinarbeitung("NCTS: Versandbestätigung", bezugsNr) : found = True
- 'End If
- ElseIf fi.Extension.ToLower = ".csv" Then
-
- '------------------------------------------------------------------------------------------------------------------------------
- ' PLOSE
- '------------------------------------------------------------------------------------------------------------------------------
-
-
- '------------------------------------------
- '------------------ DETAIL ------------------
- '------------------------------------------
- 'TC: Versandbestätigung
- If Not found And cGetMsgType.isPLOSE_Detail(d) Then
- If readPLOSE_Detail(d) <> "" Then found = True
- ' If bezugsNr <> "" Then addDGVEinarbeitung("NCTS: Versandbestätigung", bezugsNr) : found = True
End If
- End If
-
- If True Then
- If Not alreadyMoved Then
- If found Then
- If Not IO.Directory.Exists(ZIEL_PFAD & Now.Year & "\" & Now.ToString("yyyyMMdd") & "\") Then IO.Directory.CreateDirectory(ZIEL_PFAD & Now.Year & "\" & Now.ToString("yyyyMMdd") & "\")
- frmStartOptions.moveFile(d, ZIEL_PFAD & Now.Year & "\" & Now.ToString("yyyyMMdd") & "\")
- Else
- frmStartOptions.moveFile(d, ERROR_PFAD)
+ If True Then
+ If Not alreadyMoved Then
+ If found Then
+ If Not IO.Directory.Exists(ZIEL_PFAD & Now.Year & "\" & Now.ToString("yyyyMMdd") & "\") Then IO.Directory.CreateDirectory(ZIEL_PFAD & Now.Year & "\" & Now.ToString("yyyyMMdd") & "\")
+ frmStartOptions.moveFile_DateBack(d, ZIEL_PFAD & Now.Year & "\" & Now.ToString("yyyyMMdd") & "\")
+ End If
End If
End If
- End If
+ Me.Refresh()
- Me.Refresh()
- If found Then cntDatenEingelesen += 1 Else dsNichtErkannt += 1
- End If
- Catch ex As Exception
- VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace & vbNewLine & "Datei: " & Dateiname, System.Reflection.MethodInfo.GetCurrentMethod.Name)
- End Try
+ End If
+ Catch ex As Exception
+ VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace & vbNewLine & "Datei: " & Dateiname, System.Reflection.MethodInfo.GetCurrentMethod.Name)
+ End Try
+ Next
Next
End Sub
@@ -572,55 +565,62 @@ Public Class frmMDMNachrichtenVerarbeitung
Try
currentRow = MyReader.ReadFields()
+ Dim fi As FileInfo = New FileInfo(d)
+ If fi.Name.Length > 8 Then
+ Dim plose_RechnungsNr = fi.Name.Substring(0, 8)
- If currentRow.Length > 24 AndAlso currentRow(12) <> "839160" Then 'KDNR <> VERAG --> Die Kosten bleiben uns
- Dim PLOSE As New MDM_Worker.cPLOSE
- PLOSE.plose_Datensatztyp = SQL.isleernothing(currentRow(0))
- PLOSE.plose_KodexMautTankstelle = SQL.isleernothing(currentRow(1))
- PLOSE.plose_BeschreibungMautTankstelle = SQL.isleernothing(currentRow(2))
- PLOSE.plose_KodexEinfahrt = SQL.isleernothing(currentRow(3))
- PLOSE.plose_BeschreibungEinfahrt = SQL.isleernothing(currentRow(4))
- PLOSE.plose_KodexAusfahrt = SQL.isleernothing(currentRow(5))
- PLOSE.plose_BeschreibungAusfahrt = SQL.isleernothing(currentRow(6))
- PLOSE.plose_Kartenkodex = SQL.isleernothing(currentRow(7))
- PLOSE.plose_Kontonummer = SQL.isleernothing(currentRow(8))
- PLOSE.plose_NummerKarteGeraet = SQL.isleernothing(currentRow(9))
- PLOSE.plose_Kennzeichen = SQL.isleernothing(currentRow(10))
- PLOSE.plose_InterneNrFahrzeug = SQL.isleernothing(currentRow(11))
- PLOSE.plose_POLSEKundennummer = SQL.isleernothing(currentRow(12))
- PLOSE.plose_Firmenname = SQL.isleernothing(currentRow(13))
- PLOSE.plose_DatumTransaktion = SQL.isleernothingDateFormatstring(currentRow(14))
- PLOSE.plose_Produktbeschreibung = SQL.isleernothing(currentRow(15))
- PLOSE.plose_Menge = SQL.isNullNothingDbl(currentRow(16))
- PLOSE.plose_Preis = SQL.isNullNothingDbl(currentRow(17))
- PLOSE.Einheitsrabatt = SQL.isleernothing(currentRow(18))
- PLOSE.plose_NettobetragTransaktion = SQL.isNullNothingDbl(currentRow(19))
- PLOSE.plose_MWSTBetrag = SQL.isNullNothingDbl(currentRow(20))
- PLOSE.plose_BruttobetragTransaktion = SQL.isNullNothingDbl(currentRow(21))
- PLOSE.plose_NettobetragWaehrungAbbuchung = SQL.isNullNothingDbl(currentRow(22))
- PLOSE.plose_MWSTBetragWaehrungAbbuchung = SQL.isNullNothingDbl(currentRow(23))
- PLOSE.plose_BruttobetragWaehrungAbbuchung = SQL.isNullNothingDbl(currentRow(24))
- PLOSE.plose_WaehrungLandDiesntleistung = SQL.isleernothing(currentRow(25))
- PLOSE.plose_WaehrungAbbuchung = SQL.isleernothing(currentRow(26))
- PLOSE.plose_DokumentNrQuittungUhrzeit = SQL.isleernothing(currentRow(27))
- PLOSE.plose_ArtTransaktion = SQL.isleernothing(currentRow(28))
- PLOSE.plose_Fahrzeugklasse = SQL.isleernothing(currentRow(29))
- PLOSE.plose_KlassenidentifikationEURO = SQL.isleernothing(currentRow(30))
- PLOSE.plose_ProduktbeschreibungShort = SQL.isleernothing(currentRow(31))
- PLOSE.plose_DokumentNrQuittungUhrzeit = SQL.isleernothing(currentRow(32))
- PLOSE.plose_Geraetetyp = SQL.isleernothing(currentRow(33))
- PLOSE.plose_ProduktCode = SQL.isleernothing(currentRow(34))
- PLOSE.plose_ReferenzenBuchungMaut = SQL.isleernothing(currentRow(35))
+ If currentRow.Length > 24 AndAlso currentRow(12) <> "839160" Then 'KDNR <> VERAG --> Die Kosten bleiben uns
+ Dim PLOSE As New MDM_Worker.cPLOSE
- ''''''''''''
- If PLOSE.SAVE() Then
+ PLOSE.plose_Dateiname = fi.Name
+ PLOSE.plose_RechnungsNr = plose_RechnungsNr
+ PLOSE.plose_Datensatztyp = SQL.isleernothing(currentRow(0))
+ PLOSE.plose_KodexMautTankstelle = SQL.isleernothing(currentRow(1))
+ PLOSE.plose_BeschreibungMautTankstelle = SQL.isleernothing(currentRow(2))
+ PLOSE.plose_KodexEinfahrt = SQL.isleernothing(currentRow(3))
+ PLOSE.plose_BeschreibungEinfahrt = SQL.isleernothing(currentRow(4))
+ PLOSE.plose_KodexAusfahrt = SQL.isleernothing(currentRow(5))
+ PLOSE.plose_BeschreibungAusfahrt = SQL.isleernothing(currentRow(6))
+ PLOSE.plose_Kartenkodex = SQL.isleernothing(currentRow(7))
+ PLOSE.plose_Kontonummer = SQL.isleernothing(currentRow(8))
+ PLOSE.plose_NummerKarteGeraet = SQL.isleernothing(currentRow(9))
+ PLOSE.plose_Kennzeichen = SQL.isleernothing(currentRow(10))
+ PLOSE.plose_InterneNrFahrzeug = SQL.isleernothing(currentRow(11))
+ PLOSE.plose_POLSEKundennummer = SQL.isleernothing(currentRow(12))
+ PLOSE.plose_Firmenname = SQL.isleernothing(currentRow(13))
+ PLOSE.plose_DatumTransaktion = SQL.isleernothingDateFormatstring(currentRow(14))
+ PLOSE.plose_Produktbeschreibung = SQL.isleernothing(currentRow(15))
+ PLOSE.plose_Menge = SQL.isNullNothingDbl(currentRow(16))
+ PLOSE.plose_Preis = SQL.isNullNothingDbl(currentRow(17))
+ PLOSE.Einheitsrabatt = SQL.isleernothing(currentRow(18))
+ PLOSE.plose_NettobetragTransaktion = SQL.isNullNothingDbl(currentRow(19))
+ PLOSE.plose_MWSTBetrag = SQL.isNullNothingDbl(currentRow(20))
+ PLOSE.plose_BruttobetragTransaktion = SQL.isNullNothingDbl(currentRow(21))
+ PLOSE.plose_NettobetragWaehrungAbbuchung = SQL.isNullNothingDbl(currentRow(22))
+ PLOSE.plose_MWSTBetragWaehrungAbbuchung = SQL.isNullNothingDbl(currentRow(23))
+ PLOSE.plose_BruttobetragWaehrungAbbuchung = SQL.isNullNothingDbl(currentRow(24))
+ PLOSE.plose_WaehrungLandDiesntleistung = SQL.isleernothing(currentRow(25))
+ PLOSE.plose_WaehrungAbbuchung = SQL.isleernothing(currentRow(26))
+ PLOSE.plose_DokumentNrQuittungUhrzeit = SQL.isleernothing(currentRow(27))
+ PLOSE.plose_ArtTransaktion = SQL.isleernothing(currentRow(28))
+ PLOSE.plose_Fahrzeugklasse = SQL.isleernothing(currentRow(29))
+ PLOSE.plose_KlassenidentifikationEURO = SQL.isleernothing(currentRow(30))
+ PLOSE.plose_ProduktbeschreibungShort = SQL.isleernothing(currentRow(31))
+ PLOSE.plose_DokumentNrQuittungUhrzeit = SQL.isleernothing(currentRow(32))
+ PLOSE.plose_Geraetetyp = SQL.isleernothing(currentRow(33))
+ PLOSE.plose_ProduktCode = SQL.isleernothing(currentRow(34))
+ PLOSE.plose_ReferenzenBuchungMaut = SQL.isleernothing(currentRow(35))
+
+ ''''''''''''
+ If PLOSE.SAVE() Then
+
+ End If
End If
-
+ cnt += 1
End If
- cnt += 1
'For Each currentField In currentRow
'Next
@@ -661,6 +661,77 @@ Public Class frmMDMNachrichtenVerarbeitung
End Function
+ Function readPLOSE_Header(d As String) As String
+ Try
+ readPLOSE_Header = ""
+ Dim KdnR = ""
+
+ Using MyReader As New Microsoft.VisualBasic.FileIO.TextFieldParser(d, Encoding.UTF8)
+ MyReader.TextFieldType = FileIO.FieldType.Delimited
+ MyReader.SetDelimiters(";")
+ Dim currentRow As String()
+
+ Dim cnt = 0
+ If True Then
+
+ While Not MyReader.EndOfData
+ Try
+ currentRow = MyReader.ReadFields()
+
+ Dim fi As FileInfo = New FileInfo(d)
+ If fi.Name.Length > 8 Then
+ Dim plose_RechnungsNr = fi.Name.Substring(0, 8)
+ If IsNumeric(plose_RechnungsNr) AndAlso IsNumeric(currentRow(12)) Then
+ If currentRow.Length > 24 AndAlso currentRow(12) <> "839160" Then 'KDNR <> VERAG --> Die Kosten bleiben uns
+ Dim plose_RechnungsDatum = SQL.isleernothingDateFormatstring(currentRow(14))
+
+ If plose_RechnungsDatum IsNot Nothing AndAlso IsDate(plose_RechnungsDatum) Then
+ MDM_Worker.cPLOSE.UPDATE_RGDatum(plose_RechnungsDatum, plose_RechnungsNr, currentRow(12))
+ cnt += 1
+ End If
+ End If
+ End If
+ End If
+
+
+
+ Catch ex As Exception
+ VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace & vbNewLine & "Datei: " & Dateiname, System.Reflection.MethodInfo.GetCurrentMethod.Name)
+ End Try
+ End While
+
+
+ 'Label30.Text = (cnt + 1) & " / " & LineCount
+ 'Label31.Visible = True
+ readPLOSE_Header = "Zeilen: " & cnt
+ Else
+ MsgBox("FEHLER beim Löschen der vorhandenen OP-Liste.")
+ End If
+ End Using
+
+
+
+
+ Try
+ ' System.IO.File.Delete(p)
+ Catch ex As Exception
+ VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace & vbNewLine & "Datei: " & Dateiname, System.Reflection.MethodInfo.GetCurrentMethod.Name)
+ End Try
+
+ addDGVEinarbeitung("PLOSE: Header" & KdnR, readPLOSE_Header)
+
+ ' End Using
+
+ 'End If
+
+ Catch ex As Exception
+ VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace & vbNewLine & "Datei: " & Dateiname, System.Reflection.MethodInfo.GetCurrentMethod.Name)
+ MsgBox(ex.StackTrace & ex.Message)
+ readPLOSE_Header = ""
+ End Try
+ End Function
+
+
Private Sub dgvEinarbeitung_SelectionChanged(sender As Object, e As EventArgs) Handles dgvEinarbeitung.SelectionChanged
dgvEinarbeitung.ClearSelection()
diff --git a/initATLASAufschubkonten/frmStartOptions.vb b/initATLASAufschubkonten/frmStartOptions.vb
index 98728bf..d270594 100644
--- a/initATLASAufschubkonten/frmStartOptions.vb
+++ b/initATLASAufschubkonten/frmStartOptions.vb
@@ -277,6 +277,127 @@ Public Class frmStartOptions
Next
End If
End Sub
+
+ Sub doMailZollbeleg(pfad, art, dy_id)
+ Try
+
+ Dim DY As New DAKOSY_Worker.cDakosy_Zollanmeldungen(dy_id)
+ If DY.dy_SendungsId IsNot Nothing AndAlso CInt(DY.dy_SendungsId) > 0 Then
+ Dim SND As New VERAG_PROG_ALLGEMEIN.cSendungen(DY.dy_SendungsId)
+ Dim list As New List(Of Integer)
+
+ sendMailZollbeleg(pfad, SND.tblSnd_EmpfaengerKdNr, art, list, DY, SND)
+ sendMailZollbeleg(pfad, SND.tblSnd_AbsenderKdNr, art, list, DY, SND)
+ sendMailZollbeleg(pfad, SND.tblSnd_FrachtfuehrerKdNr, art, list, DY, SND)
+ sendMailZollbeleg(pfad, SND.tblSnd_AvisiererKdNr, art, list, DY, SND)
+ sendMailZollbeleg(pfad, SND.tblSnd_AuftraggeberKdNr, art, list, DY, SND)
+ End If
+
+ Catch ex As Exception
+ VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodBase.GetCurrentMethod.Name, VERAG_PROG_ALLGEMEIN.ERROR_OP.MAIL)
+
+ End Try
+ End Sub
+
+ Sub sendMailZollbeleg(pfad As String, KundenNr As Integer, art As String, ByRef list As List(Of Integer), DY As DAKOSY_Worker.cDakosy_Zollanmeldungen, SND As VERAG_PROG_ALLGEMEIN.cSendungen)
+ Try
+ If KundenNr > 0 Then
+ If Not list.Find(Function(x) x = KundenNr) Then 'nicht bereits verarbeitet
+ list.Add(KundenNr)
+ Dim pfadList As New List(Of String)
+ pfadList.Add(pfad)
+ Dim KD As New VERAG_PROG_ALLGEMEIN.cKunde(KundenNr)
+ Dim KD_ERW As New VERAG_PROG_ALLGEMEIN.cKundenErweitert(KundenNr)
+ If KD_ERW IsNot Nothing AndAlso KD IsNot Nothing AndAlso KD.EmailFreigabe Then
+ If KD_ERW.EmailFreigabe_Art = "BLG" Then
+
+ Dim Standort = "SUB"
+ Select Case SND.FilialenNr
+ Case "5501" : Standort = "IMX"
+ Case "5601" : Standort = "UNI"
+ Case "5701" : Standort = "FO"
+ Case "5801" : Standort = "AMB"
+ Case "4801" : Standort = "ATL"
+ Case "5003" : Standort = "SBG"
+ Case "5103" : Standort = "WAI"
+ Case "5303" : Standort = "NKD"
+ Case Else
+ Standort = "SUB"
+ End Select
+
+ Dim cStandorteDAL As New VERAG_PROG_ALLGEMEIN.cStandorteDAL
+
+ 'Dim gst = ""
+ 'Dim AVISO = VERAG_PROG_ALLGEMEIN.cAviso.getAvisoById(DY.dy_AvisoId)
+ 'If AVISO IsNot Nothing Then
+ ' gst = AVISO.Grenzstelle.Replace("???", "")
+ 'End If
+
+ Dim cStandort = cStandorteDAL.LesenStandort(-1, "", "SELECT * FROM Standorte WHERE Standort = '" & Standort & "'")
+ Dim FirmaTmp = VERAG_PROG_ALLGEMEIN.cAllgemein.getFirmaFromFiliale2(SND.FilialenNr)
+
+ Dim betreff = cStandort.eMail_Zollbeleg_Betreff '"Zollbeleg"
+ betreff = betreff.Replace("%LKW%", "")
+ betreff = betreff.Replace("%Standort%", "")
+ betreff = betreff.Replace("%Uhrzeit%", "")
+
+ Dim body = cStandort.eMail_Zollbeleg_Text
+
+
+ Dim EMails As String = ""
+ Dim EMails_CC As String = ""
+ Dim EMails_BCC As String = ""
+
+ Dim Emails_list_sent As New VERAG_PROG_ALLGEMEIN.cEmailBenachrichtigungList
+ VERAG_PROG_ALLGEMEIN.cEmailBenachrichtigung.eMails_einlesen(KundenNr, 2, EMails, EMails_CC, EMails_BCC, Emails_list_sent)
+ body = body.Replace("%Platzhalter%", "E-Mails: " & EMails & " CC: " & EMails_CC & " BCC:" & EMails_BCC)
+
+ EMails = "al@verag.ag"
+ EMails_CC = ""
+ EMails_BCC = ""
+
+ Select Case art
+ Case "STB"
+ If KD_ERW.EmailFreigabe_SteuerbescheidPDF Then
+ betreff = betreff.Replace("%Zollbeleg%", "Abgabenbescheid " & DY.dy_BezugsNr)
+ VERAG_PROG_ALLGEMEIN.cProgramFunctions.sendMail(EMails, betreff, body, getAbsenderEmail(FirmaTmp), False, False, EMails_CC, EMails_BCC, pfadList)
+ End If
+ Case "VBD"
+ If KD_ERW.EmailFreigabe_VBDPDF Then
+ betreff = betreff.Replace("%Zollbeleg%", "Versandbegleitdokument " & DY.dy_BezugsNr)
+ VERAG_PROG_ALLGEMEIN.cProgramFunctions.sendMail(EMails, betreff, body, getAbsenderEmail(FirmaTmp), False, False, EMails_CC, EMails_BCC, pfadList)
+ End If
+ Case "ABD"
+ If KD_ERW.EmailFreigabe_SteuerbescheidPDF Then
+ betreff = betreff.Replace("%Zollbeleg%", "Ausfuhrbegleitdokument " & DY.dy_BezugsNr)
+ VERAG_PROG_ALLGEMEIN.cProgramFunctions.sendMail(EMails, betreff, body, getAbsenderEmail(FirmaTmp), False, False, EMails_CC, EMails_BCC, pfadList)
+ End If
+ Case "AVM"
+ If KD_ERW.EmailFreigabe_SteuerbescheidPDF Then
+ betreff = betreff.Replace("%Zollbeleg%", "Ausgangsvermerk " & DY.dy_BezugsNr)
+ VERAG_PROG_ALLGEMEIN.cProgramFunctions.sendMail(EMails, betreff, body, getAbsenderEmail(FirmaTmp), False, False, EMails_CC, EMails_BCC, pfadList)
+ End If
+ End Select
+
+ End If
+ End If
+ End If
+ End If
+ Catch ex As Exception
+ VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodBase.GetCurrentMethod.Name, VERAG_PROG_ALLGEMEIN.ERROR_OP.MAIL)
+
+ End Try
+ End Sub
+
+ Public Shared Function getAbsenderEmail(Optional FirmaTmp = "") As String
+ Select Case If(FirmaTmp = "", VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA, FirmaTmp)
+ Case "IMEX" : Return "noreply@imex-group.at"
+ Case "ATILLA" : Return "noreply@verag.ag"
+ Case "UNISPED" : Return "No-Reply@unisped.at"
+ Case "FRONTOFFICE" : Return "noreply@front-office.eu"
+ Case Else : Return "noreply@verag.ag"
+ End Select
+ End Function
Sub importFileFromDyMailAnhang(pfad, betreff)
@@ -318,6 +439,7 @@ Public Class frmStartOptions
If IsNumeric(dy_id) AndAlso dy_id > 0 Then
sql.doSQL("UPDATE tblDakosy_Zollanmeldungen SET dy_VBD_dsId='" & DS.da_id & "' where dy_id='" & dy_id & "'", "FMZOLL")
sql.doSQL("UPDATE Speditionsbuch SET DokumentId_VBD='" & DS.da_id & "' where AtlasBezNrNCTS='" & betreff.ToString.Trim & "' AND DokumentId_VBD is null", "FMZOLL") 'Falls Spedbuch schon zuvor generiert wurde!
+ doMailZollbeleg(DS.GET_TOP1_PATH, "VBD", dy_id)
End If
End If
@@ -351,6 +473,7 @@ Public Class frmStartOptions
If IsNumeric(dy_id) AndAlso dy_id > 0 Then
sql.doSQL("UPDATE tblDakosy_Zollanmeldungen SET dy_STEUERBESCHEID_dsId='" & DS.da_id & "' where dy_id='" & dy_id & "'", "FMZOLL")
sql.doSQL("UPDATE Speditionsbuch SET DokumentId_Steuerbeleg='" & DS.da_id & "' where AtlasBezNrEZA='" & betreff.ToString.Trim & "' AND DokumentId_Steuerbeleg is null", "FMZOLL") 'Falls Spedbuch schon zuvor generiert wurde!
+ doMailZollbeleg(DS.GET_TOP1_PATH, "STB", dy_id)
End If
End If
@@ -373,8 +496,6 @@ Public Class frmStartOptions
End If
' IO.Directory.CreateDirectory(VERAG_PROG_ALLGEMEIN.DATENVERVER_OPTIONS.getRootDir() & "DAKOSY\ECHTSYSTEM\ZOLLDATEN\TEST3\")
- VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR("TEST: " & dy_id, System.Reflection.MethodBase.GetCurrentMethod.Name, VERAG_PROG_ALLGEMEIN.ERROR_OP.MAIL)
-
DS = New VERAG_PROG_ALLGEMEIN.cDATENSERVER("ZOLLDATEN", "ABD", dy_id, "", "", betreff.ToString.Replace("/", "-").Replace(",", "-").Replace("\", "-").Replace(":", "."), 0, False)
DS.da_vorlage = False
@@ -389,6 +510,7 @@ Public Class frmStartOptions
If IsNumeric(dy_id) AndAlso dy_id > 0 Then
sql.doSQL("UPDATE tblDakosy_Zollanmeldungen SET dy_ABD_dsId='" & DS.da_id & "' where dy_id='" & dy_id & "'", "FMZOLL")
sql.doSQL("UPDATE Speditionsbuch SET DokumentId_ABD='" & DS.da_id & "' where AtlasBezNrEZA='" & betreff.ToString.Trim & "' AND DokumentId_ABD is null", "FMZOLL") 'Falls Spedbuch schon zuvor generiert wurde!
+ doMailZollbeleg(DS.GET_TOP1_PATH, "ABD", dy_id)
End If
End If
@@ -425,6 +547,7 @@ Public Class frmStartOptions
If IsNumeric(dy_id) AndAlso dy_id > 0 Then
sql.doSQL("UPDATE tblDakosy_Zollanmeldungen SET dy_AVM_dsId='" & DS.da_id & "' where dy_id='" & dy_id & "'", "FMZOLL")
sql.doSQL("UPDATE Speditionsbuch SET DokumentId_AVM='" & DS.da_id & "' where AtlasBezNrEZA='" & betreff.ToString.Trim & "' AND DokumentId_AVM is null", "FMZOLL") 'Falls Spedbuch schon zuvor generiert wurde!
+ doMailZollbeleg(DS.GET_TOP1_PATH, "AVM", dy_id)
End If
End If
@@ -626,6 +749,19 @@ Public Class frmStartOptions
Return True
End Function
+ Public Function moveFile_DateBack(file, toDirectory, Optional ByRef dest = "")
+ If Not IO.File.Exists(file) Then Return False
+ If Not IO.Directory.Exists(toDirectory) Then IO.Directory.CreateDirectory(toDirectory)
+ dest = toDirectory & cut_file(file)
+ Dim fio As IO.FileInfo = New FileInfo(file)
+ Dim ext = fio.Extension
+ If IO.File.Exists(dest) Then
+ dest = toDirectory & cut_file(file).Replace(ext, Now.ToString("_yyMMdd_HHmmss.fff")) & ext
+ End If
+ IO.File.Move(file, dest) ' Verschiebt die Datei
+ Return True
+ End Function
+
Public Function copyFile(file, toDirectory, Optional ByRef dest = "")
If Not IO.File.Exists(file) Then Return False
If Not IO.Directory.Exists(toDirectory) Then IO.Directory.CreateDirectory(toDirectory)