BLCC#78030 BTW bedrag corrigeren naar €0,00 igv. VRIJ/LEEG-regels
svn path=/Customer/; revision=60315
This commit is contained in:
@@ -25,12 +25,12 @@ SET DEFINE OFF
|
||||
/*
|
||||
SELECT fin_verkoopfactuur_btw
|
||||
FROM fin_verkoopfactuur
|
||||
WHERE fin_btwtabelwaarde_code IN ('VRIJ', 'LEEG')
|
||||
WHERE fin_btwtabelwaarde_perc = 99 --fin_btwtabelwaarde_code IN ('VRIJ', 'LEEG')
|
||||
AND fin_verkoopfactuur_btw != 0;
|
||||
*/
|
||||
UPDATE fin_verkoopfactuur
|
||||
SET fin_verkoopfactuur_btw = 0
|
||||
WHERE fin_btwtabelwaarde_code IN ('VRIJ', 'LEEG')
|
||||
WHERE fin_btwtabelwaarde_perc = 99 --fin_btwtabelwaarde_code IN ('VRIJ', 'LEEG')
|
||||
AND fin_verkoopfactuur_btw != 0;
|
||||
|
||||
------ payload end ------
|
||||
|
||||
Reference in New Issue
Block a user