public interface ExpectedInventoryRecordCreateCmd extends ToolsControllerCommand
This controller command requires to have the store id set in the command context.
Parameters
Example xml_string:
<?xml version="1.0" encoding="UTF-8"?> <XML> <XMLFile>inventory.VendorWizard</XMLFile> <externalId>External id 1234</externalId> <orderDate>2001-10-03 00:00:00.0</orderDate> <vendorId>200</vendorId> <addedSize>2</addedSize> <addedRaItem> <expectedDate>2001-10-25 00:00:00.0</expectedDate> <ffmcenterId>300</ffmcenterId> <itemspcId>400</itemspcId> <qtyOrdered>230</qtyOrdered> <raDetailComment>Comment for item 1</raDetailComment> </addedRaItem> <addedRaItem> <expectedDate>2001-10-25 00:00:00.0</expectedDate> <ffmcenterId>300</ffmcenterId> <itemspcId>410</itemspcId> <qtyOrdered>250</qtyOrdered> <raDetailComment>Comment for item 2</raDetailComment> </addedRaItem> </XML>
Response Parameters
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.
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.ExpectedInventoryRecordCreateCmdImpl".
|
static java.lang.String | NAME
The name of this interface is "com.ibm.commerce.inventory.commands.ExpectedInventoryRecordCreateCmd".
|
Modifier and Type | Method and Description |
---|---|
void | setAddedItem(java.util.Vector newAddedItem)
Sets the list of items included in the new expected inventory record.
|
void | setAddedSize(java.lang.String newAddedSize)
Sets the number of items included in the new expected inventory record.
|
void | setExternalId(java.lang.String newExternalId)
Sets the external identifier.
|
void | setOrderDate(java.lang.String newOrderDate)
Sets the date this order is created with the vendor.
|
void | setVendorId(java.lang.String newVendorId)
Sets the vendor identifier.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setAddedItem(java.util.Vector newAddedItem)
void setAddedSize(java.lang.String newAddedSize)
void setExternalId(java.lang.String newExternalId)
void setOrderDate(java.lang.String newOrderDate)
void setVendorId(java.lang.String newVendorId)