Index: APPS/Halux/PPS/Activiteit/impl/common/ProductieDetailDocument/LijstVerwerker.cls.xml =================================================================== diff -u -r54303 -r67395 --- APPS/Halux/PPS/Activiteit/impl/common/ProductieDetailDocument/LijstVerwerker.cls.xml (.../LijstVerwerker.cls.xml) (revision 54303) +++ APPS/Halux/PPS/Activiteit/impl/common/ProductieDetailDocument/LijstVerwerker.cls.xml (.../LijstVerwerker.cls.xml) (revision 67395) @@ -31,6 +31,11 @@ 1 + +Sys.FOP.SubTaskMail +1 + + ProductieDetailDocumentService:APPS.Halux.PPS.Document.ProductieDetailDocument.ProductieDetailDocumentService,ProductTypeApi:DOM.PM.ProductTypeAPI="" 1 @@ -92,7 +97,14 @@ Set ToeleveringVolgensSequentieIterator = ##class(APPS.Halux.PPS.Document.impl.common.PerToeleveringInSequentieIterator).%New(..ProductDetailInputParametersPerToelevering,..ToeleveringVolgordeLijst) While ToeleveringVolgensSequentieIterator.HasNext() { - do ..ProductieDetailDocumentService.DrukAf(ToeleveringVolgensSequentieIterator.Next(),PrinterID) + #dim InputParameterLijst As APPS.common.Document.dto.InputParametersLijst = ToeleveringVolgensSequentieIterator.Next() + + Do ..ProductieDetailDocumentService.DrukAf(InputParameterLijst, PrinterID) + + If (..BevatProductenVoorSpecialWorkshop(InputParameterLijst)) { + Set ..DocBaseMailParams = ..GeefDocBaseMailParams() + Do ..ProductieDetailDocumentService.MailPDF(InputParameterLijst, ..DocBaseMailParams) + } } ]]> @@ -121,6 +133,42 @@ } ]]> + + +InputParameterLijst:APPS.common.Document.dto.InputParametersLijst +1 +%Boolean + + + + +1 +Sys.FOP.SubTaskMail + +