update 20250102

This commit is contained in:
Stefan Hutter
2025-01-02 19:18:08 +01:00
parent 53a008972e
commit 3b0a2b0527
287 changed files with 46014 additions and 27 deletions

View File

@@ -42,6 +42,7 @@ namespace OnDoc.DocMgmt
{
InitializeComponent();
Broadcaster().AddListener(this);
Closing += Form_Closing;
}
public Dokumenterstellung(int Partnernr, int Dokumenttpynr, int Profilnr)
@@ -52,6 +53,7 @@ namespace OnDoc.DocMgmt
profilnr = Profilnr;
Broadcaster().AddListener(this);
Closing += Form_Closing;
}
public Dokumenterstellung(int Partnernr, int Dokumenttypnr, int Profilnr, string Interaktion, string Showdoc)
@@ -79,6 +81,11 @@ namespace OnDoc.DocMgmt
if (sender.Function == "Disable") { btnDokumenterstellen.Enabled = false; } else { btnDokumenterstellen.Enabled = true; }
}
}
if (message == "AdminDokErstellung")
{
Dokument_Erstellen();
}
}
private void Dokumenterstellung_Load(object sender, EventArgs e)
@@ -98,6 +105,7 @@ namespace OnDoc.DocMgmt
Security security = new Security();
security.set_security(this);
security = null;
}
@@ -133,8 +141,11 @@ namespace OnDoc.DocMgmt
dB.add_parameter("@BARCODEFONTSIZE","");
dB.add_parameter("@BarcodeKantenlaenge", "");
dB.Get_Tabledata("sp_get_barcodetype_and_value", true, false);
dokdata.barcode_content = dB.dsdaten.Tables[0].Rows[0][1].ToString();
dokdata.barcode_content = dB.dsdaten.Tables[0].Rows[0][2].ToString();
dokdata.barcode_text = dB.dsdaten.Tables[0].Rows[0][4].ToString();
dokdata.barcode_kantenlaenge = dB.dsdaten.Tables[0].Rows[0][5].ToString();
dokdata.barcode_formatn = dB.dsdaten.Tables[0].Rows[0][3].ToString();
dB = null;
}
@@ -144,7 +155,7 @@ namespace OnDoc.DocMgmt
DOCGEN.Generator.DocGenerator_from_EDOKA Generator = new DOCGEN.Generator.DocGenerator_from_EDOKA(AppParams.connectionstring, AppParams.tempdir, AppParams.RESTURI, AppParams.apikey,AppParams.Office_Fill_DocIO);
clsdok dok = new clsdok("", "", "");
Logging.Logging.Debug("Generate_Doc_EDOKA", "Dokumenterstellung", dokumentid);
dok = Generator.Generate_Doc_EDOKA(dokumentid, ref dokdata, ucAllgemeineDokumentParam1.ErstellungInOffice,AppParams.OfficeSpleep1);
dok = Generator.Generate_Doc_EDOKA(dokumentid, ref dokdata, ucAllgemeineDokumentParam1.ErstellungInOffice,AppParams.OfficeSpleep1, AppParams.vbvorlagenmanagement=="Yes");
Logging.Logging.Debug("Generate_Doc_EDOKA - Ende", "Dokumenterstellung", dokumentid);