Commit 80ae09d7 authored by smestry's avatar smestry

Updated the java file to generate the item code as a combination of paren_code+color_code+size_code


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103613 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 523d2825
...@@ -2198,6 +2198,11 @@ public class DDProductWizEditPosEJB extends ValidatorEJB implements DDProductWiz ...@@ -2198,6 +2198,11 @@ public class DDProductWizEditPosEJB extends ValidatorEJB implements DDProductWiz
{ {
itemParntStr = "00000".substring(item_parnt.length()) + item_parnt; itemParntStr = "00000".substring(item_parnt.length()) + item_parnt;
} }
else
{
itemParntStr = item_parnt;
}
//System.out.println("itemParntStr========>>"+itemParntStr);
// Changed by Sneha on 30-09-2016, for generating tranid as parent_code, color_code, size_code [End] // Changed by Sneha on 30-09-2016, for generating tranid as parent_code, color_code, size_code [End]
xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>"; xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
......
...@@ -1863,8 +1863,13 @@ public class DDProductWizPosEJB extends ValidatorEJB implements DDProductWizPosR ...@@ -1863,8 +1863,13 @@ public class DDProductWizPosEJB extends ValidatorEJB implements DDProductWizPosR
{ {
itemParntStr = "00000".substring(item_parnt.length()) + item_parnt; itemParntStr = "00000".substring(item_parnt.length()) + item_parnt;
} }
else
{
itemParntStr = item_parnt;
}
//System.out.println("itemParntStr========>>"+itemParntStr);
// Changed by Sneha on 30-09-2016, for generating tranid as parent_code, color_code, size_code [End] // Changed by Sneha on 30-09-2016, for generating tranid as parent_code, color_code, size_code [End]
xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>"; xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
xmlValues = xmlValues + "<Header></Header>"; xmlValues = xmlValues + "<Header></Header>";
xmlValues = xmlValues + "<Detail1>"; xmlValues = xmlValues + "<Detail1>";
......
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