public interface GeneratePickBatchCmd extends TaskCommand
The order releases with 'SHIP' status for the specified fulfillment center and store will be included in the pick batch generation. If there are more than the maximum number of order releases, which are eligible, when a pick batch is generated. Only the maximum number of order releases are picked up in this pick batch. And the rest will be picked up by the next pick batch generation. A pack slip XML will be generated for each eligible order release and a pick ticket XML will be generated for the whole batch. An invoice XML may also be generated for each eligible order release.
This task command requires to have the store id and language id set in the command context.
Input Parameters
Output Parameters
Exceptions
When the required fields are missing or not in the right data type, this command will throw exception to indicate which field is missing or bad.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
static java.lang.String |
defaultCommandClassName
The default implementation class is "com.ibm.commerce.inventory.commands.GeneratePickBatchCmdImpl".
|
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.inventory.commands.GeneratePickBatchCmd".
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getFfmcenterId()
Returns fulfillment center identifier.
|
java.lang.Integer |
getLanguageId()
Returns language identifier.
|
int |
getMaxOrdReleasesPerPickbatch()
Returns the maximum number of the order releases included in a pick batch.
|
java.lang.String |
getMoreOrderReleases()
Returns the flag to indicate if there are more eligible order releases
not included in this pick batch.
|
java.lang.Long |
getPickBatchId()
Returns the pick batch identifier.
|
java.lang.Integer |
getStoreentId()
Returns the store entity identifier.
|
java.lang.String |
parsePackslipForDtd10(java.lang.String packSlipXML)
Generate pack slip for dtd1.0 by parsing the pack slip for dtd2.0
This method is called by PickPackListResult.jsp
|
java.lang.String |
parsePickSlipForDtd10(java.lang.String pickSlipXML)
Generate pick ticket for dtd1.0 by parsing the pick ticket for dtd2.0
This method is called by PickPackListResult.jsp
|
void |
setFfmcenterId(java.lang.Integer newFfmcenterId)
Sets fulfillment center identifier.
|
void |
setLanguageId(java.lang.Integer newLanguageId)
Sets language identifier.
|
void |
setMaxOrdReleasesPerPickbatch(int newMaxOrdReleasesPerPickbatch)
Sets the maximum number of the order releases included in a pick batch.
|
void |
setMoreOrderReleases(java.lang.String newMoreOrderReleases)
Returns the flag to indicate if there are more eligible order releases
not included in this pick batch.
|
void |
setPickBatchId(java.lang.Long newPickBatchId)
Sets the pick batch identifier.
|
void |
setRequestProperties(TypedProperty newRequestProperties)
Sets request properties.
|
void |
setStoreentId(java.lang.Integer newStoreentId)
Sets the store entity identifier.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
java.lang.Integer getFfmcenterId()
setFfmcenterId(java.lang.Integer)
java.lang.Integer getLanguageId()
setLanguageId(java.lang.Integer)
int getMaxOrdReleasesPerPickbatch()
setMaxOrdReleasesPerPickbatch(int)
java.lang.String getMoreOrderReleases()
setMoreOrderReleases(java.lang.String)
java.lang.Long getPickBatchId()
setPickBatchId(java.lang.Long)
java.lang.Integer getStoreentId()
setStoreentId(java.lang.Integer)
void setFfmcenterId(java.lang.Integer newFfmcenterId)
newFfmcenterId
- fulfillment center idgetFfmcenterId()
void setLanguageId(java.lang.Integer newLanguageId)
newLanguageId
- language idgetLanguageId()
void setMaxOrdReleasesPerPickbatch(int newMaxOrdReleasesPerPickbatch)
newMaxOrdReleasesPerPickbatch
- maximum releasesgetMaxOrdReleasesPerPickbatch()
void setMoreOrderReleases(java.lang.String newMoreOrderReleases)
newMoreOrderReleases
- order releases flaggetMoreOrderReleases()
void setPickBatchId(java.lang.Long newPickBatchId)
newPickBatchId
- pick batch idgetPickBatchId()
void setStoreentId(java.lang.Integer newStoreentId)
newStoreentId
- store idgetStoreentId()
void setRequestProperties(TypedProperty newRequestProperties) throws ECApplicationException
newRequestProperties
- request propertiesECApplicationException
java.lang.String parsePackslipForDtd10(java.lang.String packSlipXML) throws ECApplicationException
packSlipXML
- the pack slip XML for dtd2.0ECApplicationException
- if any exception occurs while parsing the XMLjava.lang.String parsePickSlipForDtd10(java.lang.String pickSlipXML) throws ECApplicationException
pickSlipXML
- the pick slip XML for dtd2.0ECApplicationException
- if any exception occurs while parsing the XML