-
Notifications
You must be signed in to change notification settings - Fork 35
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
B-21583 - update code to calculate gbloc for AK #14388
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing some INT specific commits, specifically:
this one
this one (although it looks like this code is in here
Other than a couple merge conflicts that are INT specific, rest looks good.
Daniel, what aren't you seeing? Comparing code, I don't see any diffs and see all these changes here in the Main PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prob cause my coffee hadn't kicked in yet.
The commit hashes were different, but upon second look it seems that all the code is there. Good widdit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as INT
Agility ticket
Previous INT PR
Revert of above INT PR
INT PR again
Summary
When a move is created that has an Alaska duty location, we need to make it so it routes to the right GBLOC for that zone.
Needs to move through SC, TOO, TIO and show in the correct GBLOC for each queue.
How to test
There is some sql below too to help make sure your city/zip is pulling back the correct GBLOC you expect.
*See the attached spreadsheet of AK cities in the Agility story.
Zones:
SQL to run for zone/gbloc on addresses:
select j.code gbloc, j.name jppso, r.code rate_area, r.name rate_area_name, g.department_indicator, g.shipment_type
from addresses a, v_locations v, re_oconus_rate_areas o, re_rate_areas r, jppso_regions j, gbloc_aors g
where a.id = 'put_your_addr_id_here'
and a.us_post_region_cities_id = v.uprc_id
and v.uprc_id = o.us_post_region_cities_id
and o.rate_area_id = r.id
and o.id = g.oconus_rate_area_id
and j.id = g.jppso_regions_id;