[Koha-bugs] [Bug 7303] Not being able to create funds with the same name

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 10 13:13:57 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7303

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7683|0                           |1
        is obsolete|                            |

--- Comment #7 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 11528
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11528&action=edit
Bug 7303: Adds unicity for budget and fund

This patch adds a unique key on fields:
aqbudgets.budget_name
aqbudgets.budget_code
aqbudgetperiods.budget_period_description

To test, try to:
- create 2 budgets with same description
- create 2 funds with same name
- create 2 funds with same code

All of these cases should be generate an error

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list