src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_DPManagement.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 1039 14099eda9d8c
child 1325 af371d42d754
permissions -rw-r--r--
Removed old frame parameter of windowTableId
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 
david@1039
    14
 * All portions are Copyright (C) 2001-2008 Openbravo SL 
carlos@0
    15
 * All Rights Reserved. 
carlos@0
    16
 * Contributor(s):  ______________________________________.
carlos@0
    17
 ************************************************************************
carlos@0
    18
-->
david@1039
    19
<html>
david@1039
    20
<head>
david@1039
    21
<title>Create from Settlement</title>
david@1039
    22
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
david@1039
    23
  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
david@1039
    24
  <script language="JavaScript" type="text/javascript" id="paramDirection">
carlos@0
    25
    var baseDirection="../../../../../web/";
david@1039
    26
  </script>
carlos@0
    27
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
david@1039
    28
  <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
david@1039
    29
  <script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
david@1039
    30
  <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
david@1039
    31
  <script language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></script>
david@1039
    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>
david@1039
    34
  <script language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></script>
david@1039
    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>
david@1039
    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>
david@1039
    42
  <script language="JavaScript" type="text/javascript">
david@1039
    43
    function closeThisPage() {
david@1039
    44
      top.close();
david@1039
    45
      return true;
david@1039
    46
    }
carlos@0
    47
david@1039
    48
    function submitThisPage(strCommand) {
david@1039
    49
      if (depurar(strCommand)) {
david@1039
    50
        submitCommandForm(strCommand, false, null, null, '_top');
david@1039
    51
        return true;
david@1039
    52
      }
david@1039
    53
      return true;
david@1039
    54
    }
david@1039
    55
  </script>
david@1039
    56
  <script language="JavaScript" type="text/javascript">
carlos@0
    57
david@1039
    58
    function enableLocalShortcuts() {
david@1039
    59
    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");
david@1039
    60
    }
carlos@0
    61
david@1039
    62
    function depurar(action) {
david@1039
    63
        var frm=document.frmMain;
david@1039
    64
      if (action=="FIND_SETTLEMENT") {
david@1039
    65
        if (frm.inpplanneddateFrom.value!=null && frm.inpplanneddateFrom.value!="" && !isValidDate(frm.inpplanneddateFrom.value, frm.inpplanneddateFrom.displayFormat)) {
david@1039
    66
          setWindowElementFocus(frm.inpplanneddateFrom);
david@1039
    67
          frm.inpplanneddateFrom.select();
david@1039
    68
          mensaje(5);
david@1039
    69
          setTimeout('resizeAreaCreateFrom()',100);
david@1039
    70
          return false;
david@1039
    71
        } else if (frm.inpplanneddateTo.value!=null && frm.inpplanneddateTo.value!="" && !isValidDate(frm.inpplanneddateTo.value, frm.inpplanneddateTo.displayFormat)) {
david@1039
    72
          setWindowElementFocus(frm.inpplanneddateTo);
david@1039
    73
          frm.inpplanneddateTo.select();
david@1039
    74
          mensaje(5);
david@1039
    75
          setTimeout('resizeAreaCreateFrom()',100);
david@1039
    76
          return false;
david@1039
    77
        } else if (frm.inpamount.value!=null && frm.inpamount.value!="" && !campoNumerico(frm.inpamount, true, true)) {
david@1039
    78
          setWindowElementFocus(frm.inpamount);
david@1039
    79
          return false;
david@1039
    80
        }
david@1039
    81
      } else if (radioValue(frm.inpcDebtPaymentId)==null) {
david@1039
    82
        mensaje(1);
david@1039
    83
        setTimeout('resizeAreaCreateFrom()',100);
david@1039
    84
        return false;
david@1039
    85
      }
david@1039
    86
        return true;
david@1039
    87
    }
carlos@0
    88
david@1039
    89
    function actualizarDatos(clave, marcar) {
david@1039
    90
      if (marcar==null) marcar=false;
david@1039
    91
      var frm = document.frmMain;
david@1039
    92
    //    frm.elements["inpwriteoff" + clave].disabled=!marcar;
david@1039
    93
    //    frm.elements["inpispaid" + clave].disabled=!marcar;
david@1039
    94
      return true;
david@1039
    95
    }
carlos@0
    96
david@1039
    97
    function cargarDatos(marcar) {
david@1039
    98
      var radio=document.frmMain.inpcDebtPaymentId;
david@1039
    99
      if (marcar==null) marcar=false;
david@1039
   100
        var frm = document.frmMain;
david@1039
   101
      if (!radio) return false;
david@1039
   102
      else if (!radio.length) {
david@1039
   103
          radio.checked = marcar;
david@1039
   104
    //    	frm.elements["inpwriteoff" + radio.value].disabled=!marcar;
david@1039
   105
    //    	frm.elements["inpispaid" + radio.value].disabled=!marcar;
david@1039
   106
      } else if (radio.length > 20) {
david@1039
   107
        return submitCommandForm('FIND_SETTLEMENT', true);
david@1039
   108
      } else {
david@1039
   109
          var total = radio.length;
david@1039
   110
        for (var i=0;i<total;i++) {
david@1039
   111
              radio[i].checked=marcar;
david@1039
   112
    //      		frm.elements["inpwriteoff" + radio[i].value].disabled=!marcar;
david@1039
   113
    //      		frm.elements["inpispaid" + radio[i].value].disabled=!marcar;
david@1039
   114
        }
david@1039
   115
      }
david@1039
   116
      return true;
david@1039
   117
    }
carlos@0
   118
david@1039
   119
    function onloadFunctions() {
david@1039
   120
      enableLocalShortcuts();
david@1039
   121
    }
david@1039
   122
  </script>
david@1039
   123
  <script language="JavaScript" type="text/javascript">
david@1039
   124
    function onLoadDo(){
david@1039
   125
      this.windowTables = new Array(
david@1044
   126
        new windowTableId('client_top', 'buttonSearch'),
david@1044
   127
        new windowTableId('client_middle', 'buttonOK'),
david@1044
   128
        new windowTableId('client_bottom', 'buttonOK')
david@1039
   129
      );
david@1039
   130
      setWindowTableParentElement();
david@1039
   131
      enableShortcuts('popup');
david@1039
   132
      
david@1039
   133
      try {
david@1039
   134
        onloadFunctions();
david@1039
   135
      } catch (e) {}
carlos@0
   136
david@1039
   137
      setWindowElementFocus('firstElement');
david@1039
   138
      resizeAreaCreateFrom();
david@1039
   139
    }
carlos@0
   140
david@1039
   141
    function onResizeDo(){
david@1039
   142
      resizeAreaCreateFrom();
david@1039
   143
    }
david@1039
   144
  </script>
david@1039
   145
</head>
carlos@0
   146
asier@528
   147
asier@528
   148
david@1039
   149
david@1039
   150
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
david@1039
   151
<form id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
david@1039
   152
<input type="hidden" name="Command">
david@1039
   153
<input type="hidden" name="IsPopUpCall" value="1"></input>
david@1039
   154
<input type="hidden" name="inpKey" value="" id="paramKey"></input>
david@1039
   155
<input type="hidden" name="inpTableId" value="" id="paramTableId"></input>
david@1039
   156
<input type="hidden" name="inpProcessId" value="" id="paramProcessId"></input>
david@1039
   157
<input type="hidden" name="inpPath" value="" id="paramPath"></input>
david@1039
   158
<input type="hidden" name="inpWindowId" value="" id="paramWindowId"></input>
david@1039
   159
<input type="hidden" name="inpTabName" value="" id="paramTabName"></input>
carlos@0
   160
carlos@0
   161
  <div class="Popup_ContentPane_CircleLogo">
carlos@0
   162
    <div class="Popup_WindowLogo">
carlos@0
   163
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
   164
    </div>
carlos@0
   165
  </div>
carlos@0
   166
david@1039
   167
  <table id="table_header" cellspacing="0" cellpadding="0" width="100%">
carlos@0
   168
carlos@0
   169
    <tr>
carlos@0
   170
      <td>
carlos@0
   171
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
   172
          <tr class="Popup_NavBar_bg"><td></td>
carlos@0
   173
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   174
            <td class="Popup_NavBar_bg_logo_left"></td>
david@1039
   175
            <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
   176
            <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   177
            <td class="Popup_NavBar_Popup_title_cell"><span>DP Management</span></td>
carlos@0
   178
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   179
          </tr>
carlos@0
   180
        </table>
carlos@0
   181
      </td>
carlos@0
   182
    </tr>
carlos@0
   183
    <tr>
david@1039
   184
      <td id="tdSeparator">
carlos@0
   185
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   186
          <tr>
carlos@0
   187
            <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   188
          </tr>
carlos@0
   189
        </table>
carlos@0
   190
      </td>
carlos@0
   191
    </tr>
david@1039
   192
  </table>
carlos@0
   193
david@1039
   194
  <table width="100%" cellpadding="0" cellspacing="0">
carlos@0
   195
    <tr>
carlos@0
   196
      <td>
david@1039
   197
        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client_messagebox">
carlos@0
   198
david@1039
   199
        <!-- MessageBox -->
david@1039
   200
          <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
david@1039
   201
            <tbody>
david@1039
   202
              <tr class="MessageBox_TopMargin">
david@1039
   203
                <td class="MessageBox_LeftMargin"></td>
david@1039
   204
                <td></td>
david@1039
   205
                <td class="MessageBox_RightMargin"></td>
david@1039
   206
              </tr>
david@1039
   207
              <tr>
david@1039
   208
                <td class="MessageBox_LeftMargin"></td>
david@1039
   209
                <td>
carlos@0
   210
david@1039
   211
                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
david@1039
   212
                    <tbody>
david@1039
   213
                    <tr>
david@1039
   214
                      <td>
david@1039
   215
                        <div class="MessageBox_TopLeft"></div>
david@1039
   216
                        <div class="MessageBox_Left"></div>
david@1039
   217
                      </td>
david@1039
   218
                      <td class="MessageBox_bg">
carlos@0
   219
david@1039
   220
                        <table class="MessageBox_Top">
david@1039
   221
                        <tbody>
david@1039
   222
                          <tr>
david@1039
   223
                            <td>
david@1039
   224
                              <span>
david@1039
   225
                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
david@1039
   226
                                <tbody>
david@1039
   227
                                <tr>
david@1039
   228
                                  <td class="MessageBox_Icon_ContentCell">
david@1039
   229
                                    <div class="MessageBox_Icon"></div>
david@1039
   230
                                  </td>
david@1039
   231
                                  <td style="vertical-align: top;" id="messageBoxIDContent">
david@1039
   232
                                    <span>
david@1039
   233
                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
david@1039
   234
                                        xxInfo: AccessTableWithNoView
david@1039
   235
                                      </div>
david@1039
   236
                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
david@1039
   237
                                        xxThe current information is empty.
david@1039
   238
                                      </div>
david@1039
   239
                                      <div class="MessageBox_TextSeparator"></div>
david@1039
   240
                                    </span>
david@1039
   241
                                  </td>
david@1039
   242
                                </tr>
david@1039
   243
                                </tbody>
david@1039
   244
                              </table>
david@1039
   245
                              </span>
david@1039
   246
                            </td>
david@1039
   247
                          </tr>
david@1039
   248
                          </tbody>
david@1039
   249
                        </table>
david@1039
   250
carlos@0
   251
                      </td>
david@1039
   252
                      <td class="MessageBox_RightTrans">
david@1039
   253
                        <div class="MessageBox_TopRight"></div>
david@1039
   254
                        <div class="MessageBox_Right"></div>
carlos@0
   255
                      </td>
carlos@0
   256
                    </tr>
david@1039
   257
                    <tr>
david@1039
   258
                      <td rowspan="2" class="MessageBox_BottomLeft">
david@1039
   259
                      </td>
david@1039
   260
                      <td class="MessageBox_BottomTrans MessageBox_bg">
david@1039
   261
                      </td>
david@1039
   262
                      <td rowspan="2" class="MessageBox_BottomRight">
david@1039
   263
                      </td>
david@1039
   264
                    </tr>
david@1039
   265
                    <tr>
david@1039
   266
                      <td class="MessageBox_Bottom">
david@1039
   267
                      </td>
david@1039
   268
                    </tr>
david@1039
   269
                    </tbody>
carlos@0
   270
                  </table>
carlos@0
   271
                </td>
david@1039
   272
                <td class="MessageBox_RightMargin"></td>
carlos@0
   273
              </tr>
david@1039
   274
              <tr class="MessageBox_BottomMargin">
david@1039
   275
                <td class="MessageBox_LeftMargin"></td>
david@1039
   276
                <td></td>
david@1039
   277
                <td class="MessageBox_RightMargin"></td>
david@1039
   278
              </tr>
david@1039
   279
            </tbody>
david@1039
   280
          </table>
david@1039
   281
        <!-- MessageBox END -->
david@1039
   282
        </div>
david@1039
   283
      </tr>
carlos@0
   284
    </td>
david@1039
   285
  </table>
carlos@0
   286
    <!-- MessageBox END -->
david@1039
   287
  <table width="100%" cellpadding="0" cellspacing="0">
david@1039
   288
    <tr>
david@1039
   289
      <td>
david@1039
   290
        <div class="Popup_ContentPane_Client" style="overflow: auto; height: 255px;" id="client_top">
carlos@0
   291
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
carlos@0
   292
            <tr>
carlos@0
   293
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   294
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   295
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   296
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   297
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   298
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   299
            </tr>
carlos@0
   300
david@1039
   301
            <tr>
carlos@0
   302
              <td colspan="6">
carlos@0
   303
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   304
                <tbody>
carlos@0
   305
                  <tr class="FieldGroup_TopMargin"/>
carlos@0
   306
                  <tr>
carlos@0
   307
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   308
                    <td class="FieldGroupTitle">Filters</td>
carlos@0
   309
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   310
                    <td class="FieldGroupContent"/>
carlos@0
   311
                  </tr>
carlos@0
   312
                  <tr class="FieldGroup_BottomMargin"/>
carlos@0
   313
                </tbody>
carlos@0
   314
                </table>
carlos@0
   315
              </td>
david@1039
   316
            </tr>
carlos@0
   317
            <tr>
carlos@0
   318
              <td class="TitleCell">
david@1039
   319
                <span class="LabelText">Business Partner</span>
carlos@0
   320
              </td>
david@1039
   321
              <td class="TextBox_btn_ContentCell">
david@1039
   322
                <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
david@1039
   323
                  <tr>
david@1039
   324
                    <td class="TextBox_ContentCell">
david@1039
   325
                      <input type="hidden" name="inpNewcInvoiceId" value="">
david@1039
   326
                      <input type="hidden" name="inpcBpartnerId" id="fieldCBPartnerID" value="">
david@1039
   327
                      <input type="text" class="dojoValidateValid TextBox_btn_TwoCells_width" maxlength="22" name="inpBpartnerId_DES" id="fieldCBPartnerID_DES" value=""></input>
carlos@0
   328
                    </td>
david@1039
   329
                    <td class="FieldButton_ContentCell">
david@1039
   330
                      <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', 'inpBpartnerId_DES', document.frmMain.inpBpartnerId_DES.value);return false;" >
david@1039
   331
                      <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;">
david@1039
   332
                        <tr>
david@1039
   333
                          <td class="FieldButton_bg">
carlos@0
   334
                              <img border="0" id="buttonBusinessPartner" src="../../../../../web/images/blank.gif" title="Business Partner " class="FieldButton_Icon FieldButton_Icon_BusinessPartner" alt="Business Partner "/>
carlos@0
   335
                          </td>
carlos@0
   336
                        </tr>
carlos@0
   337
                      </table>
david@1039
   338
                      </a>
david@1039
   339
                    </td>
david@1039
   340
                  </tr>
david@1039
   341
                </table>
david@1039
   342
              </td>
david@1039
   343
              <td class="TitleCell"><span class="LabelText">Payment Rule</span></td>
david@1039
   344
              <td class="Combo_ContentCell" colspan="2">
david@1039
   345
                <select name="inppaymentrule" class="Combo Combo_TwoCells_width" onchange="submitCommandForm('FIND_PO', false, null, null, '_self');return true;" id="inppaymentrule">
david@1039
   346
                  <option value=""></option><div id="reportPaymentRule"></div>
david@1039
   347
                </select>
david@1039
   348
              </td>
carlos@0
   349
            </tr>
carlos@0
   350
carlos@0
   351
            <tr>
david@1039
   352
              <td class="TitleCell"><span class="LabelText">Receipt type</span></td>
david@1039
   353
              <td class="Combo_ContentCell">
david@1039
   354
                <select name="inpisreceipt" id="inpisreceipt" class="Combo Combo_OneCell_width">
david@1039
   355
                <option value="">All</option>
david@1039
   356
                <option value="N" id="fieldIsReceiptPago">Payment</option>
david@1039
   357
                <option value="Y" id="fieldIsReceiptCobro">Collection</option></select>
david@1039
   358
              </td>
carlos@0
   359
david@1039
   360
              <td class="TitleCell"><span class="LabelText">From Date planned</span></td>
carlos@0
   361
              <td class="TextBox_btn_ContentCell">
carlos@0
   362
                <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   363
                  <tr>
carlos@0
   364
                    <td class="TextBox_ContentCell">
carlos@0
   365
                      <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
   366
                    </td>
carlos@0
   367
                    <td class="FieldButton_ContentCell">
david@1039
   368
                      <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Show calendar'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="showCalendar('frmMain.inpplanneddateFrom', document.frmMain.inpplanneddateFrom.value, false);return false;" >
david@1039
   369
                      <table class="FieldButton"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
   370
                        <tr>
carlos@0
   371
                          <td class="FieldButton_bg">
david@1039
   372
                            <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></img>
carlos@0
   373
                          </td>
carlos@0
   374
                        </tr>
carlos@0
   375
                      </table>
david@1039
   376
                      </a>
carlos@0
   377
                    </td>
carlos@0
   378
                  </tr>
carlos@0
   379
                </table>
carlos@0
   380
              </td>
david@1039
   381
              <td class="TitleCell"><span class="LabelText">To Date planned</span></td>
carlos@0
   382
              <td class="TextBox_btn_ContentCell">
carlos@0
   383
                <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   384
                  <tr>
carlos@0
   385
                    <td class="TextBox_ContentCell">
carlos@0
   386
                      <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
   387
                    </td>
carlos@0
   388
                    <td class="FieldButton_ContentCell">
david@1039
   389
                      <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Show calendar'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="showCalendar('frmMain.inpplanneddateTo', document.frmMain.inpplanneddateTo.value, false);return false;" >
david@1039
   390
                      <table class="FieldButton"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
   391
                        <tr>
carlos@0
   392
                          <td class="FieldButton_bg">
david@1039
   393
                            <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></img>
carlos@0
   394
                          </td>
carlos@0
   395
                        </tr>
carlos@0
   396
                      </table>
david@1039
   397
                      </a>
carlos@0
   398
                    </td>
carlos@0
   399
                  </tr>
carlos@0
   400
                </table>
carlos@0
   401
              </td>
carlos@0
   402
            </tr>
carlos@0
   403
david@1039
   404
            <tr><td class="TitleCell">
carlos@0
   405
david@1039
   406
                <span class="LabelText" id="NoPackages_lbl">
david@1039
   407
                  Amount FromĀ </span>
carlos@0
   408
david@1039
   409
                </td><td class="TextBox_btn_ContentCell">
david@1039
   410
                <div id="editDiscard">
david@1039
   411
                  <table border="0" cellspacing="0" cellpadding="0" summary="" class="">
david@1039
   412
                    <tr>
david@1039
   413
                      <td class="TextBox_ContentCell">
david@1039
   414
                        <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>
david@1039
   415
                      </td>
david@1039
   416
                      <td class="FieldButton_ContentCell">
david@1039
   417
                        <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Amount From'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="calculator('frmMain.inpamountFrom', document.frmMain.inpamountFrom.value, false);return false;" >
david@1039
   418
                          <table class="FieldButton"onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Amount From';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
david@1039
   419
                            <tr>
david@1039
   420
                              <td class="FieldButton_bg">
david@1039
   421
                                <img alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount From" src="../../../../../web/images/blank.gif" border="0"></img>
david@1039
   422
                              </td>
david@1039
   423
                            </tr>
david@1039
   424
                          </table>
david@1039
   425
                        </a>
david@1039
   426
                      </td>
david@1039
   427
                    </tr>
david@1039
   428
                  </table>
david@1039
   429
                </div>
david@1039
   430
              </td>
david@1039
   431
              <td class="TitleCell">
carlos@0
   432
david@1039
   433
                <span class="LabelText" id="NoPackages_lbl">
david@1039
   434
                  Amount To</span>
carlos@0
   435
david@1039
   436
                </td><td class="TextBox_btn_ContentCell">
david@1039
   437
                <div id="editDiscard">
carlos@0
   438
david@1039
   439
                    <table border="0" cellspacing="0" cellpadding="0" summary="" class="">
david@1039
   440
                      <tr>
david@1039
   441
                        <td class="TextBox_ContentCell">
david@1039
   442
                          <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>
david@1039
   443
                        </td>
david@1039
   444
                        <td class="FieldButton_ContentCell">
david@1039
   445
                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Amount to'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="calculator('frmMain.inpamountTo', document.frmMain.inpamountTo.value, false);return false;" >
david@1039
   446
                            <table class="FieldButton"onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Amount to';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
david@1039
   447
                              <tr>
david@1039
   448
                                <td class="FieldButton_bg">
david@1039
   449
                                <img alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount to" src="../../../../../web/images/blank.gif" border="0"></img>
david@1039
   450
                                </td>
david@1039
   451
                              </tr>
david@1039
   452
                            </table>
david@1039
   453
                          </a>
david@1039
   454
                        </td>
david@1039
   455
                      </tr>
david@1039
   456
                    </table>
david@1039
   457
                </div>
david@1039
   458
              </td>
david@1039
   459
              <td class="TitleCell">
carlos@0
   460
david@1039
   461
                <span class="LabelText" id="NoPackages_lbl">
david@1039
   462
                  Amount lower than</span>
carlos@0
   463
david@1039
   464
                </td><td class="TextBox_btn_ContentCell">
david@1039
   465
                <div id="editDiscard">
carlos@0
   466
david@1039
   467
                    <table border="0" cellspacing="0" cellpadding="0" summary="" class="">
david@1039
   468
                      <tr>
david@1039
   469
                        <td class="TextBox_ContentCell">
david@1039
   470
                          <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>
david@1039
   471
                        </td>
david@1039
   472
                        <td class="FieldButton_ContentCell">
david@1039
   473
                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Amount lower than'; return true;" onblur=" window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="calculator('frmMain.inpamount', document.frmMain.inpamount.value, false);return false;" id="NoPackageslinkCalc">
david@1039
   474
                            <table class="FieldButton"onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Amount lower than';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
david@1039
   475
                              <tr>
david@1039
   476
                                <td class="FieldButton_bg">
david@1039
   477
                                <img alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount lower than" src="../../../../../web/images/blank.gif" border="0"></img>
david@1039
   478
                                </td>
david@1039
   479
                              </tr>
david@1039
   480
                            </table>
david@1039
   481
                          </a>
david@1039
   482
                        </td>
david@1039
   483
                      </tr>
david@1039
   484
                    </table>
david@1039
   485
                </div>
david@1039
   486
              </td>
carlos@0
   487
carlos@0
   488
            <tr>
carlos@0
   489
david@1039
   490
              <td class="TitleCell"><span class="LabelText">Status</span></td>
david@1039
   491
              <td class="Combo_ContentCell">
david@1039
   492
                <select name="inpStatusFrom" id="inpStatusFrom" class="Combo Combo_OneCell_width">
david@1039
   493
                <option value=""></option>
david@1039
   494
                <div id="reportStatusFrom"></div></select>
david@1039
   495
              </td>
david@1039
   496
              <td class="TitleCell"><span class="LabelText">Organization</span></td>
david@1039
   497
              <td class="Combo_ContentCell">
david@1039
   498
                <select name="inpadOrgId" id="inpadOrgId" class="Combo Combo_OneCell_width">
david@1039
   499
                <option value=""></option>
david@1039
   500
                <div id="reportAD_Org_ID"></div></select>
david@1039
   501
              </td>
carlos@0
   502
            </tr>
carlos@0
   503
            <tr>
carlos@0
   504
              <td></td>
carlos@0
   505
              <td class="Button_RightAlign_ContentCell">
carlos@0
   506
                <div>
david@628
   507
                  <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
   508
                  <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
   509
                    <tr>
carlos@0
   510
                      <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
   511
                      <td class="Button_text Button_width">Search</td>
carlos@0
   512
                      <td class="Button_right"></td>
carlos@0
   513
                    </tr>
carlos@0
   514
                  </table>
carlos@0
   515
                  </a>
carlos@0
   516
                </div>
carlos@0
   517
              </td>
carlos@0
   518
              <td class="Button_LeftAlign_ContentCell">
carlos@0
   519
              </td>
carlos@0
   520
              <td></td>
carlos@0
   521
              <td></td>
carlos@0
   522
              <td></td>
carlos@0
   523
            </tr>
carlos@0
   524
carlos@0
   525
david@1039
   526
            <tr>
carlos@0
   527
              <td colspan="6">
carlos@0
   528
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   529
                <tbody>
carlos@0
   530
                  <tr class="FieldGroup_TopMargin"/>
carlos@0
   531
                  <tr>
carlos@0
   532
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   533
                    <td class="FieldGroupTitle">Final status</td>
carlos@0
   534
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   535
                    <td class="FieldGroupContent"/>
carlos@0
   536
                  </tr>
carlos@0
   537
                  <tr class="FieldGroup_BottomMargin"/>
carlos@0
   538
                </tbody>
carlos@0
   539
                </table>
carlos@0
   540
              </td>
david@1039
   541
            </tr>
carlos@0
   542
carlos@0
   543
            <tr>
david@1039
   544
              <td class="TitleCell"><span class="LabelText">Status</span></td>
david@1039
   545
              <td class="Combo_ContentCell">
david@1039
   546
                <select name="inpStatusTo" id="inpStatusTo" class="Combo Combo_OneCell_width">
david@1039
   547
                <option value=""></option>
david@1039
   548
                <div id="reportStatusTo"></div></select>
david@1039
   549
              </td>
carlos@0
   550
            </tr>
carlos@0
   551
david@1039
   552
            <tr><td height="15px"></td></tr>
carlos@0
   553
david@1039
   554
          </table>
david@1039
   555
        </div>
david@1039
   556
      </td>
david@1039
   557
    </tr>
carlos@0
   558
david@1039
   559
    <tr>
david@1039
   560
      <td>
david@1039
   561
        <div class="Popup_ContentPane_Client" style="overflow: auto; display: none;" id="client_middle">
david@1039
   562
          <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
carlos@0
   563
david@1039
   564
            <tr class="Popup_Client_Selector_DataGrid_HeaderRow"> 
david@1039
   565
              <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>
david@1039
   566
              <th width="175" class="DataGrid_Header_Cell">Business Partner</th>
david@1039
   567
              <th width="109" class="DataGrid_Header_Cell">Organization</th>
david@1039
   568
              <th width="136" class="DataGrid_Header_Cell">Invoice</th>
david@1039
   569
              <th width="137" class="DataGrid_Header_Cell">Payment rule</th>
david@1039
   570
              <th width="100" class="DataGrid_Header_Cell">Planned date</th>
david@1039
   571
              <th width="73" class="DataGrid_Header_Cell">Amount</th>
david@1039
   572
              <th width="54" class="DataGrid_Header_Cell">Currency</th>
david@1039
   573
              <th width="54" class="DataGrid_Header_Cell">Status</th>
david@1039
   574
            </tr>
david@1039
   575
            <div id="sectionDetail">
david@1039
   576
              <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="inpRecord10000003"> 
david@1039
   577
                <td class="DataGrid_Body_LineNoCell">
david@1039
   578
                <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>
david@1039
   579
                <td class="DataGrid_Body_Cell" id="fieldBpartner">xxQuantity</td>
david@1039
   580
                <td class="DataGrid_Body_Cell" id="fieldOrg">xx</td>
david@1039
   581
                <td class="DataGrid_Body_Cell" id="fieldInvoice">xxUOM</td>
david@1039
   582
                <td class="DataGrid_Body_Cell" id="fieldPaymentRuleDes">xxProduct</td>
david@1039
   583
                <td class="DataGrid_Body_Cell" id="fieldPlannedDate">xxP</td>
david@1039
   584
                <td class="DataGrid_Body_Cell" id="fieldAmount">xx</td>
david@1039
   585
                <td class="DataGrid_Body_Cell" id="fieldCurrency">xx</td>
david@1039
   586
                <td class="DataGrid_Body_Cell" id="fieldStatus">xx</td>
david@1039
   587
              </tr>
david@1039
   588
            </div>
david@1039
   589
          </table>
david@1039
   590
        </div>
david@1039
   591
      </td>
david@1039
   592
    </tr>
carlos@0
   593
david@1039
   594
    <tr>
david@1039
   595
      <td>
david@1039
   596
        <div class="Popup_ContentPane_Client" style="overflow: auto; height: 75px;" id="client_bottom">
carlos@0
   597
david@1039
   598
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
david@1039
   599
david@1039
   600
            <tr>
david@1039
   601
              <td class="TableEdition_OneCell_width"></td>
david@1039
   602
              <td class="TableEdition_OneCell_width"></td>
david@1039
   603
              <td class="TableEdition_OneCell_width"></td>
david@1039
   604
              <td class="TableEdition_OneCell_width"></td>
david@1039
   605
            </tr>
david@1039
   606
david@1039
   607
david@1039
   608
            <tr>
david@1039
   609
              <td></td>
david@1039
   610
              <td class="Button_RightAlign_ContentCell">
david@1039
   611
                <div>
david@1039
   612
                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;" id="buttonOK">
david@1039
   613
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
david@1039
   614
                    <tr>
david@1039
   615
                      <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
david@1039
   616
                      <td class="Button_text Button_width">OK</td>
david@1039
   617
                      <td class="Button_right"></td>
david@1039
   618
                    </tr>
david@1039
   619
                  </table>
david@1039
   620
                  </a>
david@1039
   621
                </div>
david@1039
   622
              </td>
david@1039
   623
              <td class="Button_LeftAlign_ContentCell">
david@1039
   624
                <div>
david@1039
   625
                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
david@1039
   626
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
david@1039
   627
                    <tr>
david@1039
   628
                      <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
david@1039
   629
                      <td class="Button_text Button_width">Cancel</td>
david@1039
   630
                      <td class="Button_right"></td>
david@1039
   631
                    </tr>
david@1039
   632
                  </table>
david@1039
   633
                  </a>
david@1039
   634
              </td>
david@1039
   635
              <td></td>
david@1039
   636
            </tr>
david@1039
   637
          </table>
david@1039
   638
        </div>
david@1039
   639
      </td>
david@1039
   640
    </tr>
david@1039
   641
  </table>
carlos@0
   642
</form>
carlos@0
   643
</body>
carlos@0
   644
</html>