From b458c5816f54000db8b8a804cc6fa1c1fb3e04b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pe=C3=B1uela?= Date: Sat, 13 Apr 2013 11:02:56 -0500 Subject: [PATCH] IDEMPIERE-794 Ticket #1001025 - Expand the views to provide more information / Fix UnAllocated Invoices --- .../i1.0a-release/oracle/201304121145_IDEMPIERE-794.sql | 6 ++++++ .../i1.0a-release/postgresql/201304121145_IDEMPIERE-794.sql | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 migration/i1.0a-release/oracle/201304121145_IDEMPIERE-794.sql create mode 100644 migration/i1.0a-release/postgresql/201304121145_IDEMPIERE-794.sql diff --git a/migration/i1.0a-release/oracle/201304121145_IDEMPIERE-794.sql b/migration/i1.0a-release/oracle/201304121145_IDEMPIERE-794.sql new file mode 100644 index 0000000000..3e495e15d2 --- /dev/null +++ b/migration/i1.0a-release/oracle/201304121145_IDEMPIERE-794.sql @@ -0,0 +1,6 @@ +-- Apr 12, 2013 11:41:32 AM COT +UPDATE AD_ReportView SET WhereClause='NOT EXISTS (SELECT * FROM C_AllocationLine al WHERE al.C_Invoice_ID=RV_C_Invoice.C_Invoice_ID) AND RV_C_Invoice.DocStatus IN (''CO'',''CL'')',Updated=TO_DATE('2013-04-12 11:41:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_ReportView_ID=154 +; + +SELECT register_migration_script('201304121145_IDEMPIERE-794.sql') FROM dual +; diff --git a/migration/i1.0a-release/postgresql/201304121145_IDEMPIERE-794.sql b/migration/i1.0a-release/postgresql/201304121145_IDEMPIERE-794.sql new file mode 100644 index 0000000000..f8bf5cabca --- /dev/null +++ b/migration/i1.0a-release/postgresql/201304121145_IDEMPIERE-794.sql @@ -0,0 +1,6 @@ +-- Apr 12, 2013 11:41:32 AM COT +UPDATE AD_ReportView SET WhereClause='NOT EXISTS (SELECT * FROM C_AllocationLine al WHERE al.C_Invoice_ID=RV_C_Invoice.C_Invoice_ID) AND RV_C_Invoice.DocStatus IN (''CO'',''CL'')',Updated=TO_TIMESTAMP('2013-04-12 11:41:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_ReportView_ID=154 +; + +SELECT register_migration_script('201304121145_IDEMPIERE-794.sql') FROM dual +;