Generates a pick batch for specified fulfillment center and store.
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 eligible order releases 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.
Field Summary | |
---|---|
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". |
Method Summary | |
---|---|
java.lang.Integer |
getFfmcenterId() Returns fulfillment center identifier. |
java.lang.Integer |
getLanguageId() Returns language identifier. |
int |
getMaxOrdReleasesPerPickbatch() Returns the maximum number of 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 identidier. |
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 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. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.Integer getFfmcenterId()
setFfmcenterId(java.lang.Integer)
public java.lang.Integer getLanguageId()
setLanguageId(java.lang.Integer)
public int getMaxOrdReleasesPerPickbatch()
setMaxOrdReleasesPerPickbatch(int)
public java.lang.String getMoreOrderReleases()
setMoreOrderReleases(java.lang.String)
public java.lang.Long getPickBatchId()
setPickBatchId(java.lang.Long)
public java.lang.Integer getStoreentId()
setStoreentId(java.lang.Integer)
public void setFfmcenterId(java.lang.Integer newFfmcenterId)
newFfmcenterId
- fulfillment center idgetFfmcenterId()
public void setLanguageId(java.lang.Integer newLanguageId)
newLanguageId
- language idgetLanguageId()
public void setMaxOrdReleasesPerPickbatch(int newMaxOrdReleasesPerPickbatch)
newMaxOrdReleasesPerPickbatch
- maximum releasesgetMaxOrdReleasesPerPickbatch()
public void setMoreOrderReleases(java.lang.String newMoreOrderReleases)
newMoreOrderReleases
- order releases flaggetMoreOrderReleases()
public void setPickBatchId(java.lang.Long newPickBatchId)
newPickBatchId
- pick batch idgetPickBatchId()
public void setStoreentId(java.lang.Integer newStoreentId)
newStoreentId
- store idgetStoreentId()
public void setRequestProperties(TypedProperty newRequestProperties) throws ECApplicationException
newRequestProperties
- request properties
ECApplicationException