Commit a934ba15 authored by cpatil's avatar cpatil

mahendra:automatric combination filter


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100241 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8fc54146
...@@ -8,6 +8,9 @@ function finishAction( value , frm) ...@@ -8,6 +8,9 @@ function finishAction( value , frm)
//alert("======="); //alert("=======");
var reconciletype = document.getElementById("reconciletype").value; var reconciletype = document.getElementById("reconciletype").value;
//alert("reconciletype :"+reconciletype); //alert("reconciletype :"+reconciletype);
var autoReconFilter = document.getElementById("autoReconFilter").value;
//alert("autoReconFilter !!!:"+autoReconFilter);
var samplItem = []; var samplItem = [];
var method = "post"; var method = "post";
...@@ -35,11 +38,12 @@ function finishAction( value , frm) ...@@ -35,11 +38,12 @@ function finishAction( value , frm)
valueXmlString += " </Root> "; valueXmlString += " </Root> ";
samplItem["SAVE_SAMPLE_DATA"] = valueXmlString; samplItem["SAVE_SAMPLE_DATA"] = valueXmlString;
samplItem["RECONCILETYPE"] = reconciletype; samplItem["RECONCILETYPE"] = reconciletype;
samplItem["AUTORECONCILEFILTER"] = autoReconFilter;
//alert("valueXmlString :"+valueXmlString); //alert("valueXmlString :"+valueXmlString);
var urlPath="/ibase/webitm/jsp/ICRWizardSaveSample.jsp?SAVE_SAMPLE_DATA="+valueXmlString+"&RECONCILETYPE="+reconciletype; //var urlPath="/ibase/webitm/jsp/ICRWizardSaveSample.jsp?SAVE_SAMPLE_DATA="+valueXmlString+"&RECONCILETYPE="+reconciletype;
post_to_url(path, samplItem, method); post_to_url(path, samplItem, method);
/*if(returnValueStr) { /*if(returnValueStr) {
...@@ -58,9 +62,9 @@ function flterAction( value , frm) ...@@ -58,9 +62,9 @@ function flterAction( value , frm)
document.getElementById("action").value = value; document.getElementById("action").value = value;
var filterData = document.getElementById("filterData").value; var filterData = document.getElementById("filterData").value;
alert("filterData :"+filterData); //alert("filterData :"+filterData);
var filterList = document.getElementById("filterList").value; var filterList = document.getElementById("filterList").value;
alert("filterList :"+filterList); //alert("filterList :"+filterList);
if(filterData.trim().length > 0) if(filterData.trim().length > 0)
{ {
...@@ -69,7 +73,7 @@ function flterAction( value , frm) ...@@ -69,7 +73,7 @@ function flterAction( value , frm)
var method = "post"; var method = "post";
var path="/ibase/webitm/jsp/BankRecoFilterWiz.jsp"; var path="/ibase/webitm/jsp/BankRecoFilterWiz.jsp";
var bankCode=document.getElementById("bank_code").value; var bankCode=document.getElementById("bank_code").value;
alert("bankCode :"+bankCode); //alert("bankCode :"+bankCode);
/* var toTranDt=document.getElementById("to_tran_date").value; /* var toTranDt=document.getElementById("to_tran_date").value;
var siteCodeFr=document.getElementById("site_code_fr").value; var siteCodeFr=document.getElementById("site_code_fr").value;
var siteCodeTo= document.getElementById("site_code_to").value; var siteCodeTo= document.getElementById("site_code_to").value;
...@@ -263,6 +267,9 @@ function getCheckedValues(frm) { ...@@ -263,6 +267,9 @@ function getCheckedValues(frm) {
var amtAdjBT = document.getElementById("amt_adj" + cnt).innerHTML; var amtAdjBT = document.getElementById("amt_adj" + cnt).innerHTML;
//alert("amtAdjBT :"+amtAdjBT); //alert("amtAdjBT :"+amtAdjBT);
alert("@@@@@@@@@@@@@@@@@@@@@@");
var currCodeBT = document.getElementById("curr_code" + cnt).innerHTML;
alert("currCodeBT :"+currCodeBT);
} }
...@@ -321,7 +328,7 @@ function getCheckedValues(frm) { ...@@ -321,7 +328,7 @@ function getCheckedValues(frm) {
xmlData += "<amt_bc>" + amtBcBT + "</amt_bc>"; xmlData += "<amt_bc>" + amtBcBT + "</amt_bc>";
//alert("333"); //alert("333");
// xmlData += "<remarks>" + remarksBT + "</remarks>"; // xmlData += "<remarks>" + remarksBT + "</remarks>";
xmlData += "<curr_code>" + cctrCodeBT + "</curr_code>"; xmlData += "<curr_code>" + currCodeBT + "</curr_code>";
//alert("444"); //alert("444");
xmlData += "<amt_bt>" + amtBT + "</amt_bt>"; xmlData += "<amt_bt>" + amtBT + "</amt_bt>";
//alert("555"); //alert("555");
......
...@@ -17,12 +17,15 @@ ...@@ -17,12 +17,15 @@
//String selectedItems = ( String ) request.getParameter("SELECTED_ITEM"); //String selectedItems = ( String ) request.getParameter("SELECTED_ITEM");
String saveSampleData = ( String ) request.getParameter("SAVE_SAMPLE_DATA"); String saveSampleData = ( String ) request.getParameter("SAVE_SAMPLE_DATA");
String reconcileType = ( String ) request.getParameter("RECONCILETYPE"); String reconcileType = ( String ) request.getParameter("RECONCILETYPE");
String autoReconFilter = ( String ) request.getParameter("AUTORECONCILEFILTER");
System.out.println("autoReconFilter:"+autoReconFilter);
//String divData = ( String ) request.getParameter("div_data");// div_data //String divData = ( String ) request.getParameter("div_data");// div_data
//String xslFileName = getXSLFileName("mrp_run_wiz4_wiz_en_US_A.xsl"); //String xslFileName = getXSLFileName("mrp_run_wiz4_wiz_en_US_A.xsl");
//System.out.println("saveSampleData["+saveSampleData+"]"); //System.out.println("saveSampleData["+saveSampleData+"]");
//String htmlData = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, selectedSampleItems, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" ); //String htmlData = ( new ibase.webitm.utility.GenericUtility() ).transformToString( xslFileName, selectedSampleItems, CommonConstants.APPLICATION_CONTEXT + File.separator + "temp", "Output", ".html" );
// String htmlData = MRPWizardBean.getSalesPersSampleItemList( salesPers, strgCode, selectedItems, selectedSampleItems ); // String htmlData = MRPWizardBean.getSalesPersSampleItemList( salesPers, strgCode, selectedItems, selectedSampleItems );
String result = icrWizPrsSave.preSaveForm(saveSampleData,reconcileType); String result = icrWizPrsSave.preSaveForm(saveSampleData,reconcileType,autoReconFilter);
System.out.println("result:"+result); System.out.println("result:"+result);
......
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