plose
This commit is contained in:
@@ -815,16 +815,12 @@ Public Class frmMDMNachrichtenVerarbeitung
|
||||
If currentRow(0) <> "PloseCode" Then ' Header
|
||||
If currentRow.Length >= 15 Then
|
||||
Dim PLOSE_INV As New MDM_Worker.cPLOSE_Inv_Data
|
||||
' MsgBox(SQL.isleernothingDateFormatstring(currentRow(7)))
|
||||
' MsgBox(currentRow(7))
|
||||
PLOSE_INV.plInv_SupplierRechnungsDatum = SQL.isleernothingDateFormatstring(currentRow(7))
|
||||
' MsgBox(PLOSE_INV.plInv_SupplierRechnungsDatum)
|
||||
PLOSE_INV.plInv_SupplierRechnungsNr = SQL.isleernothing(currentRow(8))
|
||||
PLOSE_INV.plInv_SupplierCountry = SQL.isleernothing(currentRow(6))
|
||||
PLOSE_INV.plInv_Lieferant = SQL.isleernothing(currentRow(4))
|
||||
PLOSE_INV.plInv_LieferantCode = SQL.isleernothing(currentRow(3))
|
||||
PLOSE_INV.plInv_LieferantUID = SQL.isleernothing(currentRow(5))
|
||||
'PLOSE_INV.plInv_RechnungsJahr = SQL.isleernothing(currentRow(7)) --> JAHR
|
||||
PLOSE_INV.plInv_PdfFileName = SQL.isleernothing(currentRow(14))
|
||||
If If(PLOSE_INV.plInv_PdfFileName, "") <> "" Then
|
||||
If Not PLOSE_INV.plInv_PdfFileName.ToString.ToLower.EndsWith(".pdf") Then PLOSE_INV.plInv_PdfFileName += ".pdf" ' Falls Endung nciht .pdf --> anfügen
|
||||
@@ -858,7 +854,7 @@ Public Class frmMDMNachrichtenVerarbeitung
|
||||
PLOSE_INV.plInv_Dateiname = fi.Name
|
||||
|
||||
''''''''''''
|
||||
If PLOSE_INV.SAVE() Then
|
||||
If PLOSE_INV.SAVEUNQIUE() Then
|
||||
|
||||
' UPDATE tblPLOSE_Details:
|
||||
SQL.doSQL("UPDATE [tblPLOSE_Details] SET [plose_plInvId] ='" & PLOSE_INV.plInv_Id & "' where plose_SupplierRechnungsNr='" & PLOSE_INV.plInv_SupplierRechnungsNr & "' AND plose_SupplierRechnungsDatum='" & PLOSE_INV.plInv_SupplierRechnungsDatum & "'", "FMZOLL")
|
||||
|
||||
Reference in New Issue
Block a user