Index: vhDeploy/CSC/Deploy20111003x1126.cls.xml =================================================================== diff -u --- vhDeploy/CSC/Deploy20111003x1126.cls.xml (revision 0) +++ vhDeploy/CSC/Deploy20111003x1126.cls.xml (revision 2248) @@ -0,0 +1,19 @@ + + + +1 +svn.Deploy +0 + + +1 + + + + Index: APPS/Halux/common/ProductieService.cls.xml =================================================================== diff -u -r2129 -r2248 --- APPS/Halux/common/ProductieService.cls.xml (.../ProductieService.cls.xml) (revision 2129) +++ APPS/Halux/common/ProductieService.cls.xml (.../ProductieService.cls.xml) (revision 2248) @@ -17,14 +17,17 @@ Set Verpakking = TBXLade.GeefVerpakking() If ((Verpakking = ##class(DOM.PM.enu.TBXVerpakking).KastMetOnderdelen()) || (Verpakking = ##class(DOM.PM.enu.TBXVerpakking).KastZonderOnderdelen())) { - If (Toelevering.GeefOrder().GeefKlantNr() = 1239) + If ($IsObject(Toelevering.GeefOrder())) { - Set ProductieGroep = ##class(APPS.Halux.common.enu.ProductieGroep).Plus() + If (Toelevering.GeefOrder().GeefKlantNr() = 1239) + { + Set ProductieGroep = ##class(APPS.Halux.common.enu.ProductieGroep).Plus() + } + ElseIf ($Find(..#KastKlanten,";"_Toelevering.GeefOrder().GeefKlantNr()_";")) + { + Set ProductieGroep = ##class(APPS.Halux.common.enu.ProductieGroep).Kast() + } } - ElseIf ($Find(..#KastKlanten,";"_Toelevering.GeefOrder().GeefKlantNr()_";")) - { - Set ProductieGroep = ##class(APPS.Halux.common.enu.ProductieGroep).Kast() - } Else { Set ProductieGroep = ##class(APPS.Halux.common.enu.ProductieGroep).Pallet()