update 20251212
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user