php - Microsoft CRM 2013: relate Account and Contact entities AFTER import

566

I've a cronjob importing from CRM Accounts and Contacts entities but I cannot filnd a way to relate them. How can I relate them? Is there a third junction entity I have to deal with? Below there's the complete fields list from Contacts table. I expected somewhere a parent account field but I could not find it anywhere (I read it was a CRM 2011 field that was dismissed).

customertypecode
address2_addresstypecode
merged
gendercode
territorycode
emailaddress1
haschildrencode
exchangerate
preferredappointmenttimecode
isbackofficecustomer
transactioncurrencyid
owninguser
importsequencenumber
lastname
donotpostalmail
donotphone
preferredcontactmethodcode
educationcode
ownerid
customersizecode
firstname
yomifullname
donotemail
address2_shippingmethodcode
fullname
address1_addressid
address2_freighttermscode
statuscode
createdon
donotsendmm
donotfax
leadsourcecode
modifiedon
creditonhold
new_salutation_formale
address3_addressid
donotbulkemail
modifiedby
shippingmethodcode
createdby
donotbulkpostalmail
new_contactnumber
parentcustomerid
contactid
participatesinworkflow
statecode
owningbusinessunit
address2_addressid
new_salutation_informale

Thanx in advance for your precious help!

286

Answer

Solution:

It's theparentcustomerid field you are looking for. This field can reference an Account as well as a Contact record.

People are also looking for solutions to the problem: php - SQL tournament table with multiple poules

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.