Index: PV VisiDot.prj.xml
===================================================================
diff -u -r2047 -r2104
--- PV VisiDot.prj.xml (.../PV VisiDot.prj.xml) (revision 2047)
+++ PV VisiDot.prj.xml (.../PV VisiDot.prj.xml) (revision 2104)
@@ -1,6 +1,6 @@
-
+
@@ -37,6 +37,7 @@
+
Index: APPS/VisiDot/impl/VHossControleurZijkant.cls.xml
===================================================================
diff -u -r2091 -r2104
--- APPS/VisiDot/impl/VHossControleurZijkant.cls.xml (.../VHossControleurZijkant.cls.xml) (revision 2091)
+++ APPS/VisiDot/impl/VHossControleurZijkant.cls.xml (.../VHossControleurZijkant.cls.xml) (revision 2104)
@@ -75,7 +75,7 @@
}
/// Opslaan van binnenkomende data in de juiste directory
- Set BestandNaam = "CaptureInfo_IN"_$tr($h,",")_".xml"
+ Set BestandNaam = "CaptureInfo_IN_"_$tr($h,",")_".xml"
//Set BestandNaam = "CaptureInfo_IN.xml"
Set VHossSequentie = ##class(APPS.VisiDot.impl.VHossCaptureHelper).MaakVHossSequentie(..VHossVolgNr,..VHossZijkant)
Set BestandNaam = VHossSequentie_"_"_BestandNaam
@@ -174,7 +174,7 @@
Set Info = "Er ontbreken laden in volgende vakken : "_LegeSlots
/// JBL uitgecommentarieerd, anders een popup !
//Do ..CaptureHelper.ZetError(##class(APPS.VisiDot.enu.FoutTypes).Waarschuwing(),"Ontbrekende laden",Info)
- If (^JBL.VisiDot.SlotControle){
+ If ($G(^JBL.VisiDot.SlotControle)){
Do ..CaptureHelper.ZetGebruikersInfo(Info)
Do ..CaptureHelper.ZetFoutCode(##class(APPS.VisiDot.enu.FoutCodes).VHossOntbrekend())
}
@@ -195,9 +195,6 @@
DetectionHelper
Index: TECH/Files.cls.xml
===================================================================
diff -u -r2047 -r2104
--- TECH/Files.cls.xml (.../Files.cls.xml) (revision 2047)
+++ TECH/Files.cls.xml (.../Files.cls.xml) (revision 2104)
@@ -156,5 +156,18 @@
If $$$ERROR(Status) Do ##class(TECH.ExceptionHandler).Throw(##class(TECH.Exceptions.FileException).%New("Kon bestand niet kopieren van "_FromPath_" naar "_ToPath,Status))
]]>
+
+
+1
+BestandLocatie:%String,DoelLocatie:%String
+
+
Index: WS/VisiDot/OperatorServer.cls.xml
===================================================================
diff -u -r1866 -r2104
--- WS/VisiDot/OperatorServer.cls.xml (.../OperatorServer.cls.xml) (revision 1866)
+++ WS/VisiDot/OperatorServer.cls.xml (.../OperatorServer.cls.xml) (revision 2104)
@@ -57,7 +57,7 @@
Set ProcessedData = ##class(%GlobalCharacterStream).%New()
Set ComputerNaam = ##class(TECH.Context.RuntimeContext).Instance().GeefComputerNaam()
- Set CaptureString = CaptureInfo.Read(32000)
+ Set CaptureString = CaptureInfo.Read(300)
Do CaptureInfo.Rewind()
Do ##class(vhLib.Logger).%New("WS.VisiDot").Info("CaptureInfo IN", "["_ComputerNaam_"] "_ActionType_" -> "_CaptureString)
@@ -92,7 +92,7 @@
Do ProcessedData.Flush()
- Set ProcesseDataString = ProcessedData.Read(32000)
+ Set ProcesseDataString = ProcessedData.Read(300)
Do ProcessedData.Rewind()
Do ##class(vhLib.Logger).%New("WS.VisiDot").Info("ProcessedData OUT", "["_ComputerNaam_"] "_ActionType_" -> "_ProcesseDataString)
Index: BL/PPS/TBX/DocsProPlus.cls.xml
===================================================================
diff -u -r2091 -r2104
--- BL/PPS/TBX/DocsProPlus.cls.xml (.../DocsProPlus.cls.xml) (revision 2091)
+++ BL/PPS/TBX/DocsProPlus.cls.xml (.../DocsProPlus.cls.xml) (revision 2104)
@@ -117,11 +117,11 @@
If Opties["D" Do ; Print and Save as PDF-file
. Set sc=..VHossDocs()
- . Do WL^vhDBG("Status VHossDocs: "_$$ParseStatus^vhLib(sc))
+ ;. Do WL^vhDBG("Status VHossDocs: "_$$ParseStatus^vhLib(sc))
. Set sc=..VHossDocsToFile()
- . Do WL^vhDBG("Status VHossDocs: "_$$ParseStatus^vhLib(sc))
+ ;. Do WL^vhDBG("Status VHossDocs: "_$$ParseStatus^vhLib(sc))
. Set sc=..VHossXMLToFile()
- . Do WL^vhDBG("Status VHossDocs: "_$$ParseStatus^vhLib(sc))
+ ;. Do WL^vhDBG("Status VHossDocs: "_$$ParseStatus^vhLib(sc))
;update in batch
Set PrintLijstInfo = ##class(BL.PPS.TBX.PrintLijstInfo).GeefPrintLijstInfo(..BatchID)
Set PrintList=PrintLijstInfo.PrintLijst
@@ -928,21 +928,17 @@
Set sc=##class(BL.Flow.Basis.Doc).DocSetRenderData(Task.AddDoc(), "STREAM", DataStream, ..FOPTemplate, "PDF" ,$LB(), $LB())
Set DataStream="" ; Unswizzle CacheStream after being copied into the TaskDoc
Set FName="VHossDocs_"_KLNr_" "_$TR($zdt($H,8),":")_".pdf"
- Set Dir=##class(BL.Sys.FOP.CommonTasks).LoggedOnUserPath()
- Set:(Dir="") Dir="\\fop\e$\FOP\PDFTemp"
- ;Do ##class(BL.Flow.Basis.Doc).BuildFileData("File", .FName,.Dir,.FilePath, "")
- Set:($$$ISOK(sc)) sc=Task.AddActionFile(FName,Dir)
- Quit:($$$ISERR(sc)) sc
- /// VHossDocs in archief map plaatsen
- Set DoelLocatie = ##class(TECH.Config.ConfigMgr).Instance().GetString("APPS.VisiDot.ZijkantAfhandelaar.FileLocation")
- Set DoelLocatie = ##class(TECH.Files).AppendFile(DoelLocatie,..BatchID)
- Set:($$$ISOK(sc)) sc=Task.AddActionFile(FName,DoelLocatie)
+ Set DoelLocatie = ##class(TECH.Config.ConfigMgr).Instance().GetString("APPS.VisiDot.ZijkantAfhandelaar.FileLocation")
+ Set DoelLocatie = ##class(TECH.Files).AppendFile(DoelLocatie,..BatchID)
+
+ Set:($$$ISOK(sc)) sc=Task.AddActionFile(FName,DoelLocatie)
Quit:($$$ISERR(sc)) sc
Set %blnProxy=0
Set sc=##class(BL.Sys.FOP.CommonTasks).RunFopTask(Task,$$$rmBatch,)
Kill %blnProxy
+
Quit sc
]]>
Index: APPS/VisiDot/impl/ZijkantAfhandelaar.cls.xml
===================================================================
diff -u -r2091 -r2104
--- APPS/VisiDot/impl/ZijkantAfhandelaar.cls.xml (.../ZijkantAfhandelaar.cls.xml) (revision 2091)
+++ APPS/VisiDot/impl/ZijkantAfhandelaar.cls.xml (.../ZijkantAfhandelaar.cls.xml) (revision 2104)
@@ -21,8 +21,7 @@
Set CaptureHelper = ##class(APPS.VisiDot.impl.VHossCaptureHelper).%New(ProcessedData)
Set VHossSequentie = CaptureHelper.GeefVHossSequentie()
- Set BestandNaam = VHossSequentie_"_CaptureInfo_OUT"_$tr($h,",")_".xml"
- //Set BestandNaam = VHossSequentie_"_CaptureInfo_OUT.xml"
+ Set BestandNaam = VHossSequentie_"_CaptureInfo_OUT_"_$tr($h,",")_".xml"
Do ..BewaarData(ProcessedData,BestandNaam)
]]>
@@ -44,25 +43,25 @@
1
Index: BL/Sys/Clean.cls.xml
===================================================================
diff -u -r1558 -r2104
--- BL/Sys/Clean.cls.xml (.../Clean.cls.xml) (revision 1558)
+++ BL/Sys/Clean.cls.xml (.../Clean.cls.xml) (revision 2104)
@@ -69,6 +69,9 @@
Set %Actie="HATBXLean - verwijder oude TBX batches"
Do ##class(BL.PPS.TBX.Sequencer).Instantiate().DeleteOldBatches()
+ Set %Actie="VisiDot - verwijder oude bestanden"
+ Do ##class(APPS.VisiDot.impl.CleanUp).Execute()
+
Quit
CleanTrapW
Index: APPS/VisiDot/impl/CleanUp.cls.xml
===================================================================
diff -u
--- APPS/VisiDot/impl/CleanUp.cls.xml (revision 0)
+++ APPS/VisiDot/impl/CleanUp.cls.xml (revision 2104)
@@ -0,0 +1,36 @@
+
+
+
+1
+%RegisteredObject
+0
+
+
+
+Aantal dagen dat files bewaard worden.
+%Integer
+31
+
+
+
+1
+%Status
+
+
+
+