Index: APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerBatch.cls.xml =================================================================== diff -u -r61757 -r62361 --- APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerBatch.cls.xml (.../CopieerBatch.cls.xml) (revision 61757) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerBatch.cls.xml (.../CopieerBatch.cls.xml) (revision 62361) @@ -19,14 +19,14 @@ VerwerkingID:%String Index: APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerSpoelbakExtras.cls.xml =================================================================== diff -u --- APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerSpoelbakExtras.cls.xml (revision 0) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerSpoelbakExtras.cls.xml (revision 62361) @@ -0,0 +1,203 @@ + + + +vhLib.Macro,BL.Derde.LevSpecifiek +%RegisteredObject + + +APPS.Halux.Opvolging.ProductieStap.TAOR.dto.ProductieStapLogItem + + + +APPS.Halux.Opvolging.ProductieStap.TAOR.dto.ProductieStapLogItem + + + +%String + + + +%Boolean + + + +APPS.Halux.Opvolging.ProductieStap.TAOR.enu.Machines + + + + + + + +BatchID:%String + + + + + + + + +BatchEnKar:%String,BodemVerwerkingID:%String,LabelRef2:%String,VakInKar:%String + + + + +1 + + + + +BatchID:%String +1 + + + + +BatchEnKar:%String,LabelRef2:%String,VakInKar:%String +1 + + + + +BatchEnKar:%String,BodemVerwerkingID:%String +1 + + + + +VerwerkingID:%String,Onderdeel:%String,ExtraCode:%String +1 + + + + + + + + +ExtraCode:%String +1 + + + + +VerwerkingID:%String,OnderdeelArdis:%String,ExtraCode:%String +1 + + + + +1 + + + + + + Index: APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ArdisOptimalisatie.cls.xml =================================================================== diff -u -r52025 -r62361 --- APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ArdisOptimalisatie.cls.xml (.../ArdisOptimalisatie.cls.xml) (revision 52025) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ArdisOptimalisatie.cls.xml (.../ArdisOptimalisatie.cls.xml) (revision 62361) @@ -63,15 +63,28 @@ Set ..Status=rs.Data("Status") If (..Status=0) || (..Status=2) || (..Status=4) { - ;w Barcode," ",..MachineTijdstip," ",..Status," ",..Rework,! - Do ..VoegToeProductieStap(Barcode) + ; opslaan in cache omdat geen gelijktijdige ODBC connectie toegelaten is + Set arr($Increment(arr))=$lb(Barcode,..MachineTijdstip,..Status,..Rework) Set:$$DIFFTIME^vhLib.DataTypes($zdth(..VanafTijdstip,3,,6),$zdth(..MachineTijdstip,3,,6))>0 ..VanafTijdstip=..MachineTijdstip } } ;w "Einde ARDIS ",..VanafTijdstip,! Do ##class(APPS.Halux.Opvolging.ProductieStap.TAOR.dto.LaatsteUpdate).OpslaanLaatsteUpdateVoorMachine(..#MachineID,..VanafTijdstip) + + ; sluiten van ODBC connectie er kan maar een connectie open zijn. + Set rs="",it="" + ;Via de method VoegToeProductieStap kan het zijn dat er terug een Query wordt uitgevoerd op dezelfde tabel + + For I=1:1:$g(arr) + { + Set Barcode=$LI(arr(I),1) + Set ..MachineTijdstip=$LI(arr(I),2) + Set ..Status=$LI(arr(I),3) + Set ..Rework=$LI(arr(I),4) + Do ..VoegToeProductieStap(Barcode) + } ]]>