First let me say, that I have no experience at all programing, Im learning by trail and error, and reading this forum, and anything I can get my hands onโฆso please help me understand this isue, and thanks for your attention.
I have a table (Orders), with a second table (Orders details), once the order is ready to be send, I have another table (Shipments) in which you can assign several Orders to One Shipment, here is my question:
How I can assign and show, once you are view shipments, its details which are the details of all the orders assign to one shipment, since this a grandchild table with details also, I cannot figure how to show a table (shipments) with its details table.
I hope made myself clear explaining it
thanks
Daniel
Hi @DmelgarGt
First of all, welcome to the community !
Once you attach your orders to your shipments, which mean, in your order table, you have a column [shipment], type Ref
==> that will create a virtual column in your shipment table : [Related orders]
So, in order to get all the detail orders in your shipment, you will need to add a new virtual column:
==> Data/Columns, then:
with this expression in the App Formula:
SPLIT(
CONCATENATE([Related ORDERs][Related Order Detailss]),
" , ")
Thanks for you responseโฆhowever failed to make itโฆ(I guess I still dont have knowlege enough for it)โฆhere are some more detailed info about my messy appโฆplease excuse my structureโฆ
this is my tables structure
Table columns โOrden de trabajoโ
table columns โOT itemsโ
Table Columns โEnvioโ
Hi @DmelgarGt
What did you try so far ?
Can you also share structure of Envio Items ? I suspect this is the missing piece of the puzzle
Table โEnviosโ
Well in my head, tried to link table โorden trabajoโ by using a Ref columm in โEnvioโ, it seems to work, I think, but when I tried to show or get details from โOrden trabajoโ, I cant get those details from the table, I though that by relating both tables I could call the refered table by each column individually, and so create a table โEnviosโ with this refered columns and work my way alongโฆ( I hope this is clear).
Its my understanding that by linking (or refering) the tables, if changes were made to one this changes will reflect in the second one, maybe instead of referring try to copy all rows selected from table โorden Trabajoโ copy them to โenviosโ, so this will be an independent table at allโฆ(this I have try)
but as I said, since I have zero experience with databases or its estructure, dont really know which way to move onโฆ
My idea is that โOrden trabajoโ will have data about quantity, money, to whom and what we are selling, โEnvioโ, will have data about whom are we sending to, what are sending, and also payments for that โEnvioโ, make sense?..so an โEnvioโ could have several โorden trabajoโ.
I did tried to find a way to get data from the referred table/columns with LIST(), FILTER(), SELECT(), but my inputs in those functions are wrong, cause I get messages that says cannot find table, or the type of data is not expected, etcโฆ
can you tell me, how bad my table estructure is?
I hope you can help me fix and learn thisโฆ
thanks
Daniel
Hi @DmelgarGt
Iโm pretty sure your structure is OK, or almost OK
I asked for your โEnvio Itemsโ structure screnshot, in order to better understand
Thank you for taking some time to help me
Table โEnvio Itemsโ
Thank you.
So, from what I understand, your question is about to get a [Related OT Items in Envio] column, from your table Envio.
I suggest (80% sure about that, because I never had this configuration):
[VC_Related OT]
, Type List, base Ref, Source table Orden Trajajo, expression:[Related Envio Items][OT ID]
[VC_Related OT Items in Envio]
,Type List, base Ref, Source table OT Items, expression:FILTER("OT Items",
IN([OT ID],[_THISROW].[VC_Related OT])
)
I suggest you have a look to this documentation, in order to understand what Iโm trying to achieve with these suggestions:
Let us know if that works for you !
Im still trying to understand what you said, and I think finally got to make it work..!!!!
so thank you very much,.....still have to read it a few more times to finally understand it....I wish there were some more material or videos to understand how "deference expresions " works...cause is a concept really hard to get it, it is even harder without practical examples to learn from....
I will keep practicing and reading...thanks a lot
Thank you very much for your sugestion, let me digest everything you saidโฆ, and I will let you know how it went
User | Count |
---|---|
14 | |
11 | |
9 | |
7 | |
4 |