Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
INSERT INTO od_out_erp_document 
            (id, 
             datatype, 
             objectid) 
SELECT -id, 
       'ODReportShiftEntity', 
       id 
FROM   od_reportshift 
WHERE  reportz = TRUE 
       AND datecommit > '2015-09-22 0:00' 
       AND datecommit < '2015-09-23 0:00' 

Транзакции лояльности

Выполняется в базе данных set_loyal.

...