BSSC#55692 Facturatieproces

svn path=/Customer/trunk/; revision=52625
This commit is contained in:
Maarten van der Heide
2021-08-06 13:56:52 +00:00
parent 9268925ccb
commit 723bb7408c

View File

@@ -5241,7 +5241,7 @@ AS
NULL prj_activa, -- Hard op NULL
SUM (v.mndnet) bedrag, -- Totaalbedrag excl. BTW gegroepeerd over andere kolommen!
'credit' debitcredit, -- TODO:Altijd 'credit' (ook negatieve bedragen)???
SUBSTR ('C' || v.refid || v.regel, 1, 40) omschrijving,
SUBSTR ('C' || v.refid || ' ' || v.regel, 1, 40) omschrijving,
DECODE (v.fin_btwtabelwaarde_code, 'H', 'VH', 'L', 'VL9', 'V', DECODE (kl.prs_kenmerklink_waarde, '-1', 'VBUIEU_VERL', 'VBINEU_VERL'), 'VN'),
NULL mld_melding_key
FROM bssc_v_fact_frozen v,
@@ -5261,7 +5261,7 @@ AS
v.prs_kostenplaats_nr,
NULL,
'credit',
SUBSTR ('C' || v.refid || v.regel, 1, 40),
SUBSTR ('C' || v.refid || ' ' || v.regel, 1, 40),
DECODE (v.fin_btwtabelwaarde_code, 'H', 'VH', 'L', 'VL9', 'V', DECODE (kl.prs_kenmerklink_waarde, '-1', 'VBUIEU_VERL', 'VBINEU_VERL'), 'VN'),
NULL
ORDER BY 1);
@@ -5551,7 +5551,7 @@ AS
NULL prj_activa, -- Hard op NULL
SUM (v.mndnet) bedrag, -- Totaalbedrag excl. BTW gegroepeerd over andere kolommen!
'credit' debitcredit, -- TODO:Altijd 'credit' (ook negatieve bedragen)???
SUBSTR ('C' || v.refid || v.regel, 1, 40) omschrijving,
SUBSTR ('C' || v.refid || ' ' || v.regel, 1, 40) omschrijving,
DECODE (v.fin_btwtabelwaarde_code, 'H', 'VH', 'L', 'VL9', 'V', DECODE (kl.prs_kenmerklink_waarde, '-1', 'VBUIEU_VERL', 'VBINEU_VERL'), 'VN'),
NULL mld_melding_key
FROM bssc_v_fact_frozen v,
@@ -5571,7 +5571,7 @@ AS
v.prs_kostenplaats_nr,
NULL,
'credit',
SUBSTR ('C' || v.refid || v.regel, 1, 40),
SUBSTR ('C' || v.refid || ' ' || v.regel, 1, 40),
DECODE (v.fin_btwtabelwaarde_code, 'H', 'VH', 'L', 'VL9', 'V', DECODE (kl.prs_kenmerklink_waarde, '-1', 'VBUIEU_VERL', 'VBINEU_VERL'), 'VN'),
NULL
ORDER BY 1);