src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline_Lines.html
author Iván Perdomo <ivan.perdomo@openbravo.com>
Thu, 24 Apr 2008 17:12:02 +0000
changeset 770 8850d5956eba
parent 528 7aa737db257f
child 1325 af371d42d754
permissions -rw-r--r--
Bug fix [0000111]. Modified mapping name used on manual code.
juanpablo@378
     1
<!--
juanpablo@378
     2
 *************************************************************************
juanpablo@378
     3
 * The contents of this file are subject to the Openbravo  Public  License
juanpablo@378
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@378
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@378
     6
 * file except in compliance with the License. You  may  obtain  a copy of
juanpablo@378
     7
 * the License at http://www.openbravo.com/legal/license.html 
juanpablo@378
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@378
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@378
    10
 * License for the specific  language  governing  rights  and  limitations
juanpablo@378
    11
 * under the License. 
juanpablo@378
    12
 * The Original Code is Openbravo ERP. 
juanpablo@378
    13
 * The Initial Developer of the Original Code is Openbravo SL 
juanpablo@378
    14
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
juanpablo@378
    15
 * All Rights Reserved. 
juanpablo@378
    16
 * Contributor(s):  ______________________________________.
juanpablo@378
    17
 ************************************************************************
juanpablo@378
    18
-->
juanpablo@378
    19
<HTML>
juanpablo@378
    20
<HEAD>
juanpablo@378
    21
<TITLE>Expenses invoice</TITLE>
juanpablo@378
    22
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Edition.css" id="paramCSS"/>
juanpablo@378
    23
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Client/Help/Help.css" id="paramCSS"/>
juanpablo@378
    24
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
asier@528
    25
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
asier@528
    26
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    27
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
juanpablo@378
    28
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
juanpablo@378
    29
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
juanpablo@378
    30
<SCRIPT language="JavaScript" src="../../../../../web/js/multilinea.js" type="text/javascript"></SCRIPT>
juanpablo@378
    31
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
juanpablo@378
    32
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
juanpablo@378
    33
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
juanpablo@378
    34
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
juanpablo@378
    35
<SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
juanpablo@378
    36
<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
juanpablo@378
    37
<SCRIPT language="javascript" type="text/javascript">
asier@528
    38
juanpablo@378
    39
  function enableLocalShortcuts() {
asier@528
    40
    keyArray[0] = new keyArrayItem("ENTER", "openProductSearch(true);", "inpmProductId_D%", "null");
juanpablo@378
    41
  }
juanpablo@378
    42
</SCRIPT>
juanpablo@378
    43
<SCRIPT language="JavaScript" type="text/javascript">
juanpablo@378
    44
  gColorNormal = "#F2EEEE";
juanpablo@378
    45
  frmFormulario = "InvoiceVendorMultiline_Lines.html";
juanpablo@378
    46
  gTargetFrame = "parent";
juanpablo@378
    47
  gHiddenFrame = "frameMultiOculto";
juanpablo@378
    48
  gBolEvtEnviarLinea = true;
juanpablo@378
    49
  gIsAutoInsertRows = true;
juanpablo@378
    50
  gBolEvtAntesDeActualizar = true;
juanpablo@378
    51
  hasAcctDimension = true;
juanpablo@378
    52
juanpablo@378
    53
  function callback(paramArray) {
juanpablo@378
    54
    var strText = "";
juanpablo@378
    55
    if (getReadyStateHandler(xmlreq)) {
juanpablo@378
    56
      try {
juanpablo@378
    57
        if (xmlreq.responseText) strText = xmlreq.responseText;
juanpablo@378
    58
      } catch (e) {
juanpablo@378
    59
      }
juanpablo@378
    60
      var nd = buscarHijo(gFilaActual, "name", "inpcTaxId");
juanpablo@378
    61
      if (nd!=null) ponerTexto(nd, strText);
juanpablo@378
    62
      gBolBloqueado = false;
juanpablo@378
    63
    }
juanpablo@378
    64
    return true;
juanpablo@378
    65
  }
juanpablo@378
    66
juanpablo@378
    67
function debugSearch(strClave, strTexto, gCampoClave) {
juanpablo@378
    68
  document.frmSecond.inpmProductId.value = strClave;
juanpablo@378
    69
  var nd = buscarHijo(gFilaActual, "id", "M_Product_ID_D");
juanpablo@378
    70
  if (nd != null) nd.onchange();
juanpablo@378
    71
  gBolBloqueado = true;
juanpablo@378
    72
  submitXmlHttpRequest(callback, document.frmSecond, "PRODUCT_CALLOUT", "InvoiceVendorMultiline_Lines.html", false);
juanpablo@378
    73
  return true;
juanpablo@378
    74
}
juanpablo@378
    75
juanpablo@378
    76
function alEnviarLinea(fila, parametros, strAccion)
juanpablo@378
    77
{
juanpablo@378
    78
  if (strAccion=="DELETE") {
juanpablo@378
    79
    if (!mensaje(2)) return false;
juanpablo@378
    80
  } else {
juanpablo@378
    81
    var id = obtenerValor(parametros,"inpcInvoicelineId");
juanpablo@378
    82
    if (!esNumero(obtenerValor(parametros,"inpqtyinvoiced"), true, true)) {
juanpablo@378
    83
      mensaje(4);
juanpablo@378
    84
      return false;
juanpablo@378
    85
    } else if (!esNumero(obtenerValor(parametros,"inppriceactual"), true, true)) {
juanpablo@378
    86
      mensaje(4);
juanpablo@378
    87
      return false;
juanpablo@378
    88
    } else if (obtenerValor(parametros,"inpmProductId" + id)==null || obtenerValor(parametros,"inpmProductId" + id)=="") {
juanpablo@378
    89
      mensaje(1);
juanpablo@378
    90
      return false;
juanpablo@378
    91
    }
juanpablo@378
    92
  }
juanpablo@378
    93
  parametros[parametros.length] = new Array("inpcInvoiceId", document.forms[0].inpcInvoiceId.value);
juanpablo@378
    94
  return true;
juanpablo@378
    95
}
juanpablo@378
    96
juanpablo@378
    97
function antesDeActualizar(respuesta, objFila) {
juanpablo@378
    98
  var strCommand = obtenerValor(respuesta, "Command");
juanpablo@378
    99
  if (strCommand=="ERROR") return true;
juanpablo@378
   100
  if(fila!=null) fila=null;
juanpablo@378
   101
  var isNew=false;
juanpablo@378
   102
  var claveLinea = obtenerValor(respuesta, "inpcInvoicelineIdNew");
juanpablo@378
   103
  var nd=buscarHijo(objFila, "name", "inpcInvoicelineId");
juanpablo@378
   104
  if (nd!=null) {
juanpablo@378
   105
    if (nd.value==null || nd.value=="") isNew = true;
juanpablo@378
   106
    ponerTexto(nd, claveLinea);
juanpablo@378
   107
  }
juanpablo@378
   108
  var numlinea = obtenerValor(respuesta, "inplineno");
juanpablo@378
   109
  nd = buscarHijo(objFila, "name", "LineNo");
juanpablo@378
   110
  if (nd!=null) ponerTexto(nd, numlinea);
juanpablo@378
   111
  var qty = obtenerValor(respuesta, "inpqtyinvoiced");
juanpablo@378
   112
  nd = buscarHijo(objFila, "name", "inpqtyinvoiced");
juanpablo@378
   113
  if (nd!=null) ponerTexto(nd, qty);
juanpablo@378
   114
  var price = obtenerValor(respuesta, "inppriceactual");
juanpablo@378
   115
  nd = buscarHijo(objFila, "name", "inppriceactual");
juanpablo@378
   116
  if (nd!=null) ponerTexto(nd, price);
juanpablo@378
   117
  var product;
juanpablo@378
   118
  if (isNew) {
juanpablo@378
   119
    product = obtenerValor(respuesta, "inpmProductId");
juanpablo@378
   120
    nd = buscarHijo(objFila, "id", "M_Product_ID");
juanpablo@378
   121
    if (nd!=null) {
juanpablo@378
   122
      ponerTexto(nd, product);
juanpablo@378
   123
      nd.name="inpmProductId" + claveLinea;
juanpablo@378
   124
    }
juanpablo@378
   125
    nd = buscarHijo(objFila, "id", "M_Product_ID_D");
juanpablo@378
   126
    if (nd!=null) {
juanpablo@378
   127
      nd.name="inpmProductId_D" + claveLinea;
juanpablo@378
   128
    }
juanpablo@378
   129
  } else {
juanpablo@378
   130
    product = obtenerValor(respuesta, "inpmProductId");
juanpablo@378
   131
    nd = buscarHijo(objFila, "id", "M_Product_ID");
juanpablo@378
   132
    if (nd!=null) ponerTexto(nd, product);
juanpablo@378
   133
  }
juanpablo@378
   134
  var tax = obtenerValor(respuesta, "inpcTaxId");
juanpablo@378
   135
  nd = buscarHijo(objFila, "name", "inpcTaxId");
juanpablo@378
   136
  if (nd!=null) ponerTexto(nd, tax);
juanpablo@378
   137
juanpablo@378
   138
  if (isNew && hasAcctDimension) {
juanpablo@378
   139
    acctDimensionButton(claveLinea, qty);
juanpablo@378
   140
  }
juanpablo@378
   141
juanpablo@378
   142
  return true;
juanpablo@378
   143
}
juanpablo@378
   144
juanpablo@378
   145
function ejecutarRespuesta(respuesta, objFila)
juanpablo@378
   146
{
juanpablo@378
   147
  var strCommand = obtenerValor(respuesta, "Command");
juanpablo@378
   148
  if (strCommand != "SAVE_NEW") return true;
juanpablo@378
   149
  if(fila!=null) fila=null;
juanpablo@378
   150
  var ndFila = buscarHijo(gFilaActual, "name", "inpqtyinvoiced");
juanpablo@378
   151
  if (ndFila!=null) ponerTexto(ndFila, "0");
juanpablo@378
   152
  var ndFila = buscarHijo(gFilaActual, "name", "inppriceactual");
juanpablo@378
   153
  if (ndFila!=null) ponerTexto(ndFila, "1");
juanpablo@378
   154
  ndFila = buscarHijo(gFilaActual, "id", "M_Product_ID");
juanpablo@378
   155
  if (ndFila!=null) ndFila.name="inpmProductId";
juanpablo@378
   156
  ndFila = buscarHijo(gFilaActual, "id", "M_Product_ID_D");
juanpablo@378
   157
  if (ndFila!=null) ndFila.name="inpmProductId_D";
juanpablo@378
   158
  return true;
juanpablo@378
   159
}
juanpablo@378
   160
juanpablo@378
   161
function openProductSearch(isKeySearch) {
juanpablo@378
   162
  var clave = "", productId="", productIdD="";
juanpablo@378
   163
  var ndFila = buscarHijo(gFilaActual, "name", "inpcInvoicelineId");
juanpablo@378
   164
  if (ndFila!=null) clave = ndFila.value;
juanpablo@378
   165
  ndFila = buscarHijo(gFilaActual, "id", "M_Product_ID");
juanpablo@378
   166
  if (ndFila!=null) productId = ndFila.value;
juanpablo@378
   167
  ndFila = buscarHijo(gFilaActual, "id", "M_Product_ID_D");
juanpablo@378
   168
  if (ndFila!=null) productIdD = ndFila.value;
ivan@770
   169
  return openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductId' + clave, 'inpmProductId_D' + clave, productIdD, 'inpIDValue', productId, 'Command', (isKeySearch?'KEY':'DEFAULT'), 'WindowID', 'InvoiceVendorMultiline', 'isMultiLine', 'Y');
juanpablo@378
   170
}
juanpablo@378
   171
juanpablo@378
   172
function openAcctDimension() {
juanpablo@378
   173
  var clave = "", qty = "0";
juanpablo@378
   174
  var ndFila = buscarHijo(gFilaActual, "name", "inpcInvoicelineId");
juanpablo@378
   175
  if (ndFila!=null) clave = ndFila.value;
juanpablo@378
   176
  var ndFila = buscarHijo(gFilaActual, "name", "inpqtyinvoiced");
juanpablo@378
   177
  if (ndFila!=null) qty = ndFila.value;
juanpablo@378
   178
  return acctDimensionButton(clave, qty);
juanpablo@378
   179
}
juanpablo@378
   180
juanpablo@378
   181
function acctDimensionButton(cInvoicelineId, qty) {
juanpablo@378
   182
  if (!hasAcctDimension) return mensaje(3);
juanpablo@378
   183
  if (cInvoicelineId==null || cInvoicelineId=="") return false;
juanpablo@378
   184
  abrirPopUp("InvoiceVendorMultiline_Analitica.html?inpcInvoicelineId=" + cInvoicelineId + "&inpqtyinvoiced=" + qty, "ANALITICA", "300", "400", true, true);
juanpablo@378
   185
  return true;
juanpablo@378
   186
}
juanpablo@378
   187
</SCRIPT>
asier@528
   188
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
   189
	function onLoadDo(){
asier@528
   190
		this.windowTables = new Array(
asier@528
   191
		  new windowTableId('client')
asier@528
   192
		);
asier@528
   193
		setWindowTableParentElement();
asier@528
   194
		this.tabsTables = new Array(
asier@528
   195
		  new tabTableId('tdtopTabs')
asier@528
   196
		);
asier@528
   197
		setTabTableParentElement();
asier@528
   198
		enableShortcuts('edition');
asier@528
   199
		
asier@528
   200
		enableLocalShortcuts();
asier@528
   201
asier@528
   202
		setWindowElementFocus('firstElement');
asier@528
   203
	}
asier@528
   204
asier@528
   205
	function onResizeDo(){
asier@528
   206
	}
asier@528
   207
	</SCRIPT>
juanpablo@378
   208
</HEAD>
asier@528
   209
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
juanpablo@378
   210
  <IFRAME name="frameMultiOculto" src="InvoiceVendorMultiline_Lines.html?Command=HIDDEN" width="0" height="0" style="visibility: hidden; overflow:hidden; display: none;"></IFRAME>
juanpablo@378
   211
  <FORM name="frmMain" method="POST" action="InvoiceVendorMultiline_Lines.html">
juanpablo@378
   212
    <INPUT type="hidden" name="Command"></INPUT>
juanpablo@378
   213
    <INPUT type="hidden" name="inpCommandType" value="" id="paramCommandType"></INPUT> 
juanpablo@378
   214
    <INPUT type="hidden" name="inpcInvoiceId" value="" id="C_Invoice_ID"></INPUT> 
juanpablo@378
   215
    <TABLE width="705" border="1" cellpadding="0" cellspacing="0"  summary="">
juanpablo@378
   216
      <DIV id="sectionDetail"> 
juanpablo@378
   217
        <TR name="Fila"> 
juanpablo@378
   218
          <INPUT type="hidden" name="inpcInvoicelineId" value="" id="C_InvoiceLine_ID"></INPUT>
juanpablo@378
   219
          <TD class="ContentCell" valign="middle" width="4%"> <DIV style="position:relative; visibility: hidden;" name="Editable"> 
juanpablo@378
   220
              <img class="Popup_Client_Help_Icon_edit" src="../../../../../web/images/blank.gif" border="0"  alt="Editing" title="Editing"></IMG></DIV></TD>
juanpablo@378
   221
          <TD class="ContentCell" valign="middle" width="5%" name="LineNo" id="LineNo">10</TD>
juanpablo@378
   222
          <TD class="TextBox_btn_ContentCell" valign="middle" width="38%"> 
juanpablo@378
   223
            <INPUT type="hidden" name="inpmProductIdxx" id="M_Product_ID" value="xxV"></INPUT> 
juanpablo@378
   224
            <TABLE border="0" cellspacing="0" cellpadding="0" summary="">
juanpablo@378
   225
              <TR> 
juanpablo@378
   226
                <TD class="TextBox_ContentCell">
juanpablo@378
   227
                  <INPUT type="text" size="40" class="dojoValidateValid TextBox_btn_TwoCell_width" maxlength="22" name="inpmProductId_Dxx" id="M_Product_ID_D" value="xxV" onchange="marcarFila(this);" onfocus="seleccionarFila(this);"></INPUT>
juanpablo@378
   228
                </TD>  
juanpablo@378
   229
                <td class="FieldButton_ContentCell">
asier@528
   230
                  <a class="FieldButtonLink_hover" href="#" onfocus="setWindowElementFocus(this); window.status='Product'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="seleccionarFila(this);openProductSearch(false);return false;"id="M_Product_ID_BUTTON">
juanpablo@378
   231
                    <table class="FieldButton" onmousedown="this.className='FieldButton_active'; return true;" onmouseup="this.className='FieldButton'; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Product'; return true;" onmouseout="this.className='FieldButton'; window.status=''; return true;" id="M_Product_IDlinkProduct">
juanpablo@378
   232
                      <tr>
juanpablo@378
   233
                        <td class="FieldButton_bg">
juanpablo@378
   234
                          <img style="width: 27px; height: 20px;" alt="Product" class="FieldButton_Icon FieldButton_Icon_Product" title="Product" src="../../../../../web/images/blank.gif" id="buttonProduct" border="0">
juanpablo@378
   235
                        </td>
juanpablo@378
   236
                      </tr>
juanpablo@378
   237
                    </TABLE>
juanpablo@378
   238
                </A></TD>
juanpablo@378
   239
              </TR>
juanpablo@378
   240
          </TABLE></TD>
juanpablo@378
   241
          <TD class="TextBox_ContentCell" valign="middle" width="18%"> <INPUT type="text" name="inppriceactual" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="1" id="PriceActual" ></INPUT>
juanpablo@378
   242
          </TD>
juanpablo@378
   243
          <TD class="TextBox_ContentCell" valign="middle" width="18%"> <INPUT type="text" name="inpqtyinvoiced" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="0" id="QtyInvoiced" ></INPUT>
juanpablo@378
   244
          </TD>
juanpablo@378
   245
          <TD class="Combo_ContentCell" valign="middle" width="17%"> <SELECT class"Combo" name="inpcTaxId" id="reportC_Tax_ID" onchange="marcarFila(this);" onfocus="seleccionarFila(this);">
juanpablo@378
   246
              <OPTION value="1" class="discard">xxNormal 16%</OPTION>
juanpablo@378
   247
              <OPTION value="2" class="discard">xxReduced 7%</OPTION>
juanpablo@378
   248
              <OPTION value="2" class="discard">xxIVA 16% + recharge</OPTION>
juanpablo@378
   249
          </SELECT></TD>
juanpablo@378
   250
          <TD class="ContentCell" valign="middle"> <A href="#" onclick="seleccionarFila(this);openAcctDimension();return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Acct Dimension';return true;" > 
juanpablo@378
   251
              <img class="FieldButton_Icon FieldButton_Icon_AccountDimension"  alt="Acct Dimension" title="Acct Dimension" width="16" height="16" border="0" src="../../../../../web/images/blank.gif" id="buttonAcctDimension"></IMG></A></TD>
juanpablo@378
   252
        </TR>
juanpablo@378
   253
      </DIV>
juanpablo@378
   254
      <DIV id="discard"> 
juanpablo@378
   255
        <TR name="Fila"> 
juanpablo@378
   256
          <INPUT type="hidden" name="inpcInvoicelineId" value="" id="C_Invoiceline_ID"></INPUT>
asier@528
   257
          <TD valign="middle" width="4%"> <DIV style="position:relative; visibility: hidden;" name="Editable"> 
juanpablo@378
   258
              <img src="../../../../../web/images/Editando.jpg" border="0"  alt="Editing" title="Editing"></IMG></DIV></TD>
asier@528
   259
          <TD valign="middle" width="5%">20</TD>
asier@528
   260
          <TD valign="middle"> <INPUT type="hidden" name="inpmProductIdxx" id="M_Product_ID" value="xxV" ></INPUT> 
juanpablo@378
   261
            <TABLE border="0" cellspacing="0" cellpadding="0" summary="">
juanpablo@378
   262
              <TR> 
juanpablo@378
   263
                <TD > <INPUT type="text" size="40"  maxlength="22" name="inpmProductId_Dxx" id="M_Product_ID_D" value="xxV" onchange="marcarFila(this);" onfocus="seleccionarFila(this);"></INPUT>
juanpablo@378
   264
                </TD>
ivan@770
   265
                <TD > <A href="#" onclick="openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductIdxx', 'inpmProductId_Dxx', document.frmMain.inpmProductId_Dxx.value, 'inpIDValue', document.frmMain.inpmProductIdxx.value, 'WindowID', 'InvoiceVendorMultiline_Lines');return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;"> 
juanpablo@378
   266
                    <img  alt="Product" title="Product" width="16" height="16" border="0" src="../../../../../web/images/Product.jpg" id="buttonProduct"></IMG></A></TD>
juanpablo@378
   267
              </TR>
juanpablo@378
   268
          </TABLE></TD>
asier@528
   269
          <TD valign="middle" width="18%"> <INPUT type="text" name="inppriceactual" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="1" id="PriceActual" ></INPUT>
juanpablo@378
   270
          </TD>
asier@528
   271
          <TD valign="middle" width="18%"> <SPAN class="CuadroNumerico"> 
juanpablo@378
   272
              <INPUT type="text" name="inpqtyinvoiced" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="0" id="Price"></INPUT>
juanpablo@378
   273
          </SPAN></TD>
asier@528
   274
          <TD valign="middle" width="17%"> <SELECT name="inpcTaxId" id="reportC_Tax_ID" onchange="marcarFila(this);" onfocus="seleccionarFila(this);">
juanpablo@378
   275
              <OPTION value="1" class="discard">xxNormal 16%</OPTION>
juanpablo@378
   276
              <OPTION value="2" class="discard">xxReduced 7%</OPTION>
juanpablo@378
   277
          </SELECT></TD>
ivan@770
   278
          <TD valign="middle"> <A href="#" onclick="openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductIdxx', 'inpmProductId_Dxx', document.frmMain.inpmProductId_Dxx.value, 'inpIDValue', document.frmMain.inpmProductIdxx.value, 'WindowID', 'InvoiceVendorMultiline_Lines');return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;"> 
juanpablo@378
   279
              <img  alt="Product" title="Product" width="16" height="16" border="0" src="../../../../../web/images/Product.jpg" id="buttonProduct"></IMG></A></TD>
juanpablo@378
   280
        </TR>
juanpablo@378
   281
        <TR name="Fila"> 
juanpablo@378
   282
          <INPUT type="hidden" name="inpcInvoicelineId" value="" id="C_Invoiceline_ID"></INPUT>
asier@528
   283
          <TD valign="middle" width="4%"> <DIV style="position:relative; visibility: hidden;" name="Editable"> 
juanpablo@378
   284
              <img src="../../../../../web/images/Editando.jpg" border="0"  alt="Editing" title="Editing"></IMG></DIV></TD>
asier@528
   285
          <TD valign="middle" width="5%">30</TD>
asier@528
   286
          <TD valign="middle" width="56%"> <INPUT type="hidden" name="inpmProductIdxx" id="M_Product_ID" value="xxV" ></INPUT> 
juanpablo@378
   287
            <TABLE border="0" cellspacing="0" cellpadding="0" summary="">
juanpablo@378
   288
              <TR> 
juanpablo@378
   289
                <TD > <INPUT type="text" size="40"  maxlength="22" name="inpmProductId_Dxx" id="M_Product_ID_D" value="xxV" onchange="marcarFila(this);" onfocus="seleccionarFila(this);"></INPUT>
juanpablo@378
   290
                </TD>
ivan@770
   291
                <TD > <A href="#" onclick="openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductIdxx', 'inpmProductId_Dxx', document.frmMain.inpmProductId_Dxx.value, 'inpIDValue', document.frmMain.inpmProductIdxx.value, 'WindowID', 'InvoiceVendorMultiline_Lines');return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;"> 
juanpablo@378
   292
                    <img  alt="Product" title="Product" width="16" height="16" border="0" src="../../../../../web/images/Product.jpg" id="buttonProduct"></IMG></A></TD>
juanpablo@378
   293
              </TR>
juanpablo@378
   294
          </TABLE></TD>
asier@528
   295
          <TD valign="middle" width="18%"> <INPUT type="text" name="inppriceactual" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="1" id="PriceActual" ></INPUT>
juanpablo@378
   296
          </TD>
asier@528
   297
          <TD valign="middle" width="18%"> <SPAN class="CuadroNumerico"> 
juanpablo@378
   298
              <INPUT type="text" name="inpqtyinvoiced" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="0" id="Price"></INPUT>
juanpablo@378
   299
          </SPAN></TD>
asier@528
   300
          <TD valign="middle" width="17%"> <SELECT name="inpcTaxId" id="reportC_Tax_ID" onchange="marcarFila(this);" onfocus="seleccionarFila(this);">
juanpablo@378
   301
              <OPTION value="1" class="discard">xxNormal 16%</OPTION>
juanpablo@378
   302
              <OPTION value="2" class="discard">xxReduced 7%</OPTION>
juanpablo@378
   303
          </SELECT></TD>
juanpablo@378
   304
        </TR>
juanpablo@378
   305
        <TR name="Fila"> 
juanpablo@378
   306
          <INPUT type="hidden" name="inpcInvoicelineId" value="" id="C_Invoiceline_ID"></INPUT>
asier@528
   307
          <TD valign="middle" width="4%"> <DIV style="position:relative; visibility: hidden;" name="Editable"> 
juanpablo@378
   308
              <img src="../../../../../web/images/Editando.jpg" border="0"  alt="Editing" title="Editing"></IMG></DIV></TD>
asier@528
   309
          <TD valign="middle" width="5%">40</TD>
asier@528
   310
          <TD valign="middle" width="56%"> <INPUT type="hidden" name="inpmProductIdxx" id="M_Product_ID" value="xxV" ></INPUT> 
juanpablo@378
   311
            <TABLE border="0" cellspacing="0" cellpadding="0" summary="">
juanpablo@378
   312
              <TR> 
juanpablo@378
   313
                <TD > <INPUT type="text" size="40"  maxlength="22" name="inpmProductId_Dxx" id="M_Product_ID_D" value="xxV" onchange="marcarFila(this);" onfocus="seleccionarFila(this);"></INPUT>
juanpablo@378
   314
                </TD>
ivan@770
   315
                <TD > <A href="#" onclick="openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductIdxx', 'inpmProductId_Dxx', document.frmMain.inpmProductId_Dxx.value, 'inpIDValue', document.frmMain.inpmProductIdxx.value, 'WindowID', 'InvoiceVendorMultiline_Lines');return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;"> 
juanpablo@378
   316
                    <img  alt="Product" title="Product" width="16" height="16" border="0" src="../../../../../web/images/Product.jpg" id="buttonProduct"></IMG></A></TD>
juanpablo@378
   317
              </TR>
juanpablo@378
   318
          </TABLE></TD>
asier@528
   319
          <TD valign="middle" width="18%"> <INPUT type="text" name="inppriceactual" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="1" id="PriceActual" ></INPUT>
juanpablo@378
   320
          </TD>
asier@528
   321
          <TD valign="middle" width="18%"> <SPAN class="CuadroNumerico"> 
juanpablo@378
   322
              <INPUT type="text" name="inpqtyinvoiced" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="0" id="Price"></INPUT>
juanpablo@378
   323
          </SPAN></TD>
asier@528
   324
          <TD valign="middle" width="17%"> <SELECT name="inpcTaxId" id="reportC_Tax_ID" onchange="marcarFila(this);" onfocus="seleccionarFila(this);">
juanpablo@378
   325
              <OPTION value="1" class="discard">xxNormal 16%</OPTION>
juanpablo@378
   326
              <OPTION value="2" class="discard">xxReduced 7%</OPTION>
juanpablo@378
   327
          </SELECT></TD>
juanpablo@378
   328
        </TR>
juanpablo@378
   329
        <TR name="Fila"> 
juanpablo@378
   330
          <INPUT type="hidden" name="inpcInvoicelineId" value="" id="C_Invoiceline_ID"></INPUT>
asier@528
   331
          <TD valign="middle" width="4%"> <DIV style="position:relative; visibility: hidden;" name="Editable"> 
juanpablo@378
   332
              <img src="../../../../../web/images/Editando.jpg" border="0"  alt="Editing" title="Editing"></IMG></DIV></TD>
asier@528
   333
          <TD valign="middle" width="5%">50</TD>
asier@528
   334
          <TD valign="middle" width="56%"> <INPUT type="hidden" name="inpmProductIdxx" id="M_Product_ID" value="xxV" ></INPUT> 
juanpablo@378
   335
            <TABLE border="0" cellspacing="0" cellpadding="0" summary="">
juanpablo@378
   336
              <TR> 
juanpablo@378
   337
                <TD > <INPUT type="text" size="40"  maxlength="22" name="inpmProductId_Dxx" id="M_Product_ID_D" value="xxV" onchange="marcarFila(this);" onfocus="seleccionarFila(this);"></INPUT>
juanpablo@378
   338
                </TD>
ivan@770
   339
                <TD > <A href="#" onclick="openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductIdxx', 'inpmProductId_Dxx', document.frmMain.inpmProductId_Dxx.value, 'inpIDValue', document.frmMain.inpmProductIdxx.value, 'WindowID', 'InvoiceVendorMultiline_Lines');return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;"> 
juanpablo@378
   340
                    <img  alt="Product" title="Product" width="16" height="16" border="0" src="../../../../../web/images/Product.jpg" id="buttonProduct"></IMG></A></TD>
juanpablo@378
   341
              </TR>
juanpablo@378
   342
          </TABLE></TD>
asier@528
   343
          <TD valign="middle" width="18%"> <INPUT type="text" name="inppriceactual" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="1" id="PriceActual" ></INPUT>
juanpablo@378
   344
          </TD>
asier@528
   345
          <TD valign="middle" width="18%"> <SPAN class="CuadroNumerico"> 
juanpablo@378
   346
              <INPUT type="text" name="inpqtyinvoiced" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="0" id="Price"></INPUT>
juanpablo@378
   347
          </SPAN></TD>
asier@528
   348
          <TD valign="middle" width="17%"> <SELECT name="inpcTaxId" id="reportC_Tax_ID" onchange="marcarFila(this);" onfocus="seleccionarFila(this);">
juanpablo@378
   349
              <OPTION value="1" class="discard">xxNormal 16%</OPTION>
juanpablo@378
   350
              <OPTION value="2" class="discard">xxReduced 7%</OPTION>
juanpablo@378
   351
          </SELECT></TD>
juanpablo@378
   352
        </TR>
juanpablo@378
   353
        <TR name="Fila"> 
juanpablo@378
   354
          <INPUT type="hidden" name="inpcInvoicelineId" value="" id="C_Invoiceline_ID"></INPUT>
asier@528
   355
          <TD valign="middle" width="4%"> <DIV style="position:relative; visibility: hidden;" name="Editable"> 
juanpablo@378
   356
              <img src="../../../../../web/images/Editando.jpg" border="0"  alt="Editing" title="Editing"></IMG></DIV></TD>
asier@528
   357
          <TD valign="middle" width="5%">60</TD>
asier@528
   358
          <TD valign="middle" width="56%"> <INPUT type="hidden" name="inpmProductIdxx" id="M_Product_ID" value="xxV" ></INPUT> 
juanpablo@378
   359
            <TABLE border="0" cellspacing="0" cellpadding="0" summary="">
juanpablo@378
   360
              <TR> 
juanpablo@378
   361
                <TD > <INPUT type="text" size="40"  maxlength="22" name="inpmProductId_Dxx" id="M_Product_ID_D" value="xxV" onchange="marcarFila(this);" onfocus="seleccionarFila(this);"></INPUT>
juanpablo@378
   362
                </TD>
ivan@770
   363
                <TD > <A href="#" onclick="openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductIdxx', 'inpmProductId_Dxx', document.frmMain.inpmProductId_Dxx.value, 'inpIDValue', document.frmMain.inpmProductIdxx.value, 'WindowID', 'InvoiceVendorMultiline_Lines');return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;"> 
juanpablo@378
   364
                    <img  alt="Product" title="Product" width="16" height="16" border="0" src="../../../../../web/images/Product.jpg" id="buttonProduct"></IMG></A></TD>
juanpablo@378
   365
              </TR>
juanpablo@378
   366
          </TABLE></TD>
asier@528
   367
          <TD valign="middle" width="18%"> <INPUT type="text" name="inppriceactual" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="1" id="PriceActual" ></INPUT>
juanpablo@378
   368
          </TD>
asier@528
   369
          <TD valign="middle" width="18%"> <SPAN class="CuadroNumerico"> 
juanpablo@378
   370
              <INPUT type="text" name="inpqtyinvoiced" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="0" id="Price"></INPUT>
juanpablo@378
   371
          </SPAN></TD>
asier@528
   372
          <TD valign="middle" width="17%"> <SELECT name="inpcTaxId" id="reportC_Tax_ID" onchange="marcarFila(this);" onfocus="seleccionarFila(this);">
juanpablo@378
   373
              <OPTION value="1" class="discard">xxNormal 16%</OPTION>
juanpablo@378
   374
              <OPTION value="2" class="discard">xxReduced 7%</OPTION>
juanpablo@378
   375
          </SELECT></TD>
juanpablo@378
   376
        </TR>
juanpablo@378
   377
        <TR name="Fila"> 
juanpablo@378
   378
          <INPUT type="hidden" name="inpcInvoicelineId" value="" id="C_Invoiceline_ID"></INPUT>
asier@528
   379
          <TD valign="middle" width="4%"> <DIV style="position:relative; visibility: hidden;" name="Editable"> 
juanpablo@378
   380
              <img src="../../../../../web/images/Editando.jpg" border="0"  alt="Editing" title="Editing"></IMG></DIV></TD>
asier@528
   381
          <TD valign="middle" width="5%">70</TD>
asier@528
   382
          <TD valign="middle" width="56%"> <INPUT type="hidden" name="inpmProductIdxx" id="M_Product_ID" value="xxV" ></INPUT> 
juanpablo@378
   383
            <TABLE border="0" cellspacing="0" cellpadding="0" summary="">
juanpablo@378
   384
              <TR> 
juanpablo@378
   385
                <TD > <INPUT type="text" size="40"  maxlength="22" name="inpmProductId_Dxx" id="M_Product_ID_D" value="xxV" onchange="marcarFila(this);" onfocus="seleccionarFila(this);"></INPUT>
juanpablo@378
   386
                </TD>
ivan@770
   387
                <TD > <A href="#" onclick="openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductIdxx', 'inpmProductId_Dxx', document.frmMain.inpmProductId_Dxx.value, 'inpIDValue', document.frmMain.inpmProductIdxx.value, 'WindowID', 'InvoiceVendorMultiline_Lines');return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;"> 
juanpablo@378
   388
                    <img  alt="Product" title="Product" width="16" height="16" border="0" src="../../../../../web/images/Product.jpg" id="buttonProduct"></IMG></A></TD>
juanpablo@378
   389
              </TR>
juanpablo@378
   390
          </TABLE></TD>
asier@528
   391
          <TD valign="middle" width="18%"> <INPUT type="text" name="inppriceactual" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="1" id="PriceActual" ></INPUT>
juanpablo@378
   392
          </TD>
asier@528
   393
          <TD valign="middle" width="18%"> <SPAN class="CuadroNumerico"> 
juanpablo@378
   394
              <INPUT type="text" name="inpqtyinvoiced" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="0" id="Price"></INPUT>
juanpablo@378
   395
          </SPAN></TD>
asier@528
   396
          <TD valign="middle" width="17%"> <SELECT name="inpcTaxId" id="reportC_Tax_ID" onchange="marcarFila(this);" onfocus="seleccionarFila(this);">
juanpablo@378
   397
              <OPTION value="1" class="discard">xxNormal 16%</OPTION>
juanpablo@378
   398
              <OPTION value="2" class="discard">xxReduced 7%</OPTION>
juanpablo@378
   399
          </SELECT></TD>
juanpablo@378
   400
        </TR>
juanpablo@378
   401
        <TR name="Fila"> 
juanpablo@378
   402
          <INPUT type="hidden" name="inpcInvoicelineId" value="" id="C_Invoiceline_ID"></INPUT>
asier@528
   403
          <TD valign="middle" width="4%"> <DIV style="position:relative; visibility: hidden;" name="Editable"> 
juanpablo@378
   404
              <img src="../../../../../web/images/Editando.jpg" border="0"  alt="Editing" title="Editing"></IMG></DIV></TD>
asier@528
   405
          <TD valign="middle" width="5%">80</TD>
asier@528
   406
          <TD valign="middle" width="56%"> <INPUT type="hidden" name="inpmProductIdxx" id="M_Product_ID" value="xxV" ></INPUT> 
juanpablo@378
   407
            <TABLE border="0" cellspacing="0" cellpadding="0" summary="">
juanpablo@378
   408
              <TR> 
juanpablo@378
   409
                <TD > <INPUT type="text" size="40"  maxlength="22" name="inpmProductId_Dxx" id="M_Product_ID_D" value="xxV" onchange="marcarFila(this);" onfocus="seleccionarFila(this);"></INPUT>
juanpablo@378
   410
                </TD>
ivan@770
   411
                <TD > <A href="#" onclick="openSearch(null, null, '../info/Product.html', null, true, 'frmMain', 'inpmProductIdxx', 'inpmProductId_Dxx', document.frmMain.inpmProductId_Dxx.value, 'inpIDValue', document.frmMain.inpmProductIdxx.value, 'WindowID', 'InvoiceVendorMultiline_Lines');return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;"> 
juanpablo@378
   412
                    <img  alt="Product" title="Product" width="16" height="16" border="0" src="../../../../../web/images/Product.jpg" id="buttonProduct"></IMG></A></TD>
juanpablo@378
   413
              </TR>
juanpablo@378
   414
          </TABLE></TD>
asier@528
   415
          <TD valign="middle" width="18%"> <INPUT type="text" name="inppriceactual" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="1" id="PriceActual" ></INPUT>
juanpablo@378
   416
          </TD>
asier@528
   417
          <TD valign="middle" width="18%"> <SPAN class="CuadroNumerico"> 
juanpablo@378
   418
              <INPUT type="text" name="inpqtyinvoiced" size="10" onchange="marcarFila(this);" onfocus="seleccionarFila(this);" value="0" id="Price"></INPUT>
juanpablo@378
   419
          </SPAN></TD>
asier@528
   420
          <TD valign="middle" width="17%"> <SELECT name="inpcTaxId" id="reportC_Tax_ID" onchange="marcarFila(this);" onfocus="seleccionarFila(this);">
juanpablo@378
   421
              <OPTION value="1" class="discard">xxNormal 16%</OPTION>
juanpablo@378
   422
              <OPTION value="2" class="discard">xxReduced 7%</OPTION>
juanpablo@378
   423
          </SELECT></TD>
juanpablo@378
   424
        </TR>
juanpablo@378
   425
      </DIV>
juanpablo@378
   426
    </TABLE>
juanpablo@378
   427
  </FORM>
juanpablo@378
   428
  <FORM name="frmSecond" method="post" action="">
juanpablo@378
   429
    <INPUT type="hidden" name="Command"></INPUT>
juanpablo@378
   430
    <INPUT type="hidden" name="inpmProductId"></INPUT>
juanpablo@378
   431
    <INPUT type="hidden" name="inpcInvoiceId" value="" id="C_Invoice_ID"></INPUT>
juanpablo@378
   432
  </FORM>
juanpablo@378
   433
</BODY>
juanpablo@378
   434
</HTML>