src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.html
author Gorka Gil <gorka.gil@openbravo.com>
Mon, 26 May 2008 11:32:48 +0000
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
permissions -rw-r--r--
Manual windows of bug 0000436 Blank required fields don't take the focus
gorkaion@586
     1
<?xml version="1.0" encoding="utf-8"?>
gorkaion@586
     2
<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
gorkaion@586
     3
<!--
gorkaion@586
     4
 *************************************************************************
gorkaion@586
     5
 * The contents of this file are subject to the Openbravo  Public  License
gorkaion@586
     6
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
gorkaion@586
     7
 * Version 1.1  with a permitted attribution clause; you may not  use this
gorkaion@586
     8
 * file except in compliance with the License. You  may  obtain  a copy of
gorkaion@586
     9
 * the License at http://www.openbravo.com/legal/license.html
gorkaion@586
    10
 * Software distributed under the License  is  distributed  on  an "AS IS"
gorkaion@586
    11
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
gorkaion@586
    12
 * License for the specific  language  governing  rights  and  limitations
gorkaion@586
    13
 * under the License.
gorkaion@586
    14
 * The Original Code is Openbravo ERP.
gorkaion@586
    15
 * The Initial Developer of the Original Code is Openbravo SL
gorkaion@586
    16
 * All portions are Copyright (C) 2008 Openbravo SL
gorkaion@586
    17
 * All Rights Reserved.
gorkaion@586
    18
 * Contributor(s):  ______________________________________.
gorkaion@586
    19
 ************************************************************************
gorkaion@586
    20
-->
gorkaion@586
    21
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:="http://www.w3.org/1999/xhtml">
gorkaion@586
    22
  <head>
gorkaion@586
    23
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
gorkaion@586
    24
    <title>Requisition to Order</title>
gorkaion@586
    25
    <link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon"></link>
gorkaion@586
    26
    <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Manual.css" id="paramCSS"></link>
gorkaion@586
    27
    <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Client/DataGrid/DataGrid.css" id="paramCSS"></link>
gorkaion@586
    28
    <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";
gorkaion@586
    29
    </script> 
gorkaion@586
    30
    <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
gorkaion@586
    31
    <script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
gorkaion@586
    32
    <script language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO="en_US";</script>
gorkaion@641
    33
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
gorkaion@586
    34
    <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
gorkaion@641
    35
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
gorkaion@586
    36
    <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
gorkaion@586
    37
    <script language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></script>
gorkaion@586
    38
    <script language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-en.js" type="text/javascript"></script>
gorkaion@586
    39
    <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
gorkaion@586
    40
    <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
gorkaion@586
    41
    <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
gorkaion@586
    42
    <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
gorkaion@586
    43
    <script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
gorkaion@586
    44
    <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
gorkaion@586
    45
    <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
gorkaion@641
    46
    <script type="text/javascript"> 
gorkaion@641
    47
      //all dojo.require above this line
gorkaion@586
    48
      dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
gorkaion@586
    49
    </script> 
gorkaion@586
    50
    <script language="JavaScript" type="text/javascript">
gorkaion@586
    51
gorkaion@586
    52
      function depurar(action) {
gorkaion@586
    53
        var frm=document.frmMain;
gorkaion@586
    54
        if (action=="FIND") {
gorkaion@586
    55
          if (frm.inpadOrgId.value==null || frm.inpadOrgId.value=="") {
gorka@1028
    56
            setWindowElementFocus(frm.inpadOrgId);
gorkaion@586
    57
            mensaje(7);
gorkaion@586
    58
            return false;
gorkaion@586
    59
          }
gorkaion@586
    60
        } else if (action=="ADD") {
gorkaion@586
    61
          if (radioValue(frm.inpRequisitionLine)==null) {
gorkaion@586
    62
            mensaje(1);
gorkaion@586
    63
            return false;
gorkaion@586
    64
          }
gorkaion@586
    65
        } else if (action=="REMOVE" || action=="OPEN_CREATE") {
gorkaion@586
    66
          if (radioValue(frm.inpSelectedReq)==null) {
gorkaion@586
    67
            mensaje(1);
gorkaion@586
    68
            return false;
gorkaion@586
    69
          }
gorkaion@586
    70
        }
gorkaion@586
    71
        return true;
gorkaion@586
    72
      }
gorkaion@586
    73
gorkaion@586
    74
      function updateData(clave, marcar) {
gorkaion@586
    75
        if (marcar==null) marcar=false;
gorkaion@586
    76
        var frm = document.frmMain;
gorkaion@586
    77
        frm.elements["inpQty" + clave].disabled=!marcar;
gorkaion@586
    78
        frm.elements["inpPrice" + clave].disabled=!marcar;
gorkaion@586
    79
gorkaion@586
    80
        if (marcar)
gorkaion@586
    81
        {
gorkaion@586
    82
          frm.elements["inpQty" + clave].className = frm.elements["inpQty" + clave].className.replace(' readonly', '');
gorkaion@586
    83
          frm.elements["inpPrice" + clave].className = frm.elements["inpPrice" + clave].className.replace(' readonly', '');
gorkaion@586
    84
        } else {
gorkaion@586
    85
          frm.elements["inpQty" + clave].className += " readonly";
gorkaion@586
    86
          frm.elements["inpPrice" + clave].className += " readonly";
gorkaion@586
    87
        }
gorkaion@586
    88
        return true;
gorkaion@586
    89
      }
gorkaion@586
    90
gorkaion@586
    91
      function myResizeArea(isOnResize) {
gorkaion@586
    92
        var mnu = document.getElementById("client");
gorkaion@586
    93
        var filtertable = document.getElementById("filtertable");
gorkaion@586
    94
        var linestable = document.getElementById("linestable");
gorkaion@586
    95
        var addtable = document.getElementById("addtable");
gorkaion@586
    96
        var selectedtable = document.getElementById("selectedtable");
gorkaion@586
    97
gorkaion@651
    98
        linestable.style.height = ((mnu.clientHeight - (filtertable?filtertable.clientHeight:0) - (addtable?addtable.clientHeight:0))/2)-1;
gorkaion@651
    99
        selectedtable.style.height = (mnu.clientHeight - (filtertable?filtertable.clientHeight:0) - (addtable?addtable.clientHeight:0))/2;
gorkaion@586
   100
        var filtertablew = document.getElementById("filtertablew");
gorkaion@586
   101
        linestable.style.width = filtertablew.clientWidth + 14;
gorkaion@586
   102
        selectedtable.style.width = filtertablew.clientWidth + 14;
gorkaion@586
   103
      }
gorkaion@586
   104
gorkaion@586
   105
      function onloadFunctions() {
gorkaion@586
   106
      }
gorkaion@641
   107
    </script>
gorkaion@641
   108
    <script language="JavaScript" type="text/javascript">
gorkaion@641
   109
      function onLoadDo(){
gorkaion@641
   110
        this.windowTables = new Array(
gorkaion@641
   111
          new windowTableId('filtertable', null, 'buttonSearch'),
gorkaion@641
   112
          new windowTableId('linestable', null, 'buttonAdd'),
gorkaion@641
   113
          new windowTableId('addtable', null, 'buttonAdd'),
gorkaion@641
   114
          new windowTableId('selectedtable', null, 'buttonCreate'),
gorkaion@641
   115
          new windowTableId('tdbottomButtons', null, 'buttonCreate')
gorkaion@641
   116
        );
gorkaion@641
   117
        setWindowTableParentElement();
gorkaion@641
   118
        this.tabsTables = new Array(
gorkaion@641
   119
          new tabTableId('tdtopTabs')
gorkaion@641
   120
        );
gorkaion@641
   121
        setTabTableParentElement();
gorkaion@641
   122
        enableShortcuts('edition');
gorkaion@641
   123
gorkaion@641
   124
        try {
gorkaion@641
   125
          onloadFunctions();
gorkaion@641
   126
        } catch (e) {}
gorkaion@641
   127
        xx();
gorkaion@651
   128
        resizeArea();
gorkaion@641
   129
        myResizeArea();
gorkaion@641
   130
gorkaion@641
   131
        setWindowElementFocus('firstElement');
gorkaion@641
   132
      }
gorkaion@641
   133
gorkaion@641
   134
      function onResizeDo(){
gorkaion@651
   135
        resizeArea();
gorkaion@641
   136
        myResizeArea();
gorkaion@641
   137
      }
gorkaion@641
   138
    </script>
gorkaion@641
   139
gorkaion@586
   140
</head>
gorkaion@641
   141
<body onload="onLoadDo();" onresize="onResizeDo();" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" id="paramMessage">
gorkaion@586
   142
  <form method="POST" action="RequisitionToOrder.html" name="frmMain">
gorkaion@586
   143
    <input type="hidden" name="Command"></input>
gorkaion@586
   144
    <input type="hidden" name="inpParamValue" value="" id="paramValue"></input> 
gorkaion@586
   145
    <input type="hidden" name="inpissotrx" value="N"></input>
gorkaion@586
   146
    <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
gorkaion@586
   147
      <tr>
gorkaion@586
   148
        <td valign="top" id="tdleftTabs"></td>
gorkaion@586
   149
        <td valign="top">
gorkaion@586
   150
          <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
gorkaion@586
   151
            <tr><td class="Main_NavBar_bg_left" id="tdleftSeparator"></td></tr>
gorkaion@586
   152
            <tr><td class="Main_ToolBar_bg_left" valign="top"></td></tr>
gorkaion@586
   153
            <tr><td class="Main_Client_bg_left"></td></tr>
gorkaion@586
   154
            <tr><td class="Main_Bottom_bg_left"></td></tr>
gorkaion@586
   155
          </table>
gorkaion@586
   156
        </td>
gorkaion@586
   157
        <td valign="top">
gorkaion@586
   158
          <div class="Main_ContentPane_NavBar" id="tdtopButtons"></div>
gorkaion@586
   159
          <div class="Main_ContentPane_ToolBar" id="paramToolBar"></div>
gorkaion@586
   160
          <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
gorkaion@586
   161
            <tr id="paramParentTabContainer"></tr>
gorkaion@586
   162
            <tr id="paramMainTabContainer"></tr>
gorkaion@586
   163
            <tr id="paramChildTabContainer"></tr>
gorkaion@586
   164
          </table>
gorkaion@586
   165
          <div class="Main_ContentPane_Client" style="overflow: auto; display: none; border-bottom: 0px none;" id="client">
gorkaion@586
   166
            <table class="dojoTabContainer" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
gorkaion@586
   167
              <tr>
gorkaion@586
   168
                <td>
gorkaion@586
   169
                  <table class="dojoTabPaneWrapper" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
gorkaion@586
   170
                    <tr>
gorkaion@586
   171
                      <td>
gorkaion@586
   172
gorkaion@586
   173
gorkaion@586
   174
                        <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxHIDDEN">
gorkaion@586
   175
                          <tbody>
gorkaion@586
   176
                            <tr class="MessageBox_TopMargin">
gorkaion@586
   177
                              <td class="MessageBox_LeftMargin"></td>
gorkaion@586
   178
                              <td></td>
gorkaion@586
   179
                              <td class="MessageBox_RightMargin"></td>
gorkaion@586
   180
                            </tr>
gorkaion@586
   181
                            <tr>
gorkaion@586
   182
                              <td class="MessageBox_LeftMargin"></td>
gorkaion@586
   183
                              <td>
gorkaion@586
   184
gorkaion@586
   185
                                <table cellpadding="0" cellspacing="0" style="width: 100%;">
gorkaion@586
   186
                                  <tbody>
gorkaion@586
   187
                                    <tr>
gorkaion@586
   188
                                      <td>
gorkaion@586
   189
                                        <div class="MessageBox_TopLeft"></div>
gorkaion@586
   190
                                        <div class="MessageBox_Left"></div>
gorkaion@586
   191
                                      </td>
gorkaion@586
   192
                                      <td class="MessageBox_bg">
gorkaion@586
   193
gorkaion@586
   194
                                        <table class="MessageBox_Top">
gorkaion@586
   195
                                          <tbody>
gorkaion@586
   196
                                            <tr>
gorkaion@586
   197
                                              <td>
gorkaion@586
   198
                                                <span>
gorkaion@586
   199
                                                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
gorkaion@586
   200
                                                    <tbody>
gorkaion@586
   201
                                                      <tr>
gorkaion@586
   202
                                                        <td class="MessageBox_Icon_ContentCell">
gorkaion@586
   203
                                                          <div class="MessageBox_Icon"></div>
gorkaion@586
   204
                                                        </td>
gorkaion@586
   205
                                                        <td style="vertical-align: top;" id="messageBoxIDContent">
gorkaion@586
   206
                                                          <span>
gorkaion@586
   207
                                                            <div class="MessageBox_TextTitle" id="messageBoxIDTitle"></div>
gorkaion@586
   208
                                                            <div class="MessageBox_TextDescription" id="messageBoxIDMessage"></div>
gorkaion@586
   209
                                                            <div class="MessageBox_TextSeparator"></div>
gorkaion@586
   210
                                                          </span>
gorkaion@586
   211
                                                        </td>
gorkaion@586
   212
                                                      </tr>
gorkaion@586
   213
                                                    </tbody>
gorkaion@586
   214
                                                  </table>
gorkaion@586
   215
                                                </span>
gorkaion@586
   216
                                              </td>
gorkaion@586
   217
                                            </tr>
gorkaion@586
   218
                                          </tbody>
gorkaion@586
   219
                                        </table>
gorkaion@586
   220
gorkaion@586
   221
                                      </td>
gorkaion@586
   222
                                      <td class="MessageBox_RightTrans">
gorkaion@586
   223
                                        <div class="MessageBox_TopRight"></div>
gorkaion@586
   224
                                        <div class="MessageBox_Right"></div>
gorkaion@586
   225
                                      </td>
gorkaion@586
   226
                                    </tr>
gorkaion@586
   227
                                    <tr>
gorkaion@586
   228
                                      <td rowspan="2" class="MessageBox_BottomLeft">
gorkaion@586
   229
                                      </td>
gorkaion@586
   230
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
gorkaion@586
   231
                                      </td>
gorkaion@586
   232
                                      <td rowspan="2" class="MessageBox_BottomRight">
gorkaion@586
   233
                                      </td>
gorkaion@586
   234
                                    </tr>
gorkaion@586
   235
                                    <tr>
gorkaion@586
   236
                                      <td class="MessageBox_Bottom">
gorkaion@586
   237
                                      </td>
gorkaion@586
   238
                                    </tr>
gorkaion@586
   239
                                  </tbody>
gorkaion@586
   240
                                </table>
gorkaion@586
   241
gorkaion@586
   242
                              </td>
gorkaion@586
   243
                              <td class="MessageBox_RightMargin"></td>
gorkaion@586
   244
                            </tr>
gorkaion@586
   245
                            <tr class="MessageBox_BottomMargin">
gorkaion@586
   246
                              <td class="MessageBox_LeftMargin"></td>
gorkaion@586
   247
                              <td></td>
gorkaion@586
   248
                              <td class="MessageBox_RightMargin"></td>
gorkaion@586
   249
                            </tr>
gorkaion@586
   250
                          </tbody>
gorkaion@586
   251
                        </table>
gorkaion@586
   252
                        <div id="filtertable" style="overflow: none;">
gorkaion@586
   253
                        <table class="Main_Client_TableEdition" id="filtertablew">
gorkaion@586
   254
                          <tr>
gorkaion@586
   255
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   256
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   257
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   258
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   259
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   260
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   261
                          </tr>
gorkaion@586
   262
                          <tr>
gorkaion@586
   263
                            <td class="TitleCell"> <span class="LabelText">Product</span></td>
gorkaion@586
   264
                            <td class="TextBox_btn_ContentCell">
gorkaion@586
   265
                              <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
gorkaion@586
   266
                                <tr>
gorkaion@586
   267
                                  <td class="TextBox_ContentCell">
gorkaion@586
   268
                                    <input type="hidden" name="inpmProductId" value="" id="paramProductId"></input> 
gorkaion@586
   269
                                    <input class="dojoValidateValid TextBox_btn_OneCell_width" type="text"  name="inpmProductId_DES" maxlength="20" value="" id="paramProductDescription"></input>
gorkaion@586
   270
                                  </td>
gorkaion@586
   271
                                  <td class="FieldButton_ContentCell">
ivan@770
   272
                                    <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Product'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="openSearch(null, null, '../info/ProductComplete.html', 'SELECTOR_PRODUCT', false, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value, 'WindowID', 'RequisitionToOrder');return false;">
gorkaion@586
   273
                                      <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Product';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
gorkaion@586
   274
                                        <tr>
gorkaion@586
   275
                                          <td class="FieldButton_bg">
gorkaion@586
   276
                                            <img alt="Product" class="FieldButton_Icon FieldButton_Icon_Product" title="Product" src="../../../../../web/images/blank.gif" border="0"></img>
gorkaion@586
   277
                                          </td>
gorkaion@586
   278
                                        </tr>
gorkaion@586
   279
                                      </table>
gorkaion@586
   280
                                    </a>
gorkaion@586
   281
                                  </td>
gorkaion@586
   282
                                </tr>
gorkaion@586
   283
                              </table>
gorkaion@586
   284
                            </td>
gorkaion@586
   285
                            <td class="TitleCell"><span class="LabelText">From Date</span></td>
gorkaion@586
   286
                            <td class="TextBox_btn_ContentCell">
gorkaion@586
   287
                              <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
gorkaion@586
   288
                                <tr>
gorkaion@586
   289
                                  <td class="TextBox_ContentCell">
gorkaion@586
   290
                                    <input dojotype="openbravo:DateTextbox" displayformat="xx" saveformat="xx"  class="dojoValidateValid TextBox_btn_OneCell_width" type="text" name="inpDateFrom" id="paramDateFrom" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></input><script>djConfig.searchIds.push("paramDateFrom");</script>
gorkaion@586
   291
                                  </td>
gorkaion@586
   292
                                  <td class="FieldButton_ContentCell">
gorkaion@651
   293
                                    <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='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.paramDateFrom', document.frmMain.paramDateFrom.value, false);return false;">
gorkaion@586
   294
                                      <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;">
gorkaion@586
   295
                                        <tr>
gorkaion@586
   296
                                          <td class="FieldButton_bg">
gorkaion@586
   297
                                            <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></img>
gorkaion@586
   298
                                          </td>
gorkaion@586
   299
                                        </tr>
gorkaion@586
   300
                                      </table>
gorkaion@586
   301
                                    </a>
gorkaion@586
   302
                                  </td>
gorkaion@586
   303
                                </tr>
gorkaion@586
   304
                              </table>
gorkaion@586
   305
                            </td>
gorkaion@586
   306
                            <td class="TitleCell"> <span class="LabelText">To Date</span></td>
gorkaion@586
   307
                            <td class="TextBox_btn_ContentCell">
gorkaion@586
   308
                              <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
gorkaion@586
   309
                                <tr>
gorkaion@586
   310
                                  <td class="TextBox_ContentCell">
gorkaion@586
   311
                                    <input dojotype="openbravo:DateTextbox" displayformat="xx" saveformat="xx"  class="dojoValidateValid TextBox_btn_OneCell_width" type="text" name="inpDateTo" id="paramDateTo" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></input><script>djConfig.searchIds.push("paramDateTo");</script>
gorkaion@586
   312
                                  </td>
gorkaion@586
   313
                                  <td class="FieldButton_ContentCell">
gorkaion@651
   314
                                    <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='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.inpDateTo', document.frmMain.inpDateTo.value, false);return false;">
gorkaion@586
   315
                                      <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;">
gorkaion@586
   316
                                        <tr>
gorkaion@586
   317
                                          <td class="FieldButton_bg">
gorkaion@586
   318
                                            <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></img>
gorkaion@586
   319
                                          </td>
gorkaion@586
   320
                                        </tr>
gorkaion@586
   321
                                      </table>
gorkaion@586
   322
                                    </a>
gorkaion@586
   323
                                  </td>
gorkaion@586
   324
                                </tr>
gorkaion@586
   325
                              </table>
gorkaion@586
   326
                            </td>
gorkaion@586
   327
                          </tr>
gorkaion@586
   328
                          <tr>
gorkaion@586
   329
                            <td class="TitleCell"> <span class="LabelText">Requester</span></td>
gorkaion@586
   330
                            <td class="Combo_ContentCell"> <select name="inpRequesterId"  class="Combo Combo_OneCell_width" id="inpRequesterId"><option value=""></option><div id="reportRequester_ID"></div>
gorkaion@586
   331
                            </select></td>
gorkaion@586
   332
                            <td class="TitleCell"> <span class="LabelText">Vendor</span></td>
gorkaion@586
   333
                            <td class="TextBox_btn_ContentCell">
gorkaion@586
   334
                              <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
gorkaion@586
   335
                                <tr>
gorkaion@586
   336
                                  <td class="TextBox_ContentCell">
gorkaion@586
   337
                                    <input type="hidden" name="inpcBpartnerId" value="" id="paramBPartnerId"></input> 
gorkaion@586
   338
                                    <input class="dojoValidateValid TextBox_btn_OneCell_width" type="text"  name="inpBpartnerId_DES" maxlength="20" value="" id="paramBPartnerDescription"></input>
gorkaion@586
   339
                                  </td>
gorkaion@586
   340
                                  <td class="FieldButton_ContentCell">
ivan@770
   341
                                    <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, 'WindowID', 'MaterialReceiptPending');return false;">
gorkaion@586
   342
                                      <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;">
gorkaion@586
   343
                                        <tr>
gorkaion@586
   344
                                          <td class="FieldButton_bg">
gorkaion@586
   345
                                            <img alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0"></img>
gorkaion@586
   346
                                          </td>
gorkaion@586
   347
                                        </tr>
gorkaion@586
   348
                                      </table>
gorkaion@586
   349
                                    </a>
gorkaion@586
   350
                                  </td>
gorkaion@586
   351
                                </tr>
gorkaion@586
   352
                              </table>
gorkaion@586
   353
                            </td>
gorkaion@586
   354
                            <td class="TitleCell"> <span class="LabelText">Add lines without Vendor</span></td>
gorkaion@651
   355
                            <td class="Radio_Check_ContentCell"> <span class="Checkbox_container_NOT_Focused"><input type="checkbox" value="Y" checked="checked" id="paramShowNullVendor" name="inpShowNullVendor"></input></span></td>
gorkaion@586
   356
                          </tr>
gorkaion@586
   357
                          <tr>
gorkaion@586
   358
                            <td class="TitleCell"> <span class="LabelText">Organization</span></td>
gorkaion@586
   359
                            <td class="Combo_ContentCell"> <select name="inpadOrgId"  class="Combo Combo_OneCell_width" id="inpadOrgId"><div id="reportAD_Org_ID"></div>
gorkaion@586
   360
                            </select></td>
gorkaion@586
   361
                            <td class="TitleCell"></td>
gorkaion@586
   362
                            <td class="TitleCell"></td>
gorkaion@586
   363
                            <td class="Button_LeftAlign_ContentCell">
gorkaion@586
   364
                              <div>
gorkaion@651
   365
                                <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', true, null, null, '_self');return false;" id="buttonSearch">
gorkaion@586
   366
                                  <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;">
gorkaion@586
   367
                                    <tr>
gorkaion@586
   368
                                      <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
gorkaion@586
   369
                                      <td class="Button_text Button_width">Search</td>
gorkaion@586
   370
                                      <td class="Button_right"></td>
gorkaion@586
   371
                                    </tr>
gorkaion@586
   372
                                  </table>
gorkaion@586
   373
                                </a>
gorkaion@586
   374
                              </div>
gorkaion@586
   375
                            </td>
gorkaion@586
   376
                            <td class="TitleCell"></td>
gorkaion@586
   377
                          </tr>
gorkaion@586
   378
                        </table>
gorkaion@586
   379
                      </div>
gorkaion@586
   380
                        <div id="linestable" style="overflow: auto;">
gorkaion@586
   381
                          <table class="Main_Client_TableEdition">
gorkaion@586
   382
                            <tr>
gorkaion@586
   383
                              <td>
gorkaion@586
   384
                                <div class="Popup_ContentPane_Client" style="overflow: auto;">
gorkaion@586
   385
                                  <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table">
gorkaion@586
   386
                                    <tr class="Popup_Client_Selector_DataGrid_HeaderRow"> 
gorkaion@586
   387
                                      <td class="DataGrid_Body_LineNoCell" width="24"> <input type="checkbox" name="inpAllLines" onclick="marcarTodos(document.frmMain.inpRequisitionLine, this.checked);return true;"></input>
gorkaion@586
   388
                                      </td>
gorkaion@586
   389
                                      <th class="DataGrid_Header_Cell" width="80">Need by date</th>
gorkaion@586
   390
                                      <th class="DataGrid_Header_Cell" width="195">Product</th>
gorkaion@586
   391
                                      <th class="DataGrid_Header_Cell" width="70">Quantity</th>
gorkaion@586
   392
                                      <th class="DataGrid_Header_Cell" width="170">Requester</th>
gorkaion@586
   393
                                      <th class="DataGrid_Header_Cell" width="230">Vendor - PriceList</th>
gorkaion@586
   394
                                      <th class="DataGrid_Header_Cell" >Price</th>
gorkaion@586
   395
                                    </tr>
gorkaion@586
   396
                                    <div id="sectionLinesDetail"> 
gorkaion@586
   397
                                      <tr id="funcEvenOddRow" class="DataGrid_Body_Row DataGrid_Body_Row_xx"> 
gorkaion@586
   398
                                        <td class="DataGrid_Body_LineNoCell"> <input type="checkbox" name="inpRequisitionLine" value="" id="fieldRequisitionLineId"></input></td>
gorkaion@586
   399
                                        <td class="DataGrid_Body_Cell" id="fieldNeedByDate">xx29-02-2008</td>
gorkaion@586
   400
                                        <td class="DataGrid_Body_Cell"><SPAN id="fieldProduct">xxBeer</SPAN> - <SPAN id="fieldAttribute">xxAttribute</SPAN></td>
gorkaion@586
   401
                                        <td class="DataGrid_Body_Cell" id="fieldQuantity">xx1000000</td>
gorkaion@586
   402
                                        <td class="DataGrid_Body_Cell" id="fieldRequester">xxOpenbravo</td>
gorkaion@586
   403
                                        <td class="DataGrid_Body_Cell"><SPAN id="fieldVendor">xxGuiness</SPAN> - <SPAN id="fieldPriceList">xxPricelist</SPAN></td>
gorkaion@586
   404
                                        <td class="DataGrid_Body_Cell" id="fieldPrice">xx3</td>
gorkaion@586
   405
                                      </tr>
gorkaion@586
   406
                                    </div>
gorkaion@586
   407
                                  </table>
gorkaion@586
   408
                                </div>
gorkaion@586
   409
                              </td>
gorkaion@586
   410
                            </tr>
gorkaion@586
   411
                          </table>
gorkaion@586
   412
                        </div>
gorkaion@586
   413
                        <div id="addtable" style="overflow: none;">
gorkaion@586
   414
                        <table class="Main_Client_TableEdition" cellspacing="0" cellpadding="0">
gorkaion@586
   415
                          <tr>
gorkaion@586
   416
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   417
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   418
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   419
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   420
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   421
                            <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   422
                          </tr>
gorkaion@586
   423
                          <tr>
gorkaion@586
   424
                            <td class="TitleCell"></td>
gorkaion@586
   425
                            <td class="Button_LeftAlign_ContentCell">
gorkaion@586
   426
                              <div>
gorkaion@651
   427
                                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(ths); window.status='Add'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('ADD', true, null, null, '_self', true);return false;" id="buttonAdd">
gorkaion@586
   428
                                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Add';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
gorkaion@586
   429
                                    <tr>
gorkaion@586
   430
                                      <td class="Button_left"><img class="Button_Icon Button_Icon_process" alt="Add" title="Add" src="../../../../../web/images/blank.gif" border=0/></td>
gorkaion@586
   431
                                      <td class="Button_text Button_width">Add</td>
gorkaion@586
   432
                                      <td class="Button_right"></td>
gorkaion@586
   433
                                    </tr>
gorkaion@586
   434
                                  </table>
gorkaion@586
   435
                                </a>
gorkaion@586
   436
                              </div>
gorkaion@586
   437
                            </td>
gorkaion@586
   438
                            <td class="TitleCell"></td>
gorkaion@586
   439
                            <td class="TitleCell"></td>
gorkaion@586
   440
                            <td class="Button_LeftAlign_ContentCell">
gorkaion@586
   441
                              <div>
gorkaion@651
   442
                                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Remove'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('REMOVE', true, null, null, '_self', true);return false;">
gorkaion@586
   443
                                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Remove';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
gorkaion@586
   444
                                    <tr>
gorkaion@586
   445
                                      <td class="Button_left"><img class="Button_Icon Button_Icon_process" alt="Remove" title="Remove" src="../../../../../web/images/blank.gif" border=0/></td>
gorkaion@586
   446
                                      <td class="Button_text Button_width">Remove</td>
gorkaion@586
   447
                                      <td class="Button_right"></td>
gorkaion@586
   448
                                    </tr>
gorkaion@586
   449
                                  </table>
gorkaion@586
   450
                                </a>
gorkaion@586
   451
                              </div>
gorkaion@586
   452
                            </td>
gorkaion@586
   453
                            <td class="TitleCell"></td>
gorkaion@586
   454
                          </tr>
gorkaion@586
   455
                        </table>
gorkaion@586
   456
                      </div>
gorkaion@586
   457
                        <div id="selectedtable" style="overflow: auto;">
gorkaion@586
   458
                          <table class="Main_Client_TableEdition">
gorkaion@586
   459
                            <tr>
gorkaion@586
   460
                              <td colspan="6">
gorkaion@586
   461
                                <div id="sectionVendor">
gorkaion@586
   462
                                <div id="sectionPriceList">
gorkaion@586
   463
                                  <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
gorkaion@586
   464
                                    <tr class="DataGrid_Body_Row">
gorkaion@586
   465
                                      <th class="DataGrid_Header_Cell" colspan="8"><span id="fieldVendor">xxVendor</span> - <span id="fieldPricelist">xxPricelistId</span></th>
gorkaion@586
   466
                                    </tr>
gorkaion@586
   467
                                    <tr class="DataGrid_Body_Row">
gorkaion@586
   468
                                      <th class="DataGrid_Header_Cell" colspan="2">Product</th>
gorkaion@586
   469
                                      <th class="DataGrid_Header_Cell" width="80">NeedByDate</th>
gorkaion@586
   470
                                      <th class="DataGrid_Header_Cell" width="70">Req. Qty</th>
gorkaion@586
   471
                                      <th class="DataGrid_Header_Cell" width="70">Matched</th>
gorkaion@586
   472
                                      <th class="DataGrid_Header_Cell" width="100">Qty</th>
gorkaion@586
   473
                                      <th class="DataGrid_Header_Cell" width="100">Price</th>
gorkaion@586
   474
                                      <th class="DataGrid_Header_Cell" width="70">Price list</th>
gorkaion@586
   475
                                    </tr>
gorkaion@586
   476
                                    <div id="sectionSelectedDetail">
gorkaion@586
   477
                                      <tr id="funcSelectedEvenOddRow" class="DataGrid_Body_Row DataGrid_Body_Row_xx"> 
gorkaion@586
   478
                                        <td width="20" class="DataGrid_Body_Cell"> <input type="checkbox" name="inpSelectedReq" onclick="updateData(this.value, this.checked);return true;" value="" id="fieldSelectedReq"></input>
gorkaion@586
   479
                                        </td>
gorkaion@586
   480
                                        <td class="DataGrid_Body_Cell"><SPAN id="fieldSelProduct">xxDonuts</SPAN> - <SPAN id="fieldSelAttribute">xxAttribute</SPAN></td>
gorkaion@586
   481
                                        <td class="DataGrid_Body_Cell" id="fieldSelNeedByDate">xx02-02-2010</td>
gorkaion@586
   482
                                        <td class="DataGrid_Body_Cell" id="fieldReqQty">xx30.00</td>
gorkaion@586
   483
                                        <td class="DataGrid_Body_Cell" id="fieldMatchedQty">xx30.00</td>
david@699
   484
                                        <td class="TextBox_ContentCell"> <input name="inpQtyxx" id="fieldSelQty" type="text" size="5" value="" onkeyup="auto_complete_number(this, true, true);return true;" class="dojoValidateValid readonly" disabled></input></td>
david@699
   485
                                        <td class="TextBox_ContentCell"> <input name="inpPricexx" id="fieldSelPrice" type="text" size="5" value="" onkeyup="auto_complete_number(this, true, true);return true;" class="dojoValidateValid readonly" disabled></input></td>
gorkaion@586
   486
                                        <td class="DataGrid_Body_Cell" id="fieldPriceList">xx300</td>
gorkaion@586
   487
                                      </tr>
gorkaion@586
   488
                                    </div>
gorkaion@586
   489
                                  </table>
gorkaion@586
   490
                                </div>
gorkaion@586
   491
                              </div>
gorkaion@586
   492
                              </td>
gorkaion@586
   493
                            </tr>
gorkaion@586
   494
                          </table>
gorkaion@586
   495
                        </div>
gorkaion@586
   496
                      </td>
gorkaion@586
   497
                    </tr>
gorkaion@586
   498
                  </table>
gorkaion@586
   499
                </td>
gorkaion@586
   500
              </tr>
gorkaion@586
   501
            </table>
gorkaion@586
   502
          </div>
gorkaion@586
   503
gorkaion@586
   504
gorkaion@586
   505
          <div>
gorkaion@586
   506
            <div class="Main_ContentPane_Client" style="overflow: auto; border-top: 0px none;" id="tdbottomButtons">
gorkaion@586
   507
              <table class="Main_Client_TableEdition" cellspacing="0" cellpadding="0" >
gorkaion@586
   508
                <tr>
gorkaion@586
   509
                  <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   510
                  <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   511
                  <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   512
                  <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   513
                  <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   514
                  <td class="TableEdition_OneCell_width"></td>
gorkaion@586
   515
                </tr>
gorkaion@586
   516
                <tr>
gorkaion@586
   517
                  <td class="TitleCell"></td>
gorkaion@586
   518
                  <td class="Button_LeftAlign_ContentCell">
gorkaion@586
   519
                    <div>
gorkaion@651
   520
                      <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Create'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="openServletNewWindow('OPEN_CREATE', true, 'RequisitionToOrderCreate.html', 'CreatePurchaseOrder', null, false, '600', '800');return false;" id="buttonCreate">
gorkaion@586
   521
                        <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Create';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
gorkaion@586
   522
                          <tr>
gorkaion@586
   523
                            <td class="Button_left"><img class="Button_Icon Button_Icon_process" alt="Create" title="Create" src="../../../../../web/images/blank.gif" border=0/></td>
gorkaion@586
   524
                            <td class="Button_text Button_width">Create</td>
gorkaion@586
   525
                            <td class="Button_right"></td>
gorkaion@586
   526
                          </tr>
gorkaion@586
   527
                        </table>
gorkaion@586
   528
                      </a>
gorkaion@586
   529
                    </div>
gorkaion@586
   530
                  </td>
gorkaion@586
   531
                  <td class="TitleCell"></td>
gorkaion@586
   532
                  <td class="TitleCell"></td>
gorkaion@586
   533
                  <td class="TitleCell"></td>
gorkaion@586
   534
                  <td class="TitleCell"></td>
gorkaion@586
   535
                </tr>
gorkaion@586
   536
              </table>
gorkaion@586
   537
gorkaion@586
   538
            </div>
gorkaion@586
   539
gorkaion@586
   540
gorkaion@586
   541
gorkaion@586
   542
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
gorkaion@586
   543
              <tr>
gorkaion@586
   544
                <td class="Main_Bottom_bg"><img src="../../../../../web/images/blank.gif" border="0"></img></td>
gorkaion@586
   545
              </tr>
gorkaion@586
   546
            </table>
gorkaion@586
   547
          </div></td><td valign="top">
gorkaion@586
   548
          <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
gorkaion@586
   549
            <tr><td class="Main_NavBar_bg_right"></td></tr>
gorkaion@586
   550
            <tr><td class="Main_ToolBar_bg_right" valign="top"></td></tr>
gorkaion@586
   551
            <tr><td class="Main_Client_bg_right"></td></tr>
gorkaion@586
   552
            <tr><td class="Main_Bottom_bg_right"></td></tr>
gorkaion@586
   553
          </table>
gorkaion@586
   554
        </td>
gorkaion@586
   555
      </tr>
gorkaion@586
   556
    </table>
gorkaion@586
   557
gorkaion@586
   558
gorkaion@586
   559
gorkaion@586
   560
  </form>
gorkaion@586
   561
gorkaion@586
   562
gorkaion@586
   563
</body></html>