Index: WS/Halux/Opvolging/ProductieStap/LoggerService.cls.xml =================================================================== diff -u -r39961 -r39992 --- WS/Halux/Opvolging/ProductieStap/LoggerService.cls.xml (.../LoggerService.cls.xml) (revision 39961) +++ WS/Halux/Opvolging/ProductieStap/LoggerService.cls.xml (.../LoggerService.cls.xml) (revision 39992) @@ -2,8 +2,9 @@ +vhLib.Macro 1 -WS.OngeauthenticeerdeWebService +%SOAP.WebService 0 @@ -37,17 +38,6 @@ ]]> - -VerwerkingID:%String="",NewVerwerkingID:%String="" -%String -1 - - - Label:%String 1 @@ -80,7 +70,6 @@ s Data=$c(10)_$c(10)_"RCV09370ZS40713D2"_$c(10) set bl=..%New() - Do bl.ProcessRework("RCV09370ZS40713D2") Do bl.ProcessData(Data,##class(APPS.Halux.Opvolging.ProductieStap.TAOR.enu.Machines).ProfileringRugBodemFront()) q s Data=$$$CRLF_$$$CRLF_"ZKV75L69906"_$$$CRLF Index: APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieZijkantFrees.cls.xml =================================================================== diff -u -r39961 -r39992 --- APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieZijkantFrees.cls.xml (.../ProductieZijkantFrees.cls.xml) (revision 39961) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieZijkantFrees.cls.xml (.../ProductieZijkantFrees.cls.xml) (revision 39992) @@ -41,7 +41,7 @@ Do ##class(APPS.Halux.Opvolging.ProductieStap.TAOR.impl.ProductieZijkantFrees).%New().VerwerkRecente() W") #dim BarcodeRight as %String=$ZSTRIP(rs.Data("PrintBarcodeRight"),">W") - w BarcodeLeft," ",BarcodeRight," ",..MachineTijdstip," ", ..VanafTijdstip,! + ;w BarcodeLeft," ",BarcodeRight," ",..MachineTijdstip," ", ..VanafTijdstip,! Do:$L(BarcodeLeft) ..VoegToeProductieStap(BarcodeLeft) Do:$L(BarcodeRight) ..VoegToeProductieStap(BarcodeRight) Set:$$DIFFTIME^vhLib.DataTypes($zdth(..VanafTijdstip,3,,6),$zdth(..MachineTijdstip,3,,6))>0 ..VanafTijdstip=..MachineTijdstip } - w "Einde zijkant ",..VanafTijdstip,! + ;w "Einde zijkant ",..VanafTijdstip,! Do ##class(APPS.Halux.Opvolging.ProductieStap.TAOR.dto.LaatsteUpdate).OpslaanLaatsteUpdateVoorMachine(..#MachineID,..VanafTijdstip) ]]> FishEye: Tag 39992 refers to a dead (removed) revision in file `WSimpl/Halux/PPS/ProductieStap/LoggerService.cls.xml'. FishEye: No comparison available. Pass `N' to diff? Index: APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieAfkanter.cls.xml =================================================================== diff -u -r39961 -r39992 --- APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieAfkanter.cls.xml (.../ProductieAfkanter.cls.xml) (revision 39961) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieAfkanter.cls.xml (.../ProductieAfkanter.cls.xml) (revision 39992) @@ -41,7 +41,7 @@ Do ##class(APPS.Halux.Opvolging.ProductieStap.TAOR.impl.ProductieAfkanter).%New().VerwerkRecente() W") - w Barcode," ",..MachineTijdstip,! + ;w Barcode," ",..MachineTijdstip,! Do ..VoegToeProductieStap(Barcode) Set:$$DIFFTIME^vhLib.DataTypes($zdth(..VanafTijdstip,3,,6),$zdth(..MachineTijdstip,3,,6))>0 ..VanafTijdstip=..MachineTijdstip } - w "Einde afkanter ",..VanafTijdstip,! + ;w "Einde afkanter ",..VanafTijdstip,! Do ##class(APPS.Halux.Opvolging.ProductieStap.TAOR.dto.LaatsteUpdate).OpslaanLaatsteUpdateVoorMachine(..#MachineID,..VanafTijdstip) ]]> Index: APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieStapLogger.cls.xml =================================================================== diff -u -r39961 -r39992 --- APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieStapLogger.cls.xml (.../ProductieStapLogger.cls.xml) (revision 39961) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ProductieStapLogger.cls.xml (.../ProductieStapLogger.cls.xml) (revision 39992) @@ -34,7 +34,7 @@ 1 1 0) - &SQL(UPDATE APPS_Halux_Opvolging_ProductieStap_TAOR_dto.ProductieStapLogItem SET LaatstToegevoegd=1 WHERE VerwerkingID=:VerwerkingID and LaatstToegevoegd=0 and ID = (SELECT TOP 1 ID from APPS_Halux_Opvolging_ProductieStap_TAOR_dto.ProductieStapLogItem WHERE VerwerkingID=:VerwerkingID ORDER BY TijdstipProductie DESC, ID DESC) ) + Set LaatsteReworkTijdstip="" + &SQL(SELECT TOP 1 TijdstipProductie INTO :LaatsteReworkTijdstip FROM APPS_Halux_Opvolging_ProductieStap_TAOR_dto.ProductieStapLogItem WHERE VerwerkingID=:VerwerkingID AND IsRework=1 ORDER BY TijdstipProductie DESC, ID DESC) + If LaatsteReworkTijdstip'="" + { + &SQL(UPDATE APPS_Halux_Opvolging_ProductieStap_TAOR_dto.ProductieStapLogItem SET StapNummer=-StapNummer WHERE VerwerkingID=:VerwerkingID and StapNummer>0 AND TijdstipProductie>:LaatsteTijdstip) + } ]]> FishEye: Tag 39992 refers to a dead (removed) revision in file `APPS/Halux/Opvolging/ProductieStap/TAOR/impl/HerwerkLogger.cls.xml'. FishEye: No comparison available. Pass `N' to diff? Index: APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ArdisOptimalisatie.cls.xml =================================================================== diff -u --- APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ArdisOptimalisatie.cls.xml (revision 0) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/impl/ArdisOptimalisatie.cls.xml (revision 39992) @@ -0,0 +1,119 @@ + + + +vhLib.Macro +APPS.Halux.Opvolging.ProductieStap.TAOR.impl.ProductieStapLogger + + +APPS.Halux.Opvolging.ProductieStap.TAOR.dto.ProductieStapLogItem + + + +APPS.Halux.Opvolging.ProductieStap.TAOR.dto.ProductieStapLogItem + + + +%TimeStamp + + + +%Date + + + +%TimeStamp + + + +%String + + + +%String + + + +Ardis + + + +%Status + + + + + +Do ##class(APPS.Halux.Opvolging.ProductieStap.TAOR.impl.ArdisOptimalisatie).%New().VerwerkRecente() +0 + + #dim Barcode as %String=$ZSTRIP(rs.Data("VerwerkingID"),">W") + Set ..Rework=$ZSTRIP(rs.Data("Rework"),">W") + Set ..Status=rs.Data("Status") + If (..Status=0) || (..Status=2) + { + ;w Barcode," ",..MachineTijdstip," ",..Status," ",..Rework,! + Do ..VoegToeProductieStap(Barcode) + + 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) +]]> + + + +1 +?") + + Set sc=rs.Execute(..VanafTijdstip) + Set it=##class(TECH.ResultSetIterator).%New(rs) + Quit it +]]> + + + +1 + + + + +1 + + + + +1 + + + + + + Index: APPS/Halux/Opvolging/ProductieStap/TAOR/enu/StapNummer.cls.xml =================================================================== diff -u -r39903 -r39992 --- APPS/Halux/Opvolging/ProductieStap/TAOR/enu/StapNummer.cls.xml (.../StapNummer.cls.xml) (revision 39903) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/enu/StapNummer.cls.xml (.../StapNummer.cls.xml) (revision 39992) @@ -8,7 +8,7 @@ %Integer -,0,1,2,3,4,5,6,7,8,9 +,0,1,2,3,4,5,6,7,8,9,-1,-2,-3,-4,-5,-6,-7,-8,-9 @@ -18,6 +18,27 @@ ]]> + +1 +APPS.Halux.Opvolging.ProductieStap.TAOR.enu.Onderdeel + + + + +1 +APPS.Halux.Opvolging.ProductieStap.TAOR.enu.Onderdeel + + + + +1 +APPS.Halux.Opvolging.ProductieStap.TAOR.enu.Onderdeel + + + 1 APPS.Halux.Opvolging.ProductieStap.TAOR.enu.Onderdeel Index: APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerBatch.cls.xml =================================================================== diff -u -r39939 -r39992 --- APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerBatch.cls.xml (.../CopieerBatch.cls.xml) (revision 39939) +++ APPS/Halux/Opvolging/ProductieStap/TAOR/impl/CopieerBatch.cls.xml (.../CopieerBatch.cls.xml) (revision 39992) @@ -19,10 +19,15 @@ VerwerkingID:%String @@ -91,26 +96,20 @@ Set ..LogItem.DueOut=..BepaalDueOut() Set ..LogItem.LaatstToegevoegd=1 ;Do DumpObject^%apiOBJ(..LogItem) - Do:..ToegelatenVerwerkingID() ..LogItem.Save() + Do:..ToegelatenVerwerkingID(..LogItem.BatchID,..LogItem.VerwerkingID) ..LogItem.Save() ]]> +BatchID,VerwerkingID +1