mahnlauf
This commit is contained in:
parent
0b8ad2a15d
commit
b35dea70f8
1 changed files with 3 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ import com.alexanderlogistics.KreditorDebitorService;
|
|||
/**
|
||||
* The MahnlaufRefAddAdapter links an invoice with a Mahnlauf for the
|
||||
* dbtr.number item . If there is currently no open Mahnlauf for this key, the
|
||||
* adapter automatically creates a new process instance. If a manhlauf for this
|
||||
* adapter automatically creates a new process instance. If a mahnlauf for this
|
||||
* dbt.number is found, the invoice is just added.
|
||||
* <p>
|
||||
* If the invoice has already been linked to a Mahnlauf nothing happens.
|
||||
|
|
@ -157,14 +157,11 @@ public class MahnlaufRefAddAdapter implements SignalAdapter {
|
|||
String dbtrNumber=invoice.getItemValueString("dbtr.number");
|
||||
ItemCollection dbtrItemCol=kreditorDebitorService.findDebitor("D"+dbtrNumber);
|
||||
if (dbtrItemCol!=null) {
|
||||
mahnlaufWorkitem.setItemValue(MahnlaufService.ITEM_DBTR_EMAIL, dbtrItemCol.getItemValueString("cdtr.mail"));// dbtr.mail
|
||||
mahnlaufWorkitem.setItemValue(MahnlaufService.ITEM_DBTR_EMAIL, dbtrItemCol.getItemValue("cdtr.mail"));// dbtr.mail
|
||||
}
|
||||
|
||||
mahnlaufWorkitem.setItemValue(MahnlaufService.ITEM_DBTR_NUMBER, invoice.getItemValue(MahnlaufService.ITEM_DBTR_NUMBER));
|
||||
|
||||
mahnlaufWorkitem.setItemValue(MahnlaufService.ITEM_DBTR_NUMBER, invoice.getItemValue(MahnlaufService.ITEM_DBTR_NUMBER));
|
||||
mahnlaufWorkitem.setItemValue("invoice.language", invoice.getItemValue("invoice.language"));
|
||||
|
||||
|
||||
|
||||
// set workflow group name from the Task Element to identify document in xslt
|
||||
Model model = modelService.getModel(modelVersion);
|
||||
|
|
|
|||
Loading…
Reference in a new issue