Restricting Invoice Entry Dates

Hello, 

First, I have tried and used the "Restrict Accounting date to current and one future Period," and this is not what I am looking for.

I am looking for a way to restrict the dates that a user may enter for invoices and other data entry to the current month (and possibly one future month) only. After researching, it does not appear that there is a setting to do this. My thought process is that I will have to, with scripts and VI jobs do the following:

          -Create validation settings for every date entry field to a range that only includes relevant dates.

          -Update these validation settings at the end of each month.

Does anyone see any problems with this? Is there a more efficient way to do this?

Thanks in advance.