Commit 248b6bf8 authored by prahate's avatar prahate

When we confirm the charge back entry then records is inserted into scheme...

When we confirm the charge back entry then records is inserted into scheme balance master. At this time if same scheme name available in scheme balance then only free value  and free quantity, end period need to be updated.  

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@194960 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 07652a98
...@@ -2255,12 +2255,12 @@ public class ChargeBackLoc extends ValidatorEJB implements ChargeBackLocLocal, C ...@@ -2255,12 +2255,12 @@ public class ChargeBackLoc extends ValidatorEJB implements ChargeBackLocLocal, C
{ {
valueXmlString.append("<item_code__repl protect =\"1\"><![CDATA[").append(dummy).append("]]></item_code__repl>"); valueXmlString.append("<item_code__repl protect =\"1\"><![CDATA[").append(dummy).append("]]></item_code__repl>");
valueXmlString.append("<item_repl_descr protect =\"1\"><![CDATA[").append(dummy).append("]]></item_repl_descr>"); valueXmlString.append("<item_repl_descr protect =\"1\"><![CDATA[").append(dummy).append("]]></item_repl_descr>");
valueXmlString.append("<free_qty protect =\"1\"><![CDATA[").append(dummy).append("]]></free_qty>"); valueXmlString.append("<free_qty protect =\"1\"><![CDATA[").append(0).append("]]></free_qty>");
valueXmlString.append("<free_item_group protect =\"1\"><![CDATA[").append(dummy).append("]]></free_item_group>"); valueXmlString.append("<free_item_group protect =\"1\"><![CDATA[").append(dummy).append("]]></free_item_group>");
} }
else if(settleMethod.equalsIgnoreCase("Q")) else if(settleMethod.equalsIgnoreCase("Q"))
{ {
valueXmlString.append("<free_value protect =\"1\"><![CDATA[").append(dummy).append("]]></free_value>"); valueXmlString.append("<free_value protect =\"1\"><![CDATA[").append(0).append("]]></free_value>");
} }
} }
if (currentColumn.trim().equals("itm_defaultedit")) if (currentColumn.trim().equals("itm_defaultedit"))
...@@ -2271,12 +2271,12 @@ public class ChargeBackLoc extends ValidatorEJB implements ChargeBackLocLocal, C ...@@ -2271,12 +2271,12 @@ public class ChargeBackLoc extends ValidatorEJB implements ChargeBackLocLocal, C
{ {
valueXmlString.append("<item_code__repl protect =\"1\"><![CDATA[").append(dummy).append("]]></item_code__repl>"); valueXmlString.append("<item_code__repl protect =\"1\"><![CDATA[").append(dummy).append("]]></item_code__repl>");
valueXmlString.append("<item_repl_descr protect =\"1\"><![CDATA[").append(dummy).append("]]></item_repl_descr>"); valueXmlString.append("<item_repl_descr protect =\"1\"><![CDATA[").append(dummy).append("]]></item_repl_descr>");
valueXmlString.append("<free_qty protect =\"1\"><![CDATA[").append(dummy).append("]]></free_qty>"); valueXmlString.append("<free_qty protect =\"1\"><![CDATA[").append(0).append("]]></free_qty>");
valueXmlString.append("<free_item_group protect =\"1\"><![CDATA[").append(dummy).append("]]></free_item_group>"); valueXmlString.append("<free_item_group protect =\"1\"><![CDATA[").append(dummy).append("]]></free_item_group>");
} }
else if(settleMethod.equalsIgnoreCase("Q")) else if(settleMethod.equalsIgnoreCase("Q"))
{ {
valueXmlString.append("<free_value protect =\"1\"><![CDATA[").append(dummy).append("]]></free_value>"); valueXmlString.append("<free_value protect =\"1\"><![CDATA[").append(0).append("]]></free_value>");
} }
} }
else if (currentColumn.trim().equals("item_code")) else if (currentColumn.trim().equals("item_code"))
......
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