Objektová akce

Kód:
4
Tělo:
select DQ.Code
  from IssuedInvoices II
  join DocQueues DQ on DQ.ID = II.DocQueue_ID
  left join Periods DQP on DQP.ID = DQ.LastOpenPeriod_ID
where
  II.ID in (select ICN.Source_ID from IssuedCreditNotes ICN where ICN.ID = :OID) and
  DQP.DateTo$Date > (select P.DateTo$Date from Periods P where P.ID = :PeriodOID)

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