com.ibm.commerce.inventory.objects
Class ReceiptBean

com.ibm.commerce.inventory.objects.ReceiptBean
All Implemented Interfaces:
java.io.Serializable

public class ReceiptBean
implements java.io.Serializable

This bean provides access to the RECEIPT table.

The following is a description of this table:

Each row contains information about each receipt of an item at a FulfillmentCenter.

See Also:
Serialized Form

Constructor Summary
ReceiptBean()
           
 
Method Summary
 java.lang.String getComment1()
          This method provides access to the RECEIPT.COMMENT1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getComment2()
          This method provides access to the RECEIPT.COMMENT2 column of DB2 type VARCHAR(254) NULL.
 java.math.BigDecimal getCost()
          This method provides access to the RECEIPT.COST column of DB2 type DECIMAL(20,5) NULL.
 java.sql.Timestamp getCreateTime()
          This method provides access to the RECEIPT.CREATETIME column of DB2 type TIMESTAMP NOT NULL.
 java.lang.Integer getFfmcenterId()
          This method provides access to the RECEIPT.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 java.sql.Timestamp getLastupdate()
          This method provides access to the RECEIPT.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Integer getQtyInKits()
          This method provides access to the RECEIPT.QTYINKITS column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getQtyInProcess()
          This method provides access to the RECEIPT.QTYINPROCESS column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getQtyOnHand()
          This method provides access to the RECEIPT.QTYONHAND column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getQtyReceived()
          This method provides access to the RECEIPT.QTYRECEIVED column of DB2 type INTEGER NOT NULL.
 java.lang.Long getRaDetailId()
          This method provides access to the RECEIPT.RADETAIL_ID column of DB2 type BIGINT NULL.
 java.sql.Timestamp getReceiptDate()
          This method provides access to the RECEIPT.RECEIPTDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.Long getReceiptId()
          This method provides access to the RECEIPT.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getReceiptType()
          This method provides access to the RECEIPT.RECEIPTTYPE column of DB2 type CHAR(4) NOT NULL.
 java.lang.Long getRtnRcptDspId()
          This method provides access to the RECEIPT.RTNRCPTDSP_ID column of DB2 type BIGINT NULL.
 java.lang.String getSetCCurr()
          This method provides access to the RECEIPT.SETCCURR column of DB2 type CHAR(3) NULL.
 java.lang.Integer getStoreId()
          This method provides access to the RECEIPT.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Long getVendorId()
          This method provides access to the RECEIPT.VENDOR_ID column of DB2 type BIGINT NULL.
 java.lang.Long getVersionSpcId()
          This method provides access to the RECEIPT.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
 void setComment1(java.lang.String aComment1)
          This method provides access to the RECEIPT.COMMENT1 column of DB2 type VARCHAR(254) NULL.
 void setComment2(java.lang.String aComment2)
          This method provides access to the RECEIPT.COMMENT2 column of DB2 type VARCHAR(254) NULL.
 void setCost(java.math.BigDecimal aCost)
          This method provides access to the RECEIPT.COST column of DB2 type DECIMAL(20,5) NULL.
 void setCreateTime(java.sql.Timestamp aCreateTime)
          This method provides access to the RECEIPT.CREATETIME column of DB2 type TIMESTAMP NOT NULL.
 void setFfmcenterId(java.lang.Integer aFfmcenterId)
          This method provides access to the RECEIPT.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the RECEIPT.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setQtyInKits(java.lang.Integer aQtyInKits)
          This method provides access to the RECEIPT.QTYINKITS column of DB2 type INTEGER NOT NULL.
 void setQtyInProcess(java.lang.Integer aQtyInProcess)
          This method provides access to the RECEIPT.QTYINPROCESS column of DB2 type INTEGER NOT NULL.
 void setQtyOnHand(java.lang.Integer aQtyOnHand)
          This method provides access to the RECEIPT.QTYONHAND column of DB2 type INTEGER NOT NULL.
 void setQtyReceived(java.lang.Integer aQtyReceived)
          This method provides access to the RECEIPT.QTYRECEIVED column of DB2 type INTEGER NOT NULL.
 void setRaDetailId(java.lang.Long aRaDetailId)
          This method provides access to the RECEIPT.RADETAIL_ID column of DB2 type BIGINT NULL.
 void setReceiptDate(java.sql.Timestamp aReceiptDate)
          This method provides access to the RECEIPT.RECEIPTDATE column of DB2 type TIMESTAMP NOT NULL.
 void setReceiptId(java.lang.Long aReceiptId)
          This method provides access to the RECEIPT.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 void setReceiptType(java.lang.String aReceiptType)
          This method provides access to the RECEIPT.RECEIPTTYPE column of DB2 type CHAR(4) NOT NULL.
 void setRtnRcptDspId(java.lang.Long aRtnRcptDspId)
          This method provides access to the RECEIPT.RTNRCPTDSP_ID column of DB2 type BIGINT NULL.
 void setSetCCurr(java.lang.String aSetCCurr)
          This method provides access to the RECEIPT.SETCCURR column of DB2 type CHAR(3) NULL.
 void setStoreId(java.lang.Integer aStoreId)
          This method provides access to the RECEIPT.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setVendorId(java.lang.Long aVendorId)
          This method provides access to the RECEIPT.VENDOR_ID column of DB2 type BIGINT NULL.
 void setVersionSpcId(java.lang.Long aVersionSpcId)
          This method provides access to the RECEIPT.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
 

Constructor Detail

ReceiptBean

public ReceiptBean()
Method Detail

getComment1

public java.lang.String getComment1()

This method provides access to the RECEIPT.COMMENT1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Comment.

Returns:
java.lang.String

getComment2

public java.lang.String getComment2()

This method provides access to the RECEIPT.COMMENT2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Comment.

Returns:
java.lang.String

getCost

public java.math.BigDecimal getCost()

This method provides access to the RECEIPT.COST column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Unit cost.

Returns:
java.math.BigDecimal

getCreateTime

public java.sql.Timestamp getCreateTime()

This method provides access to the RECEIPT.CREATETIME column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time the row was created.

Returns:
java.sql.Timestamp

getFfmcenterId

public java.lang.Integer getFfmcenterId()

This method provides access to the RECEIPT.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

FulfillmentCenter where the inventory was received.

Returns:
java.lang.Integer

getLastupdate

public java.sql.Timestamp getLastupdate()

This method provides access to the RECEIPT.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Returns:
java.sql.Timestamp

getQtyInKits

public java.lang.Integer getQtyInKits()

This method provides access to the RECEIPT.QTYINKITS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Integer

getQtyInProcess

public java.lang.Integer getQtyInProcess()

This method provides access to the RECEIPT.QTYINPROCESS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The quantity allocated to customer orders but not yet released to fulfillment.

Returns:
java.lang.Integer

getQtyOnHand

public java.lang.Integer getQtyOnHand()

This method provides access to the RECEIPT.QTYONHAND column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The current quantity in inventory.

Returns:
java.lang.Integer

getQtyReceived

public java.lang.Integer getQtyReceived()

This method provides access to the RECEIPT.QTYRECEIVED column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The quantity received.

Returns:
java.lang.Integer

getRaDetailId

public java.lang.Long getRaDetailId()

This method provides access to the RECEIPT.RADETAIL_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Foreign key to RADETAIL table if the receipt was created from expected inventory.

Returns:
java.lang.Long

getReceiptDate

public java.sql.Timestamp getReceiptDate()

This method provides access to the RECEIPT.RECEIPTDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Date the inventory was received.

Returns:
java.sql.Timestamp

getReceiptId

public java.lang.Long getReceiptId()

This method provides access to the RECEIPT.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

Returns:
java.lang.Long

getReceiptType

public java.lang.String getReceiptType()

This method provides access to the RECEIPT.RECEIPTTYPE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

Indicates how this receipt was created. ADHC: AdHoc receipt. EIR: Expected Inventory Receipt. RTN: returned receipt.

Returns:
java.lang.String

getRtnRcptDspId

public java.lang.Long getRtnRcptDspId()

This method provides access to the RECEIPT.RTNRCPTDSP_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Foreign key to RTNRCTPDSP table if the receipt was created from a returned item.

Returns:
java.lang.Long

getSetCCurr

public java.lang.String getSetCCurr()

This method provides access to the RECEIPT.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Currency of the COST field. This is a currency code as per ISO 4217 standards.

Returns:
java.lang.String

getStoreId

public java.lang.Integer getStoreId()

This method provides access to the RECEIPT.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store that owns the inventory.

Returns:
java.lang.Integer

getVendorId

public java.lang.Long getVendorId()

This method provides access to the RECEIPT.VENDOR_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The vendor that supplied the inventory.

Returns:
java.lang.Long

getVersionSpcId

public java.lang.Long getVersionSpcId()

This method provides access to the RECEIPT.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Item identifier.

Returns:
java.lang.Long

setComment1

public void setComment1(java.lang.String aComment1)

This method provides access to the RECEIPT.COMMENT1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Comment.

Parameters:
aComment1 - java.lang.String
Returns:
void

setComment2

public void setComment2(java.lang.String aComment2)

This method provides access to the RECEIPT.COMMENT2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Comment.

Parameters:
aComment2 - java.lang.String
Returns:
void

setCost

public void setCost(java.math.BigDecimal aCost)

This method provides access to the RECEIPT.COST column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Unit cost.

Parameters:
aCost - java.math.BigDecimal
Returns:
void

setCreateTime

public void setCreateTime(java.sql.Timestamp aCreateTime)

This method provides access to the RECEIPT.CREATETIME column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time the row was created.

Parameters:
aCreateTime - java.sql.Timestamp
Returns:
void

setFfmcenterId

public void setFfmcenterId(java.lang.Integer aFfmcenterId)

This method provides access to the RECEIPT.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

FulfillmentCenter where the inventory was received.

Parameters:
aFfmcenterId - java.lang.Integer
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

This method provides access to the RECEIPT.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Parameters:
aLastupdate - java.sql.Timestamp
Returns:
void

setQtyInKits

public void setQtyInKits(java.lang.Integer aQtyInKits)

This method provides access to the RECEIPT.QTYINKITS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aQtyInKits - java.lang.Integer
Returns:
void

setQtyInProcess

public void setQtyInProcess(java.lang.Integer aQtyInProcess)

This method provides access to the RECEIPT.QTYINPROCESS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The quantity allocated to customer orders but not yet released to fulfillment.

Parameters:
aQtyInProcess - java.lang.Integer
Returns:
void

setQtyOnHand

public void setQtyOnHand(java.lang.Integer aQtyOnHand)

This method provides access to the RECEIPT.QTYONHAND column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The current quantity in inventory.

Parameters:
aQtyOnHand - java.lang.Integer
Returns:
void

setQtyReceived

public void setQtyReceived(java.lang.Integer aQtyReceived)

This method provides access to the RECEIPT.QTYRECEIVED column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The quantity received.

Parameters:
aQtyReceived - java.lang.Integer
Returns:
void

setRaDetailId

public void setRaDetailId(java.lang.Long aRaDetailId)

This method provides access to the RECEIPT.RADETAIL_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Foreign key to RADETAIL table if the receipt was created from expected inventory.

Parameters:
aRaDetailId - java.lang.Long
Returns:
void

setReceiptDate

public void setReceiptDate(java.sql.Timestamp aReceiptDate)

This method provides access to the RECEIPT.RECEIPTDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Date the inventory was received.

Parameters:
aReceiptDate - java.sql.Timestamp
Returns:
void

setReceiptId

public void setReceiptId(java.lang.Long aReceiptId)

This method provides access to the RECEIPT.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

Parameters:
aReceiptId - java.lang.Long
Returns:
void

setReceiptType

public void setReceiptType(java.lang.String aReceiptType)

This method provides access to the RECEIPT.RECEIPTTYPE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

Indicates how this receipt was created. ADHC: AdHoc receipt. EIR: Expected Inventory Receipt. RTN: returned receipt.

Parameters:
aReceiptType - java.lang.String
Returns:
void

setRtnRcptDspId

public void setRtnRcptDspId(java.lang.Long aRtnRcptDspId)

This method provides access to the RECEIPT.RTNRCPTDSP_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Foreign key to RTNRCTPDSP table if the receipt was created from a returned item.

Parameters:
aRtnRcptDspId - java.lang.Long
Returns:
void

setSetCCurr

public void setSetCCurr(java.lang.String aSetCCurr)

This method provides access to the RECEIPT.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Currency of the COST field. This is a currency code as per ISO 4217 standards.

Parameters:
aSetCCurr - java.lang.String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer aStoreId)

This method provides access to the RECEIPT.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store that owns the inventory.

Parameters:
aStoreId - java.lang.Integer
Returns:
void

setVendorId

public void setVendorId(java.lang.Long aVendorId)

This method provides access to the RECEIPT.VENDOR_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The vendor that supplied the inventory.

Parameters:
aVendorId - java.lang.Long
Returns:
void

setVersionSpcId

public void setVersionSpcId(java.lang.Long aVersionSpcId)

This method provides access to the RECEIPT.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Item identifier.

Parameters:
aVersionSpcId - java.lang.Long
Returns:
void