Package org.brerp.base.model
Class X_COF_ItemSubstituto
java.lang.Object
org.compiere.model.PO
org.brerp.base.model.X_COF_ItemSubstituto
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_COF_ItemSubstituto
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MCOFItemSubstituto
Generated Model for COF_ItemSubstituto
- 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.brerp.base.model.I_COF_ItemSubstituto
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Order_ID, COLUMNNAME_C_OrderLine_ID, COLUMNNAME_COF_Faturado, COLUMNNAME_COF_GerarNF, COLUMNNAME_COF_ItemSubstituto_ID, COLUMNNAME_COF_ItemSubstituto_UU, COLUMNNAME_COF_QtdIs, COLUMNNAME_COF_QtdNf, COLUMNNAME_COF_TratamentoPedido_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_IsValid, COLUMNNAME_LineNetAmt, COLUMNNAME_LineNo, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_PriceActual, COLUMNNAME_PriceEntered, COLUMNNAME_Qty, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_COF_ItemSubstituto
(Properties ctx, int COF_ItemSubstituto_ID, String trxName) Standard ConstructorX_COF_ItemSubstituto
(Properties ctx, int COF_ItemSubstituto_ID, String trxName, String... virtualColumns) Standard ConstructorX_COF_ItemSubstituto
(Properties ctx, String COF_ItemSubstituto_UU, String trxName) Standard ConstructorX_COF_ItemSubstituto
(Properties ctx, String COF_ItemSubstituto_UU, String trxName, String... virtualColumns) Standard ConstructorX_COF_ItemSubstituto
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Invoice.int
Get Order.int
Get Sales Order Line.int
Get Item Substituto.Get COF_ItemSubstituto_UU.Get Quantidade IS.Get Quantidade NF.int
Get Tratamento de Pedido.Get Line Amount.int
Get Line.int
Get Shipment/Receipt Line.int
Get Product.Get Unit Price.Get Price.getQty()
Get Quantity.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Faturado.boolean
Get Gerar Nota Fiscal.boolean
isValid()
Get Valid.void
setC_Invoice_ID
(int C_Invoice_ID) Set Invoice.void
setC_Order_ID
(int C_Order_ID) Set Order.void
setC_OrderLine_ID
(int C_OrderLine_ID) Set Sales Order Line.void
setCOF_Faturado
(boolean COF_Faturado) Set Faturado.void
setCOF_GerarNF
(boolean COF_GerarNF) Set Gerar Nota Fiscal.void
setCOF_ItemSubstituto_ID
(int COF_ItemSubstituto_ID) Set Item Substituto.void
setCOF_ItemSubstituto_UU
(String COF_ItemSubstituto_UU) Set COF_ItemSubstituto_UU.void
setCOF_QtdIs
(BigDecimal COF_QtdIs) Set Quantidade IS.void
setCOF_QtdNf
(BigDecimal COF_QtdNf) Set Quantidade NF.void
setCOF_TratamentoPedido_ID
(int COF_TratamentoPedido_ID) Set Tratamento de Pedido.void
setIsValid
(boolean IsValid) Set Valid.void
setLineNetAmt
(BigDecimal LineNetAmt) Set Line Amount.void
setLineNo
(int LineNo) Set Line.void
setM_InOutLine_ID
(int M_InOutLine_ID) Set Shipment/Receipt Line.void
setM_Product_ID
(int M_Product_ID) Set Product.void
setPriceActual
(BigDecimal PriceActual) Set Unit Price.void
setPriceEntered
(BigDecimal PriceEntered) Set Price.void
setQty
(BigDecimal Qty) Set Quantity.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.brerp.base.model.I_COF_ItemSubstituto
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_COF_ItemSubstituto
Standard Constructor -
X_COF_ItemSubstituto
public X_COF_ItemSubstituto(Properties ctx, int COF_ItemSubstituto_ID, String trxName, String... virtualColumns) Standard Constructor -
X_COF_ItemSubstituto
Standard Constructor -
X_COF_ItemSubstituto
public X_COF_ItemSubstituto(Properties ctx, String COF_ItemSubstituto_UU, String trxName, String... virtualColumns) Standard Constructor -
X_COF_ItemSubstituto
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setCOF_Faturado
public void setCOF_Faturado(boolean COF_Faturado) Set Faturado.- Specified by:
setCOF_Faturado
in interfaceI_COF_ItemSubstituto
- Parameters:
COF_Faturado
- Faturado
-
isCOF_Faturado
public boolean isCOF_Faturado()Get Faturado.- Specified by:
isCOF_Faturado
in interfaceI_COF_ItemSubstituto
- Returns:
- Faturado
-
setCOF_GerarNF
public void setCOF_GerarNF(boolean COF_GerarNF) Set Gerar Nota Fiscal.- Specified by:
setCOF_GerarNF
in interfaceI_COF_ItemSubstituto
- Parameters:
COF_GerarNF
- Gerar Nota Fiscal
-
isCOF_GerarNF
public boolean isCOF_GerarNF()Get Gerar Nota Fiscal.- Specified by:
isCOF_GerarNF
in interfaceI_COF_ItemSubstituto
- Returns:
- Gerar Nota Fiscal
-
setCOF_ItemSubstituto_ID
public void setCOF_ItemSubstituto_ID(int COF_ItemSubstituto_ID) Set Item Substituto.- Specified by:
setCOF_ItemSubstituto_ID
in interfaceI_COF_ItemSubstituto
- Parameters:
COF_ItemSubstituto_ID
- Primary Key : Item Substituto
-
getCOF_ItemSubstituto_ID
public int getCOF_ItemSubstituto_ID()Get Item Substituto.- Specified by:
getCOF_ItemSubstituto_ID
in interfaceI_COF_ItemSubstituto
- Returns:
- Primary Key : Item Substituto
-
setCOF_ItemSubstituto_UU
Set COF_ItemSubstituto_UU.- Specified by:
setCOF_ItemSubstituto_UU
in interfaceI_COF_ItemSubstituto
- Parameters:
COF_ItemSubstituto_UU
- COF_ItemSubstituto_UU
-
getCOF_ItemSubstituto_UU
Get COF_ItemSubstituto_UU.- Specified by:
getCOF_ItemSubstituto_UU
in interfaceI_COF_ItemSubstituto
- Returns:
- COF_ItemSubstituto_UU
-
setCOF_QtdIs
Set Quantidade IS.- Specified by:
setCOF_QtdIs
in interfaceI_COF_ItemSubstituto
- Parameters:
COF_QtdIs
- Quantidade IS
-
getCOF_QtdIs
Get Quantidade IS.- Specified by:
getCOF_QtdIs
in interfaceI_COF_ItemSubstituto
- Returns:
- Quantidade IS
-
setCOF_QtdNf
Set Quantidade NF.- Specified by:
setCOF_QtdNf
in interfaceI_COF_ItemSubstituto
- Parameters:
COF_QtdNf
- Quantidade NF
-
getCOF_QtdNf
Get Quantidade NF.- Specified by:
getCOF_QtdNf
in interfaceI_COF_ItemSubstituto
- Returns:
- Quantidade NF
-
getCOF_TratamentoPedido
- Specified by:
getCOF_TratamentoPedido
in interfaceI_COF_ItemSubstituto
- Throws:
RuntimeException
-
setCOF_TratamentoPedido_ID
public void setCOF_TratamentoPedido_ID(int COF_TratamentoPedido_ID) Set Tratamento de Pedido.- Specified by:
setCOF_TratamentoPedido_ID
in interfaceI_COF_ItemSubstituto
- Parameters:
COF_TratamentoPedido_ID
- Primary Key : Tratamento de Pedido
-
getCOF_TratamentoPedido_ID
public int getCOF_TratamentoPedido_ID()Get Tratamento de Pedido.- Specified by:
getCOF_TratamentoPedido_ID
in interfaceI_COF_ItemSubstituto
- Returns:
- Primary Key : Tratamento de Pedido
-
getC_Invoice
- Specified by:
getC_Invoice
in interfaceI_COF_ItemSubstituto
- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID) Set Invoice.- Specified by:
setC_Invoice_ID
in interfaceI_COF_ItemSubstituto
- Parameters:
C_Invoice_ID
- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()Get Invoice.- Specified by:
getC_Invoice_ID
in interfaceI_COF_ItemSubstituto
- Returns:
- Invoice Identifier
-
getC_OrderLine
- Specified by:
getC_OrderLine
in interfaceI_COF_ItemSubstituto
- Throws:
RuntimeException
-
setC_OrderLine_ID
public void setC_OrderLine_ID(int C_OrderLine_ID) Set Sales Order Line.- Specified by:
setC_OrderLine_ID
in interfaceI_COF_ItemSubstituto
- Parameters:
C_OrderLine_ID
- Sales Order Line
-
getC_OrderLine_ID
public int getC_OrderLine_ID()Get Sales Order Line.- Specified by:
getC_OrderLine_ID
in interfaceI_COF_ItemSubstituto
- Returns:
- Sales Order Line
-
getC_Order
- Specified by:
getC_Order
in interfaceI_COF_ItemSubstituto
- Throws:
RuntimeException
-
setC_Order_ID
public void setC_Order_ID(int C_Order_ID) Set Order.- Specified by:
setC_Order_ID
in interfaceI_COF_ItemSubstituto
- Parameters:
C_Order_ID
- Order
-
getC_Order_ID
public int getC_Order_ID()Get Order.- Specified by:
getC_Order_ID
in interfaceI_COF_ItemSubstituto
- Returns:
- Order
-
setIsValid
public void setIsValid(boolean IsValid) Set Valid.- Specified by:
setIsValid
in interfaceI_COF_ItemSubstituto
- Parameters:
IsValid
- Element is valid
-
isValid
public boolean isValid()Get Valid.- Specified by:
isValid
in interfaceI_COF_ItemSubstituto
- Returns:
- Element is valid
-
setLineNetAmt
Set Line Amount.- Specified by:
setLineNetAmt
in interfaceI_COF_ItemSubstituto
- Parameters:
LineNetAmt
- Line Extended Amount (Quantity * Actual Price) without Freight and Charges
-
getLineNetAmt
Get Line Amount.- Specified by:
getLineNetAmt
in interfaceI_COF_ItemSubstituto
- Returns:
- Line Extended Amount (Quantity * Actual Price) without Freight and Charges
-
setLineNo
public void setLineNo(int LineNo) Set Line.- Specified by:
setLineNo
in interfaceI_COF_ItemSubstituto
- Parameters:
LineNo
- Line No
-
getLineNo
public int getLineNo()Get Line.- Specified by:
getLineNo
in interfaceI_COF_ItemSubstituto
- Returns:
- Line No
-
getM_InOutLine
- Specified by:
getM_InOutLine
in interfaceI_COF_ItemSubstituto
- Throws:
RuntimeException
-
setM_InOutLine_ID
public void setM_InOutLine_ID(int M_InOutLine_ID) Set Shipment/Receipt Line.- Specified by:
setM_InOutLine_ID
in interfaceI_COF_ItemSubstituto
- Parameters:
M_InOutLine_ID
- Line on Shipment or Receipt document
-
getM_InOutLine_ID
public int getM_InOutLine_ID()Get Shipment/Receipt Line.- Specified by:
getM_InOutLine_ID
in interfaceI_COF_ItemSubstituto
- Returns:
- Line on Shipment or Receipt document
-
getM_Product
- Specified by:
getM_Product
in interfaceI_COF_ItemSubstituto
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_COF_ItemSubstituto
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_ID
in interfaceI_COF_ItemSubstituto
- Returns:
- Product, Service, Item
-
setPriceActual
Set Unit Price.- Specified by:
setPriceActual
in interfaceI_COF_ItemSubstituto
- Parameters:
PriceActual
- Actual Price
-
getPriceActual
Get Unit Price.- Specified by:
getPriceActual
in interfaceI_COF_ItemSubstituto
- Returns:
- Actual Price
-
setPriceEntered
Set Price.- Specified by:
setPriceEntered
in interfaceI_COF_ItemSubstituto
- Parameters:
PriceEntered
- Price Entered - the price based on the selected/base UoM
-
getPriceEntered
Get Price.- Specified by:
getPriceEntered
in interfaceI_COF_ItemSubstituto
- Returns:
- Price Entered - the price based on the selected/base UoM
-
setQty
Set Quantity.- Specified by:
setQty
in interfaceI_COF_ItemSubstituto
- Parameters:
Qty
- Quantity
-
getQty
Get Quantity.- Specified by:
getQty
in interfaceI_COF_ItemSubstituto
- Returns:
- Quantity
-