Commit 7be1ab19 authored by Volkan Uygun's avatar Volkan Uygun

refs #3994 Kasa durum raporlarının PDF ve XLS yapılarında Kasa Gider fişinden...

refs #3994 Kasa durum raporlarının PDF ve XLS yapılarında Kasa Gider fişinden gelen kayıtların gösterip-hesaplama hatası düzeltildi. 
parent 51640d57
......@@ -17,13 +17,16 @@
<parameter name="pCurrency" class="java.lang.String">
<defaultValueExpression><![CDATA[null]]></defaultValueExpression>
</parameter>
<parameter name="pWorkBunchId" class="java.lang.Long">
<defaultValueExpression><![CDATA[null]]></defaultValueExpression>
</parameter>
<queryString>
<![CDATA[select sum(acc.LCYVAL * case when acc.FINANCE_ACTION = 1 then -1 else 1 end) as oncekiBakiye
<![CDATA[select sum(acc.CCYVAL * case when acc.FINANCE_ACTION = 1 then -1 else 1 end) as oncekiBakiye
from ACCOUNT_TXN acc
where (($P{pAccount} is null) or (acc.ACCOUNT_ID = $P{pAccount}))
and ((acc.TXN_DATE < $P{pBDate}))
and (($P{pCurrency} is null) or (acc.CCY = $P{pCurrency}))
]]>
and (($P{pWorkBunchId} is null) or (acc.WORK_BUNCH_ID = $P{pWorkBunchId}))]]>
</queryString>
<field name="oncekiBakiye" class="java.math.BigDecimal"/>
<variable name="sendValue" class="java.math.BigDecimal">
......
......@@ -17,12 +17,16 @@
<parameter name="pCurrency" class="java.lang.String">
<defaultValueExpression><![CDATA[null]]></defaultValueExpression>
</parameter>
<parameter name="pWorkBunchId" class="java.lang.Long">
<defaultValueExpression><![CDATA[null]]></defaultValueExpression>
</parameter>
<queryString>
<![CDATA[select sum(acc.LCYVAL * case when acc.FINANCE_ACTION = 1 then -1 else 1 end) as oncekiBakiye
<![CDATA[select sum(acc.CCYVAL * case when acc.FINANCE_ACTION = 1 then -1 else 1 end) as oncekiBakiye
from ACCOUNT_TXN acc
where (($P{pAccount} is null) or (acc.ACCOUNT_ID = $P{pAccount}))
and ((acc.TXN_DATE < $P{pBDate}))
and (($P{pCurrency} is null) or (acc.CCY = $P{pCurrency}))]]>
and (($P{pCurrency} is null) or (acc.CCY = $P{pCurrency}))
and (($P{pWorkBunchId} is null) or (acc.WORK_BUNCH_ID = $P{pWorkBunchId}))]]>
</queryString>
<field name="oncekiBakiye" class="java.math.BigDecimal"/>
<variable name="sendValue" class="java.math.BigDecimal">
......@@ -41,7 +45,7 @@ and (($P{pCurrency} is null) or (acc.CCY = $P{pCurrency}))]]>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="10" splitType="Stretch"/>
<band height="16" splitType="Stretch"/>
</detail>
<columnFooter>
<band splitType="Stretch"/>
......
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="kasa_durum" pageWidth="715" pageHeight="842" columnWidth="677" leftMargin="19" rightMargin="19" topMargin="0" bottomMargin="0">
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="kasa_durum_xls" pageWidth="800" pageHeight="842" columnWidth="762" leftMargin="19" rightMargin="19" topMargin="0" bottomMargin="0">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
......@@ -47,7 +47,7 @@ group by acct.CCY]]>
<title>
<band height="24" splitType="Stretch">
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement key="textField" mode="Transparent" x="295" y="0" width="65" height="24" forecolor="#000000"/>
<reportElement key="textField" mode="Transparent" x="295" y="0" width="75" height="24" forecolor="#000000"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
......@@ -60,7 +60,7 @@ group by acct.CCY]]>
<textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
</textField>
<staticText>
<reportElement key="staticText-14" mode="Transparent" x="360" y="0" width="135" height="24"/>
<reportElement key="staticText-14" mode="Transparent" x="465" y="0" width="99" height="24"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
......@@ -73,7 +73,7 @@ group by acct.CCY]]>
<text><![CDATA[TARİH ARALIĞI : ]]></text>
</staticText>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement key="textField-14" x="569" y="0" width="74" height="24"/>
<reportElement key="textField-14" x="663" y="0" width="74" height="24"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
......@@ -86,7 +86,7 @@ group by acct.CCY]]>
<textFieldExpression class="java.util.Date"><![CDATA[$P{pEDate}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement key="textField-13" x="495" y="0" width="74" height="24"/>
<reportElement key="textField-13" x="564" y="0" width="74" height="24"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
......@@ -133,9 +133,9 @@ group by acct.CCY]]>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="28" splitType="Stretch">
<band height="16" splitType="Stretch">
<subreport>
<reportElement x="0" y="0" width="675" height="28"/>
<reportElement x="0" y="0" width="762" height="16"/>
<subreportParameter name="SUBREPORT_DIR">
<subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
</subreportParameter>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment