|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Perform the checks on the specified buyerPONumber.
Parameter:
Parameter Name | Type | Descriptions |
order | OrderAccessBean | The Order Access Bean |
account | AccountAccessBean | The Account AccessBean representing the common account object of all the Trading Agreements specified by the OrderItems of the Order. |
buyerPONumber | String | The Buyer Purchase Order Number |
errorViewName | String | Optional error view name passed in by the Caller. |
createFlag | boolean | Flag to indicate if the command may create BuyerPurchaseOrder object as a by-product of the validation. By default, this flag is set to true. |
PaymentConstants.ERR_CODE_INVALID_PO_INDIVIDUAL_PO_NOT_ALLOWED
(1971) - Invalid PONumber. (Specified PONumber is not a predefined PO and Account does not specify that Individual PO is allowed.)
PaymentConstants.ERR_CODE_INVALID_PO_INDIVIDUAL_PO_NOT_UNIQUE
(1972) - Invalid PONumber. (Specified PONumber is not a predefined PO and the Account requires Individual PO to be unique but this PONumber is already in use within the Account.)
PaymentConstants.ERR_CODE_INVALID_PO_PO_NOT_ACTIVE
(1973) - Invalid PONumber. (Specified PONumber is a predefined PO but the PO is not active.)
Field Summary | |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
The default implementation class. |
static java.lang.String |
ERRTASK_NAME
Name of the Error View for this command. |
static java.lang.String |
NAME
|
Method Summary | |
java.lang.Long |
getBuyerPOId()
Returns Buyer Purchase Order reference number |
java.lang.Integer |
getBuyerPOType()
Returns Buyer Purchase Order Type |
void |
setAccount(AccountAccessBean abAccount)
Sets the abAccount property of the command. |
void |
setBuyerPONumber(java.lang.String sBPONum)
Sets the sBPONum property of the command. |
void |
setCreateFlag(boolean createFlag)
Sets the createFlag property of the command. |
void |
setErrorViewName(java.lang.String sEVN)
Optional error view name passed in by the Caller. |
void |
setOrder(OrderAccessBean abOrder)
Sets the order property of the command. |
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 ERRTASK_NAME
public static final java.lang.String NAME
Method Detail |
public java.lang.Long getBuyerPOId()
Long
containing reference number of the Buyer Purchase Order,
return null if unknownpublic java.lang.Integer getBuyerPOType()
Integer
containing type of the Buyer Purchase Order,
return null if unknownpublic void setAccount(AccountAccessBean abAccount)
abAccount
- the AccountAccessBean of the Order is associated withpublic void setBuyerPONumber(java.lang.String sBPONum)
sBPONum
- the actual Buyer Purchase Order Number input from controller command.public void setCreateFlag(boolean createFlag)
public void setErrorViewName(java.lang.String sEVN)
public void setOrder(OrderAccessBean abOrder)
abOrder
- the OrderAccessBean of the Order.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |