20250622
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -12937,3 +12937,38 @@ done
|
||||
2025-06-18 14:33:01.3897|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002524785 / 1/1 / Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
|
||||
2025-06-18 14:33:01.3897|DEBUG|OnDoc|Start Update IL_Log: DokumentID:OFFEDK0082025002524785
|
||||
2025-06-18 14:33:01.3897|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002524785
|
||||
2025-06-20 10:42:57.8849|DEBUG|OnDoc|Start ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002525045
|
||||
2025-06-20 10:42:57.9205|DEBUG|OnDoc|Start Transfer to OnBase
|
||||
2025-06-20 10:42:57.9205|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Slow
|
||||
2025-06-20 10:43:00.3405|DEBUG|OnDoc|Ende Transfer to OnBase
|
||||
2025-06-20 10:43:06.6093|DEBUG|OnDoc|Start Update IL_Log: DokumentID:SB_182_4
|
||||
2025-06-20 10:43:06.6270|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:SB_182_4
|
||||
2025-06-20 10:43:07.0917|DEBUG|OnDoc|Ende ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002525045
|
||||
2025-06-20 10:44:29.6826|DEBUG|OnDoc|Start ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002525037
|
||||
2025-06-20 10:44:29.7181|DEBUG|OnDoc|Start Transfer to OnBase
|
||||
2025-06-20 10:44:29.7181|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Slow
|
||||
2025-06-20 10:44:33.5030|DEBUG|OnDoc|Ende Transfer to OnBase
|
||||
2025-06-20 10:44:33.5140|DEBUG|OnDoc|Start Update IL_Log: DokumentID:SB_182_3
|
||||
2025-06-20 10:44:33.5140|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:SB_182_3
|
||||
2025-06-20 10:44:33.5220|DEBUG|OnDoc|Ende ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002525037
|
||||
2025-06-20 10:44:56.6595|DEBUG|OnDoc|Start ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002525029
|
||||
2025-06-20 10:44:56.6686|DEBUG|OnDoc|Start Transfer to OnBase
|
||||
2025-06-20 10:44:56.6686|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Slow
|
||||
2025-06-20 10:44:59.0109|DEBUG|OnDoc|Ende Transfer to OnBase
|
||||
2025-06-20 10:44:59.0109|DEBUG|OnDoc|Start Update IL_Log: DokumentID:SB_182_2
|
||||
2025-06-20 10:44:59.0266|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:SB_182_2
|
||||
2025-06-20 10:44:59.0266|DEBUG|OnDoc|Ende ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002525029
|
||||
2025-06-20 10:45:00.0261|DEBUG|OnDoc|Start ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002524961
|
||||
2025-06-20 10:45:00.0261|DEBUG|OnDoc|Start Transfer to OnBase
|
||||
2025-06-20 10:45:00.0261|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Slow
|
||||
2025-06-20 10:45:00.8063|DEBUG|OnDoc|Ende Transfer to OnBase
|
||||
2025-06-20 10:45:00.8063|DEBUG|OnDoc|Start Update IL_Log: DokumentID:SB_182_0
|
||||
2025-06-20 10:45:00.8249|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:SB_182_0
|
||||
2025-06-20 10:45:00.8249|DEBUG|OnDoc|Ende ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002524961
|
||||
2025-06-20 10:45:01.5791|DEBUG|OnDoc|Start ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002524992
|
||||
2025-06-20 10:45:01.5791|DEBUG|OnDoc|Start Transfer to OnBase
|
||||
2025-06-20 10:45:01.5791|DEBUG|OnDoc|Upload URL:https://localhost:44303/API/Slow
|
||||
2025-06-20 10:45:02.2745|DEBUG|OnDoc|Ende Transfer to OnBase
|
||||
2025-06-20 10:45:02.2745|DEBUG|OnDoc|Start Update IL_Log: DokumentID:SB_182_1
|
||||
2025-06-20 10:45:02.2915|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:SB_182_1
|
||||
2025-06-20 10:45:02.2915|DEBUG|OnDoc|Ende ArchivSBDoc DokumentID: DokumentID:OFFEDK0082025002524992
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
22
Client/Diverses/SplashScreen.Designer.cs
generated
22
Client/Diverses/SplashScreen.Designer.cs
generated
@@ -40,10 +40,9 @@
|
||||
this.pictureBox1.ErrorImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.ErrorImage")));
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.InitialImage")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(139, 31);
|
||||
this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.pictureBox1.Location = new System.Drawing.Point(104, 25);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(348, 318);
|
||||
this.pictureBox1.Size = new System.Drawing.Size(261, 258);
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
@@ -51,10 +50,9 @@
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(219, 374);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label1.Location = new System.Drawing.Point(164, 304);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(151, 31);
|
||||
this.label1.Size = new System.Drawing.Size(122, 26);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "Version 1.6";
|
||||
//
|
||||
@@ -62,25 +60,23 @@
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label2.Location = new System.Drawing.Point(207, 406);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label2.Location = new System.Drawing.Point(150, 330);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(176, 31);
|
||||
this.label2.Size = new System.Drawing.Size(142, 26);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "17. Juni 2025";
|
||||
this.label2.Text = "20. Juni 2025";
|
||||
this.label2.Click += new System.EventHandler(this.label2_Click);
|
||||
//
|
||||
// SplashScreen
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(625, 487);
|
||||
this.ClientSize = new System.Drawing.Size(469, 396);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "SplashScreen";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "SplashScreen";
|
||||
|
||||
@@ -252,7 +252,7 @@ namespace OnDoc.UIControls
|
||||
partnerLöschenToolStripMenuItem.Visible = false;
|
||||
vorschauToolStripMenuItem.Visible = false;
|
||||
sfDataGridEmpfaenger.AllowEditing = false;
|
||||
erneutGenerierenToolStripMenuItem.Visible = true;
|
||||
erneutGenerierenToolStripMenuItem.Visible = false;
|
||||
docPreview1.clear_viewer();
|
||||
docPreview1.Visible = true;
|
||||
}
|
||||
@@ -1318,6 +1318,7 @@ namespace OnDoc.UIControls
|
||||
|
||||
private void partnerLöschenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
sfDataGridEmpfaenger.AllowDeleting = true;
|
||||
sfDataGridEmpfaenger.DeleteSelectedRecords();
|
||||
sfDataGridEmpfaenger.AllowDeleting = false;
|
||||
@@ -2394,7 +2395,7 @@ namespace OnDoc.UIControls
|
||||
OnBaseDocUpload.attribute p = new OnBaseDocUpload.attribute(rw["fieldname"].ToString(), rw["fieldvalue"].ToString());
|
||||
onbasedoc.attributes.Add(p);
|
||||
}
|
||||
db.Get_Tabledata("Select dbo.BinaryToBase64(dokument) from edex_sb_serienbrief_dokument where serienbriefnr=" + sb.serienbriefnr.ToString() + " and inteintragnr=" + dr["IntEintragNr"].ToString(), false, true);
|
||||
db.Get_Tabledata("Select dbo.BinaryToBase64(dokument) from edex_sb_serienbrief_dokument where serienbriefnr=" + sb.serienbriefnr.ToString() + " and inteintragnr=" + dr["IntEintragNr"].ToString()+ " and dokumentid='"+dr["dokumentid"].ToString()+"'", false, true);
|
||||
onbasedoc.dokumentDatei = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
string URL = "";
|
||||
string response = "";
|
||||
@@ -2480,7 +2481,9 @@ namespace OnDoc.UIControls
|
||||
dr["status"] = "0"; //changes the Product_name
|
||||
}
|
||||
}
|
||||
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Exec_SQL("Delete from edex_sb_serienbrief_dokument where serienbriefnr=" + sb.serienbriefnr.ToString());
|
||||
db = null;
|
||||
refresh_empfaenger(sb.dsempfaenger.Tables[0]);
|
||||
ribbonButtonToApproval.Enabled = false;
|
||||
}
|
||||
@@ -2951,6 +2954,17 @@ namespace OnDoc.UIControls
|
||||
|
||||
private void ribbonButtonVersandstrasse_Click(object sender, EventArgs e)
|
||||
{
|
||||
int hasbl = 0;
|
||||
foreach (System.Data.DataRow dr in sb.dsempfaenger.Tables[0].Rows)
|
||||
{
|
||||
if (dr["blkunde"].ToString() == "1") { hasbl = 1; }
|
||||
}
|
||||
if (hasbl > 0)
|
||||
{
|
||||
MessageBox.Show("Der Serienbrief enthält Banklagernd-Kunden. Ein Versand über die Versandstrasse ist nicht möglich.", "Serienbrief", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
return;
|
||||
}
|
||||
|
||||
List<Versandpaket>versandpakete = new List<Versandpaket>();
|
||||
Versandpaket vp = new Versandpaket();
|
||||
vp.Dokument = new List<Versanddokument>();
|
||||
|
||||
@@ -144,11 +144,13 @@ namespace OnDoc.Versandstrasse
|
||||
if (!serienbrief)
|
||||
{
|
||||
lblpostausgang.Visible = true;
|
||||
lblserienbrief.Visible = false;
|
||||
this.lblpostausgang.Left = this.Width - lblpostausgang.Width;
|
||||
}
|
||||
else
|
||||
{
|
||||
lblserienbrief.Visible = true;
|
||||
lblserienbrief.Visible = false;
|
||||
lblpostausgang.Visible = false;
|
||||
this.lblserienbrief.Left = this.Width - lblserienbrief.Width;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1602,7 +1602,7 @@ namespace Database
|
||||
public string save_serienbrief_datei(int serienbriefnr, int eintragnr, string filename, string dokumentid)
|
||||
{
|
||||
SqlConnection Connection = new SqlConnection();
|
||||
SqlDataAdapter DA = new SqlDataAdapter("select top 1 * from edex_sb_serienbrief_dokument where dokumentid='" + dokumentid + "'", Connection);
|
||||
SqlDataAdapter DA = new SqlDataAdapter("select top 1 * from edex_sb_serienbrief_dokument where dokumentid='" + dokumentid + "' and inteintragnr="+eintragnr.ToString(), Connection);
|
||||
//SqlDataAdapter DA = new SqlDataAdapter("select top 1 * from edex_sb_serienbrief_dokument where inteintragnr = " + eintragnr.ToString() + " and serienbriefnr = " + serienbriefnr.ToString(), Connection);
|
||||
SqlCommandBuilder cb = new SqlCommandBuilder(DA);
|
||||
DataSet ds = new DataSet();
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -95,8 +95,16 @@ namespace OnDoc_Paketversand
|
||||
}
|
||||
else
|
||||
{
|
||||
string message = "Das Versand-Couvert Nr. " + paketid + " / Partner-Nr " + vp.partnernr + " konnte nicht versendet werden.";
|
||||
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", message);
|
||||
// string message = "Das Versand-Couvert Nr. " + paketid + " / Partner-Nr " + vp.partnernr + " konnte nicht versendet werden.";
|
||||
string message = "Guten Tag<br><br>Das Versand-Couvert Nr." + paketid + " / Kunde-Nr: " + vp.partnernr + " konnte nicht versendet werden.";
|
||||
message = message + "<br><br>Das Couvert liegt weiterhin im Postausgang und es stehen folgende Optionen zur Verfügung:<br>";
|
||||
message = message + "- Prüfen, ob das Dokument im OnBase gesperrt ist und ggf. entsperren<br>";
|
||||
message = message + "- Löschen des Versand-Couverts und die Dokumente manuell versenden<br>";
|
||||
message = message + "- Nächsten Versand abwarten";
|
||||
message = message + "<br><br>";
|
||||
message = message + "Bei Fragen kannst du das Dokumentenmanagement kontaktieren: per Email an dm@tkb.ch oder telefonisch +41 71 626 64 44";
|
||||
message = message +"<br><br>--------------------------------------------<br>OnDoc";
|
||||
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Versandstrasse Fehler", message);
|
||||
|
||||
sendmail(ersteller, "OnDoc-Versandstrasse: Versandcouvert nicht versendet", message);
|
||||
|
||||
@@ -110,17 +118,27 @@ namespace OnDoc_Paketversand
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string message = "Das Versand-Couvert Nr. " + paketid + " / Partner-Nr " + vp.partnernr + " konnte nicht versendet werden."+Environment.NewLine+"("+ex.Message+")";
|
||||
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", message);
|
||||
//string message = "Das Versand-Couvert Nr. " + paketid + " / Partner-Nr " + vp.partnernr + " konnte nicht versendet werden."+Environment.NewLine+"("+ex.Message+")"
|
||||
|
||||
|
||||
string message = "Guten Tag<br><br>Das Versand-Couvert Nr." + paketid + " / Kunde-Nr: " + vp.partnernr + " konnte nicht versendet werden.";
|
||||
message = message + "<br><br>Das Couvert liegt weiterhin im Postausgang und es stehen folgende Optionen zur Verfügung:<br>";
|
||||
message = message + "- Prüfen, ob das Dokument im OnBase gesperrt ist und ggf. entsperren<br>";
|
||||
message = message + "- Löschen des Versand-Couverts und die Dokumente manuell versenden<br>";
|
||||
message = message + "- Nächsten Versand abwarten";
|
||||
message = message + "<br><br>";
|
||||
message = message + "Bei Fragen kannst du das Dokumentenmanagement kontaktieren: per Email an dm@tkb.ch oder telefonisch +41 71 626 64 44";
|
||||
message = message + "<br><br>--------------------------------------------<br>OnDoc";
|
||||
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Versandstrasse Fehler", message);
|
||||
sendmail(ersteller, "OnDoc-Versandstrasse: Versandcouvert nicht versendet", message);
|
||||
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", message);
|
||||
//sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", message);
|
||||
error = error + 1;
|
||||
}
|
||||
|
||||
}
|
||||
Logging.VersandstrasseLog.Info("Ende OnDocPaketversand", "OnDoc-Paketversand", "", "", "");
|
||||
string msg = "OnDok Paketversand durchgeführt" + Environment.NewLine + "Total Pakete:" + total.ToString() + Environment.NewLine + "OK: " + ok.ToString() + Environment.NewLine + "Fehler: " + error.ToString();
|
||||
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand abgeschlossen", msg);
|
||||
string msg = "OnDoc Paketversand durchgeführt<br>Total Pakete:" + total.ToString() + "<br>OK: " + ok.ToString() +"<br>Fehler: " + error.ToString();
|
||||
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Versandstrasse: Versand abgeschlossen", msg);
|
||||
}
|
||||
private static DataTable Get_Tabledata(string Tablename, bool StoredProc = false, bool is_SQL_String = false, DataTable sp_params = null)
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -277,7 +277,7 @@ namespace Versandstrasse
|
||||
|
||||
private void split_doc(ref versandscript vscript, string document)
|
||||
{
|
||||
SaveBase64ToFile(document, @"x:\f0.pdf");
|
||||
//SaveBase64ToFile(document, @"x:\f0.pdf");
|
||||
vscript.dokuments[0].sourcedokument = document;
|
||||
vsdokument vsd = vscript.dokuments[0];
|
||||
var stream = new MemoryStream(Convert.FromBase64String(vscript.dokuments[0].sourcedokument));
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user