select SDocs.ID, SDocs.DocumentType from DocRowBatches DRB join StoreDocuments2 SDocs2 on DRB.Parent_ID = SDocs2.ID join StoreDocuments SDocs on SDocs2.Parent_ID = SDocs.ID where DRB.StoreBatch_ID = :StoreBatch_ID and SDocs.DocumentType = '20'
Generated by ABRA Software a.s. 27.10.2021 16:34:11