Field error "Reversal date" Change of fiscal year prohibited

SOLVED

Good Morning, 

We are getting an error message when we try to set the reversal date to 01/01/2021. (The accounting date is 12/31/2020).

This is only happening to some of our journal entries. 

Would anybody be able to tell me why this error message is triggering on some of our journal entries?

I found the code that gets triggered to cause this:

script: SUBGA1

line 2026-2037

If !clalev([F:DAE3]) : Local File GACCENTRYD [DAE3] : Endif
For I=0 To [M:HAEF]NBRC-1
Call GETEXE([M]CPY,[M:HAEF]TYPC(I),VALEUR,OFIY) From CPTSUB
If GREP<>"D" & [M:HAEF]FIY(I)<>OFIY
Filter [DAE3] Where TYP=[M]TYP & NUM=[M]NUM & LEDTYP=[M:HAEF]TYPC(I)
Read [DAE3]First
If !fstat
GMESSAGE = mess(5,106,1) : # Changement d'exercice interdit
mkstat = 2 : Break
Endif
Endif
Next

We are currently on sage x3 v11, patch 14

Thanks,

Chris