I have this simple query
select ArticleID, Prix, Qte, InfStock , SUM(Qte*InfStock) OVER (Partition BY ArticleID ORDER BY DateDocument) AS CUMUL FROM Balance <