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

  • Suggested answer
    RockwithNav Profile Picture
    6,562 on at
    RE: Form.RunModal() is not allowed in write transactions.

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

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at
    RE: Form.RunModal() is not allowed in write transactions.

    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,688 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,643 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans