Sales Agreement is not openning

Hi all

when opening sales agreement list form then tried to open one from the list or trying to click on any button on this form, it shows me the attached error.

SQL error description: [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near the keyword ‘IS’.

please help