Showing posts with label Input Form. Show all posts
Showing posts with label Input Form. Show all posts

Tuesday, June 21, 2016

How You Can Take Input From End User In Codeunit Object

How You Can Take Input From End User In Codeunit Object

Hi all,
Today i came across with different type of requirement, where someone asking for how could we input from codeunit.
This example illustrates how you can take input from end user in Codeunit Object.
And update the excel sheet from inputted data, using dotnet variables.
To achieve these requirement follow these steps:

Step 1:  Create a new codeunit.
Step 2:  Create function "CreatePopOfWindow" and  "UpdateExcelData" See the bellow screenshot].







Excel Function:



Excel Variable:




Step 3:  Save, Compile and run the newly created codeunit, See the bellow screenshot].




Scenario - 1:




Scenario - 2:







Click Here for download Object.
Note: 
    It might be changed the version of variables, so better to Re-define/declare the DotNet variables.




Popular Posts