Commit 56c1edde authored by ngadkari's avatar ngadkari

TAX CHAP change on item code item change

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214422 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d1ab0b20
...@@ -9064,7 +9064,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote, ...@@ -9064,7 +9064,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
// ls_taxenvhdr = dw_header.getitemstring(1,"tax_env") // ls_taxenvhdr = dw_header.getitemstring(1,"tax_env")
ls_taxenvhdr = checkNull(genericUtility.getColumnValue("tax_env", dom1)); ls_taxenvhdr = checkNull(genericUtility.getColumnValue("tax_env", dom1));
if (ls_taxchap == null || ls_taxchap.trim().length() == 0) { /*if (ls_taxchap == null || ls_taxchap.trim().length() == 0) {
if (ls_taxchaphdr == null || ls_taxchaphdr.trim().length() == 0) { if (ls_taxchaphdr == null || ls_taxchaphdr.trim().length() == 0) {
// dw_detedit[ii_currformno].setitem(1, "tax_chap", // dw_detedit[ii_currformno].setitem(1, "tax_chap",
// gf_get_taxchap(ls_itemCode, ls_itemser, 'S', // gf_get_taxchap(ls_itemCode, ls_itemser, 'S',
...@@ -9078,8 +9078,19 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote, ...@@ -9078,8 +9078,19 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
valueXmlString.append("<tax_chap>").append("<![CDATA[" + ls_taxchaphdr + "]]>") valueXmlString.append("<tax_chap>").append("<![CDATA[" + ls_taxchaphdr + "]]>")
.append("</tax_chap>"); .append("</tax_chap>");
} // end if } // end if
} // end if } // end if //commented by nandkumar gadkari on 02/01/20
*/
// taxchap condition added by by nandkumar gadkari on 02/01/20
ls_taxchap=checkNull(distComm.getTaxChap(ls_itemCode, ls_itemser, "S", ls_suppcode, ls_sitecode, conn));
if (ls_taxchap == null || ls_taxchap.trim().length() == 0)
{
valueXmlString.append("<tax_chap>").append("<![CDATA[" + ls_taxchaphdr + "]]>").append("</tax_chap>");
}
else
{
valueXmlString.append("<tax_chap>").append("<![CDATA[" + ls_taxchap + "]]>").append("</tax_chap>");
}
if (ls_taxclass == null || ls_taxclass.trim().length() == 0) { if (ls_taxclass == null || ls_taxclass.trim().length() == 0) {
if (ls_taxclasshdr == null || ls_taxclasshdr.trim().length() == 0) { if (ls_taxclasshdr == null || ls_taxclasshdr.trim().length() == 0) {
// dw_detedit[ii_currformno].setitem(1, "tax_class", // dw_detedit[ii_currformno].setitem(1, "tax_class",
......
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