Because the Uniform Commercial Code generally requires agreements to be in writing, failure to have written copies of any agreements could affect the outcome of a lawsuit. It is important to discuss any pending litigation with an attorney as soon as possible.