How can we restrict creation of child record to one while in the Parent Stepper
A
Asha.ramegowda
started a topic
10 months 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
10 months 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
10 months 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.
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 274 topics