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 :
Microsoft Dynamics NAV (Archived)
Suggested Answer

Form.RunModal() is not allowed in write transactions.

(0) ShareShare
ReportReport
Posted on by

hi friends,

im getting error when i put a sales order.

in sales line unit price excl

The following C/AL functions can be used only to a limited degree during write transactions (because one or more tables will be locked).

Form.RunModal() is not allowed in write transactions.

Thanks & Regards,

Ashwini.E

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    hi,

    is by design:  "this is not a bug. During a transaction, it's not allowed to open a object with rundmodal. Because runmodal stops the transaction an wait for the user interaction. So, all ather users are blocked (who need the table) until the user close the form."

    Take a look here

    forum.mibuso.com/.../form-runmodal-is-not-allowed-in-write-transactions

  • Suggested answer
    RockwithNav Profile Picture
    8,639 Super User 2025 Season 2 on at

    Yes as per Robert's comment it's not as issue but probably you can solve this by using COMMIT;

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 > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans