Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

BC24 - SQL Triggers - DML statement OUTPUT clause without INTO clause error

(1) ShareShare
ReportReport
Posted on by 4

Hi,

While creating a Purchase Quote/Order, the application crashes with the following error in the Event Viewer. We have triggers set up on the Purchase Header table, which are working fine in BC21. However, the issue occurs in BC24.

any ideas on how to resolve this issue with the triggers enabled?

 
SQL error message:
  The target table 'Purchase Header$437dbf0e-84ff-417a-965d-ed2bb9650972' of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause.
  Statement(s) could not be prepared.
Message: An unexpected error occurred after a database command was cancelled.
 
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 7,144 on at
    BC24 - SQL Triggers - DML statement OUTPUT clause without INTO clause error

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Share Your Event with the Community

Jump start your event engagement! 📢

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,717 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans