Hello,
I have a parent object and a child object with a relationship between each other.
At the moment, I create a child following:
- PICK from parent
- ENTER NEW child
- VIEW child
Is it possible, that I place an action button on the parent form, so that I can create a child without selecting the parent object?
Kind regards,
Christian
Creating a child from the parent form
-
- Posts: 595
- Joined: Sun Apr 24, 2005 2:22 am
- Contact:
Christian,
Yes, it can be easily done. Remove the 'PICK FROM' step from the process and specify Parent as input for the process. Add an operation to the Parent form to call the process.
When starting the process the system will automatically use the Parent instance displayed on the form.
Yes, it can be easily done. Remove the 'PICK FROM' step from the process and specify Parent as input for the process. Add an operation to the Parent form to call the process.
When starting the process the system will automatically use the Parent instance displayed on the form.
Aware IM Support Team
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm
-
- Posts: 595
- Joined: Sun Apr 24, 2005 2:22 am
- Contact:
Christian,
You need to remove "VIEW Child" and "VIEW Parent" from the process so it has a single rule in it:
ENTER NEW Child WITH Clild.Parent = Parent
Once the user clicks Create on Child form the system will automatically return to the Parent form where the process was started.
You can have a look at the configuration of the Library sample application to see how related objects are created from an object form, for example as operations on Edit form of object Member.
You need to remove "VIEW Child" and "VIEW Parent" from the process so it has a single rule in it:
ENTER NEW Child WITH Clild.Parent = Parent
Once the user clicks Create on Child form the system will automatically return to the Parent form where the process was started.
You can have a look at the configuration of the Library sample application to see how related objects are created from an object form, for example as operations on Edit form of object Member.
Aware IM Support Team
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm
Thank you for your reply,
there is another issue.
In my child-object I have an attribute number_1 and I display the sum of all these attributes in my parent object.
Is it possible, to display the sum of all child-number_1-attributes in my child-object?
How do I design my rule for the sum?
child.sum_numbers = SUM child.number_1 WHERE child.parent = ????
Regards,
Christian
there is another issue.
In my child-object I have an attribute number_1 and I display the sum of all these attributes in my parent object.
Is it possible, to display the sum of all child-number_1-attributes in my child-object?
How do I design my rule for the sum?
child.sum_numbers = SUM child.number_1 WHERE child.parent = ????
Regards,
Christian
-
- Posts: 595
- Joined: Sun Apr 24, 2005 2:22 am
- Contact: