Line No. Configuration from 10000 to 1

manisharma31
Member Posts: 285
Is there any way that i can configure the Line No. to start from 1 & not from 10000.
I want to use a form's Line No. as Sr No. which will be displayed to the user.
Is there any way i can configure but not coding.
I want to use a form's Line No. as Sr No. which will be displayed to the user.
Is there any way i can configure but not coding.
Regards,
Manish
Manish
0
Answers
-
manisharma31 wrote:Is there any way that i can configure the Line No. to start from 1 & not from 10000.
I want to use a form's Line No. as Sr No. which will be displayed to the user.
Is there any way i can configure but not coding.
What for do you want to do it?
"Line No." is not a field for user. It's used as part of primary key...0 -
yea i know the autosplit property well avaliable on forms & pages & it must be the primary key in the table.
But where is navision picking 10000 from,is it in the .exe or what ?Regards,
Manish0 -
if you remove autosplitkey property from the sales order subform (for example), you'll notice that the new lines will always be inserted with line no. = 0...so if it's the user that is inserting line, the line no. value is not code driven...
if you are instead writing sales line table during a process, you have to set the line no. by code0 -
ok
so its in the .exe.
Then i need to write a code, to modify the line no. from 10000 to 1.
Anyways thanks for all ur help.Regards,
Manish0 -
personally, i wouldn't do what you are trying: maybe there's a better approach to the business need you're trying to fulfill...if you tell us what is the request from your customer, we can try to suggest you a better approach.
The problems of your approach:
- you're modifying standard behaviour
- users will never be able to insert a line between 2
- you'll probably have problems of renaming messages (probably)
- users are free to screw the numbers on the lines0 -
thanks.
I need to use Line No. of comment sheet as Serial No.Regards,
Manish0 -
:? :? :?
the question is: why? i don't think that the customer told you:
"can you use line no. of comment sheet as serial no, please?"
i can't actuallay understand what is the reason for doing this: can't you use the standard functionality for generating serial nos.?if so, why?0 -
why don't you just add new field for the user?? It's not so hard to evaluate it...-Mihail- [MCTS]0
-
[Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Definitely, it is better to add own filed for this than "hacking" the standard. Because if you will do that, you will end with question like "Why I cannot insert new line between existing lines?" and you will need to rename all lines after this inserted line to meet the requirement. Just add new field, add function which will go through the lines and fill the field with correct number, rigger this function on correct points and you are done...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