display data stored in one module in another module

I have address field which is stored in accounts module while creating the account. Here what I want is this address field should reflect in all modules can any one clearly explain me about this query .thanks in advance.
Parents
  • --- You need to create the address field in all desired modules.
    (Copy address field defination from \cache\modules\Accounts\Accountvardefs.php and add in your module in upgrade safe manner Path \custom\Extension\modules\YourModule\Ext\Vardefs\yourAddressFied.php )

    After this hit Quick Repair and Rebuild and see address field is created.

    ---  Secondly after adding field you need to show field in editviewdefs.php,detailviewdefs.php.
     (For this copy address field(billing,shipping) arrays from \modules\Accounts\metadata\editviewdefs.php ,\modules\Accounts\metadata\detailviewdefs.php and add in your module's edit/deailviewdefs.php in upgrade safe manner Path :custom/modules/YourModule/metadate/editORdeailviewdefs.php)

    Waleed!
  • Freind I have already added the field  in detail layout of quotes module and I want this address only in detail layout from accounts module which is already stored while creating a new account .I am bit confused still please can u clearly explain which code needs to put in which file and also i m not understanding this  'name' => 'account_name', what is this account_name what should i put instead of this account_name.
     and also this   'additionalFields' =>
                  array (
                    'phone_office' => 'phone_work',
                  ), instead of phone _office => 'phone_work' what should I use.please friend dont mind I am new to sugar crm.Your help will be very greatfull for me.Thank u very much for your kind response.
Reply
  • Freind I have already added the field  in detail layout of quotes module and I want this address only in detail layout from accounts module which is already stored while creating a new account .I am bit confused still please can u clearly explain which code needs to put in which file and also i m not understanding this  'name' => 'account_name', what is this account_name what should i put instead of this account_name.
     and also this   'additionalFields' =>
                  array (
                    'phone_office' => 'phone_work',
                  ), instead of phone _office => 'phone_work' what should I use.please friend dont mind I am new to sugar crm.Your help will be very greatfull for me.Thank u very much for your kind response.
Children
No Data