Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

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

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

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,296 Super User 2024 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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 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.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,125 Super User 2024 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.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans