src/org/openbravo/erpCommon/info/Account_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>Account selector</TITLE>
       
    22 <LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></LINK> 
       
    23 <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
       
    24 <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
       
    25 <SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
       
    26       <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
       
    27       <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
       
    28       <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
       
    29       <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
       
    30       <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       
    31       <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
       
    32       <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
       
    33       <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
       
    34       <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
       
    35       <SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
       
    36 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
       
    37 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></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 
       
    44 <SCRIPT language="JavaScript" type="text/javascript">
       
    45 function depurar() {
       
    46 	var frm = document.frmSelector;
       
    47 	if ((frm.inpAlias.value==null || frm.inpAlias.value=="") && (frm.inpCombination.value==null || frm.inpCombination.value=="") && frm.inpOrganization.selectedIndex==-1 && frm.inpAccount.selectedIndex==-1 && frm.inpProduct.selectedIndex==-1 && frm.inpBPartner.selectedIndex==-1 && frm.inpProject.selectedIndex==-1 && frm.inpCampaign.selectedIndex==-1) {
       
    48 		frm.inpAlias.focus();
       
    49 		mensaje(7);
       
    50 		return false;
       
    51 	}
       
    52   if (frm.inpOrganization.value==null || frm.inpOrganization.value=="") {
       
    53     frm.inpOrganization.focus();
       
    54     mensaje(7);
       
    55     return false;    
       
    56   }
       
    57 	return true;
       
    58 }
       
    59 
       
    60 function onloadFunctions() {
       
    61 	new TypeAheadCombo("inpOrganization");
       
    62 	new TypeAheadCombo("inpAccount");
       
    63 	new TypeAheadCombo("inpProduct");
       
    64 	new TypeAheadCombo("inpBPartner");
       
    65   new TypeAheadCombo("inpProject");
       
    66   new TypeAheadCombo("inpCampaign");
       
    67   
       
    68   keyArray[keyArray.lenght] = new keyArrayItem("B", "submitCommandForm('FIND', false, null, null, 'medio');", null, "ctrlKey");
       
    69   
       
    70 }
       
    71 </SCRIPT>
       
    72 	<SCRIPT language="JavaScript" type="text/javascript">
       
    73 	function onLoadDo(){
       
    74 		this.windowTables = new Array(
       
    75 		  new windowTableId('client', 'superior', 'buttonSearch', 'superior'),
       
    76 		  new windowTableId('client','medio', 'buttonOK', 'inferior'),
       
    77 		  new windowTableId('client','inferior', 'buttonOK', 'inferior')
       
    78 		);
       
    79 		setWindowTableParentElement();
       
    80 		enableShortcuts('popup');
       
    81 		
       
    82 		try {
       
    83 		  onloadFunctions();
       
    84 		} catch (e) {}
       
    85 
       
    86 		setWindowElementFocus('firstElement');
       
    87 	}
       
    88 
       
    89 	function onResizeDo(){
       
    90 	}
       
    91 	</SCRIPT>
       
    92 </HEAD>
       
    93 <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
       
    94 <FORM name="frmSelector" method="POST" action="Account_F2.html" target="medio">
       
    95   <INPUT type="hidden" name="Command">
       
    96 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
       
    97   
       
    98   
       
    99   <div class="Popup_ContentPane_CircleLogo">
       
   100   <div class="Popup_WindowLogo">
       
   101     <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_account" src="../../../../../web/images/blank.gif" border=0/></img>
       
   102   </div>
       
   103 </div>
       
   104 
       
   105 <table cellspacing="0" cellpadding="0" width="100%">
       
   106 
       
   107   <tr>
       
   108     <td>
       
   109       <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
       
   110         <tr class="Popup_NavBar_bg"><td></td>
       
   111           <td class="Popup_NavBar_separator_cell"></td>
       
   112           <td class="Popup_NavBar_bg_logo_left"></td>
       
   113           <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>
       
   114           <td class="Popup_NavBar_bg_logo_right"></td>
       
   115           <td class="Popup_NavBar_Popup_title_cell"><span>Account Selector</span></a></td>
       
   116           <td class="Popup_NavBar_separator_cell"></td>
       
   117         </tr>
       
   118       </table>
       
   119     </td>
       
   120   </tr>
       
   121 
       
   122   <tr>
       
   123     <td>
       
   124       <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
       
   125         <tr>
       
   126           <td class="Popup_SeparatorBar_bg"></td>
       
   127         </tr>
       
   128       </table>
       
   129     </td>
       
   130   </tr>
       
   131   
       
   132    <tr>
       
   133     <td>
       
   134       <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
       
   135         <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
       
   136 
       
   137           <tr>
       
   138             <td class="TableEdition_OneCell_width"></td>
       
   139             <td class="TableEdition_OneCell_width"></td>
       
   140             <td class="TableEdition_OneCell_width"></td>
       
   141             <td class="TableEdition_OneCell_width"></td>
       
   142             <td class="TableEdition_OneCell_width"></td>
       
   143             <td class="TableEdition_OneCell_width"></td>
       
   144           </tr>
       
   145 
       
   146           <TR>
       
   147           <TD colspan="6">
       
   148             <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
       
   149               <TR class="FieldGroup_TopMargin"></TR>
       
   150               <TR>
       
   151                 <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
       
   152                 <TD class="FieldGroupTitle">Primary Filters</TD>
       
   153                 <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
       
   154                 <TD class="FieldGroupContent"></TD>
       
   155 
       
   156               </TR>
       
   157               <TR class="FieldGroup_BottomMargin"></TR>
       
   158             </TABLE>
       
   159           </TD>
       
   160           </TR>
       
   161          
       
   162        </tr>
       
   163        <div id="sectionDetail">
       
   164          <TR> 
       
   165           <TD class="TitleCell"><SPAN class="LabelText">Alias</SPAN></TD>
       
   166           <TD class="TextBox_ContentCell"> 
       
   167             <INPUT type="hidden" name="inpValidCombination" value="" id="fieldValidCombination"/> 
       
   168             <INPUT class="dojoValidateValid TextBox_OneCell_width" name="inpAlias" type="text" size="25" value="" id="fieldAlias"/>
       
   169           </TD>
       
   170           <td/>
       
   171           
       
   172           <TD class="TitleCell"><SPAN class="LabelText">Accounting combination</SPAN></TD>
       
   173           <TD class="TextBox_ContentCell"> 
       
   174             <INPUT class="dojoValidateValid TextBox_OneCell_width" name="inpCombination" type="text" size="25" value="" id="fieldCombination"></INPUT>
       
   175           </TD>
       
   176           <td/>
       
   177         </TR>
       
   178         
       
   179         <TR> 
       
   180           <TD class="TitleCell"><SPAN class="LabelText">Organization</SPAN></TD>
       
   181           <TD class="Combo_ContentCell" colspan="2"> 
       
   182             <SELECT class="Combo Combo_TwoCells_width required" required="true" name="inpOrganization" id="inpOrganization">
       
   183               <OPTION value=""></OPTION><DIV id="reportAD_Org_ID"></DIV>
       
   184             </SELECT>
       
   185           </TD>
       
   186           <TD class="TitleCell"><SPAN class="LabelText">Account</SPAN></TD>
       
   187           <TD class="Combo_ContentCell" colspan="2">
       
   188             <SELECT class="Combo Combo_TwoCells_width required" required="true" name="inpAccount" id="inpAccount">
       
   189               <OPTION value=""></OPTION><DIV id="reportAccount_ID"></DIV>
       
   190             </SELECT></TD>
       
   191         </TR>
       
   192         <TR> 
       
   193           <TD class="TitleCell"><SPAN class="LabelText">Product</SPAN></TD>
       
   194           <TD class="Combo_ContentCell" colspan="2"> <SELECT class="Combo Combo_TwoCells_width" name="inpProduct" id="inpProduct">
       
   195               <OPTION value=""></OPTION><DIV id="reportM_Product_ID"></DIV>
       
   196             </SELECT></TD>
       
   197           <TD class="TitleCell"><SPAN class="LabelText">Business Partner</SPAN></TD>
       
   198           <TD class="Combo_ContentCell" colspan="2"> <SELECT class="Combo Combo_TwoCells_width" name="inpBPartner" id="inpBPartner">
       
   199               <OPTION value=""></OPTION><DIV id="reportC_BPartner_ID"></DIV>
       
   200             </SELECT></TD>
       
   201         </TR>
       
   202         <TR> 
       
   203           <TD class="TitleCell"><SPAN class="LabelText">Project</SPAN></TD>
       
   204           <TD class="Combo_ContentCell" colspan="2"> <SELECT class="Combo Combo_TwoCells_width" name="inpProject" id="inpProject">
       
   205               <OPTION value=""></OPTION><DIV id="reportC_Project_ID"></DIV>
       
   206             </SELECT></TD>
       
   207           <TD class="TitleCell"><SPAN class="LabelText">Campaign</SPAN></TD>
       
   208           <TD class="Combo_ContentCell" colspan="2"> <SELECT class="Combo Combo_TwoCells_width" name="inpCampaign" id="inpCampaign">
       
   209               <OPTION value=""></OPTION><DIV id="reportC_Campaign_ID"></DIV>
       
   210             </SELECT></TD>
       
   211         </TR>
       
   212         <tr>
       
   213             <td></td>
       
   214             <td class="Button_LeftAlign_ContentCell">
       
   215               <div>
       
   216                 <a class="ButtonLink" href="#"
       
   217                   onfocus="setWindowElementFocus(this); window.status='Search'; return true;"
       
   218                   onblur="window.status=''; return true;"
       
   219                   onkeypress="this.className='ButtonLink_active'; return true;"
       
   220                   onkeyup="this.className='ButtonLink_focus'; return true;"
       
   221                   onclick="submitCommandForm('FIND', false, null, null, 'medio');return false;"
       
   222                   id="buttonSearch">
       
   223                   <table class="Button"
       
   224                     onmousedown="this.className='Button_active'; return true;"
       
   225                     onmouseup="this.className='Button'; return true;"
       
   226                     onmouseover="this.className='Button_hover'; window.status='Search'; return true;"
       
   227                     onmouseout="this.className='Button'; window.status=''; return true;">
       
   228                     <tr>
       
   229                       <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
       
   230                       <td class="Button_text Button_width">Search</td>
       
   231                       <td class="Button_right"></td>
       
   232                     </tr>
       
   233                   </table>
       
   234                 </a>
       
   235               </div>
       
   236             </td>
       
   237             <td class="Button_LeftAlign_ContentCell">
       
   238 
       
   239               <div>
       
   240                 <a class="ButtonLink" href="#"
       
   241                   onfocus="setWindowElementFocus(this); window.status='Save'; return true;"
       
   242                   onblur="window.status=''; return true;"
       
   243                   onkeypress="this.className='ButtonLink_active'; return true;"
       
   244                   onkeyup="this.className='ButtonLink_focus'; return true;"
       
   245                   onclick="submitCommandForm('SAVE', true, null, null, '_top');return false;"">
       
   246                   <table class="Button"
       
   247                     onmousedown="this.className='Button_active'; return true;"
       
   248                     onmouseup="this.className='Button'; return true;"
       
   249                     onmouseover="this.className='Button_hover'; window.status='Save'; return true;"
       
   250                     onmouseout="this.className='Button'; window.status=''; return true;">
       
   251                     <tr>
       
   252                       <td class="Button_left"><img class="Button_Icon Button_Icon_save" alt="Save" title="Save" src="../../../../../web/images/blank.gif" border=0/></td>
       
   253                       <td class="Button_text Button_width">Save</td>
       
   254                       <td class="Button_right"></td>
       
   255                     </tr>
       
   256                   </table>
       
   257                 </a>
       
   258               </div>
       
   259             </td>
       
   260             <td></td>
       
   261             <td></td>
       
   262             <td></td>
       
   263           </tr>
       
   264       </div>
       
   265        
       
   266   </table>
       
   267   </div>
       
   268   </td>
       
   269   
       
   270   </table>
       
   271   
       
   272   
       
   273 
       
   274 </FORM>
       
   275 </BODY>
       
   276 </HTML>