public class DatevRefAdapter extends Object implements org.imixs.workflow.SignalAdapter
Wurde die Rechnugn bereits einem DATEV Export zugeordnet passiert nichts.
Existieren innerhalb der Rechnung noch keien Detailbuchugnssätze (ChildItems) dann erzeugt der ADaper einen Default Buchungssatz . Zitat Herr Krieger: die leeren Felder könnte man z.B. immer mit 1370 an 70000 im Standard befüllen, dann weiß man welche Konten man in DATEV noch aufräumen muss?
9.6.2022 Herr Krieger: Die Rechnungen sollen NICHT nach Buchunsperiode zusammengefasst werden sonder nur anhand der Datev-client-id.
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_CONFIG |
static String |
ERROR_MISSING_DATA |
| Constructor and Description |
|---|
DatevRefAdapter() |
| Modifier and Type | Method and Description |
|---|---|
org.imixs.workflow.ItemCollection |
execute(org.imixs.workflow.ItemCollection document,
org.imixs.workflow.ItemCollection event)
This method finds or create the Datev Export and adds a reference
($workitemref) to the current invoice.
|
protected List<org.imixs.workflow.ItemCollection> |
explodeChildList(org.imixs.workflow.ItemCollection workitem)
converts the Map List of a workitem into a List of ItemCollectons
|
protected void |
implodeChildList(org.imixs.workflow.ItemCollection workitem,
List<org.imixs.workflow.ItemCollection> childItems)
Convert the List of ItemCollections back into a List of Map elements
|
public static final String ERROR_MISSING_DATA
public static final String ERROR_CONFIG
public org.imixs.workflow.ItemCollection execute(org.imixs.workflow.ItemCollection document,
org.imixs.workflow.ItemCollection event)
throws org.imixs.workflow.exceptions.AdapterException,
org.imixs.workflow.exceptions.PluginException
execute in interface org.imixs.workflow.Adapterorg.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.AdapterExceptionprotected void implodeChildList(org.imixs.workflow.ItemCollection workitem,
List<org.imixs.workflow.ItemCollection> childItems)
workitem - protected List<org.imixs.workflow.ItemCollection> explodeChildList(org.imixs.workflow.ItemCollection workitem)
Copyright © 2022 Imixs Software Solutions GmbH. All rights reserved.