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