Skip to main content

Notifications

Business Central forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Item Tracking Lines Error - Cannot Post Assembly Order

Posted on by 25

Hello all,

Error pasted below:

The following AL methods are limited during write transactions because one or more tables will be locked:

Form.RunModal is not allowed in write transactions.

Codeunit.Run is allowed in write transactions only if the return value is not used. For example, 'OK := Codeunit.Run()' is not allowed.

Report.RunModal is allowed in write transactions only if 'RequestForm = false'. For example, 'Report.RunModal(...,false)' is allowed.

XmlPort.RunModal is allowed in write transactions only if 'RequestForm = false'. For example, 'XmlPort.RunModal(...,false)' is allowed.

Use the commit method to save the changes before this call, or structure the code differently.

Contact your application developer for further assistance.

Internal session id:
86aa910a-4b0f-4df7-b989-ee4dfe1df1d7

Application Insights session id:
d8abe488-0a24-4591-abdf-56240ca8ef08

Client activity id:
8078f0db-e627-4af7-adbd-9005a4b5d762

Timestamp:
2022-03-18T13:46:30.4896137Z

AL call stack:
"Assembly Header-Reserve"(CodeUnit 925).CallItemTracking line 9 - Base Application by Microsoft
"Assembly Header"(Table 900).OpenItemTrackingLines line 6 - Base Application by Microsoft
"Assembly Order"(Page 900)."Item Tracking Lines - OnAction"(Trigger) line 2 - Base Application by Microsoft

----------

What shall I do? This was working before and I have permissions to do it.

Thanks,

Lisa

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans