Compare commits
2 Commits
4edac8857e
...
d2062e9e22
| Author | SHA1 | Date | |
|---|---|---|---|
| d2062e9e22 | |||
| cc4c8ab4cb |
13
Aviso/ATEZ/frmATEZ_EZA.Designer.vb
generated
13
Aviso/ATEZ/frmATEZ_EZA.Designer.vb
generated
@@ -42,6 +42,7 @@ Partial Class frmATEZ_EZA
|
|||||||
Me.dgvAnhaenge = New VERAG_PROG_ALLGEMEIN.MyDatagridview(Me.components)
|
Me.dgvAnhaenge = New VERAG_PROG_ALLGEMEIN.MyDatagridview(Me.components)
|
||||||
Me.columnName = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
Me.columnName = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||||
Me.lblAnh = New System.Windows.Forms.Label()
|
Me.lblAnh = New System.Windows.Forms.Label()
|
||||||
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
Me.pnlHead.SuspendLayout()
|
Me.pnlHead.SuspendLayout()
|
||||||
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
@@ -278,12 +279,23 @@ Partial Class frmATEZ_EZA
|
|||||||
Me.lblAnh.TabIndex = 151
|
Me.lblAnh.TabIndex = 151
|
||||||
Me.lblAnh.Visible = False
|
Me.lblAnh.Visible = False
|
||||||
'
|
'
|
||||||
|
'Button1
|
||||||
|
'
|
||||||
|
Me.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.Button1.Location = New System.Drawing.Point(3, 383)
|
||||||
|
Me.Button1.Name = "Button1"
|
||||||
|
Me.Button1.Size = New System.Drawing.Size(178, 23)
|
||||||
|
Me.Button1.TabIndex = 153
|
||||||
|
Me.Button1.Text = "Clear Token Cache"
|
||||||
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
'frmATEZ_EZA
|
'frmATEZ_EZA
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||||
Me.ClientSize = New System.Drawing.Size(589, 409)
|
Me.ClientSize = New System.Drawing.Size(589, 409)
|
||||||
|
Me.Controls.Add(Me.Button1)
|
||||||
Me.Controls.Add(Me.Button3)
|
Me.Controls.Add(Me.Button3)
|
||||||
Me.Controls.Add(Me.lblAnh)
|
Me.Controls.Add(Me.lblAnh)
|
||||||
Me.Controls.Add(Me.pnlHead)
|
Me.Controls.Add(Me.pnlHead)
|
||||||
@@ -318,4 +330,5 @@ Partial Class frmATEZ_EZA
|
|||||||
Friend WithEvents lblBezugsnummer As Label
|
Friend WithEvents lblBezugsnummer As Label
|
||||||
Friend WithEvents lblAnh As Label
|
Friend WithEvents lblAnh As Label
|
||||||
Friend WithEvents Button3 As Button
|
Friend WithEvents Button3 As Button
|
||||||
|
Friend WithEvents Button1 As Button
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -141,8 +141,8 @@ Public Class frmATEZ_EZA
|
|||||||
.referenceNo = ioReference,
|
.referenceNo = ioReference,
|
||||||
.outputApplication = "dakosy/sftp/verg",'.outputApplication = "dakosy/sftp/vera",
|
.outputApplication = "dakosy/sftp/verg",'.outputApplication = "dakosy/sftp/vera",
|
||||||
.regimeType = "IMPORT",' .customer = "AVISO",
|
.regimeType = "IMPORT",' .customer = "AVISO",
|
||||||
.dispatchCountry = "DE",
|
.dispatchCountry = "TR",
|
||||||
.destinationCountry = "TR", 'Default, wird später überschrieben!! (Pflichtfeld)
|
.destinationCountry = "DE", 'Default, wird später überschrieben!! (Pflichtfeld)
|
||||||
.additionalData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAdditionalData With {
|
.additionalData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAdditionalData With {
|
||||||
.transaction = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubTransaction With {
|
.transaction = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubTransaction With {
|
||||||
.ioPartner = txtDyMandant.Text,
|
.ioPartner = txtDyMandant.Text,
|
||||||
@@ -152,7 +152,7 @@ Public Class frmATEZ_EZA
|
|||||||
.declaration = New List(Of VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration) From {
|
.declaration = New List(Of VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration) From {
|
||||||
New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration With {
|
New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration With {
|
||||||
.objectIdentification = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubObjectIdentification With {
|
.objectIdentification = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubObjectIdentification With {
|
||||||
.objectName = lblBezugsnummer.Text & "_TEST",
|
.objectName = lblBezugsnummer.Text,'& "_TEST"
|
||||||
.objectAlias = ioReference,
|
.objectAlias = ioReference,
|
||||||
.declarationType = "EZA-D"
|
.declarationType = "EZA-D"
|
||||||
},
|
},
|
||||||
@@ -163,7 +163,7 @@ Public Class frmATEZ_EZA
|
|||||||
.contactPersonPosition = "Zolldeklarant/in"
|
.contactPersonPosition = "Zolldeklarant/in"
|
||||||
},
|
},
|
||||||
.declarantIsConsignee = True,
|
.declarantIsConsignee = True,
|
||||||
.representationRelationshipCode = -1, '??????????????????????????????????????????????????????????????
|
.representationRelationshipCode = "",'-1, '??????????????????????????????????????????????????????????????
|
||||||
.inputTaxDeduction = True,'"",'"true",
|
.inputTaxDeduction = True,'"",'"true",
|
||||||
.procedureCodeRequested = procedureCodeRequested.ToString,' .goodsStatus = "",'"EU",
|
.procedureCodeRequested = procedureCodeRequested.ToString,' .goodsStatus = "",'"EU",
|
||||||
.transportMeansArrivalIdentity = txtLKWId.Text,
|
.transportMeansArrivalIdentity = txtLKWId.Text,
|
||||||
@@ -219,9 +219,18 @@ Public Class frmATEZ_EZA
|
|||||||
Case "Rechnung", "Konsi-Rechnung", "eFatura", "INVOICE" : DOC.fileType = "invoice"
|
Case "Rechnung", "Konsi-Rechnung", "eFatura", "INVOICE" : DOC.fileType = "invoice"
|
||||||
Case "CMR" : DOC.fileType = "cmr"
|
Case "CMR" : DOC.fileType = "cmr"
|
||||||
Case "Ausfuhr", "EXPORT" : DOC.fileType = "tr_export_declaration"
|
Case "Ausfuhr", "EXPORT" : DOC.fileType = "tr_export_declaration"
|
||||||
Case "ATR" : DOC.fileType = "atr"
|
Case "ATR", "A.TR", "ATR-EUR1" : DOC.fileType = "atr"
|
||||||
Case "Vorpapier", "T1" : DOC.fileType = "transit_declaration"
|
Case "Vorpapier", "T1" : DOC.fileType = "transit_declaration"
|
||||||
Case Else : DOC.fileType = "invoice"
|
Case Else : DOC.fileType = "other"
|
||||||
|
|
||||||
|
|
||||||
|
''invoice',
|
||||||
|
'atr',
|
||||||
|
'cmr',
|
||||||
|
'transit_declaration',
|
||||||
|
'tr_export_declaration',
|
||||||
|
|
||||||
|
|
||||||
' Case Else : DOC.fileType = "additional_data" --> DARF NCIHT -_> additional_data ist das verwednete Datenformat
|
' Case Else : DOC.fileType = "additional_data" --> DARF NCIHT -_> additional_data ist das verwednete Datenformat
|
||||||
End Select
|
End Select
|
||||||
End If
|
End If
|
||||||
@@ -257,7 +266,7 @@ Public Class frmATEZ_EZA
|
|||||||
Dim CN As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
Dim CN As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
||||||
CN.addressType = "CN"
|
CN.addressType = "CN"
|
||||||
CN.participantEORI = If(KD.EORITIN, "")
|
CN.participantEORI = If(KD.EORITIN, "")
|
||||||
CN.participantSubsidiaryNumber = If(KD.EORITIN_NL, "0")
|
CN.participantSubsidiaryNumber = If(KD.EORITIN_NL, "")
|
||||||
CN.companyName = AD.Name_1
|
CN.companyName = AD.Name_1
|
||||||
CN.streetAndNumber = AD.Straße
|
CN.streetAndNumber = AD.Straße
|
||||||
CN.postalCode = AD.PLZ
|
CN.postalCode = AD.PLZ
|
||||||
@@ -282,7 +291,7 @@ Public Class frmATEZ_EZA
|
|||||||
Dim CZ As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
Dim CZ As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
||||||
CZ.addressType = "CZ"
|
CZ.addressType = "CZ"
|
||||||
CZ.participantEORI = If(KD.EORITIN, "")
|
CZ.participantEORI = If(KD.EORITIN, "")
|
||||||
CZ.participantSubsidiaryNumber = If(KD.EORITIN_NL, "0")
|
CZ.participantSubsidiaryNumber = If(KD.EORITIN_NL, "")
|
||||||
CZ.companyName = AD.Name_1
|
CZ.companyName = AD.Name_1
|
||||||
CZ.streetAndNumber = AD.Straße
|
CZ.streetAndNumber = AD.Straße
|
||||||
CZ.postalCode = AD.PLZ
|
CZ.postalCode = AD.PLZ
|
||||||
@@ -546,24 +555,6 @@ Public Class frmATEZ_EZA
|
|||||||
Dim hSQL As String = " SELECT [anh_id],anh_Datum,[anh_Name],[anh_docId],
|
Dim hSQL As String = " SELECT [anh_id],anh_Datum,[anh_Name],[anh_docId],
|
||||||
|
|
||||||
case WHEN [anh_size] > 0 Then ROUND([anh_size] / 1000000,2) End as anh_size,
|
case WHEN [anh_size] > 0 Then ROUND([anh_size] / 1000000,2) End as anh_size,
|
||||||
|
|
||||||
CASE WHEN [anh_Art] = 'ATR-EUR1' then 'EUR'
|
|
||||||
when [anh_Art] = 'Rechnung' then 'INVOICE'
|
|
||||||
when [anh_Art] = 'eFatura' then 'INVOICE'
|
|
||||||
when [anh_Art] = 'CMR' then 'CMR'
|
|
||||||
when [anh_Art] = 'Ausfuhr' then 'OTHER'
|
|
||||||
when [anh_Art] = 'Vorpapier' then 'OTHER'
|
|
||||||
when [anh_Art] = 'Packliste' then 'PACK'
|
|
||||||
when [anh_Art] = 'Auftrag' then 'OTHER'
|
|
||||||
when [anh_Art] = 'Auftrag' then 'OTHER'
|
|
||||||
when [anh_Art] = 'Dispoliste' then 'OTHER'
|
|
||||||
when [anh_Art] = 'Vorkasse' then 'OTHER'
|
|
||||||
when [anh_Art] = 'Überweisungsbeleg' then 'OTHER'
|
|
||||||
when [anh_Art] = 'Vollmacht' then 'OTHER'
|
|
||||||
when [anh_Art] = 'ATB' then 'OTHER'
|
|
||||||
when [anh_Art] = 'ATA' then 'CarnetATA'
|
|
||||||
when [anh_Art] = 'Sonstiges' then 'OTHER'
|
|
||||||
when [anh_Art] ='' then 'OTHER' End
|
|
||||||
[anh_Art],[anh_Typ] FROM [tblAvisoAnhaenge]
|
[anh_Art],[anh_Typ] FROM [tblAvisoAnhaenge]
|
||||||
WHERE [anh_AvisoId]=" & AVISO.AvisoID & "AND (anh_SendungsId is null OR anh_SendungsId <=0 OR anh_SendungsId='" & SENDUNG.tblSnd_SendungID & "') And anh_Typ = 'PDF'
|
WHERE [anh_AvisoId]=" & AVISO.AvisoID & "AND (anh_SendungsId is null OR anh_SendungsId <=0 OR anh_SendungsId='" & SENDUNG.tblSnd_SendungID & "') And anh_Typ = 'PDF'
|
||||||
ORDER BY anh_SendungsId desc,
|
ORDER BY anh_SendungsId desc,
|
||||||
@@ -606,6 +597,7 @@ Public Class frmATEZ_EZA
|
|||||||
.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
|
.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
|
||||||
.Columns("anh_id").Visible = False 'VermerkID nicht anzeigenconMenuVermerke
|
.Columns("anh_id").Visible = False 'VermerkID nicht anzeigenconMenuVermerke
|
||||||
.Columns("anh_docId").Visible = False 'AvisoID nicht anzeigen
|
.Columns("anh_docId").Visible = False 'AvisoID nicht anzeigen
|
||||||
|
' .Columns("anh_Art").Visible = False 'AvisoID nicht anzeigen
|
||||||
|
|
||||||
.Columns("anh_selekt").Width = 25
|
.Columns("anh_selekt").Width = 25
|
||||||
.Columns("anh_selekt").HeaderText = ""
|
.Columns("anh_selekt").HeaderText = ""
|
||||||
@@ -775,4 +767,8 @@ Public Class frmATEZ_EZA
|
|||||||
lblAnh.Text = "Anhang in MB: " & countAnh.ToString
|
lblAnh.Text = "Anhang in MB: " & countAnh.ToString
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
|
cRelayHubToken.DeleteStore()
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
@@ -2017,6 +2017,59 @@ ELSE_ATILLA:
|
|||||||
|
|
||||||
hText = hText.Replace("%LKW%", hLKW)
|
hText = hText.Replace("%LKW%", hLKW)
|
||||||
|
|
||||||
|
|
||||||
|
'-------------- SIGNATUR --------------
|
||||||
|
Dim signatur = ""
|
||||||
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Case "IMEX"
|
||||||
|
' signatur = "
|
||||||
|
' Freundliche Grüße / Saygılarımızla / Best Regards<br>
|
||||||
|
' <b style=""color:#003680;"">IMEX Customs Service GmbH</b><br>
|
||||||
|
'Abteilung: EU Zollabfertigung<br>
|
||||||
|
'Tel.: +43 7711 2777 DW 200<br>
|
||||||
|
'Mail: <a href=""mailto:eu@verag.ag"" style=""color:#003680; text-decoration:none;"">eu@verag.ag</a><br>
|
||||||
|
' "
|
||||||
|
Case "UNISPED"
|
||||||
|
|
||||||
|
' signatur = "
|
||||||
|
' Freundliche Grüße / Saygılarımızla / Best Regards<br>
|
||||||
|
' <b style=""color:#003680;"">UNISPED Speditions GmbH</b><br>
|
||||||
|
'Abteilung: EU Zollabfertigung<br>
|
||||||
|
'Tel.: +43 7711 2777 DW 200<br>
|
||||||
|
'Mail: <a href=""mailto:eu@verag.ag"" style=""color:#003680; text-decoration:none;"">eu@verag.ag</a><br>
|
||||||
|
' "
|
||||||
|
Case "ATILLA"
|
||||||
|
|
||||||
|
' signatur = "
|
||||||
|
' Freundliche Grüße / Saygılarımızla / Best Regards<br>
|
||||||
|
' <b style=""color:#003680;"">ATILLA Spedition GmbH</b><br>
|
||||||
|
'Abteilung: EU Zollabfertigung<br>
|
||||||
|
'Tel.: +43 7711 2777 DW 200<br>
|
||||||
|
'Mail: <a href=""mailto:eu@verag.ag"" style=""color:#003680; text-decoration:none;"">eu@verag.ag</a><br>
|
||||||
|
' "
|
||||||
|
|
||||||
|
Case "AMBAR"
|
||||||
|
' signatur = "
|
||||||
|
' Freundliche Grüße / Saygılarımızla / Best Regards<br>
|
||||||
|
' <b style=""color:#003680;"">AMBAR</b><br>
|
||||||
|
'Abteilung: EU Zollabfertigung<br>
|
||||||
|
'Tel.: +43 7711 2777 DW 200<br>
|
||||||
|
'Mail: <a href=""mailto:eu@verag.ag"" style=""color:#003680; text-decoration:none;"">eu@verag.ag</a><br>
|
||||||
|
' "
|
||||||
|
Case Else
|
||||||
|
signatur = "
|
||||||
|
Freundliche Grüße / Saygılarımızla / Best Regards<br>
|
||||||
|
<b style=""color:#003680;"">VERAG Spedition AG</b><br>
|
||||||
|
Abteilung: EU Zollabfertigung<br>
|
||||||
|
Tel.: +43 7711 2777 DW 200<br>
|
||||||
|
Mail: <a href=""mailto:eu@verag.ag"" style=""color:#003680; text-decoration:none;"">eu@verag.ag</a><br>
|
||||||
|
"
|
||||||
|
End Select
|
||||||
|
|
||||||
|
hText = hText.Replace("%Signatur%", signatur)
|
||||||
|
|
||||||
|
'--------------------------------------------------------
|
||||||
|
|
||||||
Select Case art
|
Select Case art
|
||||||
Case "5"
|
Case "5"
|
||||||
Dim linkAviso = "https://status.app.verag.ag/aviso-status/" & VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(AVISO.AvisoID)
|
Dim linkAviso = "https://status.app.verag.ag/aviso-status/" & VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(AVISO.AvisoID)
|
||||||
@@ -2028,6 +2081,7 @@ ELSE_ATILLA:
|
|||||||
'hier werden alle möglichen Platzhalter ersetzt
|
'hier werden alle möglichen Platzhalter ersetzt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
hText = hText.Replace("%Standort%", getGrenzstelleZollstelle(hGrenzstelle, AVISO))
|
hText = hText.Replace("%Standort%", getGrenzstelleZollstelle(hGrenzstelle, AVISO))
|
||||||
hText = hText.Replace("%Uhrzeit%", Format(Now, "dd.MM.yyyy HH:mm"))
|
hText = hText.Replace("%Uhrzeit%", Format(Now, "dd.MM.yyyy HH:mm"))
|
||||||
hText = hText.Replace("&", "und")
|
hText = hText.Replace("&", "und")
|
||||||
@@ -2066,6 +2120,7 @@ ELSE_ATILLA:
|
|||||||
|
|
||||||
hText = hText.Replace("%Firma_simple%", "VERAG")
|
hText = hText.Replace("%Firma_simple%", "VERAG")
|
||||||
hText = hText.Replace("%Firma%", "VERAG Spedition AG")
|
hText = hText.Replace("%Firma%", "VERAG Spedition AG")
|
||||||
|
signatur = ""
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
hText = hText.Replace("%AbfertigungsNr%", abfertigungsNr)
|
hText = hText.Replace("%AbfertigungsNr%", abfertigungsNr)
|
||||||
|
|||||||
Reference in New Issue
Block a user