In the configuration of the Cash Application Method there is a field called Automatic Cash Application Window. The value in this field can be used to limit automatic application of funds to future dated invoices.
If I am posting cash on 11/8 and the setting is 7 then if there is an open invoice with a due date of 11/15 it will not have cash applied to it. The system treats the current day as day 1.