SSS_INVALID_SRCH_FILTER_JOIN when using filter expression on joined custom field

99封情书 提交于 2019-12-01 13:48:31

When using the dot syntax for joins in filter expressions, the prefix of the dot is the ID of the field you are joining through, not the ID of the record type you are joining to (as it looks like you have here).

So, if I am searching Invoices, but I want to filter on the Sales Rep from the related Sales Order, it would look something like:

[
  [ 'createdfrom.salesrep', 'anyof', salesReps]
]

Notice that it's not salesorder.salesrep, but rather createdfrom.salesrep because the createdfrom field is what links the record I am searching (Invoices) to the record I am joining (Sales Order). The same applies when using custom records. Your join will be something like custrecord_fieldid.custrecord_sp_ecom_description rather than using the record type.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!