Notifications
Announcements
No record found.
Hi Friends
If anyone have a solution?
What is the use of adding parameters in OnRun trigger? example OnRun(VAR Rec : Record "Purchase Header")
*This post is locked for comments
you can search and see how the Codeunit 80,90 or 91 is working when you post the Sales and Purchase document.
Just go to your codeunit properties and set the TableNo field to your Record that you want as input in OnRun trigger.
That i Know brother,but what is the use of it?
The use is to permit to pass a record parameter to a codeunit as direct input (like in Posting codeunits).
Thank you.
Brother in a Nutshell thats the same thing what you do when u make a new function and add respective parameters.
On RUn trigger you cannot add Parameters that way, You can just add a Record Parameter this way.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.