bullhorn / dataloader

A Bullhorn Platform SDK tool. Quickly import CSV data into your Bullhorn CRM.
GNU Affero General Public License v3.0
12 stars 1 forks source link

More of a Question than an issue #420

Open mreverettb1 opened 1 year ago

mreverettb1 commented 1 year ago

Can Bullhorn Dataloader create new company records if no match is made?

I am trying to import (or load) new company contacts to companies. Some of them are new and the companies are not set up in Bullhorn. I am getting non-match error on the contacts that their companies are not in Bullhorn, if the company is there, I do not get any errors, and the contact imports successfully.

Steps to Reproduce

  1. Select CSV file, Choose Entity, Map Columns, Dup check.
  2. Let run, and get return results.
  3. return results: Error: Record Not Found - Message: Cannot find clientCorporation with Name "companyname"
Expected behavior:
  1. Add companies that do not match
  2. Companies that were in, the dataloader added the records

[What you expect to happen]

Actual behavior:

[What actually happens]

Reproduces how often:

Each time I run it

[What percentage of the time does it reproduce?] when no match is found.

Additional Information

  1. The dataloader.properties file (minus login info)
  2. The CSV input file (smallest possible file that reproduces the issue)
  3. The results file(s)
  4. The log file
ndickerson commented 1 year ago

In Data Loader, only the entity being loaded will perform an Upsert (Update if present, Insert if not present). In order to ensure that companies that do not exist in Bullhorn do exist, you'll need to first load ClientCorporation records, and provide the information that you want to be in the ClientCorporation if it does not exist. The only required field is name, so that the company has a name to display for it. Then when you load your Contact records, it will Upsert the contacts, and all companies should already be present. Does that answer your question?

mreverettb1 commented 1 year ago

Hi Nathan,

Yes, that explains it perfect. So I should do a first run to get the companies in, then do a second run to get the contacts in? I wrote a nice little extracting script that pulls data and formats it into a very easy read for the recruiters, and Bullhorn. The problem with Bullhorn is that I can import the contacts, however it will not update the existing data. That is why I am trying to get the Bullhorn Dataloader going, as it will update.

Do you know if there is away to upload in a single pass?

Thank you very much for the reply and insight on this new project I Am working on!! 😊

Best

Everett

From: Nathan Dickerson @.> Sent: Monday, October 16, 2023 6:47 AM To: bullhorn/dataloader @.> Cc: mreverettb1 @.>; Author @.> Subject: Re: [bullhorn/dataloader] More of a Question than an issue (Issue #420)

In Data Loader, only the entity being loaded will perform an Upsert (Update if present, Insert if not present). In order to ensure that companies that do not exist in Bullhorn do exist, you'll need to first load ClientCorporation records, and provide the information that you want to be in the ClientCorporation if it does not exist. The only required field is name, so that the company has a name to display for it. Then when you load your Contact records, it will Upsert the contacts, and all companies should already be present. Does that answer your question?

— Reply to this email directly, view it on GitHub https://github.com/bullhorn/dataloader/issues/420#issuecomment-1764520801 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHGQ6IPLWEQS4QPE5LN2MTX7U3D3AVCNFSM6AAAAAA57ZKYASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRUGUZDAOBQGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AOHGQ6MRRE2Q5UTDRTA6MDLX7U3D3A5CNFSM6AAAAAA57ZKYASWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTJFRZWC.gif Message ID: @. @.> >

ndickerson commented 1 year ago

As far as the "Single Pass" goes, the dataloader is a command line utility that is built using open source java and a convenient script that runs the data loader using a dataloader.sh or dataloader.bat script. It's built to be incorporated as part of a larger workflow pipeline. If you want a single script that calls the data loader multiple times via a script, customize your own shell or batch script to incorporate the data loader command line application. For even more control, you could write a java application that incorporates the dataloader into your workflow at a code level since the code is released under AGPL.

mreverettb1 commented 1 year ago

Thank you very much!! one other question if you don't mind, when importing new contacts, can you attach them to a company that is in BH? (I am trying to do that by adding the clientcorporation) however it's failing to add......but will update? Thanks again Best Everett

ndickerson commented 1 year ago

Yes, you can add contacts to a clientCorporation by filling out the clientCorporation column on a new/updated clientContact csv file. You can match on any field in the clientCorporation you wish, such as id or name.

mreverettb1 commented 11 months ago

Hey Nathan, So I have not been successful getting the contacts to add to the companies. I run the CSV file through to get the companies into and or updated in BH. I then take the same CSV file and import the contacts, Mapping the company field and the results I get are: on the contacts record the company shows as "Imported Contact". Would you know why this is happening???
Best Everett