I created a custom module (quotation) and there was column called OpportID in table which stored the opportunityID.
I want to display the opportunity name in subpanel but fails. I can only get the opportID. Any suggestion
will be really appreciated.
-------quotation/subpanels/default.php-----------
'OpportID'=>array(
'name' => 'OpportID',
'vname' => 'LBL_OPPORTUNITY_ID',
'width' => '10%',
),
---------------------vardefs.php---------------
'OpportID'=>
array (
'name' => 'OpportID',
'rname' => 'name',
'id_name' => 'id',
'vname' => 'LBL_OPPORTUNITY_ID',
'type' => 'Opportunity',
'table' => 'opportunities',
'isnull' => 'false',
'dbType' => 'id',
'len' => '36',
'reportable'=>false,
'comment' => 'opportunity name'
),
'Opportunity' =>
array ( 'name' => 'Opportunity',
'vname' => 'LBL_OPPORTUNITY',
'type' => 'varchar',
'reportable'=>false,
'source'=>'non-db',
),
-----------------------------------------------end vardefs.php-------------


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks