This commit is contained in:
2023-03-29 09:30:52 +02:00

View File

@@ -165,6 +165,7 @@ Public Class frmBU_Mahnlauf
Dim sqlStr = "SELECT sum(dec_fremdbrutto+dec_fremdzahlung)
FROM op_debitor OP
WHERE (OP.i_firm_refid = '" & Firma_ID & "') AND (dt_geloescht IS NULL)
and isnull(si_mahnflags,0) <>(1)
and OP.i_personenkonto='" & KdNr & "'"
Return (SQL.getValueTxtBySql(sqlStr, "FIBU",,, 0) > 0)