Index: APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator.cls.xml
===================================================================
diff -u -r38153 -r38212
--- APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator.cls.xml (.../OptimalisatieBestandenGenerator.cls.xml) (revision 38153)
+++ APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator.cls.xml (.../OptimalisatieBestandenGenerator.cls.xml) (revision 38212)
@@ -93,21 +93,17 @@
ActiviteitParameters:APPS.Halux.PPS.Activiteit.ActiviteitParameters
@@ -123,7 +119,6 @@
#dim OptimalisatieBestanden As %ListOfDataTypes = ##class(TECH.ListUtils).CreateListOfDataTypes(BestandVolledigeNaam)
Do ..GenereerOptimalisatieBestand(OptimalisatieBestanden, ImportListPad, Afhandeling, Client)
- Do:((Afhandeling = ..Afhandeling.Automatisch) && (Client = ..Client.Biesse)) ..GenereerBatchBestand(ImportListBestandNaam)
} Catch {
#dim Exception As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch()
@@ -152,28 +147,6 @@
]]>
-
-ImportListBestandNaam:TECH.String
-1
-TECH.String
- nul")
- ;maak de DoelMap als deze nog niet bestaat, move werkt niet als de map nog niet bestaat
- Do ..FileWriter.WriteLine("move /Y c:\biesse\optiplanning\tmp\implog.xml "_DoelBestandLocatie_"implog.xml")
- ;/Y om geen vraag te stellen als het bestand zou overschreven worden en de move uit te voeren
- Do ..FileWriter.Close()
-
- Quit BestandVolledigeNaam
-]]>
-
-
BestandLocatie:TECH.String,BestandNaam:TECH.String,Extensie:TECH.String
1
Index: vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml
===================================================================
diff -u -r38153 -r38212
--- vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml (.../TestProductGroep.cls.xml) (revision 38153)
+++ vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/Opdeelzaag/OptimalisatieBestandenGenerator/VoerUit/TestProductGroep.cls.xml (.../TestProductGroep.cls.xml) (revision 38212)
@@ -3,6 +3,21 @@
vhUnitTest.TestCase
+
+
+
+
-
+
-
+
0)
+ #dim Bestandnamen As %ListOfDataTypes = FileWriterFake.GeefBestandNamen()
+ if $$$AssertEquals(Bestandnamen.Count(),2) {
+ do $$$AssertContains(Bestandnamen.GetAt(1),"Ardis_Auto")
+ do $$$AssertContains(Bestandnamen.GetAt(2),"Biesse_Auto")
+ }
]]>