Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

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

Posted on by Microsoft Employee

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

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 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
    Roberto Stefanetti 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans