src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalysesEdit.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 961 e244d7005cd9
child 1605 8a0fe0193bef
permissions -rw-r--r--
Removed old frame parameter of windowTableId
carlos@0
     1
<?xml version="1.0" encoding="utf-8"?>
carlos@0
     2
<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
carlos@0
     3
<!--
carlos@0
     4
 *************************************************************************
carlos@0
     5
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     6
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     7
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     8
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     9
 * the License at http://www.openbravo.com/legal/license.html
carlos@0
    10
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
    11
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    12
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    13
 * under the License.
carlos@0
    14
 * The Original Code is Openbravo ERP.
carlos@0
    15
 * The Initial Developer of the Original Code is Openbravo SL
carlos@0
    16
 * All portions are Copyright (C) 2001-2006 Openbravo SL
carlos@0
    17
 * All Rights Reserved.
carlos@0
    18
 * Contributor(s):  ______________________________________.
carlos@0
    19
 ************************************************************************
carlos@0
    20
-->
carlos@0
    21
<html xmlns="http://www.w3.org/1999/xhtml">
carlos@0
    22
  <head>
carlos@0
    23
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
carlos@0
    24
<TITLE>Sale invoices report</TITLE>
carlos@0
    25
 <link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
carlos@0
    26
    <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Report.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">
carlos@0
    31
      </script>
carlos@0
    32
      <script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
carlos@0
    33
      <script language="JavaScript" type="text/javascript" id="paramLanguage">
carlos@0
    34
        var LNG_POR_DEFECTO = "en_US";
carlos@0
    35
      </script>
asier@528
    36
      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
carlos@0
    37
      <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    38
      <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    39
      <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
carlos@0
    40
      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
carlos@0
    41
      <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
carlos@0
    42
      <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
carlos@0
    43
      <script language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></script>
carlos@0
    44
      <script language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></script>
carlos@0
    45
      <script language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></script>
carlos@0
    46
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    47
carlos@0
    48
<SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    49
carlos@0
    50
function callback(paramArray) {
carlos@0
    51
  	var strText = "";
carlos@0
    52
  	var id = "";
carlos@0
    53
  	var imageId = "";
carlos@0
    54
  	if (getReadyStateHandler(xmlreq)) {
carlos@0
    55
  		try {
carlos@0
    56
  			if (xmlreq.responseText) strText = xmlreq.responseText;
carlos@0
    57
  		} catch (e) {
carlos@0
    58
  		}
carlos@0
    59
  		if (paramArray!=null && paramArray.length>0) {
carlos@0
    60
  			id = paramArray[0];
carlos@0
    61
  			imageId = paramArray[1];
carlos@0
    62
  		}
carlos@0
    63
  		layer(id, strText, true, false);
carlos@0
    64
  		showHideLayer(id, imageId);
carlos@0
    65
  	}
carlos@0
    66
  	return true;
carlos@0
    67
  }
carlos@0
    68
  
carlos@0
    69
  function showHideLayer(id, imageId) {
carlos@0
    70
  	var obj = getReference(imageId);
carlos@0
    71
  	var spanObj = getStyle(id);
carlos@0
    72
  	if (obj!=null) {
carlos@0
    73
  		if (obj.className == "datawarehouseopen") {
carlos@0
    74
  			obj.className = "datawarehouseclose";
carlos@0
    75
  			if (spanObj!=null) spanObj.display = "none";
carlos@0
    76
  		} else {
carlos@0
    77
  			obj.className = "datawarehouseopen";
carlos@0
    78
  			if (spanObj!=null) spanObj.display = "";
carlos@0
    79
  		}
carlos@0
    80
  	}
carlos@0
    81
  }
carlos@0
    82
carlos@0
    83
	function actualizarDatos(CommandValue, nivel1, nivel2, nivel3, nivel4, id, level, columnLevel) {
carlos@0
    84
   
carlos@0
    85
    var frm = document.frmMain;
carlos@0
    86
    var paramLevel = new Array (nivel1, nivel2, nivel3, nivel4);
carlos@0
    87
    if (nivel1 == '0') frm.inpNivel1.value = "";
carlos@0
    88
    else frm.inpNivel1.value = nivel1;
carlos@0
    89
    if (nivel2 == '0') frm.inpNivel2.value = "";
carlos@0
    90
    else frm.inpNivel2.value = nivel2;
carlos@0
    91
    if (nivel3 == '0') frm.inpNivel3.value = "";
carlos@0
    92
    else frm.inpNivel3.value = nivel3;
carlos@0
    93
    if (nivel4 == '0') frm.inpNivel4.value = "";
carlos@0
    94
    else frm.inpNivel4.value = nivel4;
carlos@0
    95
    frm.inpLevel.value = level;
carlos@0
    96
    frm.inpColumnLevel.value = columnLevel;
carlos@0
    97
    
carlos@0
    98
   
carlos@0
    99
    
carlos@0
   100
    var datosLayer = readLayer("returnText" + id + paramLevel[level-1], true);
carlos@0
   101
    if (datosLayer==null || datosLayer=="") {
carlos@0
   102
      seleccionarListCompleto(frm.inpmProductId_IN);
carlos@0
   103
      seleccionarListCompleto(frm.inpcBPartnerId_IN);
carlos@0
   104
      seleccionarListCompleto(frm.inpShown);
carlos@0
   105
      paramXMLRequest = new Array('returnText' + id, 'buttonTree' + id);
carlos@0
   106
      return submitXmlHttpRequest(callback, frm, CommandValue, "ReportAccountingCountDimensionalAnalysesFilter.html", false);
carlos@0
   107
    } else {
carlos@0
   108
      showHideLayer("returnText" + id + paramLevel[level-1], "buttonTree" + id + + paramLevel[level-1]);
carlos@0
   109
  }
carlos@0
   110
}
carlos@0
   111
carlos@0
   112
</script>
carlos@0
   113
     
carlos@0
   114
</HEAD>
carlos@0
   115
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
carlos@0
   116
<FORM method="POST" action="ReportAccountingCountDimensionalAnalysesFilter.html" name="frmMain" target="_self" id="form">
carlos@0
   117
  <INPUT type="hidden" name="Command"></INPUT>
carlos@0
   118
  
carlos@0
   119
  
carlos@0
   120
  <INPUT type="hidden" name="inpNivel1" value=""></INPUT>
carlos@0
   121
  <INPUT type="hidden" name="inpNivel2" value=""></INPUT>
carlos@0
   122
  <INPUT type="hidden" name="inpNivel3" value=""></INPUT>
carlos@0
   123
  <INPUT type="hidden" name="inpNivel4" value=""></INPUT>
carlos@0
   124
  <INPUT type="hidden" name="inpLevel" value=""></INPUT>
carlos@0
   125
  <INPUT type="hidden" name="inpColumnLevel" value=""></INPUT>
carlos@0
   126
  <INPUT type="hidden" name="inpcBPartnerId" value=""></INPUT>
carlos@0
   127
  <INPUT type="hidden" name="inpLastFieldChanged" value=""></INPUT>
carlos@0
   128
  
carlos@0
   129
  <DIV class="ReportTitle">Accounting account report<SPAN id="paramTitle">xxdesde hasta</SPAN></DIV>
carlos@0
   130
carlos@0
   131
  <DIV id="selEliminarDetail1"> 
carlos@0
   132
    <TABLE width="70%" align="center" class="Border" border="1" cellspacing="0" cellpadding="0">
carlos@0
   133
      <TR class="Border TableDetailRowEven"> 
carlos@0
   134
      <TD width="40%"> <FONT size="-1">Final<span>&nbsp;</span><SPAN id="fieldTotalFinal"></SPAN></FONT></TD>
carlos@0
   135
      </TR>
carlos@0
   136
    </TABLE>
carlos@0
   137
    <BR></BR>
carlos@0
   138
    <TABLE width="70%" align="center" id="selEliminar1">
carlos@0
   139
      <TR class="TableDetailHeader"> 
carlos@0
   140
        <TD width="6%">&nbsp;</TD>
carlos@0
   141
        <TD width="4%">&nbsp;</TD>
carlos@0
   142
        <TD width="8%">&nbsp;</TD>
carlos@0
   143
        <TD width="6%">&nbsp;</TD>
carlos@0
   144
        <TD width="6%">&nbsp;</TD>
carlos@0
   145
        <TD width="52%" ></TD>
carlos@0
   146
        <TD width="18%" align="right" class="TableDetailHeader"><SPAN class="Bold">Final balance</SPAN></TD>
carlos@0
   147
      </TR>
carlos@0
   148
    </TABLE>
carlos@0
   149
    <DIV id="sectionNivel"> 
carlos@0
   150
      <DIV id="sectionDetail"> 
carlos@0
   151
        <TABLE width="70%" align="center" id="selEliminar">
carlos@0
   152
          <TR class="TableHeaderLevel1"> 
carlos@0
   153
            <TD width="6%"></TD>
carlos@0
   154
            <TD width="76%"  id="fieldClassLevel"><div style="display: table-cell;"> <A href="#" onclick="actualizarDatos('OPEN', 'xx', 'yy', 'zz', 'ww', 'mm', 'pp', 'aa');return false;" onmouseover="window.status='Open';return true;" onmouseout="window.status='';return true;" id="fieldParentLevel"> 
carlos@0
   155
              <SPAN id="buttonTreexx" class="datawarehouseclose"></SPAN></A> <SPAN id="fieldNivel"></SPAN></div></TD>
carlos@0
   156
            <TD width="18%" align="right"  id="fieldClassLevel"> 
carlos@0
   157
              <SPAN id="fieldTotalAmt"></SPAN></TD>
carlos@0
   158
          </TR>
carlos@0
   159
        </TABLE>
carlos@0
   160
        <SPAN id="returnTextss"></SPAN></DIV>
carlos@0
   161
    </DIV>
carlos@0
   162
  </DIV>
carlos@0
   163
  <DIV id="selEliminarDetail2"> 
carlos@0
   164
    <TABLE width="70%" align="center" class="Border" border="1" cellspacing="0" cellpadding="0">
carlos@0
   165
      <TR class="Border TableDetailRowEven">    
carlos@0
   166
        <TD width="40%"> <FONT size="-1">Final&nbsp;<SPAN id="fieldPeriodFinal"></SPAN></FONT></TD>
carlos@0
   167
      </TR>
carlos@0
   168
    </TABLE>
carlos@0
   169
    <BR></BR>
carlos@0
   170
    <TABLE width="150%" align="center" id="selEliminar3">
carlos@0
   171
      <TR class="TableDetailHeader"> 
carlos@0
   172
        <TD width="22%" > <SPAN >Period</SPAN></TD>
carlos@0
   173
        <DIV id="sectionPeriod"> 
carlos@0
   174
          <TD width="6%" > <SPAN  id="fieldPeriod"></SPAN></TD>
carlos@0
   175
        </DIV>
carlos@0
   176
        <TD width="6%" class="TableDetailHeader" align="right">Final balance</TD>
carlos@0
   177
      </TR>
carlos@0
   178
    </TABLE>
carlos@0
   179
    <DIV id="sectionPeriodNivel"> 
carlos@0
   180
      <TABLE width="150%" align="center">
carlos@0
   181
        <TR class="TableHeaderLevel1"> 
carlos@0
   182
          <TD width="xx%" id="fieldPeriodWidthMargin">&nbsp;</TD>
carlos@0
   183
          <TD width="yy%" id="fieldPeriodWidthText" ><div style="display: table-cell;"><A href="#" onclick="actualizarDatos('OPEN', 'xx', 'yy', 'zz', 'ww', 'mm', 'pp', 'aa');return false;" onmouseover="window.status='Open';return true;" onmouseout="window.status='';return true;" id="fieldPeriodParentLevel"> 
carlos@0
   184
            <SPAN id="buttonTreexy" class="datawarehouseclose"></SPAN></A> <SPAN id="fieldPeriodNivel"></SPAN></div></TD>
carlos@0
   185
          <DIV id="sectionPeriodDetail"> 
carlos@0
   186
            <TD width="6%" align="right" id="fieldPeriodClassLevel" > 
carlos@0
   187
              <SPAN id="fieldAcumulativeTotalFinal"></SPAN></TD>
carlos@0
   188
          </DIV>
carlos@0
   189
          <TD width="6%" align="right"  id="fieldPeriodTotalFinal"></TD>
carlos@0
   190
        </TR>
carlos@0
   191
      </TABLE>
carlos@0
   192
      <SPAN id="returnTextsx"></SPAN></DIV>
carlos@0
   193
  </DIV>
carlos@0
   194
  <DIV id="selEliminarDetail3"> 
carlos@0
   195
    <TABLE width="70%" align="center" class="Border" border="1" cellspacing="0" cellpadding="0">
carlos@0
   196
       <TR class="Border TableDetailRowEven"> 
carlos@0
   197
        <TD width="40%"> <FONT size="-1">Final&nbsp;<SPAN id="fieldComparativeTotalFinal"></SPAN></FONT></TD>
carlos@0
   198
      </TR>
carlos@0
   199
    </TABLE>
carlos@0
   200
    <BR></BR>
carlos@0
   201
    <TABLE width="70%" align="center" id="selEliminar1">
carlos@0
   202
      <TR> 
carlos@0
   203
        <TD width="6%">&nbsp;</TD>
carlos@0
   204
        <TD width="4%">&nbsp;</TD>
carlos@0
   205
        <TD width="8%">&nbsp;</TD>
carlos@0
   206
        <TD width="6%">&nbsp;</TD>
carlos@0
   207
        <TD width="6%">&nbsp;</TD>
carlos@0
   208
        <TD width="52%" ></TD>
carlos@0
   209
        <TD width="18%" align="right" class="TableDetailHeader">Final balance</TD>
carlos@0
   210
      </TR>
carlos@0
   211
    </TABLE>
carlos@0
   212
    <DIV id="sectionComparativeNivel"> 
carlos@0
   213
      <TABLE width="70%" align="center" id="selEliminar">
carlos@0
   214
        <DIV id="sectionComparativeDetail"> 
carlos@0
   215
          <TR class="TableHeaderLevel1"> 
carlos@0
   216
            <TD width="xx%" id="fieldComparativeWidthMargin"></TD>
carlos@0
   217
            <TD width="yy%" id="fieldComparativeWidthText" ><div style="display: table-cell;">
carlos@0
   218
              <A href="#" onclick="actualizarDatos('OPEN', 'xx', 'yy', 'zz', 'ww', 'mm', 'pp', 'aa');return false;" onmouseover="window.status='Open';return true;" onmouseout="window.status='';return true;" id="fieldComparativeParentLevel"> 
carlos@0
   219
              <SPAN id="buttonTreexz" class="datawarehouseclose"></SPAN></A> <SPAN id="fieldComparativeNivel"></SPAN></div></TD>
carlos@0
   220
            <TD width="18%" align="right"  id="fieldComparativeClassLevel"> 
carlos@0
   221
              <SPAN id="fieldComparativeTotalAmt"></SPAN></TD>
carlos@0
   222
          </TR>
carlos@0
   223
          <TR class="TableHeaderLevel1"> 
carlos@0
   224
            <TD width="xx%" id="fieldComparativeWidthMargin"></TD>
carlos@0
   225
            <TD width="yy%" id="fieldComparativeWidth" > <SPAN id="fieldComparativeNivel"></SPAN></TD>
carlos@0
   226
            <TD width="18%" align="right" > <SPAN id="fieldComparativeTotalAmtRef"></SPAN></TD>
carlos@0
   227
          </TR>
carlos@0
   228
          <TR class="TableHeaderLevel1"> 
carlos@0
   229
            <TD width="xx%" id="fieldComparativeWidthMargin"></TD>
carlos@0
   230
            <TD width="yy%"  id="fieldComparativeWidth">&nbsp;</TD>
carlos@0
   231
            <TD width="18%" align="right" > <SPAN id="fieldComparativePercent">&nbsp;</SPAN></TD>
carlos@0
   232
          </TR>
carlos@0
   233
        </DIV>
carlos@0
   234
      </TABLE>
carlos@0
   235
      <SPAN id="returnTextsz"></SPAN></DIV>
carlos@0
   236
  </DIV>
carlos@0
   237
  <DIV id="selEliminarDetail4"> 
carlos@0
   238
    <TABLE width="70%" align="center" class="Border" border="1" cellspacing="0" cellpadding="0">
carlos@0
   239
      <TR class="Border TableDetailHeader"> 
carlos@0
   240
        <TD width="40%"> <FONT size="-1">Final&nbsp;<SPAN id="fieldComparativePeriodFinal"></SPAN></FONT></TD>
carlos@0
   241
      </TR>
carlos@0
   242
    </TABLE>
carlos@0
   243
    <BR></BR>
carlos@0
   244
    <TABLE width="150%" align="center" id="selEliminar3">
carlos@0
   245
      <TR class="Border TableDetailRowEven"> 
carlos@0
   246
        <TD width="22%" > <SPAN >Period</SPAN></TD>
carlos@0
   247
        <DIV id="sectionPeriod"> 
carlos@0
   248
          <TD width="6%" > <SPAN  id="fieldPeriod"></SPAN></TD>
carlos@0
   249
        </DIV>
carlos@0
   250
        <TD width="6%" align="right" class="TableDetailHeader">Final balance</TD>
carlos@0
   251
      </TR>
carlos@0
   252
    </TABLE>
carlos@0
   253
    <DIV id="sectionComparativePeriodNivel"> 
carlos@0
   254
      <TABLE width="150%" align="center" id="selEliminar3">
carlos@0
   255
        <TR class="TableHeaderLevel1"> 
carlos@0
   256
          <TD width="22%"> <TABLE width="100%">
carlos@0
   257
              <TR class="TableHeaderLevel1"> 
carlos@0
   258
                <TD width="xx%" id="fieldComparativePeriodWidthMargin">&nbsp;</TD>
carlos@0
   259
                <TD width="yy%" id="fieldComparativePeriodWidthText" ><div style="display: table-cell;">
carlos@0
   260
                  <A href="#" onclick="actualizarDatos('OPEN', 'xx', 'yy', 'zz', 'ww', 'mm', 'pp', 'aa');return false;" onmouseover="window.status='Open';return true;" onmouseout="window.status='';return true;" id="fieldComparativePeriodParentLevel"> 
carlos@0
   261
                  <SPAN id="buttonTreexj" class="datawarehouseclose"></SPAN></A> 
carlos@0
   262
                  <SPAN id="fieldComparativePeriodNivel"></SPAN></div></TD>
carlos@0
   263
              </TR>
carlos@0
   264
              <TR class="TableHeaderLevel1"> 
carlos@0
   265
                <TD width="xx%" id="fieldComparativePeriodWidthMargin">&nbsp;</TD>
carlos@0
   266
                <TD width="yy%" id="fieldComparativePeriodWidthTextRef" > 
carlos@0
   267
                  <SPAN id="fieldComparativePeriodNivel"></SPAN></TD>
carlos@0
   268
              </TR>
carlos@0
   269
              <TR class="TableHeaderLevel1">  
carlos@0
   270
                <TD width="xx%" id="fieldComparativePeriodWidthMargin">&nbsp;</TD>
carlos@0
   271
                <TD width="yy%" id="fieldComparativePeriodWidth" >&nbsp;</TD>
carlos@0
   272
              </TR>
carlos@0
   273
            </TABLE></TD>
carlos@0
   274
          <DIV id="sectionComparativePeriodDetail"> 
carlos@0
   275
            <TD width="6%"> <TABLE width="100%">
carlos@0
   276
                <TR class="TableHeaderLevel1"> 
carlos@0
   277
                  <TD width="100%" align="right" id="fieldComparativePeriodClassLevel" > 
carlos@0
   278
                    <SPAN id="fieldComparativePeriodAcumulativeTotalAmt"></SPAN></TD>
carlos@0
   279
                </TR>
carlos@0
   280
                <TR class="TableHeaderLevel1"> 
carlos@0
   281
                  <TD width="100%" align="right" id="fieldComparativePeriodClassLevelRef" > 
carlos@0
   282
                    <SPAN id="fieldComparativePeriodAcumulativeTotalAmtRef"></SPAN></TD>
carlos@0
   283
                </TR>
carlos@0
   284
                <TR class="TableHeaderLevel1"> 
carlos@0
   285
                  <TD width="100%" align="right"  id="fieldCPAcumulativePercent"></TD>
carlos@0
   286
                </TR>
carlos@0
   287
              </TABLE></TD>
carlos@0
   288
          </DIV>
carlos@0
   289
          <TD width="6%"> <TABLE width="100%">
carlos@0
   290
              <TR class="TableHeaderLevel1"> 
carlos@0
   291
                <TD width="100%" align="right"  id="fieldComparativePeriodTotalFinalClass"> 
carlos@0
   292
                  <SPAN id="fieldComparativePeriodTotalFinal"></SPAN></TD>
carlos@0
   293
              </TR>
carlos@0
   294
              <TR class="TableHeaderLevel1"> 
carlos@0
   295
                <TD width="100%" align="right"  id="fieldComparativePeriodTotalFinalRefClass"> 
carlos@0
   296
                  <SPAN id="fieldComparativePeriodTotalFinalRef"></SPAN></TD>
carlos@0
   297
              </TR>
carlos@0
   298
              <TR class="TableHeaderLevel1"> 
carlos@0
   299
                <TD width="100%" align="right"  id="fieldComparativePeriodTotalFinalPercent"></TD>
carlos@0
   300
              </TR>
carlos@0
   301
            </TABLE></TD>
carlos@0
   302
        </TR>
carlos@0
   303
      </TABLE>
carlos@0
   304
      <SPAN id="returnTextsj"></SPAN></DIV>
carlos@0
   305
  </DIV>
carlos@0
   306
                 
carlos@0
   307
</FORM>
carlos@0
   308
</body>
carlos@0
   309
</html>
carlos@0
   310