问题
I am trying to set up a global search where the user can search by invoice number and it shows the invoice AND related order with OOB solutions.
EDIT
Version: 2015
Unsure of when installed but was updated recently
回答1:
Global Search works on top of Quick Find view & Find columns specified in particular entities. The searchable entities & its display order can be configured in System settings.
In your scenario, Add the entities Order & Invoice to searchable entities list (move it to top). Then setup the QF view display columns & Find columns (Invoice number) in view of both entities.
Read more
Update:
Order can have multiple Invoices associated (Invoice subgrid). Hence Order is a lookup on Invoice. This will make easy to QF with 'Order number' in both entity by 'Order number' field (text in Order, Lookup in Invoice).
But you need to QF 'Invoice number', which is available in Invoice only. You may need to store all the Invoice numbers in a custom field (comma separated) & use it for QF in Order entity.
来源:https://stackoverflow.com/questions/46030951/ms-dynamics-crm-global-search-getting-related-entities