From f0220856c3c2623d9955ec81af5d1b38d455b2e0 Mon Sep 17 00:00:00 2001 From: phib Date: Tue, 13 Apr 2010 23:13:34 +0000 Subject: [PATCH] Flag unposted reversed allocations as posted. Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2985660 --- migration/354a-trunk/oracle/707_BF2985660.sql | 7 +++++++ migration/354a-trunk/postgresql/707_BF2985660.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 migration/354a-trunk/oracle/707_BF2985660.sql create mode 100644 migration/354a-trunk/postgresql/707_BF2985660.sql diff --git a/migration/354a-trunk/oracle/707_BF2985660.sql b/migration/354a-trunk/oracle/707_BF2985660.sql new file mode 100644 index 0000000000..57544a37b5 --- /dev/null +++ b/migration/354a-trunk/oracle/707_BF2985660.sql @@ -0,0 +1,7 @@ +-- 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'; diff --git a/migration/354a-trunk/postgresql/707_BF2985660.sql b/migration/354a-trunk/postgresql/707_BF2985660.sql new file mode 100644 index 0000000000..57544a37b5 --- /dev/null +++ b/migration/354a-trunk/postgresql/707_BF2985660.sql @@ -0,0 +1,7 @@ +-- 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';