SELECT DISTINCT LSD.DocumentType, B.Parent_id FROM StoreDocuments2 A JOIN LogStoreDocuments2 B ON B.StoreDocRow_ID = A.ID JOIN LogStoreDocuments LSD ON B.Parent_ID = LSD.ID WHERE A.Parent_ID = :OBJID
Generated by ABRA Software a.s. 27.10.2021 16:34:10