Index: vhUnitTest/WSimpl/Halux/AAP/DnaCodeService/RondAfVhossBatch/Test.cls.xml
===================================================================
diff -u -r62526 -r62533
--- vhUnitTest/WSimpl/Halux/AAP/DnaCodeService/RondAfVhossBatch/Test.cls.xml (.../Test.cls.xml) (revision 62526)
+++ vhUnitTest/WSimpl/Halux/AAP/DnaCodeService/RondAfVhossBatch/Test.cls.xml (.../Test.cls.xml) (revision 62533)
@@ -9,7 +9,7 @@
Set Request.BatchId = "123456"
#dim DnaCode1 As DOM.Halux.AAP.DnaCode = ..MaakDnaCode("LABCDE1",$H,"O100000042","42",Request.BatchId)
- #dim DnaCode2 As DOM.Halux.AAP.DnaCode = ..MaakDnaCode("LABCDF2",$H,"","43",Request.BatchId)
+ #dim DnaCode2 As DOM.Halux.AAP.DnaCode = ..MaakDnaCode("LABCDF2",$H,"O100000042","43",Request.BatchId)
#dim DnaCodeIteratorEenStuk As TECH.Iterator = ##class(TECH.ListUtils).CreateIteratorOfObjects(DnaCode1)
#dim DnaCodeIteratorTweeStuks As TECH.Iterator = ##class(TECH.ListUtils).CreateIteratorOfObjects(DnaCode1, DnaCode2)
@@ -85,26 +85,29 @@
]]>
-
+
Index: WSimpl/Halux/AAP/DnaCodeService.cls.xml
===================================================================
diff -u -r62526 -r62533
--- WSimpl/Halux/AAP/DnaCodeService.cls.xml (.../DnaCodeService.cls.xml) (revision 62526)
+++ WSimpl/Halux/AAP/DnaCodeService.cls.xml (.../DnaCodeService.cls.xml) (revision 62533)
@@ -771,18 +771,19 @@
While DnaCodeViaBatchIterator.HasNext() {
Set DnaCodeTemp = DnaCodeViaBatchIterator.Next()
#dim ProductieItem As APPS.Halux.common.VHOSSProductieSequentieItem = ProductieSequentie.GeefVHOSSProductieSequentieItemViaSequentieNummer(DnaCodeTemp.SequentieNummer)
-
+ Do ##class(Tools.Wlip).%New(127).String("seqnr = "_DnaCodeTemp.SequentieNummer)
If $$$HasLength(DnaCodeTemp.ScanTijdstip) {
+ Do ##class(Tools.Wlip).%New(127).String("100")
Do AantallenGescandPerVhoss.Verhoog(DnaCodeTemp.PalletCode)
Do AantallenPerVhoss.Verhoog(DnaCodeTemp.PalletCode)
//Do VhossMapper.Insert(##class(TECH.KeyValuePair).%New(ProductieItem.VHOSSID, DnaCodeTemp.PalletCode))
} Else {
If ##class(TECH.StringUtils).StartsWith(DnaCodeTemp.DnaCode,"T") {
} Else {
- Do ##class(Tools.Wlip).%New(127).ObjToXML(ProductieItem)
+ //Do ##class(Tools.Wlip).%New(127).ObjToXML(ProductieItem)
//zoeken naar reeds bestaand echt palletnummer dat bij deze interne vhossid hoort. Indien gevonden, daarbij verhogen
- Do AantallenPerVhoss.Verhoog(..ProbeerEchteVhossIdTeBepalen(RondAfVhossBatchRequest.BatchId,DnaCodeTemp.SequentieNummer,ProductieItem.VHOSSID))
+ Do AantallenPerVhoss.Verhoog(..ProbeerEchteVhossIdTeBepalenNietTBX(RondAfVhossBatchRequest.BatchId,DnaCodeTemp.SequentieNummer,ProductieItem.VHOSSID, ProductieSequentie))
}
}
@@ -829,21 +830,28 @@
]]>
-
-BatchId:%String,SequentieNummer:%String,InternVhossId:%String
+
+BatchId:%String,SequentieNummer:%String,InternVhossId:%String,ProductieSequentie:APPS.Halux.common.ProductieSequentie
1
%String