update 20251212

This commit is contained in:
Stefan Hutter
2025-12-12 10:56:50 +01:00
parent 6ac2108d40
commit 0cfe92ab79
33 changed files with 183 additions and 63 deletions

View File

@@ -160,11 +160,11 @@ namespace DOCGEN
db.Get_Tabledata("Select dokumenttypnr from dokument where dokumentid='" + Docid + "'", false, true);
int dokumenttypnr = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]);
db.Get_Tabledata("Select count(*) from dbo.OnDoc_Update_PDF_Document_Fields where dokumenttypnr=" + dokumenttypnr.ToString(), false, true);
bool updatefields = false;
bool updatefields = true;
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) > 0)
{
updatefields = true;
updatefields = false;
}
db = null;
@@ -354,7 +354,7 @@ namespace DOCGEN
}
public string Convert_Word_To_PDF(string document, DataTable pdfparameters = null, bool useseettings = false , bool updatefields=false)
public string Convert_Word_To_PDF(string document, DataTable pdfparameters = null, bool useseettings = false , bool updatefields=true)
{