Just so I close the loop, I was defaulting the PO Date and the Delivery date from my start up script and hence was getting the above errors. I removed them and now I have given them a button to default the date to current date if need be.
Thank you Tamas.