AnsweredAssumed Answered

How to know relate field Join table name?

Question asked by Offshore Evolution on Oct 6, 2016
Latest reply on Oct 7, 2016 by Offshore Evolution

Hello,

 

I have Contact, Account & other custom module object. How to know relate field join table name using code?

I have Contact object relate field

Array
(
    [name] => account_name
    [rname] => name
    [id_name] => account_id
    [vname] => LBL_ACCOUNT_NAME
    [join_name] => accounts
    [type] => relate
    [link] => accounts
    [table] => accounts
    [isnull] => true
    [module] => Accounts
    [dbType] => varchar
    [len] => 255
    [source] => non-db
    [unified_search] => 1
    [populate_list] => Array
        (
            [billing_address_street] => primary_address_street
            [billing_address_city] => primary_address_city
            [billing_address_state] => primary_address_state
            [billing_address_postalcode] => primary_address_postalcode
            [billing_address_country] => primary_address_country
            [phone_office] => phone_work
        )

    [populate_confirm_label] => TPL_OVERWRITE_POPULATED_DATA_CONFIRM_WITH_MODULE_SINGULAR
    [importable] => true
    [exportable] => 1
    [export_link_type] => one
    [label] => Account Name
)

Other custom relate field.

 

Please any one advise me how to know run time relate field join table name?

 

Alan Apter Mehul  Bhandari Francesca Shiekh Ramana Raju Santhana

 

Thanks

Dipesh

Offshore Evolution Pvt Ltd

Outcomes