Třídová akce

Kód:
12
Tělo:
select 
  ID
from 
  POSRECEIPTS
where
  DocQueue_ID = :DocQueue_ID and
  Period_ID = :Period_ID and
  VirtualPOS_ID = :VirtualPOS_ID and
  ordnumber =
   (select min(ordnumber)
    from POSRECEIPTS
    where DocQueue_ID = :DocQueue_ID and
          Period_ID = :Period_ID and
          VirtualPOS_ID = :VirtualPOS_ID and
          DocDate$Date > :ADate)

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