Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Finding Sales Order from an Assembly Order

Posted on by Microsoft Employee

Hi All,

How can I find the Sales Order which my assembly order is linked to? 

*This post is locked for comments

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: Finding Sales Order from an Assembly Order

    Hi, Microsoft does not publish all tables in BC. If you need to add data, you need to use one of the following two functions, but please note that the performance of the API page will be higher than that of the Web Service.

    Web Service:

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/web-services

    API page:

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-api-pagetype

    Hope this helps.

    Thanks.

    ZHU

  • HzJ Profile Picture
    HzJ 60 on at
    RE: Finding Sales Order from an Assembly Order

    In Business Central online - I need to get this table on web services in order to get the data in powerbi.

    I can see the Assemble to order Link table in 'table information' as table 904.

    But in web services i cannot find this table. Please assist.

  • HzJ Profile Picture
    HzJ 60 on at
    RE: Finding Sales Order from an Assembly Order

    In Business Central online - I need to get this table on web services in order to get the data in powerbi.

    I can see the Assemble to order Link table in 'table information' as table 904.

    But in web services i cannot find this table. Please assist.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Finding Sales Order from an Assembly Order

    As Ansari mentioned you need to find the 904 (Asemmbly-to Order Link) for that particular Sales line using Document Type, Document No. and Line No. and once you find the Assembly to order Link for that particular Sales Line you need to use the Assembly document type and Assembly Document No. on the 904 to find the Assembly line table.

    Check the function ShowAsmToOrderLines in the table 904 for the Logic.

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Finding Sales Order from an Assembly Order

    The printed report "Assembly Order" (902) should show the related sales document. Also, backwards, from the lines of the sales order from lines action you can get the information about assembly orders.

  • Verified answer
    AJAnsari Profile Picture
    AJAnsari 5,754 on at
    RE: Finding Sales Order from an Assembly Order

    Table 904 (Assemble-to-Order Link) will show you the link between an ongoing Sales Order and the Assembly Order when the Qty. to Assemble to Order has a value in it (i.e., the Assembly is linked to the Sales Order).

    For posted transactions, you can find it in Table 914 (Posted Assemble-to-Order Link).

    If you need to display the information from these tables in the NAV client, you will need to make your own List pages for it as there are no prebuilt pages for these Tables.

    I hope this helps. If my response has answered your question, please verify by clicking Yes next to "Did this answer your question?"

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans