core-jgi/migration-historic/354a-360lts/postgresql/707_BF2985660.sql

8 lines
184 B
MySQL
Raw Normal View History

-- reversed allocations should be marked posted (with no facts)
update c_allocationhdr
set posted = 'Y'
where posted = 'N'
and processed = 'Y'
and docstatus = 'RE'
and isactive = 'N';