Commit e2abd8b9 authored by awarekar's avatar awarekar

sales budget wizard related implementation

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198607 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dcd0a043
...@@ -135,13 +135,13 @@ border: 1px solid #E7E7E7 !important; ...@@ -135,13 +135,13 @@ border: 1px solid #E7E7E7 !important;
<TR> <TR>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" > <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Salses Budget Wizard Salses Budget
</TD> </TD>
</TR> </TR>
</TABLE> </TABLE>
<table id="errorActivityTable" width="100%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="1" cellspacing="0" cellpadding="0"> <table id="errorActivityTable" width="100%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<!--Changed by Dhiraj 30/09/10 [WS01SUN007] .end--> <!--Changed by Dhiraj 30/09/10 [WS01SUN007] .end-->
<xsl:for-each select="//error"> <xsl:for-each select="//error">
...@@ -203,12 +203,16 @@ border: 1px solid #E7E7E7 !important; ...@@ -203,12 +203,16 @@ border: 1px solid #E7E7E7 !important;
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<xsl:variable name="tran_id"><xsl:value-of select="tran_id"/></xsl:variable> <xsl:variable name="tran_id"><xsl:value-of select="tran_id"/></xsl:variable>
<xsl:variable name="cust_code"><xsl:value-of select="cust_code"/></xsl:variable> <xsl:variable name="cust_code"><xsl:value-of select="cust_code"/></xsl:variable>
<xsl:variable name="cust_descr"><xsl:value-of select="cust_descr"/></xsl:variable>
<xsl:variable name="pos_code"><xsl:value-of select="pos_code"/></xsl:variable> <xsl:variable name="pos_code"><xsl:value-of select="pos_code"/></xsl:variable>
<xsl:variable name="pos_descr"><xsl:value-of select="pos_descr"/></xsl:variable>
<xsl:variable name="acct_prd"><xsl:value-of select="acct_prd"/></xsl:variable> <xsl:variable name="acct_prd"><xsl:value-of select="acct_prd"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable> <xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="itm_descr"><xsl:value-of select="itm_descr"/></xsl:variable>
<xsl:variable name="net_amt"><xsl:value-of select="net_amt"/></xsl:variable> <xsl:variable name="net_amt"><xsl:value-of select="net_amt"/></xsl:variable>
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable> <xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable> <xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable>
<xsl:variable name="prc_descr"><xsl:value-of select="prc_descr"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable> <xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable> <xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable>
<xsl:variable name="chg_date"><xsl:value-of select="chg_date"/></xsl:variable> <xsl:variable name="chg_date"><xsl:value-of select="chg_date"/></xsl:variable>
...@@ -232,9 +236,9 @@ border: 1px solid #E7E7E7 !important; ...@@ -232,9 +236,9 @@ border: 1px solid #E7E7E7 !important;
<strong>Customer code: </strong> <strong>Customer code: </strong>
</td> </td>
<td class="td_leftAlign" > <td class="td_leftAlign" >
<input type="text" value="{$cust_code}" class="input_editable" name="Detail1.{normalize-space($dbID)}.cust_code" id="Detail1.{normalize-space($dbID)}.cust_code" maxlength="10" onchange="callItemChange('{normalize-space($dbID)}', 'cust_code');" ISCHANGED="false"/> <input type="text" value="{$cust_code}" class="input_editable" name="Detail1.{normalize-space($dbID)}.cust_code" id="Detail1.{normalize-space($dbID)}.cust_code" placeholder="Enter Customer code" maxlength="10" onchange="callItemChange('{normalize-space($dbID)}', 'cust_code');" ISCHANGED="false"/>
<a href="javascript:callCustCode( '{normalize-space($dbID)}','{normalize-space($cust_code)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a> <a href="javascript:callCustCode( '{normalize-space($dbID)}','{normalize-space($cust_code)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
<input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.cus_descr" id="Detail1.{normalize-space($dbID)}.cus_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" /> <input type="text" value="{$cust_descr}" class="input_editable" name="Detail1.{normalize-space($dbID)}.cust_descr" id="Detail1.{normalize-space($dbID)}.cust_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" />
</td> </td>
</tr> </tr>
...@@ -246,7 +250,7 @@ border: 1px solid #E7E7E7 !important; ...@@ -246,7 +250,7 @@ border: 1px solid #E7E7E7 !important;
<td class="td_leftAlign" > <td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$pos_code}" name="Detail1.{normalize-space($dbID)}.pos_code" id="Detail1.{normalize-space($dbID)}.pos_code" placeholder="Enter POS code" maxlength="10" onchange="callItemChange('{normalize-space($dbID)}', 'pos_code');" ISCHANGED="false"/> <input type="text" class="input_editable" value="{$pos_code}" name="Detail1.{normalize-space($dbID)}.pos_code" id="Detail1.{normalize-space($dbID)}.pos_code" placeholder="Enter POS code" maxlength="10" onchange="callItemChange('{normalize-space($dbID)}', 'pos_code');" ISCHANGED="false"/>
<a href="javascript:callPosCode( '{normalize-space($dbID)}','{normalize-space($pos_code)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a> <a href="javascript:callPosCode( '{normalize-space($dbID)}','{normalize-space($pos_code)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
<input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.pos_descr" id="Detail1.{normalize-space($dbID)}.pos_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" /> <input type="text" value="{$pos_descr}" class="input_editable" name="Detail1.{normalize-space($dbID)}.pos_descr" id="Detail1.{normalize-space($dbID)}.pos_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" />
</td> </td>
</tr> </tr>
...@@ -258,7 +262,7 @@ border: 1px solid #E7E7E7 !important; ...@@ -258,7 +262,7 @@ border: 1px solid #E7E7E7 !important;
<td class="td_leftAlign" > <td class="td_leftAlign" >
<input type="text" class="input_editable" value="{$item_ser}" name="Detail1.{normalize-space($dbID)}.item_ser" id="Detail1.{normalize-space($dbID)}.item_ser" placeholder="Enter Item series" maxlength="5" onchange="callItemChange('{normalize-space($dbID)}', 'item_ser');" ISCHANGED="false"/> <input type="text" class="input_editable" value="{$item_ser}" name="Detail1.{normalize-space($dbID)}.item_ser" id="Detail1.{normalize-space($dbID)}.item_ser" placeholder="Enter Item series" maxlength="5" onchange="callItemChange('{normalize-space($dbID)}', 'item_ser');" ISCHANGED="false"/>
<a href="javascript:callItemSeries( '{normalize-space($dbID)}','{normalize-space($item_ser)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a> <a href="javascript:callItemSeries( '{normalize-space($dbID)}','{normalize-space($item_ser)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
<input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.itm_descr" id="Detail1.{normalize-space($dbID)}.itm_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" /> <input type="text" value="{$itm_descr}" class="input_editable" name="Detail1.{normalize-space($dbID)}.itm_descr" id="Detail1.{normalize-space($dbID)}.itm_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" />
</td> </td>
</tr> </tr>
...@@ -270,7 +274,7 @@ border: 1px solid #E7E7E7 !important; ...@@ -270,7 +274,7 @@ border: 1px solid #E7E7E7 !important;
<td class="td_leftAlign" > <td class="td_leftAlign" >
<input type="text" value="{$price_list}" class="input_editable" name="Detail1.{normalize-space($dbID)}.price_list" id="Detail1.{normalize-space($dbID)}.price_list" placeholder="Enter Price List" maxlength="200" onchange="callItemChange('{normalize-space($dbID)}', 'price_list');" ISCHANGED="false" /> <input type="text" value="{$price_list}" class="input_editable" name="Detail1.{normalize-space($dbID)}.price_list" id="Detail1.{normalize-space($dbID)}.price_list" placeholder="Enter Price List" maxlength="200" onchange="callItemChange('{normalize-space($dbID)}', 'price_list');" ISCHANGED="false" />
<a href="javascript:callPriceList( '{normalize-space($dbID)}','{normalize-space($price_list)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a> <a href="javascript:callPriceList( '{normalize-space($dbID)}','{normalize-space($price_list)}' );"> <img src="/ibase/webitm/images/pophelp.png" border="0"/> </a>
<input type="text" class="input_editable" name="Detail1.{normalize-space($dbID)}.prc_descr" id="Detail1.{normalize-space($dbID)}.prc_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" /> <input type="text" value="{$prc_descr}" class="input_editable" name="Detail1.{normalize-space($dbID)}.prc_descr" id="Detail1.{normalize-space($dbID)}.prc_descr" maxlength="5" style="width:300px" ISCHANGED="false" readonly="true" />
</td> </td>
</tr> </tr>
......
...@@ -144,13 +144,13 @@ border: 1px solid #E7E7E7 !important; ...@@ -144,13 +144,13 @@ border: 1px solid #E7E7E7 !important;
<TR> <TR>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" > <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Salses Budget Wizard Detail Salses Budget
</TD> </TD>
</TR> </TR>
</TABLE> </TABLE>
<table id="errorActivityTable" width="100%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="1" cellspacing="0" cellpadding="0"> <table id="errorActivityTable" width="100%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error"> <xsl:for-each select="//error">
<xsl:if test="position() = 1"> <xsl:if test="position() = 1">
......
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<% <%
ibase.utility.UserInfoBean userInfo = ( ibase.utility.UserInfoBean )session.getAttribute( "USER_INFO" );
String itmSeries = "",posCode = "", priceList = "", acctprd = "",custCode = "",htmlData = "", fld_name = ""; String itmSeries = "",posCode = "", priceList = "", acctprd = "",custCode = "",htmlData = "", fld_name = "";
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp @@@@@@@@@@@@@@@@"); System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp @@@@@@@@@@@@@@@@");
SalesBudgetCustWizBean salesBudgetCustWizBean = new SalesBudgetCustWizBean(); SalesBudgetCustWizBean salesBudgetCustWizBean = new SalesBudgetCustWizBean( "sales_budget_cust_wiz", userInfo );
fld_name = ( String ) request.getParameter("FIELD_NAME"); fld_name = ( String ) request.getParameter("FIELD_NAME");
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp FIELD_NAME =" +fld_name); System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp FIELD_NAME =" +fld_name);
...@@ -25,15 +26,6 @@ ...@@ -25,15 +26,6 @@
acctprd = ( String ) request.getParameter("SELECTED_ACCT_PRD"); acctprd = ( String ) request.getParameter("SELECTED_ACCT_PRD");
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp acctprd =" +acctprd); System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp acctprd =" +acctprd);
ibase.utility.UserInfoBean userInfo = ( ibase.utility.UserInfoBean )session.getAttribute( "USER_INFO" );
System.out.println("@@@@@@@@@ In StrgBrandActPeriodCode.jsp userInfo ::"+userInfo.toString());
if( userInfo != null )
{
salesBudgetCustWizBean.setUserInfo( userInfo );
}
if ( fld_name.equalsIgnoreCase("CUST_CODE") && custCode != null ) if ( fld_name.equalsIgnoreCase("CUST_CODE") && custCode != null )
{ {
htmlData = salesBudgetCustWizBean.getCustCode( custCode ); htmlData = salesBudgetCustWizBean.getCustCode( custCode );
......
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