Creates an expected inventory record.
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.
Field Summary | |
---|---|
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". |
Method Summary | |
---|---|
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 identifer. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setAddedItem(java.util.Vector newAddedItem)
newAddedItem
- list of inventory itemspublic void setAddedSize(java.lang.String newAddedSize)
newAddedSize
- quantitypublic void setExternalId(java.lang.String newExternalId)
newExternalId
- external idpublic void setOrderDate(java.lang.String newOrderDate)
newOrderDate
- order create datepublic void setVendorId(java.lang.String newVendorId)
newVendorId
- vendor id