Display and Select Only Specific Records

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alohatech
    Junior Member
    • May 2024
    • 17

    Display and Select Only Specific Records

    In the detail view of Entity A, there is a related section called the "List of Bs", which shows all B records linked to the current A record. However, I only want this list to show and allow selection of B records with the status field set to 'OK'.

    Could you guide me
  • victor
    Active Community Member
    • Aug 2022
    • 729

    #2
    If I understand correctly, it will be enough for you to use Search Filters.

    Click image for larger version

Name:	image.png
Views:	80
Size:	21.2 KB
ID:	111278

    The required fields can be added in Administration > Entity Manager > Entity_B > Layouts > Search Filters.​

    You can also create your own Report Filter: https://docs.espocrm.com/user-guide/...report-filters.

    Click image for larger version

Name:	image.png
Views:	40
Size:	14.4 KB
ID:	111279

    Comment

    • alohatech
      Junior Member
      • May 2024
      • 17

      #3
      Thank you victor, i need to do it by code, the use shoud not see the other records in this modal

      Comment

      Working...