|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Make 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 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()
Return 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. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public java.lang.Long getDistArrangId()
public java.lang.Long getItemspcId()
public java.lang.Long getRcptAvailId()
public java.lang.Long getReceiptId()
public void setDistArrangId(java.lang.Long newDistArrangId)
newDistArrangId
- java.lang.Longpublic void setItemspcId(java.lang.Long newItemspcId)
newItemspcId
- java.lang.Longpublic void setRcptAvailId(java.lang.Long newRcptAvailId)
newRcptAvailId
- java.lang.Longpublic void setReceiptId(java.lang.Long newReceiptId)
newReceiptId
- java.lang.Longpublic void setRequestProperties(TypedProperty newRequestProperties) throws ECApplicationException
reqParms
- com.ibm.commerce.datatype.TypedProperty
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |