Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Line no - config. pag. new sales price lists

Posted on by 48
Hi all, 
 
I want to ad new items and new price-lists via configuration packages. 
1. But how does /line no/ works?
2. How am I supposed to know the last number?
3. Do I have to manually ad numbers in /line no/ or can I leave this field empty?
4. What happens if i leave it empty`?
 
Categories:
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    Line no - config. pag. new sales price lists
    I think I have to disagree with the answer that Shauna gave you here.
    I just did a test and for me it worked just fine to leave the line number blank when I imported new price list lines.
    But it is important that you set it to empty and not to zero.
    Zexro will be read as a valid integer value.
    The import will add a line numer based on the auto split key feature that is used for these kinds of tables.
     
  • Suggested answer
    Shauna Langley Profile Picture
    Shauna Langley 612 Super User 2024 Season 2 on at
    Line no - config. pag. new sales price lists
    Hi,
     
    The line number will be unique for each price list and should always start from say 10000 as standard BC always increments in 10000.
     
     
    In this example you can see that I have 3 sales price lists and the first item for each one starts with line number 10000 and then increased by the same value.  You must have a line number as this will be part of the primary key so if you leave blank then each record will overwrite the previous one for that sales price list and you will be left with one record.  
     
    Hope that helps,
    Shauna

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,246 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,041 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans