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...
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
    YUN ZHU Profile Picture
    92,443 Super User 2025 Season 2 on at
    RE: Sales Credit Memo Api

    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

  • Suggested answer
    DAnny3211 Profile Picture
    11,376 on at
    RE: Sales Credit Memo Api

    hi

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

    DAniele

  • Suggested answer
    Nitin Verma Profile Picture
    21,684 Moderator on at
    RE: Sales Credit Memo Api

    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.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,132

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,615

#3
Sumit Singh Profile Picture

Sumit Singh 2,912

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans