@@ -54,7 +54,7 @@
%String
"_..DestDir_"\"_..DestFName_"("_..UserName_","_..PassWord_")" ; [Review JBL WV FOPQueue] Alleen Destination vermelden, rest NIET
+ Set:(..FromPath'="" || (..DestDir'= "") || (..DestFName'="")) ToString = "FTP : "_..FromPath_" -> "_ ##class(TECH.Files).AppendFile(..DestDir,..DestFName)
Quit ToString
]]>
Index: BL/Flow/Offerte/Doc.cls.xml
===================================================================
diff -u -r1798 -r1835
--- BL/Flow/Offerte/Doc.cls.xml (.../Doc.cls.xml) (revision 1798)
+++ BL/Flow/Offerte/Doc.cls.xml (.../Doc.cls.xml) (revision 1835)
@@ -34,9 +34,18 @@
Set BronType = $LG(lbOfferte,2) ; [Review JBL WV FOPQueue] Onderscheid maken tussen BronType = KOF en WS : komen resp. uit ^KOFKL en uit ^Flow.Offerte.Hoofding
Set ToString = ToString _"Nr: "_OfferteNr
- If $Data(^KOFKL1(OfferteNr,"F")){ ; [Review JBL WV FOPQueue] Dit is deel 1 (KOF)
- Set KLNr=$P(^KOFKL1(OfferteNr,"F"),"\")
- Set ToString = ToString_", KlantNr: "_KLNr
+ If (BronType = "KOF"){
+ If $Data(^KOFKL1(OfferteNr,"F")){ ; [Review JBL WV FOPQueue] Dit is deel 1 (KOF)
+ Set KLNr=$P(^KOFKL1(OfferteNr,"F"),"\")
+ Set ToString = ToString_", KlantNr: "_KLNr
+ }
+ }Else{
+ Set OffBL=##class(BL.Flow.Offerte.Build).%New()
+ Set Offerte=OffBL.Open(OfferteNr)
+ If ($IsObject(Offerte) && $IsObject(Offerte.Klant)){
+ Set KLNr=Offerte.Klant.Nummer
+ Set ToString = ToString_", KlantNr: "_KLNr
+ }
}
; [Review JBL WV FOPQueue] Deel 2 (WS)
Index: _csp/admin1/FOPQueue.csp
===================================================================
diff -u -r1785 -r1835
--- _csp/admin1/FOPQueue.csp (.../FOPQueue.csp) (revision 1785)
+++ _csp/admin1/FOPQueue.csp (.../FOPQueue.csp) (revision 1835)
@@ -213,7 +213,7 @@
. If arColSpecial(col)="Task" Do
. . Set:($L(tmpVal)) tmpVal=""_tmpVal_""
- #($S($L(tmpVal):tmpVal,1:" "))# |
+ #($S($L(tmpVal,$$$CRLF)>1:$$$Replace(tmpVal,$$$CRLF," "), $L(tmpVal):tmpVal,1:" "))# |