Parameter to ONRUN trigger of Codeunit

gulamdastagir
gulamdastagir 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

  • kriki
    kriki Member, Moderator Posts: 9,121
    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!


  • DenSter
    DenSter Member Posts: 8,307
    Any suggestions? :shock:
    You just described correct codeunit behavior. What kind of suggestions are you looking for?