29259328
This commit is contained in:
@@ -650,9 +650,11 @@ namespace API_NetFramework.Controllers
|
||||
{
|
||||
string result = "";
|
||||
|
||||
inthandle = archiv_sb_doc(vd.DokumentID, vd.Partnernr, versandpaket.sb.serienbriefnr.ToString(), vd.dokument, vd.inteintragnr.ToString()); }
|
||||
|
||||
|
||||
inthandle = archiv_sb_doc(vd.DokumentID, vd.Partnernr, versandpaket.sb.serienbriefnr.ToString(), vd.dokument, vd.inteintragnr.ToString());
|
||||
oba.DocumentHandle = inthandle.ToString();
|
||||
DOCGEN.DocGen dg = new DOCGEN.DocGen();
|
||||
versandpaket.finaldoc = dg.geneate_dummy_pdf("VS Serienbrief: Handle "+oba.DocumentHandle.ToString() +" "+ DateTime.Now.ToString("dd.MM.yyyy hh:mm:ss"));
|
||||
}
|
||||
else
|
||||
{
|
||||
IHttpActionResult res = ArchivDocFromDatabase(vd.DokumentID, vd.dokument);
|
||||
@@ -702,6 +704,7 @@ namespace API_NetFramework.Controllers
|
||||
if (SendToOnBase != "Yes")
|
||||
{
|
||||
transferResult = Transfer_OnBase(uploadtype.fast, ref jsonstring, ref ilr);
|
||||
|
||||
if (SendToFile == "Yes")
|
||||
{
|
||||
if (debugfilename != "")
|
||||
@@ -715,6 +718,9 @@ namespace API_NetFramework.Controllers
|
||||
}
|
||||
}
|
||||
}
|
||||
DB db1 = new DB(connectionstring);
|
||||
db1.Exec_SQL("Update Versandstrasse_Protokoll set handle = '" + ilr.response + "' where id=" + versandpaket.protokollid.ToString());
|
||||
db1 = null;
|
||||
APILogging.Log((HttpRequestMessage)Request, "Opload Versandstrasse:" + debugfilename, LogLevelType.Debug);
|
||||
|
||||
//Log nachführen
|
||||
|
||||
Reference in New Issue
Block a user