Index: APPS/VKP/Order/VerzendMaatwerkDirectControleur.cls.xml
===================================================================
diff -u -r43694 -r72051
--- APPS/VKP/Order/VerzendMaatwerkDirectControleur.cls.xml (.../VerzendMaatwerkDirectControleur.cls.xml) (revision 43694)
+++ APPS/VKP/Order/VerzendMaatwerkDirectControleur.cls.xml (.../VerzendMaatwerkDirectControleur.cls.xml) (revision 72051)
@@ -11,7 +11,7 @@
-15
+30
Index: BL/MB/UGLYPicking/VerzendDirectControleurViaBon.cls.xml
===================================================================
diff -u
--- BL/MB/UGLYPicking/VerzendDirectControleurViaBon.cls.xml (revision 0)
+++ BL/MB/UGLYPicking/VerzendDirectControleurViaBon.cls.xml (revision 72051)
@@ -0,0 +1,159 @@
+
+
+
+
+BL.Derde.LevSpecifiek
+0
+%RegisteredObject
+
+
+
+Vandaag op transport en morgen leveren = Aantalwerkdagen=1, maar er mag 1 dag extra omdat DI1 in de namiddag wordt geproduceerd.
+2
+
+
+
+30
+
+
+
+DI1
+
+
+
+1
+
+
+
+
+
+w ##class(BL.MB.UGLYPicking.VerzendDirectControleurViaBon).%New().ControleViaBon(376980)
+BONNr:%String
+%String
+
+
+
+
+KLNr:%String,BONNr:%String
+1
+
+
+
+
+KLNr:%String,BONNr:%String
+1
+%String
+
+
+
+
+KLNr:%String
+1
+0
+
+
+
+
+KLNr:%String,BONNr:%String
+1
+MaximaleLeverdag FoutCode="Later leveren "_Datum
+ Quit FoutCode
+]]>
+
+
+
+KLNr:%String,BONNr:%String
+1
+..#MaxAantalLades FoutCode="Groot aantal "_SomVanAantal
+
+ Set PRNr=$P(Lijn,"\",2)
+ Set:PRNr="" FoutCode="Geen PRNr"
+ Set GenTyp=$P($$GENTYP^HAD(PRNr),"\",1,2)
+ Set GenTyp=$S(GenTyp="":"*",1:GenTyp)
+ Set:$P(GenTyp,"\")'?1(1"TBX",1"LBX",1"TAO") FoutCode="GenType geen lade "_GenTyp
+
+ Set:(MemGenTyp'="")&(MemGenTyp'=GenTyp) FoutCode="Verschillend GenType "_MemGenTyp_"="_GenTyp
+ Set MemGenTyp=GenTyp
+
+ ;w BONNr," ",LNr," ",PRNr," ",$P(^KPR(PRNr,0),"\")," ",SomVanAantal," ",GenTyp,!
+ }
+ Set LNr=$O(^KUL(KLNr,"F",BONNr,LNr))
+ }
+ Quit FoutCode
+]]>
+
+
+
+
+
Index: BL/MB/UGLYPicking/VerzendDirectControleur.cls.xml
===================================================================
diff -u -r70678 -r72051
--- BL/MB/UGLYPicking/VerzendDirectControleur.cls.xml (.../VerzendDirectControleur.cls.xml) (revision 70678)
+++ BL/MB/UGLYPicking/VerzendDirectControleur.cls.xml (.../VerzendDirectControleur.cls.xml) (revision 72051)
@@ -7,7 +7,7 @@
%RegisteredObject
-15
+30
@@ -271,19 +271,23 @@
Set GenTyp=$S(GenTyp="":"*",1:GenTyp)
Set:$P(GenTyp,"\")?1(1"TBX",1"MVX",1"LBX",1"TAO") IsLade=1
-
- If GenTyp'="*"
+
+ Set:$P(GenTyp,"\")'?1(1"TBX",1"MVX",1"LBX",1"TAO") FoutCode="GenType geen lade "_GenTyp
+ Set:(MemGenTyp'="")&(MemGenTyp'=GenTyp) FoutCode="Verschillend GenType "_MemGenTyp_"="_GenTyp
+ Set MemGenTyp=GenTyp
+
+ /* If GenTyp'="*"
{
Set:$P(GenTyp,"\")'?1(1"TBX",1"MVX",1"LBX",1"TAO") FoutCode="GenType geen lade "_GenTyp
Set:(MemGenTyp'="")&(MemGenTyp'=GenTyp) FoutCode="Verschillend GenType "_MemGenTyp_"="_GenTyp
Set MemGenTyp=GenTyp
- }
+ } */
;w ORDNr," ",OLNr," ",PRNr," ",$P(^KPR(PRNr,0),"\")," ",$$EXTDATE^vhLib.DataTypes(Datum)," ",SomVanAantal," ",GenTyp,!
}
Set OLNr=$O(^KOD(KLNr,"F",ORDNr,OLNr))
}
- Set:'IsLade FoutCode="GenType geen Lade"
+ Set:'IsLade&&(FoutCode="") FoutCode="GenType geen Lade"
Set:(SomVanAantal<..#MinAantalLades)&&(FoutCode="") FoutCode="Klein aantal "_SomVanAantal
Quit FoutCode
]]>