Hi, Using the OnBeforeActionEvent on page 42 on the Release button.
The Event code is only triggered on the Tab: Actions, not on the Tab: Home.
I have made a function subscribing to this event and it trigger the code fine as long as I push the Release button from the Actions Tab, but it does not trigger from the Home Tab.
The button is the same, only that on the property it has Promoted = Yes
Does anyone know why ?
0
Answers
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
RIS Plus, LLC
Its not a good idea to use OnBeforeAction Event for this purpose.
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
You need to be on build 46773 or later of NAV2016. In earlier builds the OnBeforeAction doesn't work on the home tab.
I would really like generic OnBefore/OnAfter of ALL functions passing the parameters of the function as VAR:s. Maybe even buil't in handling of the Handled pattern. Wouldn't that be nice :-)
http://www.linkedin.com/in/larswestman
RIS Plus, LLC