Budget from History entry numbers increment by 10000

jaustinjaustin Member Posts: 21
Can anyone tell me... when I create a budget using the "Budget from History" option why does the Entry No in the G/L Budget Entry table increment by 10000.

This happens in report # 10031 (Budget from History) Integer - OnAfterGetRecord code

EntryNo:= EntryNo + 10000

I'm now getting a "Overflow in calculation of 2147477350 + 10000" error and I'm wondering if it is because I've exceeded the max number of entries in the G/L Budget Entry table due to the incrementing by 10000.

Thanks,
Jim

Comments

  • krikikriki Member, Moderator Posts: 9,110
    That is correct. The limit of a integer is (2^31 - 1). If it is an entry-table, you can also increment the entry no. by 1. It has no sense to increment an entry-table by 10000.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.