Complementary attributes and dependant lists

Hi everyone. I want to add two Complementary fields to a Contract Line. I would like the first field to be a Thirdparty, and I want the second field to be Conacts. But I only want the Contacts to show for the selected Thirdparty.

Is this possible? I cannot figure out the correct syntax for the Contacts list. The code of my thirdparty list is fk_sold_by. So here is my statement for the Contacts field.

socpeople:lastname:rowid:fk_sold_by|fk_soc:

This shows all of the Contacts. Not just the ones for the selected Thirdparty.

What am I doing wrong?

Nevermind. I figured it out. I will leave the solution here for other developers.

Since my parent list is a Complementary/Extra field, you have to prefix the name of the parent list with “options_”.

socpeople:lastname:rowid:options_fk_sold_by|fk_soc:

If nothing has been selected for the Thirdparty, the Contacts list will show ALL Contacts.

2 Likes