src/org/openbravo/erpCommon/info/SalesOrder_F1.html
changeset 712 aa0c40278c5a
parent 711 4e8209a9d749
child 713 3471a641f6d1
equal deleted inserted replaced
711:4e8209a9d749 712:aa0c40278c5a
     1 <!--
       
     2  *************************************************************************
       
     3  * The contents of this file are subject to the Openbravo  Public  License
       
     4  * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
       
     5  * Version 1.1  with a permitted attribution clause; you may not  use this
       
     6  * file except in compliance with the License. You  may  obtain  a copy of
       
     7  * the License at http://www.openbravo.com/legal/license.html 
       
     8  * Software distributed under the License  is  distributed  on  an "AS IS"
       
     9  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
       
    10  * License for the specific  language  governing  rights  and  limitations
       
    11  * under the License. 
       
    12  * The Original Code is Openbravo ERP. 
       
    13  * The Initial Developer of the Original Code is Openbravo SL 
       
    14  * All portions are Copyright (C) 2001-2007 Openbravo SL 
       
    15  * All Rights Reserved. 
       
    16  * Contributor(s):  ______________________________________.
       
    17  ************************************************************************
       
    18 -->
       
    19 <HTML>
       
    20 <HEAD>
       
    21 <TITLE>Order selector</TITLE>
       
    22 <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
       
    23 
       
    24       <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
       
    25       <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
       
    26       <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
       
    27       <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
       
    28       <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       
    29       <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
       
    30       <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
       
    31       <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
       
    32       <SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
       
    33       <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
       
    34       <SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
       
    35 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
       
    36 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
       
    37 <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
       
    38 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
       
    39 <SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
       
    40       <script type="text/javascript">
       
    41         dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
       
    42       </script>
       
    43 <SCRIPT language="JavaScript" type="text/javascript">
       
    44 
       
    45 function onloadFunctions() {
       
    46 	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, 'BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmOrder', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmOrder.inpBpartnerId_DES.value, 'Command', 'KEY');", "inpBpartnerId_DES", "null");
       
    47 	keyArray[keyArray.length] = new keyArrayItem("B", "submitCommandForm('FIND', false, null, null, 'medio');", null, "ctrlKey");
       
    48 }
       
    49 
       
    50 </SCRIPT>
       
    51 	<SCRIPT language="JavaScript" type="text/javascript">
       
    52 	function onLoadDo(){
       
    53 		this.windowTables = new Array(
       
    54 		  new windowTableId('client', 'superior', 'buttonSearch', 'superior'),
       
    55 		  new windowTableId('client', 'medio', 'buttonOK', 'inferior'),
       
    56 		  new windowTableId('client', 'inferior', 'buttonOK', 'inferior')
       
    57 		);
       
    58 		setWindowTableParentElement();
       
    59 		enableShortcuts('popup');		
       
    60 		
       
    61 		try {
       
    62 		  onloadFunctions();
       
    63 		} catch (e) {}
       
    64 		
       
    65 		setWindowElementFocus('firstElement');
       
    66 	}
       
    67 
       
    68 	function onResizeDo(){
       
    69 	}
       
    70 	</SCRIPT>
       
    71 </HEAD>
       
    72 <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
       
    73 
       
    74 
       
    75 
       
    76 
       
    77 <FORM name="frmOrder" method="POST" action="SalesOrder_F1.html" target="medio">
       
    78   <INPUT type="hidden" name="Command">
       
    79 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
       
    80   
       
    81   
       
    82   
       
    83    <div class="Popup_ContentPane_CircleLogo">
       
    84   <div class="Popup_WindowLogo">
       
    85     <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_salesOrder" src="../../../../../web/images/blank.gif" border=0/></img>
       
    86   </div>
       
    87 </div>
       
    88 
       
    89 <table cellspacing="0" cellpadding="0" width="100%">
       
    90 
       
    91   <tr>
       
    92     <td>
       
    93       <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
       
    94         <tr class="Popup_NavBar_bg"><td></td>
       
    95           <td class="Popup_NavBar_separator_cell"></td>
       
    96           <td class="Popup_NavBar_bg_logo_left"></td>
       
    97           <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>
       
    98           <td class="Popup_NavBar_bg_logo_right"></td>
       
    99           <td class="Popup_NavBar_Popup_title_cell"><span>Order Selector</span></a></td>
       
   100           <td class="Popup_NavBar_separator_cell"></td>
       
   101         </tr>
       
   102       </table>
       
   103     </td>
       
   104   </tr>
       
   105 
       
   106   <tr>
       
   107     <td>
       
   108       <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
       
   109         <tr>
       
   110           <td class="Popup_SeparatorBar_bg"></td>
       
   111         </tr>
       
   112       </table>
       
   113     </td>
       
   114   </tr>
       
   115   
       
   116    <tr>
       
   117     <td>
       
   118       <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
       
   119         <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
       
   120 
       
   121           <tr>
       
   122             <td class="TableEdition_OneCell_width"></td>
       
   123             <td class="TableEdition_OneCell_width"></td>
       
   124             <td class="TableEdition_OneCell_width"></td>
       
   125             <td class="TableEdition_OneCell_width"></td>
       
   126             <td class="TableEdition_OneCell_width"></td>
       
   127             <td class="TableEdition_OneCell_width"></td>
       
   128           </tr>
       
   129 
       
   130           <TR>
       
   131           <TD colspan="6">
       
   132             <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
       
   133               <TR class="FieldGroup_TopMargin"></TR>
       
   134               <TR>
       
   135                 <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
       
   136                 <TD class="FieldGroupTitle">Primary Filters</TD>
       
   137                 <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
       
   138                 <TD class="FieldGroupContent"></TD>
       
   139 
       
   140               </TR>
       
   141               <TR class="FieldGroup_BottomMargin"></TR>
       
   142             </TABLE>
       
   143           </TD>
       
   144           </TR>
       
   145          
       
   146        </tr>
       
   147        
       
   148        <tr>
       
   149          <TD class="TitleCell"><SPAN class="LabelText">Doc No.</SPAN></TD>
       
   150          <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpKey" value="" id="fieldKey"/></TD>
       
   151          
       
   152          <td></td>
       
   153 
       
   154          
       
   155          <TD class="TitleCell"><SPAN class="LabelText">Reference Order</SPAN></TD>
       
   156          <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" name="inpOrder" type="text"/></TD>
       
   157          <td></td>
       
   158          
       
   159        </tr>
       
   160        <tr>
       
   161         <TD class="TitleCell"><SPAN class="LabelText">Business Partner</SPAN></TD>
       
   162         <TD class="TextBox_btn_ContentCell" colspan="2">
       
   163 
       
   164           <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
       
   165             <TR>
       
   166               <TD class="TextBox_ContentCell">
       
   167                 <INPUT type="hidden" name="inpBpartnerId">
       
   168                 <INPUT class="dojoValidateValid TextBox_btn_TwoCells_width" type="text" name="inpBpartnerId_DES" id="fieldcBpartnerId_DES" maxlength="20" value=""></INPUT>
       
   169               </TD>
       
   170               <TD class="FieldButton_ContentCell">
       
   171                 <a class="FieldButtonLink" href="#"
       
   172                   onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;"
       
   173                   onblur="window.status=''; return true;"
       
   174                   onkeypress="this.className='FieldButtonLink_active'; return true;"
       
   175                   onkeyup="this.className='FieldButtonLink_focus'; return true;"
       
   176                   onclick="openSearch(null, null, 'BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmOrder', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmOrder.inpBpartnerId_DES.value);return false;">
       
   177                   <table class="FieldButton"
       
   178                     onmousedown="this.className='FieldButton_active'; return true;"
       
   179                     onmouseup="this.className='FieldButton'; return true;"
       
   180                     onmouseover="this.className='FieldButton_hover'; window.status='Business Partner'; return true;"
       
   181                     onmouseout="this.className='FieldButton'; window.status=''; return true;">
       
   182                     <tr>
       
   183                       <td class="FieldButton_bg">
       
   184                         <img alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0"/>
       
   185                       </td>
       
   186                     </tr>
       
   187                   </table>
       
   188                 </a>
       
   189               </TD>
       
   190             </TR>
       
   191           </TABLE>
       
   192         </TD>
       
   193         <TD/>
       
   194         <TD/>
       
   195         <TD/>
       
   196        </tr>
       
   197        
       
   198        <tr>
       
   199           <TD class="TitleCell"><SPAN class="LabelText">From Date</SPAN></TD>
       
   200             <TD class="TextBox_btn_ContentCell">
       
   201 
       
   202               <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
       
   203                 <TR>
       
   204                   <TD class="TextBox_ContentCell">
       
   205                     <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>
       
   206                   </TD>
       
   207                   <TD class="FieldButton_ContentCell">
       
   208                     <a class="FieldButtonLink" href="#"
       
   209                       onfocus="setWindowElementFocus(this); window.status='Show calendar'; return true;"
       
   210                       onblur="window.status=''; return true;"
       
   211                       onkeypress="this.className='FieldButtonLink_active'; return true;"
       
   212                       onkeyup="this.className='FieldButtonLink_focus'; return true;"
       
   213                       onclick="showCalendar('frmOrder.inpDateFrom', document.frmOrder.inpDateFrom.value, false);return false;">
       
   214                       <table class="FieldButton"
       
   215                         onmousedown="this.className='FieldButton_active'; return true;"
       
   216                         onmouseup="this.className='FieldButton'; return true;"
       
   217                         onmouseover="this.className='FieldButton_hover'; window.status='Show calendar'; return true;"
       
   218                         onmouseout="this.className='FieldButton'; window.status=''; return true;">
       
   219                         <tr>
       
   220                           <td class="FieldButton_bg">
       
   221                             <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0""/>
       
   222                           </td>
       
   223                         </tr>
       
   224                       </table>
       
   225                     </a>
       
   226                   </TD>
       
   227                 </TR>
       
   228               </TABLE>
       
   229             </TD>
       
   230             <TD></TD>
       
   231 
       
   232             <TD class="TitleCell"><SPAN class="LabelText">To</SPAN></TD>
       
   233 
       
   234             <TD class="TextBox_btn_ContentCell">
       
   235               <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
       
   236                 <TR>
       
   237                   <TD class="TextBox_ContentCell">
       
   238                     <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>
       
   239                   </TD>
       
   240                   <TD class="FieldButton_ContentCell">
       
   241                     <a class="FieldButtonLink" href="#"
       
   242                       onfocus="setWindowElementFocus(this); window.status='Show calendar'; return true;"
       
   243                       onblur="window.status=''; return true;"
       
   244                       onkeypress="this.className='FieldButtonLink_active'; return true;"
       
   245                       onkeyup="this.className='FieldButtonLink_focus'; return true;"
       
   246                       onclick="showCalendar('frmOrder.inpDateTo', document.frmOrder.inpDateTo.value, false);return false;">
       
   247                       <table class="FieldButton"
       
   248                         onmousedown="this.className='FieldButton_active'; return true;"
       
   249                         onmouseup="this.className='FieldButton'; return true;"
       
   250                         onmouseover="this.className='FieldButton_hover'; window.status='Show calendar'; return true;"
       
   251                         onmouseout="this.className='FieldButton'; window.status=''; return true;">
       
   252                         <tr>
       
   253                           <td class="FieldButton_bg">
       
   254                             <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0""/>
       
   255                           </td>
       
   256                         </tr>
       
   257                       </table>
       
   258                     </a>
       
   259                   </TD>
       
   260                 </TR>
       
   261               </TABLE>
       
   262             </TD>
       
   263             <TD></TD>
       
   264           </tr>
       
   265           
       
   266           <tr>
       
   267            <TD class="TitleCell"><SPAN class="LabelText">Total Amount From</SPAN></TD>
       
   268             <TD class="TextBox_btn_ContentCell">
       
   269 
       
   270               <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
       
   271                 <TR>
       
   272                   <TD class="TextBox_ContentCell">
       
   273                     <INPUT dojoType="openbravo:RealNumberTextbox" lowerThan="paramCal2" class="TextBox_btn_OneCell_width" type="text" name="inpCal1" id="paramCal1" size="10" maxlength="10" value="" onkeyup="validateNumberBox(this.id);;return true;"></INPUT><SCRIPT>djConfig.searchIds.push("paramCal1");</SCRIPT>
       
   274                   </TD>
       
   275                   <TD class="FieldButton_ContentCell">
       
   276                     <a class="FieldButtonLink" href="#"
       
   277                       onfocus="setWindowElementFocus(this); window.status='Calculator'; return true;"
       
   278                       onblur="window.status=''; return true;"
       
   279                       onkeypress="this.className='FieldButtonLink_active'; return true;"
       
   280                       onkeyup="this.className='FieldButtonLink_focus'; return true;"
       
   281                       onclick="calculator('frmOrder.inpCal1', document.frmOrder.inpCal1.value);return false;">
       
   282                       <table class="FieldButton"
       
   283                         onmousedown="this.className='FieldButton_active'; return true;"
       
   284                         onmouseup="this.className='FieldButton'; return true;"
       
   285                         onmouseover="this.className='FieldButton_hover'; window.status='Calculator'; return true;"
       
   286                         onmouseout="this.className='FieldButton'; window.status=''; return true;">
       
   287                         <tr>
       
   288                           <td class="FieldButton_bg">
       
   289                             <img alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Calculator" src="../../../../../web/images/blank.gif" border="0""/>
       
   290                           </td>
       
   291                         </tr>
       
   292                       </table>
       
   293                     </a>
       
   294                   </TD>
       
   295                 </TR>
       
   296               </TABLE>
       
   297             <TD></TD>
       
   298 
       
   299             </TD><TD class="TitleCell"><SPAN class="LabelText">To</SPAN></TD>
       
   300             <TD class="TextBox_btn_ContentCell">
       
   301               <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
       
   302                 <TR>
       
   303                   <TD class="TextBox_ContentCell">
       
   304                     <INPUT dojoType="openbravo:RealNumberTextbox" greaterThan="paramCal1" class="TextBox_btn_OneCell_width" type="text" name="inpCal2" id="paramCal2" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("paramCal2");</SCRIPT>
       
   305                   </TD>
       
   306                   <TD class="FieldButton_ContentCell">
       
   307                     <a class="FieldButtonLink" href="#"
       
   308                       onfocus="setWindowElementFocus(this); window.status='Calculator'; return true;"
       
   309                       onblur="window.status=''; return true;"
       
   310                       onkeypress="this.className='FieldButtonLink_active'; return true;"
       
   311                       onkeyup="this.className='FieldButtonLink_focus'; return true;"
       
   312                       onclick="calculator('frmOrder.inpCal2', document.frmOrder.inpCal2.value);return false;">
       
   313                       <table class="FieldButton"
       
   314                         onmousedown="this.className='FieldButton_active'; return true;"
       
   315                         onmouseup="this.className='FieldButton'; return true;"
       
   316                         onmouseover="this.className='FieldButton_hover'; window.status='Calculator'; return true;"
       
   317                         onmouseout="this.className='FieldButton'; window.status=''; return true;">
       
   318                         <tr>
       
   319                           <td class="FieldButton_bg">
       
   320                             <img alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Calculator" src="../../../../../web/images/blank.gif" border="0""/>
       
   321                           </td>
       
   322                         </tr>
       
   323                       </table>
       
   324                     </a>
       
   325                   </TD>
       
   326                 </TR>
       
   327               </TABLE>
       
   328             </TD>
       
   329             <TD></TD>
       
   330           </tr>
       
   331           <tr>
       
   332             <TD class="TitleCell"><SPAN class="LabelText">Description</SPAN></TD>
       
   333             <TD class="TextBox_ContentCell" colspan="2"> <INPUT class="dojoValidateValid TextBox_TwoCells_width" type="text" name="inpDescription" class="TextBox_btn_TwoCells_width"/></TD>
       
   334             <td/>
       
   335             <td/>
       
   336             <td/>
       
   337             <td/>
       
   338             
       
   339           </tr>
       
   340           
       
   341           <tr>
       
   342             <td></td>
       
   343             <td class="Button_LeftAlign_ContentCell">
       
   344               <div>
       
   345                 <a class="ButtonLink" href="#"
       
   346                   onfocus="setWindowElementFocus(this); window.status='Search'; return true;"
       
   347                   onblur="window.status=''; return true;"
       
   348                   onkeypress="this.className='ButtonLink_active'; return true;"
       
   349                   onkeyup="this.className='ButtonLink_focus'; return true;"
       
   350                   onclick="submitCommandForm('FIND', false, null, null, 'medio');return false;"
       
   351                   id="buttonSearch">
       
   352                   <table class="Button"
       
   353                     onmousedown="this.className='Button_active'; return true;"
       
   354                     onmouseup="this.className='Button'; return true;"
       
   355                     onmouseover="this.className='Button_hover'; window.status='Search'; return true;"
       
   356                     onmouseout="this.className='Button'; window.status=''; return true;">
       
   357                     <tr>
       
   358                       <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
       
   359                       <td class="Button_text Button_width">Search</td>
       
   360                       <td class="Button_right"></td>
       
   361                     </tr>
       
   362                   </table>
       
   363                 </a>
       
   364               </div>
       
   365             </td>
       
   366             <td></td>
       
   367             <td></td>
       
   368             <td></td>
       
   369             <td></td>
       
   370           </tr>
       
   371   
       
   372   </table>
       
   373  
       
   374 </FORM>
       
   375 
       
   376 
       
   377 </FORM>
       
   378 </BODY>
       
   379 </HTML>