Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Line no - config. pag. new sales price lists

(0) ShareShare
ReportReport
Posted on by 87
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`?
 
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 993 Super User 2024 Season 1 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 705 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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans