MT#5879 Fix for invoices.serial unique index
MT#5879 Add date values for fix for invoice.serial unique index.