Index: APPS/Halux/Planning/Pitching/impl/BerekenTijdenAfhankelijke.cls.xml =================================================================== diff -u -r57446 -r57548 --- APPS/Halux/Planning/Pitching/impl/BerekenTijdenAfhankelijke.cls.xml (.../BerekenTijdenAfhankelijke.cls.xml) (revision 57446) +++ APPS/Halux/Planning/Pitching/impl/BerekenTijdenAfhankelijke.cls.xml (.../BerekenTijdenAfhankelijke.cls.xml) (revision 57548) @@ -106,7 +106,7 @@ Set rs=##class(TECH.ResultSet).%New() Set SQL="select batch as BatchID, ToeleveringNr,max(pitchorde) as Pitchorde" _" from APPS_Halux_Planning_Pitching_dto.ResourcePitched" - _" where isleading=1" + _" where isleading>0" _" group by batch, toeleveringnr" Do rs.Prepare(SQL) @@ -154,7 +154,7 @@ Set (StartTijdstip,LeverenAanResource)="" &SQL(Select min(StartTijdstip),Resource into :StartTijdstip,:LeverenAanResource from APPS_Halux_Planning_Pitching_dto.ResourcePitched - where Batch=:BatchID and isLeading=1 group by Resource) + where Batch=:BatchID and isLeading>0 group by Resource) Set ..BatchesStartTijdstip(BatchID)=StartTijdstip Set ..BatchesLeverenAanResource(BatchID)=LeverenAanResource ]]>