Merge 2024.3 DB49b patches
svn path=/Database/trunk/; revision=66927
This commit is contained in:
@@ -544,15 +544,13 @@ AS
|
||||
DBMS_OUTPUT.put_line ('Totaal gefactureerd periode: ' || totaaltermijngefactureerd);
|
||||
END IF;
|
||||
|
||||
IF contractkosten IS NULL
|
||||
THEN
|
||||
retval := 0;
|
||||
ELSIF totaalgefactureerd <=
|
||||
contractkosten + fac.safe_to_number (fac.getsetting ('cnt_factuur_totaalmarge'))
|
||||
AND fin.tolerantiematch (discipline,
|
||||
ftype,
|
||||
totaaltermijngefactureerd,
|
||||
COALESCE (factuurschemabedrag, contracttermijnkosten)) = 1
|
||||
IF ( totaalgefactureerd <=
|
||||
contractkosten + fac.safe_to_number (fac.getsetting ('cnt_factuur_totaalmarge'))
|
||||
OR contractkosten IS NULL)
|
||||
AND fin.tolerantiematch (discipline,
|
||||
ftype,
|
||||
totaaltermijngefactureerd,
|
||||
COALESCE (factuurschemabedrag, contracttermijnkosten)) = 1
|
||||
THEN
|
||||
retval := 1;
|
||||
ELSE
|
||||
|
||||
Reference in New Issue
Block a user