Commit 45f340fc authored by cpatil's avatar cpatil

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99841 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6a1bcb5c
......@@ -856,6 +856,8 @@ public class ShipmentLocIC extends ValidatorEJB implements ShipmentLocICLocal, S
Timestamp despDate=null;
double netWeightCIss=0;
String stnCode="";
try
{
......@@ -916,6 +918,13 @@ public class ShipmentLocIC extends ValidatorEJB implements ShipmentLocICLocal, S
valueXmlString.append("<lr_date><![CDATA[" ).append(sysDate).append("]]></lr_date>\r\n" );
stnCode = setDescription("stan_code", "site" , "site_code", loginSiteCode, conn);
valueXmlString.append("<stan_code__from>").append("<![CDATA["+stnCode+"]]>").append("</stan_code__from>");
stanCodeDescr = setDescription("descr", "station" , "stan_code", stnCode, conn);
valueXmlString.append("<station_a_descr>").append("<![CDATA["+stanCodeDescr+"]]>").append("</station_a_descr>");
}
else if(currentColumn.trim().equalsIgnoreCase("site_code"))
{
......@@ -1240,6 +1249,17 @@ public class ShipmentLocIC extends ValidatorEJB implements ShipmentLocICLocal, S
valueXmlString.append("<total_freight>").append("<![CDATA["+freightAmt+"]]>").append("</total_freight>");
} //end if
else // set null if null
{
valueXmlString.append("<transit_type>").append("").append("</transit_type>");
valueXmlString.append("<std_pick_up>").append("").append("</std_pick_up>");
valueXmlString.append("<std_transit_time>").append("").append("</std_transit_time>");
valueXmlString.append("<freight_type>").append("").append("</freight_type>");
valueXmlString.append("<freight_rate>").append("").append("</freight_rate>");
valueXmlString.append("<min_value>").append("").append("</min_value>");
valueXmlString.append("<freight_amt>").append("0.000").append("</freight_amt>");
valueXmlString.append("<total_freight>").append("0.000").append("</total_freight>");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment