src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal_F2.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 628 492ad1a5c917
child 1325 af371d42d754
permissions -rw-r--r--
Removed old frame parameter of windowTableId
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 
carlos@0
    14
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
carlos@0
    15
 * All Rights Reserved. 
carlos@0
    16
 * Contributor(s):  ______________________________________.
carlos@0
    17
 ************************************************************************
carlos@0
    18
-->
carlos@0
    19
carlos@0
    20
<html>
carlos@0
    21
<head>
carlos@0
    22
  <title>Create from GLJournal</title>
carlos@0
    23
carlos@0
    24
  <link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></link>
carlos@0
    25
  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
carlos@0
    26
  <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
carlos@0
    27
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    28
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
asier@528
    29
  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
carlos@0
    30
  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    31
  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    32
  <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</script>
carlos@0
    33
  <script language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</script>
carlos@0
    34
  <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
carlos@0
    35
  <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    36
  <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    37
  <script type="text/javascript">
carlos@0
    38
    dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    39
  </script>
carlos@0
    40
  <script language="JavaScript" type="text/javascript">
carlos@0
    41
    function depurar(action) {
carlos@0
    42
      var frm=document.frmMain;
carlos@0
    43
      if (radioValue(frm.inpClave)==null) {
carlos@0
    44
        mensaje(1);
carlos@0
    45
        return false;
carlos@0
    46
      }
carlos@0
    47
      return true;
carlos@0
    48
    }
carlos@0
    49
carlos@0
    50
    var selectedRow = "";
carlos@0
    51
    function selectActual(obj) {
carlos@0
    52
      if (selectedRow != "") {
carlos@0
    53
        selectedRow.className = selectedRow.className.replace(' DataGrid_Body_Row_selected', '');
carlos@0
    54
      }
carlos@0
    55
      selectedRow = obj;
carlos@0
    56
      selectedRow.className += " DataGrid_Body_Row_selected";
carlos@0
    57
      selectedCheck = selectedRow.id.toString().replace('funcEvenOddRow', 'CheckNum');
carlos@0
    58
      document.getElementById(selectedCheck).checked = true;
carlos@0
    59
    }
carlos@0
    60
carlos@0
    61
    function HoverCell(cell) {
carlos@0
    62
      cell.className = cell.className + ' DataGrid_Body_Cell_hover';
carlos@0
    63
    }
carlos@0
    64
carlos@0
    65
    function unHoverCell(cell) {
carlos@0
    66
      cell.className = cell.className.replace(' DataGrid_Body_Cell_hover', '');
carlos@0
    67
    }
carlos@0
    68
  </script>
asier@528
    69
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    70
	function onLoadDo(){
asier@528
    71
		this.windowTables = new Array(
david@1044
    72
		  new windowTableId('client', 'buttonSearch'),
david@1044
    73
		  new windowTableId('client', 'buttonOK'),
david@1044
    74
		  new windowTableId('client', 'buttonOK')
asier@528
    75
		);
asier@528
    76
		setWindowTableParentElement();
asier@528
    77
		enableShortcuts('popup');
asier@528
    78
		
asier@528
    79
		resizeArea();
asier@528
    80
	}
carlos@0
    81
asier@528
    82
	function onResizeDo(){
asier@528
    83
		resizeArea();
asier@528
    84
	}
asier@528
    85
	</SCRIPT>
asier@528
    86
</HEAD>
asier@528
    87
asier@528
    88
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    89
<form name="frmMain" method="POST" action="../ad_process/CopyFromGLJournal_F2.html">
carlos@0
    90
  <INPUT type="hidden" name="Command">
carlos@0
    91
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
    92
  <input type="hidden" name="inpglJournalbatchId" value="" id="paramKey"></input>
carlos@0
    93
  <input type="hidden" name="inpwindowId" value="" id="paramWindow"></input>
carlos@0
    94
  <input type="hidden" name="inpTabId" value="" id="paramTab"></input>
carlos@0
    95
<!-- MessageBox -->
carlos@0
    96
<table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
carlos@0
    97
  <TBODY>
carlos@0
    98
  <tr class="MessageBox_TopMargin">
carlos@0
    99
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   100
    <td></td>
carlos@0
   101
    <td class="MessageBox_RightMargin"></td>
carlos@0
   102
  </tr>
carlos@0
   103
  <tr>
carlos@0
   104
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   105
    <td>
carlos@0
   106
carlos@0
   107
      <table cellpadding="0" cellspacing="0" style="width: 100%;">
carlos@0
   108
        <TBODY>
carlos@0
   109
        <tr>
carlos@0
   110
          <td>
carlos@0
   111
            <div class="MessageBox_TopLeft"></div>
carlos@0
   112
            <div class="MessageBox_Left"></div>
carlos@0
   113
          </td>
carlos@0
   114
          <td class="MessageBox_bg">
carlos@0
   115
carlos@0
   116
            <table class="MessageBox_Top">
carlos@0
   117
            <TBODY>
carlos@0
   118
              <tr>
carlos@0
   119
                <td>
carlos@0
   120
                  <span>
carlos@0
   121
                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
carlos@0
   122
                    <TBODY>
carlos@0
   123
                    <tr>
carlos@0
   124
                      <td class="MessageBox_Icon_ContentCell">
carlos@0
   125
                        <div class="MessageBox_Icon"></div>
carlos@0
   126
                      </td>
carlos@0
   127
                      <td style="vertical-align: top;" id="messageBoxIDContent">
carlos@0
   128
                        <span>
carlos@0
   129
                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
carlos@0
   130
                            xxInfo: AccessTableWithNoView
carlos@0
   131
                          </div>
carlos@0
   132
                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
carlos@0
   133
                            xxThe current information is empty.
carlos@0
   134
                          </div>
carlos@0
   135
                          <div class="MessageBox_TextSeparator"></div>
carlos@0
   136
                        </span>
carlos@0
   137
                      </td>
carlos@0
   138
                    </tr>
carlos@0
   139
                    </TBODY>
carlos@0
   140
                  </table>
carlos@0
   141
                  </span>
carlos@0
   142
                </td>
carlos@0
   143
              </tr>
carlos@0
   144
              </TBODY>
carlos@0
   145
            </table>
carlos@0
   146
carlos@0
   147
          </td>
carlos@0
   148
          <td class="MessageBox_RightTrans">
carlos@0
   149
            <div class="MessageBox_TopRight"></div>
carlos@0
   150
            <div class="MessageBox_Right"></div>
carlos@0
   151
          </td>
carlos@0
   152
        </tr>
carlos@0
   153
        <tr>
carlos@0
   154
          <td rowspan="2" class="MessageBox_BottomLeft">
carlos@0
   155
          </td>
carlos@0
   156
          <td class="MessageBox_BottomTrans MessageBox_bg">
carlos@0
   157
          </td>
carlos@0
   158
          <td rowspan="2" class="MessageBox_BottomRight">
carlos@0
   159
          </td>
carlos@0
   160
        </tr>
carlos@0
   161
        <tr>
carlos@0
   162
          <td class="MessageBox_Bottom">
carlos@0
   163
          </td>
carlos@0
   164
        </tr>
carlos@0
   165
        </TBODY>
carlos@0
   166
      </table>
carlos@0
   167
carlos@0
   168
    </td>
carlos@0
   169
    <td class="MessageBox_RightMargin"></td>
carlos@0
   170
  </tr>
carlos@0
   171
  <tr class="MessageBox_BottomMargin">
carlos@0
   172
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   173
    <td></td>
carlos@0
   174
    <td class="MessageBox_RightMargin"></td>
carlos@0
   175
  </tr>
carlos@0
   176
  </TBODY>
carlos@0
   177
</table>
carlos@0
   178
  <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
carlos@0
   179
    <tr>
carlos@0
   180
      <td valign="top" class="Popup_Client_Selector_DataGrid_LeftMargin">
carlos@0
   181
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdleftSeparator">
carlos@0
   182
          <tr><td class="Popup_Client_Selector_DataGrid_LeftMargin"></td></tr>
carlos@0
   183
        </table>
carlos@0
   184
      </td>
carlos@0
   185
      <td valign="top">
carlos@0
   186
carlos@0
   187
        <div style="overflow: auto; display: none;" id="client">
carlos@0
   188
carlos@0
   189
          <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
carlos@0
   190
            <tr class="DataGrid_Body_Row"> 
carlos@0
   191
              <th width="3%"  class="DataGrid_Header_LineNoCell">&nbsp;</th>
carlos@0
   192
              <th width="57"  class="DataGrid_Header_Cell">No.</th>
carlos@0
   193
              <th width="147" class="DataGrid_Header_Cell">Description</th>
carlos@0
   194
              <th width="120" class="DataGrid_Header_Cell">Accounting type</th>
carlos@0
   195
              <th width="97"  class="DataGrid_Header_Cell">Document date</th>
carlos@0
   196
              <th width="78"  class="DataGrid_Header_Cell">Date</th>
carlos@0
   197
              <th width="125" class="DataGrid_Header_Cell">Control qty.</th>
carlos@0
   198
              <th width="137" class="DataGrid_Header_Cell">Deptor balance</th>
carlos@0
   199
              <th width="136" class="DataGrid_Header_Cell">Creditor balance</th>
carlos@0
   200
            </tr>
carlos@0
   201
carlos@0
   202
            <div id="sectionDetail"> 
carlos@0
   203
              <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" onclick="selectActual(this); return true;" ondblclick="parent.inferior.enviarDatos(); return true;" id="funcEvenOddRowxx">
carlos@0
   204
                <td class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_RadioButton">
carlos@0
   205
                  <input type="radio" name="inpClave" value="xx" id="CheckNumxx" class="DataGrid_RadioButton"></input>
carlos@0
   206
                </td>
carlos@0
   207
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDocumentNo">xx</td>
carlos@0
   208
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDescription">xx</td>
carlos@0
   209
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldPostingType">xx</td>
carlos@0
   210
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDateDoc">xx</td>
carlos@0
   211
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDateAcct">xx</td>
carlos@0
   212
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldControlAmt">xx</td>
carlos@0
   213
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldTotalDR">xx</td>
carlos@0
   214
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldTotalCR">xx</td>
carlos@0
   215
              </tr>
carlos@0
   216
            </div>
carlos@0
   217
          </table>
carlos@0
   218
carlos@0
   219
        </div>
carlos@0
   220
carlos@0
   221
      </td>
carlos@0
   222
carlos@0
   223
      <td valign="top" class="Popup_Client_Selector_DataGrid_RightMargin">
carlos@0
   224
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdrightSeparator">
carlos@0
   225
          <tr><td class="Popup_Client_Selector_DataGrid_RightMargin"></td></tr>
carlos@0
   226
        </table>
carlos@0
   227
      </td>
carlos@0
   228
    </tr>
carlos@0
   229
  </table>
carlos@0
   230
carlos@0
   231
</form>
carlos@0
   232
</body>
carlos@0
   233
</html>