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

Announcements

News and Announcements icon
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 33

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
    61,218 Super User 2026 Season 1 on at

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

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    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
    102,049 Super User 2026 Season 1 on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans