- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 01:55 PM
Evening all
I am running an excel data import into a transform table which then updates the core company table. I am getting half the records in the import set showing an error of "More than one target records exists for target table core_company with query vendor"
When I check the core_company table there is either 1 record for the company or 0. I am currently coalescing on company name and it should insert when there is not match.
Any thoughts on what is causing this?
Jack
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 02:51 PM
No worries, looking at the screenshot, it seems like you are coalescing by the 'vendor' field, not the 'name' field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 02:37 PM
Hi @Jack62,
Do you mind sharing the configuration of the transform map? (e.g. field mapping, transform script if any)
Looking at this previous article and your error, it's likely that there are multiple Company records with the same value of 'Vendor'.
But since you are using the name as the coalesce, I am not sure why you are getting the error 😞
Having a look at the config may help.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 02:48 PM
Hey James, thanks for the response. Please see screenshot below - no scripts needed right now just basic mapping to update and create record based on Vendor name. Oddly it is trying to map, for instance, ZoomInfo Technologies LLC to the wrong company record on our side?? I have deleted the transform map and recreated but still get the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 02:51 PM
No worries, looking at the screenshot, it seems like you are coalescing by the 'vendor' field, not the 'name' field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 03:15 PM
It is clearly too late here and my eyes are not seeing what it should. Thanks James, you are a true gent.
Jack