Package org.compiere.model
Class X_I_Inventory
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_I_Inventory
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_I_Inventory
,I_Persistent
,Evaluatee
Generated Model for I_Inventory
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_I_Inventory
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Charge_ID, COLUMNNAME_C_DocType_ID, COLUMNNAME_ChargeName, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_CurrentCostPrice, COLUMNNAME_Description, COLUMNNAME_DocTypeName, COLUMNNAME_I_ErrorMsg, COLUMNNAME_I_Inventory_ID, COLUMNNAME_I_Inventory_UU, COLUMNNAME_I_IsImported, COLUMNNAME_IsActive, COLUMNNAME_LocatorValue, COLUMNNAME_Lot, COLUMNNAME_M_CostingLine_ID, COLUMNNAME_M_Inventory_ID, COLUMNNAME_M_InventoryLine_ID, COLUMNNAME_M_Locator_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_MovementDate, COLUMNNAME_Processed, COLUMNNAME_Processing, COLUMNNAME_QtyBook, COLUMNNAME_QtyCount, COLUMNNAME_QtyInternalUse, COLUMNNAME_SerNo, COLUMNNAME_UPC, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, COLUMNNAME_WarehouseValue, COLUMNNAME_X, COLUMNNAME_Y, COLUMNNAME_Z, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_I_Inventory
(Properties ctx, int I_Inventory_ID, String trxName) Standard ConstructorX_I_Inventory
(Properties ctx, int I_Inventory_ID, String trxName, String... virtualColumns) Standard ConstructorX_I_Inventory
(Properties ctx, String I_Inventory_UU, String trxName) Standard ConstructorX_I_Inventory
(Properties ctx, String I_Inventory_UU, String trxName, String... virtualColumns) Standard ConstructorX_I_Inventory
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Charge.int
Get Document Type.Get Charge Name.Get Current Cost Price.Get Description.Get Document Type Name.Get Import Error Message.int
Get Import Inventory.Get I_Inventory_UU.Get Record ID/ColumnNameGet Locator Key.getLot()
Get Lot No.int
Get Cost Adjustment Line.int
Get Phys.Inventory.int
Get Phys.Inventory Line.int
Get Locator.int
Get Product.int
Get Warehouse.Get Movement Date.Get Quantity book.Get Quantity count.Get Internal Use Qty.getSerNo()
Get Serial No.getUPC()
Get UPC/EAN.getValue()
Get Search Key.Get Warehouse Key.getX()
Get Aisle (X).getY()
Get Bin (Y).getZ()
Get Level (Z).protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Imported.boolean
Get Processed.boolean
Get Process Now.void
setC_Charge_ID
(int C_Charge_ID) Set Charge.void
setC_DocType_ID
(int C_DocType_ID) Set Document Type.void
setChargeName
(String ChargeName) Set Charge Name.void
setCurrentCostPrice
(BigDecimal CurrentCostPrice) Set Current Cost Price.void
setDescription
(String Description) Set Description.void
setDocTypeName
(String DocTypeName) Set Document Type Name.void
setI_ErrorMsg
(String I_ErrorMsg) Set Import Error Message.void
setI_Inventory_ID
(int I_Inventory_ID) Set Import Inventory.void
setI_Inventory_UU
(String I_Inventory_UU) Set I_Inventory_UU.void
setI_IsImported
(boolean I_IsImported) Set Imported.void
setLocatorValue
(String LocatorValue) Set Locator Key.void
Set Lot No.void
setM_CostingLine_ID
(int M_CostingLine_ID) Set Cost Adjustment Line.void
setM_Inventory_ID
(int M_Inventory_ID) Set Phys.Inventory.void
setM_InventoryLine_ID
(int M_InventoryLine_ID) Set Phys.Inventory Line.void
setM_Locator_ID
(int M_Locator_ID) Set Locator.void
setM_Product_ID
(int M_Product_ID) Set Product.void
setM_Warehouse_ID
(int M_Warehouse_ID) Set Warehouse.void
setMovementDate
(Timestamp MovementDate) Set Movement Date.void
setProcessed
(boolean Processed) Set Processed.void
setProcessing
(boolean Processing) Set Process Now.void
setQtyBook
(BigDecimal QtyBook) Set Quantity book.void
setQtyCount
(BigDecimal QtyCount) Set Quantity count.void
setQtyInternalUse
(BigDecimal QtyInternalUse) Set Internal Use Qty.void
Set Serial No.void
Set UPC/EAN.void
Set Search Key.void
setWarehouseValue
(String WarehouseValue) Set Warehouse Key.void
Set Aisle (X).void
Set Bin (Y).void
Set Level (Z).toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.compiere.model.I_I_Inventory
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
X_I_Inventory
Standard Constructor -
X_I_Inventory
Standard Constructor -
X_I_Inventory
Standard Constructor -
X_I_Inventory
public X_I_Inventory(Properties ctx, String I_Inventory_UU, String trxName, String... virtualColumns) Standard Constructor -
X_I_Inventory
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getC_Charge
- Specified by:
getC_Charge
in interfaceI_I_Inventory
- Throws:
RuntimeException
-
setC_Charge_ID
public void setC_Charge_ID(int C_Charge_ID) Set Charge.- Specified by:
setC_Charge_ID
in interfaceI_I_Inventory
- Parameters:
C_Charge_ID
- Additional document charges
-
getC_Charge_ID
public int getC_Charge_ID()Get Charge.- Specified by:
getC_Charge_ID
in interfaceI_I_Inventory
- Returns:
- Additional document charges
-
getC_DocType
- Specified by:
getC_DocType
in interfaceI_I_Inventory
- Throws:
RuntimeException
-
setC_DocType_ID
public void setC_DocType_ID(int C_DocType_ID) Set Document Type.- Specified by:
setC_DocType_ID
in interfaceI_I_Inventory
- Parameters:
C_DocType_ID
- Document type or rules
-
getC_DocType_ID
public int getC_DocType_ID()Get Document Type.- Specified by:
getC_DocType_ID
in interfaceI_I_Inventory
- Returns:
- Document type or rules
-
setChargeName
Set Charge Name.- Specified by:
setChargeName
in interfaceI_I_Inventory
- Parameters:
ChargeName
- Name of the Charge
-
getChargeName
Get Charge Name.- Specified by:
getChargeName
in interfaceI_I_Inventory
- Returns:
- Name of the Charge
-
setCurrentCostPrice
Set Current Cost Price.- Specified by:
setCurrentCostPrice
in interfaceI_I_Inventory
- Parameters:
CurrentCostPrice
- The currently used cost price
-
getCurrentCostPrice
Get Current Cost Price.- Specified by:
getCurrentCostPrice
in interfaceI_I_Inventory
- Returns:
- The currently used cost price
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_I_Inventory
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_I_Inventory
- Returns:
- Optional short description of the record
-
setDocTypeName
Set Document Type Name.- Specified by:
setDocTypeName
in interfaceI_I_Inventory
- Parameters:
DocTypeName
- Name of the Document Type
-
getDocTypeName
Get Document Type Name.- Specified by:
getDocTypeName
in interfaceI_I_Inventory
- Returns:
- Name of the Document Type
-
setI_ErrorMsg
Set Import Error Message.- Specified by:
setI_ErrorMsg
in interfaceI_I_Inventory
- Parameters:
I_ErrorMsg
- Messages generated from import process
-
getI_ErrorMsg
Get Import Error Message.- Specified by:
getI_ErrorMsg
in interfaceI_I_Inventory
- Returns:
- Messages generated from import process
-
setI_Inventory_ID
public void setI_Inventory_ID(int I_Inventory_ID) Set Import Inventory.- Specified by:
setI_Inventory_ID
in interfaceI_I_Inventory
- Parameters:
I_Inventory_ID
- Import Inventory Transactions
-
getI_Inventory_ID
public int getI_Inventory_ID()Get Import Inventory.- Specified by:
getI_Inventory_ID
in interfaceI_I_Inventory
- Returns:
- Import Inventory Transactions
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setI_Inventory_UU
Set I_Inventory_UU.- Specified by:
setI_Inventory_UU
in interfaceI_I_Inventory
- Parameters:
I_Inventory_UU
- I_Inventory_UU
-
getI_Inventory_UU
Get I_Inventory_UU.- Specified by:
getI_Inventory_UU
in interfaceI_I_Inventory
- Returns:
- I_Inventory_UU
-
setI_IsImported
public void setI_IsImported(boolean I_IsImported) Set Imported.- Specified by:
setI_IsImported
in interfaceI_I_Inventory
- Parameters:
I_IsImported
- Has this import been processed
-
isI_IsImported
public boolean isI_IsImported()Get Imported.- Specified by:
isI_IsImported
in interfaceI_I_Inventory
- Returns:
- Has this import been processed
-
setLocatorValue
Set Locator Key.- Specified by:
setLocatorValue
in interfaceI_I_Inventory
- Parameters:
LocatorValue
- Key of the Warehouse Locator
-
getLocatorValue
Get Locator Key.- Specified by:
getLocatorValue
in interfaceI_I_Inventory
- Returns:
- Key of the Warehouse Locator
-
setLot
Set Lot No.- Specified by:
setLot
in interfaceI_I_Inventory
- Parameters:
Lot
- Lot number (alphanumeric)
-
getLot
Get Lot No.- Specified by:
getLot
in interfaceI_I_Inventory
- Returns:
- Lot number (alphanumeric)
-
getM_CostingLine
- Specified by:
getM_CostingLine
in interfaceI_I_Inventory
- Throws:
RuntimeException
-
setM_CostingLine_ID
public void setM_CostingLine_ID(int M_CostingLine_ID) Set Cost Adjustment Line.- Specified by:
setM_CostingLine_ID
in interfaceI_I_Inventory
- Parameters:
M_CostingLine_ID
- Unique line in an Inventory cost adjustment document
-
getM_CostingLine_ID
public int getM_CostingLine_ID()Get Cost Adjustment Line.- Specified by:
getM_CostingLine_ID
in interfaceI_I_Inventory
- Returns:
- Unique line in an Inventory cost adjustment document
-
getM_Inventory
- Specified by:
getM_Inventory
in interfaceI_I_Inventory
- Throws:
RuntimeException
-
setM_Inventory_ID
public void setM_Inventory_ID(int M_Inventory_ID) Set Phys.Inventory.- Specified by:
setM_Inventory_ID
in interfaceI_I_Inventory
- Parameters:
M_Inventory_ID
- Parameters for a Physical Inventory
-
getM_Inventory_ID
public int getM_Inventory_ID()Get Phys.Inventory.- Specified by:
getM_Inventory_ID
in interfaceI_I_Inventory
- Returns:
- Parameters for a Physical Inventory
-
getM_InventoryLine
- Specified by:
getM_InventoryLine
in interfaceI_I_Inventory
- Throws:
RuntimeException
-
setM_InventoryLine_ID
public void setM_InventoryLine_ID(int M_InventoryLine_ID) Set Phys.Inventory Line.- Specified by:
setM_InventoryLine_ID
in interfaceI_I_Inventory
- Parameters:
M_InventoryLine_ID
- Unique line in an Inventory document
-
getM_InventoryLine_ID
public int getM_InventoryLine_ID()Get Phys.Inventory Line.- Specified by:
getM_InventoryLine_ID
in interfaceI_I_Inventory
- Returns:
- Unique line in an Inventory document
-
getM_Locator
- Specified by:
getM_Locator
in interfaceI_I_Inventory
- Throws:
RuntimeException
-
setM_Locator_ID
public void setM_Locator_ID(int M_Locator_ID) Set Locator.- Specified by:
setM_Locator_ID
in interfaceI_I_Inventory
- Parameters:
M_Locator_ID
- Warehouse Locator
-
getM_Locator_ID
public int getM_Locator_ID()Get Locator.- Specified by:
getM_Locator_ID
in interfaceI_I_Inventory
- Returns:
- Warehouse Locator
-
setMovementDate
Set Movement Date.- Specified by:
setMovementDate
in interfaceI_I_Inventory
- Parameters:
MovementDate
- Date a product was moved in or out of inventory
-
getMovementDate
Get Movement Date.- Specified by:
getMovementDate
in interfaceI_I_Inventory
- Returns:
- Date a product was moved in or out of inventory
-
getM_Product
- Specified by:
getM_Product
in interfaceI_I_Inventory
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_I_Inventory
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_ID
in interfaceI_I_Inventory
- Returns:
- Product, Service, Item
-
getM_Warehouse
- Specified by:
getM_Warehouse
in interfaceI_I_Inventory
- Throws:
RuntimeException
-
setM_Warehouse_ID
public void setM_Warehouse_ID(int M_Warehouse_ID) Set Warehouse.- Specified by:
setM_Warehouse_ID
in interfaceI_I_Inventory
- Parameters:
M_Warehouse_ID
- Storage Warehouse and Service Point
-
getM_Warehouse_ID
public int getM_Warehouse_ID()Get Warehouse.- Specified by:
getM_Warehouse_ID
in interfaceI_I_Inventory
- Returns:
- Storage Warehouse and Service Point
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessed
in interfaceI_I_Inventory
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessed
in interfaceI_I_Inventory
- Returns:
- The document has been processed
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessing
in interfaceI_I_Inventory
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessing
in interfaceI_I_Inventory
- Returns:
- Process Now
-
setQtyBook
Set Quantity book.- Specified by:
setQtyBook
in interfaceI_I_Inventory
- Parameters:
QtyBook
- Book Quantity
-
getQtyBook
Get Quantity book.- Specified by:
getQtyBook
in interfaceI_I_Inventory
- Returns:
- Book Quantity
-
setQtyCount
Set Quantity count.- Specified by:
setQtyCount
in interfaceI_I_Inventory
- Parameters:
QtyCount
- Counted Quantity
-
getQtyCount
Get Quantity count.- Specified by:
getQtyCount
in interfaceI_I_Inventory
- Returns:
- Counted Quantity
-
setQtyInternalUse
Set Internal Use Qty.- Specified by:
setQtyInternalUse
in interfaceI_I_Inventory
- Parameters:
QtyInternalUse
- Internal Use Quantity removed from Inventory
-
getQtyInternalUse
Get Internal Use Qty.- Specified by:
getQtyInternalUse
in interfaceI_I_Inventory
- Returns:
- Internal Use Quantity removed from Inventory
-
setSerNo
Set Serial No.- Specified by:
setSerNo
in interfaceI_I_Inventory
- Parameters:
SerNo
- Product Serial Number
-
getSerNo
Get Serial No.- Specified by:
getSerNo
in interfaceI_I_Inventory
- Returns:
- Product Serial Number
-
setUPC
Set UPC/EAN.- Specified by:
setUPC
in interfaceI_I_Inventory
- Parameters:
UPC
- Bar Code (Universal Product Code or its superset European Article Number)
-
getUPC
Get UPC/EAN.- Specified by:
getUPC
in interfaceI_I_Inventory
- Returns:
- Bar Code (Universal Product Code or its superset European Article Number)
-
setValue
Set Search Key.- Specified by:
setValue
in interfaceI_I_Inventory
- Parameters:
Value
- Search key for the record in the format required - must be unique
-
getValue
Get Search Key.- Specified by:
getValue
in interfaceI_I_Inventory
- Returns:
- Search key for the record in the format required - must be unique
-
setWarehouseValue
Set Warehouse Key.- Specified by:
setWarehouseValue
in interfaceI_I_Inventory
- Parameters:
WarehouseValue
- Key of the Warehouse
-
getWarehouseValue
Get Warehouse Key.- Specified by:
getWarehouseValue
in interfaceI_I_Inventory
- Returns:
- Key of the Warehouse
-
setX
Set Aisle (X).- Specified by:
setX
in interfaceI_I_Inventory
- Parameters:
X
- X dimension, e.g., Aisle
-
getX
Get Aisle (X).- Specified by:
getX
in interfaceI_I_Inventory
- Returns:
- X dimension, e.g., Aisle
-
setY
Set Bin (Y).- Specified by:
setY
in interfaceI_I_Inventory
- Parameters:
Y
- Y dimension, e.g., Bin
-
getY
Get Bin (Y).- Specified by:
getY
in interfaceI_I_Inventory
- Returns:
- Y dimension, e.g., Bin
-
setZ
Set Level (Z).- Specified by:
setZ
in interfaceI_I_Inventory
- Parameters:
Z
- Z dimension, e.g., Level
-
getZ
Get Level (Z).- Specified by:
getZ
in interfaceI_I_Inventory
- Returns:
- Z dimension, e.g., Level
-