Update Purchase Order's Spending for the given order and buyerPurchaseOrder.. Parameters:
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.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation of this command. |
static java.lang.String |
ERRTASK_NAME Name of the default error view for this command. |
static java.lang.String |
NAME The name of this command. |
Method Summary | |
---|---|
void |
setBuyerPurchaseOrder(
BuyerPurchaseOrderAccessBean abBPOA) Specifies the BuyerPurchaseOrderAccessBean representing the Purchase Order specified for the purchase. |
void |
setErrorViewName(java.lang.String sEVN) Sets the error view to be used to report error. |
void |
setOrder(
OrderAccessBean abOrder) Sets the order property of the command. |
void |
setTotalAmount(java.math.BigDecimal nTA)
Sets the totalAmount property of the command. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
public static final java.lang.String ERRTASK_NAME
Method Detail |
---|
public void setBuyerPurchaseOrder(BuyerPurchaseOrderAccessBean abBPOA)
abBPOA
- the BuyerPurchaseOrderAccessBeanpublic void setErrorViewName(java.lang.String sEVN)
sEVN
- the Error View namepublic void setOrder(OrderAccessBean abOrder)
abOrder
- the OrderAccessBean of the
Order.public void setTotalAmount(java.math.BigDecimal nTA)
nTA
- the total amount for the purchase order spending limit
record update