IST
PLAN
ADialog (5)
ADialog_Hr_Cal (1)
AJob (3)
App-Detail (7)
App-Link (39)
AReport (3)
Server-VM (1)
Software (1)
demo-online
Beschreibung
Bemerkung
Support
Hist
Plan
OK
abbrechen
Material
Stunden
Wiederholung
OK
abbrechen
ermitteln und darstellen. z.B.
...
...
bericht... sort bericht_grp_text konto_grp1, ... ------------ ---- ---------------- --------------- Kalkulation 11 Btto Umsatz 040 Kalkulation 13 Prop. Vertriebsk. 190 Kalkulation 15 * UMSATZ 040 190 Kalkulation 17 Materialeinzelk. 240 Kalkulation 18 Prop. Mat. Gemeink. 270 Kalkulation 20 = Material 240 270 Kalkulation 30 * DB 1 040 190 240 270 Kalkulation 32 Lohneinzelk. 360 Kalkulation 34 Lohngemeink. 370 Kalkulation 36 = Lohnk. 360 370 Kalkulation 42 = Prop. Einzelk. 240 360 Kalkulation 40 = Fert. Kosten 360 370 Kalkulation 45 = Prop. Gemeink. 270 370 Kalkulation 47 = Herstellk. 240 270 360 370 Kalkulation 50 * DB 2 040 190 240 270 360 370 Kalkulation 55 Fixk. 750 Kalkulation 60 * ERGEBNIS 040 190 240 270 360 370 750
create view aea_cos.konten_grp_berichte_qry as SELECT cos_id, vorgang_knz, adressnr, bericht_name, bericht_sort, bericht_grp_text, -- konto_grp_texts, round( kore_saldo, 0) as kore_saldo, -- min_konto_grp, min_konto_grp_text, max_konto_grp, max_konto_grp_text, -- case when bericht_grp_text = '* UMSATZ' and (kore_saldo - prop_vertriebsk) <> 0 then round( prop_vertriebsk / (kore_saldo - prop_vertriebsk) * 100, 2) when bericht_grp_text = '= Material' and (kore_saldo - prop_mat_gemeink) <> 0 then round( prop_mat_gemeink / (kore_saldo - prop_mat_gemeink) * 100, 2) when bericht_grp_text = '= Lohnk.' and (kore_saldo - lohngemeink) <> 0 then round( lohngemeink / (kore_saldo - lohngemeink) * 100, 2) end as prop_k_p, -- prop_vertriebsk, prop_mat_gemeink, lohngemeink -- FROM aea_cos.konten_grp_berichte_raw order by 1, 2, 3, 4, 5, 6, 7 ;