Třídová akce

Kód:
16
Tělo:
SELECT DISTINCT B.Parent_ID
FROM
  ReceivedOrders2 A
  JOIN DemandSheets2 B ON A.ID=B.DemandingDocRow_ID
where
  A.Parent_Id IN (select Obj_ID from SelDat where Sel_ID = :DSOIDs) and
  B.DemandingDocType = 'RO' AND
  B.DemandingDocRow_ID IS NOT NULL

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