Creating a function
Use the Function Properties window of the Create a New Infor LN Software Component wizard to initialize and create a new function in your local workspace. This window is the wizard's second dialog box.
For more general information about the wizard, see Create a New Infor LN Software Component wizard.
Note: Before you use the new function in an LN application, build the function in LN Studio. If the auto-build preference is switched on, the function is built automatically.
Creating a function
- Start the wizard and select the component type.
- Start the wizard.
- Specify the software development activity for which you want to create the new function. Select
Function
as the component type. - To go to the Function Properties window, click .
- Specify the required function properties.
In the Function Properties window, specify this information:
- Name
- This is a text value. The function name must start with the code of the package and module in which the function is used.
- Description
- The description of the function.
All fields of the Function Properties window are mandatory. After you created the function, you cannot change its name anymore. You can change the description.
For more information about the function properties, see Function Editor.
- Create the function.
To create the function in your local workspace and to exit the wizard, click Activity Explorer view of the Application perspective.
. The created function appears in theThe wizard of LN Studio will automatically create some general source code for the new function, including a header with metadata and an empty 'skeleton' function.
You can now edit the new function in the Function Editor.