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

8 lines
184 B
SQL

-- 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';