Closing work orders

We just created our work order template in our new company. We were able to get the work orders placed and printing but when we tried to close the work order we got an error, Logical end of  record reached. How do we fix this?