Class SalesOrderBatchLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.sales.server.logic.SalesOrderBatchLogic
-
Method Summary
Modifier and TypeMethodDescriptionboolean
batchEntryExists
(ExecutionErrorAccumulator eea, Order order, Batch batch, String... workflowStepNames) boolean
boolean
checkBatchInWorkflowSteps
(ExecutionErrorAccumulator eea, Batch batch, String... workflowStepNames) createBatch
(ExecutionErrorAccumulator eea, Currency currency, PaymentMethod paymentMethod, Long count, Long amount, BasePK createdBy) createBatchEntity
(ExecutionErrorAccumulator eea, Order order, Batch batch, BasePK createdBy) void
deleteBatch
(ExecutionErrorAccumulator eea, Batch batch, BasePK deletedBy) getBatchByName
(ExecutionErrorAccumulator eea, String batchName) getBatchByNameForUpdate
(ExecutionErrorAccumulator eea, String batchName) getBatchOrders
(Batch batch) static SalesOrderBatchLogic
getSalesOrderBatchStatusChoices
(String defaultSalesOrderBatchStatusChoice, Language language, boolean allowNullChoice, Batch batch, PartyPK partyPK) void
setSalesOrderBatchStatus
(Session session, ExecutionErrorAccumulator eea, Batch batch, String salesOrderBatchStatusChoice, PartyPK modifiedBy) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Method Details
-
getInstance
-
createBatch
public Batch createBatch(ExecutionErrorAccumulator eea, Currency currency, PaymentMethod paymentMethod, Long count, Long amount, BasePK createdBy) -
checkBatchInWorkflowSteps
public boolean checkBatchInWorkflowSteps(ExecutionErrorAccumulator eea, Batch batch, String... workflowStepNames) -
checkBatchAvailableForEntry
-
createBatchEntity
public BatchEntity createBatchEntity(ExecutionErrorAccumulator eea, Order order, Batch batch, BasePK createdBy) -
batchEntryExists
public boolean batchEntryExists(ExecutionErrorAccumulator eea, Order order, Batch batch, String... workflowStepNames) -
deleteBatch
-
getBatchByName
-
getBatchByNameForUpdate
-
getSalesOrderBatchStatusChoices
public SalesOrderBatchStatusChoicesBean getSalesOrderBatchStatusChoices(String defaultSalesOrderBatchStatusChoice, Language language, boolean allowNullChoice, Batch batch, PartyPK partyPK) -
setSalesOrderBatchStatus
public void setSalesOrderBatchStatus(Session session, ExecutionErrorAccumulator eea, Batch batch, String salesOrderBatchStatusChoice, PartyPK modifiedBy) -
getBatchOrders
-
getBatchOrderTotalsWithAdjustments
-