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!
  • Friend I have created 2 custom modules they are Quotes and Contracts and have related them with accounts module.

     i.e I have created one to many relationship from accounts  to quotes and accounts to contract and also related accountid field with these modules.

     Now while creating new account i will enter the address feilds like address, city, state ,postal code and so on in accounts module and these field get stored in database.

     Infact i want these fields not to re enter in quotes or contract module i should get these values from accounts and display in quotes and contarct modules.i think your are clear now with this query.

     Please friend help me regarding this thank u very u much for you response.

Reply
  • Friend I have created 2 custom modules they are Quotes and Contracts and have related them with accounts module.

     i.e I have created one to many relationship from accounts  to quotes and accounts to contract and also related accountid field with these modules.

     Now while creating new account i will enter the address feilds like address, city, state ,postal code and so on in accounts module and these field get stored in database.

     Infact i want these fields not to re enter in quotes or contract module i should get these values from accounts and display in quotes and contarct modules.i think your are clear now with this query.

     Please friend help me regarding this thank u very u much for you response.

Children
No Data