Options

How to call a function from codeunit in a page action?

GeneliaGenelia Member Posts: 1
I need to call a function from a codeunit in a page action but nothing happens.
4x8g501jzcbv.png

I can't figure out what is wrong in it

Answers

  • Options
    sorenhinrupsorenhinrup Member Posts: 136
    You need to define the code unit in your variables.
    And then call the function as codeunit.function, as seen just above your example.
  • Options
    da_nealda_neal Member Posts: 76
    And function in codeunit must be not LOCAL.
Sign In or Register to comment.