I checked the source code and find out the the method ReceiptData.getReciptNo() does not increase the receipt no, instead there is another method, upReceiptNo(), that does that.
So i modify the StudentReceiptModule.java, when new receipt to be created, the method upReceiptNo() is called instead of getReceiptNo.
On 24 May 2007, the bursary receipt number stopped running at RB09612. All receipts issued since will have RB09612.
Temporarily we restore to the DB from day before and revert to mecca2 war build the week before.
TQ.
I checked the source code and find out the the method ReceiptData.getReciptNo() does not increase the receipt no, instead there is another method, upReceiptNo(), that does that.
So i modify the StudentReceiptModule.java, when new receipt to be created, the method upReceiptNo() is called instead of getReceiptNo.
//context.put("generated", ReceiptData.getReceiptNo()); <-- commented
context.put("generated", ReceiptData.upReceiptNo());