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!
  • I have Module called Quote In this module I have 2 subpanels called Quote Line Item and Contract. 
     Here what I want is the quote module has a status field where it has two parameters like Draft And Approved .

    If the status field is Approved then only the create button of contract subpanel should work else if it is in Draft it should give a message the quote is not approved .

    Can u please help me regarding this I am using 6.5.20 community edition. Thanks In Advance
    Please find above screen shot of my query



Reply
  • I have Module called Quote In this module I have 2 subpanels called Quote Line Item and Contract. 
     Here what I want is the quote module has a status field where it has two parameters like Draft And Approved .

    If the status field is Approved then only the create button of contract subpanel should work else if it is in Draft it should give a message the quote is not approved .

    Can u please help me regarding this I am using 6.5.20 community edition. Thanks In Advance
    Please find above screen shot of my query



Children
No Data