Skip to main content

Notifications

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

API get field from another table

Posted on by 2,413

Hi All

I'm creating an API for purchase Line (directly using line table instead of buffer table). Is there any way to link Dimension Set Entry table and get global dimension = 1 so I can show the dimension value rather than dimension set ID?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: API get field from another table

    The value for global dimension 1 should be available for you directly on the purchase line table, so that is a field you should be able  to add directly  to your API page.

    The same goes for short-cut dimension 2

    pastedimage1682762144461v1.png

  • Suggested answer
    Tech-Lucky Profile Picture
    Tech-Lucky 796 on at
    RE: API get field from another table

    Yes, you need to create the variables and assign the Values from the Dimension Set Entry Record to variables and you can easily use the variables as the fields to show the data accordingly.

    Mark this answer to verify if this was helpful. 

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans