I want to customize existing Number sequence by adding Fiscal year number to it. By default , the type Company and fiscal calendar period give us somthing like this USMF-Mar-######### , it based on the shortName of period
First of all ,i edit all shortName of year 2015 and 2016 and i create the new number sequence in Organization administration>Common>Number sequence as
Number sequence code Name Smallest Largest Format
Test1 Test12015 1 999999999 USMF-2015-#########
Test1 Test12016 1 999999999 USMF-2016-#########
Then on the Accounts payable>Invoice >invoice journal : i create the new journal then i clicked on the line button i have voucher number sequence created automatically as : USMF-2015-000000002
So i 'm looking how can i update this number sequence to be automatically use the current year.
I know how to make a number sequence but I am not able to do it for voucher number as I am not able to find voucher edt in the loadModule method inside NumberSeqModuleLedger class.
Can any body guide me where to find the edt in loadModule()? In which class can I add my specific code?
On the Accounts payable>Invoice >invoice journal > lines we have field Date , so i want to customize the existing voucher Number sequence by adding the year of this field to the existing number seq?