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...
Answered

Web service API - Patching Direct Debit Collection Entries

(0) ShareShare
ReportReport
Posted on by 5

Hi there,

I am trying to generate the Direct Debit Export for a 3rd party company. Creating the file is not the issue, but after it has been generated I was hoping to update the status field on the 

Direct Debit Collect. Entries entity to "File Created".
I am using Oauth2 to authenticate and calling the respective API setup in Web Services:
Header:
{
  "Content-Type""application/json;IEEE754Compatible=true",
  "If-Match""*"
}
Body:
{
  "Status""File Created"
}
The result being returned is:
{
  "error": {
    "code""BadRequest",
    "message""Control 'Status' is read-only.  CorrelationId:  *****."
  }
}
I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    In the UI that field can’t be edited by a user. Using that page as a web service will give the same result. You need a dedicated API page or codeunit to fulfil this requirement

  • Wightfibre Profile Picture
    5 on at

    Thank you so much :-)

    I don't suppose you have an easy way to replicate the existing Direct Debit Collections Entries page in order to set this to editable?

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,785

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,007 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans