Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

"general" triggers

rated by 0 users
This post has 5 Replies | 2 Followers

Not Ranked
Posts 4
Points 110
hoffmeyster Posted: 08-21-2008 10:22

are there in navision kind of general triggers (i.e. in CU 1...?!) which are fired if someone starts any report or any form or...?!

thanks in advance, claus!

  • | Post Points: 50
Top 75 Contributor
Male
Posts 238
Points 4,035

Sure, but you will need development license to change them... it exists OnOpenForm, OnInsert, OnInitReport, etc.....

  • | Post Points: 20
Not Ranked
Posts 4
Points 110

hm, ok... i'll try again, may my expression was not that good, sry for this... :)
the thing is, i am a navision developer, so i know the "standard" triggers... like "OnOpenForm", etc...
but i'm looking for a trigger like "OnOpenAnyForm" which is always fired, if any form is being opened...

thx in advance, clasu

  • | Post Points: 20
Top 75 Contributor
Male
Posts 238
Points 4,035

I read it again and your expression was ok, my english was more bad jajaja

On the other hand I know no way of doing what you request and I have never heard about it. Maybe you can investigate something similar with the Change Log (Administration --> Application Setup --> Change Log Setup): this allows you to activate a user log where is stored all "movements" and maybe you can add code to the table and manipulate when user's open forms, reports.

Sorry but I can't help you more on this way [:'(]

  • | Post Points: 5
Top 10 Contributor
Male
Posts 5,414
Points 67,853
DynamicsNAVMVP
Moderator
SystemAdministrator

hoffmeyster:

are there in navision kind of general triggers (i.e. in CU 1...?!) which are fired if someone starts any report or any form or...?!

thanks in advance, claus!

 

 

What are you trying to do? 

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision Go-Live assistance
Dynamics Book
  • | Post Points: 5
Not Ranked
Male
Posts 25
Points 856

well ... i don't know wht u really trying to do... but if u wanna know that, what happens at backend, or what queries are fired at "OnOpenOfAnyForm" then

I would suggest you to open the SQL Profiler for the same server and observe the backend code fired in SQL for your activities in Navision.

If u analyse the SQL code closely you ll surely get your answer.

 

thanks and regards

Anurag

Associate Consultant

Bangalore  

Anurag atish Navision Technical Consultant Bangalore - India anurag.atish@yahoo.com http://wiki.dynamicsbook.com/index.php?title=Main_Page
  • | Post Points: 5
Page 1 of 1 (6 items) | RSS


Copyright Dynamics User Group, 1995-2008, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.