diff --git a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/OPListExportScheduler.java b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/OPListExportScheduler.java index 1cb1694..9a73bca 100644 --- a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/OPListExportScheduler.java +++ b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/OPListExportScheduler.java @@ -26,6 +26,7 @@ import java.text.DateFormat; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.SimpleDateFormat; +import java.util.Date; import java.util.List; import java.util.logging.Logger; @@ -35,6 +36,7 @@ import javax.ejb.TransactionAttributeType; import org.imixs.marty.team.TeamService; import org.imixs.workflow.ItemCollection; +import org.imixs.workflow.WorkflowKernel; import org.imixs.workflow.engine.DocumentService; import org.imixs.workflow.engine.WorkflowService; import org.imixs.workflow.engine.scheduler.Scheduler; @@ -105,6 +107,8 @@ public class OPListExportScheduler implements Scheduler { // erzeuge eine OP-Liste ItemCollection workitem = new ItemCollection(); workitem.setItemValue("space.ref", space.getUniqueID()); + // set creation date! + workitem.setItemValue(WorkflowKernel.CREATED,new Date()); processOPListe(workitem); } } catch (QueryException e) { diff --git a/office-alexander-logistics-app/src/test/resources/datev/EXTF_OPD_migration_2022-test-1.csv b/office-alexander-logistics-app/src/test/resources/datev/EXTF_OPD_migration_2022-test-1.csv index e0b7e91..ea28a01 100644 --- a/office-alexander-logistics-app/src/test/resources/datev/EXTF_OPD_migration_2022-test-1.csv +++ b/office-alexander-logistics-app/src/test/resources/datev/EXTF_OPD_migration_2022-test-1.csv @@ -1,3 +1,8 @@ "EXTF";"510";21;"Buchungsstapel";7;"20220721060421653";"";"CS";"cargoservice";"";"";"";"20220101";"4";"20220101";"20221231";"202206ALL";"CS";"";"";0;"EUR";"";"";"";"";"";"";"";"";"" Umsatz (ohne Soll-/Haben-Kennzeichen);Soll-Haben-Kennzeichen;WKZ Umsatz;Kurs;Basisumsatz;WKZ Basisumsatz;Konto;Gegenkonto;BU-Schlüssel;Belegdatum;Belegfeld 1;Belegfeld 2;Skonto;Buchungstext;Postensperre;Diverse Adressnummer;Geschäftspartnerbank;Sachverhalt;Zinssperre;Beleglink;Beleginfo-Art 1;Beleginfo-Inhalt 1;Beleginfo-Art 2;Beleginfo-Inhalt 2;Beleginfo-Art 3;Beleginfo-Inhalt 3;Beleginfo-Art 4;Beleginfo-Inhalt 4;Beleginfo-Art 5;Beleginfo-Inhalt 5;Beleginfo-Art 6;Beleginfo-Inhalt 6;Beleginfo-Art 7;Beleginfo-Inhalt 7;Beleginfo-Art 8;Beleginfo-Inhalt 8;KOST1-Kostenstelle;KOST2-Kostenstelle;KOST-Menge;EU-Mitgliedstaatu. USt-IdNr.;EU-Steuersatz;Abw. Versteuerungsart;Sachverhalt L+L;Funktionserg�nzung L+L;BU 49 Hauptfunktionstyp;BU 49 Hauptfunktionsnummer;BU 49 Funktionserg�nzung;Zusatzinformation-Art 1;Zusatzinformation-Inhalt 1;Zusatzinformation-Art 2;Zusatzinformation-Inhalt 2;Zusatzinformation-Art 3;Zusatzinformation-Inhalt 3;Zusatzinformation-Art 4;Zusatzinformation-Inhalt 4;Zusatzinformation-Art 5;Zusatzinformation-Inhalt 5;Zusatzinformation-Art 6;Zusatzinformation-Inhalt 6;Zusatzinformation-Art 7;Zusatzinformation-Inhalt 7;Zusatzinformation-Art 8;Zusatzinformation-Inhalt 8;Zusatzinformation-Art 9;Zusatzinformation-Inhalt 9;Zusatzinformation-Art 10;Zusatzinformation-Inhalt 10;Zusatzinformation-Art 11;Zusatzinformation-Inhalt 11;Zusatzinformation-Art 12;Zusatzinformation-Inhalt 12;Zusatzinformation-Art 13;Zusatzinformation-Inhalt 13;Zusatzinformation-Art 14;Zusatzinformation-Inhalt 14;Zusatzinformation-Art 15;Zusatzinformation-Inhalt 15;Zusatzinformation-Art 16;Zusatzinformation-Inhalt 16;Zusatzinformation-Art 17;Zusatzinformation-Inhalt 17;Zusatzinformation-Art 18;Zusatzinformation-Inhalt 18;Zusatzinformation-Art 19;Zusatzinformation-Inhalt 19;Zusatzinformation-Art 20;Zusatzinformation-Inhalt 20;St�ck;Gewicht;Zahlweise;Forderungsart;Veranlagungsjahr;Zugeordnete F�lligkeit;Skontotyp;Auftragsnummer;Buchungstyp;USt-Schl�ssel (Anzahlungen);EU-Mitgliedstaat (Anzahlungen);Sachverhalt L+L (Anzahlungen);EU-Steuersatz (Anzahlungen);Erlöskonto (Anzahlungen);Herkunft-Kz;Leerfeld;KOST-Datum;SEPAMandatsreferenz;Skontosperre;Gesellschaftername;Beteiligtennummer;Identifikationsnummer;Zeichnernummer;Postensperre bis;Bezeichnung SoBil-Sachverhalt;Kennzeichen SoBil-Buchung;Festschreibung;Leistungsdatum;Datum Zuord. Steuerperiode 2810,00;"H";"EUR";0,000000;0,00;;8011;12976;;1410;"183885";;;"R IM-GCA-2210-031";0;;;0;;;;;Faelligkeit;20221113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +14145,00;"S";"USD";1,028820;13748,76;"EUR";8010;10211;;1811;"186703";;;"R EX-SAL-2210-137";0;;;0;;;;;Faelligkeit;20221202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +148,55;"H";"EUR";0,000000;0,00;;8011;10211;;2411;"187077";;;"R LA-ZEL-2207-064";0;;;0;;;;;Faelligkeit;20221208;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +76,56;"S";"EUR";0,000000;0,00;;8011;10211;;1412;"188448";;;"G LA-ZEL-2208-060";0;;;0;;;;;Faelligkeit;20230125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +76,56;"H";"EUR";0,000000;0,00;;8011;10211;;1412;"188450";;;"SG LA-ZEL-2208-060";0;;;0;;;;;Faelligkeit;20221228;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +10080,00;"H";"USD";1,019129;9890,80;"EUR";8010;10211;;1612;"188733";;;"R EX-SAL-2211-127";0;;;0;;;;;Faelligkeit;20221230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/templates/op-liste_template.xlsx b/templates/op-liste_template.xlsx index 254fb86..8769e24 100644 Binary files a/templates/op-liste_template.xlsx and b/templates/op-liste_template.xlsx differ diff --git a/workflow/opliste-de-1.0.0.bpmn b/workflow/opliste-de-1.0.0.bpmn index bce14e2..bb72a7e 100644 --- a/workflow/opliste-de-1.0.0.bpmn +++ b/workflow/opliste-de-1.0.0.bpmn @@ -81,22 +81,22 @@ th { font-weight: bold;} StartEvent_1 Task_1 - EndEvent_3 + IntermediateCatchEvent_3 + IntermediateCatchEvent_1 Task_2 Task_4 IntermediateCatchEvent_8 - IntermediateCatchEvent_3 - IntermediateCatchEvent_1 + EndEvent_3 IntermediateCatchEvent_2 SequenceFlow_4 - + - sequencenumber $created - space.name]]> + sequencenumber space.name - $created]]> true @@ -140,7 +140,7 @@ th { font-weight: bold;} - sequencenumber $created - space.name]]> + sequencenumber space.name - $created]]> @@ -207,9 +207,17 @@ th { font-weight: bold;} - ]]> + Html-Header +Hallo, + +Bitte prüfen Sie die angefügte OP-Liste. Diese enthält sämtlich noch offenen Rechnungen zum Zeitpunkt des Exports für diesen Fachbereich. + + +Nach Prüfung schließen Sie bitte den Vorgang über die Schaltfläche "Erledigt" ab. + +application.urlpages/workitems/workitem.jsf?id=$uniqueid + +Html-Footer]]> @@ -292,7 +300,7 @@ th { font-weight: bold;} - sequencenumber $created - space.name]]> + sequencenumber space.name - $created]]> true @@ -325,6 +333,9 @@ th { font-weight: bold;} + + home]]> + SequenceFlow_17 SequenceFlow_18 @@ -363,13 +374,13 @@ th { font-weight: bold;} - + - + @@ -387,15 +398,15 @@ th { font-weight: bold;} - + - + - + - + @@ -423,21 +434,21 @@ th { font-weight: bold;} - + - + - + - + - + - + @@ -453,45 +464,45 @@ th { font-weight: bold;} - - - + + + - - + + - - - + + + - - - + + + - - - + + + - - + + - - - + + +
Hallo,
+Bitte prüfen Sie die angefügte OP-Liste. Diese enthält sämtlich noch offenen Rechnungen zum Zeitpunkt des Exports für diesen Fachbereich. +
+Nach Prüfung schließen Sie bitte den Vorgang über die Schaltfläche "Erledigt" ab. +