SELECT A.Parent_ID, A.IsInVATDeclarationReport, A.IsInVATCheckReport, A.DocumentStatus FROM VATClosings3 A JOIN VATClosings B ON B.ID = A.Parent_ID WHERE A.Document_ID = :Document_ID and A.DocumentType = :DocumentType ORDER BY B.ClosingDate$DATE DESC
Generated by ABRA Software a.s. 27.10.2021 16:34:12