siddaramesh
siddaramesh

Reputation: 241

how to display specific account records in popup in suitecrm

I've created one 'account_category' field in account module. It is dropdown and have following options:

  1. principle
  2. customer
  3. supplier
  4. manufacturer

I created Account relationship with Opportunity module.

In the Account popup i want to display only those records which have account_category as principle.

My file path : custom/modules/opportunity/metadata/editviewdef.php

1 => 
          array (
            'name' => 'opportunities_accounts_1_name',
           'displayParams' => 
            array (
              'initial_filter' => '&account_category_c="Principle"',
            ),
          ),

But it is not working..

Please help to filter accounts on the basis of account_category_c as principle

Upvotes: 4

Views: 2910

Answers (1)

Related Questions