Same invoice number for every invoice posting in Project Module

After creating the invoice proposal for the invoicetype “Invoice” in the Project Module.

When i m trying to post the invoice , it is not taking the number sequence what ever i had assigned. It is by default taking “6053” for every invoice. Where can be problem.

My invoicetype is “INVOICE” not “ON ACCOUNT”. For on account it is working.

Ask the developer to debug the code in \Classes\ProjFormLetter_Invoice\allocateNumAndVoucher and see what is happening there…