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

Notifications

Announcements

Community site session details

Community site session details

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

Sales Credit Memo Api

(0) ShareShare
ReportReport
Posted on by 36

I want to create an Sales Credit Memo API,  I created Credit Memo Header by parameter of "Sell to Customer No." but I'm unable to create Sales Credit memo lines by API because from business central it creates its line by button of 'Get Posted Documents lines to reserve' and through selected items it creates its line, I just have to select items from posted sale invoice but I don't understand how to perform this functionality of  'Get Posted Documents lines to reserve' through API. Kindly help me.

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,748 Moderator on at

    Hi,

    You can create your API through the combination of Header and Line, and in standard system you can create Cr. Memo line without selecting the "Get Posted Documents" button.

  • Suggested answer
    DAnny3211 Profile Picture
    11,401 Super User 2026 Season 1 on at

    hi

    you cannot perform that function via standard api, you have to perform a custonisation

    DAniele

  • Suggested answer
    YUN ZHU Profile Picture
    97,299 Super User 2026 Season 1 on at

    Hi, You can add [ServiceEnabled] attribute function in your API.

    A simple example: https://yzhums.com/20111/

    But for the content of this function, you need to refer to the standard code. I guess it's not that simple either.

    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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,170 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,283 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,104 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans