Vendor Ledger Entry Keys.

rj5570
Member Posts: 157
Ok, what i am trying to do is use a different check report that was modified by a vendor from another sister company of mine. We are using NAV3.6 and they are using NAV2.X
I kept getting this error:
The Vendor Ledger Entry table does not have an active key that starts with the following field(s):Document type,Document No.,Vendor No.
after ](*,) for a few hours, i went in and compared keys on the Vendor Ledger Entry table
Mine had a key setting of:
Document No.,Document Type,Vendor No.
where as theirs was set as:
Document Type,Document No.,Vendor No.
the doc no and doc type are switched. When i switched mine to:
Document Type,Document No.,Vendor No.
I didnt get the error anylonger, but now i was getting errors when i tried to navigate thru the vendor ledger.
my question is why would this difference matter, and where should i look on the check report so i can change it to fit my keys.
any help would be appreciated!!
RJ
I kept getting this error:
The Vendor Ledger Entry table does not have an active key that starts with the following field(s):Document type,Document No.,Vendor No.
after ](*,) for a few hours, i went in and compared keys on the Vendor Ledger Entry table
Mine had a key setting of:
Document No.,Document Type,Vendor No.
where as theirs was set as:
Document Type,Document No.,Vendor No.
the doc no and doc type are switched. When i switched mine to:
Document Type,Document No.,Vendor No.
I didnt get the error anylonger, but now i was getting errors when i tried to navigate thru the vendor ledger.
my question is why would this difference matter, and where should i look on the check report so i can change it to fit my keys.
any help would be appreciated!!
RJ
- So it Goes.
0
Comments
-
It matters because there is code behind the forms & navigating & etc.
For Example it might have code like:
VendLedgEntry2.SETCURRENTKEY("External Document No.","Document Type");
Now say you change the key. the code doesn't change.
if the you really need the key in another order - then add it.
Changing key's is not recommended unless you like errors & headaches0 -
thank you.... i will do that...i have enough headaches from my users!
thanks!!- So it Goes.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
- 321 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