Options

How to get a field/value from page to codeunit & also how can i use that value in my entire codeunit

In business central I am using existing page, so in that i need a field/ value to use in the Codeunit. So, in codeunit I want to use that value in entire Code unit. Is it possible?


Thank You for your answer.

Answers

  • Options
    temp123temp123 Member Posts: 3
    Yes, you can define the record where the field is contained as a global variable.
  • Options
    ShivaKrishnaShivaKrishna Member Posts: 27
    Thank for your answer, I tried procedure & other techniques, but i can't get a value for that field.
  • Options
    temp123temp123 Member Posts: 3
    Could you share the structure of your code?
  • Options
    ShivaKrishnaShivaKrishna Member Posts: 27
    yes, unfortunately my friend helped me in that
    any way thank you.! :smiley:
Sign In or Register to comment.