Date of New Purchase or Sales Invoice

SOLVED

Hi,

When I enter new Purchase or Sales Invoice It is automatically takes the first date of fiscal or calendar year instead of last purchase or sales invoice date. Every time we need to enter it. Is there any way to setup that when I open new Purchase or sales Invoice it takes last Purchase or sales invoice date?

Thanks

Yatin