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

ErrorCode: Application_CallbackNotAllowed while posting item journal from API page

(0) ShareShare
ReportReport
Posted on by 587

I am trying to post the item journal using the procedure in an API page by calling the standard codeunit Item Jnl.-Post. But i got this error.

ErrorCode: Application_CallbackNotAllowed  Microsoft Dynamics 365 Business Central Data Services attempted to issue a client callback to show a confirmation dialog box: Do you want to post the journal lines? (CodeUnit 241 Item Jnl.-Post). Client callbacks are not supported on Microsoft Dynamics 365 Business Central Data Services.

Have anyone faced this error before and resolved it. Guide me on this error

I have the same question (3)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Have a look here:

    learn.microsoft.com/.../apptest-webservices

    Hope it helps.

  • Verified answer
    DAnny3211 Profile Picture
    11,397 on at

    Hi

    MESSAGES or DIALOGs are called in the COdejuniti which give you this error, so when in AL you call up the CodeUnit 241 Item Jnl.-Post (surely you will call it up in your WS) , hook into the OnBeforeCOde event and set the variable HideDIalog=TRUE

    pastedimage1670845534118v2.png

    check my answer if it helped you, thanks

    DANiele

  • Suggested answer
    Tamilarasu Arunachalam Profile Picture
    587 on at

    Thanks DAnny3211

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 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans