[OGo-XML-RPC] Re: questions regarding ZOGi, WAS:
[OGo-Users]custom fields and synchronizing ogo
Adam Tauno Williams
xmlrpc@opengroupware.org
Thu, 27 Mar 2008 11:05:19 -0400
> After reading about assignments in the Wiki, I changed the script, so that
> it looks like this:
> '_ACCESS' : permissions,
> '_CONTACTS' : [ { 'targetObjectId' : row[11] } ],
> '_COMPANYVALUES' : [ { 'attribute' : 'contact_segments',
> Now, the exception is gone, and the entry is created,
So the enterprise is created and the specified contact appears linked to
the enterprise? That is what is supposed to happen.
> but the contact_id field in the database is still empty.
??? Don't understand. The contact_id isn't related to
contact<->enterprise assignment. In fact, I don't really have any idea
what the purpose of the contact_id field is. Enterprise<->Contact
relationships are records in the company_assignment table.
Enterprise<->Contact is a [potentially] many:many relationship.
I think a contactId is available in late version of zOGI's Contact
entity, and it is the value of contact_id. But, again, don't know its
intended purpose.
> > The CSV file had the following contents:
> > 401|TESTCOMPANY|www.testcompany.de|Testblah|ZIP||asdf|2|1|10|1|894900