[Vtigercrm-developers] Auto Increment custom fields

Adam Heinz amh at metricwise.net
Mon Aug 27 04:53:14 PDT 2012


On Sun, Aug 26, 2012 at 5:49 AM, Röder & Miedaner GbR
<droeder at roeder-miedaner.de> wrote:
> as I'm currently not that firm with the Vtiger source:
> In generell the basic approach should be the same? Modifying the insert
> routine for fields of a specific uitype (as I see from the wiki should
> be uitype 7?).

That patch actually creates a new uitype 102, which I think is a bit
safer than hacking an existing type to do something new.

> Are there be additional files to be modified or just data/CRMEntity.php?

Look to that patch for inspiration, but you will definitely have to
modify additional files, probably Detail/EditViewUtils, maybe more.



More information about the vtigercrm-developers mailing list