I i want to Block Future date Date Customer Clearing
like if i am doing Incoming Payment on 31.12.2011 and if there an invoice of 31.01.2012 this invoice must not clear only those invoice must clear whose dates are till 31.12.2011 only