Třídová akce

Kód:
1
Tělo:
select (SD2.TotalPrice/SD2.Quantity) as CalcPrice 
from StoreDocuments2 SD2
where :StoreOID = SD2.Store_ID and :StoreCardOID = SD2.StoreCard_ID and
SD2.FlowType IN ('21', '22', '26', '27', '30', '36', '38') and (SD2.ClosingOrder <> 0) and (SD2.Quantity <> 0)
order by SD2.ClosingOrder Desc, SD2.ClosingIndex Desc

Generated by ABRA Software a.s. 27.10.2021 16:34:11