Unable to rename a Vendor No.

Sabby
Member Posts: 8
We are currently using Navision 4.0 on an SQL 2000 database. We are using
Windows and Database Logins.
I'm trying to rename a "Vendor No." in the Vendor table. When I click YES
to rename the field, the rename process starts. However, it's stops with an
SQL Server error occurs on the "Bank Rec. Line" table. The exact error is: "
The following SQL Server error(s) occurred while accessing the Bank Rec.
Line table:
213,"21S01",[Microsoft][ODBC SQL Server Driver][SQLServer]Insert Error:
Column name or number of supplied values does not match table definition.
(Repeats 20 times)
SQL:
UPDATE "Db_name"."dbo"."Company name_$Bank Rec_Line" SET (Account
No_"='1001TR' WHERE (("Account Type"=2)) AND ((Account No_"='1001TRA'))"
We also did a "Check Syntax" on the "Bank Rec. Line" table trigger and we
get the following error from the Microsoft SQL-DMO (ODBC SQL State: 21S01): "
Error 170: Insert Error: Column name or number of supplied values does not
match table definition.
(Repeats over 50 times)
So we are not able to rename our Vendor No.'s.
Has this happen to anyone else?
Thanks,
Windows and Database Logins.
I'm trying to rename a "Vendor No." in the Vendor table. When I click YES
to rename the field, the rename process starts. However, it's stops with an
SQL Server error occurs on the "Bank Rec. Line" table. The exact error is: "
The following SQL Server error(s) occurred while accessing the Bank Rec.
Line table:
213,"21S01",[Microsoft][ODBC SQL Server Driver][SQLServer]Insert Error:
Column name or number of supplied values does not match table definition.
(Repeats 20 times)
SQL:
UPDATE "Db_name"."dbo"."Company name_$Bank Rec_Line" SET (Account
No_"='1001TR' WHERE (("Account Type"=2)) AND ((Account No_"='1001TRA'))"
We also did a "Check Syntax" on the "Bank Rec. Line" table trigger and we
get the following error from the Microsoft SQL-DMO (ODBC SQL State: 21S01): "
Error 170: Insert Error: Column name or number of supplied values does not
match table definition.
(Repeats over 50 times)
So we are not able to rename our Vendor No.'s.
Has this happen to anyone else?
Thanks,
Sébastien Aussant
Bath Fitter
Bath Fitter
0
Comments
-
Please, can you post the ID of the "Bank Rec. Line" table? I found just table "Bank Acc. Reconciliation Line" in my DB and there is no field connected to the Vendor table. It seems like some customization and the field is not correctly connected to the Vendor table (for example TableRelation to another field than Primary Key)...0
-
The Table ID is 10121 - Bank Rec. Line. We did not do any customization in the Bank Rec. Line Table but we did in the Vendor table. However, I get the same SQL error when I try to convert from 4.0 to 4.0 SP1 and it's not because of the Vendor table.
Thanks,Sébastien Aussant
Bath Fitter0 -
Just curious- what is your table 274?
20S01
Insert value list does not match column list.The argument contained an INSERT statement and the number of values to be inserted did not match the derived table.0 -
Table 274-Bank Acc. Reconciliation Line
Thanks,Sébastien Aussant
Bath Fitter0 -
it seems like this table is part of Canadian localization. Try to ask Microsoft office...
Can you post the Properties of the field from this table which is connected to Vendor table?0 -
Have you tried compiling all objects or doing a db-test. There might be a problem with a tablerelation not set properly.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions