|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Make an adjustment to existing inventory by calling the stored procedure AdjustInventory. An adjustment can be made by either marking down quantities in one or more RECEIPT rows (when the adjustment is negative), or adding inventory to an existing RECEIPT row (when the adjustment is positive).
This command requires to have the store id set in the command context.
Parameters
Example xml_string for adjusting an inventory:
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
|
static java.lang.String |
defaultCommandClassName
The default implementation class name. |
static java.lang.String |
NAME
|
Method Summary | |
void |
setAdjustmentComment(java.lang.String newAdjustmentComment)
Set the comment on the adjustment. |
void |
setFfmcenterId(java.lang.String newFfmcenterId)
Set the fulfillment center identifier. |
void |
setInvAdjCodeId(java.lang.String newInvAdjCodeId)
Set the identifier for the adjustment type being made. |
void |
setItemspcId(java.lang.String newItemspcId)
Set the item identifier. |
void |
setMemberId(java.lang.String newMemberId)
Set the member identifier. |
void |
setPartNumber(java.lang.String newPartNumber)
Set the part number. |
void |
setQuantity(java.lang.String newQuantity)
Set the quantity to adjust. |
void |
setVersionSpcId(java.lang.String newVersionSpcId)
Set the product version identifier of the item. |
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 |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public void setAdjustmentComment(java.lang.String newAdjustmentComment)
newAdjustmentComment
- java.lang.Stringpublic void setFfmcenterId(java.lang.String newFfmcenterId)
newFfmcenterId
- java.lang.Longpublic void setInvAdjCodeId(java.lang.String newInvAdjCodeId)
newInvAdjCodeId
- java.lang.Longpublic void setItemspcId(java.lang.String newItemspcId)
newItemspcId
- java.lang.Longpublic void setMemberId(java.lang.String newMemberId)
newMemberId
- java.lang.Stringpublic void setPartNumber(java.lang.String newPartNumber)
newPartNumber
- java.lang.Stringpublic void setQuantity(java.lang.String newQuantity)
newQuantity
- java.lang.Stringpublic void setVersionSpcId(java.lang.String newVersionSpcId)
newVersionSpcId
- java.lang.Long
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |