Should the date be initialized to the receipt date, it will only be initialized after entering the lines taking the first receipt that occurred in time.