Page Web Services - AutoSplitKey problem

derrick
Member Posts: 86
Hi buddies,
I created a Card type Page Web Services and used it in the .Net web application to insert new records with Create/CreateMultiple.
I had set the Page properties:
AutoSplitKey = Yes,
DelayedInsert = Yes
The table binding by the Page has only a key: "Name, LineNo".
The problem was the "LineNo" kept on increasing every time I inserted new records even the "Name" was different. For instance,
Record 1: "Jessica, 10000"
Record 2: "Peter, 20000" => #-o I am looking for 10000 for this record's LineNo.
Any suggestion what should I do :?: Thx.
I created a Card type Page Web Services and used it in the .Net web application to insert new records with Create/CreateMultiple.
I had set the Page properties:
AutoSplitKey = Yes,
DelayedInsert = Yes
The table binding by the Page has only a key: "Name, LineNo".
The problem was the "LineNo" kept on increasing every time I inserted new records even the "Name" was different. For instance,
Record 1: "Jessica, 10000"
Record 2: "Peter, 20000" => #-o I am looking for 10000 for this record's LineNo.
Any suggestion what should I do :?: Thx.
0
Answers
-
Pls... anybody has experience this before.0
-
autosplitkey are used based on filters. Try to set filter on Name and see if it creates the 10K Line no.0
-
Thanks ara3n, it didn't work.
Instead of web services, I had also tried it by inserting a new record from the RTC, it resulted the same outcome.
Anyhow, if I make a form and run it in the classic client, record was inserted nicely into the table.
Any ideas?0 -
Hi Derrick,
Probably you did solve this already ages ago. But for those hitting this post: I ran into a same kind of issue (not using web services, but just running a document page on RTC) where lines cerated on subpage having AutoSplitKey on. And I found out it all was due to the PageType property. It was set to List, but has to be ListPart.0 -
AutoSplitKey doesn't seem to work if SourceTableTemporary.
The "Line No." of the first record is not 10000, but the next "Line No." of existing records in the table.
Also the "Line No." of the second record is not increased with 10000.
Anyone else who has this experience?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