|
![]() |
#1 |
Участник
|
Вопрос! Нашел на просторах Интернета
Parental Relationship
Account --> Entity A Referential Relationship Entity B -- Account Entity B -- Entity A With simple JavaScript, when a user selects the lookup value for the account, the lookup for Entity A can be filtered to point to only those entity A's that are related to the account you just chose. Here's the code to place on the form of Entity B: crmForm.all.<lookup field for entity A>.additionalparams = 'search=' + encodeURIComponent(crmForm.all.<lookup field for account>.DataValue[0].name); That's it! Simple, yet effective. Что этот пример делает? можно ли с помощью его фильтровать продукты в формах? |
|