This commit is contained in:
Ralph Soika 2021-03-22 14:15:19 +01:00
parent 8a04c2fa81
commit 2cc435782f

View file

@ -74,13 +74,14 @@ public class InvoicePlugin extends AbstractPlugin {
"Eingabefehler - Bitte wählen Sie eine Zahlungsart aus!");
}
// doppelte Rechnungsnummer prüfen
validateInvoiceNumber(workitem);
if (workitem.getTaskID() == TASK_ERFASSUNG ) {
validateInvoiceNumber(workitem);
}
// Buchungsperiode auf plausi prüfen
validateBuchungsperiode(workitem);
// Cargosoft Kreditorennnummer prüfen
if (workitem.getTaskID() == TASK_ERFASSUNG || workitem.getTaskID() == TASK_SACHPRUEFUNG) {
// Buchungsperiode auf plausi prüfen
validateBuchungsperiode(workitem);
// Cargosoft Kreditorennnummer prüfen
validateCargosoftCdtrNumber(workitem);
}
}