From 712b8059357702f863566b799fb67eb88578d6d4 Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Thu, 3 Aug 2023 12:04:30 -0500 Subject: [PATCH 01/13] feat(Fields): New fields across multiple entities --- dataloader.iml | 151 +----------------- examples/load/Candidate.csv | 8 +- ...lTaxFormExample.csv => FederalTaxForm.csv} | 0 examples/load/JobOrder.csv | 4 +- ...calTaxFormExample.csv => LocalTaxForm.csv} | 0 examples/load/Placement.csv | 4 +- examples/load/PlacementChangeRequest.csv | 4 +- ...ateTaxFormExample.csv => StateTaxForm.csv} | 0 pom.xml | 3 +- .../bullhorn/dataloader/util/MethodUtil.java | 23 ++- .../dataloader/util/MethodUtilTest.java | 61 +++++++ 11 files changed, 98 insertions(+), 160 deletions(-) rename examples/load/{FederalTaxFormExample.csv => FederalTaxForm.csv} (100%) rename examples/load/{LocalTaxFormExample.csv => LocalTaxForm.csv} (100%) rename examples/load/{StateTaxFormExample.csv => StateTaxForm.csv} (100%) diff --git a/dataloader.iml b/dataloader.iml index a8aaa84a..79c00a3f 100644 --- a/dataloader.iml +++ b/dataloader.iml @@ -1,5 +1,11 @@ + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/examples/load/Candidate.csv b/examples/load/Candidate.csv index 25273263..2fee2cd7 100644 --- a/examples/load/Candidate.csv +++ b/examples/load/Candidate.csv @@ -1,4 +1,4 @@ -businessSectors.name ,categories.name ,category.name,certifications ,comments ,companyName ,companyURL ,customDate1 ,customDate2,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateAvailable ,dateAvailableEnd,dateI9Expiration,dateNextCall ,dateOfBirth ,dayRate,dayRateLow,degreeList,description ,desiredLocations,disability,educationDegree,email ,email2 ,email3 ,employeeType,employmentPreference,ethnicity,experience,externalID ,fax ,fax2 ,fax3 ,federalAddtionalWitholdingsAmount,federalExemptions,federalFilingStatus,firstName ,gender,hourlyRate,hourlyRateLow,i9OnFile,isDayLightSavings,isDeleted,isEditable,isLockedOut,lastName ,localAddtionalWitholdingsAmount,localExemptions,localFilingStatus,localTaxCode,massMailOptOut,middleName,migrateGUID ,mobile ,name ,namePrefix,nameSuffix,nickName,owner.name ,pager ,paperWorkOnFile,phone ,phone2 ,phone3 ,preferredContact,primarySkills.name,recentClientList,referredBy,salary,salaryLow,secondaryOwners.name ,secondarySkills.name,skillSet,source,specialties.name ,ssn ,stateAddtionalWitholdingsAmount,stateExemptions,stateFilingStatus,status ,taxID ,taxState,timeZoneOffsetEST,travelLimit,type,veteran,willRelocate,workAuthorized,workPhone ,address.address1 ,address.address2,address.city,address.state,address.zip,address.countryName,secondaryAddress.address1,secondaryAddress.address2,secondaryAddress.city,secondaryAddress.state,secondaryAddress.zip,secondaryAddress.countryID,occupation,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,canEnterTime -BusinessSector2;BusinessSector1,Category1;Category2,Category1 ,Certification1;Certification2,This is a candidate comment,Company Name,http://company.com,1/1/2016 0:00, ,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,candidate-ext-1 ,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,12/1/2016 0:00,1/1/2018 0:00 ,1/1/2020 0:00 ,9/1/2016 0:00,1/1/1980 0:00,150 ,100 ,BA ,This is a candidate description,"Boston, MA ",N ,Bachelor ,test.candidate@example.com,test.candidate@test.com,test.candidate@company.com,Permanent ,Permanent ,Unknown ,1 ,candidate-ext-1 ,329-555-0101,329-555-0102,329-555-0103,1000 ,1 ,S ,DataLoader ExampleCandidate,F ,25 ,20 ,0 ,TRUE ,FALSE ,TRUE ,FALSE ,DataLoader,1000 ,1 ,S ,1 ,TRUE ,Quincy ,12345678-1234-1234-1234-1234567890AB,235-555-0101,ExampleCandidate,Dr. ,Sr. ,Jack ,Recruiter CorporateUser,724-555-0100,yes ,473-555-0101,473-555-0102,473-555-0103,phone ,Skill1;Skill2 ,Hospital ,John Smith,50000 ,40000 ,Manager CorporateUser,Skill3;Skill4 ,Medicine,Other ,Specialty1;Specialty2,000-000-0000,1000 ,1 ,S ,Unscreened,000-000-00000,MA ,0 ,1000 ,Hot ,N ,FALSE ,TRUE ,907-555-0101,100 Summer Street,17th Floor ,Boston ,MA ,2150 ,United States ,200 S. Hanley Rd. ,Suite 700 ,Clayton ,MO ,63105 ,1 ,Engineer ,candidate-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,TRUE -BusinessSector2;BusinessSector1, ,Category1 ,Certification1;Certification2,This is a candidate comment,Company Name,http://company.com, , , , , , , , , , , , , ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 , ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,candidate-2-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10, ,1/1/2018 0:00 ,1/1/2020 0:00 ,9/1/2016 0:00,1/1/1980 0:00,150 ,100 ,BA ,This is a candidate description,"Boston, MA ",N ,Bachelor ,test.candidate@example.com,test.candidate@test.com,test.candidate@company.com,Permanent ,Permanent ,Unknown ,1 ,candidate-2-ext-1,329-555-0101,329-555-0102,329-555-0103,1000 ,1 ,S ,DataLoader ExampleCandidate,F ,25 ,20 ,0 ,TRUE ,FALSE ,TRUE ,FALSE ,DataLoader,1000 ,1 ,S ,1 ,TRUE ,Quincy ,12345678-1234-1234-1234-1234567890AB,235-555-0101,ExampleCandidate,Dr. ,Sr. ,Jack , ,724-555-0100,yes ,473-555-0101,473-555-0102,473-555-0103,phone ,Skill1;Skill2 ,Hospital ,John Smith,50000 ,40000 ,Manager CorporateUser,Skill3;Skill4 ,Medicine,Other ,Specialty1;Specialty2,000-000-0000,1000 ,1 ,S ,Unscreened,000-000-00000,MA ,0 ,1000 ,Hot ,N ,FALSE ,TRUE ,907-555-0101,100 Summer Street,17th Floor ,Boston ,MA ,2150 ,United States ,200 S. Hanley Rd. ,Suite 700 ,Clayton , , ,1 , ,candidate-2-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,FALSE -BusinessSector2;BusinessSector1,Category1;Category2,Category1 , ,This is a candidate comment,Company Name,http://company.com, , ,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00 ,1/3/2016 0:00 ,1/3/2016 0:00 ,1/3/2016 0:00 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,candidate-3-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,12/1/2016 0:00,1/1/2018 0:00 ,1/1/2020 0:00 , ,1/1/1980 0:00,150 ,100 ,BA ,This is a candidate description,"Boston, MA ",N ,Bachelor ,test.candidate@example.com,test.candidate@test.com,test.candidate@company.com,Permanent ,Permanent ,Unknown ,1 ,candidate-3-ext-1,329-555-0101,329-555-0102,329-555-0103,1000 ,1 ,S ,DataLoader ExampleCandidate,F ,25 ,20 ,0 ,TRUE ,FALSE ,TRUE ,FALSE ,DataLoader,1000 ,1 ,S ,1 ,TRUE ,Quincy ,12345678-1234-1234-1234-1234567890AB,235-555-0101,ExampleCandidate,Dr. ,Sr. ,Jack ,Recruiter CorporateUser,724-555-0100,yes ,473-555-0101,473-555-0102,473-555-0103,phone , ,Hospital ,John Smith,50000 ,40000 , ,Skill3;Skill4 ,Medicine,Other ,Specialty1;Specialty2,000-000-0000,1000 ,1 ,S ,Unscreened,000-000-00000,MA ,0 ,1000 ,Hot ,N ,FALSE ,TRUE ,907-555-0101,100 Summer Street,17th Floor ,Boston ,MA ,2150 ,United States ,200 S. Hanley Rd. , ,Clayton ,MO ,63105 ,1 ,Engineer ,candidate-3-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,TRUE +businessSectors.name ,categories.name ,category.name,certifications ,comments ,companyName ,companyURL ,customDate1 ,customDate2,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateAvailable ,dateAvailableEnd,dateI9Expiration,dateNextCall ,dateOfBirth ,dayRate,dayRateLow,degreeList,description ,desiredLocations,disability,educationDegree,email ,email2 ,email3 ,employeeType,employmentPreference,ethnicity,experience,externalID ,fax ,fax2 ,fax3 ,federalAddtionalWitholdingsAmount,federalExemptions,federalFilingStatus,firstName ,gender,hourlyRate,hourlyRateLow,i9OnFile,isDayLightSavings,isDeleted,isEditable,isLockedOut,lastName ,localAddtionalWitholdingsAmount,localExemptions,localFilingStatus,localTaxCode,massMailOptOut,middleName,migrateGUID ,mobile ,name ,namePrefix,nameSuffix,nickName,owner.name ,pager ,paperWorkOnFile,phone ,phone2 ,phone3 ,preferredContact,primarySkills.name,recentClientList,referredBy,salary,salaryLow,secondaryOwners.name ,secondarySkills.name,skillSet,source,specialties.name ,ssn ,stateAddtionalWitholdingsAmount,stateExemptions,stateFilingStatus,status ,taxID ,taxState,timeZoneOffsetEST,travelLimit,type,veteran,willRelocate,workAuthorized,workPhone ,address.address1 ,address.address2,address.city,address.state,address.zip,address.countryName,secondaryAddress.address1,secondaryAddress.address2,secondaryAddress.city,secondaryAddress.state,secondaryAddress.zip,secondaryAddress.countryID,occupation,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,canEnterTime,twoJobs,isExempt +BusinessSector2;BusinessSector1,Category1;Category2,Category1 ,Certification1;Certification2,This is a candidate comment,Company Name,http://company.com,1/1/2016 0:00, ,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,candidate-ext-1 ,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,12/1/2016 0:00,1/1/2018 0:00 ,1/1/2020 0:00 ,9/1/2016 0:00,1/1/1980 0:00,150 ,100 ,BA ,This is a candidate description,"Boston MA " ,N ,Bachelor ,test.candidate@example.com,test.candidate@test.com,test.candidate@company.com,Permanent ,Permanent ,Unknown ,1 ,candidate-ext-1 ,329-555-0101,329-555-0102,329-555-0103,1000 ,1 ,S ,DataLoader ExampleCandidate,F ,25 ,20 ,0 ,TRUE ,FALSE ,TRUE ,FALSE ,DataLoader,1000 ,1 ,S ,1 ,TRUE ,Quincy ,12345678-1234-1234-1234-1234567890AB,235-555-0101,ExampleCandidate,Dr. ,Sr. ,Jack ,Recruiter CorporateUser,724-555-0100,yes ,473-555-0101,473-555-0102,473-555-0103,phone ,Skill1;Skill2 ,Hospital ,John Smith,50000 ,40000 ,Manager CorporateUser,Skill3;Skill4 ,Medicine,Other ,Specialty1;Specialty2,000-000-0000,1000 ,1 ,S ,Unscreened,000-000-00000,MA ,0 ,1000 ,Hot ,N ,FALSE ,TRUE ,907-555-0101,100 Summer Street,17th Floor ,Boston ,MA ,2150 ,United States ,200 S. Hanley Rd. ,Suite 700 ,Clayton ,MO ,63105 ,1 ,Engineer ,candidate-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,TRUE ,FALSE ,TRUE +BusinessSector2;BusinessSector1, ,Category1 ,Certification1;Certification2,This is a candidate comment,Company Name,http://company.com, , , , , , , , , , , , , ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 , ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,candidate-2-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10, ,1/1/2018 0:00 ,1/1/2020 0:00 ,9/1/2016 0:00,1/1/1980 0:00,150 ,100 ,BA ,This is a candidate description,"Boston MA " ,N ,Bachelor ,test.candidate@example.com,test.candidate@test.com,test.candidate@company.com,Permanent ,Permanent ,Unknown ,1 ,candidate-2-ext-1,329-555-0101,329-555-0102,329-555-0103,1000 ,1 ,S ,DataLoader ExampleCandidate,F ,25 ,20 ,0 ,TRUE ,FALSE ,TRUE ,FALSE ,DataLoader,1000 ,1 ,S ,1 ,TRUE ,Quincy ,12345678-1234-1234-1234-1234567890AB,235-555-0101,ExampleCandidate,Dr. ,Sr. ,Jack , ,724-555-0100,yes ,473-555-0101,473-555-0102,473-555-0103,phone ,Skill1;Skill2 ,Hospital ,John Smith,50000 ,40000 ,Manager CorporateUser,Skill3;Skill4 ,Medicine,Other ,Specialty1;Specialty2,000-000-0000,1000 ,1 ,S ,Unscreened,000-000-00000,MA ,0 ,1000 ,Hot ,N ,FALSE ,TRUE ,907-555-0101,100 Summer Street,17th Floor ,Boston ,MA ,2150 ,United States ,200 S. Hanley Rd. ,Suite 700 ,Clayton , , ,1 , ,candidate-2-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,FALSE ,FALSE ,FALSE +BusinessSector2;BusinessSector1,Category1;Category2,Category1 , ,This is a candidate comment,Company Name,http://company.com, , ,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00,1/3/2016 0:00 ,1/3/2016 0:00 ,1/3/2016 0:00 ,1/3/2016 0:00 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,candidate-3-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,12/1/2016 0:00,1/1/2018 0:00 ,1/1/2020 0:00 , ,1/1/1980 0:00,150 ,100 ,BA ,This is a candidate description,"Boston MA " ,N ,Bachelor ,test.candidate@example.com,test.candidate@test.com,test.candidate@company.com,Permanent ,Permanent ,Unknown ,1 ,candidate-3-ext-1,329-555-0101,329-555-0102,329-555-0103,1000 ,1 ,S ,DataLoader ExampleCandidate,F ,25 ,20 ,0 ,TRUE ,FALSE ,TRUE ,FALSE ,DataLoader,1000 ,1 ,S ,1 ,TRUE ,Quincy ,12345678-1234-1234-1234-1234567890AB,235-555-0101,ExampleCandidate,Dr. ,Sr. ,Jack ,Recruiter CorporateUser,724-555-0100,yes ,473-555-0101,473-555-0102,473-555-0103,phone , ,Hospital ,John Smith,50000 ,40000 , ,Skill3;Skill4 ,Medicine,Other ,Specialty1;Specialty2,000-000-0000,1000 ,1 ,S ,Unscreened,000-000-00000,MA ,0 ,1000 ,Hot ,N ,FALSE ,TRUE ,907-555-0101,100 Summer Street,17th Floor ,Boston ,MA ,2150 ,United States ,200 S. Hanley Rd. , ,Clayton ,MO ,63105 ,1 ,Engineer ,candidate-3-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,TRUE ,TRUE ,TRUE diff --git a/examples/load/FederalTaxFormExample.csv b/examples/load/FederalTaxForm.csv similarity index 100% rename from examples/load/FederalTaxFormExample.csv rename to examples/load/FederalTaxForm.csv diff --git a/examples/load/JobOrder.csv b/examples/load/JobOrder.csv index 5a6f6e16..9af28d37 100644 --- a/examples/load/JobOrder.csv +++ b/examples/load/JobOrder.csv @@ -1,2 +1,2 @@ -address.address1,address.address2,address.city,address.state,address.zip,address.countryName,assignedUsers.name ,benefits ,bonusPackage ,branchCode ,businessSectors.name ,categories.name ,certificationList,certifications.name ,clientBillRate,clientContact.externalID,clientCorporation.externalID,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customDate1,customDate2,customDate3,customFloat1,customFloat2,customFloat3,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,dateClosed ,dateEnd ,degreeList,description ,durationWeeks,educationDegree,employmentType,externalCategoryID,externalID ,feeArrangement,hoursOfOperation,hoursPerWeek,isClientEditable,isDeleted,isInterviewRequired,isJobcastPublished,isOpen,isPublic,jobBoardList,location.externalID,numOpenings,onSite ,opportunity.externalID,optionsPackage ,owner.name ,payRate,publicDescription ,publishedZip,reasonClosed,reportTo ,reportToClientContact.externalID,responseUser.name ,salary,salaryUnit,skillList,skills.name ,source,specialties.name ,startDate ,status ,taxRate,taxStatus,title ,travelRequirements,type,willRelocate,willSponsor,yearsRequired,markUpPercentage -100 Summer St. ,17th Floor ,Boston ,MA ,01250 ,United States ,Recruiter CorporateUser;Sales CorporateUser,Healthcare Dental,bonus package,branch code,BusinessSector2;BusinessSector2,Category1;Category2,CFA;CPA ,Certification1;Certification2,17 ,clientContact-ext-1 ,clientCorporation-ext-1 ,2/1/16 0:00 ,2/2/16 0:00 ,2/3/16 0:00 ,11 ,12 ,13 ,11 ,12 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,1/1/16 0:00,1/2/16 0:00,1/3/16 0:00,1 ,2 ,3 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,jobOrder-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,1/1/17 0:00,1/1/17 0:00,BA;MS ,This is a job order description,6 ,Masters ,Full-Time ,2101 ,jobOrder-ext-1,100 ,9 to 5 ,40 ,TRUE ,FALSE ,TRUE ,TRUE ,TRUE ,1 ,CareerWeb ,location-ext-1 ,1 ,On-Site,opportunity-ext-1 ,options package,Recruiter CorporateUser,10000 ,This is the description the general public will see,2210 ,reason losed,John Smith,clientContact-ext-1 ,Recruiter CorporateUser,100000,Per Hour ,skillList,Skill1;Skill2,source,Specialty1;Specialty2,8/16/16 0:00,Accepting Candidates,15 ,W-2 ,Example Job,none ,1 ,FALSE ,FALSE ,1 ,30.0 +address.address1,address.address2,address.city,address.state,address.zip,address.countryName,assignedUsers.name ,benefits ,bonusPackage ,branchCode ,businessSectors.name ,categories.name ,certificationList,certifications.name ,clientBillRate,clientContact.externalID,clientCorporation.externalID,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customDate1,customDate2,customDate3,customFloat1,customFloat2,customFloat3,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,dateClosed ,dateEnd ,degreeList,description ,durationWeeks,educationDegree,employmentType,externalCategoryID,externalID ,feeArrangement,hoursOfOperation,hoursPerWeek,isClientEditable,isDeleted,isInterviewRequired,isJobcastPublished,isOpen,isPublic,jobBoardList,location.externalID,numOpenings,onSite ,opportunity.externalID,optionsPackage ,owner.name ,payRate,publicDescription ,publishedZip,reasonClosed,reportTo ,reportToClientContact.externalID,responseUser.name ,salary,salaryUnit,skillList,skills.name ,source,specialties.name ,startDate ,status ,taxRate,taxStatus,title ,travelRequirements,type,willRelocate,willSponsor,yearsRequired,markUpPercentage,isWorkFromHome,willRelocateInt +100 Summer St. ,17th Floor ,Boston ,MA ,01250 ,United States ,Recruiter CorporateUser;Sales CorporateUser,Healthcare Dental,bonus package,branch code,BusinessSector2;BusinessSector2,Category1;Category2,CFA;CPA ,Certification1;Certification2,17 ,clientContact-ext-1 ,clientCorporation-ext-1 ,2/1/16 0:00 ,2/2/16 0:00 ,2/3/16 0:00 ,11 ,12 ,13 ,11 ,12 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,1/1/16 0:00,1/2/16 0:00,1/3/16 0:00,1 ,2 ,3 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,jobOrder-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,1/1/17 0:00,1/1/17 0:00,BA;MS ,This is a job order description,6 ,Masters ,Full-Time ,2101 ,jobOrder-ext-1,100 ,9 to 5 ,40 ,TRUE ,FALSE ,TRUE ,TRUE ,TRUE ,1 ,CareerWeb ,location-ext-1 ,1 ,On-Site,opportunity-ext-1 ,options package,Recruiter CorporateUser,10000 ,This is the description the general public will see,2210 ,reason losed,John Smith,clientContact-ext-1 ,Recruiter CorporateUser,100000,Per Hour ,skillList,Skill1;Skill2,source,Specialty1;Specialty2,8/16/16 0:00,Accepting Candidates,15 ,W-2 ,Example Job,none ,1 ,FALSE ,FALSE ,1 ,30.0 ,TRUE ,2 diff --git a/examples/load/LocalTaxFormExample.csv b/examples/load/LocalTaxForm.csv similarity index 100% rename from examples/load/LocalTaxFormExample.csv rename to examples/load/LocalTaxForm.csv diff --git a/examples/load/Placement.csv b/examples/load/Placement.csv index 67dabec8..aa61b5de 100644 --- a/examples/load/Placement.csv +++ b/examples/load/Placement.csv @@ -1,2 +1,2 @@ -approvingClientContact.externalID,backupApprovingClientContact.externalID,billingClientContact.externalID,location.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage ,candidate.externalID,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateBegin ,dateClientEffective,dateEffective ,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee,flatFee,hoursOfOperation,hoursPerDay,housingStatus ,invoiceGroupName ,jobOrder.externalID,markUpPercentage,migrateGUID ,optionsPackage ,otExemption,otherHourlyFee,otherHourlyFeeComments ,overtimeMarkUpPercentage,overtimeRate,payRate,projectCodeList ,recruitingManagerPercentGrossMargin,referralFee,referralFeeType ,reportedMargin,reportTo ,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,taxRate,taxState,terminationReason ,vendorClientCorporation.externalID,workWeekStart,housingManagerID,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,bteSyncStatus ,lastBteSyncDate -clientContact-ext-1 ,clientContact-ext-1 ,clientContact-ext-1 ,location-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,bonus package,candidate-ext-1 ,10 ,10 ,This is a placement comment,2/1/2016 0:00 ,2/2/2016 0:00 ,2/3/2016 0:00 ,11 ,12 ,13 ,11 ,11 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,21 ,22 ,13 ,24 ,15 ,26 ,17 ,18 ,51 ,210 ,1/1/2016 0:00,1/2/2016 0:00,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,31 ,32 ,33 ,34 ,34 ,36 ,37 ,37 ,39 ,310 ,placement-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,8/17/2016 0:00,1/1/2016 0:00 ,8/16/2016 0:00,12/31/2016 0:00,10 ,2 ,52 ,W4 ,Full-Time ,10 ,11 ,9 to 5 ,8 ,housing status,invoice group name,jobOrder-ext-1 ,10 ,12345678-1234-1234-1234-1234567890AB,options package,1 ,10 ,other hourly fee comments,15 ,5 ,1000000,project code list,20 ,1000 ,referral fee type,10 ,John Smith,100000,Per Hour ,10 ,clientContact-ext-1 ,Submitted,35 ,MA ,termination reason,clientCorporation-ext-1 ,1 ,123456 ,placement-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,3 ,1/1/2022 0:00 +approvingClientContact.externalID,backupApprovingClientContact.externalID,billingClientContact.externalID,location.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage ,candidate.externalID,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateBegin ,dateClientEffective,dateEffective ,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee,flatFee,hoursOfOperation,hoursPerDay,housingStatus ,invoiceGroupName ,jobOrder.externalID,markUpPercentage,migrateGUID ,optionsPackage ,otExemption,otherHourlyFee,otherHourlyFeeComments ,overtimeMarkUpPercentage,overtimeRate,payRate,projectCodeList ,recruitingManagerPercentGrossMargin,referralFee,referralFeeType ,reportedMargin,reportTo ,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,taxRate,taxState,terminationReason ,vendorClientCorporation.externalID,workWeekStart,housingManagerID,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,bteSyncStatus,lastBteSyncDate,isWorkFromHome,isMultirate,quitJob,canEnterTime,benefitGroup,clientRating,payrollSyncStatus,payrollEmployeeType,positionCode +clientContact-ext-1 ,clientContact-ext-1 ,clientContact-ext-1 ,location-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,bonus package,candidate-ext-1 ,10 ,10 ,This is a placement comment,2/1/2016 0:00 ,2/2/2016 0:00 ,2/3/2016 0:00 ,11 ,12 ,13 ,11 ,11 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,21 ,22 ,13 ,24 ,15 ,26 ,17 ,18 ,51 ,210 ,1/1/2016 0:00,1/2/2016 0:00,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,31 ,32 ,33 ,34 ,34 ,36 ,37 ,37 ,39 ,310 ,placement-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,8/17/2016 0:00,1/1/2016 0:00 ,8/16/2016 0:00,12/31/2016 0:00,10 ,2 ,52 ,W4 ,Full-Time ,10 ,11 ,9 to 5 ,8 ,housing status,invoice group name,jobOrder-ext-1 ,10 ,12345678-1234-1234-1234-1234567890AB,options package,1 ,10 ,other hourly fee comments,15 ,5 ,1000000,project code list,20 ,1000 ,referral fee type,10 ,John Smith,100000,Per Hour ,10 ,clientContact-ext-1 ,Submitted,35 ,MA ,termination reason,clientCorporation-ext-1 ,1 ,123456 ,placement-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,3 ,1/1/2022 0:00 ,TRUE ,TRUE ,FALSE ,TRUE ,ABC ,3 ,1 ,2 ,ACB-1234 diff --git a/examples/load/PlacementChangeRequest.csv b/examples/load/PlacementChangeRequest.csv index 497566b4..4080d23c 100644 --- a/examples/load/PlacementChangeRequest.csv +++ b/examples/load/PlacementChangeRequest.csv @@ -1,2 +1,2 @@ -approvingUser.name ,billingClientContact.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customEncryptedText1 ,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateAdded ,dateApproved ,dateBegin ,dateClientEffective,dateEffective,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee ,hoursOfOperation,hoursPerDay,housingManagerID,housingStatus,migrateGUID ,optionsPackage,otExemption,otherHourlyFee,otherHourlyFeeComments,overtimeRate,payRate,placement.customText1,recruitingManagerPercentGrossMargin,referralFee,referralFeeType,reportTo,requestCustomDate1,requestCustomDate2,requestCustomDate3,requestCustomFloat1,requestCustomFloat2,requestCustomFloat3,requestCustomInt1,requestCustomInt2,requestCustomInt3,requestCustomText1 ,requestCustomText2 ,requestCustomText3 ,requestCustomText4 ,requestCustomText5 ,requestCustomText6 ,requestCustomText7 ,requestCustomText8 ,requestCustomText9 ,requestCustomText10 ,requestCustomText11 ,requestCustomText12 ,requestCustomText13 ,requestCustomText14 ,requestCustomText15 ,requestCustomText16 ,requestCustomText17 ,requestCustomText18 ,requestCustomText19 ,requestCustomText20 ,requestCustomTextBlock1 ,requestCustomTextBlock2 ,requestCustomTextBlock3 ,requestCustomTextBlock4 ,requestCustomTextBlock5 ,requestingUser.name ,requestStatus,requestType,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,terminationReason,vendorClientCorporation.externalID,workWeekStart -Manager CorporateUser,clientContact-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,10% ,14% ,25 ,Placement Change Request Comments,1/1/2011 0:00 ,2/2/2012 0:00 ,3/2/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,correlated custom text 1,correlated custom text 2,correlated custom text 3,correlated custom text 4,correlated custom text 5,correlated custom text 6,correlated custom text 7,correlated custom text 8,correlated custom text 9,correlated custom text 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,MA ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,1/1/2011 0:00,2/2/2012 0:00,3/2/2013 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,custom encrypted text 1,custom encrypted text 2,custom encrypted text 3,custom encrypted text 4,custom encrypted text 5,custom encrypted text 6,custom encrypted text 7,custom encrypted text 8,custom encrypted text 9,custom encrypted text 10,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,placementChangeRequest-ext-1,custom text 2,custom text 3,custom text 4,custom text 5,custom text 6,custom text 7,custom text 8,custom text 9,custom text 10,custom text 11,custom text 12,custom text 13,custom text 14,custom text 15,custom text 16,custom text 17,custom text 18,custom text 19,custom text 20,custom text 21,custom text 22,custom text 23,custom text 24,custom text 25,custom text 26,custom text 27,custom text 28,custom text 29,custom text 30,custom text 31,custom text 32,custom text 33,custom text 34,custom text 35,custom text 36,custom text 37,custom text 38,custom text 39,custom text 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,1/1/2011 0:00,1/2/2011 0:00,1/3/2011 0:00,1/4/2011 0:00 ,1/5/2011 0:00,1/6/2011 0:00,90 ,30 ,52 ,Permanent ,Permanent ,60.0,1st Shift ,8 ,123 ,Placed ,12345678-1234-1234-1234-1234567890AB,Package A ,123 ,24.0 ,Processing Fees ,15.0 ,65.4 ,placement-ext-1 ,21.0 ,2000.0 ,Finders Fee ,Manager ,1/1/2011 0:00 ,2/2/2012 0:00 ,3/3/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,request custom text 1,request custom text 2,request custom text 3,request custom text 4,request custom text 5,request custom text 6,request custom text 7,request custom text 8,request custom text 9,request custom text 10,request custom text 11,request custom text 12,request custom text 13,request custom text 14,request custom text 15,request custom text 16,request custom text 17,request custom text 18,request custom text 19,request custom text 20,request custom text block 1,request custom text block 2,request custom text block 3,request custom text block 4,request custom text block 5,Recruiter CorporateUser,In Work ,Salary ,159.0 ,Hourly ,12.5 ,clientContact-ext-1 ,Pending,No Show ,clientCorporation-ext-1 ,1 +approvingUser.name ,billingClientContact.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customEncryptedText1 ,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateAdded ,dateApproved ,dateBegin ,dateClientEffective,dateEffective,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee ,hoursOfOperation,hoursPerDay,housingManagerID,housingStatus,migrateGUID ,optionsPackage,otExemption,otherHourlyFee,otherHourlyFeeComments,overtimeRate,payRate,placement.customText1,recruitingManagerPercentGrossMargin,referralFee,referralFeeType,reportTo,requestCustomDate1,requestCustomDate2,requestCustomDate3,requestCustomFloat1,requestCustomFloat2,requestCustomFloat3,requestCustomInt1,requestCustomInt2,requestCustomInt3,requestCustomText1 ,requestCustomText2 ,requestCustomText3 ,requestCustomText4 ,requestCustomText5 ,requestCustomText6 ,requestCustomText7 ,requestCustomText8 ,requestCustomText9 ,requestCustomText10 ,requestCustomText11 ,requestCustomText12 ,requestCustomText13 ,requestCustomText14 ,requestCustomText15 ,requestCustomText16 ,requestCustomText17 ,requestCustomText18 ,requestCustomText19 ,requestCustomText20 ,requestCustomTextBlock1 ,requestCustomTextBlock2 ,requestCustomTextBlock3 ,requestCustomTextBlock4 ,requestCustomTextBlock5 ,requestingUser.name ,requestStatus,requestType,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,terminationReason,vendorClientCorporation.externalID,workWeekStart,isMultiRate +Manager CorporateUser,clientContact-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,10% ,14% ,25 ,Placement Change Request Comments,1/1/2011 0:00 ,2/2/2012 0:00 ,3/2/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,correlated custom text 1,correlated custom text 2,correlated custom text 3,correlated custom text 4,correlated custom text 5,correlated custom text 6,correlated custom text 7,correlated custom text 8,correlated custom text 9,correlated custom text 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,MA ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,1/1/2011 0:00,2/2/2012 0:00,3/2/2013 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,custom encrypted text 1,custom encrypted text 2,custom encrypted text 3,custom encrypted text 4,custom encrypted text 5,custom encrypted text 6,custom encrypted text 7,custom encrypted text 8,custom encrypted text 9,custom encrypted text 10,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,placementChangeRequest-ext-1,custom text 2,custom text 3,custom text 4,custom text 5,custom text 6,custom text 7,custom text 8,custom text 9,custom text 10,custom text 11,custom text 12,custom text 13,custom text 14,custom text 15,custom text 16,custom text 17,custom text 18,custom text 19,custom text 20,custom text 21,custom text 22,custom text 23,custom text 24,custom text 25,custom text 26,custom text 27,custom text 28,custom text 29,custom text 30,custom text 31,custom text 32,custom text 33,custom text 34,custom text 35,custom text 36,custom text 37,custom text 38,custom text 39,custom text 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,1/1/2011 0:00,1/2/2011 0:00,1/3/2011 0:00,1/4/2011 0:00 ,1/5/2011 0:00,1/6/2011 0:00,90 ,30 ,52 ,Permanent ,Permanent ,60.0,1st Shift ,8 ,123 ,Placed ,12345678-1234-1234-1234-1234567890AB,Package A ,123 ,24.0 ,Processing Fees ,15.0 ,65.4 ,placement-ext-1 ,21.0 ,2000.0 ,Finders Fee ,Manager ,1/1/2011 0:00 ,2/2/2012 0:00 ,3/3/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,request custom text 1,request custom text 2,request custom text 3,request custom text 4,request custom text 5,request custom text 6,request custom text 7,request custom text 8,request custom text 9,request custom text 10,request custom text 11,request custom text 12,request custom text 13,request custom text 14,request custom text 15,request custom text 16,request custom text 17,request custom text 18,request custom text 19,request custom text 20,request custom text block 1,request custom text block 2,request custom text block 3,request custom text block 4,request custom text block 5,Recruiter CorporateUser,In Work ,Salary ,159.0 ,Hourly ,12.5 ,clientContact-ext-1 ,Pending,No Show ,clientCorporation-ext-1 ,1 ,TRUE diff --git a/examples/load/StateTaxFormExample.csv b/examples/load/StateTaxForm.csv similarity index 100% rename from examples/load/StateTaxFormExample.csv rename to examples/load/StateTaxForm.csv diff --git a/pom.xml b/pom.xml index fef70fb0..25fc2b57 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,8 @@ com.bullhorn sdk-rest - 1.4.61 + 2.1.0 + jdk8 diff --git a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java index b36b9ab9..1a34c10d 100644 --- a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java +++ b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java @@ -4,7 +4,9 @@ import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.ParseException; +import java.util.Arrays; import java.util.HashMap; +import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; @@ -16,6 +18,7 @@ import com.bullhorn.dataloader.enums.EntityInfo; import com.bullhorn.dataloader.enums.ErrorInfo; + import com.bullhornsdk.data.model.entity.core.paybill.optionslookup.SimplifiedOptionsLookup; /** @@ -25,32 +28,44 @@ public class MethodUtil { /** * Returns the map of getter methods (starting with "get") for the given class + * Account for methods that are named slightly different in the SDK-REST: + * isEnabled => getIsEnabled() / getEnabled() without the "is" prefix. * * @return A map of field names to getter methods that can invoked generically using `method.invoke` */ private static Map getGetterMethodMap(Class anyClass) { - Map setterMethodMap = new HashMap<>(); + Map getterMethodMap = new HashMap<>(); + List fieldNames = Arrays.stream(anyClass.getDeclaredFields()) + .map(field -> field.getName().toLowerCase()).collect(Collectors.toList()); for (Method method : anyClass.getMethods()) { if ("get".equalsIgnoreCase(method.getName().substring(0, 3))) { - setterMethodMap.put(method.getName().substring(3).toLowerCase(), method); + String name = method.getName().substring(3).toLowerCase(); + String altName = "is" + name; + getterMethodMap.put(fieldNames.contains(altName) ? altName : name, method); } } - return setterMethodMap; + return getterMethodMap; } /** * Returns the map of setter methods (starting with "set") for the given class + * Account for methods that are named slightly different in the SDK-REST: + * isEnabled => getIsEnabled() / getEnabled() without the "is" prefix. * * @return A map of field names to setter methods that can invoked generically using `method.invoke` */ public static Map getSetterMethodMap(Class anyClass) { Map setterMethodMap = new HashMap<>(); + List fieldNames = Arrays.stream(anyClass.getDeclaredFields()) + .map(field -> field.getName().toLowerCase()).collect(Collectors.toList()); for (Method method : anyClass.getMethods()) { if ("set".equalsIgnoreCase(method.getName().substring(0, 3))) { - setterMethodMap.put(method.getName().substring(3).toLowerCase(), method); + String name = method.getName().substring(3).toLowerCase(); + String altName = "is" + name; + setterMethodMap.put(fieldNames.contains(altName) ? altName : name, method); } } diff --git a/src/test/java/com/bullhorn/dataloader/util/MethodUtilTest.java b/src/test/java/com/bullhorn/dataloader/util/MethodUtilTest.java index 5dd8c8b3..d48a0dc7 100644 --- a/src/test/java/com/bullhorn/dataloader/util/MethodUtilTest.java +++ b/src/test/java/com/bullhorn/dataloader/util/MethodUtilTest.java @@ -13,6 +13,7 @@ import com.bullhorn.dataloader.enums.EntityInfo; import com.bullhorn.dataloader.enums.ErrorInfo; + import com.bullhornsdk.data.model.entity.embedded.Address; public class MethodUtilTest { @@ -54,8 +55,56 @@ public void testGetSetterMethodAddress1() { Assert.assertEquals(setterMethod.getParameterTypes()[0], String.class); } + @Test + public void testGetGetterMethodFailure() { + DataLoaderException expectedException = new DataLoaderException(ErrorInfo.INCORRECT_COLUMN_NAME, + "'workFromHome' does not exist on Placement"); + DataLoaderException actualException = null; + + try { + MethodUtil.getGetterMethod(EntityInfo.PLACEMENT, "workFromHome"); + } catch (DataLoaderException e) { + actualException = e; + } + + Assert.assertNotNull(actualException); + Assert.assertEquals(expectedException.getMessage(), actualException.getMessage()); + } + @Test public void testGetSetterMethodFailure() { + DataLoaderException expectedException = new DataLoaderException(ErrorInfo.INCORRECT_COLUMN_NAME, + "'workFromHome' does not exist on Placement"); + DataLoaderException actualException = null; + + try { + MethodUtil.getSetterMethod(EntityInfo.PLACEMENT, "workFromHome"); + } catch (DataLoaderException e) { + actualException = e; + } + + Assert.assertNotNull(actualException); + Assert.assertEquals(expectedException.getMessage(), actualException.getMessage()); + } + + @Test + public void testGetGetterMethodMalformedAddressFailure() { + DataLoaderException expectedException = new DataLoaderException(ErrorInfo.INCORRECT_COLUMN_NAME, + "Invalid address field format: 'address1'. Must use: 'address.address1' to set an address field."); + DataLoaderException actualException = null; + + try { + MethodUtil.getSetterMethod(EntityInfo.CANDIDATE, "address1"); + } catch (DataLoaderException e) { + actualException = e; + } + + Assert.assertNotNull(actualException); + Assert.assertEquals(expectedException.getMessage(), actualException.getMessage()); + } + + @Test + public void testGetSetterMethodAddressFailure() { DataLoaderException expectedException = new DataLoaderException(ErrorInfo.INCORRECT_COLUMN_NAME, "Invalid address field format: 'address1'. Must use: 'address.address1' to set an address field."); DataLoaderException actualException = null; @@ -106,4 +155,16 @@ public void testConvertStringToObjectReturnsNull() throws ParseException { Object actual = MethodUtil.convertStringToObject("bogus", MethodUtil.class, dateTimeFormatter); Assert.assertNull(actual); } + + @Test + public void testAlternativeNameGetterMethods() { + Method method = MethodUtil.getGetterMethod(EntityInfo.PLACEMENT, "isWorkFromHome"); + Assert.assertNotNull(method); + } + + @Test + public void testAlternativeNameSetterMethods() { + Method method = MethodUtil.getSetterMethod(EntityInfo.PLACEMENT, "isWorkFromHome"); + Assert.assertNotNull(method); + } } From 07af4f754912bc76e0560d127cfbd34eec6693ff Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Thu, 3 Aug 2023 15:44:27 -0500 Subject: [PATCH 02/13] Removing the plus sign '+' special character that is no longer supported as a search term --- .../specialCharacters/AppointmentSpecialCharacters.csv | 1 - .../specialCharacters/CandidateSpecialCharacters.csv | 1 - 2 files changed, 2 deletions(-) diff --git a/src/test/resources/integrationTest/specialCharacters/AppointmentSpecialCharacters.csv b/src/test/resources/integrationTest/specialCharacters/AppointmentSpecialCharacters.csv index a3d15ff4..fd0d6760 100644 --- a/src/test/resources/integrationTest/specialCharacters/AppointmentSpecialCharacters.csv +++ b/src/test/resources/integrationTest/specialCharacters/AppointmentSpecialCharacters.csv @@ -11,7 +11,6 @@ $appointment-ext-1,Meeting,Special Character: $ )appointment-ext-1,Meeting,Special Character: ) _appointment-ext-1,Meeting,Special Character: _ -appointment-ext-1,Meeting,Special Character: - -+appointment-ext-1,Meeting,Special Character: + \appointment-ext-1,Meeting,Special Character: \ {appointment-ext-1,Meeting,Special Character: { }appointment-ext-1,Meeting,Special Character: } diff --git a/src/test/resources/integrationTest/specialCharacters/CandidateSpecialCharacters.csv b/src/test/resources/integrationTest/specialCharacters/CandidateSpecialCharacters.csv index 2f22016f..7bb98012 100644 --- a/src/test/resources/integrationTest/specialCharacters/CandidateSpecialCharacters.csv +++ b/src/test/resources/integrationTest/specialCharacters/CandidateSpecialCharacters.csv @@ -10,7 +10,6 @@ $candidate-ext-1,Special,Character: $,Special Character: $ )candidate-ext-1,Special,Character: ),Special Character: ) _candidate-ext-1,Special,Character: _,Special Character: _ -candidate-ext-1,Special,Character: -,Special Character: - -+candidate-ext-1,Special,Character: +,Special Character: + {candidate-ext-1,Special,Character: {,Special Character: { }candidate-ext-1,Special,Character: },Special Character: } .candidate-ext-1,Special,Character: .,Special Character: . From d5f907dc5a16fdfa5a06503d7df0346ceed986e4 Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Thu, 3 Aug 2023 19:47:59 -0500 Subject: [PATCH 03/13] Fixing logic around alternatively named getters/setters --- .../bullhorn/dataloader/util/MethodUtil.java | 12 ++++++++-- .../dataloader/util/MethodUtilTest.java | 22 +++++++++++++++---- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java index 1a34c10d..3eca9b51 100644 --- a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java +++ b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java @@ -42,7 +42,11 @@ private static Map getGetterMethodMap(Class anyClass) { if ("get".equalsIgnoreCase(method.getName().substring(0, 3))) { String name = method.getName().substring(3).toLowerCase(); String altName = "is" + name; - getterMethodMap.put(fieldNames.contains(altName) ? altName : name, method); + if (fieldNames.contains(name)) { + getterMethodMap.put(name, method); + } else if (fieldNames.contains(altName)) { + getterMethodMap.put(altName, method); + } } } @@ -65,7 +69,11 @@ public static Map getSetterMethodMap(Class anyClass) { if ("set".equalsIgnoreCase(method.getName().substring(0, 3))) { String name = method.getName().substring(3).toLowerCase(); String altName = "is" + name; - setterMethodMap.put(fieldNames.contains(altName) ? altName : name, method); + if (fieldNames.contains(name)) { + setterMethodMap.put(name, method); + } else if (fieldNames.contains(altName)) { + setterMethodMap.put(altName, method); + } } } diff --git a/src/test/java/com/bullhorn/dataloader/util/MethodUtilTest.java b/src/test/java/com/bullhorn/dataloader/util/MethodUtilTest.java index d48a0dc7..46e6fce4 100644 --- a/src/test/java/com/bullhorn/dataloader/util/MethodUtilTest.java +++ b/src/test/java/com/bullhorn/dataloader/util/MethodUtilTest.java @@ -158,13 +158,27 @@ public void testConvertStringToObjectReturnsNull() throws ParseException { @Test public void testAlternativeNameGetterMethods() { - Method method = MethodUtil.getGetterMethod(EntityInfo.PLACEMENT, "isWorkFromHome"); - Assert.assertNotNull(method); + // The getter is named without the word is: getWorkFromHome() + Method methodNameMismatch = MethodUtil.getGetterMethod(EntityInfo.PLACEMENT, "isWorkFromHome"); + Assert.assertNotNull(methodNameMismatch); + + Method clientContact = MethodUtil.getGetterMethod(EntityInfo.OPPORTUNITY, "clientContact"); + Assert.assertNotNull(clientContact); + + Method isClientContact = MethodUtil.getGetterMethod(EntityInfo.OPPORTUNITY, "isClientContact"); + Assert.assertNotNull(isClientContact); } @Test public void testAlternativeNameSetterMethods() { - Method method = MethodUtil.getSetterMethod(EntityInfo.PLACEMENT, "isWorkFromHome"); - Assert.assertNotNull(method); + // The setter is named without the word is: getWorkFromHome() + Method methodNameMismatch = MethodUtil.getSetterMethod(EntityInfo.PLACEMENT, "isWorkFromHome"); + Assert.assertNotNull(methodNameMismatch); + + Method clientContact = MethodUtil.getSetterMethod(EntityInfo.OPPORTUNITY, "clientContact"); + Assert.assertNotNull(clientContact); + + Method isClientContact = MethodUtil.getSetterMethod(EntityInfo.OPPORTUNITY, "isClientContact"); + Assert.assertNotNull(isClientContact); } } From 5719adc618e73e76ca3a9c5af7bfc61eb5bee7a7 Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Thu, 3 Aug 2023 21:03:18 -0500 Subject: [PATCH 04/13] Fixing logic around alternatively named getters/setters --- .../com/bullhorn/dataloader/util/MethodUtil.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java index 3eca9b51..fb4460db 100644 --- a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java +++ b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java @@ -42,10 +42,10 @@ private static Map getGetterMethodMap(Class anyClass) { if ("get".equalsIgnoreCase(method.getName().substring(0, 3))) { String name = method.getName().substring(3).toLowerCase(); String altName = "is" + name; - if (fieldNames.contains(name)) { - getterMethodMap.put(name, method); - } else if (fieldNames.contains(altName)) { + if (!fieldNames.contains(name) && fieldNames.contains(altName)) { getterMethodMap.put(altName, method); + } else { + getterMethodMap.put(name, method); } } } @@ -69,10 +69,10 @@ public static Map getSetterMethodMap(Class anyClass) { if ("set".equalsIgnoreCase(method.getName().substring(0, 3))) { String name = method.getName().substring(3).toLowerCase(); String altName = "is" + name; - if (fieldNames.contains(name)) { - setterMethodMap.put(name, method); - } else if (fieldNames.contains(altName)) { + if (!fieldNames.contains(name) && fieldNames.contains(altName)) { setterMethodMap.put(altName, method); + } else { + setterMethodMap.put(name, method); } } } From ffe12b671afdff7904f0ce5fb934d75f5c637fa2 Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Fri, 4 Aug 2023 15:10:23 -0500 Subject: [PATCH 05/13] Updated example file --- examples/load/Placement.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/load/Placement.csv b/examples/load/Placement.csv index aa61b5de..06f1bc04 100644 --- a/examples/load/Placement.csv +++ b/examples/load/Placement.csv @@ -1,2 +1,2 @@ -approvingClientContact.externalID,backupApprovingClientContact.externalID,billingClientContact.externalID,location.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage ,candidate.externalID,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateBegin ,dateClientEffective,dateEffective ,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee,flatFee,hoursOfOperation,hoursPerDay,housingStatus ,invoiceGroupName ,jobOrder.externalID,markUpPercentage,migrateGUID ,optionsPackage ,otExemption,otherHourlyFee,otherHourlyFeeComments ,overtimeMarkUpPercentage,overtimeRate,payRate,projectCodeList ,recruitingManagerPercentGrossMargin,referralFee,referralFeeType ,reportedMargin,reportTo ,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,taxRate,taxState,terminationReason ,vendorClientCorporation.externalID,workWeekStart,housingManagerID,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,bteSyncStatus,lastBteSyncDate,isWorkFromHome,isMultirate,quitJob,canEnterTime,benefitGroup,clientRating,payrollSyncStatus,payrollEmployeeType,positionCode -clientContact-ext-1 ,clientContact-ext-1 ,clientContact-ext-1 ,location-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,bonus package,candidate-ext-1 ,10 ,10 ,This is a placement comment,2/1/2016 0:00 ,2/2/2016 0:00 ,2/3/2016 0:00 ,11 ,12 ,13 ,11 ,11 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,21 ,22 ,13 ,24 ,15 ,26 ,17 ,18 ,51 ,210 ,1/1/2016 0:00,1/2/2016 0:00,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,31 ,32 ,33 ,34 ,34 ,36 ,37 ,37 ,39 ,310 ,placement-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,8/17/2016 0:00,1/1/2016 0:00 ,8/16/2016 0:00,12/31/2016 0:00,10 ,2 ,52 ,W4 ,Full-Time ,10 ,11 ,9 to 5 ,8 ,housing status,invoice group name,jobOrder-ext-1 ,10 ,12345678-1234-1234-1234-1234567890AB,options package,1 ,10 ,other hourly fee comments,15 ,5 ,1000000,project code list,20 ,1000 ,referral fee type,10 ,John Smith,100000,Per Hour ,10 ,clientContact-ext-1 ,Submitted,35 ,MA ,termination reason,clientCorporation-ext-1 ,1 ,123456 ,placement-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,3 ,1/1/2022 0:00 ,TRUE ,TRUE ,FALSE ,TRUE ,ABC ,3 ,1 ,2 ,ACB-1234 +approvingClientContact.externalID,backupApprovingClientContact.externalID,billingClientContact.externalID,location.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage ,candidate.externalID,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateBegin ,dateClientEffective,dateEffective ,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee,flatFee,hoursOfOperation,hoursPerDay,housingStatus ,invoiceGroupName ,jobOrder.externalID,markUpPercentage,migrateGUID ,optionsPackage ,otExemption,otherHourlyFee,otherHourlyFeeComments ,overtimeMarkUpPercentage,overtimeRate,payRate,projectCodeList ,recruitingManagerPercentGrossMargin,referralFee,referralFeeType ,reportedMargin,reportTo ,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,taxRate,taxState,terminationReason ,vendorClientCorporation.externalID,workWeekStart,housingManagerID,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,bteSyncStatus,lastBteSyncDate,isWorkFromHome,isMultirate,quitJob,canEnterTime,benefitGroup,clientRating,payrollSyncStatus,payrollEmployeeType,positionCode,payGroup +clientContact-ext-1 ,clientContact-ext-1 ,clientContact-ext-1 ,location-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,bonus package,candidate-ext-1 ,10 ,10 ,This is a placement comment,2/1/2016 0:00 ,2/2/2016 0:00 ,2/3/2016 0:00 ,11 ,12 ,13 ,11 ,11 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,21 ,22 ,13 ,24 ,15 ,26 ,17 ,18 ,51 ,210 ,1/1/2016 0:00,1/2/2016 0:00,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,31 ,32 ,33 ,34 ,34 ,36 ,37 ,37 ,39 ,310 ,placement-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,8/17/2016 0:00,1/1/2016 0:00 ,8/16/2016 0:00,12/31/2016 0:00,10 ,2 ,52 ,W4 ,Full-Time ,10 ,11 ,9 to 5 ,8 ,housing status,invoice group name,jobOrder-ext-1 ,10 ,12345678-1234-1234-1234-1234567890AB,options package,1 ,10 ,other hourly fee comments,15 ,5 ,1000000,project code list,20 ,1000 ,referral fee type,10 ,John Smith,100000,Per Hour ,10 ,clientContact-ext-1 ,Submitted,35 ,MA ,termination reason,clientCorporation-ext-1 ,1 ,123456 ,placement-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,3 ,1/1/2022 0:00 ,TRUE ,TRUE ,FALSE ,TRUE ,ABC ,3 ,1 ,2 ,ACB-1234 ,Monthly From 9c47da3a8f69c90b2e0f546542bdaf48d6e268dd Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Mon, 7 Aug 2023 10:05:37 -0500 Subject: [PATCH 06/13] Removed field --- examples/load/PlacementChangeRequest.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/load/PlacementChangeRequest.csv b/examples/load/PlacementChangeRequest.csv index 4080d23c..497566b4 100644 --- a/examples/load/PlacementChangeRequest.csv +++ b/examples/load/PlacementChangeRequest.csv @@ -1,2 +1,2 @@ -approvingUser.name ,billingClientContact.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customEncryptedText1 ,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateAdded ,dateApproved ,dateBegin ,dateClientEffective,dateEffective,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee ,hoursOfOperation,hoursPerDay,housingManagerID,housingStatus,migrateGUID ,optionsPackage,otExemption,otherHourlyFee,otherHourlyFeeComments,overtimeRate,payRate,placement.customText1,recruitingManagerPercentGrossMargin,referralFee,referralFeeType,reportTo,requestCustomDate1,requestCustomDate2,requestCustomDate3,requestCustomFloat1,requestCustomFloat2,requestCustomFloat3,requestCustomInt1,requestCustomInt2,requestCustomInt3,requestCustomText1 ,requestCustomText2 ,requestCustomText3 ,requestCustomText4 ,requestCustomText5 ,requestCustomText6 ,requestCustomText7 ,requestCustomText8 ,requestCustomText9 ,requestCustomText10 ,requestCustomText11 ,requestCustomText12 ,requestCustomText13 ,requestCustomText14 ,requestCustomText15 ,requestCustomText16 ,requestCustomText17 ,requestCustomText18 ,requestCustomText19 ,requestCustomText20 ,requestCustomTextBlock1 ,requestCustomTextBlock2 ,requestCustomTextBlock3 ,requestCustomTextBlock4 ,requestCustomTextBlock5 ,requestingUser.name ,requestStatus,requestType,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,terminationReason,vendorClientCorporation.externalID,workWeekStart,isMultiRate -Manager CorporateUser,clientContact-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,10% ,14% ,25 ,Placement Change Request Comments,1/1/2011 0:00 ,2/2/2012 0:00 ,3/2/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,correlated custom text 1,correlated custom text 2,correlated custom text 3,correlated custom text 4,correlated custom text 5,correlated custom text 6,correlated custom text 7,correlated custom text 8,correlated custom text 9,correlated custom text 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,MA ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,1/1/2011 0:00,2/2/2012 0:00,3/2/2013 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,custom encrypted text 1,custom encrypted text 2,custom encrypted text 3,custom encrypted text 4,custom encrypted text 5,custom encrypted text 6,custom encrypted text 7,custom encrypted text 8,custom encrypted text 9,custom encrypted text 10,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,placementChangeRequest-ext-1,custom text 2,custom text 3,custom text 4,custom text 5,custom text 6,custom text 7,custom text 8,custom text 9,custom text 10,custom text 11,custom text 12,custom text 13,custom text 14,custom text 15,custom text 16,custom text 17,custom text 18,custom text 19,custom text 20,custom text 21,custom text 22,custom text 23,custom text 24,custom text 25,custom text 26,custom text 27,custom text 28,custom text 29,custom text 30,custom text 31,custom text 32,custom text 33,custom text 34,custom text 35,custom text 36,custom text 37,custom text 38,custom text 39,custom text 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,1/1/2011 0:00,1/2/2011 0:00,1/3/2011 0:00,1/4/2011 0:00 ,1/5/2011 0:00,1/6/2011 0:00,90 ,30 ,52 ,Permanent ,Permanent ,60.0,1st Shift ,8 ,123 ,Placed ,12345678-1234-1234-1234-1234567890AB,Package A ,123 ,24.0 ,Processing Fees ,15.0 ,65.4 ,placement-ext-1 ,21.0 ,2000.0 ,Finders Fee ,Manager ,1/1/2011 0:00 ,2/2/2012 0:00 ,3/3/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,request custom text 1,request custom text 2,request custom text 3,request custom text 4,request custom text 5,request custom text 6,request custom text 7,request custom text 8,request custom text 9,request custom text 10,request custom text 11,request custom text 12,request custom text 13,request custom text 14,request custom text 15,request custom text 16,request custom text 17,request custom text 18,request custom text 19,request custom text 20,request custom text block 1,request custom text block 2,request custom text block 3,request custom text block 4,request custom text block 5,Recruiter CorporateUser,In Work ,Salary ,159.0 ,Hourly ,12.5 ,clientContact-ext-1 ,Pending,No Show ,clientCorporation-ext-1 ,1 ,TRUE +approvingUser.name ,billingClientContact.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customEncryptedText1 ,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateAdded ,dateApproved ,dateBegin ,dateClientEffective,dateEffective,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee ,hoursOfOperation,hoursPerDay,housingManagerID,housingStatus,migrateGUID ,optionsPackage,otExemption,otherHourlyFee,otherHourlyFeeComments,overtimeRate,payRate,placement.customText1,recruitingManagerPercentGrossMargin,referralFee,referralFeeType,reportTo,requestCustomDate1,requestCustomDate2,requestCustomDate3,requestCustomFloat1,requestCustomFloat2,requestCustomFloat3,requestCustomInt1,requestCustomInt2,requestCustomInt3,requestCustomText1 ,requestCustomText2 ,requestCustomText3 ,requestCustomText4 ,requestCustomText5 ,requestCustomText6 ,requestCustomText7 ,requestCustomText8 ,requestCustomText9 ,requestCustomText10 ,requestCustomText11 ,requestCustomText12 ,requestCustomText13 ,requestCustomText14 ,requestCustomText15 ,requestCustomText16 ,requestCustomText17 ,requestCustomText18 ,requestCustomText19 ,requestCustomText20 ,requestCustomTextBlock1 ,requestCustomTextBlock2 ,requestCustomTextBlock3 ,requestCustomTextBlock4 ,requestCustomTextBlock5 ,requestingUser.name ,requestStatus,requestType,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,terminationReason,vendorClientCorporation.externalID,workWeekStart +Manager CorporateUser,clientContact-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,10% ,14% ,25 ,Placement Change Request Comments,1/1/2011 0:00 ,2/2/2012 0:00 ,3/2/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,correlated custom text 1,correlated custom text 2,correlated custom text 3,correlated custom text 4,correlated custom text 5,correlated custom text 6,correlated custom text 7,correlated custom text 8,correlated custom text 9,correlated custom text 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,MA ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,1/1/2011 0:00,2/2/2012 0:00,3/2/2013 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,custom encrypted text 1,custom encrypted text 2,custom encrypted text 3,custom encrypted text 4,custom encrypted text 5,custom encrypted text 6,custom encrypted text 7,custom encrypted text 8,custom encrypted text 9,custom encrypted text 10,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,placementChangeRequest-ext-1,custom text 2,custom text 3,custom text 4,custom text 5,custom text 6,custom text 7,custom text 8,custom text 9,custom text 10,custom text 11,custom text 12,custom text 13,custom text 14,custom text 15,custom text 16,custom text 17,custom text 18,custom text 19,custom text 20,custom text 21,custom text 22,custom text 23,custom text 24,custom text 25,custom text 26,custom text 27,custom text 28,custom text 29,custom text 30,custom text 31,custom text 32,custom text 33,custom text 34,custom text 35,custom text 36,custom text 37,custom text 38,custom text 39,custom text 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,1/1/2011 0:00,1/2/2011 0:00,1/3/2011 0:00,1/4/2011 0:00 ,1/5/2011 0:00,1/6/2011 0:00,90 ,30 ,52 ,Permanent ,Permanent ,60.0,1st Shift ,8 ,123 ,Placed ,12345678-1234-1234-1234-1234567890AB,Package A ,123 ,24.0 ,Processing Fees ,15.0 ,65.4 ,placement-ext-1 ,21.0 ,2000.0 ,Finders Fee ,Manager ,1/1/2011 0:00 ,2/2/2012 0:00 ,3/3/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,request custom text 1,request custom text 2,request custom text 3,request custom text 4,request custom text 5,request custom text 6,request custom text 7,request custom text 8,request custom text 9,request custom text 10,request custom text 11,request custom text 12,request custom text 13,request custom text 14,request custom text 15,request custom text 16,request custom text 17,request custom text 18,request custom text 19,request custom text 20,request custom text block 1,request custom text block 2,request custom text block 3,request custom text block 4,request custom text block 5,Recruiter CorporateUser,In Work ,Salary ,159.0 ,Hourly ,12.5 ,clientContact-ext-1 ,Pending,No Show ,clientCorporation-ext-1 ,1 From b619a5720e33f6a4524cf28391f460027fd456c4 Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Mon, 7 Aug 2023 11:33:22 -0500 Subject: [PATCH 07/13] Revert "Removed field" This reverts commit 9c47da3a8f69c90b2e0f546542bdaf48d6e268dd. --- examples/load/PlacementChangeRequest.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/load/PlacementChangeRequest.csv b/examples/load/PlacementChangeRequest.csv index 497566b4..4080d23c 100644 --- a/examples/load/PlacementChangeRequest.csv +++ b/examples/load/PlacementChangeRequest.csv @@ -1,2 +1,2 @@ -approvingUser.name ,billingClientContact.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customEncryptedText1 ,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateAdded ,dateApproved ,dateBegin ,dateClientEffective,dateEffective,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee ,hoursOfOperation,hoursPerDay,housingManagerID,housingStatus,migrateGUID ,optionsPackage,otExemption,otherHourlyFee,otherHourlyFeeComments,overtimeRate,payRate,placement.customText1,recruitingManagerPercentGrossMargin,referralFee,referralFeeType,reportTo,requestCustomDate1,requestCustomDate2,requestCustomDate3,requestCustomFloat1,requestCustomFloat2,requestCustomFloat3,requestCustomInt1,requestCustomInt2,requestCustomInt3,requestCustomText1 ,requestCustomText2 ,requestCustomText3 ,requestCustomText4 ,requestCustomText5 ,requestCustomText6 ,requestCustomText7 ,requestCustomText8 ,requestCustomText9 ,requestCustomText10 ,requestCustomText11 ,requestCustomText12 ,requestCustomText13 ,requestCustomText14 ,requestCustomText15 ,requestCustomText16 ,requestCustomText17 ,requestCustomText18 ,requestCustomText19 ,requestCustomText20 ,requestCustomTextBlock1 ,requestCustomTextBlock2 ,requestCustomTextBlock3 ,requestCustomTextBlock4 ,requestCustomTextBlock5 ,requestingUser.name ,requestStatus,requestType,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,terminationReason,vendorClientCorporation.externalID,workWeekStart -Manager CorporateUser,clientContact-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,10% ,14% ,25 ,Placement Change Request Comments,1/1/2011 0:00 ,2/2/2012 0:00 ,3/2/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,correlated custom text 1,correlated custom text 2,correlated custom text 3,correlated custom text 4,correlated custom text 5,correlated custom text 6,correlated custom text 7,correlated custom text 8,correlated custom text 9,correlated custom text 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,MA ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,1/1/2011 0:00,2/2/2012 0:00,3/2/2013 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,custom encrypted text 1,custom encrypted text 2,custom encrypted text 3,custom encrypted text 4,custom encrypted text 5,custom encrypted text 6,custom encrypted text 7,custom encrypted text 8,custom encrypted text 9,custom encrypted text 10,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,placementChangeRequest-ext-1,custom text 2,custom text 3,custom text 4,custom text 5,custom text 6,custom text 7,custom text 8,custom text 9,custom text 10,custom text 11,custom text 12,custom text 13,custom text 14,custom text 15,custom text 16,custom text 17,custom text 18,custom text 19,custom text 20,custom text 21,custom text 22,custom text 23,custom text 24,custom text 25,custom text 26,custom text 27,custom text 28,custom text 29,custom text 30,custom text 31,custom text 32,custom text 33,custom text 34,custom text 35,custom text 36,custom text 37,custom text 38,custom text 39,custom text 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,1/1/2011 0:00,1/2/2011 0:00,1/3/2011 0:00,1/4/2011 0:00 ,1/5/2011 0:00,1/6/2011 0:00,90 ,30 ,52 ,Permanent ,Permanent ,60.0,1st Shift ,8 ,123 ,Placed ,12345678-1234-1234-1234-1234567890AB,Package A ,123 ,24.0 ,Processing Fees ,15.0 ,65.4 ,placement-ext-1 ,21.0 ,2000.0 ,Finders Fee ,Manager ,1/1/2011 0:00 ,2/2/2012 0:00 ,3/3/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,request custom text 1,request custom text 2,request custom text 3,request custom text 4,request custom text 5,request custom text 6,request custom text 7,request custom text 8,request custom text 9,request custom text 10,request custom text 11,request custom text 12,request custom text 13,request custom text 14,request custom text 15,request custom text 16,request custom text 17,request custom text 18,request custom text 19,request custom text 20,request custom text block 1,request custom text block 2,request custom text block 3,request custom text block 4,request custom text block 5,Recruiter CorporateUser,In Work ,Salary ,159.0 ,Hourly ,12.5 ,clientContact-ext-1 ,Pending,No Show ,clientCorporation-ext-1 ,1 +approvingUser.name ,billingClientContact.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customEncryptedText1 ,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateAdded ,dateApproved ,dateBegin ,dateClientEffective,dateEffective,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee ,hoursOfOperation,hoursPerDay,housingManagerID,housingStatus,migrateGUID ,optionsPackage,otExemption,otherHourlyFee,otherHourlyFeeComments,overtimeRate,payRate,placement.customText1,recruitingManagerPercentGrossMargin,referralFee,referralFeeType,reportTo,requestCustomDate1,requestCustomDate2,requestCustomDate3,requestCustomFloat1,requestCustomFloat2,requestCustomFloat3,requestCustomInt1,requestCustomInt2,requestCustomInt3,requestCustomText1 ,requestCustomText2 ,requestCustomText3 ,requestCustomText4 ,requestCustomText5 ,requestCustomText6 ,requestCustomText7 ,requestCustomText8 ,requestCustomText9 ,requestCustomText10 ,requestCustomText11 ,requestCustomText12 ,requestCustomText13 ,requestCustomText14 ,requestCustomText15 ,requestCustomText16 ,requestCustomText17 ,requestCustomText18 ,requestCustomText19 ,requestCustomText20 ,requestCustomTextBlock1 ,requestCustomTextBlock2 ,requestCustomTextBlock3 ,requestCustomTextBlock4 ,requestCustomTextBlock5 ,requestingUser.name ,requestStatus,requestType,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,terminationReason,vendorClientCorporation.externalID,workWeekStart,isMultiRate +Manager CorporateUser,clientContact-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,10% ,14% ,25 ,Placement Change Request Comments,1/1/2011 0:00 ,2/2/2012 0:00 ,3/2/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,correlated custom text 1,correlated custom text 2,correlated custom text 3,correlated custom text 4,correlated custom text 5,correlated custom text 6,correlated custom text 7,correlated custom text 8,correlated custom text 9,correlated custom text 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,MA ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,1/1/2011 0:00,2/2/2012 0:00,3/2/2013 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,custom encrypted text 1,custom encrypted text 2,custom encrypted text 3,custom encrypted text 4,custom encrypted text 5,custom encrypted text 6,custom encrypted text 7,custom encrypted text 8,custom encrypted text 9,custom encrypted text 10,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1.0 ,2.0 ,3.0 ,4.0 ,5.0 ,6.0 ,7.0 ,8.0 ,9.0 ,10.0 ,placementChangeRequest-ext-1,custom text 2,custom text 3,custom text 4,custom text 5,custom text 6,custom text 7,custom text 8,custom text 9,custom text 10,custom text 11,custom text 12,custom text 13,custom text 14,custom text 15,custom text 16,custom text 17,custom text 18,custom text 19,custom text 20,custom text 21,custom text 22,custom text 23,custom text 24,custom text 25,custom text 26,custom text 27,custom text 28,custom text 29,custom text 30,custom text 31,custom text 32,custom text 33,custom text 34,custom text 35,custom text 36,custom text 37,custom text 38,custom text 39,custom text 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,1/1/2011 0:00,1/2/2011 0:00,1/3/2011 0:00,1/4/2011 0:00 ,1/5/2011 0:00,1/6/2011 0:00,90 ,30 ,52 ,Permanent ,Permanent ,60.0,1st Shift ,8 ,123 ,Placed ,12345678-1234-1234-1234-1234567890AB,Package A ,123 ,24.0 ,Processing Fees ,15.0 ,65.4 ,placement-ext-1 ,21.0 ,2000.0 ,Finders Fee ,Manager ,1/1/2011 0:00 ,2/2/2012 0:00 ,3/3/2013 0:00 ,1.0 ,2.0 ,3.0 ,1 ,2 ,3 ,request custom text 1,request custom text 2,request custom text 3,request custom text 4,request custom text 5,request custom text 6,request custom text 7,request custom text 8,request custom text 9,request custom text 10,request custom text 11,request custom text 12,request custom text 13,request custom text 14,request custom text 15,request custom text 16,request custom text 17,request custom text 18,request custom text 19,request custom text 20,request custom text block 1,request custom text block 2,request custom text block 3,request custom text block 4,request custom text block 5,Recruiter CorporateUser,In Work ,Salary ,159.0 ,Hourly ,12.5 ,clientContact-ext-1 ,Pending,No Show ,clientCorporation-ext-1 ,1 ,TRUE From 47d099f561123e9fc268e2fe55e053cfe555fdac Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Mon, 7 Aug 2023 12:46:37 -0500 Subject: [PATCH 08/13] Updated logic to handle nonstandard field names --- .../com/bullhorn/dataloader/rest/Field.java | 4 +-- .../bullhorn/dataloader/util/MethodUtil.java | 9 ++++-- .../bullhorn/dataloader/rest/FieldTest.java | 29 +++++++++++++++++++ 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/bullhorn/dataloader/rest/Field.java b/src/main/java/com/bullhorn/dataloader/rest/Field.java index 62b19483..0976efea 100644 --- a/src/main/java/com/bullhorn/dataloader/rest/Field.java +++ b/src/main/java/com/bullhorn/dataloader/rest/Field.java @@ -63,13 +63,13 @@ public Field(EntityInfo entityInfo, // 'candidates.id' => Candidate:getId() / Candidate:setId() this.getMethod = MethodUtil.getGetterMethod(getFieldEntity(), getName()); this.setMethod = MethodUtil.getSetterMethod(getFieldEntity(), getName()); - final String verifiedFieldName = MethodUtil.getFieldNameFromMethod(getMethod); + final String verifiedFieldName = MethodUtil.getFieldNameFromMethod(getMethod, getName()); // For all non-direct fields, store the get/set methods for the association, such as getAddress()/setAddress() if (cell.isAssociation()) { this.getAssociationMethod = MethodUtil.getGetterMethod(entityInfo, cell.getAssociationBaseName()); this.setAssociationMethod = MethodUtil.getSetterMethod(entityInfo, cell.getAssociationBaseName()); - final String verifiedAssociationBaseName = MethodUtil.getFieldNameFromMethod(getAssociationMethod); + final String verifiedAssociationBaseName = MethodUtil.getFieldNameFromMethod(getAssociationMethod, cell.getAssociationBaseName()); // Correct capitalization mistakes for the association cell if (!this.cell.getAssociationBaseName().equals(verifiedAssociationBaseName) diff --git a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java index fb4460db..3355c621 100644 --- a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java +++ b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java @@ -183,12 +183,17 @@ public static Object convertStringToObject(String value, Class type, DateTimeFor *

* For example, the method: Candidate:getExternalID() will return the field name: 'externalID' * that can be used as a valid field name in Rest. + * Check if the name of the method is truncating the "is" prefix. * * @param method A getter or setter method * @return the field name in rest that corresponds to that getter or setter */ - public static String getFieldNameFromMethod(Method method) { - return WordUtils.uncapitalize(method.getName().substring(3)); + public static String getFieldNameFromMethod(Method method, String name) { + String nameFromMethod = method.getName().substring(3); + if (name.toLowerCase().equals("is" + nameFromMethod.toLowerCase())) { + return "is" + nameFromMethod; + } + return WordUtils.uncapitalize(nameFromMethod); } private static Method getMethod(EntityInfo entityInfo, String fieldName, Map methodMap) { diff --git a/src/test/java/com/bullhorn/dataloader/rest/FieldTest.java b/src/test/java/com/bullhorn/dataloader/rest/FieldTest.java index 5c435209..3041150a 100644 --- a/src/test/java/com/bullhorn/dataloader/rest/FieldTest.java +++ b/src/test/java/com/bullhorn/dataloader/rest/FieldTest.java @@ -3,6 +3,7 @@ import java.math.BigDecimal; import java.text.ParseException; +import com.bullhornsdk.data.model.entity.core.standard.Placement; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; @@ -120,6 +121,34 @@ public void testDirectBooleanField() throws Exception { Assert.assertEquals(field.getStringValueFromEntity(jobSubmission, ";"), "false"); } + @Test + public void testNonStandardBooleanField() throws Exception { + Cell cell = new Cell("isWorkFROMHome", "true"); + Field field = new Field(EntityInfo.PLACEMENT, cell, true, dateTimeFormatter); + + Assert.assertEquals(field.getEntityInfo(), EntityInfo.PLACEMENT); + Assert.assertEquals(field.isExistField(), true); + Assert.assertEquals(field.isToOne(), false); + Assert.assertEquals(field.isToMany(), false); + Assert.assertEquals(field.getName(), "isWorkFromHome"); + Assert.assertEquals(field.getFieldParameterName(true), "isWorkFromHome"); + Assert.assertEquals(field.getFieldParameterName(false), "isWorkFromHome"); + Assert.assertEquals(field.getFieldEntity(), EntityInfo.PLACEMENT); + Assert.assertEquals(field.getFieldType(), Boolean.class); + Assert.assertEquals(field.getValue(), true); + Assert.assertEquals(field.getStringValue(), "true"); + + Placement placement = new Placement(); + + Assert.assertNull(placement.getWorkFromHome()); + Assert.assertEquals(field.getStringValueFromEntity(placement, ";"), ""); + + field.populateFieldOnEntity(placement); + + Assert.assertEquals(placement.getWorkFromHome(), true); + Assert.assertEquals(field.getStringValueFromEntity(placement, ";"), "true"); + } + @Test public void testDirectDateTimeField() throws Exception { Cell cell = new Cell("dateAvailable", "02/09/2001"); From 8d5f9120ed0b6ca28637dbf694cbfff02674f10a Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Mon, 7 Aug 2023 13:35:24 -0500 Subject: [PATCH 09/13] Removed field --- examples/load/Placement.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/load/Placement.csv b/examples/load/Placement.csv index 06f1bc04..20587ed3 100644 --- a/examples/load/Placement.csv +++ b/examples/load/Placement.csv @@ -1,2 +1,2 @@ -approvingClientContact.externalID,backupApprovingClientContact.externalID,billingClientContact.externalID,location.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage ,candidate.externalID,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateBegin ,dateClientEffective,dateEffective ,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee,flatFee,hoursOfOperation,hoursPerDay,housingStatus ,invoiceGroupName ,jobOrder.externalID,markUpPercentage,migrateGUID ,optionsPackage ,otExemption,otherHourlyFee,otherHourlyFeeComments ,overtimeMarkUpPercentage,overtimeRate,payRate,projectCodeList ,recruitingManagerPercentGrossMargin,referralFee,referralFeeType ,reportedMargin,reportTo ,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,taxRate,taxState,terminationReason ,vendorClientCorporation.externalID,workWeekStart,housingManagerID,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,bteSyncStatus,lastBteSyncDate,isWorkFromHome,isMultirate,quitJob,canEnterTime,benefitGroup,clientRating,payrollSyncStatus,payrollEmployeeType,positionCode,payGroup -clientContact-ext-1 ,clientContact-ext-1 ,clientContact-ext-1 ,location-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,bonus package,candidate-ext-1 ,10 ,10 ,This is a placement comment,2/1/2016 0:00 ,2/2/2016 0:00 ,2/3/2016 0:00 ,11 ,12 ,13 ,11 ,11 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,21 ,22 ,13 ,24 ,15 ,26 ,17 ,18 ,51 ,210 ,1/1/2016 0:00,1/2/2016 0:00,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,31 ,32 ,33 ,34 ,34 ,36 ,37 ,37 ,39 ,310 ,placement-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,8/17/2016 0:00,1/1/2016 0:00 ,8/16/2016 0:00,12/31/2016 0:00,10 ,2 ,52 ,W4 ,Full-Time ,10 ,11 ,9 to 5 ,8 ,housing status,invoice group name,jobOrder-ext-1 ,10 ,12345678-1234-1234-1234-1234567890AB,options package,1 ,10 ,other hourly fee comments,15 ,5 ,1000000,project code list,20 ,1000 ,referral fee type,10 ,John Smith,100000,Per Hour ,10 ,clientContact-ext-1 ,Submitted,35 ,MA ,termination reason,clientCorporation-ext-1 ,1 ,123456 ,placement-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,3 ,1/1/2022 0:00 ,TRUE ,TRUE ,FALSE ,TRUE ,ABC ,3 ,1 ,2 ,ACB-1234 ,Monthly +approvingClientContact.externalID,backupApprovingClientContact.externalID,billingClientContact.externalID,location.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage ,candidate.externalID,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateBegin ,dateClientEffective,dateEffective ,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee,flatFee,hoursOfOperation,hoursPerDay,housingStatus ,invoiceGroupName ,jobOrder.externalID,markUpPercentage,migrateGUID ,optionsPackage ,otExemption,otherHourlyFee,otherHourlyFeeComments ,overtimeMarkUpPercentage,overtimeRate,payRate,projectCodeList ,recruitingManagerPercentGrossMargin,referralFee,referralFeeType ,reportedMargin,reportTo ,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,taxRate,taxState,terminationReason ,vendorClientCorporation.externalID,workWeekStart,housingManagerID,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,bteSyncStatus,lastBteSyncDate,isWorkFromHome,isMultirate,quitJob,canEnterTime,benefitGroup,clientRating,payrollSyncStatus,payrollEmployeeType,payGroup +clientContact-ext-1 ,clientContact-ext-1 ,clientContact-ext-1 ,location-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,bonus package,candidate-ext-1 ,10 ,10 ,This is a placement comment,2/1/2016 0:00 ,2/2/2016 0:00 ,2/3/2016 0:00 ,11 ,12 ,13 ,11 ,11 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,21 ,22 ,13 ,24 ,15 ,26 ,17 ,18 ,51 ,210 ,1/1/2016 0:00,1/2/2016 0:00,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,31 ,32 ,33 ,34 ,34 ,36 ,37 ,37 ,39 ,310 ,placement-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,8/17/2016 0:00,1/1/2016 0:00 ,8/16/2016 0:00,12/31/2016 0:00,10 ,2 ,52 ,W4 ,Full-Time ,10 ,11 ,9 to 5 ,8 ,housing status,invoice group name,jobOrder-ext-1 ,10 ,12345678-1234-1234-1234-1234567890AB,options package,1 ,10 ,other hourly fee comments,15 ,5 ,1000000,project code list,20 ,1000 ,referral fee type,10 ,John Smith,100000,Per Hour ,10 ,clientContact-ext-1 ,Submitted,35 ,MA ,termination reason,clientCorporation-ext-1 ,1 ,123456 ,placement-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,3 ,1/1/2022 0:00 ,TRUE ,TRUE ,FALSE ,TRUE ,ABC ,3 ,1 ,2 ,Monthly From e8c07d6644029c9eea5255b1a8e2fcccc8e4bca7 Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Mon, 7 Aug 2023 13:53:03 -0500 Subject: [PATCH 10/13] Fixing minor code style --- src/test/java/com/bullhorn/dataloader/task/ExportTaskTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/com/bullhorn/dataloader/task/ExportTaskTest.java b/src/test/java/com/bullhorn/dataloader/task/ExportTaskTest.java index 25ba4b08..b2c2b183 100644 --- a/src/test/java/com/bullhorn/dataloader/task/ExportTaskTest.java +++ b/src/test/java/com/bullhorn/dataloader/task/ExportTaskTest.java @@ -141,8 +141,7 @@ public void testRunFailureNoExistField() throws Exception { task.run(); Result expectedResult = Result.failure(new DataLoaderException(ErrorInfo.MISSING_SETTING, - "" - + "Cannot perform export because exist field is not specified for entity: Candidate")); + "Cannot perform export because exist field is not specified for entity: Candidate")); verify(csvFileWriterMock, times(1)).writeRow(any(), eq(expectedResult)); TestUtils.verifyActionTotals(actionTotalsMock, Result.Action.FAILURE, 1); } From 74beb93b748c74638d19fe6011e67d488ee2bb24 Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Mon, 7 Aug 2023 15:13:19 -0500 Subject: [PATCH 11/13] Additional fields --- examples/load/Placement.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/load/Placement.csv b/examples/load/Placement.csv index 20587ed3..734462b2 100644 --- a/examples/load/Placement.csv +++ b/examples/load/Placement.csv @@ -1,2 +1,2 @@ -approvingClientContact.externalID,backupApprovingClientContact.externalID,billingClientContact.externalID,location.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage ,candidate.externalID,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateBegin ,dateClientEffective,dateEffective ,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentType,fee,flatFee,hoursOfOperation,hoursPerDay,housingStatus ,invoiceGroupName ,jobOrder.externalID,markUpPercentage,migrateGUID ,optionsPackage ,otExemption,otherHourlyFee,otherHourlyFeeComments ,overtimeMarkUpPercentage,overtimeRate,payRate,projectCodeList ,recruitingManagerPercentGrossMargin,referralFee,referralFeeType ,reportedMargin,reportTo ,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,taxRate,taxState,terminationReason ,vendorClientCorporation.externalID,workWeekStart,housingManagerID,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,bteSyncStatus,lastBteSyncDate,isWorkFromHome,isMultirate,quitJob,canEnterTime,benefitGroup,clientRating,payrollSyncStatus,payrollEmployeeType,payGroup -clientContact-ext-1 ,clientContact-ext-1 ,clientContact-ext-1 ,location-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,bonus package,candidate-ext-1 ,10 ,10 ,This is a placement comment,2/1/2016 0:00 ,2/2/2016 0:00 ,2/3/2016 0:00 ,11 ,12 ,13 ,11 ,11 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,21 ,22 ,13 ,24 ,15 ,26 ,17 ,18 ,51 ,210 ,1/1/2016 0:00,1/2/2016 0:00,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,31 ,32 ,33 ,34 ,34 ,36 ,37 ,37 ,39 ,310 ,placement-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,8/17/2016 0:00,1/1/2016 0:00 ,8/16/2016 0:00,12/31/2016 0:00,10 ,2 ,52 ,W4 ,Full-Time ,10 ,11 ,9 to 5 ,8 ,housing status,invoice group name,jobOrder-ext-1 ,10 ,12345678-1234-1234-1234-1234567890AB,options package,1 ,10 ,other hourly fee comments,15 ,5 ,1000000,project code list,20 ,1000 ,referral fee type,10 ,John Smith,100000,Per Hour ,10 ,clientContact-ext-1 ,Submitted,35 ,MA ,termination reason,clientCorporation-ext-1 ,1 ,123456 ,placement-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,3 ,1/1/2022 0:00 ,TRUE ,TRUE ,FALSE ,TRUE ,ABC ,3 ,1 ,2 ,Monthly +approvingClientContact.externalID,backupApprovingClientContact.externalID,billingClientContact.externalID,location.externalID,generalLedgerSegment1 ,generalLedgerSegment2 ,generalLedgerSegment3 ,generalLedgerSegment4 ,generalLedgerSegment5 ,billingFrequency,bonusPackage ,candidate.externalID,clientBillRate,clientOvertimeRate,comments ,correlatedCustomDate1,correlatedCustomDate2,correlatedCustomDate3,correlatedCustomFloat1,correlatedCustomFloat2,correlatedCustomFloat3,correlatedCustomInt1,correlatedCustomInt2,correlatedCustomInt3,correlatedCustomText1 ,correlatedCustomText2 ,correlatedCustomText3 ,correlatedCustomText4 ,correlatedCustomText5 ,correlatedCustomText6 ,correlatedCustomText7 ,correlatedCustomText8 ,correlatedCustomText9 ,correlatedCustomText10 ,correlatedCustomTextBlock1 ,correlatedCustomTextBlock2 ,correlatedCustomTextBlock3 ,costCenter ,customBillRate1,customBillRate2,customBillRate3,customBillRate4,customBillRate5,customBillRate6,customBillRate7,customBillRate8,customBillRate9,customBillRate10,customDate1 ,customDate2 ,customDate3 ,customDate4 ,customDate5 ,customDate6 ,customDate7 ,customDate8 ,customDate9 ,customDate10 ,customDate11 ,customDate12 ,customDate13 ,customFloat1,customFloat2,customFloat3,customFloat4,customFloat5,customFloat6,customFloat7,customFloat8,customFloat9,customFloat10,customFloat11,customFloat12,customFloat13,customFloat14,customFloat15,customFloat16,customFloat17,customFloat18,customFloat19,customFloat20,customFloat21,customFloat22,customFloat23,customInt1,customInt2,customInt3,customInt4,customInt5,customInt6,customInt7,customInt8,customInt9,customInt10,customInt11,customInt12,customInt13,customInt14,customInt15,customInt16,customInt17,customInt18,customInt19,customInt20,customInt21,customInt22,customInt23,customPayRate1,customPayRate2,customPayRate3,customPayRate4,customPayRate5,customPayRate6,customPayRate7,customPayRate8,customPayRate9,customPayRate10,customText1 ,customText2 ,customText3 ,customText4 ,customText5 ,customText6 ,customText7 ,customText8 ,customText9 ,customText10 ,customText11 ,customText12 ,customText13 ,customText14 ,customText15 ,customText16 ,customText17 ,customText18 ,customText19 ,customText20 ,customText21 ,customText22 ,customText23 ,customText24 ,customText25 ,customText26 ,customText27 ,customText28 ,customText29 ,customText30 ,customText31 ,customText32 ,customText33 ,customText34 ,customText35 ,customText36 ,customText37 ,customText38 ,customText39 ,customText40 ,customText41 ,customText42 ,customText43 ,customText44 ,customText45 ,customText46 ,customText47 ,customText48 ,customText49 ,customText50 ,customText51 ,customText52 ,customText53 ,customText54 ,customText55 ,customText56 ,customText57 ,customText58 ,customText59 ,customText60 ,customTextBlock1 ,customTextBlock2 ,customTextBlock3 ,customTextBlock4 ,customTextBlock5 ,customTextBlock6 ,customTextBlock7 ,customTextBlock8 ,customTextBlock9 ,customTextBlock10 ,dateBegin ,dateClientEffective,dateEffective ,dateEnd ,daysGuaranteed,daysProRated,durationWeeks,employeeType,employmentStartDate,employmentType,fee,flatFee,hoursOfOperation,hoursPerDay,housingStatus ,invoiceGroupName ,jobOrder.externalID,markUpPercentage,migrateGUID ,optionsPackage ,otExemption,otherHourlyFee,otherHourlyFeeComments ,overtimeMarkUpPercentage,overtimeRate,payRate,projectCodeList ,recruitingManagerPercentGrossMargin,referralFee,referralFeeType ,reportedMargin,reportTo ,salary,salaryUnit,salesManagerPercentGrossMargin,statementClientContact.externalID,status ,taxRate,taxState,terminationReason ,vendorClientCorporation.externalID,workWeekStart,housingManagerID,customEncryptedText1,customEncryptedText2 ,customEncryptedText3 ,customEncryptedText4 ,customEncryptedText5 ,customEncryptedText6 ,customEncryptedText7 ,customEncryptedText8 ,customEncryptedText9 ,customEncryptedText10 ,bteSyncStatus,lastBteSyncDate,isWorkFromHome,isMultirate,quitJob,canEnterTime,benefitGroup,clientRating,payrollSyncStatus,payrollEmployeeType,payGroup +clientContact-ext-1 ,clientContact-ext-1 ,clientContact-ext-1 ,location-ext-1 ,generalLedgerSegment1-ext-1,generalLedgerSegment2-ext-1,generalLedgerSegment3-ext-1,generalLedgerSegment4-ext-1,generalLedgerSegment5-ext-1,Monthly ,bonus package,candidate-ext-1 ,10 ,10 ,This is a placement comment,2/1/2016 0:00 ,2/2/2016 0:00 ,2/3/2016 0:00 ,11 ,12 ,13 ,11 ,11 ,13 ,correlated custom text field 1,correlated custom text field 2,correlated custom text field 3,correlated custom text field 4,correlated custom text field 5,correlated custom text field 6,correlated custom text field 7,correlated custom text field 8,correlated custom text field 9,correlated custom text field 10,correlated custom text block 1,correlated custom text block 2,correlated custom text block 3,cost center,21 ,22 ,13 ,24 ,15 ,26 ,17 ,18 ,51 ,210 ,1/1/2016 0:00,1/2/2016 0:00,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1/6/2016 0:00,1/7/2016 0:00,1/8/2016 0:00,1/9/2016 0:00,1/10/2016 0:00,1/11/2016 0:00,1/12/2016 0:00,1/13/2016 0:00,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,31 ,32 ,33 ,34 ,34 ,36 ,37 ,37 ,39 ,310 ,placement-ext-1,custom text field 2,custom text field 3,custom text field 4,custom text field 5,custom text field 6,custom text field 7,custom text field 8,custom text field 9,custom text field 10,custom text field 11,custom text field 12,custom text field 13,custom text field 14,custom text field 15,custom text field 16,custom text field 17,custom text field 18,custom text field 19,custom text field 20,custom text field 21,custom text field 22,custom text field 23,custom text field 24,custom text field 25,custom text field 26,custom text field 27,custom text field 28,custom text field 29,custom text field 30,custom text field 31,custom text field 32,custom text field 33,custom text field 34,custom text field 35,custom text field 36,custom text field 37,custom text field 38,custom text field 39,custom text field 40,custom text field 41,custom text field 42,custom text field 43,custom text field 44,custom text field 45,custom text field 46,custom text field 47,custom text field 48,custom text field 49,custom text field 50,custom text field 51,custom text field 52,custom text field 53,custom text field 54,custom text field 55,custom text field 56,custom text field 57,custom text field 58,custom text field 59,custom text field 60,custom text block 1,custom text block 2,custom text block 3,custom text block 4,custom text block 5,custom text block 6,custom text block 7,custom text block 8,custom text block 9,custom text block 10,8/17/2016 0:00,1/1/2016 0:00 ,8/16/2016 0:00,12/31/2016 0:00,10 ,2 ,52 ,W4 , 1/1/2023 0:00,Full-Time ,10 ,11 ,9 to 5 ,8 ,housing status,invoice group name,jobOrder-ext-1 ,10 ,12345678-1234-1234-1234-1234567890AB,options package,1 ,10 ,other hourly fee comments,15 ,5 ,1000000,project code list,20 ,1000 ,referral fee type,10 ,John Smith,100000,Per Hour ,10 ,clientContact-ext-1 ,Submitted,35 ,MA ,termination reason,clientCorporation-ext-1 ,1 ,123456 ,placement-1-e-ext-1 ,custom encrypted text field 2,custom encrypted text field 3,custom encrypted text field 4,custom encrypted text field 5,custom encrypted text field 6,custom encrypted text field 7,custom encrypted text field 8,custom encrypted text field 9,custom encrypted text field 10,3 ,1/1/2022 0:00 ,TRUE ,TRUE ,FALSE ,TRUE ,ABC ,3 ,1 ,2 ,Monthly From aaf0cf941d6cfe55adf19cc916af7cc73a08cf3a Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Wed, 9 Aug 2023 09:12:14 -0500 Subject: [PATCH 12/13] Fix fields in SDK-REST --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 25fc2b57..25c51600 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ com.bullhorn sdk-rest - 2.1.0 + 2.1.1 jdk8 From 6f5f4c0a464a4e5e39d5cc6fb9ebdbdf89c14d2f Mon Sep 17 00:00:00 2001 From: Nathan Dickerson Date: Wed, 9 Aug 2023 09:22:03 -0500 Subject: [PATCH 13/13] Using common String Const --- .../java/com/bullhorn/dataloader/util/MethodUtil.java | 8 ++++---- .../java/com/bullhorn/dataloader/util/StringConsts.java | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java index 3355c621..89e18b47 100644 --- a/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java +++ b/src/main/java/com/bullhorn/dataloader/util/MethodUtil.java @@ -41,7 +41,7 @@ private static Map getGetterMethodMap(Class anyClass) { for (Method method : anyClass.getMethods()) { if ("get".equalsIgnoreCase(method.getName().substring(0, 3))) { String name = method.getName().substring(3).toLowerCase(); - String altName = "is" + name; + String altName = StringConsts.IS + name; if (!fieldNames.contains(name) && fieldNames.contains(altName)) { getterMethodMap.put(altName, method); } else { @@ -68,7 +68,7 @@ public static Map getSetterMethodMap(Class anyClass) { for (Method method : anyClass.getMethods()) { if ("set".equalsIgnoreCase(method.getName().substring(0, 3))) { String name = method.getName().substring(3).toLowerCase(); - String altName = "is" + name; + String altName = StringConsts.IS + name; if (!fieldNames.contains(name) && fieldNames.contains(altName)) { setterMethodMap.put(altName, method); } else { @@ -190,8 +190,8 @@ public static Object convertStringToObject(String value, Class type, DateTimeFor */ public static String getFieldNameFromMethod(Method method, String name) { String nameFromMethod = method.getName().substring(3); - if (name.toLowerCase().equals("is" + nameFromMethod.toLowerCase())) { - return "is" + nameFromMethod; + if (name.toLowerCase().equals(StringConsts.IS + nameFromMethod.toLowerCase())) { + return StringConsts.IS + nameFromMethod; } return WordUtils.uncapitalize(nameFromMethod); } diff --git a/src/main/java/com/bullhorn/dataloader/util/StringConsts.java b/src/main/java/com/bullhorn/dataloader/util/StringConsts.java index 6e7483fd..09a1d61d 100644 --- a/src/main/java/com/bullhorn/dataloader/util/StringConsts.java +++ b/src/main/java/com/bullhorn/dataloader/util/StringConsts.java @@ -21,6 +21,7 @@ public class StringConsts { public static final String EXTERNAL_ID = "externalID"; public static final String FIRST_NAME = "firstName"; public static final String ID = "id"; + public static final String IS = "is"; public static final String IS_DELETED = "isDeleted"; public static final String IS_RESUME = "isResume"; public static final String LAST_NAME = "lastName";