Třídová akce

Kód:
1
Tělo:
Select
  PD.StoreCard_ID,
  Sum(PD.Quantity)
From
  LogStorePositions SP
  Join LogStorePositionDemands PD on PD.Parent_ID = SP.ID
  Join SelDat SD on PD.storecard_ID = SD.OBJ_ID
Where
  SP.ReservedForDoc_ID = :ReservedForDoc_ID and
  SP.ReservedForDocType = :ReservedForDocType and
  SP.Store_ID = :StoreID and
  SD.Sel_ID = :SelID
Group by
  PD.StoreCard_ID

Generated by ABRA Software a.s. 27.10.2021 16:35:19