Why Line No. automatically started with 10000.???

devu_13devu_13 Member Posts: 101
Hi experts
I want to know about Line No. which increses with 10000 or started with 10000.Why?
can we defined it for 1 or 100?
Devendra Kr. Sharma
IBIZ Consulting Services,India

Comments

  • DenSterDenSter Member Posts: 8,304
    It's just one of those things they defined that way. It allows lines to be inserted in form that have the AutoSplitKey property turned on. They put in place a value that would allow you to insert a number of lines. It would be nice to have some sort of property and be able to set it to other values, but unfortunately that is not the case.
  • SavatageSavatage Member Posts: 7,142
    devu_13 wrote:
    I want to know about Line No. which increses with 10000 or started with 10000.Why?
    can we defined it for 1 or 100?

    Now that you know it's just one of those things that is set that way, why would you want to change it anyway?
    Is it a problem?
  • devu_13devu_13 Member Posts: 101
    Hi
    No i want just know it.so ok its fine
    Thanks a Lot
    Devendra Kr. Sharma
    IBIZ Consulting Services,India
  • David_SingletonDavid_Singleton Member Posts: 5,479
    the reason for 10,000 is quite logical actually. No matter how you look at it, the number must be divisible by 10, anything else would just look weird. So the number needs to be big enough that we can insert new lines in between, but not too big so that it gets unmanageable. Then most people look at 10,000 and say who needs to insert 9,999 lines between two lines on an order. But we know that we have to halve each time, so in fact with 10,000 we can only actually insert 13 lines in between two lines ***. 1,000 allows 8 lines and 100,000 allows 16. so 10,000 is a good compromise. In reality though its very often that 13 lines is not enough.

    In the end its a good design that is simple and works.



    *** go on try it ... you know you want to.
    David Singleton
  • DaveTDaveT Member Posts: 1,039
    But we know that we have to halve each time, so in fact with 10,000 we can only actually insert 13 lines in between two lines ***. *** go on try it ... you know you want to.

    Not 100% true - yes 13 lines straight inserts but you can still insert lines between the first and second inserted lines etc so in theory (and not very practical) you can insert the 9,999 lines
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • David_SingletonDavid_Singleton Member Posts: 5,479
    DaveT wrote:
    Not 100% true - yes 13 lines straight inserts but you can still insert lines between the first and second inserted lines etc so in theory (and not very practical) you can insert the 9,999 lines
    as I said ...
    go on try it ... you know you want to.
    you will find that I am right, and that it's 13.
    David Singleton
  • DaveTDaveT Member Posts: 1,039
    Hi David,

    I did and successful inserted 20-30 lines. Straight insert between 10000 and 20000 gives line numbers

    15000, 12500, 11250, 10625, 10312, 10156, 10078, 10039, 10019, 10009, 10004, 10002, 10001
    this is the 13 lines but then you can insert between the first inserted line and the second line giving another 13 line

    17500, 18750, 19375, 19687, 19843, 19921, 19960, 19980, 19990, 19995, 19997, 19998, 19999

    You can then insert between any of these line with a gap.

    So I stand over my original statement:
    DaveT wrote:
    Not 100% true - yes 13 lines straight inserts but you can still insert lines between the first and second inserted lines etc so in theory (and not very practical) you can insert the 9,999 lines

    as you say "go on try it ... you know you want to." :mrgreen:
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • David_SingletonDavid_Singleton Member Posts: 5,479
    Yes of course you can keep do this, BUT I am answering the question of why 10,000. 8)
    David Singleton
  • davmac1davmac1 Member Posts: 1,283
    Does this mean superstitious people should not insert lines (13)? Especially never on Fridays? :lol:
Sign In or Register to comment.