Source: Microsoft Support
RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION THAT IS CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED TO SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
Symptoms
Note Before you follow the instructions in this article, make sure that you have a complete backup copy of the database that you can restore if a problem occurs.
When you transfer a requisition to a purchase order in Business Portal for Microsoft Dynamics GP, you receive the following error message:
Invalid column name UPDLOCK. Invalid column name holdlock. Parameters supplied for object SY01500 which is not a function. If the parameters are intended as a table hint, a with keyword is required.
Cause
This error is caused by a damaged stored procedure in the DYNAMICS database. The name of the stored procedure is coGetNextNoteIndex.
Resolution
To resolve this problem, re-create the coGetNextNoteIndex stored procedure. To do this, follow these steps:
-
Start the SQL Server Management Studio. To do this, click Start, point to Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.
-
Click to expand the following nodes:
-
Databases
-
Programmability
-
Stored Procedures
-
-
Right-click the coGetNextNoteIndex stored procedure, and then click Delete.
-
Download, and then run the following script to re-create the coGetNextNoteIndex stored procedure:
https://mbs.microsoft.com/fileexchange/?fileID=ae8addfc-3db7-4b77-b397-929a262417dc
DISCLAIMER
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, THE RELIABILITY OR THE ACCURACY OF THE INFORMATION THAT IS CONTAINED IN THE DOCUMENTS AND THE RELATED GRAPHICS PUBLISHED ON THIS WEB SITE (THE “MATERIALS”) FOR ANY PURPOSE.
THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON-INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.