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.
  • no vardefs code, only account relate field and address field which you have added in quote module
  • u want the file which is in custom/modules/accounts/Ext/Vardefs/vardefs.php
  • u added the vardef on this path :O 
    anyways yes send me

  • ok this is below vardefs.php

    <?php  //WARNING: The contents of this file are auto-generated


     // created: 2015-03-20 11:43:27
    $dictionary['Account']['fields']['billing_address_country']['required']=true;
    $dictionary['Account']['fields']['billing_address_country']['audited']=true;
    $dictionary['Account']['fields']['billing_address_country']['comments']='The country used for the billing address';
    $dictionary['Account']['fields']['billing_address_country']['merge_filter']='disabled';

     

     // created: 2015-02-24 07:19:53
    $dictionary['Account']['fields']['last_name_c']['labelValue']='Last Name';

     

     // created: 2015-03-20 11:43:20
    $dictionary['Account']['fields']['billing_address_postalcode']['required']=true;
    $dictionary['Account']['fields']['billing_address_postalcode']['audited']=true;
    $dictionary['Account']['fields']['billing_address_postalcode']['comments']='The postal code used for billing address';
    $dictionary['Account']['fields']['billing_address_postalcode']['merge_filter']='disabled';

     

    // created: 2015-03-16 14:15:50
    $dictionary["Account"]["fields"]["accounts_subsp_subscription_1"] = array (
      'name' => 'accounts_subsp_subscription_1',
      'type' => 'link',
      'relationship' => 'accounts_subsp_subscription_1',
      'source' => 'non-db',
      'module' => 'subsp_Subscription',
      'bean_name' => 'subsp_Subscription',
      'side' => 'right',
      'vname' => 'LBL_ACCOUNTS_SUBSP_SUBSCRIPTION_1_FROM_SUBSP_SUBSCRIPTION_TITLE',
    );


     // created: 2015-03-03 13:28:01
    $dictionary['Account']['fields']['name']['len']='255';
    $dictionary['Account']['fields']['name']['required']=true;
    $dictionary['Account']['fields']['name']['comments']='';
    $dictionary['Account']['fields']['name']['merge_filter']='disabled';
    $dictionary['Account']['fields']['name']['audited']=true;
    $dictionary['Account']['fields']['name']['importable']='true';

     

    // created: 2015-03-13 11:43:39
    $dictionary["Account"]["fields"]["accounts_inv_invoice_1"] = array (
      'name' => 'accounts_inv_invoice_1',
      'type' => 'link',
      'relationship' => 'accounts_inv_invoice_1',
      'source' => 'non-db',
      'module' => 'Inv_Invoice',
      'bean_name' => 'Inv_Invoice',
      'side' => 'right',
      'vname' => 'LBL_ACCOUNTS_INV_INVOICE_1_FROM_INV_INVOICE_TITLE',
    );


     // created: 2015-02-20 13:47:02
    $dictionary['Account']['fields']['upsell_opportunity_c']['labelValue']='Upsell Opportunity';

     

     // created: 2015-02-20 13:32:43
    $dictionary['Account']['fields']['shipping_address2_c']['labelValue']='Shipping Address2';

     

     // created: 2015-03-10 07:07:36
    $dictionary['Account']['fields']['account_type']['len']=100;
    $dictionary['Account']['fields']['account_type']['comments']='The Company is of this type';
    $dictionary['Account']['fields']['account_type']['merge_filter']='disabled';
    $dictionary['Account']['fields']['account_type']['required']=true;
    $dictionary['Account']['fields']['account_type']['audited']=true;
    $dictionary['Account']['fields']['account_type']['default']='';
    $dictionary['Account']['fields']['account_type']['options']='acc_type_c_list';

     

     // created: 2015-03-20 11:43:12
    $dictionary['Account']['fields']['billing_address_state']['required']=true;
    $dictionary['Account']['fields']['billing_address_state']['audited']=true;
    $dictionary['Account']['fields']['billing_address_state']['comments']='The state used for billing address';
    $dictionary['Account']['fields']['billing_address_state']['merge_filter']='disabled';

     

     // created: 2015-02-20 13:42:33
    $dictionary['Account']['fields']['update_flag_c']['labelValue']='Update Flag';

     

     // created: 2015-02-20 12:26:02
    $dictionary['Account']['fields']['billin_address2_c']['labelValue']='Billing Address2';

     

    // created: 2015-03-13 10:56:28
    $dictionary["Account"]["fields"]["accounts_qte_quote_1"] = array (
      'name' => 'accounts_qte_quote_1',
      'type' => 'link',
      'relationship' => 'accounts_qte_quote_1',
      'source' => 'non-db',
      'module' => 'qte_Quote',
      'bean_name' => 'qte_Quote',
      'side' => 'right',
      'vname' => 'LBL_ACCOUNTS_QTE_QUOTE_1_FROM_QTE_QUOTE_TITLE',
    );


     // created: 2015-02-24 06:59:17
    $dictionary['Account']['fields']['salutation_c']['labelValue']='Salutation';

     

     // created: 2015-02-23 06:19:15
    $dictionary['Account']['fields']['primary_currency_c']['labelValue']='Primary Currency';

     

    // created: 2015-03-16 13:41:44
    $dictionary["Account"]["fields"]["accounts_ord_order_1"] = array (
      'name' => 'accounts_ord_order_1',
      'type' => 'link',
      'relationship' => 'accounts_ord_order_1',
      'source' => 'non-db',
      'module' => 'ord_Order',
      'bean_name' => 'ord_Order',
      'side' => 'right',
      'vname' => 'LBL_ACCOUNTS_ORD_ORDER_1_FROM_ORD_ORDER_TITLE',
    );


     // created: 2015-02-20 13:03:50
    $dictionary['Account']['fields']['contact_phone_c']['labelValue']='Contact Phone';

     

     // created: 2015-03-20 11:43:34
    $dictionary['Account']['fields']['billing_address_city']['required']=true;
    $dictionary['Account']['fields']['billing_address_city']['audited']=true;
    $dictionary['Account']['fields']['billing_address_city']['comments']='The city used for billing address';
    $dictionary['Account']['fields']['billing_address_city']['merge_filter']='disabled';

     

     // created: 2015-02-20 13:11:13
    $dictionary['Account']['fields']['insert_flag_c']['labelValue']='Insert Flag';

     

    // created: 2015-03-13 11:25:04
    $dictionary["Account"]["fields"]["accounts_cont_contract_1"] = array (
      'name' => 'accounts_cont_contract_1',
      'type' => 'link',
      'relationship' => 'accounts_cont_contract_1',
      'source' => 'non-db',
      'module' => 'cont_Contract',
      'bean_name' => 'cont_Contract',
      'side' => 'right',
      'vname' => 'LBL_ACCOUNTS_CONT_CONTRACT_1_FROM_CONT_CONTRACT_TITLE',
    );


     // created: 2015-02-24 07:19:38
    $dictionary['Account']['fields']['first_name_c']['labelValue']='First Name';

     

     // created: 2015-02-20 13:13:02
    $dictionary['Account']['fields']['middle_name_c']['labelValue']='Middle Name';

     

     // created: 2015-02-20 12:43:36
    $dictionary['Account']['fields']['billing_id_c']['labelValue']='billing id';

     

     // created: 2015-02-23 07:08:57
    $dictionary['Account']['fields']['status_c']['labelValue']='Status';

     

     // created: 2015-03-20 11:43:00
    $dictionary['Account']['fields']['billing_address_street']['comments']='The street address used for billing address';
    $dictionary['Account']['fields']['billing_address_street']['merge_filter']='disabled';
    $dictionary['Account']['fields']['billing_address_street']['required']=true;
    $dictionary['Account']['fields']['billing_address_street']['audited']=true;

     

     // created: 2015-02-20 13:00:47
    $dictionary['Account']['fields']['contactid_c']['labelValue']='ContactId';

     

     // created: 2015-02-23 08:09:30
    $dictionary['Account']['fields']['shipping_address_street']['comments']='The street address used for for shipping purposes';
    $dictionary['Account']['fields']['shipping_address_street']['merge_filter']='disabled';

     

     // created: 2015-03-17 06:50:50
    $dictionary['Account']['fields']['account_no_c']['labelValue']='Account no';

     

     // created: 2015-02-20 13:17:17
    $dictionary['Account']['fields']['preferred_billing_date_c']['options']='date_range_search_dom';
    $dictionary['Account']['fields']['preferred_billing_date_c']['labelValue']='Preferred Billing Date';
    $dictionary['Account']['fields']['preferred_billing_date_c']['enable_range_search']='1';

     

     // created: 2015-02-23 06:42:47
    $dictionary['Account']['fields']['secondary_currency_c']['labelValue']='Secondary Currency';

     

     // created: 2015-02-24 07:20:20
    $dictionary['Account']['fields']['email1']['required']=true;
    $dictionary['Account']['fields']['email1']['audited']=true;
    $dictionary['Account']['fields']['email1']['merge_filter']='disabled';

     

     // created: 2015-02-20 13:07:02
    $dictionary['Account']['fields']['facebook_username_c']['labelValue']='Facebook Username';

     

     // created: 2015-02-20 13:40:58
    $dictionary['Account']['fields']['shipping_id_c']['labelValue']='Shipping Id';

     
    ?>

  • Brother brother if you please read our conversation from start and see which paths i have told you to write the code and confirm that all code and paths are accurate than i am 100% sure it will work for you. Also check the file i am going to share on skype (sdd me skype username : waleeedraza)and kindly follow the same paths and same code don't be panic just chill and code it will work.Get start from start of conversation and follow all steps 1 by 1.

    best of Luck
     
    Waleed
  • I have one problem can you please help me regarding that.
  • 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