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

Notifications

Announcements

No record found.

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 34

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,708 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,397 on at

    hi

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

    DAniele

  • Suggested answer
    YUN ZHU Profile Picture
    95,640 Super User 2025 Season 2 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…

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 2,577

#2
YUN ZHU Profile Picture

YUN ZHU 888 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 778 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans