Hi,
Can anyone tell me if Sugar creates a unique id for every opportunity in the system?
If it does, how is this field accessed/displayed?
If it doesn't, how would I go about creating a field that auto generates an id?
Thanks,
Damian.
Hi,
Can anyone tell me if Sugar creates a unique id for every opportunity in the system?
If it does, how is this field accessed/displayed?
If it doesn't, how would I go about creating a field that auto generates an id?
Thanks,
Damian.
set 'auto_increment' attribute to true in vardefs.php of Opptunities module.
below is the example for unique id, that is auto numbered.PHP Code:'auto_increment' => true,
see also:PHP Code:'number' => array (
'name' => 'number',
'vname' => 'LBL_NUMBER',
'type' => 'int',
'len' => 10,
'duplicate_merge' => 'disabled',
'audited' => true,
'auto_increment' => true,
'disable_num_format' => true,
'massupdate' => false,
'required' => true,
'unified_search' => true,
),
http://www.sugarcrm.com/forums/showthread.php?t=42498
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks