Change Shipment.additionalShippingChargeDesc to addtlShippingChargeDesc instead of using the col-name attribute

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573572 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Si Chen
2007-09-07 13:19:34 +00:00
parent 6548a71c1e
commit 784e657972
2 changed files with 2 additions and 2 deletions
@@ -1352,7 +1352,7 @@ public class InvoiceServices {
Map createOrderAdjustmentContext = new HashMap();
createOrderAdjustmentContext.put("orderId", orderId);
createOrderAdjustmentContext.put("orderAdjustmentTypeId", "SHIPPING_CHARGES");
String addtlChargeDescription = shipment.getString("additionalShippingChargeDesc");
String addtlChargeDescription = shipment.getString("addtlShippingChargeDesc");
if (UtilValidate.isEmpty(addtlChargeDescription)) {
addtlChargeDescription = UtilProperties.getMessage(resource, "AccountingAdditionalShippingChargeForShipment", UtilMisc.toMap("shipmentId", shipmentId), locale);
}
@@ -545,7 +545,7 @@ under the License.
<field name="partyIdTo" type="id"></field>
<field name="partyIdFrom" type="id"></field>
<field name="additionalShippingCharge" type="currency-amount"></field>
<field name="additionalShippingChargeDesc" type="long-varchar" col-name="ADDTL_SHIPPING_CHARGE_DESC"></field>
<field name="addtlShippingChargeDesc" type="long-varchar"></field>
<field name="createdDate" type="date-time"></field>
<field name="createdByUserLogin" type="id-vlong"></field>
<field name="lastModifiedDate" type="date-time"></field>