public interface PickBatchGenerateCmd extends ToolsControllerCommand
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 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 command requires to have the store id and language id set in the command context.
If you run this command from the scheduler, run it at a store-level command. Do not run it as a site-level command.
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.
Modifier and Type | Field and Description |
---|---|
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".
|
Modifier and Type | Method and Description |
---|---|
void |
setFfmcenterId(java.lang.String newFfmcenterId)
Sets fulfillment center identifier.
|
void |
setIsExpedited(java.lang.String newExpedited)
Set the expedited setting
|
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.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setFfmcenterId(java.lang.String newFfmcenterId)
newFfmcenterId
- fulfillment center identifiervoid setMoreOrderReleases(java.lang.String newMoreOrderReleases)
newMoreOrderReleases
- flag identifying more order releasesvoid setIsExpedited(java.lang.String newExpedited)
newExpedited
-