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!
  • Hi M Waleed Raza,

    This is for Sugarcrm CE 6.5.20.

    I understand this thread is old - apologies.

    I have 2 modules Module_1 and Module_2.

    They are not related.

    Module 1 has the following fields.

    Module_1_field_1,

    Module_1_field_2,

    Module_1_field_3,

    Module_1_field_4,

    Module_1_field_5

    What I need is to do is to display

    Module_1_field_2 and

    Module_1_field_3

    in the list view of Module_2.

    I have seen some posts regarding achieving similar results for related modules, but as I am an absolute beginner for programming, I do not understand what exactly is to be done for modules that are not related.

    I followed what you have given above, but without any luck.

    I have hundreds of fields to be created from one module in another and therefore, I need a way to create these fields using code and not using Studio.

    Any assistance is much appreciated.

    Thank you.

    BP

Reply
  • Hi M Waleed Raza,

    This is for Sugarcrm CE 6.5.20.

    I understand this thread is old - apologies.

    I have 2 modules Module_1 and Module_2.

    They are not related.

    Module 1 has the following fields.

    Module_1_field_1,

    Module_1_field_2,

    Module_1_field_3,

    Module_1_field_4,

    Module_1_field_5

    What I need is to do is to display

    Module_1_field_2 and

    Module_1_field_3

    in the list view of Module_2.

    I have seen some posts regarding achieving similar results for related modules, but as I am an absolute beginner for programming, I do not understand what exactly is to be done for modules that are not related.

    I followed what you have given above, but without any luck.

    I have hundreds of fields to be created from one module in another and therefore, I need a way to create these fields using code and not using Studio.

    Any assistance is much appreciated.

    Thank you.

    BP

Children
No Data