[Vtigercrm-developers] add entity with certain crmid

Alan Lord alanslists at gmail.com
Thu Jun 24 07:14:30 GMT 2021


You'd also need to update the Mod Tracker tables too as the "created" 
data would become unavailable.

Just a thought - I haven't tried this but what about using an Event 
Handler, e.g. vtiger.entity.beforesave.modifiable ? I don't think this 
will work looking at the way the save mechanism works in the CRMEntity 
class but _might_ be possible...

Al



On 24/06/2021 05:44, Alexander Allen wrote:
> There are also two tables related to account address (shipping and billing),
> 
> El miércoles, 23 de junio de 2021, Rubén A. Estrada Orozco 
> <rulotec1 at gmail.com <mailto:rulotec1 at gmail.com>> escribió:
> 
>     I would say... create a new account, then update the crmid in
>     vtige_crmentity and accountid in vtiger_accountdetails and
>     vtiger_accountscf (I'm not sure if there is some other place where
>     to update the id, but that's what I would try)
>     Saludos
> 
>     Rubén
> 
> 
>     On Wed, Jun 23, 2021 at 11:03 PM Tony Sandman
>     <tonysandman999 at gmail.com <mailto:tonysandman999 at gmail.com>> wrote:
> 
>         Got need to add an account with certain crmid (id not occupied).
>         Can you advise on some shortcut ladies/gents?
> 
>         T
>         _______________________________________________
>         http://www.vtiger.com/ <http://www.vtiger.com/>
> 
> 
> _______________________________________________
> http://www.vtiger.com/
> 


More information about the vtigercrm-developers mailing list