Zmiany pomiędzy wersją 20 and wersją 21 dla UserGuide/AdvancedConfiguration/DefiningReports/ReportParams
- Data i czas:
- 06/19/16 11:31:21 (8 years temu)
Legend:
- Bez zmian
- Dodane
- Usunięte
- Zmienione
-
UserGuide/AdvancedConfiguration/DefiningReports/ReportParams
v20 v21 236 236 == Przydatne kwerendy SQL do filtrów == 237 237 238 === Drzewko miesięcy === 239 240 ==== Data wystawienia faktury ==== 241 242 {{{ 243 crtdat {value} 244 245 select coalesce( 246 (select min(coalesce (d.adddat) -interval '1 day') ::date 247 FROM 248 documents d 249 where d.dctpid in (2) and d.is_del is false and d.gostof is null), current_date::date-interval '1 day') 250 union 251 select coalesce( 252 (select max(d.adddat )::date 253 FROM 254 documents d 255 where d.dctpid in (2) and d.is_del is false and d.gostof is null),current_date::date) 256 }}} 257 238 258 === Filtr drzewka === 239 259