Interface ExpectedInventoryRecordCreateCmd

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

    public interface ExpectedInventoryRecordCreateCmd
    extends ToolsControllerCommand
    Creates an expected inventory record.

    This controller command requires to have the store id set in the command context.


    An input xml_string that contains all required data for creating new expected inventory record.

    Example xml_string:

     <?xml version="1.0" encoding="UTF-8"?>
     <externalId>External id 1234</externalId>
     <orderDate>2001-10-03 00:00:00.0</orderDate>
           <expectedDate>2001-10-25 00:00:00.0</expectedDate>
           <raDetailComment>Comment for item 1</raDetailComment>
        <expectedDate>2001-10-25 00:00:00.0</expectedDate>
              <raDetailComment>Comment for item 2</raDetailComment>
    The URL to be called when the command completes successfully.

    Response Parameters

    Return the identifier of the new expected inventory record.


    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 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

      • setAddedItem

        void setAddedItem(java.util.Vector newAddedItem)
        Sets the list of items included in the new expected inventory record.
        newAddedItem - list of inventory items
      • setAddedSize

        void setAddedSize(java.lang.String newAddedSize)
        Sets the number of items included in the new expected inventory record.
        newAddedSize - quantity
      • setExternalId

        void setExternalId(java.lang.String newExternalId)
        Sets the external identifier.
        newExternalId - external id
      • setOrderDate

        void setOrderDate(java.lang.String newOrderDate)
        Sets the date this order is created with the vendor.
        newOrderDate - order create date
      • setVendorId

        void setVendorId(java.lang.String newVendorId)
        Sets the vendor identifier.
        newVendorId - vendor id