"The guy who had written the original software worked his way down the first list and
checked every item against the second list to see if it matched the invoice number,"
Yup. That's the classic dumbass coding method in a nutshell.
checked every item against the second list to see if it matched the invoice number,"
Yup. That's the classic dumbass coding method in a nutshell.