Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Callback functions are not allowed exception

Posted on by 65

Greetings everyone,

I'm trying to read from a page web service published in NAV but it is giving me a  "Callback functions are not allowed" exception. The published page is Item Card with its default operations. How can I handle this exception?

Thanks in advance.

*This post is locked for comments

  • bruno agalliu Profile Picture
    bruno agalliu 65 on at
    RE: Callback functions are not allowed exception

    .

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Callback functions are not allowed exception

    I believe the item availability action is causing you that issue because it uses Page/Form to perform the action, try with Item List page and see if you can duplicate the issue.

  • bruno agalliu Profile Picture
    bruno agalliu 65 on at
    RE: Callback functions are not allowed exception

    I controlled C/AL code of the item card page but i can't find any function(like create, update etc.) causing those dialogues. So I don't know where to put the "if guiallowed then". Is there any way to find where to put this statement ?

  • Rashed Profile Picture
    Rashed 3,765 on at
    RE: Callback functions are not allowed exception

    open the item card and try to populate the fields manually.  you'll see that form will open up in one of the fields. change the code to if guiallowed then,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans