Commit eb2d3a4e authored by ppatro's avatar ppatro

issue tracker 295 & 297


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93797 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3334d76d
...@@ -879,6 +879,8 @@ public class PickIssIC extends ValidatorEJB implements PickIssICLocal, PickIssIC ...@@ -879,6 +879,8 @@ public class PickIssIC extends ValidatorEJB implements PickIssICLocal, PickIssIC
errFields.add( childNodeName.toLowerCase() ); errFields.add( childNodeName.toLowerCase() );
// end 26/10/11 manoharan all the errors should be returned so that warnings can be processed // end 26/10/11 manoharan all the errors should be returned so that warnings can be processed
} }
}//End pick_order validation }//End pick_order validation
else if ( "pick_type".equalsIgnoreCase( childNodeName ) ) else if ( "pick_type".equalsIgnoreCase( childNodeName ) )
{ {
...@@ -1805,7 +1807,24 @@ public class PickIssIC extends ValidatorEJB implements PickIssICLocal, PickIssIC ...@@ -1805,7 +1807,24 @@ public class PickIssIC extends ValidatorEJB implements PickIssICLocal, PickIssIC
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
String comleteStatus = "";
sql = "SELECT STATUS FROM PICK_ORD_HDR WHERE PICK_ORDER = ?";
pstmt = conn.prepareStatement( sql );
pstmt.setString( 1, pickOrdIss );
rs = pstmt.executeQuery();
if( rs.next() )
{
comleteStatus = rs.getString("STATUS");
}
rs.close(); rs = null;
pstmt.close(); pstmt = null;
System.out.println("Current Pick Status ["+comleteStatus+"]["+pickOrdIss+"]");
if("C".equalsIgnoreCase(comleteStatus))
{
errList.add( "VTPICKCOMP" );
errFields.add( childNodeName.toLowerCase() );
}
} }
//Changed by Rohan on 29-10-12 to add warinig message in depended repanishment not scan.end //Changed by Rohan on 29-10-12 to add warinig message in depended repanishment not scan.end
......
...@@ -8867,6 +8867,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -8867,6 +8867,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Chnaged by Rohan on 21-08-13 for shipAddrs 3 is blank then set address 2.end //Chnaged by Rohan on 21-08-13 for shipAddrs 3 is blank then set address 2.end
recipient.setCity(shipCity);//Customer Adress City recipient.setCity(shipCity);//Customer Adress City
recipient.setState(stateCodeDlv);//Customer Adress State recipient.setState(stateCodeDlv);//Customer Adress State
//Changed By Pragyan to overcome from postal code error
shipCountry = shipCountry!=null?shipCountry.trim():"";
Country country = soap.getCountry("ISO3", shipCountry).getResponseCountry(); Country country = soap.getCountry("ISO3", shipCountry).getResponseCountry();
recipient.setCountry(country);//Customer Adress Country recipient.setCountry(country);//Customer Adress Country
...@@ -10686,6 +10688,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -10686,6 +10688,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
comInfo.setHarmonizedCode(harmonizCode);//As per Taro Haromonization code comInfo.setHarmonizedCode(harmonizCode);//As per Taro Haromonization code
comInfo.setUnitValue(unitValue); comInfo.setUnitValue(unitValue);
comInfo.setUnitWeight(caseWeight); comInfo.setUnitWeight(caseWeight);
originCountry = originCountry!=null?originCountry.trim():"";
Country originCountryMfg = soap.getCountry("ISO3", originCountry).getResponseCountry(); Country originCountryMfg = soap.getCountry("ISO3", originCountry).getResponseCountry();
comInfo.setOriginCountry(originCountryMfg); comInfo.setOriginCountry(originCountryMfg);
//change by rekha on 31-05-13 start //change by rekha on 31-05-13 start
...@@ -10923,6 +10926,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -10923,6 +10926,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
comInfo.setHarmonizedCode(harmonizCode);//As per Taro Haromonization code comInfo.setHarmonizedCode(harmonizCode);//As per Taro Haromonization code
comInfo.setUnitValue(unitValue); comInfo.setUnitValue(unitValue);
comInfo.setUnitWeight(itemWeight); comInfo.setUnitWeight(itemWeight);
originCountry = originCountry!=null?originCountry.trim():"";
Country originCountryMfg = soap.getCountry("ISO3", originCountry).getResponseCountry(); Country originCountryMfg = soap.getCountry("ISO3", originCountry).getResponseCountry();
comInfo.setOriginCountry(originCountryMfg); comInfo.setOriginCountry(originCountryMfg);
...@@ -12451,6 +12455,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -12451,6 +12455,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
comInfo.setHarmonizedCode(harmonizCode);//As per Taro Haromonization code comInfo.setHarmonizedCode(harmonizCode);//As per Taro Haromonization code
comInfo.setUnitValue(unitValue); comInfo.setUnitValue(unitValue);
comInfo.setUnitWeight(itemWeight); comInfo.setUnitWeight(itemWeight);
originCountry = originCountry!=null?originCountry.trim():"";
Country originCountryMfg = soap.getCountry("ISO3", originCountry).getResponseCountry(); Country originCountryMfg = soap.getCountry("ISO3", originCountry).getResponseCountry();
comInfo.setOriginCountry(originCountryMfg); comInfo.setOriginCountry(originCountryMfg);
System.out.println("VALUES IN NAFTA VALUES "+nafFlag); System.out.println("VALUES IN NAFTA VALUES "+nafFlag);
......
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