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.

  • Suggested answer
    YUN ZHU Profile Picture
    81,798 Super User 2025 Season 1 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
    9,276 Moderator 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,544 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,017 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans