MAKE GL INACTIVE

I want to make a g/l number inactive but this message comes up:

THE ACCOUNT IS IN USE IN VENDOR DETAILS AND CANNOT BE MADE INACTIVE

How do I correct this ????