Dear,

On a lookup, i would like to filter the contacts having the account in job experience (ContactCareer). this is in the case of secondary job.

Currently filter show only account's contacts

i tryed in the orderpageV2:

            "UsrResponsableFacturation": {

                "dataValueType": Terrasoft.DataValueType.LOOKUP,

                "lookupListConfig": {

                    "filters": [function() {

                        var filters = Ext.create("Terrasoft.FilterGroup");

                        var accountId = this.get("Account");

                        filters.add("JobExperienceFilter", 

                            Terrasoft.createColumnFilterWithParameter(

                                Terrasoft.ComparisonType.EQUAL, 

                                "[Order:Account].ContactCareer.account.contact.name", 

                                accountId

                            )

                        );

                        return filters;

                    }]

                }

            }    

But it did not works.

 

I think the problem come from:

Terrasoft.createColumnFilterWithParameter(

                                Terrasoft.ComparisonType.EQUAL, 

                                "[Order:Account].ContactCareer.account.contact.name", 

                                accountId

                            )

I don't really understand how to access order's linked tables.

 

 

 

Does anybody can help me to solve this issue ?

Next i will only retrieve the contact with active job experience.

thank you

Nicolas

Like 0

Like

1 comments

Hi,

 

Please check your filter, it should be like '[ContactCareer:Contact].Account.Id'.

And also the second part on the screenshot, it should be 'this.get("Account").value'.

Show all comments

Dear community,



Does anyone know how to disable the operation that toggles the checkboxes in Job experience?

Our contacts can be working in multiple accounts and they can be current or active.



Whenever we check primary and/or current, the other checkboxes turn off.

Any way to disable this? There are no records in the progress logs.

Before

After

Desired outcome





Thank you.

Like 0

Like

1 comments

Hello Yosef, 

 

Unfortunately, there is no basic option to change the behavior of the Job experience detail.

 

Different accounts can have the same primary contact:

image.png



But only one account is displayed as a primary one on the Contact page:

image.png

 

We have already registered the idea for our R&D team to implement the possibility to display several accounts as a primary for one contact on the Contact page. As a temporary workaround, you can create a detail that displays the list of accounts where the current contact is specified as a primary one. 

 

Best regards,

Olga. 

Show all comments