Index: BL/PPS/TBX/DocsProPlus.cls.xml =================================================================== diff -u -r2047 -r2050 --- BL/PPS/TBX/DocsProPlus.cls.xml (.../DocsProPlus.cls.xml) (revision 2047) +++ BL/PPS/TBX/DocsProPlus.cls.xml (.../DocsProPlus.cls.xml) (revision 2050) @@ -130,6 +130,7 @@ . If Optie="P" Set Optie="PE" . If '$LF(PrintList,Optie) Set PrintList=PrintList_$LB(Optie) Set PrintLijstInfo.PrintLijst = PrintList + Do PrintLijstInfo.VerhoogFase() Do PrintLijstInfo.%Save() ]]> Index: vhDeploy/JCL/Deploy20110912x1000.cls.xml =================================================================== diff -u --- vhDeploy/JCL/Deploy20110912x1000.cls.xml (revision 0) +++ vhDeploy/JCL/Deploy20110912x1000.cls.xml (revision 2050) @@ -0,0 +1,20 @@ + + + +1 +svn.Deploy +0 + + +Opzetten TBXLean Printitems + + + +1 + + + + Index: CHUI/PPS/TBX/LeanBatch.cls.xml =================================================================== diff -u -r2023 -r2050 --- CHUI/PPS/TBX/LeanBatch.cls.xml (.../LeanBatch.cls.xml) (revision 2023) +++ CHUI/PPS/TBX/LeanBatch.cls.xml (.../LeanBatch.cls.xml) (revision 2050) @@ -498,9 +498,9 @@ 1 %String @@ -510,9 +510,9 @@ 1 %String @@ -522,9 +522,9 @@ 1 %String @@ -534,9 +534,9 @@ 1 %String @@ -546,24 +546,37 @@ 1 %String + +PrintLijst:%List,Fase:BL.PPS.TBX.enu.PrintStatus +1 +1 +%String +##class(BL.PPS.TBX.enu.PrintFase).Voorbereiding()) Quit ##class(BL.PPS.TBX.enu.PrintStatus).NietPrinten() + If $LF(PrintLijst,"Y") Quit ##class(BL.PPS.TBX.enu.PrintStatus).Geprint() + If '$LF(PrintLijst,"Y") Quit ##class(BL.PPS.TBX.enu.PrintStatus).Printen() +]]> + + -PrintLijst:%List +PrintLijst:%List,Fase:%String=1 1 1 %String @@ -576,22 +589,48 @@ %String @@ -608,11 +647,11 @@ Set HaluxBatch = ##class(APPS.Halux.common.BatchService).%New().GeefBatch(BatchNr) Do bl.GebruikBatch(HaluxBatch) Set PrintLijst = ##class(BL.PPS.TBX.PrintLijstInfo).GeefPrintLijstInfo(BatchNr).PrintLijst - If (bl.TipOnPrintStatus(PrintLijst)="N") { Do ..VerwijderUitMenu("TIP-ON") } - If (bl.SifonPrintStatus(PrintLijst)="N") { Do ..VerwijderUitMenu("Sifon") } - If (bl.SpoelbakPrintStatus(PrintLijst)="N"){ Do ..VerwijderUitMenu("Spoelbak") } - If (bl.TipOnFreesStatus(PrintLijst)="N") { Do ..VerwijderUitMenu("Frees TIP-ON") } - If (bl.SpoelSifonFreesStatus(PrintLijst)="N") { Do ..VerwijderUitMenu("Frees spoel/sifon") } + If (bl.TipOnPrintStatus(PrintLijst)=##class(BL.PPS.TBX.enu.PrintStatus).NietPrinten()) { Do ..VerwijderUitMenu("TIP-ON") } + If (bl.SifonPrintStatus(PrintLijst)=##class(BL.PPS.TBX.enu.PrintStatus).NietPrinten()) { Do ..VerwijderUitMenu("Sifon") } + If (bl.SpoelbakPrintStatus(PrintLijst)=##class(BL.PPS.TBX.enu.PrintStatus).NietPrinten()){ Do ..VerwijderUitMenu("Spoelbak") } + If (bl.TipOnFreesStatus(PrintLijst)=##class(BL.PPS.TBX.enu.PrintStatus).NietPrinten()) { Do ..VerwijderUitMenu("Frees TIP-ON") } + If (bl.SpoelSifonFreesStatus(PrintLijst)=##class(BL.PPS.TBX.enu.PrintStatus).NietPrinten()) { Do ..VerwijderUitMenu("Frees spoel/sifon") } ]]> Index: BL/PPS/TBX/PrintLijstInfo.cls.xml =================================================================== diff -u -r1074 -r2050 --- BL/PPS/TBX/PrintLijstInfo.cls.xml (.../PrintLijstInfo.cls.xml) (revision 1074) +++ BL/PPS/TBX/PrintLijstInfo.cls.xml (.../PrintLijstInfo.cls.xml) (revision 2050) @@ -15,6 +15,11 @@ %List + +BL.PPS.TBX.enu.PrintFase +1 + + 1 1 @@ -62,6 +67,25 @@ ]]> + + + + + + + + %Library.CacheStorage ^BL.PPS.TBX.PrintLijstInfoD @@ -78,6 +102,9 @@ PrintLijst + +Fase + Index: BL/PPS/TBX/enu/PrintStatus.cls.xml =================================================================== diff -u --- BL/PPS/TBX/enu/PrintStatus.cls.xml (revision 0) +++ BL/PPS/TBX/enu/PrintStatus.cls.xml (revision 2050) @@ -0,0 +1,31 @@ + + + +datatype +1 +TECH.Enumeration +0 + + +,P,N,OK + + + +1 + + + + +1 + + + + +1 + + + + Index: BL/PPS/TBX/Sequencer.cls.xml =================================================================== diff -u -r1344 -r2050 --- BL/PPS/TBX/Sequencer.cls.xml (.../Sequencer.cls.xml) (revision 1344) +++ BL/PPS/TBX/Sequencer.cls.xml (.../Sequencer.cls.xml) (revision 2050) @@ -257,7 +257,7 @@ If (##class(BL.PPS.TBX.PrintLijstInfo).%ExistsId(BatchID)) { Set PrintLijstInfo = ##class(BL.PPS.TBX.PrintLijstInfo).%OpenId(BatchID) - Set PrintLijstInfo.PrintLijst = "" + do PrintLijstInfo.ResetPrintLijst() Do PrintLijstInfo.%Save() } ]]> Index: BL/PPS/TBX/enu/PrintFase.cls.xml =================================================================== diff -u --- BL/PPS/TBX/enu/PrintFase.cls.xml (revision 0) +++ BL/PPS/TBX/enu/PrintFase.cls.xml (revision 2050) @@ -0,0 +1,31 @@ + + + +datatype +1 +TECH.Enumeration +0 + + +,1,2,3 + + + +1 + + + + +1 + + + + +1 + + + + Index: BL/PPS/TBX/DocsV1.cls.xml =================================================================== diff -u -r2047 -r2050 --- BL/PPS/TBX/DocsV1.cls.xml (.../DocsV1.cls.xml) (revision 2047) +++ BL/PPS/TBX/DocsV1.cls.xml (.../DocsV1.cls.xml) (revision 2050) @@ -144,6 +144,7 @@ . If Optie="P" Set Optie="PA" . If '$LF(PrintList,Optie) Set PrintList=PrintList_$LB(Optie) Set PrintLijstInfo.PrintLijst=PrintList + Do PrintLijstInfo.VerhoogFase() Do PrintLijstInfo.%Save() ]]> @@ -1236,7 +1237,7 @@ Set pxLabel.Referentie=..KlantEtiketOneOrderRef(KLNr,ORDNr,OLNr) Set ProjectRef=$S('OLNr:"",1:$P($G(^KOD(KLNr,"F",ORDNr,OLNr)),"\",5)) Set:$L(ProjectRef) pxLabel.Referentie=ProjectRef ; Projectreferentie is belangrijker dan de orderreferentie - If (KLNr=7833)||(KLNr=6279) Set pxLabel.KlantNaamBig=$$UPTRIMAN^vhRtn1(pxLabel.OrderRef) ; Voor Hein en Optima + If (KLNr=7833)||(KLNr=6279) Set pxLabel.KlantNaam=$$UPTRIMAN^vhRtn1(pxLabel.OrderRef) ; Voor Hein en Optima ; Indien contract dan leverweek van toelevering If TOENr,TLNr,$D(^KTO(6332,TOENr,TLNr)) Do