Resolved wrong voucher links for invoices with the same reference number and updated the data type for SchedShipment to datetime.
Resolved wrong voucher links for invoices with the same reference number and updated the data type for SchedShipment to datetime.