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.
INT PR
Agility ticket
Summary
The powers that be want the Prime API to be able to see the destination GBLOC associated with shipment destination addresses. The GBLOC will be based off of the
uspr_zip_id
on the from theus_post_region_cities
table. It's important that every address have these values.Exceptions:
postal_code_to_gblocs
This PR does the following:
us_post_region_cities_id
- separates logic for CONUS & OCONUS shipments and exceptions for AK Zone II with USAF/USSFDestinationGbloc
value - adding adb:"-"
tells Pop to go kick rocks and it knows it's just a calculated/computed valuegetMoveTaskOrder
service object to send back the destination GBLOC on the destination addressHow to test
re_oconus_rate_areas
withWHERE rate_area_id = '5a27e806-21d4-4672-aa5e-29518f10c0aa'
to see allus_post_region_cities.id
associated with AK Zone IIdestinationGbloc
value inmtoShipments[i].destinationAddress
object in the return valueScreenshots