web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

OnInsert not triggered when creating record in table

(0) ShareShare
ReportReport
Posted on by

Suddenly the OnInsert trigger stopped working when I insert a record in the table. If i put a message in the event it is not triggered. Because of this my lines are not getting a Primary key. Can somebody please help me? Need to finish this project tonight..

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rabin Profile Picture
    2,976 on at

    Hi,

    This might be because of "DelayedInsert" property set to "YES" in Page property. 
    Try inserting data from table level and check if the same issue is there. 

    Good Luck. 

  • Community Member Profile Picture
    on at

    When running the table directly from the development environment it does trigger the oninsert (and does assign a primary key) only when running it in the client via the head document it doesnt trigger the oninsert..

  • Suggested answer
    Rabin Profile Picture
    2,976 on at

    Did you check the DelayedInsert Property of Page?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans