Hello Appsheet community,
I have quite an interesting scenario/complication that I wanted to share and see if anyone has a solution.
Lets start by giving some background: I'm building an app for managing the distribution of products to clients, and for that I have these tables:
So, there are moments when I'm creating a new Delivery order for a new Company and this is the process I go through:
Any idea on how I can go about doing this?
Solved! Go to Solution.
You haven't mentioned a complaint about what issue(s) you are trying to address. Since it appears you are performing NEW functions from the dropdowns, I assume the issue you wish to resolve is the need choose the new company again and again.
It sounds like maybe you might want to update the relationships between Customers and their Branches/Contacts. You want to establish a "tightly coupled" parent/child relationship between these. It's simple. In each of the child tables - Branches and Contacts - you should already have a Ref column where you assign the Company reference. In this column, on each table, turn on the "Is part of" property.
This does a couple of things for you:
1) In the Customer Form, when the [Related Branches] and [Related Contacts] columns are added, you will be shown automatically an input table with NEW buttons. Tapping these will do the same as you are doing now BUT the Customer value is automatically assigned into the row.
2) Should you ever delete the Customer row, all associated child rows are also deleted - automatically.
I hope this helps!
You haven't mentioned a complaint about what issue(s) you are trying to address. Since it appears you are performing NEW functions from the dropdowns, I assume the issue you wish to resolve is the need choose the new company again and again.
It sounds like maybe you might want to update the relationships between Customers and their Branches/Contacts. You want to establish a "tightly coupled" parent/child relationship between these. It's simple. In each of the child tables - Branches and Contacts - you should already have a Ref column where you assign the Company reference. In this column, on each table, turn on the "Is part of" property.
This does a couple of things for you:
1) In the Customer Form, when the [Related Branches] and [Related Contacts] columns are added, you will be shown automatically an input table with NEW buttons. Tapping these will do the same as you are doing now BUT the Customer value is automatically assigned into the row.
2) Should you ever delete the Customer row, all associated child rows are also deleted - automatically.
I hope this helps!
@WillowMobileSys wrote:In this column, on each table, turn on the "Is part of" property.
And, that was the solution! Very simple! Thank you @WillowMobileSys if I could, I would give you 5 stars ๐ โญโญโญโญโญ
User | Count |
---|---|
18 | |
10 | |
8 | |
6 | |
5 |