public interface ValidatePONumberCmd extends TaskCommand
Parameter Name | Type | Descriptions |
order | OrderAccessBean | The OrderAccessBean |
account | AccountAccessBean | The AccountAccessBean 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. |
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 |
---|---|
java.lang.Long | getBuyerPOId()
This method returns the internal ID of the BuyerPO record if the specified buyer purchase order number is valid.
|
java.lang.Integer | getBuyerPOType()
This method returns the Buyer Purchase Order type referenced by the specified Buyer Purchase Order number.
|
void | setAccount(AccountAccessBean abAccount)
This method sets the Account property of the command.
|
void | setBuyerPONumber(java.lang.String sBPONum)
This method sets the BuyerPONumber property of the command.
|
void | setCreateFlag(boolean createFlag)
This method sets the createFlag property of the command.
|
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.
|
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
java.lang.Long getBuyerPOId()
java.lang.Integer getBuyerPOType()
The following buyer purchase order types are defined:
void setAccount(AccountAccessBean abAccount)
void setBuyerPONumber(java.lang.String sBPONum)
void setCreateFlag(boolean createFlag)
void setErrorViewName(java.lang.String sEVN)
void setOrder(OrderAccessBean abOrder)