Generates a pick batch for specified fulfillment center and store.
This controller command will call GeneratePickBatchCmd to generate a pick batch. 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 command requires to have the store id and language id set in the command context.
URL calling syntax
https://host_name/path/PickBatchGenerate?ffmcenterId=ffmcenterId_value&URL=return_url
Parameters
Response Parameters
Exceptions
When the required fields are missing or not in the right datatype, 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 name is "com.ibm.commerce.inventory.commands.PickBatchGenerateCmdImpl". |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.inventory.commands.PickBatchGenerateCmd". |
Method Summary | |
---|---|
void |
setFfmcenterId(java.lang.String newFfmcenterId) Sets fulfillment center identifier. |
void |
setMoreOrderReleases(java.lang.String newMoreOrderReleases) Sets the moreOrderReleases flag to indicate if there are more eligible order releases not included in this pick batch. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
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 void setFfmcenterId(java.lang.String newFfmcenterId)
newFfmcenterId
- fulfillment center
identifierpublic void setMoreOrderReleases(java.lang.String newMoreOrderReleases)
newMoreOrderReleases
- flag identifying more order
releases