Ticket #1001758: FedEx & UPS - update C_Order.IsPriviledgedRate to match the parameter passed in during sales order rate inquiry process

This commit is contained in:
Elaine Tan 2013-03-06 16:42:20 +08:00
parent 7be4abcace
commit efa7aa1ec3
1 changed files with 7 additions and 1 deletions

View File

@ -166,6 +166,12 @@ public class SalesOrderRateInquiryProcess extends SvrProcess
freightLine.setQty(BigDecimal.ONE);
freightLine.setPrice(st.getPrice());
freightLine.saveEx();
if (m_order.isPriviledgedRate() != p_IsPriviledgedRate)
{
m_order.setIsPriviledgedRate(p_IsPriviledgedRate);
m_order.saveEx();
}
}
}
else