src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_DPManagement.html
author Gorka Gil <gorka.gil@openbravo.com>
Mon, 26 May 2008 11:32:48 +0000
changeset 1028 8b85368639cc
parent 799 fef2c5e2feb7
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 Settlement</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="paramDirection">
carlos@0
    25
    var baseDirection="../../../../../web/";
carlos@0
    26
  </SCRIPT>
carlos@0
    27
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
carlos@0
    28
  <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
carlos@0
    29
  <SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    30
  <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
carlos@0
    31
  <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
carlos@0
    32
  <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
carlos@0
    33
  <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
carlos@0
    34
  <SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
carlos@0
    35
  <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
asier@528
    36
  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
asier@528
    37
  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    38
  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    39
  <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
carlos@0
    40
  <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    41
  <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
asier@528
    42
 <SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    43
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', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
carlos@0
    46
}
carlos@0
    47
carlos@0
    48
function depurar(action) {
carlos@0
    49
  	var frm=document.frmMain;
carlos@0
    50
	if (action=="FIND_SETTLEMENT") {
carlos@0
    51
		if (frm.inpplanneddateFrom.value!=null && frm.inpplanneddateFrom.value!="" && !isValidDate(frm.inpplanneddateFrom.value, frm.inpplanneddateFrom.displayFormat)) {
gorka@1028
    52
			setWindowElementFocus(frm.inpplanneddateFrom);
carlos@0
    53
			frm.inpplanneddateFrom.select();
carlos@0
    54
			mensaje(5);
carlos@0
    55
			return false;
carlos@0
    56
		} else if (frm.inpplanneddateTo.value!=null && frm.inpplanneddateTo.value!="" && !isValidDate(frm.inpplanneddateTo.value, frm.inpplanneddateTo.displayFormat)) {
gorka@1028
    57
			setWindowElementFocus(frm.inpplanneddateTo);
carlos@0
    58
			frm.inpplanneddateTo.select();
carlos@0
    59
			mensaje(5);
carlos@0
    60
			return false;
carlos@0
    61
		} else if (frm.inpamount.value!=null && frm.inpamount.value!="" && !campoNumerico(frm.inpamount, true, true)) {
gorka@1028
    62
			setWindowElementFocus(frm.inpamount);
carlos@0
    63
			return false;
carlos@0
    64
		}
carlos@0
    65
	} else if (radioValue(frm.inpcDebtPaymentId)==null) {
carlos@0
    66
		mensaje(1);
carlos@0
    67
		return false;
carlos@0
    68
	}
carlos@0
    69
  	return true;
carlos@0
    70
}
carlos@0
    71
carlos@0
    72
function actualizarDatos(clave, marcar) {
carlos@0
    73
	if (marcar==null) marcar=false;
carlos@0
    74
	var frm = document.frmMain;
carlos@0
    75
//    frm.elements["inpwriteoff" + clave].disabled=!marcar;
carlos@0
    76
//    frm.elements["inpispaid" + clave].disabled=!marcar;
carlos@0
    77
	return true;
carlos@0
    78
}
carlos@0
    79
carlos@0
    80
function cargarDatos(marcar) {
carlos@0
    81
	var radio=document.frmMain.inpcDebtPaymentId;
carlos@0
    82
	if (marcar==null) marcar=false;
carlos@0
    83
  	var frm = document.frmMain;
carlos@0
    84
	if (!radio) return false;
carlos@0
    85
	else if (!radio.length) {
carlos@0
    86
    	radio.checked = marcar;
carlos@0
    87
//    	frm.elements["inpwriteoff" + radio.value].disabled=!marcar;
carlos@0
    88
//    	frm.elements["inpispaid" + radio.value].disabled=!marcar;
carlos@0
    89
	} else if (radio.length > 20) {
carlos@0
    90
		return submitCommandForm('FIND_SETTLEMENT', true);
carlos@0
    91
	} else {
carlos@0
    92
    	var total = radio.length;
carlos@0
    93
		for (var i=0;i<total;i++) {
carlos@0
    94
      		radio[i].checked=marcar;
carlos@0
    95
//      		frm.elements["inpwriteoff" + radio[i].value].disabled=!marcar;
carlos@0
    96
//      		frm.elements["inpispaid" + radio[i].value].disabled=!marcar;
carlos@0
    97
		}
carlos@0
    98
	}
carlos@0
    99
	return true;
carlos@0
   100
}
carlos@0
   101
carlos@0
   102
function onloadFunctions() {
david@347
   103
  enableLocalShortcuts();
carlos@0
   104
}
asier@528
   105
</SCRIPT>	
asier@528
   106
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
   107
	function onLoadDo(){
asier@528
   108
		this.windowTables = new Array(
david@628
   109
		  new windowTableId('client', 'frameButton', 'buttonSearch', 'frameButton'),
david@628
   110
		  new windowTableId('client2', 'frameButton', 'buttonOK', 'frameButton2'),
david@628
   111
		  new windowTableId('tdbottomButtons', 'frameButton2', 'buttonOK', 'frameButton2')
asier@528
   112
		);
asier@528
   113
		setWindowTableParentElement();
asier@528
   114
		enableShortcuts('popup');
asier@528
   115
		
asier@528
   116
		try {
asier@528
   117
		  onloadFunctions();
asier@528
   118
		} catch (e) {}
carlos@0
   119
asier@528
   120
		setWindowElementFocus('firstElement');
asier@528
   121
	}
carlos@0
   122
asier@528
   123
	function onResizeDo(){
asier@528
   124
	}
asier@528
   125
	</SCRIPT>
asier@528
   126
</HEAD>
carlos@0
   127
carlos@0
   128
asier@528
   129
asier@528
   130
asier@528
   131
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
   132
<FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
carlos@0
   133
<INPUT type="hidden" name="Command">
carlos@0
   134
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
   135
<INPUT type="hidden" name="inpKey" value="" id="paramKey"></INPUT>
carlos@0
   136
<INPUT type="hidden" name="inpTableId" value="" id="paramTableId"></INPUT>
carlos@0
   137
<INPUT type="hidden" name="inpProcessId" value="" id="paramProcessId"></INPUT>
carlos@0
   138
<INPUT type="hidden" name="inpPath" value="" id="paramPath"></INPUT>
carlos@0
   139
<INPUT type="hidden" name="inpWindowId" value="" id="paramWindowId"></INPUT>
carlos@0
   140
<INPUT type="hidden" name="inpTabName" value="" id="paramTabName"></INPUT>
carlos@0
   141
carlos@0
   142
  <div class="Popup_ContentPane_CircleLogo">
carlos@0
   143
    <div class="Popup_WindowLogo">
carlos@0
   144
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
   145
    </div>
carlos@0
   146
  </div>
carlos@0
   147
carlos@0
   148
  <table cellspacing="0" cellpadding="0" width="100%">
carlos@0
   149
carlos@0
   150
    <tr>
carlos@0
   151
      <td>
carlos@0
   152
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
   153
          <tr class="Popup_NavBar_bg"><td></td>
carlos@0
   154
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   155
            <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
   156
            <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
   157
            <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   158
            <td class="Popup_NavBar_Popup_title_cell"><span>DP Management</span></td>
carlos@0
   159
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   160
          </tr>
carlos@0
   161
        </table>
carlos@0
   162
      </td>
carlos@0
   163
    </tr>
carlos@0
   164
carlos@0
   165
    <tr>
carlos@0
   166
      <td>
carlos@0
   167
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   168
          <tr>
carlos@0
   169
            <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   170
          </tr>
carlos@0
   171
        </table>
carlos@0
   172
      </td>
carlos@0
   173
    </tr>
carlos@0
   174
carlos@0
   175
    <tr>
carlos@0
   176
      <td>
asier@528
   177
        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   178
carlos@0
   179
           <!-- MessageBox -->
carlos@0
   180
                <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
carlos@0
   181
  <TBODY>
carlos@0
   182
  <tr class="MessageBox_TopMargin">
carlos@0
   183
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   184
    <td></td>
carlos@0
   185
    <td class="MessageBox_RightMargin"></td>
carlos@0
   186
  </tr>
carlos@0
   187
  <tr>
carlos@0
   188
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   189
    <td>
carlos@0
   190
carlos@0
   191
      <table cellpadding="0" cellspacing="0" style="width: 100%;">
carlos@0
   192
        <TBODY>
carlos@0
   193
        <tr>
carlos@0
   194
          <td>
carlos@0
   195
            <div class="MessageBox_TopLeft"></div>
carlos@0
   196
            <div class="MessageBox_Left"></div>
carlos@0
   197
          </td>
carlos@0
   198
          <td class="MessageBox_bg">
carlos@0
   199
carlos@0
   200
            <table class="MessageBox_Top">
carlos@0
   201
            <TBODY>
carlos@0
   202
              <tr>
carlos@0
   203
                <td>
carlos@0
   204
                  <span>
carlos@0
   205
                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
carlos@0
   206
                    <TBODY>
carlos@0
   207
                    <tr>
carlos@0
   208
                      <td class="MessageBox_Icon_ContentCell">
carlos@0
   209
                        <div class="MessageBox_Icon"></div>
carlos@0
   210
                      </td>
carlos@0
   211
                      <td style="vertical-align: top;" id="messageBoxIDContent">
carlos@0
   212
                        <span>
carlos@0
   213
                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
carlos@0
   214
                            xxInfo: AccessTableWithNoView
carlos@0
   215
                          </div>
carlos@0
   216
                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
carlos@0
   217
                            xxThe current information is empty.
carlos@0
   218
                          </div>
carlos@0
   219
                          <div class="MessageBox_TextSeparator"></div>
carlos@0
   220
                        </span>
carlos@0
   221
                      </td>
carlos@0
   222
                    </tr>
carlos@0
   223
                    </TBODY>
carlos@0
   224
                  </table>
carlos@0
   225
                  </span>
carlos@0
   226
                </td>
carlos@0
   227
              </tr>
carlos@0
   228
              </TBODY>
carlos@0
   229
            </table>
carlos@0
   230
carlos@0
   231
          </td>
carlos@0
   232
          <td class="MessageBox_RightTrans">
carlos@0
   233
            <div class="MessageBox_TopRight"></div>
carlos@0
   234
            <div class="MessageBox_Right"></div>
carlos@0
   235
          </td>
carlos@0
   236
        </tr>
carlos@0
   237
        <tr>
carlos@0
   238
          <td rowspan="2" class="MessageBox_BottomLeft">
carlos@0
   239
          </td>
carlos@0
   240
          <td class="MessageBox_BottomTrans MessageBox_bg">
carlos@0
   241
          </td>
carlos@0
   242
          <td rowspan="2" class="MessageBox_BottomRight">
carlos@0
   243
          </td>
carlos@0
   244
        </tr>
carlos@0
   245
        <tr>
carlos@0
   246
          <td class="MessageBox_Bottom">
carlos@0
   247
          </td>
carlos@0
   248
        </tr>
carlos@0
   249
        </TBODY>
carlos@0
   250
      </table>
carlos@0
   251
carlos@0
   252
    </td>
carlos@0
   253
    <td class="MessageBox_RightMargin"></td>
carlos@0
   254
  </tr>
carlos@0
   255
  <tr class="MessageBox_BottomMargin">
carlos@0
   256
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   257
    <td></td>
carlos@0
   258
    <td class="MessageBox_RightMargin"></td>
carlos@0
   259
  </tr>
carlos@0
   260
  </TBODY>
carlos@0
   261
</table>
carlos@0
   262
    <!-- MessageBox END -->
carlos@0
   263
carlos@0
   264
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
carlos@0
   265
            <tr>
carlos@0
   266
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   267
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   268
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   269
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   270
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   271
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   272
            </tr>
carlos@0
   273
carlos@0
   274
            <TR>
carlos@0
   275
              <td colspan="6">
carlos@0
   276
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   277
                <tbody>
carlos@0
   278
                  <tr class="FieldGroup_TopMargin"/>
carlos@0
   279
                  <tr>
carlos@0
   280
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   281
                    <td class="FieldGroupTitle">Filters</td>
carlos@0
   282
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   283
                    <td class="FieldGroupContent"/>
carlos@0
   284
                  </tr>
carlos@0
   285
                  <tr class="FieldGroup_BottomMargin"/>
carlos@0
   286
                </tbody>
carlos@0
   287
                </table>
carlos@0
   288
              </td>
carlos@0
   289
            </TR>
carlos@0
   290
            <tr>
carlos@0
   291
              <td class="TitleCell">
carlos@0
   292
                <SPAN class="LabelText">Business Partner</SPAN>
carlos@0
   293
              </td>
carlos@0
   294
              <TD class="TextBox_ContentCell" colspan="2">
carlos@0
   295
                <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
carlos@0
   296
                  <TR>
carlos@0
   297
                    <td class="TextBox_btn_OneCell">
carlos@0
   298
                      <INPUT type="hidden" name="inpNewcInvoiceId" value="">
carlos@0
   299
                      <INPUT type="hidden" name="inpcBpartnerId" id="fieldCBPartnerID" value="">
carlos@0
   300
                      <INPUT type="text" class="dojoValidateValid TextBox_btn_TwoCells_width" maxlength="22" name="inpBpartnerId_DES" id="fieldCBPartnerID_DES" value=""></INPUT>
carlos@0
   301
                    </td>
carlos@0
   302
                  <td class="TextBox_btn_OneCell">
ivan@770
   303
                    <a onclick="openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value);return false;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onblur="window.status=''; return true;" onfocus="setWindowElementFocus(this); window.status='Business Partner '; return true;" href="#" class="FieldButtonLink">
carlos@0
   304
                      <table id="C_Bpartner_IDlinkBusinessPartner" onmouseout="this.className='FieldButton'; window.status=''; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Business Partner '; return true;" onmouseup="this.className='FieldButton'; return true;" onmousedown="this.className='FieldButton_active'; return true;" class="FieldButton">
carlos@0
   305
                        <tbody>
carlos@0
   306
                          <tr>
carlos@0
   307
                            <td class="FieldButton_bg">
carlos@0
   308
                              <img border="0" id="buttonBusinessPartner" src="../../../../../web/images/blank.gif" title="Business Partner " class="FieldButton_Icon FieldButton_Icon_BusinessPartner" alt="Business Partner "/>
carlos@0
   309
                          </td>
carlos@0
   310
                        </tr>
carlos@0
   311
                      </tbody>
carlos@0
   312
                      </table>
carlos@0
   313
                    </a>
carlos@0
   314
                  </td>
carlos@0
   315
                  </TR>
carlos@0
   316
                </TABLE>
carlos@0
   317
              </TD>
asier@528
   318
              <TD class="TitleCell"><SPAN class="LabelText">Payment Rule</SPAN></TD>
carlos@0
   319
              <TD class="Combo_ContentCell" colspan="2">
carlos@0
   320
                <SELECT name="inppaymentrule" class="Combo Combo_TwoCells_width" onchange="submitCommandForm('FIND_PO', false, null, null, '_self');return true;" id="inppaymentrule">
carlos@0
   321
                  <OPTION value=""></OPTION><DIV id="reportPaymentRule"></DIV>
carlos@0
   322
                </SELECT>
carlos@0
   323
              </TD>
carlos@0
   324
            </tr>
carlos@0
   325
carlos@0
   326
            <tr>
asier@528
   327
              <TD class="TitleCell"><SPAN class="LabelText">Receipt type</SPAN></TD>
carlos@0
   328
              <TD class="Combo_ContentCell">
carlos@0
   329
                <SELECT name="inpisreceipt" id="inpisreceipt" class="Combo Combo_OneCell_width">
carlos@0
   330
                <OPTION value="">All</OPTION>
carlos@0
   331
                <OPTION value="N" id="fieldIsReceiptPago">Payment</OPTION>
carlos@0
   332
                <OPTION value="Y" id="fieldIsReceiptCobro">Collection</OPTION></SELECT>
carlos@0
   333
              </TD>
carlos@0
   334
asier@528
   335
              <td class="TitleCell"><SPAN class="LabelText">From Date planned</SPAN></td>
carlos@0
   336
              <td class="TextBox_btn_ContentCell">
carlos@0
   337
                <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   338
                  <tr>
carlos@0
   339
                    <td class="TextBox_ContentCell">
carlos@0
   340
                      <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
   341
                    </td>
carlos@0
   342
                    <td class="FieldButton_ContentCell">
carlos@0
   343
                      <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
   344
                        <tr>
carlos@0
   345
                          <td class="FieldButton_bg">
carlos@0
   346
                            <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0" id="buttonCalendar"></IMG>
carlos@0
   347
                          </td>
carlos@0
   348
                        </tr>
carlos@0
   349
                      </table>
carlos@0
   350
                    </td>
carlos@0
   351
                  </tr>
carlos@0
   352
                </table>
carlos@0
   353
              </td>
asier@528
   354
              <td class="TitleCell"><SPAN class="LabelText">To Date planned</SPAN></td>
carlos@0
   355
              <td class="TextBox_btn_ContentCell">
carlos@0
   356
                <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   357
                  <tr>
carlos@0
   358
                    <td class="TextBox_ContentCell">
carlos@0
   359
                      <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
   360
                    </td>
carlos@0
   361
                    <td class="FieldButton_ContentCell">
carlos@0
   362
                      <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
   363
                        <tr>
carlos@0
   364
                          <td class="FieldButton_bg">
carlos@0
   365
                            <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src=" ../../../../../web/images/blank.gif" border="0" id="buttonCalendar"></IMG>
carlos@0
   366
                          </td>
carlos@0
   367
                        </tr>
carlos@0
   368
                      </table>
carlos@0
   369
                    </td>
carlos@0
   370
                  </tr>
carlos@0
   371
                </table>
carlos@0
   372
              </td>
carlos@0
   373
            </tr>
carlos@0
   374
carlos@0
   375
            <TR><TD class="TitleCell">
carlos@0
   376
carlos@0
   377
                <SPAN class="LabelText" id="NoPackages_lbl">
carlos@0
   378
                  Amount FromĀ </SPAN>
carlos@0
   379
carlos@0
   380
                </TD><TD class="TextBox_btn_ContentCell">
carlos@0
   381
                <DIV id="editDiscard">
carlos@0
   382
carlos@0
   383
                    <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
carlos@0
   384
                      <TR>
carlos@0
   385
                        <TD class="TextBox_ContentCell">
carlos@0
   386
                          <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramAmountFrom" class="TextBox_btn_OneCell_width" value="" maxlength="10" name="inpamountFrom" onkeyup="" onchange="logChanges(this);return true;"></INPUT><script>djConfig.searchIds.push("paramAmountFrom");</script>
carlos@0
   387
                        </TD>
asier@528
   388
                        <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
   389
                            <TR>
carlos@0
   390
                              <TD class="FieldButton_bg">
carlos@0
   391
                                <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount From" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
carlos@0
   392
                              </TD>
carlos@0
   393
                            </TR>
carlos@0
   394
                          </TABLE>
carlos@0
   395
carlos@0
   396
                        </TD>
carlos@0
   397
                      </TR>
carlos@0
   398
                    </TABLE>
carlos@0
   399
                </DIV>
carlos@0
   400
              </TD>
carlos@0
   401
              <TD class="TitleCell">
carlos@0
   402
carlos@0
   403
                <SPAN class="LabelText" id="NoPackages_lbl">
carlos@0
   404
                  Amount To</SPAN>
carlos@0
   405
carlos@0
   406
                </TD><TD class="TextBox_btn_ContentCell">
carlos@0
   407
                <DIV id="editDiscard">
carlos@0
   408
carlos@0
   409
                    <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
carlos@0
   410
                      <TR>
carlos@0
   411
                        <TD class="TextBox_ContentCell">
carlos@0
   412
                          <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramAmountTo" class="TextBox_btn_OneCell_width"  value="" maxlength="10" name="inpamountTo" onkeyup="" onchange="logChanges(this);return true;"></INPUT><script>djConfig.searchIds.push("paramAmountTo");</script>
carlos@0
   413
                        </TD>
carlos@0
   414
                        <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
   415
                            <TR>
carlos@0
   416
                              <TD class="FieldButton_bg">
carlos@0
   417
                                <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount to" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
carlos@0
   418
                              </TD>
carlos@0
   419
                            </TR>
carlos@0
   420
                          </TABLE>
carlos@0
   421
carlos@0
   422
                        </TD>
carlos@0
   423
                      </TR>
carlos@0
   424
                    </TABLE>
carlos@0
   425
                </DIV>
carlos@0
   426
              </TD>
carlos@0
   427
              <TD class="TitleCell">
carlos@0
   428
carlos@0
   429
                <SPAN class="LabelText" id="NoPackages_lbl">
carlos@0
   430
                  Amount lower than</SPAN>
carlos@0
   431
carlos@0
   432
                </TD><TD class="TextBox_btn_ContentCell">
carlos@0
   433
                <DIV id="editDiscard">
carlos@0
   434
carlos@0
   435
                    <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
carlos@0
   436
                      <TR>
carlos@0
   437
                        <TD class="TextBox_ContentCell">
carlos@0
   438
                          <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramTotalAmount" class="TextBox_btn_OneCell_width" value="" maxlength="10" name="inpamount" onkeyup="" onchange="logChanges(this);return true;"></INPUT><script>djConfig.searchIds.push("paramTotalAmount");</script>
carlos@0
   439
                        </TD>
carlos@0
   440
                        <TD class="FieldButton_ContentCell"><TABLE class="FieldButton"  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
   441
                            <TR>
carlos@0
   442
                              <TD class="FieldButton_bg">
carlos@0
   443
                                <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount lower than" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
carlos@0
   444
                              </TD>
carlos@0
   445
                            </TR>
carlos@0
   446
                          </TABLE>
carlos@0
   447
carlos@0
   448
                        </TD>
carlos@0
   449
                      </TR>
carlos@0
   450
                    </TABLE>
carlos@0
   451
                </DIV>
carlos@0
   452
              </TD>
carlos@0
   453
carlos@0
   454
            <tr>
carlos@0
   455
asier@528
   456
              <TD class="TitleCell"><SPAN class="LabelText">Status</SPAN></TD>
carlos@0
   457
              <TD class="Combo_ContentCell">
carlos@0
   458
                <SELECT name="inpStatusFrom" id="inpStatusFrom" class="Combo Combo_OneCell_width">
carlos@0
   459
                <OPTION value=""></OPTION>
carlos@0
   460
                <DIV id="reportStatusFrom"></DIV></SELECT>
carlos@0
   461
              </TD>
asier@528
   462
              <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
carlos@0
   463
              <TD class="Combo_ContentCell">
carlos@0
   464
                <SELECT name="inpadOrgId" id="inpadOrgId" class="Combo Combo_OneCell_width">
carlos@0
   465
                <OPTION value=""></OPTION>
carlos@0
   466
                <DIV id="reportAD_Org_ID"></DIV></SELECT>
carlos@0
   467
              </TD>
carlos@0
   468
            </tr>
carlos@0
   469
            <tr>
carlos@0
   470
              <td></td>
carlos@0
   471
              <td class="Button_RightAlign_ContentCell">
carlos@0
   472
                <div>
david@628
   473
                  <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
   474
                  <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
   475
                    <tr>
carlos@0
   476
                      <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
   477
                      <td class="Button_text Button_width">Search</td>
carlos@0
   478
                      <td class="Button_right"></td>
carlos@0
   479
                    </tr>
carlos@0
   480
                  </table>
carlos@0
   481
                  </a>
carlos@0
   482
                </div>
carlos@0
   483
              </td>
carlos@0
   484
              <td class="Button_LeftAlign_ContentCell">
carlos@0
   485
              </td>
carlos@0
   486
              <td></td>
carlos@0
   487
              <td></td>
carlos@0
   488
              <td></td>
carlos@0
   489
            </tr>
carlos@0
   490
carlos@0
   491
carlos@0
   492
            <TR>
carlos@0
   493
              <td colspan="6">
carlos@0
   494
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   495
                <tbody>
carlos@0
   496
                  <tr class="FieldGroup_TopMargin"/>
carlos@0
   497
                  <tr>
carlos@0
   498
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   499
                    <td class="FieldGroupTitle">Final status</td>
carlos@0
   500
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   501
                    <td class="FieldGroupContent"/>
carlos@0
   502
                  </tr>
carlos@0
   503
                  <tr class="FieldGroup_BottomMargin"/>
carlos@0
   504
                </tbody>
carlos@0
   505
                </table>
carlos@0
   506
              </td>
carlos@0
   507
            </TR>
carlos@0
   508
carlos@0
   509
            <tr>
asier@528
   510
              <TD class="TitleCell"><SPAN class="LabelText">Status</SPAN></TD>
carlos@0
   511
              <TD class="Combo_ContentCell">
carlos@0
   512
                <SELECT name="inpStatusTo" id="inpStatusTo" class="Combo Combo_OneCell_width">
carlos@0
   513
                <OPTION value=""></OPTION>
carlos@0
   514
                <DIV id="reportStatusTo"></DIV></SELECT>
carlos@0
   515
              </TD>
carlos@0
   516
            </tr>
carlos@0
   517
carlos@0
   518
            <tr><td height="20px"></td></tr>
carlos@0
   519
carlos@0
   520
        </table>
carlos@0
   521
      </div>
carlos@0
   522
    </td>
carlos@0
   523
  </tr>
carlos@0
   524
</table>
carlos@0
   525
carlos@0
   526
carlos@0
   527
  <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
asier@528
   528
    <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client2">
carlos@0
   529
      <TABLE cellspacing="0" cellpadding="0" class="DataGrid_Header_Table DataGrid_Body_Table">
carlos@0
   530
        <TR class="Popup_Client_Selector_DataGrid_HeaderRow"> 
asier@528
   531
          <TH width="15" class="DataGrid_Header_LineNoCell"> <SPAN class="Checkbox_container_NOT_Focused"><INPUT type="checkbox" name="inpTodos" onclick="cargarDatos(this.checked);return true;" value="Y" id="fieldMarcarTodos"></INPUT></SPAN></TH>
carlos@0
   532
          <TH width="175" class="DataGrid_Header_Cell">Business Partner</TH>
carlos@0
   533
          <TH width="109" class="DataGrid_Header_Cell">Organization</TH>
carlos@0
   534
          <TH width="136" class="DataGrid_Header_Cell">Invoice</TH>
carlos@0
   535
          <TH width="137" class="DataGrid_Header_Cell">Payment rule</TH>
carlos@0
   536
          <TH width="100" class="DataGrid_Header_Cell">Planned date</TH>
carlos@0
   537
          <TH width="73" class="DataGrid_Header_Cell">Amount</TH>
carlos@0
   538
          <TH width="54" class="DataGrid_Header_Cell">Currency</TH>
carlos@0
   539
          <TH width="54" class="DataGrid_Header_Cell">Status</TH>
carlos@0
   540
        </TR>
carlos@0
   541
        <DIV id="sectionDetail">
carlos@0
   542
          <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="inpRecord10000003"> 
carlos@0
   543
            <TD class="DataGrid_Body_LineNoCell">
asier@528
   544
            <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
   545
            <TD class="DataGrid_Body_Cell" id="fieldBpartner">xxQuantity</TD>
carlos@0
   546
            <TD class="DataGrid_Body_Cell" id="fieldOrg">xx</TD>
carlos@0
   547
            <TD class="DataGrid_Body_Cell" id="fieldInvoice">xxUOM</TD>
carlos@0
   548
            <TD class="DataGrid_Body_Cell" id="fieldPaymentRuleDes">xxProduct</TD>
carlos@0
   549
            <TD class="DataGrid_Body_Cell" id="fieldPlannedDate">xxP</TD>
carlos@0
   550
            <TD class="DataGrid_Body_Cell" id="fieldAmount">xx</TD>
carlos@0
   551
            <TD class="DataGrid_Body_Cell" id="fieldCurrency">xx</TD>
carlos@0
   552
            <td class="DataGrid_Body_Cell" id="fieldStatus">xx</td>
carlos@0
   553
          </TR>
carlos@0
   554
        </DIV>
carlos@0
   555
    </TABLE>
carlos@0
   556
  </div>
carlos@0
   557
</table>
carlos@0
   558
carlos@0
   559
carlos@0
   560
</form>
carlos@0
   561
</body>
carlos@0
   562
</html>