SELECT sum(B.Quantity/B.UnitRate) FROM sys$posdocumentsoffstore A LEFT join POSDocuments2 B ON A.document_id=B.Parent_ID where A.opened='N' and B.StoreCard_ID =:StoreCard_ID and B.Store_ID =:Store_ID
Generated by ABRA Software a.s. 27.10.2021 16:34:30