Interface AdjustReceiptCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface AdjustReceiptCmd
    extends TaskCommand
    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). Adjustment can also 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)
        Sets the comment on the adjustment.
        newAdjustmentComment - comment
      • setFfmcenterId

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

        void setInvAdjCodeId(java.lang.String newInvAdjCodeId)
        Sets the identifier for the adjustment type being made.
        newInvAdjCodeId - adjustment type id
      • setItemspcId

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

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

        void setPartNumber(java.lang.String newPartNumber)
        Sets the part number.
        newPartNumber - part number
      • setQuantity

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

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