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

B 21558 create gbloc aors #14010

Merged
merged 7 commits into from
Oct 30, 2024
Merged

B 21558 create gbloc aors #14010

merged 7 commits into from
Oct 30, 2024

Conversation

pambecker
Copy link
Contributor

@pambecker pambecker commented Oct 24, 2024

Agility ticket

INT PR

INT PR2

Summary

Create gbloc_aors table and populate with data for AK Zones.
There is an attachment in the feature that shows the cities in each zone.
https://www13.v1host.com/USTRANSCOM38/Epic.mvc/Summary?oidToken=Epic%3A1015093

How to test

  1. You can run the below sql to validate that the correct GBLOCs are being pulled back for a select city in each zone. I just grabbed a random city in each zone but feel free to try a couple others.

select j.code gbloc, j.name jppso, r.code rate_area, r.name rate_area_name, g.department_indicator, a.city, a.postal_code
from addresses a,
v_locations v,
re_oconus_rate_areas o,
re_rate_areas r,
jppso_regions j,
gbloc_aors g
where a.id = $1 --pickup_address_id
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;

--select * from addresses a where state = 'AK'
--valid IDs to use
671aaf76-ca95-4554-aaa8-fb89fc82ef60 --Anchorage, zone 1
5549ef0c-58e4-401a-bd25-da9d7ad52d72 --Fairbanks, zone 2
e74d85a3-1be2-4206-97d6-cc35e2434d76 --Kodiak, zone 3
b323bb7a-f0ca-447a-904a-7daaffce821c --Juneau, zone 4
12ca325f-1200-4cf3-9ee5-97d34e5f7f95 --Cordova, zone 4

@pambecker pambecker self-assigned this Oct 24, 2024
@pambecker pambecker added G-Unit Scrum Team G MAIN labels Oct 24, 2024
@pambecker pambecker marked this pull request as ready for review October 29, 2024 21:29
@pambecker pambecker requested a review from a team as a code owner October 29, 2024 21:29
Copy link
Contributor

@traskowskycaci traskowskycaci left a comment

Choose a reason for hiding this comment

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

Matches int PRs, path looks good!

@pambecker pambecker merged commit f57e634 into main Oct 30, 2024
41 checks passed
@pambecker pambecker deleted the B-21558-create-gbloc-aors branch October 30, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
G-Unit Scrum Team G MAIN
Development

Successfully merging this pull request may close these issues.

6 participants