UWVA#36097 procedure update lease factuur uitgebreid met controle op fac_imp_key

svn path=/Customer/trunk/; revision=28948
This commit is contained in:
Suzan Wiegerinck
2016-04-14 13:54:27 +00:00
parent a64c4772e2
commit bcb3265250

View File

@@ -6622,7 +6622,8 @@ AS
btw btwcode,
fac_import_key,
fac_imp_file_index
FROM fac_imp_factuur) imp
FROM fac_imp_factuur
WHERE fac_import_key = p_import_key) imp -- UWVA#36062: historische regels zonder fac_import_key moeten niet meegenomen worden in deze update
LEFT JOIN
fin_btwtabelwaarde btw
ON imp.btwcode = TO_CHAR (btw.fin_btwtabelwaarde_perc)