Makes a receipt available to the distribution arrangement.
This is done by inserting a row into rcptavail table associating the receipt with the distribution arrangement.
The distribution arrangement will have a picking method of either LIFO or FIFO. If the picking method of the distribution arrangment is FIFO, the precedence of the rcptavail row will be MAX(precedence)+1. If the picking method of the distribution arrangment is LIFO, the precedence of the rcptavail row will be MIN(precedence)-1. If there are no rows in the rcptavail table, the precedence of the rcptavail row will be 1.
This task command requires to have the store id set in the command context.
Input Parameters
Output 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 is "com.ibm.commerce.inventory.commands.MakeReceiptAvailableCmdImpl". |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.inventory.commands.MakeReceiptAvailableCmd". |
Method Summary | |
---|---|
java.lang.Long |
getDistArrangId() Returns distribution arrangement identifier. |
java.lang.Long |
getItemspcId() Return item identifier. |
java.lang.Long |
getRcptAvailId() Return available receipt identifier. |
java.lang.Long |
getReceiptId() Return the receipt identifier. |
void |
setDistArrangId(java.lang.Long newDistArrangId) Set distribution arrangement identifier. |
void |
setItemspcId(java.lang.Long newItemspcId) Set item identifier. |
void |
setRcptAvailId(java.lang.Long newRcptAvailId) Set available receipt identifier. |
void |
setReceiptId(java.lang.Long newReceiptId) Set the receipt identifier. |
void |
setRequestProperties(
TypedProperty newRequestProperties)
Set request properties. |
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 java.lang.Long getDistArrangId()
setDistArrangId(java.lang.Long)
public java.lang.Long getItemspcId()
setItemspcId(java.lang.Long)
public java.lang.Long getRcptAvailId()
setRcptAvailId(java.lang.Long)
public java.lang.Long getReceiptId()
setReceiptId(java.lang.Long)
public void setDistArrangId(java.lang.Long newDistArrangId)
newDistArrangId
- distribution arrangement idgetDistArrangId()
public void setItemspcId(java.lang.Long newItemspcId)
newItemspcId
- item specified identifiergetItemspcId()
public void setRcptAvailId(java.lang.Long newRcptAvailId)
newRcptAvailId
- available receipt identifiergetRcptAvailId()
public void setReceiptId(java.lang.Long newReceiptId)
newReceiptId
- receipt identifiersetReceiptId(java.lang.Long)
public void setRequestProperties(TypedProperty newRequestProperties) throws ECApplicationException
newRequestProperties
- request properties
ECApplicationException