com.ibm.commerce.inventory.commands
Interface PickBatchGenerateCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
All Known Implementing Classes:
PickBatchGenerateCmdImpl

public interface PickBatchGenerateCmd
extends ToolsControllerCommand

Generate a pick batch for specified fulfillment center and store.

This 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

ffmcenterId
The identifier of the fulfillment center this pick batch is generated on.
URL
The URL to be called when the command completes successfully.

Response Parameters

moreOrderReleases
Return the flag to indicate if there are still more eligible order releases not included in this pick batch.
pickbatchId
Return the identifier of the new pick batch.

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
           
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
           
 
Method Summary
 void setFfmcenterId(java.lang.String newFfmcenterId)
          Set fulfillment center identifier.
 void setMoreOrderReleases(java.lang.String newMoreOrderReleases)
          Set 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
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, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name.

NAME

public static final java.lang.String NAME
Method Detail

setFfmcenterId

public void setFfmcenterId(java.lang.String newFfmcenterId)
Set fulfillment center identifier.
Parameters:
newFfmcenterId - java.lang.String

setMoreOrderReleases

public void setMoreOrderReleases(java.lang.String newMoreOrderReleases)
Set the moreOrderReleases flag to indicate if there are more eligible order releases not included in this pick batch.
Parameters:
newMoreOrderReleases - java.lang.String