From 3e97a8e9bfd451f8044a240a024d123644a9e2ce Mon Sep 17 00:00:00 2001 From: usrdno Date: Tue, 27 Oct 2009 19:43:40 +0000 Subject: [PATCH] BF2871621 - Invoice format not printing description http://sourceforge.net/tracker/?func=detail&aid=2871621&group_id=176962&atid=879332 PostgreSQL must drop view first before adding new column. Added drop statements in script. --- migration/354a-trunk/postgresql/591_BF2871621.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migration/354a-trunk/postgresql/591_BF2871621.sql b/migration/354a-trunk/postgresql/591_BF2871621.sql index f426087675..7c59721c44 100644 --- a/migration/354a-trunk/postgresql/591_BF2871621.sql +++ b/migration/354a-trunk/postgresql/591_BF2871621.sql @@ -1,6 +1,6 @@ -- Fix 2871621 - Invoice format not printing description -- Surround ProductAttribute with COALESCE - +DROP VIEW C_INVOICE_LINETAX_V; CREATE OR REPLACE VIEW C_INVOICE_LINETAX_V (AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, AD_LANGUAGE, C_INVOICE_ID, C_INVOICELINE_ID, @@ -125,6 +125,7 @@ FROM C_InvoiceTax it INNER JOIN C_Tax t ON (it.C_Tax_ID=t.C_Tax_ID) ; +DROP VIEW C_INVOICE_LINETAX_VT; CREATE OR REPLACE VIEW C_INVOICE_LINETAX_VT (AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, AD_LANGUAGE, C_INVOICE_ID, C_INVOICELINE_ID,