IDEMPIERE-640 Price List Versions must not allow duplicate valid from date

This commit is contained in:
Carlos Ruiz 2013-02-18 11:59:13 -05:00
parent d687a65314
commit dfc60b403d
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
-- IDEMPIERE-640 Price List Versions must not allow duplicate valid from date
CREATE UNIQUE INDEX m_pricelist_version_validfrom ON m_pricelist_version(m_pricelist_id, validfrom)
;
SELECT register_migration_script('201302181158_IDEMPIERE-640.sql') FROM dual
;

View File

@ -0,0 +1,7 @@
-- IDEMPIERE-640 Price List Versions must not allow duplicate valid from date
CREATE UNIQUE INDEX m_pricelist_version_validfrom ON m_pricelist_version(m_pricelist_id, validfrom)
;
SELECT register_migration_script('201302181158_IDEMPIERE-640.sql') FROM dual
;