on 06-08-2022 9:24 AM
Hello,
I want to add a specific mandatory field in MM01 using Screen Personas.
We are on Screen Personas 3.0 SP14.
Adding my logic in the Save button is working using this line of coding
session.findById("wnd[0]/sbar").setMessage("Field PartGroup in MRP3 is mandatory", "E");
But I cannot get the same blocking error if the user use the enter (I linked my validation to the onBeforeRefresh event)
Do you have a solution blocking the user whatever action he is doing (enter or click on save)?
Thank you in advance
Moez.
Try to add your validation logic to the onEnter screen event.
If the validation fails, you can issue your error message and also use the return; statement to prevent further processing of the transaction's logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.