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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Business Central API - How can I view the department code in the ItemLedger API Endpoint?

(0) ShareShare
ReportReport
Posted on by 25

Hi 

Specifically, for the itemledgerentries API, how can I view with which dimensionSetLines or department codes the entries are associated?

Thanks in Advance

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at
    RE: Business Central API - How can I view the department code in the ItemLedger API Endpoint?

    You have to create a custom API and add the Dimension code field to it.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    RE: Business Central API - How can I view the department code in the ItemLedger API Endpoint?

    You can ether create a custom API or publish the Item Ledger page as as webservice and use that instead of the standard API.

  • Verified answer
    YUN ZHU Profile Picture
    95,307 Super User 2025 Season 2 on at
    RE: Business Central API - How can I view the department code in the ItemLedger API Endpoint?

    Hi, If a field you need is missing from the standard API, this requires customization.

    More details: https://yzhums.com/20960/

    Or you can add fields to the page, and then publish to the Web Service, so the performance is not as good as the API, but it should also meet the needs.

    Hope this helps.

    Thanks.

    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans