Skip to main content

Notifications

Announcements

No record found.

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

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,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans