Fixed: Error on quick ship complete order
When we try to quick ship entire order from the Order Manager, the following
error is thrown (in some cases, specifically when we have added a telecom number
for the customer
This was broken by
Thanks: Priya Sharma
@@ -303,7 +303,7 @@ def setShipmentSettingsFromPrimaryOrder() {
List destTelecomOrdercontactMechs = EntityUtil.filterByAnd(orderContactMechs,
[contactMechPurposeTypeId: "PHONE_SHIPPING"])
if (destTelecomOrdercontactMechs) {
- shipment.destinationTeelcomNumberId = destTelecomOrdercontactMechs[0].contactMechId
+ shipment.destinationTelecomNumberId = destTelecomOrdercontactMechs[0].contactMechId
} else {
// use the first unexpired phone number of the shipment partyIdTo
GenericValue phoneNumber = from("PartyAndTelecomNumber")
