Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you open a screen in Microsoft Dynamics SL: "Programming Bulletproof Error 10260"


Symptoms

When you open a screen in Microsoft Dynamics SL 7.0, in Microsoft Dynamics SL 6.5, or in Microsoft Business Solutions - Solomon 6.0, you may receive the following error message:
Programming Bulletproof Error 10260 - Table % does not have a TimeStamp Column, please add a TimeStamp Column to the table.
The table name in the error message may not be the name of an actual table in the database.

↑ Back to the top


Cause

Cause 1

The table in the error message is a custom table that does not have a time stamp column. See Resolution 1.

Cause 2

The table in the error message is not actually a table in the database or is a table that already has a time stamp column. In this case, another table in the database may share the first 8 characters of the table name in the error message. See Resolution 2.

↑ Back to the top


Resolution

Resolution 1

All tables that are used in Microsoft Dynamics SL screens must have a time stamp column. To verify that the table has a time stamp column, run the following statement in SQL Server Management Studio or in SQL Query Analyzer:

SP_HELP [tablename]
-- replace the tablename placeholder with the name of the table
This statement returns a list of all columns in the table together with the column type. One of the columns must have a column type of timestamp.

Resolution 2

Find the table that shares the first 8 characters of the table name in the error message. To do this, follow these steps:
  1. Run the following statement in SQL Server Management Studio or in SQL Query Analyzer against the Microsoft Dynamics SL application database to find any tables that share the same first 8 characters of the table name in the error message:


    select name from sysobjects where type='U' and name like '12345678%'
    -- replace the 12345678 placeholder with the first 8 characters of the table name referenced in the error
    -- do not replace the %
    Note If the error message contains the earnded_aarg_ytd table, use the SQL statement to search for "earnded_%".
  2. If the statement returns a table name, rename this table so that the table name does not share the same first 8 characters.

    Note If the statement returns "EarnDed_Backup," you must rename the EarnDed_Backup table to something like "Backup_EarnDed". To do this, follow these steps:

    1. In the Object Browser in SQL Server Management Studio or in the Object Browser in SQL Query Analyzer, expand the Microsoft Dynamics SL application database.
    2. Expand Tables.
    3. Locate the table name from step 1.
    4. Right-click the table, and then click Rename.
    5. Type the new table name, and then click OK.

↑ Back to the top


Keywords: kbnosurvey, kbmbspartner, kbexpertisebeginner, kbmbsmigrate, kbprb, kbnomt, kbnoloc, kbtshoot, kbexpertiseinter, kberrmsg, kb

↑ Back to the top

Article Info
Article ID : 949102
Revision : 1
Created on : 3/3/2017
Published on : 1/4/2015
Exists online : False
Views : 92