In delivery_ups module --> ups_request.py --> under def send_shipping() function and def get_shipping_price() function.
I have mentioned ResidentialAddressIndicator as True. Which takes the True/False Value from a boolean field on Customer Master Template (from where we fill customer/company address details along with shipping,incoice and other contacts)
From the UPS Webservices developer guide(https://www.ups.com/upsdeveloperkit?loc=en_CA), the place to push that information is: /RateRequest/Shipment/ShipTo/Address/ResidentialAddressIndicator
and with pdb shell, while debugging, when i print shipment data, I see output given below:
(ShipmentType){
Shipper =
(ShipperType){
Name = "BizPins"
ShipperNumber = "031V52"
Address =
(AddressType){
AddressLine[] =
"2111 Big Timber Rd",
"",
City = "Elgin"
StateProvinceCode = "IL"
PostalCode = "60123"
CountryCode = "US"
}
}
ShipTo =
(ShipToType){
Name = "Heather Holm"
Address =
(ShipToAddressType){
AddressLine[] =
"101 Commerce St.",
"",
City = "Oshkosh"
StateProvinceCode = "WI"
PostalCode = "54901-4864"
CountryCode = "US"
ResidentialAddressIndicator = True
}
}
but I'm not getting any difference in shipping rates.
The response output from pdb shell is:
RatedShipment[] =
(RatedShipmentType){
Service =
(CodeDescriptionType){
Code = "03"
Description = None
}
RatedShipmentAlert[] =
(RatedShipmentInfoType){
Code = "110971"
Description = "Your invoice may vary from the displayed reference rates"
},
(RatedShipmentInfoType){
Code = "110920"
Description = "Ship To Address Classification is changed from Residential to Commercial"
},
And searching for warning code 110920, I saw that this comes up when user indicated Residential Address is different from AMS Classification. I don't know what "AMS Classification" means?
Any Help or Lead, if possible?
Thanks