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

Announcements

News and Announcements icon
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,812 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,423 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
    101,995 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,050 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,441 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,175 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans