Menu

SOS Receipt Number Stop Running

khairin
2007-05-24
2013-04-23
  • khairin

    khairin - 2007-05-24

    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.

     
    • Shamsul Bahrin Abd Mutalib

      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());

       

Log in to post a comment.