src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.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
carlos@0
     1
<!--
carlos@0
     2
 *************************************************************************
carlos@0
     3
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     6
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     7
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    10
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    11
 * under the License. 
carlos@0
    12
 * The Original Code is Openbravo ERP. 
carlos@0
    13
 * The Initial Developer of the Original Code is Openbravo SL 
rafael@597
    14
 * All portions are Copyright (C) 2001-2008 Openbravo SL 
carlos@0
    15
 * All Rights Reserved. 
carlos@0
    16
 * Contributor(s):  ______________________________________.
carlos@0
    17
 ************************************************************************
carlos@0
    18
-->
carlos@0
    19
<html xmlns="http://www.w3.org/1999/xhtml">
carlos@0
    20
<HTML>
carlos@0
    21
<HEAD>
carlos@0
    22
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
rafael@597
    23
  <TITLE>Expense Sales Order Process</TITLE>
carlos@0
    24
  <LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon"/>
carlos@0
    25
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"/>
carlos@0
    26
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Manual.css" id="paramCSS"/>
carlos@0
    27
<script language="JavaScript" type="text/javascript" id="paramDirection">
carlos@0
    28
var baseDirection = "../../../../../web/";
carlos@0
    29
</script>
carlos@0
    30
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
carlos@0
    31
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    32
<script language="JavaScript" type="text/javascript" id="paramLanguage">
carlos@0
    33
  var LNG_POR_DEFECTO = "en_US";
carlos@0
    34
</script>
asier@528
    35
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
asier@528
    36
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    37
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    38
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
carlos@0
    39
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
carlos@0
    40
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
carlos@0
    41
<script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
carlos@0
    42
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
carlos@0
    43
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
carlos@0
    44
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
carlos@0
    45
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    46
<script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    47
<script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
asier@528
    48
 <script type="text/javascript"> 
carlos@0
    49
      //all dojo.require above this line
carlos@0
    50
      dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    51
</script> 
carlos@0
    52
  <SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    53
  function closeThisPage() {
carlos@0
    54
    window.close();
carlos@0
    55
    return true;
carlos@0
    56
  }
carlos@0
    57
carlos@0
    58
  function submitThisPage(strCommand) {
carlos@0
    59
    submitCommandForm(strCommand, false, null, null, '_self');
carlos@0
    60
    return true;
carlos@0
    61
  }
carlos@0
    62
  </SCRIPT>
rafael@597
    63
  <SCRIPT language="JavaScript" type="text/javascript">
rafael@597
    64
function enableLocalShortcuts() {
gorka@938
    65
	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_D', document.frmMain.inpcBpartnerId_D.value, 'Command', 'KEY', 'inpisSOTrxTab', 'Y');", "inpcBpartnerId_D", "null");
rafael@597
    66
}
rafael@597
    67
function depurar() {
rafael@597
    68
	var frm = document.frmMain;
rafael@597
    69
	if (frm.inpDateFrom.value!=null && frm.inpDateFrom.value!="" && !isValidDate(frm.inpDateFrom.value, frm.inpDateFrom.displayFormat)) {
gorka@1028
    70
			setWindowElementFocus(frm.inpDateFrom);
rafael@597
    71
			frm.inpDateFrom.select();
rafael@597
    72
			mensaje(5);
rafael@597
    73
			return false;
rafael@597
    74
	} else if (frm.inpDateTo.value!=null && frm.inpDateTo.value!="" && !isValidDate(frm.inpDateTo.value, frm.inpDateTo.displayFormat)) {
gorka@1028
    75
			setWindowElementFocus(frm.inpDateTo);
rafael@597
    76
			frm.inpDateTo.select();
rafael@597
    77
			mensaje(5);
rafael@597
    78
			return false;
rafael@597
    79
	} else if (frm.inpDateordered.value!=null && frm.inpDateordered.value!="" && !isValidDate(frm.inpDateordered.value, frm.inpDateordered.displayFormat)) {
gorka@1028
    80
			setWindowElementFocus(frm.inpDateordered);
rafael@597
    81
			frm.inpDateordered.select();
rafael@597
    82
			mensaje(5);
rafael@597
    83
			return false;
rafael@597
    84
	}
rafael@597
    85
  	if ((frm.inpDateordered.value == null || frm.inpDateordered.value == "")) {
rafael@597
    86
    	frm.inpDateordered.focus();
rafael@597
    87
		frm.inpDateordered.select();
rafael@597
    88
		mensaje(1);
rafael@597
    89
		return false;
rafael@597
    90
	}
rafael@597
    91
	return true;
rafael@597
    92
}
rafael@597
    93
rafael@597
    94
</SCRIPT>
asier@528
    95
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    96
	function onLoadDo(){
asier@528
    97
		this.windowTables = new Array(
gorka@938
    98
		  new windowTableId('client', null, 'buttonProcess')
asier@528
    99
		);
asier@528
   100
		setWindowTableParentElement();
asier@528
   101
		this.tabsTables = new Array(
asier@528
   102
		  new tabTableId('tdtopTabs')
asier@528
   103
		);
asier@528
   104
		setTabTableParentElement();
asier@528
   105
		enableShortcuts('edition');
asier@528
   106
		
gorka@938
   107
		enableLocalShortcuts();
asier@528
   108
		resizeArea();
asier@528
   109
asier@528
   110
		setWindowElementFocus('firstElement');
asier@528
   111
	}
asier@528
   112
asier@528
   113
	function onResizeDo(){
asier@528
   114
		resizeArea();
asier@528
   115
	}
asier@528
   116
	</SCRIPT>
carlos@0
   117
</HEAD>
carlos@0
   118
asier@528
   119
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
   120
<FORM id="form" method="POST" action="ExpenseSOrder.html" name="frmMain">
carlos@0
   121
  <INPUT type="hidden" name="Command">
carlos@0
   122
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
   123
  <INPUT type="hidden" name="inpLastFieldChanged"></INPUT>
carlos@0
   124
  <INPUT type="hidden" name="inpKey" value="" id="paramKey"></INPUT>
carlos@0
   125
  <INPUT type="hidden" name="inpwindowId" value="" id="window"></INPUT>
carlos@0
   126
  <INPUT type="hidden" name="inpTabId" value="" id="tab"></INPUT>
carlos@0
   127
carlos@0
   128
<table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
carlos@0
   129
    <tr>
carlos@0
   130
      <td valign="top" id="tdleftTabs"></td>
carlos@0
   131
      <td valign="top">
carlos@0
   132
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
carlos@0
   133
          <TR><TD class="Main_NavBar_bg_left" id="tdleftSeparator"></TD></TR>
carlos@0
   134
          <TR><TD class="Main_ToolBar_bg_left" valign="top"></TD></TR>
carlos@0
   135
          <TR><TD class="Main_Client_bg_left"></TD></TR>
carlos@0
   136
          <TR><TD class="Main_Bottom_bg_left"></TD></TR>
carlos@0
   137
        </TABLE>
carlos@0
   138
      </td>
carlos@0
   139
      <td valign="top">
carlos@0
   140
        <div class="Main_ContentPane_NavBar" id="tdtopButtons"></div>
carlos@0
   141
        <div class="Main_ContentPane_ToolBar" id="paramToolBar"></div>
carlos@0
   142
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
carlos@0
   143
          <TR id="paramParentTabContainer"></TR>
carlos@0
   144
          <TR id="paramMainTabContainer"></TR>
carlos@0
   145
          <TR id="paramChildTabContainer"></TR>
carlos@0
   146
        </TABLE>
carlos@0
   147
        <DIV class="Main_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   148
                <table class="dojoTabContainer" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
carlos@0
   149
                  <tr>
carlos@0
   150
                    <td>
carlos@0
   151
                      <table class="dojoTabPaneWrapper" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
carlos@0
   152
                        <tr>
carlos@0
   153
                          <td>
carlos@0
   154
                            <!-- MessageBox -->
carlos@0
   155
carlos@0
   156
                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
carlos@0
   157
                              <TBODY>
carlos@0
   158
                              <tr class="MessageBox_TopMargin">
carlos@0
   159
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   160
                                <td></td>
carlos@0
   161
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   162
                              </tr>
carlos@0
   163
                              <tr>
carlos@0
   164
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   165
                                <td>
carlos@0
   166
carlos@0
   167
                                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
carlos@0
   168
                                    <TBODY>
carlos@0
   169
                                    <tr>
carlos@0
   170
                                      <td>
carlos@0
   171
                                        <div class="MessageBox_TopLeft"></div>
carlos@0
   172
                                        <div class="MessageBox_Left"></div>
carlos@0
   173
                                      </td>
carlos@0
   174
                                      <td class="MessageBox_bg">
carlos@0
   175
carlos@0
   176
                                        <table class="MessageBox_Top">
carlos@0
   177
                                        <TBODY>
carlos@0
   178
                                          <tr>
carlos@0
   179
                                            <td>
carlos@0
   180
                                              <span>
carlos@0
   181
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
carlos@0
   182
                                                <TBODY>
carlos@0
   183
                                                <tr>
carlos@0
   184
                                                  <td class="MessageBox_Icon_ContentCell">
carlos@0
   185
                                                    <div class="MessageBox_Icon"></div>
carlos@0
   186
                                                  </td>
carlos@0
   187
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
carlos@0
   188
                                                    <span>
carlos@0
   189
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
carlos@0
   190
                                                        xxInfo: AccessTableWithNoView
carlos@0
   191
                                                      </div>
carlos@0
   192
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
carlos@0
   193
                                                        xxThe current information is empty.
carlos@0
   194
                                                      </div>
carlos@0
   195
                                                      <div class="MessageBox_TextSeparator"></div>
carlos@0
   196
                                                    </span>
carlos@0
   197
                                                  </td>
carlos@0
   198
                                                </tr>
carlos@0
   199
                                                </TBODY>
carlos@0
   200
                                              </table>
carlos@0
   201
                                              </span>
carlos@0
   202
                                            </td>
carlos@0
   203
                                          </tr>
carlos@0
   204
                                          </TBODY>
carlos@0
   205
                                        </table>
carlos@0
   206
carlos@0
   207
                                      </td>
carlos@0
   208
                                      <td class="MessageBox_RightTrans">
carlos@0
   209
                                        <div class="MessageBox_TopRight"></div>
carlos@0
   210
                                        <div class="MessageBox_Right"></div>
carlos@0
   211
                                      </td>
carlos@0
   212
                                    </tr>
carlos@0
   213
                                    <tr>
carlos@0
   214
                                      <td rowspan="2" class="MessageBox_BottomLeft">
carlos@0
   215
                                      </td>
carlos@0
   216
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
carlos@0
   217
                                      </td>
carlos@0
   218
                                      <td rowspan="2" class="MessageBox_BottomRight">
carlos@0
   219
                                      </td>
carlos@0
   220
                                    </tr>
carlos@0
   221
                                    <tr>
carlos@0
   222
                                      <td class="MessageBox_Bottom">
carlos@0
   223
                                      </td>
carlos@0
   224
                                    </tr>
carlos@0
   225
                                    </TBODY>
carlos@0
   226
                                  </table>
carlos@0
   227
carlos@0
   228
                                </td>
carlos@0
   229
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   230
                              </tr>
carlos@0
   231
                              <tr class="MessageBox_BottomMargin">
carlos@0
   232
                                <td class="MessageBox_LeftMargin"></td>
carlos@0
   233
                                <td></td>
carlos@0
   234
                                <td class="MessageBox_RightMargin"></td>
carlos@0
   235
                              </tr>
carlos@0
   236
                              </TBODY>
rafael@597
   237
                            </table> 
rafael@597
   238
                             <!-- End MessageBox -->
rafael@597
   239
                                        
rafael@597
   240
              <!-- USER CONTROLS -->
carlos@0
   241
              <TABLE class="Main_Client_TableEdition">
carlos@0
   242
                <tr>
carlos@0
   243
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   244
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   245
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   246
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   247
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   248
                  <td class="TableEdition_OneCell_width"></td>
carlos@0
   249
                </tr>
rafael@597
   250
                
rafael@597
   251
                <tr>
rafael@597
   252
    			  <td colspan="6">
rafael@597
   253
                    <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_InfoBar">
rafael@597
   254
                      <tr>
rafael@597
   255
                        <td class="Popup_InfoBar_Icon_cell"><IMG src="../../../../../web/images/blank.gif" border="0" class="Popup_InfoBar_Icon_info" /></td>
rafael@597
   256
                        <td class="Popup_InfoBar_text_table">
rafael@597
   257
                          <table>
rafael@597
   258
                            <tr>
rafael@597
   259
                             <td class="Popup_InfoBar_text" id="helpDiscard"><SPAN id="paramDescription">&nbsp;</SPAN></td>
rafael@597
   260
                            </tr>
rafael@597
   261
                          </table>
rafael@597
   262
                        </td>
rafael@597
   263
                      </tr>
rafael@597
   264
                    </table>
rafael@597
   265
                  </td>
rafael@597
   266
                </tr>
rafael@597
   267
                <tr>
rafael@597
   268
                  <td colspan="6" height="15px"></td>
rafael@597
   269
                </tr>
rafael@597
   270
                
carlos@0
   271
                <TR>
rafael@597
   272
                  <TD class="TitleCell"><SPAN class="LabelText">Customer</SPAN></TD>
carlos@0
   273
                  <TD class="TextBox_btn_ContentCell" colspan="2">
carlos@0
   274
                    <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   275
                      <TR>
carlos@0
   276
                        <TD class="TextBox_ContentCell">
carlos@0
   277
                          <INPUT type="hidden" name="inpcBpartnerId" value="" id="paramBpartnerId"></INPUT> 
carlos@0
   278
                          <INPUT class="dojoValidateValid TextBox_btn_TwoCells_width" type="text"  name="inpcBpartnerId_D" maxlength="20" value="" id="paramBPartnerdescription"></INPUT>
carlos@0
   279
                        </TD>
carlos@0
   280
                        <TD class="FieldButton_ContentCell">
gorka@938
   281
                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;"  onclick="openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_D', document.frmMain.inpcBpartnerId_D.value, 'inpisSOTrxTab', 'Y');return false;">
carlos@0
   282
                          <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;">
carlos@0
   283
                            <TR>
carlos@0
   284
                              <TD class="FieldButton_bg">
carlos@0
   285
                                <IMG alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0"></IMG>
carlos@0
   286
                              </TD>
carlos@0
   287
                            </TR>
carlos@0
   288
                          </TABLE>
carlos@0
   289
                          </a>
carlos@0
   290
                        </TD>
carlos@0
   291
                      </TR>
carlos@0
   292
                    </TABLE>
carlos@0
   293
                  </TD>
asier@528
   294
                  <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
carlos@0
   295
                  <TD class="Combo_ContentCell" colspan="2"> <select name="organization" id="organization" class="Combo Combo_TwoCells_width">
carlos@0
   296
                  <OPTION value=""></OPTION><DIV id="sectionOrganizacion">
carlos@0
   297
                  <OPTION value="es" id="fieldClaveOrganizacion">Organization1</OPTION></TD>
carlos@0
   298
                </TR>
carlos@0
   299
carlos@0
   300
                <TR>
carlos@0
   301
                  <TD class="TitleCell"><SPAN class="LabelText">From Date</SPAN></TD>
carlos@0
   302
                  <TD class="TextBox_btn_ContentCell">
carlos@0
   303
                    <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   304
                      <TR>
carlos@0
   305
                        <TD class="TextBox_ContentCell">
gorka@946
   306
                          <INPUT dojoType="openbravo:DateTextbox" lowerthan="paramDateTo" displayFormat="xx" saveFormat="yy"  class="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>
carlos@0
   307
                        </TD>
carlos@0
   308
                        <TD class="FieldButton_ContentCell">
asier@528
   309
                          <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.inpDateFrom', document.frmMain.inpDateFrom.value, false);return false;">
carlos@0
   310
                          <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
carlos@0
   311
                            <TR>
carlos@0
   312
                              <TD class="FieldButton_bg">
carlos@0
   313
                                <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
carlos@0
   314
                              </TD>
carlos@0
   315
                            </TR>
carlos@0
   316
                          </TABLE>
carlos@0
   317
                          </a>
carlos@0
   318
                        </TD>
carlos@0
   319
                      </TR>
carlos@0
   320
                    </TABLE>
carlos@0
   321
                  </TD>
carlos@0
   322
                  <TD class="TitleCell"></TD>
asier@528
   323
                  <TD class="TitleCell"><SPAN class="LabelText">To Date</SPAN></TD>
carlos@0
   324
                  <TD class="TextBox_btn_ContentCell">
carlos@0
   325
                    <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   326
                      <TR>
carlos@0
   327
                        <TD class="TextBox_ContentCell">
gorka@946
   328
                          <INPUT dojoType="openbravo:DateTextbox" greaterthan="paramDateFrom" displayFormat="xx" saveFormat="yy"  class="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>
carlos@0
   329
                        </TD>
carlos@0
   330
                        <TD class="FieldButton_ContentCell">
asier@528
   331
                          <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;">
carlos@0
   332
                          <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
carlos@0
   333
                            <TR>
carlos@0
   334
                              <TD class="FieldButton_bg">
carlos@0
   335
                                <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
carlos@0
   336
                              </TD>
carlos@0
   337
                            </TR>
carlos@0
   338
                          </TABLE>
carlos@0
   339
                          </a>
carlos@0
   340
                        </TD>
carlos@0
   341
                      </TR>
carlos@0
   342
                    </TABLE>
carlos@0
   343
                  </TD>
carlos@0
   344
                  <TD class="ContentCell"></TD>
rafael@597
   345
                  <TD class="ContentCell"></TD>
carlos@0
   346
                </TR>
rafael@597
   347
                
rafael@597
   348
                <TR>
rafael@597
   349
                  <TD class="TitleCell"><SPAN class="LabelText">Date Ordered</SPAN></TD>
rafael@597
   350
              	  <TD class="TextBox_btn_ContentCell">  
rafael@597
   351
                    <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
rafael@597
   352
                      <TR>
rafael@597
   353
                        <TD class="TextBox_ContentCell">
rafael@597
   354
                          <INPUT dojotype="openbravo:DateTextbox" displayformat="xx" saveformat="yy" class="TextBox_btn_OneCell_width required" required="true"  type="text" name="inpDateordered" id="paramDateordered" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("paramDateordered");</SCRIPT>
rafael@597
   355
                        </TD>
rafael@597
   356
                        <TD class="FieldButton_ContentCell">
rafael@597
   357
                          <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.inpDateordered', document.frmMain.inpDateordered.value, false);return false;" >
rafael@597
   358
                          <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;">
rafael@597
   359
                          <TR>  
rafael@597
   360
                           <TD class="FieldButton_bg">
rafael@597
   361
                             <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
rafael@597
   362
                           </TD>
rafael@597
   363
                          </TR>
rafael@597
   364
                          </TABLE>
rafael@597
   365
                          </a>
rafael@597
   366
                        </TD>
rafael@597
   367
                      </TR>
rafael@597
   368
                    </TABLE>
rafael@597
   369
                  </TD>
rafael@597
   370
                  <TD class="TitleCell"></TD>
rafael@619
   371
                  <TD class="TitleCell" colspan="2"><span class="LabelText">Complete and Process Sales Orders automatically</span></TD>
rafael@619
   372
                  <td class="Radio_Check_ContentCell"> <input type="checkbox" value="Y" checked="checked" id="paramShowNullComplete" name="inpShowNullComplete"></input></td>
rafael@597
   373
                </TR>
rafael@597
   374
                
rafael@597
   375
                 <tr>
rafael@597
   376
            <td colspan="6" height="5px"></td>
rafael@597
   377
          </tr>
rafael@597
   378
          
rafael@597
   379
          <tr>
rafael@597
   380
            <td class="TitleCell"></td>
rafael@597
   381
            <td class="ContentCell" colspan="2"><SPAN class="LabelText" id="question">&nbsp;</SPAN></td>
rafael@597
   382
            <td class="ContentCell"></td>
rafael@597
   383
            <td class="TitleCell"></td>
rafael@597
   384
            <td class="ContentCell"></td>
rafael@597
   385
          </tr>
rafael@597
   386
                
rafael@597
   387
          <tr>
rafael@597
   388
            <td colspan="6" height="5px"></td>
rafael@597
   389
          </tr>
rafael@597
   390
                
rafael@597
   391
          <tr>
rafael@597
   392
            <td class="TitleCell"></td>
rafael@597
   393
            <td class="Button_RightAlign_ContentCell">
rafael@597
   394
              <div>
gorka@938
   395
                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('SAVE', true);return false;" id="buttonProcess">
rafael@597
   396
                <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Accept';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
rafael@597
   397
                  <tr>
rafael@597
   398
                    <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
rafael@597
   399
                    <td class="Button_text Button_width">Process</td>
rafael@597
   400
                    <td class="Button_right"></td>
rafael@597
   401
                  </tr>
rafael@597
   402
                </table>
rafael@597
   403
                </a>
rafael@597
   404
              </div>
rafael@597
   405
            </td>
rafael@597
   406
            <td class="Button_LeftAlign_ContentCell"></td>
rafael@597
   407
            <td class="ContentCell"></td>
rafael@597
   408
            <td class="TitleCell"></td>
rafael@597
   409
            <td class="ContentCell"></td>
rafael@597
   410
          </tr>
rafael@597
   411
                 
rafael@597
   412
              </TABLE>              
rafael@597
   413
               <!-- End USER CONTROLS -->
rafael@597
   414
                     
carlos@0
   415
                </TD>
carlos@0
   416
              </TR>
carlos@0
   417
              </TABLE>
carlos@0
   418
              </TD>
carlos@0
   419
            </TR>
rafael@597
   420
          </TABLE>     
rafael@597
   421
        
carlos@0
   422
        </div>
carlos@0
   423
            
carlos@0
   424
carlos@0
   425
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
carlos@0
   426
          <TR>
carlos@0
   427
            <TD class="Main_Bottom_bg"><IMG src="../../../../../web/images/blank.gif" border="0"></TD>
carlos@0
   428
          </TR>
carlos@0
   429
        </TABLE></td>
carlos@0
   430
      <td valign="top">
carlos@0
   431
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
carlos@0
   432
          <TR><TD class="Main_NavBar_bg_right"></TD></TR>
carlos@0
   433
          <TR><TD class="Main_ToolBar_bg_right" valign="top"></TD></TR>
carlos@0
   434
          <TR><TD class="Main_Client_bg_right"></TD></TR>
carlos@0
   435
          <TR><TD class="Main_Bottom_bg_right"></TD></TR>
carlos@0
   436
        </TABLE>
carlos@0
   437
      </td>
carlos@0
   438
    </tr>
carlos@0
   439
  </table>
carlos@0
   440
carlos@0
   441
carlos@0
   442
carlos@0
   443
carlos@0
   444
carlos@0
   445
carlos@0
   446
carlos@0
   447
carlos@0
   448
carlos@0
   449
carlos@0
   450
carlos@0
   451
  </form>
carlos@0
   452
carlos@0
   453
</body>
carlos@0
   454
</html>