Update Report, Fix Paths issues, Small Tweaks, Work on Exports
This commit is contained in:
@@ -159,7 +159,13 @@ Public Class frmExportMain
|
||||
Dim oDocument As Document = GridViewDocuments.GetRow(GridViewDocuments.FocusedRowHandle)
|
||||
Dim oMandator As Mandator = lookupMandator.EditValue
|
||||
|
||||
Await WebService.ExportDocumentFromWinline(oDocument, CurrentTemplate, oMandator)
|
||||
Dim oExportResult = Await WebService.ExportDocumentFromWinline(oDocument, CurrentTemplate, oMandator)
|
||||
|
||||
If oExportResult = True Then
|
||||
'TODO: Execute the FinalSql before exiting
|
||||
'TODO: Replace a few numbers like account numbers back to GLNs
|
||||
MsgBox("Datei wurde ergfolgreich exportiert!", MsgBoxStyle.Information, Text)
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
FormHelper.ShowError(ex, "Exportieren der Daten")
|
||||
@@ -177,4 +183,8 @@ Public Class frmExportMain
|
||||
Private Sub btnOpenOutputDirectory_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles btnOpenOutputDirectory.ItemClick
|
||||
FormHelper.TryOpenDirectory(CurrentTemplate.OutputDirectory, My.Resources.frmImportMainExtra.Ausgabeverzeichnis)
|
||||
End Sub
|
||||
|
||||
Private Sub BarButtonItem3_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem3.ItemClick
|
||||
FormHelper.TryOpenDirectory(My.GeneralConfiguration.TemplateDirectory, My.Resources.frmImportMainExtra.Vorlagenverzeichnis)
|
||||
End Sub
|
||||
End Class
|
||||
Reference in New Issue
Block a user