Index: APPS/Halux/PPS/Document/impl/LBX/BatchNaarObjective.cls.xml =================================================================== diff -u -r71461 -r71466 --- APPS/Halux/PPS/Document/impl/LBX/BatchNaarObjective.cls.xml (.../BatchNaarObjective.cls.xml) (revision 71461) +++ APPS/Halux/PPS/Document/impl/LBX/BatchNaarObjective.cls.xml (.../BatchNaarObjective.cls.xml) (revision 71466) @@ -10,8 +10,14 @@ APPS.Halux.PPS.Document.impl.LBX.BatchNaarObjective.BatchNaarObjectiveDataGenerator +1 + +APPS.Halux.PPS.MES.MESService +1 + + ToeleveringApi:DOM.AKP.ToeleveringAPI="",BatchNaarObjectiveDataGenerator:APPS.Halux.PPS.Document.impl.LBX.BatchNaarObjective.BatchNaarObjectiveDataGenerator="" 1 @@ -21,6 +27,7 @@ @@ -53,7 +60,7 @@ #dim ToeleveringenIterator As TECH.Iterator = Batch.GeefToeleveringIterator() #dim UitvoeringInfoLijstIterator As TECH.Iterator = ##class(TECH.ListIterator).%New(UitvoeringInfoLijst) - If (..IsActiefVoorMES(Batch.GeefLijn())) { + If (..MESService.IsActiefVoorMes(Batch.GeefLijn(), 1)) { While ToeleveringenIterator.HasNext() { #dim ToeleveringId As %String = ToeleveringenIterator.Next().GeefID() #dim Toelevering As DOM.AKP.Toelevering = ..ToeleveringApi.GeefToelevering(ToeleveringId) @@ -77,31 +84,13 @@ Do UitvoeringInfoLijstIterator.Reset() Do BatchDataLijst.Insert(BatchData) } - } + } } Quit BatchDataLijst ]]> - -ProductieLijn:%String -1 -%Boolean - 0 && ##class(TECH.ListUtils).Contains(MESProductieLijnenActiefLijst, ProductieLijn)) { - Set IsActief = $$$True - } - - Quit IsActief -]]> - - BatchDataLijst:%ListOfObjects 1