Hey John.
Yes disconecting the battery will upset the computer. What i should have put in the note, was that you should give the computer a chance to relearn its settings by taking a drive after repair work is done. Then take your truck to have an emissions inspection done where the truck is now pluged into computer to check for codes or problems. A day or two after seems to be good.