How to define a FILTER ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lj4353
    Senior Member
    • Nov 2023
    • 123

    How to define a FILTER ?

    I want to define a FILTER with the entity named Introductionfriend, filtering where paymentStatus == 'paid'.
  • yuri
    Member
    • Mar 2014
    • 8624

    #2
    In metadata > selectDefs > {EntityType}: https://docs.espocrm.com/development...erclassnamemap

    In the filter, apply

    PHP Code:
    $queryBuild->where(['paymentStatus' => 'paid']); 
    
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • lj4353
      lj4353 commented
      Editing a comment
      where can I find metadata ?
Working...