Child rows are created without parent ref when added from parent table

Hello again friends, i have several child tables that reproduce this behavior:

18 seconds gif (3.7 mb)

It happens when i add an item to a child table directly from the detail view of a parent table, it looks like it saves the rows without the parent ref:

Contratista_Id Obra_ref Nombre Rubro Nombre+Rubro RUC Telefono
9fc7f6cc someone someone ()

Which is quite bamboozling to me, since i can see it loads the reference on the form the moment i click the action that adds a new item, any ideas for fixing this? 3X_7_a_7a0214a097af7f0e8cacd8cade86bbf4c57663a4.gif

Solved Solved
1 8 310
1 ACCEPTED SOLUTION

Well, i just realized i had the โ€œEditableโ€ box unchecked for the column containing the reference in the child tableโ€ฆ

It works nowโ€ฆ

3X_0_2_02644749e390b9607e65dd225fde1ffc1287d9c2.gif

I am clevernโ€™t, thanks for the help guys @Steve @MultiTech_Visions

View solution in original post

8 REPLIES 8

I have done quite a lot of testing, and after i click on the new child row i just added from a parent table, i can see the new entry has a parent ref saved, but as soon as it syncs it disappears from the table, and lands in the spreadsheet without a parent ref.

Two questions:

  1. Have you adjusted the Add action at all? (for the child table)
  2. Is the Ref to a regular table, or a slice?

Hey Matt! thanks for replying, as for the answers to your questions:

  1. I have only changed the โ€œdisplay nameโ€ for the action
  2. The ref is to a regular table

Okay, thatโ€™s helpful.

Is there anything funny with the ref column on the child table? Something weird with the Edit If maybe?

Or is a workflow involved?

Well, i just realized i had the โ€œEditableโ€ box unchecked for the column containing the reference in the child tableโ€ฆ

It works nowโ€ฆ

3X_0_2_02644749e390b9607e65dd225fde1ffc1287d9c2.gif

I am clevernโ€™t, thanks for the help guys @Steve @MultiTech_Visions

Thatโ€™s bitten me before, too.

Itโ€™s usually something strange like this - one off, never do it, strange why you did it this time but I did it and itโ€™s messing things up type of thing.
3X_b_f_bfaff43a5436c7a2e10f2b477531b3266dea500e.gif

Top Labels in this Space