public interface UpdatePOSpendingCmd extends TaskCommand
UpdatePOSpendingForLimitCheckCmdImpl
.
Parameter Name | Type | Descriptions |
order | OrderAccessBean | The OrderAccessBean of the order |
buyerPurchaseOrder | BuyerPurchaseOrderAccessBean | The BuyerPurchaseOrderAccessBean representing the buyer purchase order record. |
totalAmount | BigDecimal | The Total Amount to be recorded. This amount is in the currency of the order. |
errorViewName | String | Optional error view name passed in by the Caller. |
PaymentConstants.ERR_CODE_CURRENCY_CONVERT_FAIL
(1961)
- Currency conversion not available or failed.
PaymentConstants.ERR_CODE_PURCHASE_AMOUNT_EXCEED_LIMIT_OF_LPO
(1964)
- Purchase Amount Exceeded the Spending Limit (Amount) of the Limited PO.
UpdatePOSpendingForLimitCheckCmdImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
ERRTASK_NAME
The name of the default error view for this command.
|
static java.lang.String |
NAME
The full name of this command.
|
Modifier and Type | Method and Description |
---|---|
void |
setBuyerPurchaseOrder(BuyerPurchaseOrderAccessBean abBPOA)
This method specifies the BuyerPurchaseOrderAccessBean representing the Purchase Order specified for the purchase.
|
void |
setErrorViewName(java.lang.String sEVN)
This method sets the error view to be used to report error.
|
void |
setOrder(OrderAccessBean abOrder)
This method sets the order property of the command.
|
void |
setTotalAmount(java.math.BigDecimal nTA)
This method sets the totalAmount property of the command.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String ERRTASK_NAME
void setBuyerPurchaseOrder(BuyerPurchaseOrderAccessBean abBPOA)
abBPOA
- A BuyerPurchaseOrderAccessBean that represents the buyer purchase order.void setErrorViewName(java.lang.String sEVN)
sEVN
- The Error View name.void setOrder(OrderAccessBean abOrder)
abOrder
- The OrderAccessBean of the Order.void setTotalAmount(java.math.BigDecimal nTA)
nTA
- A BigDecimal that specific the total amount for the purchase order spending limit record update.