Index: UI/MB/UGLYPicking/dlgOpslagPalSel.cls.xml
===================================================================
diff -u -r7960 -r7981
--- UI/MB/UGLYPicking/dlgOpslagPalSel.cls.xml (.../dlgOpslagPalSel.cls.xml) (revision 7960)
+++ UI/MB/UGLYPicking/dlgOpslagPalSel.cls.xml (.../dlgOpslagPalSel.cls.xml) (revision 7981)
@@ -530,7 +530,7 @@
; Font.Height = -13
; Font.Name = 'MS Sans Serif'
; Font.Style = [fsBold]
- ; MaxLength = 8
+ ; MaxLength = 10
; ParentCtl3D = False
; ParentFont = False
; TabOrder = 2
@@ -815,15 +815,30 @@
+1
%String
+
+
+
+
+1
+%String
+
+
+
+
+PalletID:%String
+1
+%String
@@ -855,7 +870,7 @@
New Result
Set Result=$$$cmGeneral.CompleteLocationViaPalletID(.BronLocation,BronPalletID)
-
+
If Result'="" Do Quit
. Do pdaMsgBox^vhVisual(..Form.Caption,"Bronlocatie: "_Result,$$$MBICONINFORMATION)
@@ -865,7 +880,6 @@
If DoelLocation="" Do Quit
. Do pdaMsgBox^vhVisual(..Form.Caption,"Er is geen geldige doellocatie ingescand!",$$$MBICONINFORMATION)
-
New Status ;Volgende functie levert een $LB(ErrNr,ErrMsg) terug, indien ErrNr<0 toon ErrStr
Set Status=$$$cmOpslag.VerplaatsPallet(BronLocation,DoelLocation,BronPalletID)
If $LI(Status)<0 Do
@@ -874,7 +888,6 @@
Else Do
. Do pdaMsgBox^vhVisual(..Form.Caption,$LI(Status,2),$$$MBICONINFORMATION)
. Set ..Form.ModalResult=$$$mrOk
-
Quit
;------------------------------------------------------------------------------
@@ -913,8 +926,8 @@
Do ..dCOMPWRITEProdsOnPallet()
New Status,HistoryRemark
- Set HistoryRemark="Wijzig "_..GeefBronPalletID()_"->"_..txtDoelPalletID.Text
- Set Status=$$$cmOpslag.ChangePalletID(..GeefBronPalletID(),..txtDoelPalletID.Text,HistoryRemark)
+ Set HistoryRemark="Wijzig "_..GeefBronPalletID()_"->"_..GeefDoelPalletID()
+ Set Status=$$$cmOpslag.ChangePalletID(..GeefBronPalletID(),..GeefDoelPalletID(),HistoryRemark)
If $LI(Status)<0 Do
. Do pdaMsgBox^vhVisual(..Form.Caption,$LI(Status,2),$$$MBICONERROR)
@@ -1114,7 +1127,7 @@
d %this.lblHerhalingPallet.Font.SetMultiProperty($lb("Charset","Color","Height","Name","Style"),$lb($$$DEFAULTCHARSET,$$$clWindowText,-13,"MS Sans Serif",$lb("fsBold")))
d %this.txtDoelLocatie.SetMultiProperty($lb("Left","Top","Width","Height","CharCase","Ctl3D","MaxLength","ParentCtl3D","ParentFont","TabOrder","OnKeyDown"),$lb(18,20,96,22,"ecUpperCase","False",8,"False","False",0,$lb(%this,"txtDoelLocatieKeyDown")))
d %this.txtDoelLocatie.Font.SetMultiProperty($lb("Charset","Color","Height","Name","Style"),$lb($$$DEFAULTCHARSET,$$$clWindowText,-13,"MS Sans Serif",$lb("fsBold")))
- d %this.txtDoelPalletID.SetMultiProperty($lb("Left","Top","Width","Height","CharCase","Ctl3D","MaxLength","ParentCtl3D","ParentFont","TabOrder","OnKeyDown","OnKeyPress"),$lb(138,20,88,22,"ecUpperCase","False",8,"False","False",1,$lb(%this,"txtDoelPalletIDKeyDown"),$lb(%this,"txtPalletIDKeyPress")))
+ d %this.txtDoelPalletID.SetMultiProperty($lb("Left","Top","Width","Height","CharCase","Ctl3D","MaxLength","ParentCtl3D","ParentFont","TabOrder","OnKeyDown","OnKeyPress"),$lb(138,20,88,22,"ecUpperCase","False",10,"False","False",1,$lb(%this,"txtDoelPalletIDKeyDown"),$lb(%this,"txtPalletIDKeyPress")))
d %this.txtDoelPalletID.Font.SetMultiProperty($lb("Charset","Color","Height","Name","Style"),$lb($$$DEFAULTCHARSET,$$$clWindowText,-13,"MS Sans Serif",$lb("fsBold")))
d %this.txtConfirmDoelPalletID.SetMultiProperty($lb("Left","Top","Width","Height","CharCase","Ctl3D","MaxLength","ParentCtl3D","ParentFont","TabOrder","Visible","OnKeyDown","OnKeyPress"),$lb(138,50,88,22,"ecUpperCase","False",8,"False","False",2,"False",$lb(%this,"txtConfirmDoelPalletIDKeyDown"),$lb(%this,"txtPalletIDKeyPress")))
d %this.txtConfirmDoelPalletID.Font.SetMultiProperty($lb("Charset","Color","Height","Name","Style"),$lb($$$DEFAULTCHARSET,$$$clWindowText,-13,"MS Sans Serif",$lb("fsBold")))
@@ -1490,7 +1503,7 @@
literal