BLCC#75841 PQ-export/Soft Services Cleaning weer terugzetten naar 1e van de maand
svn path=/Customer/trunk/; revision=58380
This commit is contained in:
@@ -4210,7 +4210,7 @@ AS
|
||||
prs_kostenplaats kp,
|
||||
prs_bedrijf b,
|
||||
prs_perslid p
|
||||
WHERE TO_CHAR (SYSDATE, 'dd') = '16' -- Evt. termijn doorzetten op 1e dag van de boekmaand!
|
||||
WHERE TO_CHAR (SYSDATE, 'dd') = '01' -- Evt. termijn doorzetten op 1e dag van de boekmaand!
|
||||
AND x.sch_maand = TO_CHAR (TRUNC (SYSDATE, 'mm') - 1, 'yyyy-mm') -- Voorgaande maand!
|
||||
AND x.sch_contract IS NOT NULL
|
||||
AND fac.safe_to_number (SUBSTR (x.sch_mantel, 1, INSTR (x.sch_mantel, '=') - 1)) = mc.cnt_contract_key(+)
|
||||
|
||||
Reference in New Issue
Block a user