How can we restrict creation of child record to one while in the Parent Stepper
A
Asha.ramegowda
started a topic
almost 3 years ago
Hello,
Parent employee can have multiple addresses. In create employee stepper, I would like to add only one address. Is it possible to disable/remove "Add another" and disable "Create" after adding one child ?
Thanks,
Asha
Best Answer
S
Subham Dixit
said
almost 3 years ago
Hello Asha,
You have to create a validation rule in the child entity and enable it in the Parent stepper -
Validation rule-
lookup count(test2ID) from test1.Test2s end <2
Now it will throw an error if there is more than 1 number of child records are created.
1 Comment
S
Subham Dixit
said
almost 3 years ago
Answer
Hello Asha,
You have to create a validation rule in the child entity and enable it in the Parent stepper -
Validation rule-
lookup count(test2ID) from test1.Test2s end <2
Now it will throw an error if there is more than 1 number of child records are created.
Asha.ramegowda
Hello,
Parent employee can have multiple addresses. In create employee stepper, I would like to add only one address. Is it possible to disable/remove "Add another" and disable "Create" after adding one child ?
Thanks,
Asha
Hello Asha,
You have to create a validation rule in the child entity and enable it in the Parent stepper -
Validation rule-
Now it will throw an error if there is more than 1 number of child records are created.
Subham Dixit
Hello Asha,
You have to create a validation rule in the child entity and enable it in the Parent stepper -
Validation rule-
Now it will throw an error if there is more than 1 number of child records are created.
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics