Compare commits
4 Commits
f67368c1d9
...
a0e5b4aa0b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0e5b4aa0b | ||
|
|
dc4955db17 | ||
|
|
34c8ecbee5 | ||
|
|
c1fa500f36 |
@ -98,8 +98,8 @@ Namespace Documents
|
|||||||
oDocument = LoadDocumentData(oDocument, pTemplate, TemplateConfig)
|
oDocument = LoadDocumentData(oDocument, pTemplate, TemplateConfig)
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Throw ex
|
|
||||||
Logger.Error(ex)
|
Logger.Error(ex)
|
||||||
|
Throw ex
|
||||||
|
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
@ -107,8 +107,8 @@ Namespace Documents
|
|||||||
oDocument = Await MatchDataFromWinLine(oDocument, Winline.Mandators, pMandator, pTemplate)
|
oDocument = Await MatchDataFromWinLine(oDocument, Winline.Mandators, pMandator, pTemplate)
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Throw ex
|
|
||||||
Logger.Error(ex)
|
Logger.Error(ex)
|
||||||
|
Throw ex
|
||||||
|
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
@ -116,8 +116,8 @@ Namespace Documents
|
|||||||
oDocument = MarkRequiredFields(oDocument)
|
oDocument = MarkRequiredFields(oDocument)
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Throw ex
|
|
||||||
Logger.Error(ex)
|
Logger.Error(ex)
|
||||||
|
Throw ex
|
||||||
|
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
|
|||||||
@ -89,7 +89,8 @@ Namespace Winline
|
|||||||
[c075] -- EAN
|
[c075] -- EAN
|
||||||
FROM [{pMandator.Server}].[{pMandator.Database}].[dbo].[v021]
|
FROM [{pMandator.Server}].[{pMandator.Database}].[dbo].[v021]
|
||||||
WHERE
|
WHERE
|
||||||
mesocomp = '{pMandator.Id}' AND mesoyear = {oYear}"
|
c038 IS NULL -- Nur Aktive Artikel
|
||||||
|
AND mesocomp = '{pMandator.Id}' AND mesoyear = {oYear}"
|
||||||
|
|
||||||
Dim oTable = Await Database.GetDatatableAsync(oSQL)
|
Dim oTable = Await Database.GetDatatableAsync(oSQL)
|
||||||
Dim oArticles As New List(Of Article)
|
Dim oArticles As New List(Of Article)
|
||||||
@ -531,7 +532,7 @@ Namespace Winline
|
|||||||
FROM [{pMandator.Database}].[dbo].[v021]
|
FROM [{pMandator.Database}].[dbo].[v021]
|
||||||
WHERE
|
WHERE
|
||||||
[c075] = '{pEAN}'
|
[c075] = '{pEAN}'
|
||||||
AND [c038] IS NULL -- Aktiv
|
AND [c038] IS NULL -- Nur Aktive Artikel
|
||||||
AND [mesocomp] = '{pMandator.Id}' AND [mesoyear] = {oYear}"
|
AND [mesocomp] = '{pMandator.Id}' AND [mesoyear] = {oYear}"
|
||||||
Dim oTable As DataTable = Database.GetDatatable(oSQL)
|
Dim oTable As DataTable = Database.GetDatatable(oSQL)
|
||||||
|
|
||||||
@ -636,6 +637,7 @@ Namespace Winline
|
|||||||
[c123] -- Ersatzartikelnummer
|
[c123] -- Ersatzartikelnummer
|
||||||
FROM [{pMandator.Database}].[dbo].[v021]
|
FROM [{pMandator.Database}].[dbo].[v021]
|
||||||
WHERE [c011] = '{pArticleNumber}'
|
WHERE [c011] = '{pArticleNumber}'
|
||||||
|
AND c038 IS NULL -- Nur Aktive Artikel
|
||||||
AND [mesocomp] = '{pMandator.Id}' AND [mesoyear] = {oYear}"
|
AND [mesocomp] = '{pMandator.Id}' AND [mesoyear] = {oYear}"
|
||||||
Dim oTable As DataTable = Database.GetDatatable(oSQL)
|
Dim oTable As DataTable = Database.GetDatatable(oSQL)
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices
|
|||||||
<Assembly: AssemblyCompany("Digital Data")>
|
<Assembly: AssemblyCompany("Digital Data")>
|
||||||
<Assembly: AssemblyProduct("WebService Multitool")>
|
<Assembly: AssemblyProduct("WebService Multitool")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2023")>
|
<Assembly: AssemblyCopyright("Copyright © 2023")>
|
||||||
<Assembly: AssemblyTrademark("1.4.3.0")>
|
<Assembly: AssemblyTrademark("1.4.4.0")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' indem Sie "*" wie unten gezeigt eingeben:
|
' indem Sie "*" wie unten gezeigt eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.4.3.0")>
|
<Assembly: AssemblyVersion("1.4.4.0")>
|
||||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||||
|
|||||||
@ -192,18 +192,22 @@ Public Class frmConfig
|
|||||||
Private Sub GridViewTables_FocusedRowChanged(sender As Object, e As Views.Base.FocusedRowChangedEventArgs) Handles GridViewTables.FocusedRowChanged
|
Private Sub GridViewTables_FocusedRowChanged(sender As Object, e As Views.Base.FocusedRowChangedEventArgs) Handles GridViewTables.FocusedRowChanged
|
||||||
Try
|
Try
|
||||||
If GridViewTables.FocusedRowHandle < 0 Then
|
If GridViewTables.FocusedRowHandle < 0 Then
|
||||||
|
Logger.Debug("No row selected. Exiting.")
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim oRow As DataRow = GridViewTables.GetDataRow(GridViewTables.FocusedRowHandle)
|
Dim oRow As DataRow = GridViewTables.GetDataRow(GridViewTables.FocusedRowHandle)
|
||||||
|
|
||||||
If oRow Is Nothing Then
|
If oRow Is Nothing Then
|
||||||
|
Logger.Debug("Invalid row handle. Exiting.")
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim oTableId = oRow.Item("GUID")
|
Dim oTableId = oRow.Item("GUID")
|
||||||
|
Logger.Debug("Loading Items for Table [{0}]", oTableId)
|
||||||
TBMT_TEMPLATE_ITEMSTableAdapter.Fill(DS_DD_ECM.TBMT_TEMPLATE_ITEMS, oTableId)
|
TBMT_TEMPLATE_ITEMSTableAdapter.Fill(DS_DD_ECM.TBMT_TEMPLATE_ITEMS, oTableId)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
Logger.Error(ex)
|
||||||
FormHelper.ShowError(ex, "Laden der Tabelle")
|
FormHelper.ShowError(ex, "Laden der Tabelle")
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user