Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
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