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

Update values for Employee Salary History merge field #89

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

ghukill
Copy link
Collaborator

@ghukill ghukill commented Jul 8, 2024

Purpose and background context

After possible updates to data warehouse data coming in, it was determined that additional fields were needed to mint a unique merge field 'Key' for the Employee Salary History table. By adding the HR transaction reason and type, this is enough to gaurantee the merge field is unique.

How this addresses that need:

  • Adds Related Salary Change Type and Salary Change Reason as fields for minting unique key

How can a reviewer manually see the effects of these changes?

Not readily doable. See updated test to observe new fields added to MD5 hashing for Key field.

Includes new or updated dependencies?

NO

Changes expectations for external applications?

  • All records were truncated from Quickbase and recreated as this change effects the unique merge field

What are the relevant tickets?

  • None

Developer

  • All new ENV is documented in README
  • All new ENV has been added to staging and production environments
  • All related Jira tickets are linked in commit message(s)
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer(s)

  • The commit message is clear and follows our guidelines (not just this PR message)
  • There are appropriate tests covering any new functionality
  • The provided documentation is sufficient for understanding any new functionality introduced
  • Any manual tests have been performed or provided examples verified
  • New dependencies are appropriate or there were no changes

Why these changes are being introduced:

After possible updates to data warehouse data coming in,
it was determined that additional fields were needed to
mint a unique merge field 'Key' for the Employee Salary
History table.  By adding the HR transaction reason and
type, this is enough to gaurantee the merge field is
unique.

How this addresses that need:
* Adds 'Related Salary Change Type' and 'Salary Change Reason'
as fields for minting unique key

Side effects of this change:
* All records were truncated from Quickbase and recreated
as this change effects the unique merge field

Relevant ticket(s):
* None
Comment on lines +61 to +66
str(row.appointment_begin_date),
str(row.appointment_end_date),
str(row.hr_personnel_action),
str(row.hr_action_reason),
str(row.start_date),
str(row.end_date),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was also learned that dates and/or reasons can be NULL coming from the data warehouse (again, maybe new?) and so stringify-ing them here just to be safe.

Copy link

@ehanson8 ehanson8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ghukill ghukill merged commit 4f652ea into main Jul 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants