Index: WSimpl/Halux/AAP/DnaCodeService.cls.xml =================================================================== diff -u -r62950 -r62987 --- WSimpl/Halux/AAP/DnaCodeService.cls.xml (.../DnaCodeService.cls.xml) (revision 62950) +++ WSimpl/Halux/AAP/DnaCodeService.cls.xml (.../DnaCodeService.cls.xml) (revision 62987) @@ -560,11 +560,14 @@ #dim NieuwePalletCodeEWMSCompatibel As %String = NieuwePalletCode If ##class(APPS.VisiDot.impl.Tech).IsFrameID(OudePalletCode) { Set OudePalletCodeEWMSCompatibel = ##class(APPS.VisiDot.impl.Tech).GeefVHossIdVanFrameId(OudePalletCode) + } + If ##class(APPS.VisiDot.impl.Tech).IsFrameID(NieuwePalletCode) { Set NieuwePalletCodeEWMSCompatibel = ##class(APPS.VisiDot.impl.Tech).GeefVHossIdVanFrameId(NieuwePalletCode) } If $$$Not($$$HasLength(HernoemPalletRequest.EnkelDezeDnaCode)) { Do ..InventarisService.HernoemPallet(OudePalletCodeEWMSCompatibel, NieuwePalletCodeEWMSCompatibel) } Else { + //nieuwepalletcode bestaat niet in ewms -> error //16:05 8/12 Do ..InventarisService.VoerBijladenUit(OudePalletCodeEWMSCompatibel, NieuwePalletCodeEWMSCompatibel, ##class(APPS.MAG.enu.MagazijnTransitLocatie).Halux2Transit(), DnaCode.ProductNummer, 1) }