read the D-Unit Permit table by plateNumber and type ‘LIC’ where the toll date is between the from/to on the permit.
if not found, then leave the unitNumber as blank.
if found, update the unit number on the toll table with the unit number on the permit.