Autosplitkey Property can't find Key

elTorito
Member Posts: 191
Hi,
i have a curiosly Error, wenn i would add a notice line for a customer i get an error that says me:
Autosplitkey Property can't find Key between the actual an the before record.
This Only occurs when i try insert an new line above the other lines, when i insert a new line belo the other lines, the it's okay.
We write the actual Notices upside so that when we try look it we don't must scroll
Can give me anybody a tip ?
Thanks.
i have a curiosly Error, wenn i would add a notice line for a customer i get an error that says me:
Autosplitkey Property can't find Key between the actual an the before record.
This Only occurs when i try insert an new line above the other lines, when i insert a new line belo the other lines, the it's okay.
We write the actual Notices upside so that when we try look it we don't must scroll
Can give me anybody a tip ?
Thanks.
(Oo)=*=(oO)
0
Comments
-
Navision calculate the line number by dividing the line number of the previous line and the current line. For example:
First line number is 10000
If you want to insert a line before, the second line number will be (10000+0)/2=5000.
Will you do this another time then the third line number will be 2500
etcetra. On a certain moment there is no possibleity to create a new number and your error is occuring.
Solution. Go down one line and insert the other lines there.0 -
You can insert 13 lines between 2 other line numbers. Navision will fail on the 14th I believe.
5000
2500
1250
625
313
165
78
39
20
10
5
3
2
1
Well maybe the 15th. whatever... Just create a sales order and insert a line between two existing ones, repeat and see how many lines you can insert. If your customer needs to insert an unlimited number of records, you will need to write some code to renumber the lines when a new line is inserted.
0 -
Of course you could also create an separate (reverse) index for your form0
-
tvandongen wrote:Of course you could also create an separate (reverse) index for your form
Hello and thanks for you answers. Now I see how it works,
this occurs momemntanly at two Records, i was gone and change in the Comment Line Table der Line Numbers Manually, so that can be put other Rows above the existing.
If this occurs a lot of time then i think try create an reverse index.
regards
Piter(Oo)=*=(oO)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