DoInventoryActionCmdImpl
.public class DOMDoInventoryActionCmdImpl extends TaskCommandImpl implements DoInventoryActionCmd
DoInventoryActionCmd
task command.
This is the base interface for the inventory component. With this command, the Order component can ignore the inventory model and only needs to call this task command with required inventory operations. This command is based on the current store's inventorySystem configuration to determine the low-level task command.
There are 10 identified usages as an interface between the order command and interface command. Different parameters are required for every usage.
action=GET_DEFAULT_ATP_PARAMETER, this usage is used when the order command needs to build the default ATP (Available To Promise) parameter to perform inventory
operations. During different phases in the order shopping flow, different default inventory behaviors are expected. Therefore, it must build
a different ATPParameter
. Different store implementations could request different inventory behaviors by passing order
abbreviations, and those abbreviations are used to build ATPParameter
. They could also
specify ATPParameter
instances to order commands, in which case there is no need to build default ATPParameter
. Every time
order components need to perform inventory operations, ATPParameter
should be set again to inventory component, and order commands need to
keep ATPParameter
synchronized with the order's changes.
Parameters:
Parameter Name | Type | Descriptions |
istrCallerCommandName | String | The command name requiring default ATPParameter built |
istrOrderIds | String[] | The vector of orderId used to resolve the order items to be backordered, reversed, checked, merged, allocated, remerged |
requestProperties | TypedProperty | The request on inventory operation could be received from commandContext.requestProperties, as well as from requestProperties. |
action=CHECK_INVENTORY, this usage is used in OrderItemDisplayCmd
and OrderPrepareCmd
. During OrderItemDisplayCmd
,
it checks inventory to validate whether the inventory is available. During OrderPrepareCmd
,
for ATP, the inventory operation depends on the ATPParameter
used. For non-ATP, it resolves FFMCENTER_ID
and updates it into order item, and sets the inventoryStatus of the checked orderItem to new inventory status "AVL".
Parameters:
Parameter Name | Type | Descriptions |
istrCallerCommandName | String | The command name needing to check inventory |
istrOrderIds | String[] | The order unique identifier, check operation checks all order items which belong to this order |
atpParameter | ATPParameter | For ATP, ATPParemeter is required to determine which inventory operation is needed |
action=RESOLVE_FULFILLMENTCENTER, for ATP, it gets all eligible FFMCENTER by OrderItemAccessBean
.
For non-ATP, it resolves FFMCENTER_ID from OrderItemAccessBean
or catentry_id and quantity.
Parameters:
Parameter Name | Type | Descriptions |
istrCallerCommandName | String | The command name needing to check inventory |
items | Item[] | the order items to be considered when determining fulfillment centers.(required for ATP, optional for non-ATP) |
catEntry_id | String | Together with quantity and quantityMeasure, specifies the input to resolveFulfillmentCenterCmd |
quantity | String | Together with catEntry_id and quantityMeasure, specifies the input to resolveFulfillmentCenterCmd, this is a catalog quantity |
quantityMeasure | String | Together with catEntry_id and quantityMeasure, specifies the input to resolveFulfillmentCenterCmd |
action=UPDATE_FULFILLMENTCENTER, for ATP, it only checks Inventory without updating FFMCENTER_ID into orderItem, but for non-ATP, it resolves fulfillmentCenter and sets this identifier into OrderItem.
Parameters:
Parameter Name | Type | Descriptions |
istrCallerCommandName | String | The command name needing to check inventory |
istrOrderIds | String[] | the order unique identifier,required |
iUniqueOrderitemIdList | Hashtable | The changed order item. This list is used to get unique catentry, to identify the touched orderItem. It is used when adding order item. Non-ATP only needs it to resolve ffm for those touched order item, optional. |
FlushNeeded | Boolean | It is used to flush the changes to db for inventory stored procedures. It picks up the changes when new order item(s) have been inserted or order item quantities have changed, optional |
continue | String | specifies whether to continue if an exception is thrown in resolveFuifillmentCenter,optional |
atpParameter | ATPParameter | for ATP, ATPParemeter is required to fulfill inventory operation |
action=ALLOCATE_INVENTORY, for ATP, allocate Inventory(or check Inventory) can occur in order Capture or Order Management.
On OrderPrepareCmd
, inventory is allocated as defined in ATPParameter
, on OrderProcessCmd
inventory is forced to allocate or be backordered. To allocate Inventory during OrderItemMoveCmd
, we need to
allocate inventory for the out-order moved from and for the in-order moved into. For non-ATP, allocate Inventory can
only occur on orderProcess. Before non-ATP inventory is allocated, it first checks inventory statuses. If this
orderItem has ever been allocated, it compares the allocated quantity with the needed quantity. It takes no action if no change in quantity is needed.
Otherwise, first reverse allocated quantity and then update inventory for this order item. Finally, set inventoryStatus as Inventory allocated.
For no-Inventory, only inventory status is updated.
Parameters:
Parameter Name | Type | Descriptions |
istrCallerCommandName | String | The command name needing to check inventory |
astrInOrders | String[] | The order to be moved into, only used in OrderItemMoveCmd, optional, take no action if missed. |
astrOutOrders | String[] | the order to be moved from, only used in OrderItemMoveCmd, optional, take no action if missed. |
istrOrderIds | String[] | the order unique identifier, all order items which belong to this order are allocated during allocation. This parameter is required when allocating inventory. |
atpParameter | ATPParameter | for ATP, ATPParemeter is required to fulfill inventory operation |
action=REVERSE_INVENTORY, for ATP, it calls to de-Allocate existing or expected inventory, and sets inventoryStatus as not allocated. orderItem is required. For non-ATP, it de-allocates inventory.
Parameters:
Parameter Name | Type | Descriptions |
orderItem | OrderAccessBean | The allocated order item, needs to reverse inventory. |
action=GET_ESTIMATE_AVAILABILITY_DATE, for ATP, it calls CheckInventoryAvailabilityCmd
to set the estimated time and shipoffset
for non-ATP, it sets the availability time as the current system timestamp plus shippingoffset. Caller must ensure that the inventory
is available before this action is called.
Parameters:
Parameter Name | Type | Descriptions |
ihsAllOrderItems | OrderItemAccessBean[] | The collection of orderItem to get estimated availability date |
ihsOrderItemFulfillmentCentersMaps | Hashtable | optional for ATP |
action=RESERVE_INVENTORY, for ATP it calls reserveInventoryCmd
, and for non-ATP it calls updateInventoryCmd
.
Parameters:
Parameter Name | Type | Descriptions |
iCatEntry_id | Long | The catalog entry to reserve Inventory on, required. |
iFulfillmentCenterId | Integer | The fulfillmentCenter which reserve will happen on |
dQuantity | Double | The catalog quantity which need to reserve |
istrReservationInstance | String | The description for the reservation |
iReservationType | String | The reservation type |
iStore_id | Long | The store which the reservation happen on |
action=ADJUST_RESERVE_INVENTORY,for ATP it calls AdjustInentoryReservationCmd
,and for non-ATP it calls updateInventoryCmd
.
Parameters:
Parameter Name | Type | Descriptions |
iReservationId | String | The reservation unique identifier that need to adjust |
iCatEntry_id | Long | The catalog entry to reserve Inventory on, required. |
iFulfillmentCenterId | Integer | The fulfillmentCenter which reserve will happen on |
dQuantity | Double | The catalog quantity which need to reserve |
iStore_id | Long | The store which the reservation happen on |
action=GET_INVENTORYCATALOG, as the column allocatedQuantity and neededQuantity of order items table is inventory quantity. They can use different units of measurement with catalog quantity. A conversion must be performed between those two quantities. For ATP, the column BASEITEM.QUANTITYMEASURE is used in the conversion, however for non-ATP, the column INVENTORY.QUANTITYMEASURE is used in conversion.
Parameters:
Parameter Name | Type | Descriptions |
quantity | Double | The catalog quantity needing to convert into inventory quantity |
orderitem | OrderItemAccessBean | The orderItem needing to convert catalog quantity into inventory quantity, the quantity manager needing to get from and to quantity unit from the orderItem. |
CheckInventoryAvailabilityCmd
CheckInventoryCmd
GetEligibleFulfillmentCentersCmd
ResolveFulfillmentCenterCmd
ReverseUpdateInventoryCmd
ReserveInventoryCmd
AdjustInventoryReservationCmd
UpdateInventoryCmd
ResolveOrderItemsCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
The internal copyright field.
|
static int |
DOM_INVENTORY
Deprecated.
Inventory constants for DOM inventory.
|
ADJUST_RESERVE_INVENTORY, ALLOCATE_INVENTORY, ATP_INVENTORY, CHECK_INVENTORY, defaultCommandClassName, EXTERNAL_IMS, GENERIC_CALLER_CMD, GET_DEFAULT_ATP_PARAMETER, GET_ESTIMATE_AVAILABILITY_DATE, GET_INVENTORYCATALOG, INVENORY_STATUS_CONVERTOR, INVENTORY_ALLOCATION_CHECK, NAME, NO_ACTION, NO_INVENTORY, NON_ATP_INVENTORY, ORDER_CALCULATE, ORDER_CANCEL, ORDER_CANCEL_EXTERNAL, ORDER_PRE_PROCESS, ORDER_PREPARE, ORDER_PROCESS, ORDERITEM_BASE_CMD, ORDERITEM_DELETE, ORDERITEM_DISPLAY, ORDERITEM_MOVE, ORDERITEM_SELECT, QUOTE_PREPARE, QUOTEITEM_BASE, RELEASE_EXPIRED_ALLOCATIONS, RELEASE_TO_FULFILLMENT, RESERVE_INVENTORY, RESOLVE_FULFILLMENTCENTER, REVERSE_INVENTORY, SHIP_ITEMS, UPDATE_FULFILLMENTCENTER
Constructor and Description |
---|
DOMDoInventoryActionCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getAction()
Deprecated.
This method returns the action parameters, this action is used to specify the needed inventory operation
|
ATPParameters |
getATPParms()
Deprecated.
This method returns the input ATP parameters.
|
java.lang.String |
getCallerCommandName()
Deprecated.
This method returns the callerCommandName
|
java.lang.Long |
getCatEntryId()
Deprecated.
This method returns the catalog entry unique identifier.
|
java.util.Vector |
getCatEntryIdNotAvailinInv()
Deprecated.
This method returns the Vector with Catalog Entry IDs which are not available in the requested amount in inventory
|
java.lang.String |
getContinue()
Deprecated.
This method returns whether to continue when there is exception thrown in ResolveFulfillmentCenter
|
ATPParameters |
getDefaultATPParms()
Deprecated.
This method returns the default ATP parameters,different caller commands have different default inventory behaviors
|
boolean |
getFlushNeeded()
Deprecated.
This method returns whether a flush is needed for SP to catch the changes to DB
|
java.lang.Integer |
getFulfillmentCenterId()
Deprecated.
This method returns the fulfillmentCenter parameters
It is used for action checkInventory,reverseInventory,resolveFulfillmentCenter,UpdateFulfillmentCenter, but it is optional if order item is set
|
java.util.Vector |
getFulfillmentCenters()
Deprecated.
This method returns the Vector of FulfillmentCenter
|
java.util.Hashtable |
getInvalidlyAllocateOrderItemsAfterAllocation()
Deprecated.
This method returns invalidlyAllocatedOrderItems
|
int |
getInventorySystem()
Deprecated.
|
java.util.Vector |
getItems()
Deprecated.
This method returns Item to resolveFulfillmentcenter
|
java.lang.String[] |
getMoveInOrders()
Deprecated.
This method returns the output order where input order items are moved to.
|
java.lang.String[] |
getMoveOutOrders()
Deprecated.
This method returns the output order where input order items are moved to.
|
java.lang.Integer |
getNeededQuantity()
Deprecated.
This method returns the needed quantity, it is converted from catalog quantity
|
java.lang.String[] |
getOrderId()
Deprecated.
This method returns orderId, inventory component needs this orderId to get the current situation for order and order item
|
OrderItemAccessBean |
getOrderItem()
Deprecated.
This method returns order item
|
java.util.Hashtable |
getOrderItemFulfillmentCentersMaps()
Deprecated.
This method returns lists of fulfillment centers which can ship items specified by the setOrderItems method.
|
java.lang.Integer |
getPreferredFulfillmentCenterId()
Deprecated.
This method returns the preferred fulfillment center,it is optional for usage ResolveFulfillmentCenter and GetEstimateAvailableTime
|
java.lang.Double |
getQuantity()
Deprecated.
This method returns quantity to check the inventory.
|
java.lang.String |
getQuantityMeasure()
Deprecated.
This method returns a quantity measure to check the inventory (optional).
|
java.lang.String |
getReservationInstance()
Deprecated.
This method returns the reservation description identifying the instance.
|
java.lang.Long |
getReservationType()
Deprecated.
This method returns the reservation type.
|
java.lang.Long |
getReserveId()
Deprecated.
This method returns the reservation identifier created after executing this command.
|
java.lang.Integer |
getShippingModeId()
Deprecated.
This method returns the shipping mode id.
|
java.lang.Integer |
getStoreId()
Deprecated.
This method returns a store id, it is optional
|
java.util.Hashtable |
getUniqueOrderitemIdList()
Deprecated.
This method returns the uniqueOrderItemIdList, this list records the touched order item during order item add/update
|
java.lang.String |
getUnitOfMeasure()
Deprecated.
This method returns the unit of measure
|
static boolean |
isATPParametersIgnorable(TypedProperty ahshATPParameters,
CommandContext commandContext)
Deprecated.
This method returns true if the ATP parameters are ignorable.
|
void |
performExecute()
Deprecated.
This method executes the business logic of this command implementation.
|
void |
reset()
Deprecated.
This method is called after a command is executed to reset its state variables.
|
void |
setAction(int action)
Deprecated.
This method sets the action parameter, this action is used to specify the needed inventory operation.
|
void |
setATPParms(ATPParameters newATPParms)
Deprecated.
This method sets the ATP parameters, this ATPParameters is used to determine the needed inventory operation.
|
void |
setCallerCommandName(java.lang.String cmdName)
Deprecated.
This method sets callerCommandName, different callers may have different inventory behaviors.
|
void |
setCatEntryId(java.lang.Long catEntry_id)
Deprecated.
This method sets the catalog entry unique identifier.
|
void |
setContinue(java.lang.String strContinue)
Deprecated.
This method sets whether to continue
|
void |
setFlushNeeded(boolean flushNeeded)
Deprecated.
This method sets whether a flush is needed for SP to catch the changes to DB
|
void |
setFulfillmentCenterId(java.lang.Integer fulfillmentCenter_id)
Deprecated.
This method sets the fulfillmentCenter parameters to check inventory.
|
void |
setInventorySystem(int ainventorySystem)
Deprecated.
|
void |
setItems(java.util.Vector newItems)
Deprecated.
This method sets Item to check inventory
|
void |
setMoveInOrders(java.lang.String[] inOrders)
Deprecated.
This method sets a destination order for the output order items.
|
void |
setMoveOutOrders(java.lang.String[] iabOutOrders)
Deprecated.
This method sets the orders from which order items are moved.
|
void |
setOrderId(java.lang.String[] orderIds)
Deprecated.
This method sets orderId, inventory component needs this orderId to get the current situation for order and order item
|
void |
setOrderItem(OrderItemAccessBean newOrderItem)
Deprecated.
This method sets orderItem, if this inventory operation is only operated on this orderItem.
|
void |
setOrderItemFulfillmentCentersMaps(java.util.Hashtable orderItemFulfillmentCentersMap)
Deprecated.
This method sets lists of fulfillment centers which can ship items specified by the setOrderItems method.
|
void |
setPreferredFulfillmentCenterId(java.lang.Integer preferredFulfillmentCenterId)
Deprecated.
This method sets the preferred fulfillment center.
|
void |
setQuantity(java.lang.Double quantity)
Deprecated.
This method sets a quantity to check the inventory.
|
void |
setQuantityMeasure(java.lang.String quantityMeasure)
Deprecated.
This method sets a quantity measure to check the inventory (optional).
|
void |
setRequestProperties(TypedProperty aRequestProperties)
Deprecated.
This method sets the request properties.
|
void |
setReservationId(java.lang.Long rid)
Deprecated.
This method sets the reservation id for ATP enabled stores.
|
void |
setReservationInstance(java.lang.String argReservationInstance)
Deprecated.
This method sets the reservation description identifying the instance.
|
void |
setReservationType(java.lang.Long argReservationType)
Deprecated.
This method sets the reservation type.
|
void |
setShippingModeId(java.lang.Integer shippingModeId)
Deprecated.
This method sets the shipping mode id.
|
void |
setStoreId(java.lang.Integer storeId)
Deprecated.
This method sets a store id to check the inventory.
|
void |
setUniqueOrderitemIdList(java.util.Hashtable uniqueOrderItemIdList)
Deprecated.
This method sets the uniqueOrderItemIdList, this list records the touched order item during order item add/update
|
void |
setUnitOfMeasure(java.lang.String unitOfMeasure)
Deprecated.
This method sets the unit of measure
|
void |
validateParameters()
Deprecated.
Checks the required parameter to be set beforehand for this task command to execute.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public static final int DOM_INVENTORY
public void setRequestProperties(TypedProperty aRequestProperties)
ATPParameter
for ATP. It is not mandatory as
we could also get requestProperties from command context.setRequestProperties
in interface DoInventoryActionCmd
aRequestProperties
- request properties.public void setATPParms(ATPParameters newATPParms)
setATPParms
in interface DoInventoryActionCmd
newATPParms
- ATPParameterspublic ATPParameters getATPParms()
getATPParms
in interface DoInventoryActionCmd
public void setAction(int action)
setAction
in interface DoInventoryActionCmd
action
- public int getAction()
getAction
in interface DoInventoryActionCmd
public java.lang.Long getCatEntryId()
getCatEntryId
in interface DoInventoryActionCmd
public void setCatEntryId(java.lang.Long catEntry_id)
setCatEntryId
in interface DoInventoryActionCmd
catEntry_id
- public java.lang.Integer getFulfillmentCenterId()
getFulfillmentCenterId
in interface DoInventoryActionCmd
public void setFulfillmentCenterId(java.lang.Integer fulfillmentCenter_id)
setFulfillmentCenterId
in interface DoInventoryActionCmd
fulfillmentCenter_id
- public OrderItemAccessBean getOrderItem()
getOrderItem
in interface DoInventoryActionCmd
public void setOrderItem(OrderItemAccessBean newOrderItem)
setOrderItem
in interface DoInventoryActionCmd
newOrderItem
- The orderItem to be operated onpublic java.util.Hashtable getOrderItemFulfillmentCentersMaps()
getOrderItemFulfillmentCentersMaps
in interface DoInventoryActionCmd
public void setOrderItemFulfillmentCentersMaps(java.util.Hashtable orderItemFulfillmentCentersMap)
setOrderItemFulfillmentCentersMaps
in interface DoInventoryActionCmd
orderItemFulfillmentCentersMap
- public java.lang.Integer getPreferredFulfillmentCenterId()
getPreferredFulfillmentCenterId
in interface DoInventoryActionCmd
public void setPreferredFulfillmentCenterId(java.lang.Integer preferredFulfillmentCenterId)
setPreferredFulfillmentCenterId
in interface DoInventoryActionCmd
preferredFulfillmentCenterId
- the identifier of the preferred fulfillment center.public java.lang.Integer getShippingModeId()
getShippingModeId
in interface DoInventoryActionCmd
public void setShippingModeId(java.lang.Integer shippingModeId)
setShippingModeId
in interface DoInventoryActionCmd
shippingModeId
- This parameter is optional for usage resolveFulfillmentCenterpublic java.lang.Double getQuantity()
getQuantity
in interface DoInventoryActionCmd
public void setQuantity(java.lang.Double quantity)
setQuantity
in interface DoInventoryActionCmd
quantity
- this parameter is mandatory for usage GetInventoryQuantity, optional for non-atp usage checkInventory,reverseUpdateInventory,allocateInventory,resolveFulfillmentCenter,updateFulfillmentCenterpublic java.lang.String getQuantityMeasure()
getQuantityMeasure
in interface DoInventoryActionCmd
public void setQuantityMeasure(java.lang.String quantityMeasure)
setQuantityMeasure
in interface DoInventoryActionCmd
quantityMeasure
- public java.lang.Integer getStoreId()
getStoreId
in interface ECCommand
getStoreId
in interface DoInventoryActionCmd
getStoreId
in class AbstractECTargetableCommand
public void setStoreId(java.lang.Integer storeId)
setStoreId
in interface DoInventoryActionCmd
storeId
- integerpublic java.lang.String getReservationInstance()
getReservationInstance
in interface DoInventoryActionCmd
public void setReservationInstance(java.lang.String argReservationInstance)
setReservationInstance
in interface DoInventoryActionCmd
argReservationInstance
- reservation description, it is required for reserveInventorypublic java.lang.Long getReservationType()
INVRSRVTYP
table.getReservationType
in interface DoInventoryActionCmd
public void setReservationType(java.lang.Long argReservationType)
INVRSRVTYP
table.setReservationType
in interface DoInventoryActionCmd
argReservationType
- reservation typepublic java.lang.Long getReserveId()
getReserveId
in interface DoInventoryActionCmd
public java.lang.String getContinue()
getContinue
in interface DoInventoryActionCmd
public void setContinue(java.lang.String strContinue)
setContinue
in interface DoInventoryActionCmd
strContinue
- it is optional for usage resolveFulfillmenter for non-ATPpublic java.lang.String getUnitOfMeasure()
getUnitOfMeasure
in interface DoInventoryActionCmd
public void setUnitOfMeasure(java.lang.String unitOfMeasure)
setUnitOfMeasure
in interface DoInventoryActionCmd
unitOfMeasure
- it ispublic java.lang.String getCallerCommandName()
getCallerCommandName
in interface DoInventoryActionCmd
public void setCallerCommandName(java.lang.String cmdName)
setCallerCommandName
in interface DoInventoryActionCmd
cmdName
- public java.lang.String[] getOrderId()
getOrderId
in interface DoInventoryActionCmd
public void setOrderId(java.lang.String[] orderIds)
setOrderId
in interface DoInventoryActionCmd
orderIds
- it is required for usage reverseInventory for ATP in OrderItemBase
,allocateInventory for ATP for orderprepare,orderprocesspublic java.util.Vector getItems()
getItems
in interface DoInventoryActionCmd
public void setItems(java.util.Vector newItems)
setItems
in interface DoInventoryActionCmd
newItems
- it is optional for resolveFulfillmentcenter/updateFulfillmentCenterpublic java.lang.Integer getNeededQuantity()
getNeededQuantity
in interface DoInventoryActionCmd
public void setReservationId(java.lang.Long rid)
setReservationId
in interface DoInventoryActionCmd
rid
- public java.lang.String[] getMoveInOrders()
getMoveInOrders
in interface DoInventoryActionCmd
public void setMoveInOrders(java.lang.String[] inOrders)
setMoveInOrders
in interface DoInventoryActionCmd
inOrders
- String[]public java.lang.String[] getMoveOutOrders()
getMoveOutOrders
in interface DoInventoryActionCmd
public void setMoveOutOrders(java.lang.String[] iabOutOrders)
setMoveOutOrders
in interface DoInventoryActionCmd
iabOutOrders
- String[]public java.util.Hashtable getUniqueOrderitemIdList()
getUniqueOrderitemIdList
in interface DoInventoryActionCmd
public void setUniqueOrderitemIdList(java.util.Hashtable uniqueOrderItemIdList)
setUniqueOrderitemIdList
in interface DoInventoryActionCmd
uniqueOrderItemIdList
- this parameter is required for usage updateFillmentcenterpublic boolean getFlushNeeded()
getFlushNeeded
in interface DoInventoryActionCmd
public void setFlushNeeded(boolean flushNeeded)
setFlushNeeded
in interface DoInventoryActionCmd
flushNeeded
- public void validateParameters() throws ECException
Checks the required parameter to be set beforehand for this task command to execute. Make sure all the required parameters are passed in, or collected from somewhere. As different inventory operations may need different parameters, the required parameters are also checked against the specified action.
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- If mandatory parameters are not passed in, throw ECApplicationException
specifying _ERR_BAD_MISSING_CMD_PARAMETERpublic void performExecute() throws ECException
As the facade interface for inventory component, this command checks the operation set by order command. It also determines the needed operation based on the store's inventory type. It then forwards to the corresponding task command. To customize this class if new actions are added, override the protected method doMoreAction.
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- thrown when RemoteException, CreateException, NamingException, FinderException is caught in StoreAccessBeanpublic void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public ATPParameters getDefaultATPParms()
getDefaultATPParms
in interface DoInventoryActionCmd
public java.util.Vector getCatEntryIdNotAvailinInv()
getCatEntryIdNotAvailinInv
in interface DoInventoryActionCmd
public java.util.Vector getFulfillmentCenters()
getFulfillmentCenters
in interface DoInventoryActionCmd
public java.util.Hashtable getInvalidlyAllocateOrderItemsAfterAllocation()
getInvalidlyAllocateOrderItemsAfterAllocation
in interface DoInventoryActionCmd
public static boolean isATPParametersIgnorable(TypedProperty ahshATPParameters, CommandContext commandContext) throws ECException
ahshATPParameters
- the ATP parameters.commandContext
- to check whether the store in the command context is using ATPECException
public int getInventorySystem()
public void setInventorySystem(int ainventorySystem)
ainventorySystem
- The inventorySystem to set.