Error: "New pledge next key pledge.pledgeNum() is not available" for gui/system/keyNum.p when trying to make a new pledge

Trying to make a new pledge, when you click the New Pledge button it gives an error saying "New pledge next key pledge.pledgeNum() is not available" for gui/system/keyNum.p. Then FIMS completely restarts itself.
If you haven't used the Pledges module of FIMS before, it is possible that it was never initialized properly.  Pledges must have numbers just like gifts and grants.

To set the next number:
Tools > System Utilities > Set Automatic Numbers
Choose Pledge Number
On the right, enter a number 1 larger that the value in the Last Promise ID Code used field.
If that field is blank, enter a 1.
Click Save and then Done.
You should be able to add a new pledge now.

Environment

 FIMS

Was this article helpful?