Class CreateVouchersTask
java.lang.Object
ch.tocco.nice2.optional.debitor.impl.tasks.CreateVouchersTask
- All Implemented Interfaces:
OptionalTask<Tuple3<Entity,
,Entity, List<Map<String, Object>>>, List<Entity>> PersistTask<Tuple3<Entity,
Entity, List<Map<String, Object>>>, List<Entity>>
public class CreateVouchersTask
extends Object
implements OptionalTask<Tuple3<Entity,Entity,List<Map<String,Object>>>,List<Entity>>
task that creates vouchers based on a list of order position values
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Field Details
-
PATH_TO_ORDER_POSITION
- See Also:
-
RELATION_PREFIX
- See Also:
-
VOUCHER
- See Also:
-
VOUCHER_TYPE
- See Also:
-
NR_FIELD
- See Also:
-
ACCOUNTING_TEXT_FIELD
- See Also:
-
BILLING_DATE_FIELD
- See Also:
-
MANUAL_BOOKING_DATE_FIELD
- See Also:
-
VOUCHER_DATE_FIELD
- See Also:
-
REL_ORDER_POSITION
- See Also:
-
REL_DEBITOR
- See Also:
-
REL_DEBIT_ACCOUNT
- See Also:
-
REL_ACCOUNT
- See Also:
-
REL_VOUCHER_TYPE
- See Also:
-
BILL_TYPE
- See Also:
-
-
Constructor Details
-
CreateVouchersTask
-
-
Method Details
-
doRun
public List<Entity> doRun(Tuple3<Entity, Entity, throws PersistException, InterruptedExceptionList<Map<String, Object>>> values, CommandContext commandContext) - Specified by:
doRun
in interfaceOptionalTask<Tuple3<Entity,
Entity, List<Map<String, Object>>>, List<Entity>> - Throws:
PersistException
InterruptedException
-