ThoughtWorthSharing HowTo
As part of the serie of article about UDO, I am sharing now how to create a new Procedure, using an Interactive UI.
------
On the Cloud solution, the only way to create specific procedures is to use the UI function.
There are 2 conditions to be able to access the UDO/UDE Admin console:
1. User with Admin and Leader Role
2. Role with access to Mfg Context Builder App
Interface
The function is accessible from the PPR Navigation toolbar:
You will see the list of all existing Procedures (in green are the OOTB one, you won’t be able to edit them).
On the top right you will have 3 functions: create, delete, edit
The Procedure screen is divided in 2 parts:
1. The properties
- ID: please respect the format
. . . (i.e: myProcedure.1.0.0) - Procedure Name: the name that will be visible and selectable in the list of Procedures
- Procedure Visibility: will impact hide/show in the list depending on the user preferences
- Applicability: UDO or UDE or both
- Input Object Type: it is advised to select a input type so the procedure will appear only when the object with same type will be selected. It will help to avoid confusion
- Open in App: it is possible to specify by default which app to open after execution
- Description: will be visible in the UI when the procedure will be selected. It can help the user to understand what is it for.
2. The steps
- One line per step
- Each output will be in the variable of the number of the same line.
- Example: in the picture below, the output of "Expand EBOM" primitive will be stored in the variable 1 (because line 1). Then, the second primitive Merge refer to the expanded EBOM by using "1" in the input.
- For each step, depending on the primitive, one or several outputs will be required. A small help pop-up will appear when the cursor is over a parameter cell.
- Please refer to UDO - 3 - File Structure description, "Parameters used" to understand when and how to use the main input/output variables (i.e: PRD, SEL_PRD, RSC, SEL_RSC...)
To understand each required parameter, please refer to UDO - 4 - Primitives deep-dive
