Commit 94d3cdda authored by ajadhav's avatar ajadhav

to be release qty Field is editable.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182032 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 15c89398
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match='/'>
<html>
<head>
<link type='text/css' rel='stylesheet' href='/ibase/webitm/css/Standard/default.css'/>
</head>
<body id='groupDiv' class='headerDetailBody' ><FORM id="brow2" METHOD="POST" ACTION="fwd.jsp">
<INPUT type='hidden' name='OBJ_NAME' value='rc_release'/>
<INPUT type='hidden' name='PAGE_CONTEXT' value='1'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='2'/>
<INPUT type='hidden' name='EDIT_FLAG' value='V'/>
<INPUT type='hidden' name='EDIT_TMPLT' value='-1'/>
<xsl:for-each select='/DocumentRoot/group0/Header0'>
<div id='dataDivID12' class=''>
<TABLE name='main' id='main' class="tableClass" style= 'class:header_css;position:relative;top:0;width:2640;'>
<THEAD class="table-head">
<TR><th id='yes_no' name='yes_no' class='thClass' STYLE = " left:5; top:2; width:13; visibility:visible;"><nobr><IMAGE id='yes_no001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='item_code' name='item_code' class='thClass' STYLE = " left:23; top:3; width:90; visibility:visible;"><nobr>Item Code<IMAGE id='item_code101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='item_descr' name='item_descr' class='thClass' STYLE = " left:116; top:3; width:227; visibility:visible;"><nobr>Description<IMAGE id='item_descr1701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='item' name='item' class='thClass' STYLE = " left:346; top:3; width:227; visibility:visible;"><nobr>Technical Description<IMAGE id='item1801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cc_final_qty' name='cc_final_qty' class='thClass' STYLE = " left:577; top:3; width:91; visibility:visible;"><nobr>Indent Qty<IMAGE id='cc_final_qty1901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='quantity' name='quantity' class='thClass' STYLE = " left:674; top:3; width:108; visibility:visible;"><nobr>Quantity<IMAGE id='quantity2001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='pending_qty' name='pending_qty' class='thClass' STYLE = " left:785; top:3; width:117; visibility:visible;"><nobr>Pending Quantity<IMAGE id='pending_qty2601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='max_qty' name='max_qty' class='thClass' STYLE = " left:908; top:3; width:115; visibility:visible;"><nobr>To be Realesed Qty.<IMAGE id='max_qty2501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='quantity_rel' name='quantity_rel' class='thClass' STYLE = " left:1027; top:3; width:90; visibility:visible;"><nobr>Rel Qty<IMAGE id='quantity_rel2101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='quantity_batch' name='quantity_batch' class='thClass' STYLE = " left:1121; top:3; width:105; visibility:visible;"><nobr>Batch Qty<IMAGE id='quantity_batch2201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='rate' name='rate' class='thClass' STYLE = " left:1230; top:3; width:72; visibility:visible;"><nobr>Rate<IMAGE id='rate2301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='supp_code' name='supp_code' class='thClass' STYLE = " left:1305; top:3; width:106; visibility:visible;"><nobr>Supplier<IMAGE id='supp_code2401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='supp_name' name='supp_name' class='thClass' STYLE = " left:1417; top:3; width:207; visibility:visible;"><nobr>Supplier Name<IMAGE id='supp_name501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='bom_code' name='bom_code' class='thClass' STYLE = " left:1628; top:3; width:86; visibility:visible;"><nobr>Bom Code<IMAGE id='bom_code601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='loc_code' name='loc_code' class='thClass' STYLE = " left:1718; top:3; width:79; visibility:visible;"><nobr>Loc Code<IMAGE id='loc_code701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='item_ser' name='item_ser' class='thClass' STYLE = " left:1801; top:3; width:79; visibility:visible;"><nobr>Item Ser<IMAGE id='item_ser301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='site_code' name='site_code' class='thClass' STYLE = " left:1884; top:3; width:46; visibility:visible;"><nobr>Site<IMAGE id='site_code801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tax_class' name='tax_class' class='thClass' STYLE = " left:1933; top:3; width:82; visibility:visible;"><nobr>Tax Class<IMAGE id='tax_class901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tax_chap' name='tax_chap' class='thClass' STYLE = " left:2018; top:3; width:114; visibility:visible;"><nobr>Tax Chapter<IMAGE id='tax_chap1001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tax_env' name='tax_env' class='thClass' STYLE = " left:2136; top:3; width:87; visibility:visible;"><nobr>Tax Env<IMAGE id='tax_env401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='acct_code__dr' name='acct_code__dr' class='thClass' STYLE = " left:2227; top:3; width:77; visibility:visible;"><nobr>A/c Dr<IMAGE id='acct_code__dr1101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cctr_code__dr' name='cctr_code__dr' class='thClass' STYLE = " left:2308; top:3; width:74; visibility:visible;"><nobr>Cctr Dr<IMAGE id='cctr_code__dr1201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='acct_code__cr' name='acct_code__cr' class='thClass' STYLE = " left:2386; top:3; width:79; visibility:visible;"><nobr>A/c Cr<IMAGE id='acct_code__cr1501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cctr_code__cr' name='cctr_code__cr' class='thClass' STYLE = " left:2468; top:3; width:76; visibility:visible;"><nobr>Cctr Cr<IMAGE id='cctr_code__cr1301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='discount' name='discount' class='thClass' STYLE = " left:2548; top:3; width:80; visibility:visible;"><nobr>Discount<IMAGE id='discount1601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='discount' name='discount' class='thClass' STYLE = " left:2631; top:3; width:86; visibility:visible;"><nobr>Disc Type<IMAGE id='discount1401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='line_no' name='line_no' class='thClass' STYLE = " left:2722; top:3; width:27; visibility:visible;"><nobr>Line<IMAGE id='line_no201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
</TR>
</THEAD>
<TBODY class="table-body">
<xsl:for-each select="./Detail2[not(attribute/@updateFlag='D')]">
<TR id='{@dbID}' name='{@domID}' class='trClass' onClick='setSelection(this,2)' onContextMenu='setSelection(this);showContexMenu(event);return false;'>
<TD id='td_yes_no{@domID}' NAME="yes_no" fontCase="" align="LEFT" TABINDEX="10" TABORDER="10" MAXLENGTH="-1" protect = '1' style="width:15;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="yes_no/@visible='1'">
<xsl:choose><xsl:when test="yes_no/@protect='1'">
<INPUT class='trEditInputClass' id='yes_no{@domID}' value='{yes_no}' type='text' readOnly='true' label='' NAME="yes_no" fontCase="" align="LEFT" TABINDEX="10" TABORDER="10" MAXLENGTH="-1" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:15;visibility:visible;;TYPE:String;text-align:LEFT" size='15' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='yes_no{@domID}' value='{yes_no}' type='text' NAME="yes_no" fontCase="" align="LEFT" TABINDEX="10" TABORDER="10" MAXLENGTH="-1" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:15;visibility:visible;;TYPE:String;text-align:LEFT" size='15' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='yes_no'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_item_code{@domID}' NAME="item_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:91;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="item_code/@visible='1'">
<xsl:choose><xsl:when test="item_code/@protect='1'">
<INPUT class='trEditInputClass' id='item_code{@domID}' value='{item_code}' type='text' readOnly='true' label='Item Code' NAME="item_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:91;visibility:visible;;TYPE:String;text-align:LEFT" size='91' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='item_code{@domID}' value='{item_code}' type='text' NAME="item_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:91;visibility:visible;;TYPE:String;text-align:LEFT" size='91' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='item_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_item_descr{@domID}' NAME="item_descr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:227;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="item_descr/@visible='1'">
<xsl:choose><xsl:when test="item_descr/@protect='1'">
<INPUT class='trEditInputClass' id='item_descr{@domID}' value='{item_descr}' type='text' readOnly='true' label='Description' NAME="item_descr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:227;visibility:visible;;TYPE:String;text-align:LEFT" size='227' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='item_descr{@domID}' value='{item_descr}' type='text' NAME="item_descr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:227;visibility:visible;;TYPE:String;text-align:LEFT" size='227' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='item_descr'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_item_tech_descr{@domID}' NAME="item_tech_descr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1500" protect = '1' style="width:227;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="item_tech_descr/@visible='1'">
<xsl:choose><xsl:when test="item_tech_descr/@protect='1'">
<INPUT class='trEditInputClass' id='item_tech_descr{@domID}' value='{item_tech_descr}' type='text' readOnly='true' label='null' NAME="item_tech_descr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1500" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:227;visibility:visible;;TYPE:String;text-align:LEFT" size='227' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='item_tech_descr{@domID}' value='{item_tech_descr}' type='text' NAME="item_tech_descr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1500" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:227;visibility:visible;;TYPE:String;text-align:LEFT" size='227' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='item_tech_descr'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cc_final_qty{@domID}' NAME="cc_final_qty" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:91;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cc_final_qty/@visible='1'">
<xsl:choose><xsl:when test="cc_final_qty/@protect='1'">
<INPUT class='trEditInputClass' id='cc_final_qty{@domID}' value='{cc_final_qty}' type='text' readOnly='true' label='Indent Qty' NAME="cc_final_qty" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:91;visibility:visible;;TYPE:number;text-align:RIGHT" size='91' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cc_final_qty{@domID}' value='{cc_final_qty}' type='text' NAME="cc_final_qty" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:91;visibility:visible;;TYPE:number;text-align:RIGHT" size='91' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cc_final_qty'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_quantity{@domID}' NAME="quantity" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:108;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="quantity/@visible='1'">
<xsl:choose><xsl:when test="quantity/@protect='1'">
<INPUT class='trEditInputClass' id='quantity{@domID}' value='{quantity}' type='text' readOnly='true' label='Quantity' NAME="quantity" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:108;visibility:visible;;TYPE:number;text-align:RIGHT" size='108' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='quantity{@domID}' value='{quantity}' type='text' NAME="quantity" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:108;visibility:visible;;TYPE:number;text-align:RIGHT" size='108' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='quantity'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_pending_qty{@domID}' NAME="pending_qty" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:117;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="pending_qty/@visible='1'">
<xsl:choose><xsl:when test="pending_qty/@protect='1'">
<INPUT class='trEditInputClass' id='pending_qty{@domID}' value='{pending_qty}' type='text' readOnly='true' label='Pending Quantity' NAME="pending_qty" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:117;visibility:visible;;TYPE:number;text-align:RIGHT" size='117' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='pending_qty{@domID}' value='{pending_qty}' type='text' NAME="pending_qty" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:117;visibility:visible;;TYPE:number;text-align:RIGHT" size='117' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='pending_qty'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_max_qty{@domID}' NAME="max_qty" fontCase="any" align="RIGHT" TABINDEX="20" TABORDER="20" protect = '1' style="width:115;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="max_qty/@protect='1'">
<INPUT class='trEditInputClass' id='max_qty{@domID}' value='{max_qty}' type='text' readOnly='true' label='To be Realesed Qty.' NAME="max_qty" fontCase="any" align="RIGHT" TABINDEX="20" TABORDER="20" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:115;visibility:visible;;TYPE:number;text-align:RIGHT" size='115' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='max_qty{@domID}' value='{max_qty}' type='text' NAME="max_qty" fontCase="any" align="RIGHT" TABINDEX="20" TABORDER="20" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:115;visibility:visible;;TYPE:number;text-align:RIGHT" size='115' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose>
</NOBR>
</TD>
<TD id='td_quantity_rel{@domID}' NAME="quantity_rel" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:86;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="quantity_rel/@visible='1'">
<xsl:choose><xsl:when test="quantity_rel/@protect='1'">
<INPUT class='trEditInputClass' id='quantity_rel{@domID}' value='{quantity_rel}' type='text' readOnly='true' label='Rel Qty' NAME="quantity_rel" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '0' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:86;visibility:visible;;TYPE:number;text-align:RIGHT" size='86' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='quantity_rel{@domID}' value='{quantity_rel}' type='text' NAME="quantity_rel" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:86;visibility:visible;;TYPE:number;text-align:RIGHT" size='86' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='quantity_rel'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_quantity_batch{@domID}' NAME="quantity_batch" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:105;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="quantity_batch/@visible='1'">
<xsl:choose><xsl:when test="quantity_batch/@protect='1'">
<INPUT class='trEditInputClass' id='quantity_batch{@domID}' value='{quantity_batch}' type='text' readOnly='true' label='Batch Qty' NAME="quantity_batch" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:105;visibility:visible;;TYPE:number;text-align:RIGHT" size='105' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='quantity_batch{@domID}' value='{quantity_batch}' type='text' NAME="quantity_batch" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:105;visibility:visible;;TYPE:number;text-align:RIGHT" size='105' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='quantity_batch'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_rate{@domID}' NAME="rate" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:71;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="rate/@visible='1'">
<xsl:choose><xsl:when test="rate/@protect='1'">
<INPUT class='trEditInputClass' id='rate{@domID}' value='{rate}' type='text' readOnly='true' label='Rate' NAME="rate" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:71;visibility:visible;;TYPE:number;text-align:RIGHT" size='71' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='rate{@domID}' value='{rate}' type='text' NAME="rate" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:71;visibility:visible;;TYPE:number;text-align:RIGHT" size='71' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='rate'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_supp_code{@domID}' NAME="supp_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:109;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="supp_code/@visible='1'">
<xsl:choose><xsl:when test="supp_code/@protect='1'">
<INPUT class='trEditInputClass' id='supp_code{@domID}' value='{supp_code}' type='text' readOnly='true' label='Supplier' NAME="supp_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:109;visibility:visible;;TYPE:String;text-align:LEFT" size='109' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='supp_code{@domID}' value='{supp_code}' type='text' NAME="supp_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:109;visibility:visible;;TYPE:String;text-align:LEFT" size='109' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='supp_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_supp_name{@domID}' NAME="supp_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:207;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="supp_name/@visible='1'">
<xsl:choose><xsl:when test="supp_name/@protect='1'">
<INPUT class='trEditInputClass' id='supp_name{@domID}' value='{supp_name}' type='text' readOnly='true' label='Supplier Name' NAME="supp_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:207;visibility:visible;;TYPE:String;text-align:LEFT" size='207' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='supp_name{@domID}' value='{supp_name}' type='text' NAME="supp_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:207;visibility:visible;;TYPE:String;text-align:LEFT" size='207' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='supp_name'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_bom_code{@domID}' NAME="bom_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:86;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="bom_code/@visible='1'">
<xsl:choose><xsl:when test="bom_code/@protect='1'">
<INPUT class='trEditInputClass' id='bom_code{@domID}' value='{bom_code}' type='text' readOnly='true' label='Bom Code' NAME="bom_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:86;visibility:visible;;TYPE:String;text-align:LEFT" size='86' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='bom_code{@domID}' value='{bom_code}' type='text' NAME="bom_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:86;visibility:visible;;TYPE:String;text-align:LEFT" size='86' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='bom_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_loc_code{@domID}' NAME="loc_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:79;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="loc_code/@visible='1'">
<xsl:choose><xsl:when test="loc_code/@protect='1'">
<INPUT class='trEditInputClass' id='loc_code{@domID}' value='{loc_code}' type='text' readOnly='true' label='Loc Code' NAME="loc_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:79;visibility:visible;;TYPE:String;text-align:LEFT" size='79' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='loc_code{@domID}' value='{loc_code}' type='text' NAME="loc_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:79;visibility:visible;;TYPE:String;text-align:LEFT" size='79' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='loc_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_item_ser{@domID}' NAME="item_ser" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:78;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="item_ser/@visible='1'">
<xsl:choose><xsl:when test="item_ser/@protect='1'">
<INPUT class='trEditInputClass' id='item_ser{@domID}' value='{item_ser}' type='text' readOnly='true' label='Item Ser' NAME="item_ser" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:78;visibility:visible;;TYPE:String;text-align:LEFT" size='78' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='item_ser{@domID}' value='{item_ser}' type='text' NAME="item_ser" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:78;visibility:visible;;TYPE:String;text-align:LEFT" size='78' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='item_ser'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_site_code{@domID}' NAME="site_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:48;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="site_code/@visible='1'">
<xsl:choose><xsl:when test="site_code/@protect='1'">
<INPUT class='trEditInputClass' id='site_code{@domID}' value='{site_code}' type='text' readOnly='true' label='Site' NAME="site_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:48;visibility:visible;;TYPE:String;text-align:LEFT" size='48' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='site_code{@domID}' value='{site_code}' type='text' NAME="site_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:48;visibility:visible;;TYPE:String;text-align:LEFT" size='48' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='site_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tax_class{@domID}' NAME="tax_class" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:82;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tax_class/@visible='1'">
<xsl:choose><xsl:when test="tax_class/@protect='1'">
<INPUT class='trEditInputClass' id='tax_class{@domID}' value='{tax_class}' type='text' readOnly='true' label='Tax Class' NAME="tax_class" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:82;visibility:visible;;TYPE:String;text-align:LEFT" size='82' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tax_class{@domID}' value='{tax_class}' type='text' NAME="tax_class" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:82;visibility:visible;;TYPE:String;text-align:LEFT" size='82' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tax_class'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tax_chap{@domID}' NAME="tax_chap" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:114;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tax_chap/@visible='1'">
<xsl:choose><xsl:when test="tax_chap/@protect='1'">
<INPUT class='trEditInputClass' id='tax_chap{@domID}' value='{tax_chap}' type='text' readOnly='true' label='Tax Chapter' NAME="tax_chap" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:114;visibility:visible;;TYPE:String;text-align:LEFT" size='114' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tax_chap{@domID}' value='{tax_chap}' type='text' NAME="tax_chap" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:114;visibility:visible;;TYPE:String;text-align:LEFT" size='114' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tax_chap'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tax_env{@domID}' NAME="tax_env" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:87;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tax_env/@visible='1'">
<xsl:choose><xsl:when test="tax_env/@protect='1'">
<INPUT class='trEditInputClass' id='tax_env{@domID}' value='{tax_env}' type='text' readOnly='true' label='Tax Env' NAME="tax_env" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:87;visibility:visible;;TYPE:String;text-align:LEFT" size='87' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tax_env{@domID}' value='{tax_env}' type='text' NAME="tax_env" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:87;visibility:visible;;TYPE:String;text-align:LEFT" size='87' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tax_env'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_acct_code__dr{@domID}' NAME="acct_code__dr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:77;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="acct_code__dr/@visible='1'">
<xsl:choose><xsl:when test="acct_code__dr/@protect='1'">
<INPUT class='trEditInputClass' id='acct_code__dr{@domID}' value='{acct_code__dr}' type='text' readOnly='true' label='A/c Dr' NAME="acct_code__dr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:77;visibility:visible;;TYPE:String;text-align:LEFT" size='77' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='acct_code__dr{@domID}' value='{acct_code__dr}' type='text' NAME="acct_code__dr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:77;visibility:visible;;TYPE:String;text-align:LEFT" size='77' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='acct_code__dr'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cctr_code__dr{@domID}' NAME="cctr_code__dr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:74;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cctr_code__dr/@visible='1'">
<xsl:choose><xsl:when test="cctr_code__dr/@protect='1'">
<INPUT class='trEditInputClass' id='cctr_code__dr{@domID}' value='{cctr_code__dr}' type='text' readOnly='true' label='Cctr Dr' NAME="cctr_code__dr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:74;visibility:visible;;TYPE:String;text-align:LEFT" size='74' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cctr_code__dr{@domID}' value='{cctr_code__dr}' type='text' NAME="cctr_code__dr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:74;visibility:visible;;TYPE:String;text-align:LEFT" size='74' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cctr_code__dr'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_acct_code__cr{@domID}' NAME="acct_code__cr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:79;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="acct_code__cr/@visible='1'">
<xsl:choose><xsl:when test="acct_code__cr/@protect='1'">
<INPUT class='trEditInputClass' id='acct_code__cr{@domID}' value='{acct_code__cr}' type='text' readOnly='true' label='A/c Cr' NAME="acct_code__cr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:79;visibility:visible;;TYPE:String;text-align:LEFT" size='79' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='acct_code__cr{@domID}' value='{acct_code__cr}' type='text' NAME="acct_code__cr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:79;visibility:visible;;TYPE:String;text-align:LEFT" size='79' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='acct_code__cr'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cctr_code__cr{@domID}' NAME="cctr_code__cr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:76;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cctr_code__cr/@visible='1'">
<xsl:choose><xsl:when test="cctr_code__cr/@protect='1'">
<INPUT class='trEditInputClass' id='cctr_code__cr{@domID}' value='{cctr_code__cr}' type='text' readOnly='true' label='Cctr Cr' NAME="cctr_code__cr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:76;visibility:visible;;TYPE:String;text-align:LEFT" size='76' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cctr_code__cr{@domID}' value='{cctr_code__cr}' type='text' NAME="cctr_code__cr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:76;visibility:visible;;TYPE:String;text-align:LEFT" size='76' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cctr_code__cr'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_discount{@domID}' NAME="discount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:80;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="discount/@visible='1'">
<xsl:choose><xsl:when test="discount/@protect='1'">
<INPUT class='trEditInputClass' id='discount{@domID}' value='{discount}' type='text' readOnly='true' label='Disc Type' NAME="discount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:80;visibility:visible;;TYPE:number;text-align:RIGHT" size='80' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='discount{@domID}' value='{discount}' type='text' NAME="discount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:80;visibility:visible;;TYPE:number;text-align:RIGHT" size='80' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='discount'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_discount_type{@domID}' NAME="discount_type" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:86;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="discount_type/@visible='1'">
<xsl:choose><xsl:when test="discount_type/@protect='1'">
<INPUT class='trEditInputClass' id='discount_type{@domID}' value='{discount_type}' type='text' readOnly='true' label='null' NAME="discount_type" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:86;visibility:visible;;TYPE:String;text-align:LEFT" size='86' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='discount_type{@domID}' value='{discount_type}' type='text' NAME="discount_type" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:86;visibility:visible;;TYPE:String;text-align:LEFT" size='86' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='discount_type'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_line_no{@domID}' NAME="line_no" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:27;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="line_no/@visible='1'">
<xsl:choose><xsl:when test="line_no/@protect='1'">
<INPUT class='trEditInputClass' id='line_no{@domID}' value='{line_no}' type='text' readOnly='true' label='Line' NAME="line_no" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:27;visibility:visible;;TYPE:number;text-align:RIGHT" size='27' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='line_no{@domID}' value='{line_no}' type='text' NAME="line_no" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:27;visibility:visible;;TYPE:number;text-align:RIGHT" size='27' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='line_no'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
</TR>
</xsl:for-each>
</TBODY>
</TABLE>
</div>
</xsl:for-each>
</FORM>
<xsl:for-each select='/DocumentRoot/Message'>
<xsl:value-of select='.'/></xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
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