diff --git a/db/ddlutils/oracle/views/T_RV_RECONCILIATION.sql b/db/ddlutils/oracle/views/T_RV_RECONCILIATION.sql new file mode 100644 index 0000000000..37cd7fff76 --- /dev/null +++ b/db/ddlutils/oracle/views/T_RV_RECONCILIATION.sql @@ -0,0 +1,5 @@ +CREATE OR REPLACE VIEW t_rv_reconciliation AS + SELECT f.*, t.ad_pinstance_id, t.matchcode + FROM rv_fact_acct f + JOIN t_reconciliation t ON f.fact_acct_id = t.fact_acct_id +; diff --git a/db/ddlutils/postgresql/views/T_RV_RECONCILIATION.sql b/db/ddlutils/postgresql/views/T_RV_RECONCILIATION.sql new file mode 100644 index 0000000000..37cd7fff76 --- /dev/null +++ b/db/ddlutils/postgresql/views/T_RV_RECONCILIATION.sql @@ -0,0 +1,5 @@ +CREATE OR REPLACE VIEW t_rv_reconciliation AS + SELECT f.*, t.ad_pinstance_id, t.matchcode + FROM rv_fact_acct f + JOIN t_reconciliation t ON f.fact_acct_id = t.fact_acct_id +; diff --git a/migration/i1.0a-release/oracle/201304201736_IDEMPIERE-849.sql b/migration/i1.0a-release/oracle/201304201736_IDEMPIERE-849.sql new file mode 100644 index 0000000000..04c2b0798d --- /dev/null +++ b/migration/i1.0a-release/oracle/201304201736_IDEMPIERE-849.sql @@ -0,0 +1,10 @@ +-- 821_IDEMPIERE-137_GLReconciliation.sql +CREATE OR REPLACE VIEW t_rv_reconciliation AS + SELECT f.*, t.ad_pinstance_id, t.matchcode + FROM rv_fact_acct f + JOIN t_reconciliation t ON f.fact_acct_id = t.fact_acct_id +; + +SELECT register_migration_script('201304201736_IDEMPIERE-849.sql') FROM dual +; + diff --git a/migration/i1.0a-release/postgresql/201304201736_IDEMPIERE-849.sql b/migration/i1.0a-release/postgresql/201304201736_IDEMPIERE-849.sql new file mode 100644 index 0000000000..132fd5eeb4 --- /dev/null +++ b/migration/i1.0a-release/postgresql/201304201736_IDEMPIERE-849.sql @@ -0,0 +1,12 @@ +-- 821_IDEMPIERE-137_GLReconciliation.sql +DROP VIEW t_rv_reconciliation; + +CREATE OR REPLACE VIEW t_rv_reconciliation AS + SELECT f.*, t.ad_pinstance_id, t.matchcode + FROM rv_fact_acct f + JOIN t_reconciliation t ON f.fact_acct_id = t.fact_acct_id +; + +SELECT register_migration_script('201304201736_IDEMPIERE-849.sql') FROM dual +; +