Anonymous - 2013-05-03

In Sales Order window,we can see ‘Date Ordered’ field.
Try going into the code tracking the file and applying a validation to this field such that
On clicking Complete button,
If the date entered is less than current Date then an error message occurs
‘Back Dated Sales Order not allowed.’

How to rectify through adempiere source code?