Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(TaxForms): Added support for Tax Form entities #391

Merged
merged 1 commit into from
Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion dataloader.properties
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ loginUrl=https://rest.bullhornstaffing.com/rest-services/login
#candidateWorkHistoryExistField=customText1
#clientContactExistField=externalID
#clientCorporationExistField=externalID
#federalTaxFormExistField=customText1
#generalLedgerAccountExistField=externalAccountNumber
#generalLedgerSegment1ExistField=externalSegmentName
#generalLedgerSegment2ExistField=externalSegmentName
Expand All @@ -83,18 +84,20 @@ loginUrl=https://rest.bullhornstaffing.com/rest-services/login
#generalLedgerSegment5ExistField=externalSegmentName
#generalLedgerServiceCodeExistField=externalServiceCodeName
#housingComplexExistField=customText1
#jobOrderExistField=externalID
#invoiceStatementMessageTemplateExistField=name
#invoiceTermExistField=externalID
#jobOrderExistField=externalID
#jobSubmissionExistField=customText1
#leadExistField=customText1
#localTaxFormExistField=customText1
#locationExistField=externalID
#noteExistField=externalID
#opportunityExistField=externalID
#placementChangeRequestExistField=customText1
#placementCommissionExistField=migrateGUID
#placementExistField=customText1
#sendoutExistField=migrateGUID
#stateTaxFormExistField=customText1
#taskExistField=taskUUID
#tearsheetExistField=name

Expand Down
3 changes: 2 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ These example CSV files reference several reference only entities that must exis
* Ensure at least one Invoice Statement Template exists: https://confluence.bullhorn.com/display/WFR/Invoice+Template+Setup

* Corp Settings
* Enable leadAndOpportunityEnabled
* Enable Lead And Opportunity Enabled
* Enable Novo Tax Info Tab Enabled

* Custom Objects
* Enable ClientCorporation Custom Object Instance 1
Expand Down
2 changes: 2 additions & 0 deletions examples/load/FederalTaxFormExample.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
candidate.externalID,customDate1 ,customDate2,customDate3 ,customDate4 ,customDate5 ,customInt1,customInt2,customInt3,customInt4,customInt5,customMoney1,customMoney2,customMoney3,customMoney4,customMoney5,customText1 ,customText2,customText3,customText4,customText5,customText6,customText7,customText8,customText9,customText10,dateAdded ,federalAdditionalWithholdingsAmount,federalExemptions,federalExtraWithholdingAmount,federalFilingStatus,isDeleted,otherDeductionsAmount,otherIncomeAmount,totalDependentClaimAmount,twoJobs
candidate-ext-1 ,1/1/2016 0:00, ,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1 ,2 ,3 ,4 ,5 ,100.00 ,200.00 ,300.00 ,400.00 ,500.00 ,federalTaxForm-ext-1,customText2,customText3,customText4,customText5,customText6,customText7,customText8,customText9,customText10,1/2/16 00:00,123.45 ,2 ,100.23 ,MFJ ,FALSE ,4.56 ,201.56 ,5006.12 ,FALSE
2 changes: 2 additions & 0 deletions examples/load/LocalTaxFormExample.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
candidate.externalID,customDate1 ,customDate2,customDate3 ,customDate4 ,customDate5 ,customInt1,customInt2,customInt3,customInt4,customInt5,customMoney1,customMoney2,customMoney3,customMoney4,customMoney5,customText1 ,customText2,customText3,customText4,customText5,customText6,customText7,customText8,customText9,customText10,dateAdded ,isDeleted,localAdditionalWithholdingsAmount,localExemptions,localFilingStatus,localTaxCode,localTaxStateID
candidate-ext-1 ,1/1/2016 0:00, ,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1 ,2 ,3 ,4 ,5 ,100.00 ,200.00 ,300.00 ,400.00 ,500.00 ,localTaxForm-ext-1,customText2,customText3,customText4,customText5,customText6,customText7,customText8,customText9,customText10,1/2/16 00:00,FALSE ,4.56 ,2 ,MFS ,MFS ,123456
2 changes: 2 additions & 0 deletions examples/load/StateTaxFormExample.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
candidate.externalID,customDate1 ,customDate2,customDate3 ,customDate4 ,customDate5 ,customInt1,customInt2,customInt3,customInt4,customInt5,customMoney1,customMoney2,customMoney3,customMoney4,customMoney5,customText1 ,customText2,customText3,customText4,customText5,customText6,customText7,customText8,customText9,customText10,dateAdded ,isDeleted,stateAdditionalWithholdingsAmount,stateExemptions,stateFilingStatus,taxStateID
candidate-ext-1 ,1/1/2016 0:00, ,1/3/2016 0:00,1/4/2016 0:00,1/5/2016 0:00,1 ,2 ,3 ,4 ,5 ,100.00 ,200.00 ,300.00 ,400.00 ,500.00 ,stateTaxForm-ext-1,customText2,customText3,customText4,customText5,customText6,customText7,customText8,customText9,customText10,1/2/16 00:00,FALSE ,4.56 ,2 ,MFJ ,123456
3 changes: 3 additions & 0 deletions src/main/java/com/bullhorn/dataloader/enums/EntityInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public enum EntityInfo {
CLIENT_CONTACT(BullhornEntityInfo.CLIENT_CONTACT, 110),
LEAD(BullhornEntityInfo.LEAD, 120),
CANDIDATE(BullhornEntityInfo.CANDIDATE, 130),
FEDERAL_TAX_FORM(BullhornEntityInfo.FEDERAL_TAX_FORM, 131),
STATE_TAX_FORM(BullhornEntityInfo.STATE_TAX_FORM, 132),
LOCAL_TAX_FORM(BullhornEntityInfo.LOCAL_TAX_FORM, 133),
LOCATION(BullhornEntityInfo.LOCATION, 140),
OPPORTUNITY(BullhornEntityInfo.OPPORTUNITY, 150),
JOB_ORDER(BullhornEntityInfo.JOB_ORDER, 160),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ candidateReferenceExistField=customText1
candidateWorkHistoryExistField=customText1
clientContactExistField=externalID
clientCorporationExistField=externalID
federalTaxFormExistField=customText1
generalLedgerAccountExistField=externalAccountNumber
generalLedgerSegment1ExistField=externalSegmentName
generalLedgerSegment2ExistField=externalSegmentName
Expand All @@ -44,18 +45,20 @@ generalLedgerSegment4ExistField=externalSegmentName
generalLedgerSegment5ExistField=externalSegmentName
generalLedgerServiceCodeExistField=externalServiceCodeName
housingComplexExistField=customText1
jobOrderExistField=externalID
invoiceStatementMessageTemplateExistField=name
invoiceTermExistField=externalID
jobOrderExistField=externalID
jobSubmissionExistField=customText1
leadExistField=customText1
localTaxFormExistField=customText1
locationExistField=externalID
noteExistField=externalID
opportunityExistField=externalID
placementChangeRequestExistField=customText1
placementCommissionExistField=migrateGUID
placementExistField=customText1
sendoutExistField=migrateGUID
stateTaxFormExistField=customText1
taskExistField=taskUUID
tearsheetExistField=name

Expand Down