details:   https://code.openbravo.com/erp/devel/pi/rev/c60e27530619
changeset: 23056:c60e27530619
user:      Rafa Roda Palacios <rafa.roda <at> ubiquads.com>
date:      Wed May 14 10:32:46 2014 +0200
summary:   Fixes Issue 26148 Modified ReportGeneralLedgerJournal JRXML file so 
entry numbers > 9999 are displayed

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml |  34 
+++++-----
 1 files changed, 17 insertions(+), 17 deletions(-)

diffs (156 lines):

diff -r 927030652194 -r c60e27530619 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml   
Mon May 12 22:19:01 2014 +0530
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.jrxml   
Wed May 14 10:32:46 2014 +0200
@@ -47,7 +47,7 @@
        <parameter name="TaxID" class="java.lang.String" 
isForPrompting="false"/>
        <parameter name="ShowDescription" class="java.lang.String"/>
        <parameter name="strDateFormat" class="java.lang.String" 
isForPrompting="false">
-          
<defaultValueExpression><![CDATA["dd/MM/yyyy"]]></defaultValueExpression>
+               
<defaultValueExpression><![CDATA["dd/MM/yyyy"]]></defaultValueExpression>
        </parameter>
        <queryString>
                <![CDATA[SELECT SCHEMA_ID, SCHEMA_NAME, IDENTIFIER, DATEACCT, 
VALUE, NAME, ID, AD_TABLE_ID, DOCBASETYPE, SEQNO, '' AS TOTAL, '' AS 
DESCRIPTION,
@@ -171,7 +171,7 @@
                                        
<printWhenExpression><![CDATA[$P{ShowDescription}.equals( "" 
)]]></printWhenExpression>
                                </reportElement>
                                <staticText>
-                                       <reportElement key="staticText-9" 
style="GroupHeader_DarkGray" x="2" y="2" width="31" height="18" 
forecolor="#000000" backcolor="#FFFFFF"/>
+                                       <reportElement key="staticText-9" 
style="GroupHeader_DarkGray" x="4" y="2" width="69" height="18" 
forecolor="#000000" backcolor="#FFFFFF"/>
                                        <box leftPadding="5">
                                                <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -184,7 +184,7 @@
                                        <text><![CDATA[Entry]]></text>
                                </staticText>
                                <staticText>
-                                       <reportElement key="staticText-10" 
style="GroupHeader_DarkGray" x="31" y="2" width="54" height="18" 
forecolor="#000000" backcolor="#FFFFFF"/>
+                                       <reportElement key="staticText-10" 
style="GroupHeader_DarkGray" x="73" y="2" width="54" height="18" 
forecolor="#000000" backcolor="#FFFFFF"/>
                                        <box leftPadding="5">
                                                <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -197,7 +197,7 @@
                                        <text><![CDATA[Date]]></text>
                                </staticText>
                                <staticText>
-                                       <reportElement key="staticText-3" 
style="GroupHeader_Gray" x="213" y="2" width="76" height="18" 
backcolor="#FFFFFF"/>
+                                       <reportElement key="staticText-3" 
style="GroupHeader_Gray" x="214" y="2" width="76" height="18" 
backcolor="#FFFFFF"/>
                                        <box leftPadding="2" rightPadding="2">
                                                <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -249,7 +249,7 @@
                                        <text><![CDATA[Credit]]></text>
                                </staticText>
                                <staticText>
-                                       <reportElement mode="Opaque" x="89" 
y="2" width="125" height="18" isPrintWhenDetailOverflows="true" 
forecolor="#000000" backcolor="#FFFFFF"/>
+                                       <reportElement mode="Opaque" x="129" 
y="2" width="84" height="18" isPrintWhenDetailOverflows="true" 
forecolor="#000000" backcolor="#FFFFFF"/>
                                        <textElement textAlignment="Left" 
verticalAlignment="Middle" rotation="None" lineSpacing="Single" markup="none">
                                                <font fontName="DejaVu Sans" 
size="8" isBold="true" isItalic="false" isUnderline="false" 
isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" 
isPdfEmbedded="false"/>
                                        </textElement>
@@ -267,7 +267,7 @@
                                        
<printWhenExpression><![CDATA[$P{ShowDescription}.equals( "Y" 
)]]></printWhenExpression>
                                </reportElement>
                                <staticText>
-                                       <reportElement key="staticText-9" 
style="GroupHeader_DarkGray" x="1" y="2" width="31" height="18" 
forecolor="#000000" backcolor="#FFFFFF"/>
+                                       <reportElement key="staticText-9" 
style="GroupHeader_DarkGray" x="1" y="2" width="70" height="18" 
forecolor="#000000" backcolor="#FFFFFF"/>
                                        <box leftPadding="5">
                                                <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -280,7 +280,7 @@
                                        <text><![CDATA[Entry]]></text>
                                </staticText>
                                <staticText>
-                                       <reportElement key="staticText-10" 
style="GroupHeader_DarkGray" x="31" y="2" width="54" height="18" 
forecolor="#000000" backcolor="#FFFFFF"/>
+                                       <reportElement key="staticText-10" 
style="GroupHeader_DarkGray" x="74" y="2" width="54" height="18" 
forecolor="#000000" backcolor="#FFFFFF"/>
                                        <box leftPadding="5">
                                                <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -293,7 +293,7 @@
                                        <text><![CDATA[Date]]></text>
                                </staticText>
                                <staticText>
-                                       <reportElement key="staticText-3" 
style="GroupHeader_Gray" x="214" y="2" width="76" height="18" 
backcolor="#FFFFFF"/>
+                                       <reportElement key="staticText-3" 
style="GroupHeader_Gray" x="213" y="2" width="76" height="18" 
backcolor="#FFFFFF"/>
                                        <box leftPadding="2" rightPadding="2">
                                                <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                <leftPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -345,7 +345,7 @@
                                        <text><![CDATA[Credit]]></text>
                                </staticText>
                                <staticText>
-                                       <reportElement mode="Opaque" x="88" 
y="2" width="125" height="18" isPrintWhenDetailOverflows="true" 
forecolor="#000000" backcolor="#FFFFFF"/>
+                                       <reportElement mode="Opaque" x="130" 
y="2" width="85" height="18" isPrintWhenDetailOverflows="true" 
forecolor="#000000" backcolor="#FFFFFF"/>
                                        <textElement textAlignment="Left" 
verticalAlignment="Middle" rotation="None" lineSpacing="Single" markup="none">
                                                <font fontName="DejaVu Sans" 
size="8" isBold="true" isItalic="false" isUnderline="false" 
isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" 
isPdfEmbedded="false"/>
                                        </textElement>
@@ -382,7 +382,7 @@
                                        </textElement>
                                        <textFieldExpression 
class="java.lang.String"><![CDATA[$F{VALUE}]]></textFieldExpression>
                                </textField>
-                               <textField isBlankWhenNull="false">
+                               <textField isStretchWithOverflow="true" 
isBlankWhenNull="false">
                                        <reportElement key="textField" x="291" 
y="0" width="118" height="10"/>
                                        <box leftPadding="2" rightPadding="2">
                                                <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -424,7 +424,7 @@
                                <frame>
                                        <reportElement 
isPrintRepeatedValues="false" x="0" y="0" width="217" height="10"/>
                                        <textField pattern="" 
isBlankWhenNull="false">
-                                               <reportElement 
key="textField-1" style="GroupHeader_DarkGray" mode="Opaque" x="3" y="0" 
width="28" height="10" printWhenGroupChanges="JournalEntry" forecolor="#000000" 
backcolor="#FFFFFF"/>
+                                               <reportElement 
key="textField-1" style="GroupHeader_DarkGray" mode="Opaque" x="4" y="0" 
width="69" height="10" printWhenGroupChanges="JournalEntry" forecolor="#000000" 
backcolor="#FFFFFF"/>
                                                <box leftPadding="5">
                                                        <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                        <leftPen 
lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -437,7 +437,7 @@
                                                <textFieldExpression 
class="java.math.BigDecimal"><![CDATA[($V{entry}!=null)?$V{entry}.add(new 
BigDecimal($P{InitialEntryNumber})).subtract(BigDecimal.ONE): 
BigDecimal.ONE]]></textFieldExpression>
                                        </textField>
                                        <textField isBlankWhenNull="false">
-                                               <reportElement 
key="textField-2" style="GroupHeader_DarkGray" mode="Opaque" x="33" y="0" 
width="54" height="10" printWhenGroupChanges="JournalEntry" forecolor="#000000" 
backcolor="#FFFFFF"/>
+                                               <reportElement 
key="textField-2" style="GroupHeader_DarkGray" mode="Opaque" x="73" y="0" 
width="54" height="10" printWhenGroupChanges="JournalEntry" forecolor="#000000" 
backcolor="#FFFFFF"/>
                                                <box leftPadding="5">
                                                        <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                        <leftPen 
lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -450,7 +450,7 @@
                                                <textFieldExpression 
class="java.util.Date"><![CDATA[$F{DATEACCT}]]></textFieldExpression>
                                        </textField>
                                        <textField isStretchWithOverflow="true" 
isBlankWhenNull="true">
-                                               <reportElement key="textField" 
x="91" y="0" width="126" height="10" isPrintWhenDetailOverflows="true" 
printWhenGroupChanges="JournalEntry"/>
+                                               <reportElement key="textField" 
x="129" y="0" width="84" height="10" isPrintWhenDetailOverflows="true" 
printWhenGroupChanges="JournalEntry"/>
                                                <box leftPadding="2" 
rightPadding="2">
                                                        <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                        <leftPen 
lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -481,7 +481,7 @@
                                        </textElement>
                                        <textFieldExpression 
class="java.lang.String"><![CDATA[$F{VALUE}]]></textFieldExpression>
                                </textField>
-                               <textField isBlankWhenNull="false">
+                               <textField isStretchWithOverflow="true" 
isBlankWhenNull="false">
                                        <reportElement key="textField" x="291" 
y="0" width="118" height="10"/>
                                        <box leftPadding="2" rightPadding="2">
                                                <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
@@ -523,7 +523,7 @@
                                <frame>
                                        <reportElement 
isPrintRepeatedValues="false" x="0" y="0" width="217" height="10"/>
                                        <textField pattern="" 
isBlankWhenNull="false">
-                                               <reportElement 
key="textField-1" style="GroupHeader_DarkGray" mode="Opaque" x="3" y="0" 
width="28" height="10" printWhenGroupChanges="JournalEntry" forecolor="#000000" 
backcolor="#FFFFFF"/>
+                                               <reportElement 
key="textField-1" style="GroupHeader_DarkGray" mode="Opaque" x="1" y="0" 
width="70" height="10" printWhenGroupChanges="JournalEntry" forecolor="#000000" 
backcolor="#FFFFFF"/>
                                                <box leftPadding="5">
                                                        <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                        <leftPen 
lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -536,7 +536,7 @@
                                                <textFieldExpression 
class="java.math.BigDecimal"><![CDATA[($V{entry}!=null)?$V{entry}.add(new 
BigDecimal($P{InitialEntryNumber})).subtract(BigDecimal.ONE): 
BigDecimal.ONE]]></textFieldExpression>
                                        </textField>
                                        <textField isBlankWhenNull="false">
-                                               <reportElement 
key="textField-2" style="GroupHeader_DarkGray" mode="Opaque" x="33" y="0" 
width="54" height="10" printWhenGroupChanges="JournalEntry" forecolor="#000000" 
backcolor="#FFFFFF"/>
+                                               <reportElement 
key="textField-2" style="GroupHeader_DarkGray" mode="Opaque" x="74" y="0" 
width="54" height="10" printWhenGroupChanges="JournalEntry" forecolor="#000000" 
backcolor="#FFFFFF"/>
                                                <box leftPadding="5">
                                                        <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                        <leftPen 
lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -549,7 +549,7 @@
                                                <textFieldExpression 
class="java.util.Date"><![CDATA[$F{DATEACCT}]]></textFieldExpression>
                                        </textField>
                                        <textField isStretchWithOverflow="true" 
isBlankWhenNull="true">
-                                               <reportElement key="textField" 
x="91" y="0" width="126" height="10" isPrintWhenDetailOverflows="true" 
printWhenGroupChanges="JournalEntry"/>
+                                               <reportElement key="textField" 
x="129" y="0" width="87" height="10" isPrintWhenDetailOverflows="true" 
printWhenGroupChanges="JournalEntry"/>
                                                <box leftPadding="2" 
rightPadding="2">
                                                        <topPen lineWidth="0.0" 
lineStyle="Solid" lineColor="#000000"/>
                                                        <leftPen 
lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to