Index: vhDeploy/Deploy20160801StapelaarCubeIQInputFolder.cls.xml =================================================================== diff -u --- vhDeploy/Deploy20160801StapelaarCubeIQInputFolder.cls.xml (revision 0) +++ vhDeploy/Deploy20160801StapelaarCubeIQInputFolder.cls.xml (revision 35952) @@ -0,0 +1,31 @@ + + + +vhDeploy.Deploy + + +%String +BLUM aankooporderresponse verwerking bestanden volgens nieuwe XML structuur. + + + +1 + + + + + + Index: APPS/TRANSP/Stapeling/enu/PalletFormaat/AutoComplete.cls.xml =================================================================== diff -u --- APPS/TRANSP/Stapeling/enu/PalletFormaat/AutoComplete.cls.xml (revision 0) +++ APPS/TRANSP/Stapeling/enu/PalletFormaat/AutoComplete.cls.xml (revision 35952) @@ -0,0 +1,28 @@ + + + + +Deze klasse werd automatisch gegenereerd en onderhouden - lokale aanpassingen zijn niet nodig. +Een hercompilatie van de Enumeratie - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt +De enumeratie Eigenschapn moeten als type de enumeratieklasse zelf terug geven. De enumeratieklasse moet afleiden van TECH.Enumeration +serial +1 +%SerialObject + + +%String +"EuroPallet" +1 +1 + + + +%String +"WegwerpPallet" +1 +1 + + + + + Index: APPS/TRANSP/Stapeling/enu/PalletFormaat/Verwerker.cls.xml =================================================================== diff -u --- APPS/TRANSP/Stapeling/enu/PalletFormaat/Verwerker.cls.xml (revision 0) +++ APPS/TRANSP/Stapeling/enu/PalletFormaat/Verwerker.cls.xml (revision 35952) @@ -0,0 +1,40 @@ + + + + +Deze klasse werd automatisch gegenereerd en onderhouden - lokale aanpassingen zijn niet nodig. +Een hercompilatie van de Enumeratie - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt +De enumeratie methoden moeten als type de enumeratieklasse zelf terug geven. De enumeratieklasse moet afleiden van TECH.Enumeration +1 +1 + + +1 +PalletFormaat:APPS.TRANSP.Stapeling.enu.PalletFormaat + + + + +1 +1 + + + + +1 +1 + + + + + + Index: APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestComposer.cls.xml =================================================================== diff -u -r35949 -r35952 --- APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestComposer.cls.xml (.../RequestComposer.cls.xml) (revision 35949) +++ APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestComposer.cls.xml (.../RequestComposer.cls.xml) (revision 35952) @@ -28,12 +28,13 @@ Set Requestcubeiq.settings = ..GeefCubeSetting() Set Requestcubeiq.containersettings = ..GeefcontainerSettings() - Do Requestcubeiq.containers.Insert(..GeefEuroPallet()) - Do Requestcubeiq.containers.Insert(..GeefWegwerpPallet()) + + Set Requestcubeiq.containers = ..VoegToePalletFormaten(CollisOpPallet.Settings.PalletFormaten) + Set Requestcubeiq.solutions = ..GeefSolution() Set Requestcubeiq.containerstoload = ..GeefContainersToLoad() - #dim CollisOpPalletIterator As TECH.ListIterator = ##class(TECH.ListIterator).%New(CollisOpPallet) + #dim CollisOpPalletIterator As TECH.ListIterator = ##class(TECH.ListIterator).%New(CollisOpPallet.Collis) while CollisOpPalletIterator.HasNext() { #dim ColliOpPallet As APPS.TRANSP.Stapeling.dto.ColliOpPallet = CollisOpPalletIterator.Next() @@ -47,14 +48,39 @@ ]]> + +PalletFormaten:%ListOfObjects +1 +%ListOfObjects + + + ColliOpPallet:APPS.TRANSP.Stapeling.dto.ColliOpPallet 1 APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.XML.Request.package APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.XML.Request.packagetoload %ListOfObjects APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.XML.Request.solution UniekeSleutel:%String 1 %String - 1 %String Index: vhUnitTest/APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestComposer/Compose/Test.cls.xml =================================================================== diff -u -r35753 -r35952 --- vhUnitTest/APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestComposer/Compose/Test.cls.xml (.../Test.cls.xml) (revision 35753) +++ vhUnitTest/APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestComposer/Compose/Test.cls.xml (.../Test.cls.xml) (revision 35952) @@ -22,8 +22,8 @@ #dim cubeiqrequest As APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.XML.Request.cubeiq = RequestComposer.Compose(CollisOpPallet) Do $$$AssertEquals(cubeiqrequest.packages.Count(),1) - Do $$$AssertEquals(cubeiqrequest.packages.GetAt(1).id,"DHL.package.1") - Do $$$AssertEquals(cubeiqrequest.packages.GetAt(1).packageid,"DHL.package.1") + Do $$$AssertEquals(cubeiqrequest.packages.GetAt(1).id,"Package.1") + Do $$$AssertEquals(cubeiqrequest.packages.GetAt(1).packageid,"Package.1") Do $$$AssertEquals(cubeiqrequest.packages.GetAt(1).length,"700") Do $$$AssertEquals(cubeiqrequest.packages.GetAt(1).width,"300") Do $$$AssertEquals(cubeiqrequest.packages.GetAt(1).height,"163") @@ -48,10 +48,10 @@ #dim cubeiqrequest As APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.XML.Request.cubeiq = RequestComposer.Compose(CollisOpPallet) Do $$$AssertEquals(cubeiqrequest.packagestoload.Count(),1) - Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).id,"DHL.packagetoload.1") - Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).solutionid,"DHL.stapelaar.Solution") + Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).id,"Packagetoload.1") + Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).solutionid,"Stapelaar.Solution") Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).auto,"1") - Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).packageid,"DHL.package.1") + Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).packageid,"Package.1") Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).quantity,"2") Do $$$AssertEquals(cubeiqrequest.packagestoload.GetAt(1).batch,"#0#100#0") ]]> @@ -65,47 +65,47 @@ #dim cubeiqrequest As APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.XML.Request.cubeiq = RequestComposer.Compose(CollisOpPallet) Do $$$AssertEquals(cubeiqrequest.orientations.Count(),6) - Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).packageid, "DHL.package.1") + Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).packageid, "Package.1") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).orientationnum, "1") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).length, "700.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).width, "300.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).height, "163.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).allowed, "true") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).bottomonly, "False") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(1).toponly, "False") - Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).packageid, "DHL.package.1") + Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).packageid, "Package.1") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).orientationnum, "2") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).length, "300.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).width, "700.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).height, "163.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).allowed, "true") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).bottomonly, "False") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(2).toponly, "False") - Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).packageid, "DHL.package.1") + Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).packageid, "Package.1") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).orientationnum, "3") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).length, "300.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).width, "163.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).height, "700.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).allowed, "False") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).bottomonly, "False") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(3).toponly, "False") - Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).packageid, "DHL.package.1") + Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).packageid, "Package.1") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).orientationnum, "4") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).length, "163.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).width, "300.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).height, "700.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).allowed, "False") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).bottomonly, "False") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(4).toponly, "False") - Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).packageid, "DHL.package.1") + Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).packageid, "Package.1") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).orientationnum, "5") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).length, "163.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).width, "700.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).height, "300.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).allowed, "False") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).bottomonly, "False") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(5).toponly, "False") - Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(6).packageid, "DHL.package.1") + Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(6).packageid, "Package.1") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(6).orientationnum, "6") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(6).length, "700.00") Do $$$AssertEquals(cubeiqrequest.orientations.GetAt(6).width, "163.00") @@ -159,8 +159,8 @@ Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).bottomtotoploading,"True") Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).partialloadonfloor,"True") - Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).id,"DHL.stapelaar.EuroPallet") - Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).containerid,"DHL.stapelaar.EuroPallet") + Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).id,"Stapelaar.EuroPallet") + Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).containerid,"Stapelaar.EuroPallet") Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).containertype,"Rectangular") Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).depth,"1200.00") Do $$$AssertEquals(cubeiqrequest.containers.GetAt(1).width,"800.00") @@ -188,8 +188,8 @@ Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).bottomtotoploading,"True") Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).partialloadonfloor,"True") - Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).id,"DHL.stapelaar.WegwerpPallet") - Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).containerid,"DHL.stapelaar.WegwerpPallet") + Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).id,"Stapelaar.WegwerpPallet") + Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).containerid,"Stapelaar.WegwerpPallet") Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).containertype,"Rectangular") Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).depth,"1500.00") Do $$$AssertEquals(cubeiqrequest.containers.GetAt(2).width,"800.00") @@ -215,8 +215,8 @@ #dim RequestComposer As APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.RequestComposer = ##class(APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.RequestComposer).%New() #dim cubeiqrequest As APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.XML.Request.cubeiq = RequestComposer.Compose(CollisOpPallet) - Do $$$AssertEquals(cubeiqrequest.solutions.id, "DHL.stapelaar.Solution") - Do $$$AssertEquals(cubeiqrequest.solutions.solutionid, "DHL.stapelaar.Solution") + Do $$$AssertEquals(cubeiqrequest.solutions.id, "Stapelaar.Solution") + Do $$$AssertEquals(cubeiqrequest.solutions.solutionid, "Stapelaar.Solution") Do $$$AssertContains(cubeiqrequest.solutions.date, ..GeefHuidigeDatum()) Do $$$AssertEquals(cubeiqrequest.solutions.stage, "1") ]]> @@ -229,17 +229,17 @@ #dim RequestComposer As APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.RequestComposer = ##class(APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.RequestComposer).%New() #dim cubeiqrequest As APPS.TRANSP.Stapeling.impl.ColliOpPalletStapelaar.Optibox.XML.Request.cubeiq = RequestComposer.Compose(CollisOpPallet) - Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).id, "DHL.stapelaar.EuroPallet") - Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).solutionid, "DHL.stapelaar.Solution") + Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).id, "Stapelaar.EuroPallet") + Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).solutionid, "Stapelaar.Solution") Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).auto, "0") - Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).containerid, "DHL.stapelaar.EuroPallet") + Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).containerid, "Stapelaar.EuroPallet") Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).containernum, "1") Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(1).sequence, "1") - Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).id, "DHL.stapelaar.WegwerpPallet") - Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).solutionid, "DHL.stapelaar.Solution") + Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).id, "Stapelaar.WegwerpPallet") + Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).solutionid, "Stapelaar.Solution") Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).auto, "0") - Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).containerid, "DHL.stapelaar.WegwerpPallet") + Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).containerid, "Stapelaar.WegwerpPallet") Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).containernum, "2") Do $$$AssertEquals(cubeiqrequest.containerstoload.GetAt(2).sequence, "2") ]]> Index: APPS/TRANSP/Stapeling/dto/Settings.cls.xml =================================================================== diff -u --- APPS/TRANSP/Stapeling/dto/Settings.cls.xml (revision 0) +++ APPS/TRANSP/Stapeling/dto/Settings.cls.xml (revision 35952) @@ -0,0 +1,13 @@ + + + +TECH.RegisteredObject + + +APPS.TRANSP.Stapeling.enu.PalletFormaat +list + + + + + Index: vhTest/Utils/APPS/TRANSP/Stapeling/dto/CollisOpPallet.cls.xml =================================================================== diff -u -r35749 -r35952 --- vhTest/Utils/APPS/TRANSP/Stapeling/dto/CollisOpPallet.cls.xml (.../CollisOpPallet.cls.xml) (revision 35749) +++ vhTest/Utils/APPS/TRANSP/Stapeling/dto/CollisOpPallet.cls.xml (.../CollisOpPallet.cls.xml) (revision 35952) @@ -8,14 +8,18 @@ APPS.TRANSP.Stapeling.dto.CollisOpPallet Index: APPS/TRANSP/Stapeling/enu/PalletFormaat.cls.xml =================================================================== diff -u --- APPS/TRANSP/Stapeling/enu/PalletFormaat.cls.xml (revision 0) +++ APPS/TRANSP/Stapeling/enu/PalletFormaat.cls.xml (revision 35952) @@ -0,0 +1,23 @@ + + + +datatype +TECH.Enumeration + + +1 +APPS.TRANSP.Stapeling.enu.PalletFormaat + + + + +1 +APPS.TRANSP.Stapeling.enu.PalletFormaat + + + + + + Index: vhUnitTest/APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestWriter/WriteRequest/Test.cls.xml =================================================================== diff -u -r35949 -r35952 --- vhUnitTest/APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestWriter/WriteRequest/Test.cls.xml (.../Test.cls.xml) (revision 35949) +++ vhUnitTest/APPS/TRANSP/Stapeling/impl/ColliOpPalletStapelaar/Optibox/RequestWriter/WriteRequest/Test.cls.xml (.../Test.cls.xml) (revision 35952) @@ -40,15 +40,15 @@ 1 %String - 1 %String Index: APPS/TRANSP/Stapeling/dto/CollisOpPallet.cls.xml =================================================================== diff -u -r35735 -r35952 --- APPS/TRANSP/Stapeling/dto/CollisOpPallet.cls.xml (.../CollisOpPallet.cls.xml) (revision 35735) +++ APPS/TRANSP/Stapeling/dto/CollisOpPallet.cls.xml (.../CollisOpPallet.cls.xml) (revision 35952) @@ -1,12 +1,17 @@ -%ListOfObjects +TECH.RegisteredObject - -APPS.TRANSP.Stapeling.dto.ColliOpPallet - + +APPS.TRANSP.Stapeling.dto.Settings + + +APPS.TRANSP.Stapeling.dto.ColliOpPallet +list + + %Library.CompleteCustomStorage