diff --git a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/InvoicePlugin.java b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/InvoicePlugin.java
index 218f574..5d9994d 100644
--- a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/InvoicePlugin.java
+++ b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/InvoicePlugin.java
@@ -32,7 +32,7 @@ import org.imixs.workflow.exceptions.QueryException;
*/
public class InvoicePlugin extends AbstractPlugin {
- public static final int TASK_ERFASSUNG = 5000;
+ public static final int TASK_ERFASSUNG = 5001;
public static final int TASK_SACHPRUEFUNG = 5200;
public static final int EVENT_FREIGEBEN = 20;
@@ -56,7 +56,7 @@ public class InvoicePlugin extends AbstractPlugin {
public ItemCollection run(ItemCollection workitem, ItemCollection documentActivity) throws PluginException {
// Payment.type muss immer eingetragne werden!
- if (workitem.getTaskID() >= TASK_ERFASSUNG) {
+ if (workitem.getTaskID() >= TASK_ERFASSUNG && workitem.getEventID()<900) {
if (workitem.getItemValueString("payment.type").trim().isEmpty()) {
// throw a plugin exception!
throw new PluginException(InvoicePlugin.class.getName(), ERROR_MISSING_DATA,
diff --git a/office-alexander-logistics-app/src/main/webapp/pages/workitems/forms/alexander/sub_payment_type.xhtml b/office-alexander-logistics-app/src/main/webapp/pages/workitems/forms/alexander/sub_payment_type.xhtml
index 5f703e7..47efc28 100644
--- a/office-alexander-logistics-app/src/main/webapp/pages/workitems/forms/alexander/sub_payment_type.xhtml
+++ b/office-alexander-logistics-app/src/main/webapp/pages/workitems/forms/alexander/sub_payment_type.xhtml
@@ -3,6 +3,7 @@
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
+ xmlns:fn="http://xmlns.jcp.org/jsp/jstl/functions"
xmlns:a="http://xmlns.jcp.org/jsf/passthrough">
@@ -12,7 +13,7 @@
-
+
diff --git a/workflow/gutschriftabgleich-de-1.0.2.bpmn b/workflow/gutschriftabgleich-de-1.0.2.bpmn
index a8aa3fa..1dc95c3 100644
--- a/workflow/gutschriftabgleich-de-1.0.2.bpmn
+++ b/workflow/gutschriftabgleich-de-1.0.2.bpmn
@@ -573,10 +573,10 @@ result.isValid=true;
-
+
-
+
txtlastcomment]]>
@@ -1860,7 +1860,7 @@ Betrag: invoice.total invoice.currency
-
+
txtlastcomment]]>
@@ -2241,7 +2241,7 @@ Betrag: invoice.total invoice.currency
-
+
@@ -2253,7 +2253,7 @@ Betrag: invoice.total invoice.currency
-
+
diff --git a/workflow/posteingang-de-1.0.3.bpmn b/workflow/posteingang-de-1.0.3.bpmn
new file mode 100644
index 0000000..a239b0a
--- /dev/null
+++ b/workflow/posteingang-de-1.0.3.bpmn
@@ -0,0 +1,670 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ For the OCR Adapter the following minimal options should be set:
+
+ * X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION
+ * X-Tika-OCRLanguage=eng+deu
+
+These options allow OCR and text extraction suporting English and German language.
+
+Additional Tika Options can be set but are NOT needed in most cases:
+
+ * X-Tika-PDFOcrImageType=RGB (setting the RGB color mode)
+ * X-Tika-PDFOcrDPI=400 (setting DPI)
+
+Setting the OcrDPI is only recommended if the DPI is know!
+
+Possible ImageTypes are:
+
+ * ARGB Alpha, Red, Green, Blue
+ * BINARY Black or white.
+ * GRAY Shades of gray
+ * RGB Red, Green, Blue
+
+
+
+
+
+
+ BoundaryEvent_1
+ Task_4
+ ExclusiveGateway_2
+ Task_1
+ ExclusiveGateway_1
+ StartEvent_1
+ EndEvent_1
+ IntermediateCatchEvent_2
+ Task_2
+ IntermediateCatchEvent_3
+ IntermediateCatchEvent_4
+ IntermediateCatchEvent_5
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+ $workflowgroup - $workflowstatus]]>
+ SequenceFlow_13
+ SequenceFlow_3
+
+
+ SequenceFlow_3
+ SequenceFlow_1
+
+
+
+
+
+
+
+
+
+
+ _subject]]>
+
+
+
+
+
+
+
+
+ _amount (Brutto € _amount_brutto)
+_description]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ home
+- Empfang
]]>
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+ SequenceFlow_1
+ SequenceFlow_4
+
+
+
+
+ SequenceFlow_13
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+ Rechnungseingangskontrolle
+Der Workflow 'Rechnungseingang' beschreibt beispielhaft einen Ablauf zur Prüfung von Eingangsrechnungen.
+
+
+ - Nach Erhalt einer Rechnung (z.B. Post, E-Mail, Fax,...) wird diese in das Workflowsystem übertragen und der Prozess Rechnungseingang gestartet.
+
+ - Die Rechnung wird wahlweise eingescannt und über den Abschnitt 'Dokumente' an den Vorgang hinzugefügt.
+
+ - In diesem Beispiel wird die Rechnung einem zuvor ausgewählten Mitarbeiter zur Prüfung vorgelegt.
+
+ - Nach positiver Prüfung werden die Rechnungsdaten (Zahlungsziel, Bankverbindung) vom Controlling im System erfasst und auf das Zahlungsziel gewartet.
+
+ - Nach Erreichen des Zahlungsziels wird der Vorgang automatisch dem Controlling erneut zur abschließenden Bearbeitung vorgelegt.
+
+
+Der Workflow
+
+Eingangsrechnungen können über eine E-Mailschnittstelle oder das Filesystem automatisch eingelesen werden. Eine Eingangsrechnung wird in diesem Beispiel vom zugewiesenen Mitarbeiter sowie den Prozessverantworltichen (Controlling) bearbeitet.
]]>
+ SequenceFlow_4
+ SequenceFlow_9
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+X-Tika-OCRLanguage=eng+deu
+
+]]>
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+ SequenceFlow_9
+ SequenceFlow_2
+ SequenceFlow_6
+
+
+ DataOutput_1
+
+
+ DataOutput_1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ invoice-de-0.1.0
+
+ invoice.total
+ currency
+
+
+ invoice.number
+ text
+
+
+ invoice.date
+ date
+
+
+ cdtr.name
+ text
+
+
+ cdtr.iban
+ text
+
+
+ cdtr.bic
+ text
+
+]]>
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+ SequenceFlow_6
+ SequenceFlow_7
+
+
+ DataOutput_2
+
+
+ DataOutput_2
+
+
+
+
+
+
+
+
+
+
+ rechnungseingang-de-1.1
+ 5000
+ 990
+ ]]>
+
+
+
+
+
+ SequenceFlow_7
+ SequenceFlow_10
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $workflowgroup - $workflowstatus]]>
+ SequenceFlow_11
+ SequenceFlow_12
+
+
+ SequenceFlow_10
+ SequenceFlow_11
+
+
+
+
+ SequenceFlow_12
+
+
+
+
+ SequenceFlow_2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/workflow/rechnungseingang-de-1.1.0.bpmn b/workflow/rechnungseingang-de-1.1.0.bpmn
index 35a1adc..1fe9d59 100644
--- a/workflow/rechnungseingang-de-1.1.0.bpmn
+++ b/workflow/rechnungseingang-de-1.1.0.bpmn
@@ -53,19 +53,21 @@
ExclusiveGateway_1
StartEvent_1
IntermediateCatchEvent_3
- IntermediateCatchEvent_13
IntermediateCatchEvent_6
- EventBasedGateway_1
- IntermediateCatchEvent_5000-20
- IntermediateCatchEvent_27
- Task_10
- EndEvent_5
ExclusiveGateway_4
- IntermediateCatchEvent_19
- IntermediateThrowEvent_3
+ IntermediateCatchEvent_27
+ Task_14
+ EventBasedGateway_1
Task_13
IntermediateCatchEvent_30
+ Task_10
+ IntermediateCatchEvent_5000-20
+ IntermediateCatchEvent_31
+ IntermediateCatchEvent_13
EndEvent_4
+ EndEvent_5
+ IntermediateThrowEvent_3
+ IntermediateCatchEvent_19
IntermediateCatchEvent_2
@@ -611,7 +613,7 @@ result.isValid=true;
-
+
txtlastcomment]]>
@@ -645,9 +647,8 @@ result.isValid=true;
$workflowgroup - $workflowstatus]]>
SequenceFlow_33
- SequenceFlow_20
- SequenceFlow_22
SequenceFlow_49
+ SequenceFlow_20
@@ -678,7 +679,7 @@ result.isValid=true;
]]>
-
+
@@ -739,17 +740,17 @@ result.isValid=true;
-
+
false
-
- SequenceFlow_20
+
+ SequenceFlow_22
+ SequenceFlow_77
-
@@ -2143,13 +2144,12 @@ result.isValid=true;
- SequenceFlow_22
- SequenceFlow_46
+ SequenceFlow_20
SequenceFlow_65
SequenceFlow_71
+ SequenceFlow_22
-
-
+
@@ -2228,6 +2228,7 @@ result.isValid=true;
SequenceFlow_49
+ SequenceFlow_76
SequenceFlow_48
@@ -2685,7 +2686,7 @@ Betrag: _amount (Brutto € _amount_bruttofalse
gutschriftabgleich-de-1.0
- 5000
+ 5001
980
]]>
@@ -3139,8 +3140,8 @@ Betrag: invoice.total invoice.currency
false
- sachrechnung-de-1.0
- 5000
+ rechnungseingang-sachrechnung-de-1.0
+ 5001
980
]]>
@@ -3210,6 +3211,123 @@ Betrag: invoice.total invoice.currency
+
+
+
+
+
+
+ txtlastcomment]]>
+
+
+
+
+
+
+
+
+ cdtr.name invoice.number (invoice.currency invoice.total) space.name]]>
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $workflowgroup - $workflowstatus]]>
+ SequenceFlow_74
+ SequenceFlow_77
+ SequenceFlow_46
+ SequenceFlow_76
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+ SequenceFlow_74
+
+
+
+
+
+
Es handelt sich um einen SEPA Lauf. Die Rechnung muss explizit freigegeben werden.
@@ -3232,7 +3350,6 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
Liegt eine Logistik Leistung vor, wird ein Fachbereich ausgewählt
-
@@ -3292,9 +3409,9 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
+
-
+
@@ -3342,9 +3459,9 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
+
-
+
@@ -3576,19 +3693,19 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
+
-
+
-
+
-
+
-
+
@@ -3628,27 +3745,27 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -3683,26 +3800,38 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
+
-
-
-
+
+
+
-
+
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3753,12 +3882,6 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
-
-
-
-
-
@@ -3839,9 +3962,8 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
-
-
+
+
@@ -4023,28 +4145,23 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
+
@@ -4090,16 +4207,10 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
-
-
-
-
-
-
-
-
+
+
+
@@ -4117,15 +4228,15 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
-
-
+
+
+
-
-
-
+
+
+
@@ -4179,23 +4290,53 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/workflow/sachrechnung-de-1.0.0.bpmn b/workflow/rechnungseingang-sachrechnung-de-1.0.0.bpmn
similarity index 98%
rename from workflow/sachrechnung-de-1.0.0.bpmn
rename to workflow/rechnungseingang-sachrechnung-de-1.0.0.bpmn
index 417912e..beec160 100644
--- a/workflow/sachrechnung-de-1.0.0.bpmn
+++ b/workflow/rechnungseingang-sachrechnung-de-1.0.0.bpmn
@@ -3,7 +3,7 @@
-
+
@@ -188,7 +188,7 @@ Bei Fragen wenden Sie sich bitte an info@imixs.com
-
+
txtlastcomment]]>
@@ -385,10 +385,10 @@ var b= workitem.get("order.total")[0];
SequenceFlow_54
-
+
-
+
txtlastcomment]]>
@@ -1118,7 +1118,7 @@ Betrag: invoice.total invoice.currency
-
+
txtlastcomment]]>
@@ -1299,7 +1299,7 @@ Betrag: invoice.total invoice.currency
-
+
txtlastcomment]]>
@@ -1568,7 +1568,7 @@ result.isValid=true;
-
+
txtlastcomment]]>
@@ -1608,7 +1608,7 @@ result.isValid=true;
-
+
txtlastcomment]]>
@@ -2566,7 +2566,7 @@ Betrag: _amount (Brutto € _amount_brutto
-
+
@@ -2578,13 +2578,13 @@ Betrag: _amount (Brutto € _amount_brutto
-
+
-
+
@@ -2600,19 +2600,19 @@ Betrag: _amount (Brutto € _amount_brutto
-
+
-
+
-
+
@@ -2630,25 +2630,25 @@ Betrag: _amount (Brutto € _amount_brutto
-
+
-
+
-
+
-
+
@@ -2658,19 +2658,19 @@ Betrag: _amount (Brutto € _amount_brutto
-
+
-
+
-
+
@@ -2682,13 +2682,13 @@ Betrag: _amount (Brutto € _amount_brutto
-
+
-
+
@@ -2700,7 +2700,7 @@ Betrag: _amount (Brutto € _amount_brutto
-
+
@@ -2712,7 +2712,7 @@ Betrag: _amount (Brutto € _amount_brutto
-
+