Parameter to ONRUN trigger of Codeunit

gulamdastagirgulamdastagir Member Posts: 411
I thought ONRUN triggers of a codeunit dont take any parameter until i recently stumbled on something like ONRUN(var: record) and if you try to run this codeunit from object designer it says must supply record.
i tried removing this paramter from this ONRUN trigger but its uneditable

Any suggestions? :shock:
Regards,

GD

Comments

  • krikikriki Member, Moderator Posts: 9,110
    Check property "TableNo" of the codeunit.
    The record-parameter of the OnRun-trigger is changed there.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • DenSterDenSter Member Posts: 8,305
    Any suggestions? :shock:
    You just described correct codeunit behavior. What kind of suggestions are you looking for?
Sign In or Register to comment.