public class PendingProduct extends JDBCObject<PendingProduct>
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDINGivHashCode, ivHashFlds, ivObjAttrs| Constructor and Description |
|---|
PendingProduct()
Constructs a
PendingProduct object with all field values set to
null. |
| Modifier and Type | Method and Description |
|---|---|
void |
addXref(Xref value)
Adds a customer-product cross reference to the collection.
|
int |
getAvailableQty()
Returns the quantity available.
|
int |
getAvailableQty2()
Returns the quantity available.
|
int |
getBatchNumber()
Returns the unique number for the batch.
|
java.lang.String |
getCategoryCode()
Returns the category code.
|
java.lang.String |
getCategoryCodeError()
Returns the category code validation error text.
|
java.lang.String |
getClassCode()
Returns the classification code.
|
java.lang.String |
getClassCodeError()
Returns the classification code validation error text.
|
java.lang.String |
getDescription1()
Returns the description 1 (abbreviated).
|
java.lang.String |
getDescription1Error()
Returns the description 1 (abbreviated) validation error text.
|
java.lang.String |
getDescription2()
Returns the description 2 (short).
|
java.lang.String |
getDescription2Error()
Returns the description 2 (short) validation error text.
|
java.lang.String |
getDescription3()
Returns the description 3 (long).
|
java.lang.String |
getDescription3Error()
Returns the description 3 (long) validation error text.
|
java.lang.String |
getErrorCodes()
Returns the concatenated string of error codes.
|
protected java.lang.String |
getErrorText(java.lang.String errorcode)
Returns the description for the given error code.
|
int |
getFindKey()
Returns the random number assigned to search matches.
|
java.lang.String |
getImage2Error()
Returns the image 2 (small) validation error text.
|
java.lang.String |
getImage3Error()
Returns the image 3 (large) validation error text.
|
boolean |
getIsSelected()
Returns the is selected flag.
|
java.lang.String |
getLeadtimeCode()
Returns the lead time code.
|
java.lang.String |
getLeadtimeCodeError()
Returns the lead time code validation error text.
|
java.lang.Integer |
getLowQty()
Returns the low stock quantity.
|
java.lang.String |
getLowQtyError()
Returns the low stock quantity validation error text.
|
java.lang.String |
getLowQtyStr()
Returns the low stock quantity as a string.
|
java.lang.String |
getMfrCode()
Returns the manufacturer code.
|
java.lang.String |
getMfrCodeError()
Returns the manufacturer code validation error text.
|
java.lang.String |
getMfrPartCode()
Returns the manufacturer part number.
|
java.lang.String |
getMfrPartCodeError()
Returns the manufacturer part number validation error text.
|
java.lang.Integer |
getOutQty()
Returns the out of stock quantity.
|
java.lang.String |
getOutQtyError()
Returns the out of stock quantity validation error text.
|
java.lang.String |
getOutQtyStr()
Returns the out of stock quantity.
|
java.lang.String |
getProductCode()
Returns the product code.
|
java.lang.String |
getProductCodeError()
Returns the product code validation error text.
|
java.math.BigDecimal |
getRetailPrice()
Returns the unit price amount.
|
java.lang.String |
getUomCode()
Returns the product unit of measure code.
|
java.lang.String |
getUomCodeError()
Returns the product unit of measure code validation error text.
|
java.util.ArrayList<Xref> |
getXrefs()
Returns the collection of customer-product cross references.
|
protected boolean |
hasError(java.lang.String errorcode)
Answers if the pending product has the given validation error.
|
void |
setAvailableQty(int value)
Sets the quantity available.
|
void |
setAvailableQty2(int value)
Sets the quantity available.
|
void |
setBatchNumber(int value)
Sets the unique number for the batch.
|
void |
setCategoryCode(java.lang.String value)
Sets the category code.
|
void |
setClassCode(java.lang.String value)
Sets the classification code.
|
void |
setDescription1(java.lang.String value)
Sets the description 1 (abbreviated).
|
void |
setDescription2(java.lang.String value)
Sets the description 2 (short).
|
void |
setDescription3(java.lang.String value)
Sets the description 3 (long).
|
void |
setErrorCodes(java.lang.String value)
Sets the concatenated string of error codes.
|
void |
setFindKey(int value)
Sets the random number assigned to search matches.
|
void |
setIsSelected(boolean value)
Sets the is selected flag.
|
void |
setLeadtimeCode(java.lang.String value)
Sets the lead time code.
|
void |
setLowQty(java.lang.Integer value)
Sets the low stock quantity.
|
void |
setMfrCode(java.lang.String value)
Sets the manufacturer code.
|
void |
setMfrPartCode(java.lang.String value)
Sets the manufacturer part number.
|
void |
setOutQty(java.lang.Integer value)
Sets the out of stock quantity.
|
void |
setProductCode(java.lang.String value)
Sets the product code.
|
void |
setRetailPrice(java.math.BigDecimal value)
Sets the unit price amount.
|
void |
setUomCode(java.lang.String value)
Sets the product unit of measure code.
|
void |
setXrefs(java.util.ArrayList<Xref> value)
Sets the collection of customer-product cross references.
|
after, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatuscloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArrayprivate static final long serialVersionUID
public PendingProduct()
PendingProduct object with all field values set to
null. Initializes the collection of customer-product cross
references to an empty collection.public java.lang.String getProductCode()
public java.lang.String getProductCodeError()
public void setProductCode(java.lang.String value)
value - (String) The product code.public java.lang.String getUomCode()
public java.lang.String getUomCodeError()
public void setUomCode(java.lang.String value)
value - (String) The product unit of measure code.public java.lang.String getDescription1()
public java.lang.String getDescription1Error()
public void setDescription1(java.lang.String value)
value - (String) The description 1 (abbreviated).public java.lang.String getDescription2()
public java.lang.String getDescription2Error()
public void setDescription2(java.lang.String value)
value - (String) The description 2 (short).public java.lang.String getDescription3()
public java.lang.String getDescription3Error()
public void setDescription3(java.lang.String value)
value - (String) The description 3 (long).public java.math.BigDecimal getRetailPrice()
public void setRetailPrice(java.math.BigDecimal value)
value - (BigDecimal) The unit price amount.public int getAvailableQty()
public void setAvailableQty(int value)
value - (int) The quantity available.public int getAvailableQty2()
public void setAvailableQty2(int value)
value - (int) The quantity available.public java.lang.String getLeadtimeCode()
public java.lang.String getLeadtimeCodeError()
public void setLeadtimeCode(java.lang.String value)
value - (String) The lead time code.public java.lang.Integer getLowQty()
null if a quantity
is not defined.public java.lang.String getLowQtyError()
public java.lang.String getLowQtyStr()
public void setLowQty(java.lang.Integer value)
value - (Integer) The low stock quantity or null if a
quantity is not defined.public java.lang.Integer getOutQty()
null if a quantity
is not defined.public java.lang.String getOutQtyError()
public java.lang.String getOutQtyStr()
public void setOutQty(java.lang.Integer value)
value - (Integer) The out of stock quantity or null if a
quantity is not defined.public java.lang.String getMfrPartCode()
public java.lang.String getMfrPartCodeError()
public void setMfrPartCode(java.lang.String value)
value - (String) The manufacturer part number.public java.lang.String getMfrCode()
public java.lang.String getMfrCodeError()
public void setMfrCode(java.lang.String value)
value - (String) The manufacturer code.public java.lang.String getClassCode()
public java.lang.String getClassCodeError()
public void setClassCode(java.lang.String value)
value - (String) The classification code.public java.lang.String getCategoryCode()
public java.lang.String getCategoryCodeError()
public void setCategoryCode(java.lang.String value)
value - (String) The category code.public java.lang.String getImage2Error()
public java.lang.String getImage3Error()
public boolean getIsSelected()
public void setIsSelected(boolean value)
value - (boolean) The is selected flag.public java.lang.String getErrorCodes()
public void setErrorCodes(java.lang.String value)
value - (String) The concatenated string of error codes.public int getBatchNumber()
public void setBatchNumber(int value)
value - (int) The unique number for the batch.public int getFindKey()
public void setFindKey(int value)
value - (int) The random number assigned to search matches.public java.util.ArrayList<Xref> getXrefs()
public void setXrefs(java.util.ArrayList<Xref> value)
value - (ArrayList) The customer-product cross references.public void addXref(Xref value)
value - (Xref) The cross reference object to add.protected boolean hasError(java.lang.String errorcode)
errorcode - (String) The code for the error to check.true if the product has the error,
otherwise false.protected java.lang.String getErrorText(java.lang.String errorcode)
errorcode - (String) The error code for the desired description.