Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4e2b549a

Von Sven Schöling vor fast 15 Jahren hinzugefügt

  • ID 4e2b549a28f09fdc749f380a3e8c458c4ff53273
  • Vorgänger 251480b5
  • Nachfolger 6ce9fc3a

RP->aging: storno kann auch NULL sein

Fehler trat auf, weil Kreditorenbuchungen nicht sicher gehen, dass storno auf false steht.
Dieser Fix behebt das für diesen speziellen Fall.

storno sollte später auf NOT NULL gesetzt werden.

Unterschiede anzeigen:

SL/RP.pm
AND (exchangerate.transdate = ${arap}.transdate)) AS exchangerate
FROM ${arap}, ${ct}
WHERE ((paid != amount) OR (datepaid > (date $todate) AND datepaid is not null))
AND (${arap}.storno IS FALSE)
AND NOT COALESCE (${arap}.storno, 'f')
AND (${arap}.${ct}_id = ${ct}.id)
AND (${ct}.id = ?)
AND (transdate <= (date $todate) $fromwhere )

Auch abrufbar als: Unified diff