DAkosy, cWorker_verwahrung, etc.

This commit is contained in:
2026-04-02 17:13:31 +02:00
parent a4dee79338
commit 2096d56db8
3 changed files with 67 additions and 10 deletions

View File

@@ -234,6 +234,7 @@ Public Class frmStartOptions
' Me.Visible = False
f.Show()
AddHandler f.FormClosed, AddressOf closeMe
setInvoiceBackToCustomer("PLOSE", False)
Case "TC_EINARBEITUNG"
VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = True
Dim f As New frmTCNachrichtenVerarbeitung(True)
@@ -833,7 +834,7 @@ Public Class frmStartOptions
End If
API.UPDTAE_OK(,, PARAM)
setInvoiceBackToCustomer("MSE")
setInvoiceBackToCustomer("MSE", False)
closeMe()
Exit Sub
@@ -5362,6 +5363,7 @@ Public Class frmStartOptions
Dim f As New frmNachrichtenVerarbeitung_MDM_divers(cbxRMC._value, False, cbxDateienlöschenRMC.Checked, False)
f.ShowDialog()
Me.Visible = True
setInvoiceBackToCustomer("RMC", False)
End Sub
Private Sub LinkLabel53_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles UTA_imports.LinkClicked
@@ -5372,6 +5374,7 @@ Public Class frmStartOptions
f.UtaTestkunden = False
f.ShowDialog()
Me.Visible = True
setInvoiceBackToCustomer("UTA", False)
End Sub
Private Sub LinkLabel54_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles MSE_Transaktions.LinkClicked
@@ -7174,7 +7177,7 @@ repeatRequest:
End Sub
Private Sub setInvoiceBackToCustomer(Lieferant As String)
Private Sub setInvoiceBackToCustomer(Lieferant As String, Optional showError As Boolean = True)
Dim sql_query = ""
Dim sql_query_keineMWST = ""
@@ -7297,7 +7300,7 @@ repeatRequest:
Dim rows_fehlendesErstattungsland() As DataRow = dtnichtGesetzteInvToCustomer.Select("RELandKz is null")
If rows_fehlendesErstattungsland.Length > 0 Then
MsgBox("Rechnungsland fehlt noch bei " & rows_fehlendesErstattungsland.Length & " Einträgen von " & Lieferant & vbNewLine & "Bitte Ländercode ISO2 einfügen!")
If showError Then MsgBox("Rechnungsland fehlt noch bei " & rows_fehlendesErstattungsland.Length & " Einträgen von " & Lieferant & vbNewLine & "Bitte Ländercode ISO2 einfügen!")
Exit Sub
End If