No sir. Trust me when I tell you everything in FA pointed to 2021 as the active year. Not my first rodeo. Weird, I know. I have screen shots to back this up, but again I can't share them here.
I did a work around for this and this issue is now in my rear view mirror. Not exactly sure why it happened, but since it DID happen (perhaps an anomaly) I needed a quick fix.
Anybody can do this, but I would NOT recommend it unless you know what you're doing.
Before you do anything LOG OUT of FA and then copy the gl_journal.php to to a safe place in another directory!
1. Create a status.txt file in the gl directory.
2. Edit the status.txt file so it reads "Super Super Admin is turned off". (no quotes in the file).
3. copy file gl_journal.php to reg_gl_journal.php
4. copy file gl_journal.php to ssa_gl_journal.php
5. edit ssa_gl_journal.php and comment out (not delete) 6 lines:
//elseif (!is_date_in_fiscalyear($_POST['date_']))
//{
// display_error(_("The entered date is out of fiscal year or is closed for further data entry."));
// set_focus('date_');
// $input_error = 1;
//}
5. Save the edited file as ssa_gl_journal.php (ssa = super super admin)
6. Create a bash script named "ssa_cpa.sh" (or whatever you want) as follows:
#!/bin/bash
read -p "Do you wish to be in Super Admin Mode? " USER_INPUT
if [[ $USER_INPUT = "yes" ]]; then
cp ssa_gl_journal.php gl_journal.php
sed -i 's/off/on/' status.txt
echo "status.txt file will reflect super admin status."
elif [[ $USER_INPUT = "no" ]]; then
cp reg_gl_journal.php gl_journal.php
sed -i 's/on/off/' status.txt
echo "status.txt file will reflect regular admin status."
else
echo "Make up your mind please."
fi
7. Save the bash script.
8. Change rights to your bash file as:
9. sudo chmod +x ssa_cpa.sh
10. Just use FA as needed with your regular rights. If you MUST have access to multi-year and can not do this through the UI, and it's an emergency then invoke the bash script. In linux this is done as follows:
10: sudo bash ssa_cpa.sh
11. Answer the question as "yes" or "no" (no quotes, lower case response). Anything else just ends it. If you answer "yes" then status will be : "Super Admin is turned On." Opposite if you answer "no".
12. LOG BACK INTO FA
13. When you are finished with your multi-year general journal entry, LOG OUT OF FA and immediately run the bash script again, and this time answer "no" to the question. This will put everything back as it was, and you can then LOG BACK INTO FA.
If you ever forget what admin status you are in [keyboard] type: cat status.txt and it will report on your terminal. Note, all of the above requires you to be in command line in the /frontaccount/gl directory.
***DO NOT TRY THIS UNLESS YOU KNOW WHAT YOU'RE DOING. IT'S A VERY SIMPLE WORK AROUND, BUT IT'S EASY TO FAT FINGER THIS FIX. DON'T DO IT UNLESS YOU ARE COMFORTABLE.***
***NO WARRANTIES WHATSOEVER - - USE AT YOUR OWN RISK***
:-)