Interface InventoryAdjustCmd

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

    public interface InventoryAdjustCmd
    extends ToolsControllerCommand
    Makes an adjustment to existing inventory by calling the adjustinventory database stored procedure.

    An adjustment can be made by marking down quantities in one or more RECEIPT rows (when the adjustment is negative). Or it can be made by adding inventory to an existing RECEIPT row (when the adjustment is positive).

    This controller command requires that the store id is set in the command context.


    An input xml_string that contains all required data for adjusting an inventory.

    Example xml_string for adjusting an inventory:

     <?xml version="1.0" encoding="UTF-8"?>
     <adjustmentComment>Adjustment comment</adjustmentComment>
    The URL to be called when the command completes successfully.


    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.

    • Field Detail


        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this interface is "".
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name is "".
        See Also:
        Constant Field Values
    • Method Detail

      • setAdjustmentComment

        void setAdjustmentComment(java.lang.String newAdjustmentComment)
        This method sets the comment on the adjustment.
        newAdjustmentComment - comment
      • setFfmcenterId

        void setFfmcenterId(java.lang.String newFfmcenterId)
        This method sets the fulfillment center identifier.
        newFfmcenterId - fulfillment center id
      • setInvAdjCodeId

        void setInvAdjCodeId(java.lang.String newInvAdjCodeId)
        This method sets the identifier for the adjustment type being made.
        newInvAdjCodeId - adjustment type id
      • setCatEntryId

        void setCatEntryId(java.lang.String newCatEntryId)
        This method sets the item identifier.
        newCatEntryId - item specified id
      • setItemspcId

        void setItemspcId(java.lang.String newItemspcId)
        This method sets the item identifier.
        newItemspcId - item specified id
      • setMemberId

        void setMemberId(java.lang.String newMemberId)
        This method sets the member identifier.
        newMemberId - member owner id
      • setPartNumber

        void setPartNumber(java.lang.String newPartNumber)
        This method sets the part number.
        newPartNumber - part number
      • setQuantity

        void setQuantity(java.lang.String newQuantity)
        This method sets the quantity to adjust.
        newQuantity - adjustment quantity
      • setVersionSpcId

        void setVersionSpcId(java.lang.String newVersionSpcId)
        This method sets the product version identifier of the item.
        newVersionSpcId - product version id