Index: BL/Flow/TransportLijst/Doc.cls.xml =================================================================== diff -u -r73454 -r73691 --- BL/Flow/TransportLijst/Doc.cls.xml (.../Doc.cls.xml) (revision 73454) +++ BL/Flow/TransportLijst/Doc.cls.xml (.../Doc.cls.xml) (revision 73691) @@ -135,11 +135,11 @@ #dim Task As Sys.FOP.Task = ..CreateFopTask("DocRenderAndPrint",,) #dim Doc As Sys.FOP.emDoc = Task.AddDoc() #dim lbDocs As %List = $LB("TOER",+DatumVan,+DatumTot,VerzendWijze) - #dim sc As %Status = ..DocSetRenderDefs(Doc, lbDocs, ..#ADBTemplateBewijsStapled, "PS", $LB(), pWithLogo) + #dim sc As %Status = ..DocSetRenderDefs(Doc, lbDocs, ..#ADBTemplateBewijsNotStapled, "PS", $LB(), pWithLogo) - #dim StaplingMode As %String = "1" + #dim StaplingMode As %String = "" #dim OutputTray As %String = "" - #dim pStaplingConfig As %String = ##class(BL.Sys.FOP.CommonTasks).GetStaplingConfig(PrinterName, .StaplingMode, .OutputTray) + #dim pStaplingConfig As %String = "" ; ##class(BL.Sys.FOP.CommonTasks).GetStaplingConfig(PrinterName, .StaplingMode, .OutputTray) Set Doc.XSLParameters = Doc.XSLParameters _ ..BuildXsltParams("", "", "", pTraySelect, "", pStaplingConfig) ; Let op: er is nog geen controle op dubbele KVP's #dim NumCopies As %Integer = 1 @@ -152,25 +152,14 @@ -Oproepen via : - s sc=##class(BL.Flow.TransportLijst.Doc).RenderAndPrintANotasViaBons($LB(335823),"BrotherBoekH",1,"1",) w sc,! - or - s sc=##class(BL.Flow.Levering.Doc).RenderAndPrintDocViaType(305229,"BonWit_Bewijs","BrotherBoekH") w sc,! +DEPRECATED method. +Instead of this method, call RenderAndPrintLevBewijzen() 1 lbBONNrs:%List,PrinterName:%String,pWithLogo:%Boolean=1,pTraySelect:%String="",StaplingMode:%String="" %Status