web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Sell-to customer No field

(0) ShareShare
ReportReport
Posted on by

Good day all 

I am trying to find the best join to retrieve the sell-to customer no information in NAV 2013. I have the following tables:
Value Entry , Item Ledger Entry, Sales Invoice Line and Customer

When i left join the Sales invoice line table with the Value entry table on Sell-to customer = Source No it displays the Bill-to Customer no and not the Sell-to customer no information. That means i cannot join Sales Invoice Line table with the Value Entry.

What table join with Sales invoice line will give me the sell-to customer no information 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    Jason,

    The Sales Invoice Line already has Sell-to Customer No. field which should give you the sell-to customer no. if you need more information of that customer you need to join that with Customer Table.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Hi Jason

    Check on your customer card also whether sell to customer and bill to customer no are same

    As well as there is field in Sales invoice line i.e Sell to customer No You can check that

  • Suggested answer
    Binesh Profile Picture
    7,887 on at

    Hello,

    See the bellow screenshot for linking on tables that you want.

    0601.q.png

  • Community Member Profile Picture
    on at

    Binesh I see the Item ledger entry , Value Entry and Sales invoice line tables , in which order should the joins be , I don't understand the arrows displayed on the image

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Item ledger entry and value entry can be join with Item ledger entry no field  and value entry and Sales Invoice line can be join with document no ,Item No etc.

    Can you tell us what result you are trying to achieve by joining all these three tables ?

  • Community Member Profile Picture
    on at

    When I join the sales invoice line to Value entry , the result is the bill to customer info which is wrong because value entry does not know if it should take bill to customer or sell to customer , there for the values for that customer and the information gets placed in another country with the same customer name

  • Binesh Profile Picture
    7,887 on at

    First what you want just say...

    See, These are the your tables,

    Customer

    Sales Invoice Line

    Item Ledger Entry

    Value Entry

    ----------

    Assume Customer is a Master Table, and if you want to get the records from, Sales Invoice Line, Item Ledger Entry. And Value Entry, whose Customer No. is 10000.

    If is this your requirement then you have to filter.

    For

    Sales Invoice Line

    Sell-to-Customer

    Value Entry

    Sales Type -> Customer

    Source No 10000

    Item Ledger Entry

    Sales Type -> Customer

    Source No 10000

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans