Eintrag wird nicht angelegt
Posted: 08 Apr 2010, 14:45
Hallo zusammen!
Wir setzen die Version 1.08 ein und haben ein Problem wenn wir Mantiseinträge der folgenden Art vornehmen:
"<pre>
select
buchungskreis_code
, konto_nr
, op_saldo
, umsatz
, nvl(op_saldo, 0) - nvl (umsatz, 0) as differenz
from
(
select
buchungskreis_code
, konto_nr
, sum (op_saldo) as op_saldo
, sum (umsatz) as umsatz
from
(
select
bk.buchungskreis_code
, ko.konto_nr
, sum (pos.betrag) as op_saldo
, null as umsatz
from
dwh_sl.v_debitoren_position pos
, dwh_sl.v_debitoren_beleg db
, dwh_sl.v_buchungskreis bk
, dwh_sl.v_konto ko
where
pos.ausgleichsdatum is null
and pos.debitoren_beleg_id =
db.debitoren_beleg_id
and bk.buchungskreis_id =
db.buchungskreis_id
and ko.konto_id =
pos.hauptbuch_konto_id
and bk.buchungskreis_code in
(
'0100'
, '1900'
)
group by
bk.buchungskreis_code
, ko.konto_nr
union all
select
vz.buchungskreis_code
, ko.konto_nr
, null as op_saldo
, sum (vz.umsatz) as umsatz
from
(
select
bk.buchungskreis_code
, vz.konto_id
, vz.umsatz
from
dwh_sl.v_hauptbuch_verkehrszahlen
vz
, dwh_sl.v_buchungskreis
bk
where bk.buchungskreis_id =
vz.buchungskreis_id
and vz.geschaeftsjahr =
to_number(to_char(sysdate,'yyyy'))
and bk.buchungskreis_code in
(
'0100'
, '1900'
)
) vz
, (
select
ko.konto_id
, ko.konto_nr
from
dwh_sl.v_konto ko
where ko.konto_nr in
(
140000
, 140097
, 140340
, 140350
, 140400
, 140440
, 140480
, 140490
, 140520
, 140530
, 154000
, 195000
, 195010
, 195065
)
) ko
where vz.konto_id (+) = ko.konto_id
group by
vz.buchungskreis_code
, ko.konto_nr
)
group by
buchungskreis_code
, konto_nr
)
where nvl(op_saldo, 0) <> nvl (umsatz, 0)
order by 1,2
</pre>"
Der Eintrag geht verloren/wird nicht angelegt und wir erhalten die folgende Fehlermeldung:
Zero Sized Reply
Squid did not receive any data for this request.
Wo liegt das Problem.
Bin für jede Hilfe dankbar!
Wir setzen die Version 1.08 ein und haben ein Problem wenn wir Mantiseinträge der folgenden Art vornehmen:
"<pre>
select
buchungskreis_code
, konto_nr
, op_saldo
, umsatz
, nvl(op_saldo, 0) - nvl (umsatz, 0) as differenz
from
(
select
buchungskreis_code
, konto_nr
, sum (op_saldo) as op_saldo
, sum (umsatz) as umsatz
from
(
select
bk.buchungskreis_code
, ko.konto_nr
, sum (pos.betrag) as op_saldo
, null as umsatz
from
dwh_sl.v_debitoren_position pos
, dwh_sl.v_debitoren_beleg db
, dwh_sl.v_buchungskreis bk
, dwh_sl.v_konto ko
where
pos.ausgleichsdatum is null
and pos.debitoren_beleg_id =
db.debitoren_beleg_id
and bk.buchungskreis_id =
db.buchungskreis_id
and ko.konto_id =
pos.hauptbuch_konto_id
and bk.buchungskreis_code in
(
'0100'
, '1900'
)
group by
bk.buchungskreis_code
, ko.konto_nr
union all
select
vz.buchungskreis_code
, ko.konto_nr
, null as op_saldo
, sum (vz.umsatz) as umsatz
from
(
select
bk.buchungskreis_code
, vz.konto_id
, vz.umsatz
from
dwh_sl.v_hauptbuch_verkehrszahlen
vz
, dwh_sl.v_buchungskreis
bk
where bk.buchungskreis_id =
vz.buchungskreis_id
and vz.geschaeftsjahr =
to_number(to_char(sysdate,'yyyy'))
and bk.buchungskreis_code in
(
'0100'
, '1900'
)
) vz
, (
select
ko.konto_id
, ko.konto_nr
from
dwh_sl.v_konto ko
where ko.konto_nr in
(
140000
, 140097
, 140340
, 140350
, 140400
, 140440
, 140480
, 140490
, 140520
, 140530
, 154000
, 195000
, 195010
, 195065
)
) ko
where vz.konto_id (+) = ko.konto_id
group by
vz.buchungskreis_code
, ko.konto_nr
)
group by
buchungskreis_code
, konto_nr
)
where nvl(op_saldo, 0) <> nvl (umsatz, 0)
order by 1,2
</pre>"
Der Eintrag geht verloren/wird nicht angelegt und wir erhalten die folgende Fehlermeldung:
Zero Sized Reply
Squid did not receive any data for this request.
Wo liegt das Problem.
Bin für jede Hilfe dankbar!