public interface AdjustReceiptCmd extends TaskCommand
This controller command requires that the store id is set in the command context.
Parameters
Example xml_string for adjusting an inventory:
<?xml version="1.0" encoding="UTF-8"?> <XML> <XMLFile>inventory.InventoryAdjustmentDialog</XMLFile> <adjustmentComment>Adjustment comment</adjustmentComment> <ffmcenterId>300</ffmcenterId> <invAdjCodeId>600</invAdjCodeId> <itemspcId>400</itemspcId> <quantity>250</quantity> <versionSpcId>400</versionSpcId> </XML>
Exceptions
When the required fields are missing or not in the right data type, this command will throw an exception. It indicates 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.InventoryAdjustCmdImpl".
|
static java.lang.String | NAME
The name of this interface is "com.ibm.commerce.inventory.commands.InventoryAdjustCmd".
|
Modifier and Type | Method and Description |
---|---|
void | setAdjustmentComment(java.lang.String newAdjustmentComment)
Sets the comment on the adjustment.
|
void | setFfmcenterId(java.lang.String newFfmcenterId)
Sets the fulfillment center identifier.
|
void | setInvAdjCodeId(java.lang.String newInvAdjCodeId)
Sets the identifier for the adjustment type being made.
|
void | setItemspcId(java.lang.String newItemspcId)
Sets the item identifier.
|
void | setMemberId(java.lang.String newMemberId)
Sets the member identifier.
|
void | setPartNumber(java.lang.String newPartNumber)
Sets the part number.
|
void | setQuantity(java.lang.String newQuantity)
Sets the quantity to adjust.
|
void | setVersionSpcId(java.lang.String newVersionSpcId)
Sets the product version identifier of the item.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setAdjustmentComment(java.lang.String newAdjustmentComment)
void setFfmcenterId(java.lang.String newFfmcenterId)
void setInvAdjCodeId(java.lang.String newInvAdjCodeId)
void setItemspcId(java.lang.String newItemspcId)
void setMemberId(java.lang.String newMemberId)
void setPartNumber(java.lang.String newPartNumber)
void setQuantity(java.lang.String newQuantity)
void setVersionSpcId(java.lang.String newVersionSpcId)