fix Mahnlauf - vorselektierung der Rechnungen
This commit is contained in:
parent
4fde7c5a4a
commit
1751443702
2 changed files with 6 additions and 4 deletions
|
|
@ -151,9 +151,11 @@ public class OPListController implements Serializable {
|
||||||
*/
|
*/
|
||||||
if (workflowController.getWorkitem().getModelVersion().startsWith("mahnlauf")) {
|
if (workflowController.getWorkitem().getModelVersion().startsWith("mahnlauf")) {
|
||||||
// wir selektieren hier immer alle fälligen Rechnungen vor falls wir aus
|
// wir selektieren hier immer alle fälligen Rechnungen vor falls wir aus
|
||||||
// dem Event 100 (Mahnlauf erstellen) kommen.
|
// einer Rechnung mit dem Event 100 (Mahnlauf erstellen) kommen, oder
|
||||||
// Falls aber
|
// wenn der Mahnlauf von außen gerate eben neu erzeugt wurde
|
||||||
if (workflowController.getWorkitem().getItemValueInteger("$lastevent") == 100) {
|
if (workflowController.getWorkitem().getItemValueInteger("$lastevent") == 100
|
||||||
|
||
|
||||||
|
workflowController.getWorkitem().getItemValueInteger("$lastevent") == 0) {
|
||||||
List<String> intialSelection = new ArrayList<String>();
|
List<String> intialSelection = new ArrayList<String>();
|
||||||
for (ItemCollection invoice : invoiceList) {
|
for (ItemCollection invoice : invoiceList) {
|
||||||
// ist die Rechnung fällig?
|
// ist die Rechnung fällig?
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ th { font-weight: bold;}
|
||||||
<bpmn2:documentation id="Documentation_15"><![CDATA[</body>
|
<bpmn2:documentation id="Documentation_15"><![CDATA[</body>
|
||||||
</html>]]></bpmn2:documentation>
|
</html>]]></bpmn2:documentation>
|
||||||
</bpmn2:message>
|
</bpmn2:message>
|
||||||
<bpmn2:collaboration id="Collaboration_1" name="Zahlungseingang">
|
<bpmn2:collaboration id="Collaboration_1" name="Mahnlauf">
|
||||||
<bpmn2:participant id="Participant_1" name="Mahnlauf" processRef="Process_1"/>
|
<bpmn2:participant id="Participant_1" name="Mahnlauf" processRef="Process_1"/>
|
||||||
<bpmn2:participant id="Participant_2" name="SEPA-Export Pool" processRef="eingangsrechnung-de"/>
|
<bpmn2:participant id="Participant_2" name="SEPA-Export Pool" processRef="eingangsrechnung-de"/>
|
||||||
</bpmn2:collaboration>
|
</bpmn2:collaboration>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue