Get user input

markclemarkcle Member Posts: 65
Hi All

Using business central 2020 (so 100% AL). I have a codeunit that gets called from the sales line functions menu. I need to get a percentage from the user. How do I prompt the user for a value?

Thanks

mark

Answers

  • AlexeyShaminAlexeyShamin Member Posts: 80
    Hello!
    1. You need create page with global variable "InputPercent"
    2. put this variable on page
    3. In Page Create function GetInputVAlue to return value from InputPercent variable
    4. Call page from code and then call GetValueInput function from page to get Value from page
  • markclemarkcle Member Posts: 65
    Thanks a lot Alexey
Sign In or Register to comment.