src/org/openbravo/erpCommon/info/SalesOrder.html
author Gorka Gil <gorka.gil@openbravo.com>
Mon, 26 May 2008 11:32:48 +0000
changeset 1028 8b85368639cc
parent 803 1970d20ab407
child 1044 8691bbc94032
permissions -rwxr-xr-x
Manual windows of bug 0000436 Blank required fields don't take the focus
ivan@712
     1
<!--
ivan@712
     2
 *************************************************************************
ivan@712
     3
 * The contents of this file are subject to the Openbravo  Public  License
ivan@712
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
ivan@712
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
ivan@712
     6
 * file except in compliance with the License. You  may  obtain  a copy of
ivan@712
     7
 * the License at http://www.openbravo.com/legal/license.html 
ivan@712
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
ivan@712
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
ivan@712
    10
 * License for the specific  language  governing  rights  and  limitations
ivan@712
    11
 * under the License. 
ivan@712
    12
 * The Original Code is Openbravo ERP. 
ivan@712
    13
 * The Initial Developer of the Original Code is Openbravo SL 
ivan@712
    14
 * All portions are Copyright (C) 2001-2008 Openbravo SL 
ivan@712
    15
 * All Rights Reserved. 
ivan@712
    16
 * Contributor(s):  ______________________________________.
ivan@712
    17
 ************************************************************************
ivan@712
    18
-->
ivan@712
    19
<html>
ivan@712
    20
<head>
ivan@712
    21
<title>Order selector</title>
ivan@712
    22
ivan@712
    23
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
ivan@712
    24
ivan@712
    25
<script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
ivan@712
    26
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
ivan@712
    27
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
ivan@712
    28
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
ivan@712
    29
<script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>
ivan@712
    30
<script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
ivan@712
    31
<script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
ivan@712
    32
<script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://yourSite/web/";</script>
ivan@712
    33
<script language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</script> 
ivan@712
    34
<SCRIPT language="JavaScript" src="../../../../../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
ivan@712
    35
<script language="JavaScript" src="../../../../../web/js/openbravo/core.js" type="text/javascript"></script>
ivan@712
    36
<script language="JavaScript" src="../../../../../web/js/openbravo/widget/DataGrid.js" type="text/javascript"></script>
ivan@712
    37
<script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
ivan@712
    38
<SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
ivan@712
    39
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
ivan@712
    40
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
ivan@712
    41
<script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
ivan@712
    42
<SCRIPT language="JavaScript" src="../../../../../web/js/default/ValidationNumberBox.js" type="text/javascript"></SCRIPT>
ivan@712
    43
<SCRIPT language="JavaScript" src="../../../../../web/js/default/ValidationIntegerBox.js" type="text/javascript"></SCRIPT>
ivan@712
    44
<script type="text/javascript">
ivan@712
    45
  dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
ivan@712
    46
</script>
ivan@712
    47
ivan@712
    48
ivan@712
    49
<link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></link> 
ivan@712
    50
ivan@712
    51
<script language="JavaScript" type="text/javascript">
ivan@712
    52
  function depurar() {
ivan@712
    53
    var frm = document.frmSelector;
ivan@712
    54
    if ((frm.inpKey.value==null || frm.inpKey.value=="") && (frm.inpName.value==null || frm.inpName.value=="") && (frm.inpContact.value==null || frm.inpContact.value=="") && (frm.inpZIP.value==null || frm.inpZIP.value=="") && (frm.inpPhone.value==null || frm.inpPhone.value=="") && !frm.inpClients.checked) {
gorka@1028
    55
      setWindowElementFocus(frm.inpKey);
ivan@712
    56
      mensaje(7);
ivan@712
    57
      return false;
ivan@712
    58
    }
ivan@712
    59
    return true;
ivan@712
    60
  }
ivan@712
    61
</script>
gorka@803
    62
<SCRIPT language="JavaScript" type="text/javascript">
gorka@803
    63
	function onloadFunctions(){
gorka@803
    64
	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, 'BusinessPartner.html', 'BPARTNER_SELECTOR', false, 'frmSelector', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmSelector.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
gorka@803
    65
}
gorka@803
    66
</SCRIPT>
gorka@803
    67
ivan@712
    68
<script type="text/javascript">    
ivan@712
    69
  function depurarSelector(action) {
ivan@712
    70
  	var pos; var keys;  var clave; var texto; var parameter;
ivan@712
    71
  	if(action == "SAVE") {
ivan@712
    72
	    pos = getSelectedPos();
ivan@712
    73
	    keys = getSelectedValues().split("#")
ivan@712
    74
	    clave = keys[0];
ivan@712
    75
	    texto = keys[1];
ivan@712
    76
    }    
ivan@712
    77
  	parent.opener.closeSearch(action, clave, texto);
ivan@712
    78
  }
ivan@712
    79
</script>
ivan@712
    80
<script language="JavaScript" type="text/javascript" id="selectedColumn">
ivan@712
    81
  
ivan@712
    82
  dojo.require("openbravo.widget.DataGrid");
ivan@712
    83
  var selectedRow = 0;
ivan@712
    84
  var orderByPositions = new Array("1");
ivan@712
    85
  var orderByDirections = new Array("ASC");
ivan@712
    86
</script>
ivan@712
    87
<script language="JavaScript" type="text/javascript">
ivan@712
    88
  
ivan@712
    89
  function onLoadDo(){
ivan@712
    90
    this.windowTables = new Array(
ivan@712
    91
      new windowTableId('client_top', null, 'buttonSearch', null),
ivan@712
    92
      new windowTableId('client_middle', null, 'buttonOK', null),
ivan@712
    93
      new windowTableId('client_bottom', null, 'buttonOK', null)
ivan@712
    94
    );
ivan@712
    95
    setWindowTableParentElement();
ivan@712
    96
    enableShortcuts('popup');
ivan@712
    97
ivan@712
    98
    try {
ivan@712
    99
      onloadFunctions();
ivan@712
   100
    } catch (e) {}
ivan@712
   101
ivan@712
   102
    setWindowElementFocus('firstElement');
ivan@712
   103
    resizeAreaInfo();
ivan@712
   104
  }
ivan@712
   105
ivan@712
   106
  function onResizeDo(){
ivan@712
   107
    resizeAreaInfo(true);
ivan@712
   108
  }
ivan@712
   109
</script>
ivan@712
   110
</head>
ivan@712
   111
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
ivan@712
   112
<form name="frmSelector" method="POST" action="SalesOrder.html">
ivan@712
   113
  <input type="hidden" name="Command" />
ivan@712
   114
  <input type="hidden" name="IsPopUpCall" value="1" />
ivan@712
   115
  
ivan@712
   116
  <div class="Popup_ContentPane_CircleLogo">
ivan@712
   117
    <div class="Popup_WindowLogo">
ivan@712
   118
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_salesOrder" src="../../../../../web/images/blank.gif" border=0/></img>
ivan@712
   119
    </div>
ivan@712
   120
  </div>
ivan@712
   121
  <table cellspacing="0" cellpadding="0" width="100%" id="table_header">
ivan@712
   122
    <tr>
ivan@712
   123
      <td>
ivan@712
   124
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
ivan@712
   125
          <tr class="Popup_NavBar_bg"><td></td>
ivan@712
   126
            <td class="Popup_NavBar_separator_cell"></td>
ivan@712
   127
            <td class="Popup_NavBar_bg_logo_left"></td>
ivan@712
   128
            <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>
ivan@712
   129
            <td class="Popup_NavBar_bg_logo_right"></td>
ivan@712
   130
            <td class="Popup_NavBar_Popup_title_cell"><span>Order Selector</span></td>
ivan@712
   131
            <td class="Popup_NavBar_separator_cell"></td>
ivan@712
   132
          </tr>
ivan@712
   133
        </table>
ivan@712
   134
      </td>
ivan@712
   135
    </tr>
ivan@712
   136
ivan@712
   137
    <tr>
ivan@712
   138
      <td>
ivan@712
   139
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
ivan@712
   140
          <tr>
ivan@712
   141
            <td class="Popup_SeparatorBar_bg"></td>
ivan@712
   142
          </tr>
ivan@712
   143
        </table>
ivan@712
   144
      </td>
ivan@712
   145
    </tr>
ivan@712
   146
ivan@712
   147
  </table>
ivan@712
   148
ivan@712
   149
  <table cellspacing="0" cellpadding="0" width="100%">
ivan@712
   150
ivan@712
   151
    <tr>
ivan@712
   152
      <td>
ivan@712
   153
        <div class="Popup_ContentPane_Client" style="overflow: auto; height:215px;" id="client_top">
ivan@712
   154
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
ivan@712
   155
ivan@712
   156
            <tr>
ivan@712
   157
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   158
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   159
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   160
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   161
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   162
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   163
            </tr>
ivan@712
   164
ivan@712
   165
            <tr>
ivan@712
   166
              <td colspan="6">
ivan@712
   167
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
ivan@712
   168
                  <tr class="FieldGroup_TopMargin"></tr>
ivan@712
   169
                  <tr>
ivan@712
   170
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
ivan@712
   171
                    <td class="FieldGroupTitle">Primary Filters</td>
ivan@712
   172
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></img></td>
ivan@712
   173
                    <td class="FieldGroupContent"></td>
ivan@712
   174
ivan@712
   175
                  </tr>
ivan@712
   176
                  <tr class="FieldGroup_BottomMargin"></tr>
ivan@712
   177
                </table>
ivan@712
   178
              </td>
ivan@712
   179
            </tr>
ivan@712
   180
ivan@712
   181
       <tr>
ivan@712
   182
         <TD class="TitleCell"><SPAN class="LabelText">Doc No.</SPAN></TD>
ivan@712
   183
         <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpKey" value="" id="fieldKey"/></TD>
ivan@712
   184
         
ivan@712
   185
         <td></td>
ivan@712
   186
ivan@712
   187
         
ivan@712
   188
         <TD class="TitleCell"><SPAN class="LabelText">Reference Order</SPAN></TD>
ivan@712
   189
         <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" name="inpOrder" type="text"/></TD>
ivan@712
   190
         <td></td>
ivan@712
   191
         
ivan@712
   192
       </tr>
ivan@712
   193
       <tr>
ivan@712
   194
        <TD class="TitleCell"><SPAN class="LabelText">Business Partner</SPAN></TD>
ivan@712
   195
        <TD class="TextBox_btn_ContentCell" colspan="2">
ivan@712
   196
ivan@712
   197
          <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
ivan@712
   198
            <TR>
ivan@712
   199
              <TD class="TextBox_ContentCell">
ivan@712
   200
                <INPUT type="hidden" name="inpBpartnerId">
ivan@712
   201
                <INPUT class="dojoValidateValid TextBox_btn_TwoCells_width" type="text" name="inpBpartnerId_DES" id="fieldcBpartnerId_DES" maxlength="20" value=""></INPUT>
ivan@712
   202
              </TD>
ivan@712
   203
              <TD class="FieldButton_ContentCell">
ivan@712
   204
                <a class="FieldButtonLink" href="#"
ivan@712
   205
                  onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;"
ivan@712
   206
                  onblur="window.status=''; return true;"
ivan@712
   207
                  onkeypress="this.className='FieldButtonLink_active'; return true;"
ivan@712
   208
                  onkeyup="this.className='FieldButtonLink_focus'; return true;"
ivan@712
   209
                  onclick="openSearch(null, null, 'BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmSelector', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmSelector.inpBpartnerId_DES.value);return false;">
ivan@712
   210
                  <table class="FieldButton"
ivan@712
   211
                    onmousedown="this.className='FieldButton_active'; return true;"
ivan@712
   212
                    onmouseup="this.className='FieldButton'; return true;"
ivan@712
   213
                    onmouseover="this.className='FieldButton_hover'; window.status='Business Partner'; return true;"
ivan@712
   214
                    onmouseout="this.className='FieldButton'; window.status=''; return true;">
ivan@712
   215
                    <tr>
ivan@712
   216
                      <td class="FieldButton_bg">
ivan@712
   217
                        <img alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0"/>
ivan@712
   218
                      </td>
ivan@712
   219
                    </tr>
ivan@712
   220
                  </table>
ivan@712
   221
                </a>
ivan@712
   222
              </TD>
ivan@712
   223
            </TR>
ivan@712
   224
          </TABLE>
ivan@712
   225
        </TD>
ivan@712
   226
        <TD/>
ivan@712
   227
        <TD/>
ivan@712
   228
        <TD/>
ivan@712
   229
       </tr>
ivan@712
   230
       
ivan@712
   231
       <tr>
ivan@712
   232
          <TD class="TitleCell"><SPAN class="LabelText">From Date</SPAN></TD>
ivan@712
   233
					<TD colspan="2" class="TextBox_btn_ContentCell" id="paramDateFrom_inp_td"><DIV id="editDiscard"><DIV id="paramDateFrom_inp">
ivan@712
   234
					  <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
ivan@712
   235
					    <TR>
ivan@712
   236
					      <TD class="TextBox_ContentCell">
ivan@712
   237
					      <TABLE style="border:0px;border-collapse:collapse;">
ivan@712
   238
					
ivan@712
   239
					        <TR>
ivan@712
   240
					          <TD style="padding-top: 0px;">
ivan@712
   241
					            <INPUT type="text" id="paramDateFrom" class="dojoValidateValid TextBox_btn_OneCell_width" required="false" value="" maxlength="10" name="inpDateFrom" onkeyup="auto_complete_date(this);" onchange="validateDateTextBox(this.id);logChanges(this);return true;" displayformat="DD-MM-YYYY" saveformat="DD-MM-YYYY"></INPUT>
ivan@712
   242
					          </TD>
ivan@712
   243
					        </TR>
ivan@712
   244
					      </TABLE>
ivan@712
   245
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramDateFrominvalidSpan">
ivan@712
   246
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   247
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   248
					
ivan@712
   249
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   250
					      </TR>
ivan@712
   251
					      <TR>
ivan@712
   252
					        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="paramDateFrominvalidSpanText">* The value entered is not valid.</DIV></TD>
ivan@712
   253
					      </TR>
ivan@712
   254
					    </TABLE>
ivan@712
   255
					  </SPAN>
ivan@712
   256
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramDateFrommissingSpan">
ivan@712
   257
					
ivan@712
   258
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   259
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   260
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   261
					      </TR>
ivan@712
   262
					      <TR>
ivan@712
   263
					        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="paramDateFrommissingSpanText">* This value is required.</DIV></TD>
ivan@712
   264
					      </TR>
ivan@712
   265
					    </TABLE>
ivan@712
   266
					
ivan@712
   267
					  </SPAN>
ivan@712
   268
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramDateFromrangeSpan">
ivan@712
   269
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   270
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   271
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   272
					      </TR>
ivan@712
   273
					      <TR>
ivan@712
   274
					        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="paramDateFromrangeSpanText">* This value is out of range.</DIV></TD>
ivan@712
   275
					
ivan@712
   276
					      </TR>
ivan@712
   277
					    </TABLE>
ivan@712
   278
					  </SPAN>
ivan@712
   279
					      </TD>
ivan@712
   280
					      <TD class="FieldButton_ContentCell"><A class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Date of First Sale'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmSelector.inpDateFrom', document.frmSelector.inpDateFrom.value, false);return false;">
ivan@712
   281
					  <TABLE class="FieldButton" onmousedown="this.className='FieldButton_active'; return true;" onmouseup="this.className='FieldButton'; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Date of First Sale'; return true;" onmouseout="this.className='FieldButton'; window.status=''; return true;" id="paramDateFromlinkCalendar">
ivan@712
   282
					    <TR>
ivan@712
   283
					      <TD class="FieldButton_bg">
ivan@712
   284
					        <IMG alt="Date of First Sale" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Date of First Sale" src="../web/images/blank.gif" border="0" id="buttonCalendar"></IMG>
ivan@712
   285
					
ivan@712
   286
					      </TD>
ivan@712
   287
					    </TR>
ivan@712
   288
					  </TABLE>
ivan@712
   289
					</A>
ivan@712
   290
					</TD>
ivan@712
   291
					    </TR>
ivan@712
   292
					  </TABLE>
ivan@712
   293
					  
ivan@712
   294
					</DIV>
ivan@712
   295
					</DIV></TD>
ivan@712
   296
ivan@712
   297
            <TD class="TitleCell"><SPAN class="LabelText">To</SPAN></TD>
ivan@712
   298
ivan@712
   299
					<TD colspan="2" class="TextBox_btn_ContentCell" id="paramDateTo_inp_td"><DIV id="editDiscard"><DIV id="paramDateTo_inp">
ivan@712
   300
					  <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
ivan@712
   301
					    <TR>
ivan@712
   302
					      <TD class="TextBox_ContentCell">
ivan@712
   303
					      <TABLE style="border:0px;border-collapse:collapse;">
ivan@712
   304
					
ivan@712
   305
					        <TR>
ivan@712
   306
					          <TD style="padding-top: 0px;">
ivan@712
   307
					            <INPUT type="text" id="paramDateTo" class="dojoValidateValid TextBox_btn_OneCell_width" required="false" value="" maxlength="10" name="inpDateTo" onkeyup="auto_complete_date(this);" onchange="validateDateTextBox(this.id);logChanges(this);return true;" displayformat="DD-MM-YYYY" saveformat="DD-MM-YYYY"></INPUT>
ivan@712
   308
					          </TD>
ivan@712
   309
					        </TR>
ivan@712
   310
					      </TABLE>
ivan@712
   311
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramDateToinvalidSpan">
ivan@712
   312
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   313
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   314
					
ivan@712
   315
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   316
					      </TR>
ivan@712
   317
					      <TR>
ivan@712
   318
					        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="paramDateToinvalidSpanText">* The value entered is not valid.</DIV></TD>
ivan@712
   319
					      </TR>
ivan@712
   320
					    </TABLE>
ivan@712
   321
					  </SPAN>
ivan@712
   322
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramDateTomissingSpan">
ivan@712
   323
					
ivan@712
   324
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   325
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   326
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   327
					      </TR>
ivan@712
   328
					      <TR>
ivan@712
   329
					        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="paramDateTomissingSpanText">* This value is required.</DIV></TD>
ivan@712
   330
					      </TR>
ivan@712
   331
					    </TABLE>
ivan@712
   332
					
ivan@712
   333
					  </SPAN>
ivan@712
   334
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramDateTorangeSpan">
ivan@712
   335
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   336
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   337
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   338
					      </TR>
ivan@712
   339
					      <TR>
ivan@712
   340
					        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="paramDateTorangeSpanText">* This value is out of range.</DIV></TD>
ivan@712
   341
					
ivan@712
   342
					      </TR>
ivan@712
   343
					    </TABLE>
ivan@712
   344
					  </SPAN>
ivan@712
   345
					      </TD>
ivan@712
   346
					      <TD class="FieldButton_ContentCell"><A class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Date of First Sale'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmSelector.inpDateTo', document.frmSelector.inpDateTo.value, false);return false;">
ivan@712
   347
					  <TABLE class="FieldButton" onmousedown="this.className='FieldButton_active'; return true;" onmouseup="this.className='FieldButton'; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Date of First Sale'; return true;" onmouseout="this.className='FieldButton'; window.status=''; return true;" id="paramDateTolinkCalendar">
ivan@712
   348
					    <TR>
ivan@712
   349
					      <TD class="FieldButton_bg">
ivan@712
   350
					        <IMG alt="Date of First Sale" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Date of First Sale" src="../web/images/blank.gif" border="0" id="buttonCalendar"></IMG>
ivan@712
   351
					
ivan@712
   352
					      </TD>
ivan@712
   353
					    </TR>
ivan@712
   354
					  </TABLE>
ivan@712
   355
					</A>
ivan@712
   356
					</TD>
ivan@712
   357
					    </TR>
ivan@712
   358
					  </TABLE>
ivan@712
   359
					  
ivan@712
   360
					</DIV>
ivan@712
   361
					</DIV></TD>
ivan@712
   362
          </tr>
ivan@712
   363
          
ivan@712
   364
          <tr>
ivan@712
   365
           <TD class="TitleCell"><SPAN class="LabelText">Total Amount From</SPAN></TD>
ivan@712
   366
						<TD colspan="2" class="TextBox_btn_ContentCell" id="paramCal1_inp_td"><DIV id="editDiscard">
ivan@712
   367
						
ivan@712
   368
						<DIV id="paramCal1_inp">
ivan@712
   369
						  <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
ivan@712
   370
						    <TR>
ivan@712
   371
						      <TD class="TextBox_ContentCell">
ivan@712
   372
						      <TABLE style="border:0px;border-collapse:collapse;">
ivan@712
   373
						        <TR>
ivan@712
   374
						          <TD style="padding-top: 0px;">
ivan@712
   375
						            <INPUT type="text" id="paramCal1" class="dojoValidateValid TextBox_btn_OneCell_width number" required="false" value="" maxlength="10" name="inpCal1" onkeyup="" onchange="validateIntegerBox(this.id);logChanges(this);return true;"></INPUT>
ivan@712
   376
						          </TD>
ivan@712
   377
						
ivan@712
   378
						        </TR>
ivan@712
   379
						      </TABLE>
ivan@712
   380
						  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramCal1invalidSpan">
ivan@712
   381
						    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   382
						      <TR class="TextBox_MsgContainer_tr">
ivan@712
   383
						        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   384
						      </TR>
ivan@712
   385
						      <TR>
ivan@712
   386
						        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="paramCal1invalidSpanText">* The value entered is not valid.</DIV></TD>
ivan@712
   387
						
ivan@712
   388
						      </TR>
ivan@712
   389
						    </TABLE>
ivan@712
   390
						  </SPAN>
ivan@712
   391
						  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramCal1missingSpan">
ivan@712
   392
						    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   393
						      <TR class="TextBox_MsgContainer_tr">
ivan@712
   394
						        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   395
						      </TR>
ivan@712
   396
						      <TR>
ivan@712
   397
						
ivan@712
   398
						        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="paramCal1missingSpanText">* This value is required.</DIV></TD>
ivan@712
   399
						      </TR>
ivan@712
   400
						    </TABLE>
ivan@712
   401
						  </SPAN>
ivan@712
   402
						  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramCal1rangeSpan">
ivan@712
   403
						    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   404
						      <TR class="TextBox_MsgContainer_tr">
ivan@712
   405
						        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   406
						
ivan@712
   407
						      </TR>
ivan@712
   408
						      <TR>
ivan@712
   409
						        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="paramCal1rangeSpanText">* This value is out of range.</DIV></TD>
ivan@712
   410
						      </TR>
ivan@712
   411
						    </TABLE>
ivan@712
   412
						  </SPAN>
ivan@712
   413
						      </TD>
ivan@712
   414
						      <TD class="FieldButton_ContentCell"><A class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Share'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="calculator('frmSelector.inpCal1', document.frmSelector.inpCal1.value, false);return false;">
ivan@712
   415
						
ivan@712
   416
						  <TABLE class="FieldButton" onmousedown="this.className='FieldButton_active'; return true;" onmouseup="this.className='FieldButton'; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Share'; return true;" onmouseout="this.className='FieldButton'; window.status=''; return true;" id="paramCal1linkCalc">
ivan@712
   417
						    <TR>
ivan@712
   418
						      <TD class="FieldButton_bg">
ivan@712
   419
						        <IMG alt="Share" class="FieldButton_Icon FieldButton_Icon_Calc" title="Share" src="../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
ivan@712
   420
						      </TD>
ivan@712
   421
						    </TR>
ivan@712
   422
						  </TABLE>
ivan@712
   423
						</A>
ivan@712
   424
						</TD>
ivan@712
   425
						    </TR>
ivan@712
   426
						
ivan@712
   427
						  </TABLE>
ivan@712
   428
						</DIV>
ivan@712
   429
						
ivan@712
   430
						</DIV></TD>
ivan@712
   431
ivan@712
   432
            <TD class="TitleCell"><SPAN class="LabelText">To</SPAN></TD>
ivan@712
   433
 					<TD colspan="2" class="TextBox_btn_ContentCell" id="paramCal2_inp_td"><DIV id="editDiscard">
ivan@712
   434
					
ivan@712
   435
					<DIV id="paramCal2_inp">
ivan@712
   436
					  <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
ivan@712
   437
					    <TR>
ivan@712
   438
					      <TD class="TextBox_ContentCell">
ivan@712
   439
					      <TABLE style="border:0px;border-collapse:collapse;">
ivan@712
   440
					        <TR>
ivan@712
   441
					          <TD style="padding-top: 0px;">
ivan@712
   442
					            <INPUT type="text" id="paramCal2" class="dojoValidateValid TextBox_btn_OneCell_width number" required="false" value="" maxlength="10" name="inpCal2" onkeyup="" onchange="validateIntegerBox(this.id);logChanges(this);return true;"></INPUT>
ivan@712
   443
					          </TD>
ivan@712
   444
					
ivan@712
   445
					        </TR>
ivan@712
   446
					      </TABLE>
ivan@712
   447
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramCal2invalidSpan">
ivan@712
   448
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   449
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   450
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   451
					      </TR>
ivan@712
   452
					      <TR>
ivan@712
   453
					        <TD colspan="2" class="invalid"><DIV class="TextBox_MsgContainer_div2" id="paramCal2invalidSpanText">* The value entered is not valid.</DIV></TD>
ivan@712
   454
					
ivan@712
   455
					      </TR>
ivan@712
   456
					    </TABLE>
ivan@712
   457
					  </SPAN>
ivan@712
   458
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramCal2missingSpan">
ivan@712
   459
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   460
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   461
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   462
					      </TR>
ivan@712
   463
					      <TR>
ivan@712
   464
					
ivan@712
   465
					        <TD colspan="2" class="missing"><DIV class="TextBox_MsgContainer_div2" id="paramCal2missingSpanText">* This value is required.</DIV></TD>
ivan@712
   466
					      </TR>
ivan@712
   467
					    </TABLE>
ivan@712
   468
					  </SPAN>
ivan@712
   469
					  <SPAN class="TextBox_MsgContainer_span" style="display: none;" id="paramCal2rangeSpan">
ivan@712
   470
					    <TABLE class="TextBox_MsgContainer_table">
ivan@712
   471
					      <TR class="TextBox_MsgContainer_tr">
ivan@712
   472
					        <TD class="TextBox_MsgContainer_td"><DIV class="TextBox_MsgContainer_div"></DIV></TD><TD></TD>
ivan@712
   473
					
ivan@712
   474
					      </TR>
ivan@712
   475
					      <TR>
ivan@712
   476
					        <TD colspan="2" class="range"><DIV class="TextBox_MsgContainer_div2" id="paramCal2rangeSpanText">* This value is out of range.</DIV></TD>
ivan@712
   477
					      </TR>
ivan@712
   478
					    </TABLE>
ivan@712
   479
					  </SPAN>
ivan@712
   480
					      </TD>
ivan@712
   481
					      <TD class="FieldButton_ContentCell"><A class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Share'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="calculator('frmSelector.inpCal2', document.frmSelector.inpCal2.value, false);return false;">
ivan@712
   482
					
ivan@712
   483
					  <TABLE class="FieldButton" onmousedown="this.className='FieldButton_active'; return true;" onmouseup="this.className='FieldButton'; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Share'; return true;" onmouseout="this.className='FieldButton'; window.status=''; return true;" id="paramCal2linkCalc">
ivan@712
   484
					    <TR>
ivan@712
   485
					      <TD class="FieldButton_bg">
ivan@712
   486
					        <IMG alt="Share" class="FieldButton_Icon FieldButton_Icon_Calc" title="Share" src="../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
ivan@712
   487
					      </TD>
ivan@712
   488
					    </TR>
ivan@712
   489
					  </TABLE>
ivan@712
   490
					</A>
ivan@712
   491
					</TD>
ivan@712
   492
					    </TR>
ivan@712
   493
					
ivan@712
   494
					  </TABLE>
ivan@712
   495
					</DIV>
ivan@712
   496
					
ivan@712
   497
					</DIV></TD>
ivan@712
   498
          </tr>
ivan@712
   499
          <tr>
ivan@712
   500
            <TD class="TitleCell"><SPAN class="LabelText">Description</SPAN></TD>
ivan@712
   501
            <TD class="TextBox_ContentCell" colspan="2"> <INPUT class="dojoValidateValid TextBox_TwoCells_width" type="text" name="inpDescription" class="TextBox_btn_TwoCells_width"/></TD>
ivan@712
   502
            <td/>
ivan@712
   503
            <td/>
ivan@712
   504
            <td/>
ivan@712
   505
            <td/>
ivan@712
   506
            
ivan@712
   507
          </tr>
ivan@712
   508
ivan@712
   509
            <tr>
ivan@712
   510
              <td></td>
ivan@712
   511
              <td class="Button_LeftAlign_ContentCell">
ivan@712
   512
                <div>
ivan@712
   513
                  <a class="ButtonLink" href="#"
ivan@712
   514
                    onfocus="setWindowElementFocus(this); window.status='Search'; return true;"
ivan@712
   515
                    onblur="window.status=''; return true;"
ivan@712
   516
                    onkeypress="this.className='ButtonLink_active'; return true;"
ivan@712
   517
                    onkeyup="this.className='ButtonLink_focus'; return true;"
ivan@712
   518
                    onclick="setFilters();return false;"
ivan@712
   519
                    id="buttonSearch">
ivan@712
   520
                    <table class="Button"
ivan@712
   521
                      onmousedown="this.className='Button_active'; return true;"
ivan@712
   522
                      onmouseup="this.className='Button'; return true;"
ivan@712
   523
                      onmouseover="this.className='Button_hover'; window.status='Search'; return true;"
ivan@712
   524
                      onmouseout="this.className='Button'; window.status=''; return true;">
ivan@712
   525
                      <tr>
ivan@712
   526
                        <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
ivan@712
   527
                        <td class="Button_text Button_width">Search</td>
ivan@712
   528
                        <td class="Button_right"></td>
ivan@712
   529
                      </tr>
ivan@712
   530
                    </table>
ivan@712
   531
                  </a>
ivan@712
   532
                </div>
ivan@712
   533
              </td>
ivan@712
   534
              <td></td>
ivan@712
   535
              <td></td>
ivan@712
   536
              <td></td>
ivan@712
   537
              <td></td>
ivan@712
   538
            </tr>
ivan@712
   539
          </table>
ivan@712
   540
        </div>
ivan@712
   541
      </td>
ivan@712
   542
    </tr>
ivan@712
   543
ivan@712
   544
    <tr>
ivan@712
   545
      <td>
ivan@712
   546
        <div class="Popup_ContentPane_Client" style="overflow: hidden; height: 0px;" id="client_middle">
ivan@712
   547
          <table summary="" id="sectionDetail">
ivan@712
   548
            <tr>
ivan@712
   549
              <td>
ivan@712
   550
                <table cellspacing="0" cellpadding="0" width="10px" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;" id="grid_sample">
ivan@712
   551
                  <tr class="DataGrid_Body_Row" id="grid_sample_header">
ivan@712
   552
                    <th width="10px" class="DataGrid_Header_Cell">DataGrid</th>
ivan@712
   553
                  </tr>
ivan@712
   554
                  <tr class="DataGrid_Body_Row DataGrid_Body_Row_1" onclick="selectActual(this); loadData('BBAccountingUser', '1000012', '', '1'); return true;" id="grid_sample_row">
ivan@712
   555
                    <td class="DataGrid_Body_Cell">Loading...</td>
ivan@712
   556
                  </tr>
ivan@712
   557
                </table>
ivan@712
   558
                <table width="100%" cellspacing="0" cellpadding="0" border="0" class="Main_Client_TableRelation" id="grid_table">
ivan@712
   559
                  <tr>
ivan@712
   560
                    <td>
ivan@712
   561
                      <div id="grid" dojotype="openbravo:DataGrid"
ivan@712
   562
                        structureurl="../info/SalesOrder.html?Command=STRUCTURE"
ivan@712
   563
                        dataurl="../info/SalesOrder.html?Command=DATA"
ivan@712
   564
                        updatesurl="../info/SalesOrder.html?Command=DATA"
ivan@712
   565
                        calculatenumrows="true" editable="false" sortable="true"
ivan@712
   566
                        deleteable="true" oninvalidvalue="alert" onscroll="updateHeader"
ivan@712
   567
                        ongridload="onGridLoadDo" buffersize="3.0" showlinenumbers="true"
ivan@712
   568
                        offset="0" sortcols="1" sortdirs="ASC" defaultrow="0"
ivan@712
   569
                        maxwidth="99%" percentagewidthrelativetoid="client_middle"
ivan@712
   570
                        multipleRowSelection="false"
ivan@712
   571
                        preventcache="true" usecache="true" cachecontent="false">
ivan@712
   572
                      </div>
ivan@712
   573
                      <script>djConfig.searchIds.push("grid");</script>
ivan@712
   574
                    </td>
ivan@712
   575
                  </tr>
ivan@712
   576
                </table>
ivan@712
   577
              </td>
ivan@712
   578
            </tr>
ivan@712
   579
          </table>
ivan@712
   580
        </div>
ivan@712
   581
      </td>
ivan@712
   582
    </tr>
ivan@712
   583
    <tr>
ivan@712
   584
      <td>
ivan@712
   585
        <div class="Popup_ContentPane_Client" style="overflow: auto; height:50px;" id="client_bottom">
ivan@712
   586
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
ivan@712
   587
ivan@712
   588
            <tr>
ivan@712
   589
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   590
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   591
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   592
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   593
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   594
              <td class="TableEdition_OneCell_width"></td>
ivan@712
   595
            </tr>
ivan@712
   596
            <tr>
ivan@712
   597
              <td></td>
ivan@712
   598
              <td></td>
ivan@712
   599
              <td class="Button_RightAlign_ContentCell">
ivan@712
   600
                <div>
ivan@712
   601
                  <a class="ButtonLink" href="#"
ivan@712
   602
                    onfocus="setWindowElementFocus(this); window.status='OK'; return true;"
ivan@712
   603
                    onblur="window.status=''; return true;"
ivan@712
   604
                    onkeypress="this.className='ButtonLink_active'; return true;"
ivan@712
   605
                    onkeyup="this.className='ButtonLink_focus'; return true;"
ivan@712
   606
                    onclick="depurarSelector('SAVE');return false;"
ivan@712
   607
                    id="buttonOK">
ivan@712
   608
                    <table class="Button"
ivan@712
   609
                      onmousedown="this.className='Button_active'; return true;"
ivan@712
   610
                      onmouseup="this.className='Button'; return true;"
ivan@712
   611
                      onmouseover="this.className='Button_hover'; window.status='OK'; return true;"
ivan@712
   612
                      onmouseout="this.className='Button'; window.status=''; return true;">
ivan@712
   613
                      <tr>
ivan@712
   614
                        <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="OK" title="OK" src="../../../../../web/images/blank.gif" border=0/></td>
ivan@712
   615
                        <td class="Button_text Button_width">OK</td>
ivan@712
   616
                        <td class="Button_right"></td>
ivan@712
   617
                      </tr>
ivan@712
   618
                    </table>
ivan@712
   619
                  </a>
ivan@712
   620
                </div>
ivan@712
   621
              </td>
ivan@712
   622
              <td class="Button_LeftAlign_ContentCell">
ivan@712
   623
                <div>
ivan@712
   624
                  <a class="ButtonLink" href="#"
ivan@712
   625
                    onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;"
ivan@712
   626
                    onblur="window.status=''; return true;"
ivan@712
   627
                    onkeypress="this.className='ButtonLink_active'; return true;"
ivan@712
   628
                    onkeyup="this.className='ButtonLink_focus'; return true;"
ivan@712
   629
                    onclick="depurarSelector('CLEAR');return false;">
ivan@712
   630
                    <table class="Button"
ivan@712
   631
                      onmousedown="this.className='Button_active'; return true;"
ivan@712
   632
                      onmouseup="this.className='Button'; return true;"
ivan@712
   633
                      onmouseover="this.className='Button_hover'; window.status='Cancel'; return true;"
ivan@712
   634
                      onmouseout="this.className='Button'; window.status=''; return true;">
ivan@712
   635
                      <tr>
ivan@712
   636
                        <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
ivan@712
   637
                        <td class="Button_text Button_width">Cancel</td>
ivan@712
   638
                        <td class="Button_right"></td>
ivan@712
   639
                      </tr>
ivan@712
   640
                    </table>
ivan@712
   641
                  </a>
ivan@712
   642
                </div>
ivan@712
   643
              </td>
ivan@712
   644
              <td></td>
ivan@712
   645
              <td></td>
ivan@712
   646
            </tr>
ivan@712
   647
          </table>
ivan@712
   648
        </div>
ivan@712
   649
      </td>
ivan@712
   650
    </tr>
ivan@712
   651
  </table>
ivan@712
   652
</form>
ivan@712
   653
</body>
ivan@712
   654
</html>