From 3bebb34a10d6228b3396f9e0967ce32059138ba9 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 15 Dec 2009 23:30:37 +0000 Subject: [PATCH] Fix [2904323] - Cannot set invoiced on request type https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2904323&group_id=176962 --- migration/354a-trunk/oracle/648_BF2904323.sql | 16 ++++++++++++++++ .../354a-trunk/postgresql/648_BF2904323.sql | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 migration/354a-trunk/oracle/648_BF2904323.sql create mode 100644 migration/354a-trunk/postgresql/648_BF2904323.sql diff --git a/migration/354a-trunk/oracle/648_BF2904323.sql b/migration/354a-trunk/oracle/648_BF2904323.sql new file mode 100644 index 0000000000..1c9e816e9d --- /dev/null +++ b/migration/354a-trunk/oracle/648_BF2904323.sql @@ -0,0 +1,16 @@ +-- Fix [2904323] - Cannot set invoiced on request type + +UPDATE C_Payment SET R_CVV2Match = 'N' WHERE R_CVV2Match IS NULL; + +UPDATE GL_JournalBatch SET IsApproved = 'N' WHERE IsApproved IS NULL; + +UPDATE PP_MRP SET IsAvailable = 'N' WHERE IsAvailable IS NULL; + +UPDATE PP_Order SET IsQtyPercentage = 'N' WHERE IsQtyPercentage IS NULL; + +UPDATE PP_Order_Node SET IsMilestone = 'N' WHERE IsMilestone IS NULL; + +UPDATE PP_Order_Node SET IsSubcontracting = 'N' WHERE IsSubcontracting IS NULL; + +UPDATE R_RequestType SET IsInvoiced = 'N' WHERE IsInvoiced IS NULL; + diff --git a/migration/354a-trunk/postgresql/648_BF2904323.sql b/migration/354a-trunk/postgresql/648_BF2904323.sql new file mode 100644 index 0000000000..1c9e816e9d --- /dev/null +++ b/migration/354a-trunk/postgresql/648_BF2904323.sql @@ -0,0 +1,16 @@ +-- Fix [2904323] - Cannot set invoiced on request type + +UPDATE C_Payment SET R_CVV2Match = 'N' WHERE R_CVV2Match IS NULL; + +UPDATE GL_JournalBatch SET IsApproved = 'N' WHERE IsApproved IS NULL; + +UPDATE PP_MRP SET IsAvailable = 'N' WHERE IsAvailable IS NULL; + +UPDATE PP_Order SET IsQtyPercentage = 'N' WHERE IsQtyPercentage IS NULL; + +UPDATE PP_Order_Node SET IsMilestone = 'N' WHERE IsMilestone IS NULL; + +UPDATE PP_Order_Node SET IsSubcontracting = 'N' WHERE IsSubcontracting IS NULL; + +UPDATE R_RequestType SET IsInvoiced = 'N' WHERE IsInvoiced IS NULL; +