src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_CRemittance.html
author Gorka Gil <gorka.gil@openbravo.com>
Mon, 26 May 2008 11:32:48 +0000
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1039 14099eda9d8c
permissions -rw-r--r--
Manual windows of bug 0000436 Blank required fields don't take the focus
carlos@0
     1
<!--
carlos@0
     2
 *************************************************************************
carlos@0
     3
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     6
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     7
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    10
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    11
 * under the License. 
carlos@0
    12
 * The Original Code is Openbravo ERP. 
carlos@0
    13
 * The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    14
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
carlos@0
    15
 * All Rights Reserved. 
carlos@0
    16
 * Contributor(s):  ______________________________________.
carlos@0
    17
 ************************************************************************
carlos@0
    18
-->
carlos@0
    19
<HTML>
carlos@0
    20
<HEAD>
carlos@0
    21
<TITLE>Create from Remittance</TITLE>
carlos@0
    22
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"></META>
carlos@0
    23
<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
carlos@0
    24
<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
carlos@0
    25
<SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
asier@528
    26
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
asier@528
    27
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    28
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    29
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
carlos@0
    30
<script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
carlos@0
    31
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
carlos@0
    32
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
carlos@0
    33
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    34
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
carlos@0
    35
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
carlos@0
    36
<script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
carlos@0
    37
<SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
carlos@0
    38
  <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    39
  <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
asier@528
    40
 <script type="text/javascript">
carlos@0
    41
    dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    42
  </script>
carlos@0
    43
<SCRIPT language="JavaScript" type="text/javascript">
david@347
    44
function enableLocalShortcuts() {
ivan@770
    45
keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value, 'Command', 'KEY');", "inpcBpartnerId_DES", "null");
carlos@0
    46
}
carlos@0
    47
function depurar(action) {
carlos@0
    48
  	var frm=document.frmMain;
carlos@0
    49
	if (action=="FIND_SETTLEMENT") {
carlos@0
    50
		if (frm.inpplanneddateFrom.value!=null && frm.inpplanneddateFrom.value!="" && !isValidDate(frm.inpplanneddateFrom.value, frm.inpplanneddateFrom.displayFormat)) {
gorka@1028
    51
			setWindowElementFocus(frm.inpplanneddateFrom);
carlos@0
    52
			frm.inpplanneddateFrom.select();
carlos@0
    53
			mensaje(5);
carlos@0
    54
			return false;
carlos@0
    55
		} else if (frm.inpplanneddateTo.value!=null && frm.inpplanneddateTo.value!="" && !isValidDate(frm.inpplanneddateTo.value, frm.inpplanneddateTo.displayFormat)) {
gorka@1028
    56
			setWindowElementFocus(frm.inpplanneddateTo);
carlos@0
    57
			frm.inpplanneddateTo.select();
carlos@0
    58
			mensaje(5);
carlos@0
    59
			return false;
carlos@0
    60
		} else if (frm.inpamountFrom.value!=null && frm.inpamountFrom.value!="" && !campoNumerico(frm.inpamountFrom, true, true)) {
gorka@1028
    61
			setWindowElementFocus(frm.inpamountFrom);
carlos@0
    62
			return false;
carlos@0
    63
		} else if (frm.inpamountTo.value!=null && frm.inpamountTo.value!="" && !campoNumerico(frm.inpamountTo, true, true)) {
gorka@1028
    64
			setWindowElementFocus(frm.inpamountTo);
carlos@0
    65
			return false;
carlos@0
    66
		} else if (frm.inpamount.value!=null && frm.inpamount.value!="" && !campoNumerico(frm.inpamount, true, true)) {
gorka@1028
    67
			setWindowElementFocus(frm.inpamount);
carlos@0
    68
			return false;
carlos@0
    69
		}
carlos@0
    70
	} else if (radioValue(frm.inpcDebtPaymentId)==null) {
carlos@0
    71
		mensaje(1);
carlos@0
    72
		return false;
carlos@0
    73
	}
carlos@0
    74
  	return true;
carlos@0
    75
}
carlos@0
    76
carlos@0
    77
function actualizarDatos(clave, marcar) {
carlos@0
    78
	if (marcar==null) marcar=false;
carlos@0
    79
	var frm = document.frmMain;
carlos@0
    80
//    frm.elements["inpwriteoff" + clave].disabled=!marcar;
carlos@0
    81
//    frm.elements["inpispaid" + clave].disabled=!marcar;
carlos@0
    82
	return true;
carlos@0
    83
}
carlos@0
    84
carlos@0
    85
function cargarDatos(marcar) {
carlos@0
    86
	var radio=document.frmMain.inpcDebtPaymentId;
carlos@0
    87
	if (marcar==null) marcar=false;
carlos@0
    88
  	var frm = document.frmMain;
carlos@0
    89
	if (!radio) return false;
carlos@0
    90
	else if (!radio.length) {
carlos@0
    91
    	radio.checked = marcar;
carlos@0
    92
	} else if (radio.length > 20) {
carlos@0
    93
		return submitCommandForm('FIND_SETTLEMENT', true);
carlos@0
    94
	} else {
carlos@0
    95
    	var total = radio.length;
carlos@0
    96
		for (var i=0;i<total;i++) {
carlos@0
    97
      		radio[i].checked=marcar;
carlos@0
    98
		}
carlos@0
    99
	}
carlos@0
   100
	return true;
carlos@0
   101
}
carlos@0
   102
carlos@0
   103
function onloadFunctions() {
david@347
   104
  enableLocalShortcuts();
carlos@0
   105
}
asier@528
   106
</SCRIPT>	
asier@528
   107
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
   108
	function onLoadDo(){
asier@528
   109
		this.windowTables = new Array(
david@628
   110
		  new windowTableId('client', 'frameButton', 'buttonSearch', 'frameButton'),
david@628
   111
		  new windowTableId('client2', 'frameButton', 'buttonOK', 'frameButton2'),
david@628
   112
		  new windowTableId('tdbottomButtons', 'frameButton2', 'buttonOK', 'frameButton2')
asier@528
   113
		);
asier@528
   114
		setWindowTableParentElement();
asier@528
   115
		enableShortcuts('popup');
asier@528
   116
		
asier@528
   117
		try {
asier@528
   118
		  onloadFunctions();
asier@528
   119
		} catch (e) {}
asier@528
   120
asier@528
   121
		setWindowElementFocus('firstElement');
asier@528
   122
	}
asier@528
   123
asier@528
   124
	function onResizeDo(){
asier@528
   125
	}
asier@528
   126
	</SCRIPT>
asier@528
   127
</HEAD>
asier@528
   128
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
   129
<FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
carlos@0
   130
<INPUT type="hidden" name="Command">
carlos@0
   131
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
   132
<INPUT type="hidden" name="inpKey" value="" id="paramKey"></INPUT>
carlos@0
   133
<INPUT type="hidden" name="inpTableId" value="" id="paramTableId"></INPUT>
carlos@0
   134
<INPUT type="hidden" name="inpProcessId" value="" id="paramProcessId"></INPUT>
carlos@0
   135
<INPUT type="hidden" name="inpPath" value="" id="paramPath"></INPUT>
carlos@0
   136
<INPUT type="hidden" name="inpWindowId" value="" id="paramWindowId"></INPUT>
carlos@0
   137
<INPUT type="hidden" name="inpTabName" value="" id="paramTabName"></INPUT>
carlos@0
   138
  <div class="Popup_ContentPane_CircleLogo">
carlos@0
   139
    <div class="Popup_WindowLogo">
carlos@0
   140
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
   141
    </div>
carlos@0
   142
  </div>
carlos@0
   143
  <table cellspacing="0" cellpadding="0" width="100%">
carlos@0
   144
carlos@0
   145
    <tr>
carlos@0
   146
      <td>
carlos@0
   147
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
   148
          <tr class="Popup_NavBar_bg"><td></td>
carlos@0
   149
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   150
            <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
   151
            <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
carlos@0
   152
            <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   153
            <td class="Popup_NavBar_Popup_title_cell"><span>Create from Remittance</span></td>
carlos@0
   154
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   155
          </tr>
carlos@0
   156
        </table>
carlos@0
   157
      </td>
carlos@0
   158
    </tr>
carlos@0
   159
carlos@0
   160
    <tr>
carlos@0
   161
      <td>
carlos@0
   162
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   163
          <tr>
carlos@0
   164
            <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   165
          </tr>
carlos@0
   166
        </table>
carlos@0
   167
      </td>
carlos@0
   168
    </tr>
carlos@0
   169
carlos@0
   170
    <tr>
carlos@0
   171
      <td>
asier@528
   172
        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   173
carlos@0
   174
           <!-- MessageBox -->
carlos@0
   175
                <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
carlos@0
   176
  <TBODY>
carlos@0
   177
  <tr class="MessageBox_TopMargin">
carlos@0
   178
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   179
    <td></td>
carlos@0
   180
    <td class="MessageBox_RightMargin"></td>
carlos@0
   181
  </tr>
carlos@0
   182
  <tr>
carlos@0
   183
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   184
    <td>
carlos@0
   185
carlos@0
   186
      <table cellpadding="0" cellspacing="0" style="width: 100%;">
carlos@0
   187
        <TBODY>
carlos@0
   188
        <tr>
carlos@0
   189
          <td>
carlos@0
   190
            <div class="MessageBox_TopLeft"></div>
carlos@0
   191
            <div class="MessageBox_Left"></div>
carlos@0
   192
          </td>
carlos@0
   193
          <td class="MessageBox_bg">
carlos@0
   194
carlos@0
   195
            <table class="MessageBox_Top">
carlos@0
   196
            <TBODY>
carlos@0
   197
              <tr>
carlos@0
   198
                <td>
carlos@0
   199
                  <span>
carlos@0
   200
                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
carlos@0
   201
                    <TBODY>
carlos@0
   202
                    <tr>
carlos@0
   203
                      <td class="MessageBox_Icon_ContentCell">
carlos@0
   204
                        <div class="MessageBox_Icon"></div>
carlos@0
   205
                      </td>
carlos@0
   206
                      <td style="vertical-align: top;" id="messageBoxIDContent">
carlos@0
   207
                        <span>
carlos@0
   208
                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
carlos@0
   209
                            xxInfo: AccessTableWithNoView
carlos@0
   210
                          </div>
carlos@0
   211
                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
carlos@0
   212
                            xxThe current information is empty.
carlos@0
   213
                          </div>
carlos@0
   214
                          <div class="MessageBox_TextSeparator"></div>
carlos@0
   215
                        </span>
carlos@0
   216
                      </td>
carlos@0
   217
                    </tr>
carlos@0
   218
                    </TBODY>
carlos@0
   219
                  </table>
carlos@0
   220
                  </span>
carlos@0
   221
                </td>
carlos@0
   222
              </tr>
carlos@0
   223
              </TBODY>
carlos@0
   224
            </table>
carlos@0
   225
carlos@0
   226
          </td>
carlos@0
   227
          <td class="MessageBox_RightTrans">
carlos@0
   228
            <div class="MessageBox_TopRight"></div>
carlos@0
   229
            <div class="MessageBox_Right"></div>
carlos@0
   230
          </td>
carlos@0
   231
        </tr>
carlos@0
   232
        <tr>
carlos@0
   233
          <td rowspan="2" class="MessageBox_BottomLeft">
carlos@0
   234
          </td>
carlos@0
   235
          <td class="MessageBox_BottomTrans MessageBox_bg">
carlos@0
   236
          </td>
carlos@0
   237
          <td rowspan="2" class="MessageBox_BottomRight">
carlos@0
   238
          </td>
carlos@0
   239
        </tr>
carlos@0
   240
        <tr>
carlos@0
   241
          <td class="MessageBox_Bottom">
carlos@0
   242
          </td>
carlos@0
   243
        </tr>
carlos@0
   244
        </TBODY>
carlos@0
   245
      </table>
carlos@0
   246
carlos@0
   247
    </td>
carlos@0
   248
    <td class="MessageBox_RightMargin"></td>
carlos@0
   249
  </tr>
carlos@0
   250
  <tr class="MessageBox_BottomMargin">
carlos@0
   251
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   252
    <td></td>
carlos@0
   253
    <td class="MessageBox_RightMargin"></td>
carlos@0
   254
  </tr>
carlos@0
   255
  </TBODY>
carlos@0
   256
</table>
carlos@0
   257
    <!-- MessageBox END -->
carlos@0
   258
carlos@0
   259
        <TABLE cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
carlos@0
   260
            <tr>
carlos@0
   261
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   262
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   263
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   264
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   265
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   266
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   267
            </tr>
carlos@0
   268
            <TR>
carlos@0
   269
              <td colspan="6">
carlos@0
   270
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   271
                <tbody>
carlos@0
   272
                  <tr class="FieldGroup_TopMargin"/>
carlos@0
   273
                  <tr>
carlos@0
   274
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   275
                    <td class="FieldGroupTitle">Filters</td>
carlos@0
   276
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   277
                    <td class="FieldGroupContent"/>
carlos@0
   278
                  </tr>
carlos@0
   279
                  <tr class="FieldGroup_BottomMargin"/>
carlos@0
   280
                </tbody>
carlos@0
   281
                </table>
carlos@0
   282
              </td>
carlos@0
   283
            </TR>
carlos@0
   284
carlos@0
   285
            <tr>
carlos@0
   286
              <td class="TitleCell"><SPAN class="LabelText">Business Partner</SPAN></td>
carlos@0
   287
              <TD class="TextBox_btn_ContentCell" colspan="2">
carlos@0
   288
                <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
carlos@0
   289
                  <TR>
carlos@0
   290
                    <td>
carlos@0
   291
                      <INPUT type="hidden" name="inpcBpartnerId" id="fieldCBPartnerID" value="">
carlos@0
   292
                    </td>
carlos@0
   293
                    <td class="TextBox_ContentCell">
carlos@0
   294
                      <INPUT type="text" class="dojoValidateValid TextBox_btn_TwoCells_width" maxlength="22" name="inpcBpartnerId_DES" id="fieldCBPartnerID_DES" value=""></INPUT>
carlos@0
   295
                    </td>
carlos@0
   296
                    <TD class="FieldButton_ContentCell">
ivan@770
   297
                      <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value);return false;">
carlos@0
   298
                      <TABLE class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Business Partner';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="fieldWindowID">
carlos@0
   299
                        <TR>
carlos@0
   300
                          <TD class="FieldButton_bg">
carlos@0
   301
                            <IMG alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0" id="buttonBPartner"></IMG>
carlos@0
   302
                          </TD>
carlos@0
   303
                        </TR>
carlos@0
   304
                      </TABLE>
carlos@0
   305
                      </a>
carlos@0
   306
                    </TD>
carlos@0
   307
                  </TR>
carlos@0
   308
                </TABLE>
carlos@0
   309
              </TD>
carlos@0
   310
              <TD class="TitleCell"></TD>
asier@528
   311
              <TD class="TitleCell"><SPAN class="LabelText">Payment Rule</SPAN></TD>
carlos@0
   312
              <TD class="Combo_ContentCell">
carlos@0
   313
                <SELECT name="inppaymentrule" class="Combo Combo_OneCell_width" id="inppaymentrule">
carlos@0
   314
                  <OPTION value=""></OPTION><DIV id="reportPaymentRule"></DIV>
carlos@0
   315
                </SELECT>
carlos@0
   316
              </TD>
carlos@0
   317
            </tr>
carlos@0
   318
            <tr>
asier@528
   319
              <TD class="TitleCell"><SPAN class="LabelText">Receipt type</SPAN></TD>
carlos@0
   320
              <TD class="Combo_ContentCell">
carlos@0
   321
                <SELECT name="inpisreceipt" id="inpisreceipt" class="Combo Combo_OneCell_width">
carlos@0
   322
                <OPTION value="">All</OPTION>
carlos@0
   323
                <OPTION value="N" id="fieldIsReceiptPago">Payment</OPTION>
carlos@0
   324
                <OPTION value="Y" id="fieldIsReceiptCobro">Collection</OPTION></SELECT>
carlos@0
   325
              </TD>
carlos@0
   326
asier@528
   327
            <TD class="TitleCell"><SPAN class="LabelText">From Date planned</SPAN></TD>
carlos@0
   328
            <TD class="TextBox_btn_ContentCell">
carlos@0
   329
              <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   330
                <TR>
carlos@0
   331
                  <TD class="TextBox_ContentCell">
carlos@0
   332
                    <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width"  type="text" name="inpplanneddateFrom" id="paramPlannedDateFrom" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramPlannedDateFrom");</script>
carlos@0
   333
                  </TD>
carlos@0
   334
                  <TD class="FieldButton_ContentCell">
carlos@0
   335
                    <TABLE class="FieldButton" onclick="showCalendar('frmMain.inpplanneddateFrom', document.frmMain.inpplanneddateFrom.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
carlos@0
   336
                      <TR>
carlos@0
   337
                        <TD class="FieldButton_bg">
carlos@0
   338
                          <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
carlos@0
   339
                        </TD>
carlos@0
   340
                      </TR>
carlos@0
   341
                    </TABLE>
carlos@0
   342
                  </TD>
carlos@0
   343
                </TR>
carlos@0
   344
              </TABLE>
carlos@0
   345
            </TD>
asier@528
   346
            <TD class="TitleCell"><SPAN class="LabelText">To Date planned</SPAN></TD>
carlos@0
   347
            <TD class="TextBox_btn_ContentCell">
carlos@0
   348
              <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   349
                <TR>
carlos@0
   350
                  <TD class="TextBox_ContentCell">
carlos@0
   351
                    <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width"  type="text" name="inpplanneddateTo" id="paramPlannedDateTo" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramPlannedDateTo");</script>
carlos@0
   352
                  </TD>
carlos@0
   353
                  <TD class="FieldButton_ContentCell">
carlos@0
   354
                    <TABLE class="FieldButton" onclick="showCalendar('frmMain.inpplanneddateTo', document.frmMain.inpplanneddateTo.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
carlos@0
   355
                      <TR>
carlos@0
   356
                        <TD class="FieldButton_bg">
carlos@0
   357
                          <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
carlos@0
   358
                        </TD>
carlos@0
   359
                      </TR>
carlos@0
   360
                    </TABLE>
carlos@0
   361
                  </TD>
carlos@0
   362
                </TR>
carlos@0
   363
              </TABLE>
carlos@0
   364
            </TD>
carlos@0
   365
            </tr>
carlos@0
   366
            <tr>
carlos@0
   367
              <TD class="TitleCell"><SPAN class="LabelText">Amount From</SPAN></TD>
carlos@0
   368
              <TD class="TextBox_btn_ContentCell">
carlos@0
   369
                <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   370
                  <TR>
carlos@0
   371
                    <TD class="TextBox_ContentCell">
carlos@0
   372
                      <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramAmountFrom" class="dojoValidateValid TextBox_btn_OneCell_width"  value="" maxlength="10" name="inpamountFrom" onkeyup="" onchange="logChanges(this);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("paramAmountFrom");</SCRIPT>
carlos@0
   373
                    </TD>
carlos@0
   374
                    <TD class="FieldButton_ContentCell"><TABLE class="FieldButton" onclick="calculator('frmMain.inpamountFrom', document.frmMain.inpamountFrom.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="NoPackageslinkCalc">
carlos@0
   375
                        <TR>
carlos@0
   376
                          <TD class="FieldButton_bg">
carlos@0
   377
                            <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount to" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
carlos@0
   378
                          </TD>
carlos@0
   379
                        </TR>
carlos@0
   380
                      </TABLE>
carlos@0
   381
carlos@0
   382
                    </TD>
carlos@0
   383
                  </TR>
carlos@0
   384
                </TABLE>
carlos@0
   385
              </TD>
carlos@0
   386
carlos@0
   387
carlos@0
   388
carlos@0
   389
            <TD class="TitleCell">
carlos@0
   390
carlos@0
   391
              <SPAN class="LabelText" id="AmountTo_lbl">
carlos@0
   392
                Amount To</SPAN>
carlos@0
   393
carlos@0
   394
              </TD><TD class="TextBox_btn_ContentCell">
carlos@0
   395
                  <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   396
                    <TR>
carlos@0
   397
                      <TD class="TextBox_ContentCell">
carlos@0
   398
                        <INPUT type="text"  dojoType="openbravo:RealNumberTextbox" id="paramAmountTo" class="dojoValidateValid TextBox_btn_OneCell_width"  value="" maxlength="10" name="inpamountTo" onkeyup="" onchange="logChanges(this);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("paramAmountTo");</SCRIPT>
carlos@0
   399
                      </TD>
carlos@0
   400
                      <TD class="FieldButton_ContentCell"><TABLE class="FieldButton" onclick="calculator('frmMain.inpamountTo', document.frmMain.inpamountTo.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="NoPackageslinkCalc">
carlos@0
   401
                          <TR>
carlos@0
   402
                            <TD class="FieldButton_bg">
carlos@0
   403
                              <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount to" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
carlos@0
   404
                            </TD>
carlos@0
   405
                          </TR>
carlos@0
   406
                        </TABLE>
carlos@0
   407
carlos@0
   408
                      </TD>
carlos@0
   409
                    </TR>
carlos@0
   410
                  </TABLE>
carlos@0
   411
            <TD class="TitleCell">
carlos@0
   412
carlos@0
   413
              <SPAN class="LabelText" id="Amount_lbl">
carlos@0
   414
                Amount lower than</SPAN>
carlos@0
   415
carlos@0
   416
              </TD><TD class="TextBox_btn_ContentCell">
carlos@0
   417
                  <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   418
                    <TR>
carlos@0
   419
                      <TD class="TextBox_ContentCell">
carlos@0
   420
                        <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramTotalAmount" class="dojoValidateValid TextBox_btn_OneCell_width"  value="" maxlength="10" name="inpamount" onkeyup="" onchange="logChanges(this);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("paramTotalAmount");</SCRIPT>
carlos@0
   421
                      </TD>
carlos@0
   422
                      <TD class="FieldButton_ContentCell"><TABLE class="FieldButton" onclick="calculator('frmMain.inpamount', document.frmMain.inpamount.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="AmountlinkCalc">
carlos@0
   423
                          <TR>
carlos@0
   424
                            <TD class="FieldButton_bg">
carlos@0
   425
                              <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount to" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
carlos@0
   426
                            </TD>
carlos@0
   427
                          </TR>
carlos@0
   428
                        </TABLE>
carlos@0
   429
                      </TD>
carlos@0
   430
                    </TR>
carlos@0
   431
                  </TABLE>
carlos@0
   432
            </TD>
carlos@0
   433
            </tr>
carlos@0
   434
<tr>
asier@528
   435
              <TD class="TitleCell"><SPAN class="LabelText">Status</SPAN></TD>
carlos@0
   436
              <TD class="Combo_ContentCell">
carlos@0
   437
                <SELECT name="inpStatusFrom" id="inpStatusFrom" class="Combo Combo_OneCell_width">
carlos@0
   438
                <OPTION value=""></OPTION>
carlos@0
   439
                <DIV id="reportStatusFrom"></DIV></SELECT>
carlos@0
   440
              </TD>
asier@528
   441
              <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
carlos@0
   442
              <TD class="Combo_ContentCell">
carlos@0
   443
                <SELECT name="inpadOrgId" id="inpadOrgId" class="Combo Combo_OneCell_width">
carlos@0
   444
                <OPTION value=""></OPTION>
carlos@0
   445
                <DIV id="reportAD_Org_ID"></DIV></SELECT>
carlos@0
   446
              </TD>
carlos@0
   447
              <TD class="TitleCell"></TD>
carlos@0
   448
              <TD class="TitleCell"> </TD>
carlos@0
   449
</tr>
carlos@0
   450
carlos@0
   451
            <tr>
carlos@0
   452
              <td class="TitleCell"></td>
carlos@0
   453
              <td class="Button_RightAlign_ContentCell">
carlos@0
   454
                <div>
david@628
   455
                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Search'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('FIND_SETTLEMENT', true);return false;" id="buttonSearch">
carlos@0
   456
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Search';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   457
                    <tr>
carlos@0
   458
                      <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   459
                      <td class="Button_text Button_width">Search</td>
carlos@0
   460
                      <td class="Button_right"></td>
carlos@0
   461
                    </tr>
carlos@0
   462
                  </table>
carlos@0
   463
                  </a>
carlos@0
   464
                </div>
carlos@0
   465
              </td>
carlos@0
   466
              <td class="Button_LeftAlign_ContentCell">
carlos@0
   467
              </td>
carlos@0
   468
              <TD class="TitleCell"></TD>
carlos@0
   469
              <TD class="TitleCell"></TD>
carlos@0
   470
              <TD class="TitleCell"></TD>
carlos@0
   471
            </tr>
carlos@0
   472
           </table>
carlos@0
   473
         </div>
carlos@0
   474
       </td>
carlos@0
   475
     </tr>
carlos@0
   476
   </table>
carlos@0
   477
           
carlos@0
   478
<table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
asier@528
   479
  <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client2">
carlos@0
   480
    <TABLE cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table">
carlos@0
   481
      <TR class="Popup_Client_Selector_DataGrid_HeaderRow">
asier@528
   482
        <td class="DataGrid_Body_LineNoCell" width="25"><SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpTodos" onclick="cargarDatos(this);return true;" value="Y" id="fieldMarcarTodos"></INPUT></SPAN></td>
carlos@0
   483
        <th class="DataGrid_Header_Cell">Business Partner</th>
carlos@0
   484
        <th class="DataGrid_Header_Cell">Organization</th>
carlos@0
   485
        <th class="DataGrid_Header_Cell">Invoice</th>
carlos@0
   486
        <th class="DataGrid_Header_Cell">Payment rule</th>
carlos@0
   487
        <th class="DataGrid_Header_Cell">Planned date</th>
carlos@0
   488
        <th class="DataGrid_Header_Cell">Amount</th>
carlos@0
   489
        <th class="DataGrid_Header_Cell">Currency</th>
carlos@0
   490
        <th class="DataGrid_Header_Cell">Status</th>
carlos@0
   491
      </TR>
carlos@0
   492
carlos@0
   493
      <DIV id="sectionDetail">
carlos@0
   494
        <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="inpRecord10000003">
carlos@0
   495
          <TD class="DataGrid_Body_LineNoCell">
asier@528
   496
          <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpcDebtPaymentId" value="" id="fieldCDebtPaymentId" onclick="actualizarDatos(this.value, this.checked);return true;"></INPUT></SPAN></TD>
carlos@0
   497
          <TD class="DataGrid_Body_Cell" id="fieldBpartner">xxQuantity</TD>
carlos@0
   498
          <TD class="DataGrid_Body_Cell" id="fieldOrg">xx</TD>
carlos@0
   499
          <TD class="DataGrid_Body_Cell" id="fieldInvoice">xxUOM</TD>
carlos@0
   500
          <TD class="DataGrid_Body_Cell" id="fieldPaymentRuleDes">xxProduct</TD>
carlos@0
   501
          <TD class="DataGrid_Body_Cell" id="fieldPlannedDate">xxP</TD>
carlos@0
   502
          <TD class="DataGrid_Body_Cell" id="fieldAmount">xx</TD>
carlos@0
   503
          <TD class="DataGrid_Body_Cell" id="fieldCurrency">xx</TD>
carlos@0
   504
          <td class="DataGrid_Body_Cell" id="fieldStatus">xx</td>
carlos@0
   505
        </tr>
carlos@0
   506
      </DIV>
carlos@0
   507
    </TABLE>
carlos@0
   508
  </div>
carlos@0
   509
</table>
carlos@0
   510
<table cellspacing="0" cellpadding="0" width="100%">
carlos@0
   511
  <TR>
carlos@0
   512
    <TD class="TitleCell"><SPAN class="LabelText">Total amount</SPAN></TD>
carlos@0
   513
    <TD class="ReadOnly_Text_ContentCell"><SPAN class="Label_ReadOnly_Text" id="fieldTotal">xxxx</SPAN></TD>
carlos@0
   514
  </TR>
carlos@0
   515
</table>
carlos@0
   516
</FORM>
carlos@0
   517
</BODY>
carlos@0
   518
</HTML>