SELECT *, SD_Serie_Ligne.idGammeArticle, SD_Serie_Ligne.ordre FROM vGRN_ARTICLE_GRN_ARTICLE_NON_STOCK a INNER JOIN SD_GammeArticle s ON a.arcod = s.RefArticle INNER JOIN SD_Serie_Ligne ON s.id = SD_Serie_Ligne.idGammeArticle where a.arutil='Non' and arcod=refarticle and s.societe='GROSSERON' and a.societe='GROSSERON' and gammeID=637 AND s.id in( 5335359,5335364,5335369,5335374,5335379,5335384,5335389) AND exists (select * from SD_Serie where id = SD_Serie_Ligne.idSerie) ORDER BY SD_Serie_Ligne.Ordre