Index: APPS/Halux/PPS/impl/AansturingActie/common/KlantEtiket.cls.xml
===================================================================
diff -u -r30546 -r32572
--- APPS/Halux/PPS/impl/AansturingActie/common/KlantEtiket.cls.xml (.../KlantEtiket.cls.xml) (revision 30546)
+++ APPS/Halux/PPS/impl/AansturingActie/common/KlantEtiket.cls.xml (.../KlantEtiket.cls.xml) (revision 32572)
@@ -11,30 +11,31 @@
APPS.Halux.PPS.dto.ActieResultaat
0)
-
#dim ToeleveringID As %String = ""
#dim Dossiercode As %String = ""
#dim Aantal As %Integer = 1
- If PrintSpecifiekEtiket {
+ If (PrintSpecifiekEtiket) {
Set ToeleveringID = ActieParameters.GetAt(1)
Set Dossiercode = ActieParameters.GetAt(2)
Set Aantal = ActieParameters.GetAt(3)
+
Do ActieParameters.RemoveAt(3)
Do ActieParameters.RemoveAt(2)
Do ActieParameters.RemoveAt(1)
}
- If Batch.GeefCategorie() = ##class(APPS.Halux.common.enu.Categorie).Kaderdeur() {
+
+ If (Batch.GeefCategorie() = ##class(APPS.Halux.common.enu.Categorie).Kaderdeur()) {
Do ..PrintKADKlantEtiket(Batch)
} Else {
#dim KlantEtiketPrinter As APPS.Halux.PPS.impl.AansturingActie.common.KlantEtiket.Template
- if Batch.GeefProductieGroep() = ##class(APPS.Halux.common.enu.ProductieGroep).Kast() {
+
+ If (Batch.GeefProductieGroep() = ##class(APPS.Halux.common.enu.ProductieGroep).Kast()) {
Set KlantEtiketPrinter = ##class(APPS.Halux.PPS.impl.AansturingActie.common.KlantEtiket.MaatwerkInVHOSSEtiketPrinter).%New()
- } else {
- If Batch.GeefCategorie() = ##class(APPS.Halux.common.enu.Categorie).TAORbox() {
- If ..IsTAXMetAssemblageKar(Batch) {
+ } Else {
+ If (Batch.GeefCategorie() = ##class(APPS.Halux.common.enu.Categorie).TAORbox()) {
+ If (..IsTAXMetAssemblageKar(Batch)) {
Set KlantEtiketPrinter = ##class(APPS.Halux.PPS.impl.AansturingActie.Taorbox.KlantEtiket.Gemonteerd.EtiketPrinter).%New()
} Else {
Set KlantEtiketPrinter = ##class(APPS.Halux.PPS.impl.AansturingActie.Taorbox.KlantEtiket.OnGemonteerd.EtiketPrinter).%New()
@@ -43,10 +44,13 @@
Set KlantEtiketPrinter = ##class(APPS.Halux.PPS.impl.AansturingActie.common.KlantEtiket.MaatwerkEtiketPrinter).%New()
}
}
- Do KlantEtiketPrinter.PrintKlantEtiket(Batch,PrintSpecifiekEtiket,ToeleveringID,Dossiercode,Aantal)
+
+ Do KlantEtiketPrinter.PrintKlantEtiket(Batch, PrintSpecifiekEtiket, ToeleveringID, Dossiercode, Aantal)
+
Set ..ResultaatOpmerking = KlantEtiketPrinter.GeefResultaatOmschrijving()
}
- quit ..GeefGeslaagdAansturingResultaat()
+
+ Quit ..GeefGeslaagdAansturingResultaat()
]]>
@@ -64,22 +68,23 @@