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

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

I can't figure out what is wrong in it


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