Index: APPS/MAG/Inventaris/impl/InventarisService.cls.xml
===================================================================
diff -u -r73263 -r73264
--- APPS/MAG/Inventaris/impl/InventarisService.cls.xml (.../InventarisService.cls.xml) (revision 73263)
+++ APPS/MAG/Inventaris/impl/InventarisService.cls.xml (.../InventarisService.cls.xml) (revision 73264)
@@ -914,8 +914,9 @@
OriginelePalletID:%String,NieuwePalletID:%String
DragerID:%String
DOM.MAG.MagazijnLocatie
8) {
+ If ($Length(DragerID) > 9) {
Set ExceptionDragerIDIsTeLang = ##class(TECH.Exceptions.InvalidUserInputException).%New("Een drager mag maximum 8 tekens bevatten.")
Do ExceptionDragerIDIsTeLang.VoegToeExtraInfo("DragerID : "_DragerID)
Do ##class(TECH.ExceptionHandler).Throw(ExceptionDragerIDIsTeLang)
}
-
+ Set DragerID = $Extract(DragerID, 1, 8)
#Dim Locatie As DOM.MAG.MagazijnLocatie = ##class(DOM.DomeinContext).Instance().GeefMagazijnAPI().GeefMagazijnLocatie("")
#Dim SQL As %String = "SELECT L.loc_m As M,L.loc_g As G,L.loc_x As X,L.loc_y As Y FROM EWMS.Locations L WHERE Loc_id = ? "
#Dim ResultSet As %ResultSet = $$ExecDynQuery^vhLib.Query(SQL,$listbuild(DragerID))