Question: can I reset my invoice id sequence every month

can I reset my invoice id sequence every month

can I reset my invoice id sequence every month? I know that we can change the invoice prefix but what I want is to make a loop on invoice number based on each month so it is easy to keep tr

PV

Prom Vongchann

Asked
can I reset my invoice id sequence every month?
I know that we can change the invoice prefix but what I want is to make a loop on invoice number based on each month so it is easy to keep track.

example :
Jan --> inv01001, inv01002, inv01003, inv01004....
feb --> inv02001, inv02002, inv02003, inv02004....
mar --> inv03001, inv03002, inv03003, inv03004....

like sample above. just sequence only each month.
  • MS

    Mian Saleem

    Answered
    Hello,

    System will reset the reference number only for `YEAR/MONTH/Sequence Number (SL/2014/08/001)` Every Month and `YEAR/Sequence Number (SL/2014/001)` Every Year. All other options won't be reset.

    Thank you
  • PV

    Prom Vongchann

    Answered
    how and where can I find how to set that custom sequence number?
  • PV

    Prom Vongchann

    Answered
    can I just hide the year number?
    so I can only see month and sequence number
  • PV

    Prom Vongchann

    Answered
    where can I go in to code to change it? I want to hide the year, I just want to have only month, because I want to show sequence of months and followed by sequence of reference number in my invoice.
  • MS

    Mian Saleem

    Answered
    Hello,

    You can modify the `getReference` of `app/models/Site.php` to modify the reference number.

    Thank you
  • Login to Reply